/* CRAFID — template Hummingbird Arch (kit hummingbird-arch / hummingbird-arch-foto), dari desain PSD "Anggy & Restu" (2 kartu 1173 × 1658). */
  /* Kartu "Hummingbird Arch": kertas abu hangat bercat air merah muda, lengkung putih berkisi emas, bunga terompet
     merah muda dan kolibri yang bergoyang. Satu tampilan terang yang disengaja, jadi semua warna eksplisit.
     Warna dari layer PSD: latar #eeedeb, teks sage #a8ad95 dan abu #a4a4a4 (keduanya digelapkan sedikit supaya terbaca). */
  :root {
    color-scheme: light;
    --paper: #eeedeb; --paper-2: #f4f0ef; --ink: #5f5f5c; --mauve: #8a8a87; --rose: #8e947a;
    --rose-deep: #6f7560; --blush: #e8c9cc; --peach: #f3e8e8; --leaf: #8e947a; --line: #8e947a45; --gold: #c9b183; --gold-ink: #8e947a;
    --pink: #d98c95;
    --f-serif: 'EB Garamond', Garamond, 'Cormorant Garamond', Georgia, serif;
    --f-disp: 'EB Garamond', Garamond, Georgia, serif;
    --f-script: 'Pinyon Script', 'Great Vibes', 'Snell Roundhand', cursive;
    --f-ar: 'Amiri', 'Traditional Arabic', serif;
    --ease-soft: cubic-bezier(.22, .8, .24, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  }
  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.08rem/1.7 var(--f-serif); -webkit-font-smoothing: antialiased; }
  body.locked { overflow: hidden; }
  img { max-width: 100%; display: block; }
  button, input, textarea { font: inherit; color: inherit; }
  :focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
  h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
  p { margin: 0; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .caps { font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--mauve); font-weight: 700; }
  .caps.sm { font-size: 0.64rem; letter-spacing: 0.3em; font-weight: 400; }
  .it { font-style: italic; color: var(--mauve); }

  .paper { position: relative; background: var(--paper) center / cover no-repeat; }
  /* latar = cat air kartu PSD (kiri untuk sampul & bagian ganjil, kanan untuk hero & bagian lain) */
  .paper.std { background-image: url("../images/crafid-hummingbird/cv-bg.webp"); }
  .paper.cover { background-image: url("../images/crafid-hummingbird/hr-bg.webp"); }

  /* bunga bergoyang jelas: amplitudo bawaan 2,6° dan tempo 6 detik (diatur per gambar lewat --a / --d) */
  .sway { transform-origin: var(--ox, 50%) var(--oy, 100%); animation: sway var(--d, 6s) ease-in-out var(--dl, 0s) infinite alternate; }
  @keyframes sway { 0% { transform: rotate(calc(var(--a, 2.6deg) * -1)) translateY(0); } 50% { transform: rotate(calc(var(--a, 2.6deg) * 0.35)) translateY(-0.6%); } 100% { transform: rotate(var(--a, 2.6deg)) translateY(-0.3%); } }

  /* monogram hidup gaya PSD: huruf awal pertama besar di kiri-atas, kedua lebih kecil di kanan-bawah, bertumpuk */
  .mono-live { display: inline-grid; font: 400 1em/1 var(--f-script); color: var(--rose); justify-items: center; }
  .mono-live > span { grid-area: 1 / 1; }
  .mono-live .m1 { font-size: 0.92em; translate: -0.16em -0.12em; }
  .mono-live .m2 { font-size: 0.7em; translate: 0.24em 0.16em; }

  /* nama gaya PSD: huruf awal besar, sisanya kapital berjarak */
  .nm-big { font: 500 1em/1 var(--f-disp); color: var(--rose); text-transform: uppercase; letter-spacing: 0.12em; }
  .nm-big .cap { font-size: 1.55em; letter-spacing: 0.02em; }

  /* ---------- 1 · SAMPUL: Save the Date dalam lengkung ---------- */
  .gate { position: fixed; inset: 0; z-index: 50; overflow: hidden; background: var(--paper) url("../images/crafid-hummingbird/cv-bg.webp") center / cover no-repeat;
    transition: transform 1.1s cubic-bezier(.7,0,.2,1), opacity 1.1s ease;
    /* --F = lebar kartu PSD 1173 px; --pt = tepi atas kartu (kartu di tengah layar). Semua layer = koordinat PSD */
    --F: min(100vw, 66svh); --pt: calc((100svh - var(--F) * 1.41347) * 0.5); }
  .gate.gone { transform: translateY(-104%); opacity: 0.4; pointer-events: none; }
  .gate .frame { position: absolute; inset: 0 auto 0 50%; width: var(--F); transform: translateX(-50%); pointer-events: none; }
  .gate .fl { position: absolute; height: auto; max-width: none; }
  .gate .fl.fade { opacity: .25; z-index: 0; } .gate .fl.front { z-index: 3; }
  /* lengkung PSD: kepala + badan berkisi yang diulang sampai bawah layar */
  .gate .arch-frame { position: absolute; z-index: 1; bottom: 0; display: flex; flex-direction: column; }
  .gate .arch-frame img { width: 100%; height: auto; display: block; flex: none; max-width: none; }
  .gate .af-mid { flex: 1 1 auto; background: url("../images/crafid-hummingbird/arch-mid.webp") center top / 100% auto repeat-y; }
  /* kotak teks = kartu PSD (cqw = % lebar kartu); di layar pendek naik sedikit agar kutipan tidak tertutup kartu tombol */
  .gate .archbox { position: absolute; z-index: 4; left: 50%; width: var(--F); transform: translateX(-50%); height: calc(var(--F) * 1.41); container-type: inline-size; pointer-events: none;
    top: min(var(--pt), calc(100svh - max(7svh, 28px) - env(safe-area-inset-bottom, 0px) - 122px - var(--F) * 1.115)); }
  .cv-text { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: var(--rose); text-align: center; }
  /* posisi = pusat baris layer PSD (cqw = % lebar kartu); huruf diperbesar ± 25 % dari PSD supaya tidak kecil */
  .cv-text > * { position: absolute; left: 20%; right: 20%; margin: 0; transform: translateY(-50%); }
  .cv-text .k1 { font: 400 4.1cqw/1 var(--f-serif); }
  .cv-text .k2 { font: 600 4cqw/1 var(--f-serif); letter-spacing: 0.3em; padding-left: 0.3em; text-transform: uppercase; }
  .cv-text .mono-wrap { display: flex; justify-content: center; }
  .cv-text .mono-live { font-size: 19cqw; }
  .cv-text .nm { font: 600 4.6cqw/1.3 var(--f-serif); letter-spacing: 0.2em; padding-left: 0.2em; text-transform: uppercase; white-space: nowrap; left: 15%; right: 15%; }
  .cv-text .dt { font: 600 3.3cqw/1 var(--f-serif); letter-spacing: 0.16em; padding-left: 0.16em; color: var(--mauve); font-variant-numeric: lining-nums; }
  .cv-text .qt { font: italic 400 3.6cqw/1.35 var(--f-serif); color: var(--mauve); }
  @media (min-aspect-ratio: 3/4) { .gate .frame { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); } }
  .gate-foot { position: absolute; z-index: 6; left: 50%; bottom: calc(max(7svh, 28px) + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(calc(100% - 72px), 240px);
    display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; padding: 9px 14px 11px; border-radius: 18px;
    background: #fbf8f7d0; border: 1px solid #ffffffb0; box-shadow: 0 18px 40px -22px #6f7560; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .to { display: grid; gap: 2px; }
  .to .pre { font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mauve); }
  .to b { font-weight: 700; font-size: 0.98rem; color: var(--rose-deep); letter-spacing: 0.02em; }
  .open { appearance: none; border: 1px solid var(--rose); background: var(--rose); color: #fbf9f8; border-radius: 999px; padding: 10px 20px 10px 18px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
    font: 700 0.6rem/1 var(--f-serif); letter-spacing: 0.26em; text-transform: uppercase; box-shadow: 0 14px 30px -18px #6f7560; position: relative; overflow: hidden; }
  .open svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .open:hover { background: var(--rose-deep); }

  /* ---------- 3 · HERO: halaman undangan PSD, teks hidup di koordinat aslinya ---------- */
  /* hero & setiap bagian = minimal satu layar penuh, isi di tengah */
  .hero { display: flex; justify-content: center; align-items: center; overflow: hidden; min-height: 100vh; min-height: 100svh; }
  .card { position: relative; width: min(100%, 720px, 70.75svh); overflow: hidden; height: 100vh; height: 100svh; container-type: inline-size; flex: none;
    -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent); mask-image: linear-gradient(180deg, #000 92%, transparent); }
  @media (min-width: 640px) { .card { -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 92%, transparent), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; } }
  .card > img { position: absolute; height: auto; pointer-events: none; user-select: none; max-width: none; }
  /* kotak teks berproporsi kanvas PSD, di tengah layar; bunga atas/bawah menempel ke tepi layar */
  .card .ctext { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; aspect-ratio: 1173 / 1658; }
  .card .ctext > img.t { position: absolute; right: auto; height: auto; max-width: none; pointer-events: none; }
  .card .ctext > img.fade { opacity: .25; }
  .motion .hero.play .card .ctext > img.fade { animation: sway var(--d, 6s) ease-in-out var(--dl, 0s) infinite alternate, fadeQ 1.6s var(--ease-soft) var(--in, .3s) both; }
  @keyframes fadeQ { from { opacity: 0; } to { opacity: .25; } }
  .card .t { position: absolute; left: 6%; right: 6%; text-align: center; margin: 0; color: var(--mauve); }
  /* blok teks hero: x 11,7 % kartu, jarak antarbaris dari layer PSD; huruf kecil diberi batas bawah px supaya terbaca di ponsel */
  .card .hblock { position: absolute; z-index: 2; left: 11.68%; right: 6%; top: 23.6cqw; text-align: left; color: var(--mauve); }
  .card .hblock .t { position: relative; left: auto; right: auto; text-align: left; }
  .card .h-kick { font: 600 max(2.2cqw, 10.5px)/1.25 var(--f-serif); letter-spacing: 0.24em; text-transform: uppercase; }
  .card .hn { font: 600 max(4.4cqw, 16px)/1.1 var(--f-serif); color: var(--rose); text-transform: uppercase; letter-spacing: 0.16em; white-space: nowrap; }
  .card .hn .cap { font-size: 1.33em; letter-spacing: 0.02em; }
  .card .hn1 { margin-top: 10cqw; }
  .card .hn2 { margin-top: 0.4cqw; padding-left: 3.2cqw; }
  .card .hn2 .amp { font: 600 1em/1 var(--f-serif); color: var(--rose); margin-right: 0.4em; letter-spacing: 0; }
  .card .h-inv { margin-top: 10cqw; font: 600 max(2.2cqw, 10px)/1.4 var(--f-serif); letter-spacing: 0.2em; text-transform: uppercase; }
  .card .h-date { margin-top: 2.4cqw; font: 600 max(3.15cqw, 12px)/1.3 var(--f-serif); letter-spacing: 0.12em; text-transform: uppercase; }
  .card .h-date sup { font-size: 0.6em; letter-spacing: 0.05em; text-transform: none; }
  .card .h-time { margin-top: 0.2cqw; font: 500 max(1.7cqw, 9.5px)/1.4 var(--f-serif); letter-spacing: 0.2em; text-transform: uppercase; }
  .card .h-ven { margin-top: 2.6cqw; font: 600 max(3.15cqw, 12px)/1.25 var(--f-serif); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
  .card .h-ad { margin-top: 0.4cqw; font: 500 max(1.8cqw, 9.5px)/1.4 var(--f-serif); letter-spacing: 0.2em; text-transform: uppercase; }
  .card .h-note { margin-top: 7cqw; font: italic 400 max(3.4cqw, 15px)/1.2 var(--f-serif); }
  .card .hblock .nameart { margin: 1cqw 0 2cqw; width: 60%; }
  .scrollhint { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); width: 30px; height: 48px; border-radius: 20px; border: 1px solid #ffffffcc; background: #8e947a66; display: grid; place-items: start center; padding-top: 8px; }
  .scrollhint i { width: 4px; height: 9px; border-radius: 4px; background: #fff; animation: dot 1.8s ease-in-out infinite; }
  @keyframes dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

  /* ---------- bagian isi ---------- */
  main { position: relative; }
  .sec { position: relative; padding-block: clamp(64px, 11vw, 110px); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); overflow: hidden; }
  .sec { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .sec > .wrap { width: 100%; }
  .sec.tint { background: var(--paper-2); }
  .wrap { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; justify-items: center; text-align: center; }
  .orn { width: 150px; height: 18px; color: var(--gold); }
  .sec h2 { font-size: clamp(1.3rem, 5.4vw, 1.9rem); letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose); font-weight: 400; padding-left: 0.26em; }
  .sec .kick { font: italic 400 1rem/1.3 var(--f-serif); color: var(--mauve); }
  .lead { font-style: italic; color: var(--mauve); max-width: 34ch; }
  .ayat { font: 400 clamp(1.7rem, 7vw, 2.3rem)/1.9 var(--f-ar); color: var(--rose-deep); direction: rtl; }
  .sec .mono-live { font-size: clamp(96px, 28vw, 140px); }
  .corner { position: absolute; z-index: 1; pointer-events: none; width: clamp(150px, 36vw, 280px); height: auto; }
  .corner.tl { top: -7%; left: -10%; } .corner.br { bottom: -7%; right: -10%; } .corner.bl { bottom: -8%; left: -10%; } .corner.tr { top: -7%; right: -10%; }
  .bloom { position: absolute; z-index: 1; width: clamp(30px, 7vw, 46px); height: auto; pointer-events: none; }

  /* V27.109: kolom tidak ikut melebar mengikuti nama panjang; fitAll() membaca lebar kolom ini untuk mengecilkan nama */
  .couple { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; width: 100%; }
  .person { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: center; min-width: 0; }
  /* V27.109: justify-items center membuat judul nama selebar kata terpanjang (tidak pernah "meluap", fitAll tidak bekerja); lebar penuh kolom */
  .person .nm-big { width: 100%; }
  .person .initial, .person .photo { width: 150px; aspect-ratio: 3 / 4; border-radius: 999px 999px 16px 16px; border: 1px solid var(--gold); outline: 6px solid var(--paper-2); outline-offset: -12px; overflow: hidden; }
  .person .initial { background: linear-gradient(180deg, #f8e2d4, #e8ece6); display: grid; place-items: center; font: 400 4rem/1 var(--f-disp); color: var(--rose); }
  .person .photo img { width: 100%; height: 100%; object-fit: cover; }
  /* tempat foto kosong: rangkaian bunga PSD di bawah + inisial (bukan foto palsu) */
  .person .photo.ph { display: grid; justify-items: center; align-content: start; padding-top: 13%;
    background: linear-gradient(180deg, #f4f0ef 38%, #f4f0ef00 66%), url("../images/crafid-hummingbird/cl-sm-r.webp") 50% 104% / 120% auto no-repeat, linear-gradient(180deg, #f4f0ef, #f2e8e8); }
  .person .photo.ph span { font: 400 4.8rem/1.1 var(--f-script); color: var(--gold-ink); }
  /* varian tanpa foto: tanpa bingkai, nama saja */
  .person.nofoto { gap: 10px; }
  .person.nofoto h3 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .person.nofoto .of { font-size: 0.95rem; }
  .person.nofoto::after { content: ''; width: 64px; height: 1px; background: var(--gold); opacity: .6; margin-top: 6px; }
  .couple:has(.nofoto) { gap: 22px; }
  .couple:has(.nofoto) .amp { font-size: 2.6rem; }
  .person h3 { font-size: clamp(1.3rem, 5vw, 1.6rem); }
  .person .of { font-size: 0.9rem; color: var(--ink); max-width: 30ch; }
  .person .of b { display: block; font-weight: 700; color: var(--mauve); }
  .amp { font: italic 400 3.4rem/1 var(--f-disp); color: var(--blush); }
  .ig { font-size: 0.62rem; }

  .events { display: grid; gap: 14px; width: 100%; }
  .event { border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px; background: #ffffffa8; display: grid; gap: 8px; justify-items: center; }
  .event h3 { font-size: 1.05rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose); font-weight: 700; padding-left: 0.3em; }
  .event .day { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mauve); font-weight: 700; }
  .event .t { font-size: 1.6rem; color: var(--rose-deep); font-variant-numeric: tabular-nums; }
  .event .v { font-weight: 700; color: var(--mauve); letter-spacing: 0.08em; }
  .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .btn { appearance: none; border: 1px solid var(--rose); background: transparent; color: var(--rose-deep); border-radius: 999px; padding: 10px 18px; cursor: pointer; text-decoration: none;
    font: 700 0.62rem/1 var(--f-serif); letter-spacing: 0.24em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
  .btn.solid { background: var(--rose); color: #fbf9f8; }
  .btn:hover { background: var(--rose-deep); color: #fbf9f8; border-color: var(--rose-deep); }

  .count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 440px; }
  .tick { display: grid; gap: 4px; padding: 16px 4px; border-radius: 999px 999px 12px 12px; background: #ffffffb3; border: 1px solid var(--line); }
  .tick output { font-size: clamp(1.5rem, 7vw, 2.1rem); color: var(--rose-deep); font-variant-numeric: tabular-nums; line-height: 1.1; }
  .tick span { font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mauve); }
  .done-note { font-style: italic; color: var(--mauve); }

  .stream { width: 100%; max-width: 460px; border: 1px dashed var(--rose); border-radius: 18px; padding: 24px 20px; display: grid; gap: 10px; justify-items: center; background: #ffffffa0; }
  .gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .gal img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
  .gal .ph { width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; border: 1px dashed var(--line); background: linear-gradient(160deg, #f8e2d4, #e6ebe5); display: grid; place-items: center; font: italic 400 0.82rem/1.2 var(--f-serif); color: var(--mauve); }

  .story { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 480px; display: grid; text-align: left; }
  .story li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding-bottom: 26px; }
  .story li::before { content: ''; position: absolute; left: 31px; top: 30px; bottom: 0; width: 1px; background: var(--line); }
  .story li:last-child::before { display: none; }
  .story .yr { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; background: var(--paper-2); color: var(--rose-deep); font-weight: 700; font-size: 0.88rem; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
  .story h3 { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rose); font-weight: 700; padding-top: 8px; }
  .story p { font-size: 0.9rem; }

  .gifts { display: grid; gap: 12px; width: 100%; justify-items: center; }
  .gift { width: 100%; max-width: 420px; border-radius: 20px; padding: 26px 22px; display: grid; gap: 6px; justify-items: center; background: linear-gradient(150deg, #f8e3d6, #e7ece6); border: 1px solid var(--line); }
  .gift .bank { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; color: var(--mauve); }
  .gift .no { font-size: 1.45rem; letter-spacing: 0.12em; color: var(--rose-deep); font-variant-numeric: tabular-nums; user-select: all; overflow-wrap: anywhere; }
  .gift .addr { font-size: 0.95rem; color: var(--rose-deep); max-width: 30ch; }
  .tag { font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mauve); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; background: #ffffffb0; }

  form { display: grid; gap: 14px; width: 100%; text-align: left; }
  label, legend { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mauve); font-weight: 700; }
  input[type=text], textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfb; padding: 12px 14px; font-size: 0.95rem; color: var(--ink); }
  textarea { min-height: 96px; resize: vertical; }
  fieldset { border: 0; margin: 0; padding: 0; }
  .choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
  .choice { position: relative; flex: 1 1 140px; }
  .choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
  .choice span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 11px; background: #fffdfb; font-size: 0.86rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); }
  .choice input:checked + span { background: var(--rose); border-color: var(--rose); color: #fbf9f8; }
  .choice input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
  .form-note { font-size: 0.86rem; font-style: italic; color: var(--rose-deep); text-align: center; }
  .qr { width: 188px; height: 188px; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center; }
  .qr canvas, .qr img { width: 164px !important; height: 164px !important; }
  .wishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; text-align: left; max-height: 360px; overflow-y: auto; }
  .wishes li { background: #ffffffb3; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: grid; gap: 2px; }
  .wishes li b { color: var(--rose-deep); font-size: 0.92rem; }
  .wishes li small { color: var(--mauve); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
  .wishes li p { font-size: 0.92rem; }
  .empty { font-style: italic; color: var(--mauve); font-size: 0.9rem; }
  .preview-note { font-size: 0.7rem; font-style: italic; color: var(--mauve); }

  .closing .nm-big { font-size: clamp(1.8rem, 8vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; width: 100%; }
  .closing .nm-big > span { min-width: 0; }
  .closing .nm-big i { font: italic 400 0.8em/1 var(--f-disp); text-transform: none; letter-spacing: 0; }
  footer { text-align: center; padding: 28px 16px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mauve); background: var(--paper-2); }

  #petals { position: fixed; inset: 0; z-index: 40; pointer-events: none; width: 100%; height: 100%; }
  .toast { position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; transition: .4s; background: var(--rose-deep); color: #fbf9f8; border-radius: 999px; padding: 10px 18px; font-size: 0.8rem; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }
  .music { position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rose); background: #fbf9f8e6; color: var(--rose-deep); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -14px #6f7560; }
  .music svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .music.on svg { animation: spin 6s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  @media (min-width: 760px) { .couple { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; } .events { grid-template-columns: 1fr 1fr; } }

  /* ================= GERAK ================= */
  @keyframes archRise { from { opacity: 0; translate: 0 7%; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
  @keyframes bloomUp { from { opacity: 0; translate: 0 18%; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
  @keyframes pearlDrop { from { opacity: 0; translate: 0 -24%; } to { opacity: 1; translate: 0 0; } }
  @keyframes budIn { from { opacity: 0; scale: .3; rotate: -40deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
  @keyframes fadeUp { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  @keyframes inkIn { from { opacity: 0; filter: blur(6px); scale: 1.05; } to { opacity: 1; filter: blur(0); scale: 1; } }
  @keyframes sheen { 0%, 60% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
  .motion .gate .arch-frame { animation: fadeUp 1.6s var(--ease-soft) .1s both; }
  .motion .gate.gone .arch-frame { opacity: 0; scale: 1.08; transition: opacity .8s ease .2s, scale 1.2s cubic-bezier(.6, 0, .3, 1); animation: none; }
  .motion .gate .archbox { animation: archRise 2s var(--ease-out) .2s both; }
  .motion .gate .fl.fade { animation: sway var(--d, 6s) ease-in-out var(--dl, 0s) infinite alternate, fadeQ 2s var(--ease-soft) var(--in, .4s) both; }
  .motion .gate .fl:not(.bud):not(.fade) { animation: sway var(--d, 6s) ease-in-out var(--dl, 0s) infinite alternate, bloomUp 2.4s var(--ease-out) var(--in, .6s) both; }
  .motion .gate .bud { animation: budIn 1.6s var(--ease-out) var(--in, 2s) both; }
  .motion .gate .cv-text > * { animation: fadeUp 1.3s var(--ease-soft) var(--in, 1.6s) both; }
  .motion .gate .cv-text > .mono-wrap { animation: inkIn 2s var(--ease-soft) 2.1s both; }
  .motion .gate .gate-foot { animation: fadeUp 1.1s var(--ease-soft) 2.6s both; }
  .motion .open::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, #ffffff66 50%, transparent 65%); translate: -120% 0; animation: sheen 3.6s ease-in-out 5.4s infinite; }
  .motion .gate.gone { transform: none; opacity: 0; transition: opacity .7s ease .45s; }
  .motion .gate.gone .archbox { scale: 1.25; opacity: 0; transition: scale 1.2s cubic-bezier(.6, 0, .3, 1), opacity .9s ease .25s; animation: none; }
  .motion .gate.gone .gate-foot { opacity: 0; translate: 0 20px; transition: opacity .35s ease, translate .35s ease; animation: none; }
  .motion .gate.gone .fl { translate: 0 30%; opacity: 0; transition: translate 1.1s cubic-bezier(.6, 0, .3, 1), opacity .9s ease .2s; }
  .motion .hero:not(.play) .card > img, .motion .hero:not(.play) .card .t { opacity: 0; }
  .motion .hero.play .card .t { animation: fadeUp 1.1s var(--ease-soft) var(--in, .6s) both; }
  .motion .hero.play .card > img { animation: sway var(--d, 6s) ease-in-out var(--dl, 0s) infinite alternate, bloomUp 2s var(--ease-out) var(--in, .2s) both; }
  .rv { transition: opacity 1s var(--ease-soft), translate 1s var(--ease-soft), filter 1s var(--ease-soft); }
  .rv.rv-pre { opacity: 0; translate: 0 22px; filter: blur(3px); }
  .corner { transition: translate 1.6s var(--ease-out), opacity 1.6s ease; }
  .sec.sec-pre .corner { translate: 0 40px; opacity: 0; }
  @keyframes tickIn { from { opacity: 0; translate: 0 -40%; } to { opacity: 1; translate: 0 0; } }
  .tick output.tk { animation: tickIn .45s var(--ease-out); }
  @media (prefers-reduced-motion: reduce) {
    .sway, .scrollhint i, .music.on svg { animation: none !important; }
    .gate, .gate *, .hero *, .rv, .tick output { animation: none !important; transition: none !important; }
    .rv.rv-pre, .sec.sec-pre .corner { opacity: 1; translate: none; filter: none; }
    html { scroll-behavior: auto; }
  }

  /* ---- kait data CRAFID: monogram / gambar nama opsional, nama panjang ---- */
  .mono { display: block; }
  .mono img { width: 100%; height: auto; display: block; }
  .cv-text .mono img { width: 31cqw; margin-inline: auto; }
  #quote .mono img { width: clamp(110px, 30vw, 150px); margin-inline: auto; }
  [data-fit] { white-space: nowrap; }
  .card .nameart img { width: 100%; height: auto; display: block; }
  .closing .names { display: block; width: min(70vw, 380px); }
  .closing .names img { width: 100%; height: auto; display: block; }
