/* CRAFID — template Violet Rose (kit violet-rose / violet-rose-foto), dari desain PSD mockup 98_martin_isabel (4 halaman 1080 × 1920). */
  /* Kartu cat air "Violet Rose": kertas cat air abu-lila, mawar ungu, lengkung emas tipis, huruf kaligrafi emas.
     Satu tampilan terang yang disengaja (kartu undangan), jadi semua warna ditetapkan eksplisit.
     Warna teks dari layer PSD: emas #957039. */
  :root {
    color-scheme: light;
    --paper: #eeeceb; --paper-2: #f4f2f4; --ink: #5f5560; --mauve: #8a7f8f; --rose: #957039;
    --rose-deep: #6f5226; --blush: #b9a2d9; --peach: #ece4f4; --leaf: #9aa58c; --line: #8a7f8f45; --gold: #c4a06a; --gold-ink: #957039; --thanks: #957039; --violet: #8f6cc4;
    --f-serif: 'Libre Baskerville', Baskerville, 'Baskerville Old Face', Georgia, serif;
    --f-disp: 'Cormorant', 'Cormorant Garamond', Didot, 'Bodoni 72', Georgia, serif;
    --f-ar: 'Amiri', 'Traditional Arabic', serif;
    --f-script: 'Great Vibes', 'Pinyon Script', 'Snell Roundhand', cursive;
    --f-sans: 'Jost', 'Futura', 'Century Gothic', 'Trebuchet MS', sans-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 1rem/1.75 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; }

  /* 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 (bagian ayat): dua inisial emas bertumpuk */
  .mono-live { display: inline-grid; font: 400 1em/1 var(--f-disp); color: var(--gold-ink); }
  .mono-live > span { grid-area: 1 / 1; }
  .mono-live .m2 { font-size: 1em; padding-left: 0.3em; }
  .mono-live .m1 { font-size: 0.82em; font-style: italic; align-self: start; translate: -0.04em 0.06em; }

  /* nama gaya PSD (huruf BP Ecatherina): huruf awal kaligrafi besar + kapital berjarak — "Martin & Isabel" */
  .nm-big { font: 600 1em/1 var(--f-disp); color: var(--gold-ink); text-transform: uppercase; letter-spacing: 0.16em; }
  .nm-big .cap { font: 400 2.3em/0.8 var(--f-script); text-transform: none; letter-spacing: 0; margin-right: -0.06em; vertical-align: -0.08em; }

  /* ---------- 1 · SAMPUL: Save the Date dalam lengkung emas (PSD "SAVE THE DATE") ---------- */
  .gate { position: fixed; inset: 0; z-index: 50; overflow: hidden; background: var(--paper) url("../images/crafid-violet/paper-cover.webp") center / cover no-repeat;
    transition: transform 1.1s cubic-bezier(.7,0,.2,1), opacity 1.1s ease; --aw: min(94vw, 52svh, 520px); }
  .gate.gone { transform: translateY(-104%); opacity: 0.4; pointer-events: none; }
  /* lengkung = kepala + tiang berulang sampai bawah layar; bunga & teks memakai satuan lebar lengkung (cqw) */
  .gate .archbox { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + max(16svh, 90px)); bottom: 0; width: var(--aw); display: flex; flex-direction: column; container-type: inline-size; pointer-events: none; }
  .gate .arch-top { width: 100%; height: auto; display: block; flex: none; }
  .gate .arch-pillars { flex: 1 1 auto; margin-top: -1px; background: url("../images/crafid-violet/arch-pillar.webp") center top / 100% auto repeat-y; }
  .gate .deco { position: absolute; height: auto; max-width: none; pointer-events: none; }
  .gate .fl-top { z-index: 3; left: 15.8cqw; top: -11.2cqw; width: 84.8cqw; }
  .gate .fl-bot { z-index: 3; left: -0.5cqw; bottom: 0; width: 101.1cqw; }
  .gate .spark { z-index: 3; left: 1.8cqw; top: -4.4cqw; width: 98.9cqw; }
  /* lengkung kedua (kanan) di atas bunga bawah, di bawah bunga atas — urutan layer PSD; panel putihnya jadi latar tanggal */
  .gate .arch2 { z-index: 3; left: 83.5cqw; bottom: 0; width: 17.1cqw; }
  @media (min-aspect-ratio: 3/4) { .gate .arch2 { -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); } }
  /* layar tinggi: blok teks turun sebagian dari sisa tinggi lengkung */
  .cv-text { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: var(--gold-ink); text-align: center;
    top: max(0px, calc((100svh - max(16svh, 90px) - 140cqw) * 0.4)); }
  .cv-text > * { position: absolute; left: 6%; right: 6%; margin: 0; }
  .cv-text .std { left: 20.3cqw; right: auto; top: 28.8cqw; width: 54.9cqw; height: auto; }
  .cv-text .fw { top: 86.8cqw; font: 500 3.6cqw/1 var(--f-sans); letter-spacing: 0.16em; padding-left: 0.16em; }
  /* V27.36: lebih sempit dari .cv-text > * (6%) — panel lengkung 7,4–92,6%; nama panjang tidak melewati tepi panel */
  .cv-text .nm { left: 10%; right: 10%; top: 92.4cqw; font: 500 5cqw/1 var(--f-sans); letter-spacing: 0.22em; padding-left: 0.22em; text-transform: uppercase; }
  /* tanggal vertikal: diukur dari bawah lengkung (seperti PSD), tidak ikut turun bersama blok teks */
  .gate .vd { position: absolute; z-index: 4; margin: 0; left: 91.2cqw; bottom: 21cqw; color: var(--gold-ink); font: 700 4cqw/1 var(--f-serif); letter-spacing: 0.2em; writing-mode: vertical-rl; transform: rotate(180deg); font-variant-numeric: lining-nums; text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
  .motion .gate .vd { animation: fadeUp 1.3s var(--ease-soft) 2.8s both; }
  .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: #f8f6f6c8; border: 1px solid #ffffffb0; box-shadow: 0 18px 40px -24px #5f4a8a; -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: #fffdf8; 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 #5f4a8a; 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 DETAILS PSD (kanvas 1080 × 1920), Program = daftar acara ---------- */
  .hero { display: flex; justify-content: center; align-items: center; overflow: hidden; min-height: 100vh; min-height: 100svh; background: var(--paper) url("../images/crafid-violet/paper-detail.webp") center / cover no-repeat; }
  .card { position: relative; width: min(100%, 720px, 56.25svh); height: 100vh; height: 100svh; container-type: inline-size; flex: none; }
  @media (min-width: 640px) { .card { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); } }
  .card > img { position: absolute; height: auto; pointer-events: none; user-select: none; max-width: none; }
  .card .ctext { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; aspect-ratio: 1080 / 1920; }
  .card .ctext > img { position: absolute; height: auto; max-width: none; pointer-events: none; }
  .card .t { position: absolute; left: 6%; right: 6%; text-align: center; margin: 0; line-height: 1; font: 700 max(3cqw, 11px)/1 var(--f-serif); letter-spacing: 0.28em; padding-left: 0.28em; text-transform: uppercase; color: var(--gold-ink); }
  .card .d1 { top: 25.91%; } .card .d2 { top: 30.33%; } .card .d3 { top: 34.81%; } .card .d3 small { font-size: 0.5em; letter-spacing: 0.1em; }
  .card .d4 { top: 39.19%; } .card .d5 { top: 43.56%; line-height: 1.35; left: 10%; right: 10%; }
  .card .prog { position: absolute; top: 65.61%; left: 6%; right: 6%; margin: 0; padding: 0; list-style: none; display: grid; text-align: center; color: var(--gold-ink); }
  .card .prog li { height: 10.56cqw; }
  .card .prog .pt { display: block; font: 700 max(2.65cqw, 10px)/1 var(--f-serif); letter-spacing: 0.22em; padding-left: 0.22em; font-variant-numeric: lining-nums; }
  .card .prog .pl { display: block; margin-top: 0.8cqw; font: 700 max(2.77cqw, 10px)/1 var(--f-serif); letter-spacing: 0.24em; padding-left: 0.24em; text-transform: uppercase; }
  .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: #95703955; 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; } }

  /* ---------- 3b · HALAMAN FOTO (varian berfoto saja) — PSD "IMAGE": foto dalam topeng sapuan kuas ---------- */
  #photo { padding: 0; background: var(--paper) url("../images/crafid-violet/paper-photo.webp") center / cover no-repeat; align-items: center; }
  #photo .card { -webkit-mask-image: none; mask-image: none; }
  .brush { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1080 / 1562; overflow: hidden;
    -webkit-mask: url("../images/crafid-violet/ph-mask.webp") center / 100% 100% no-repeat; mask: url("../images/crafid-violet/ph-mask.webp") center / 100% 100% no-repeat; }
  .brush img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* foto belum ada: sapuan kuas tegas berwarna lilac (bentuk kuas PSD terlihat), mawar tumbuh dari bawah, monogram krem */
  .brush.ph { display: grid; place-items: center;
    background: url("../images/crafid-violet/cv-fl-bot.webp") 50% 100% / 118% auto no-repeat,
      url("../images/crafid-violet/dt-spark.webp") 50% 30% / 100% auto no-repeat,
      linear-gradient(165deg, #ffffff2e, #ffffff00 45%),
      radial-gradient(120% 90% at 32% 22%, #cbb9e6 0%, #a98dd3 46%, #7f63b0 100%); }
  .brush .phm { display: grid; justify-items: center; gap: 0.35em; translate: 0 -12%; color: #fbf6ea; text-shadow: 0 2px 14px #3c2a5a40; }
  .brush .phm b { font: 400 clamp(3.4rem, 19cqw, 7.5rem)/0.9 var(--f-script); letter-spacing: 0; }
  .brush .phm b i { font-style: normal; font-size: 0.55em; padding-inline: 0.12em; vertical-align: 0.25em; }
  .brush .phm small { font: 700 max(2.8cqw, 11px)/1 var(--f-serif); letter-spacing: 0.3em; padding-left: 0.3em; font-variant-numeric: lining-nums; }
  .brush .phm small::before, .brush .phm small::after { content: ''; display: inline-block; width: 2.2em; height: 1px; background: currentColor; opacity: .7; vertical-align: 0.3em; margin-inline: 0.7em; }
  #photo .phn { position: absolute; top: 4.2%; right: 8.15%; left: 6%; text-align: right; margin: 0; font-size: 5.2cqw; }
  #photo .phd { position: absolute; top: 11.9%; right: 8.15%; margin: 0; font: 700 max(3.4cqw, 12px)/1 var(--f-serif); letter-spacing: 0.14em; color: var(--gold-ink); font-variant-numeric: lining-nums; }

  /* ---------- 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; 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); }
  /* bunga PSD menempel ke tepi atas atau bawah */
  .corner { position: absolute; z-index: 1; pointer-events: none; width: clamp(110px, 28vw, 210px); height: auto; }
  .corner.tl { top: 0; left: 0; } .corner.br { bottom: 0; right: 0; } .corner.bl { bottom: 0; left: 0; } .corner.tr { top: 0; right: 0; }
  .spk { position: absolute; z-index: 1; pointer-events: none; width: min(100%, 640px); left: 50%; translate: -50% 0; top: 8%; height: auto; opacity: .9; }
  .sec.tex { background: var(--paper) url("../images/crafid-violet/paper-detail.webp") center / cover no-repeat; }
  .bloom { position: absolute; z-index: 1; width: clamp(30px, 7vw, 46px); height: auto; pointer-events: none; }

  .couple { display: grid; gap: 34px; width: 100%; }
  .person { display: grid; gap: 8px; justify-items: center; }
  /* bingkai foto = topeng sapuan kuas dari halaman IMAGE PSD */
  .person .initial, .person .photo { width: 180px; aspect-ratio: 1080 / 1562; overflow: hidden; -webkit-mask: url("../images/crafid-violet/ph-mask.webp") center / 100% 100% no-repeat; mask: url("../images/crafid-violet/ph-mask.webp") center / 100% 100% no-repeat; }
  .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) */
  /* foto kosong: mawar PSD + inisial (bukan siluet orang) */
  .person .photo.ph { display: grid; justify-items: center; align-content: center; background: url("../images/crafid-violet/cv-fl-top.webp") 55% 20% / 175% auto no-repeat, linear-gradient(170deg, #f6f2fb, #e7e0f1); }
  .person .photo.ph span { font: 400 5rem/1 var(--f-script); color: var(--gold-ink); translate: 0 30%; }
  /* varian tanpa foto: tanpa bingkai, nama saja */
  .person.nofoto { gap: 10px; }
  .person.nofoto h3 { font-size: clamp(1.3rem, 5.6vw, 1.75rem); }
  .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.15rem, 4.8vw, 1.45rem); }
  .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: 400 3.6rem/1 var(--f-script); color: var(--rose); opacity: .75; }
  .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: #fffaf6; }
  .btn:hover { background: var(--rose-deep); color: #fffaf6; 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: #fffaf6; }
  .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); }

  /* 15 · penutup = gaya halaman RSVP PSD: "we hope to see you", nama kaligrafi, mawar di bawah */
  .closing { padding-top: clamp(48px, 8vw, 64px); padding-bottom: calc(min(100vw, 560px) * 0.3 + 12px); background: var(--paper) url("../images/crafid-violet/paper-rsvp.webp") center / cover no-repeat; }
  .closing .field { position: absolute; z-index: 1; right: 0; bottom: 0; width: min(92%, 560px); height: auto; pointer-events: none; }
  .closing .faint { position: absolute; z-index: 0; right: 0; top: 4%; height: 80%; width: auto; max-width: none; pointer-events: none; opacity: .8; }
  .closing .hope { font: 700 clamp(0.78rem, 3.4vw, 0.95rem)/1.6 var(--f-serif); letter-spacing: 0.26em; padding-left: 0.26em; text-transform: uppercase; color: var(--gold-ink); max-width: 26ch; }
  .closing .thanks { font-style: italic; color: var(--mauve); max-width: 34ch; }
  .closing .script { font-size: clamp(1.5rem, 6.4vw, 2.1rem); line-height: 1.2; }
  .closing .script i { font: 400 1.2em/1 var(--f-script); text-transform: none; letter-spacing: 0; padding-inline: 0.2em; }
  .closing .cdate { font: 700 1rem/1 var(--f-serif); color: var(--gold-ink); letter-spacing: 0.14em; margin-top: -10px; font-variant-numeric: lining-nums; }
  /* judul kaligrafi dari PSD */
  .hd-img { width: min(58vw, 280px); height: auto; }
  .hd-img.sm { width: min(46vw, 210px); }
  .kr-img { width: min(56vw, 260px); height: auto; margin-top: -12px; }
  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: #fffaf6; 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: #fffaf6e6; color: var(--rose-deep); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -14px #7a5a45; }
  .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: 1fr auto 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 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 .archbox { animation: archRise 2.4s var(--ease-out) .2s both; }
  .motion .gate .fl:not(.bud) { 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) 3.8s 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.7; 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, .motion .hero:not(.play) .card .ctext > img, .motion .hero:not(.play) .card .rule { opacity: 0; }
  .motion .hero.play .card .ctext > img, .motion .hero.play .card .rule { animation: fadeUp 1.1s var(--ease-soft) var(--in, .6s) both; }
  .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: 48cqw; margin-inline: auto; }
  #quote .mono img { width: clamp(110px, 30vw, 150px); margin-inline: auto; }
  [data-fit] { white-space: nowrap; }
  .card .nameart { top: 29%; left: 14%; right: 14%; }
  .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; }
