/* Sisi mi @ 70: the invitation's blush, sage and gold. Motion is transform and opacity only. */
:root {
  --paper: #FAF1EC; --paper-2: #F5E6DF; --blush: #EFD3CB; --blush-2: #E4BDB4;
  --rose: #A8546A; --rose-deep: #7C3348; --sage: #AEB9A5; --sage-deep: #5E6E58;
  --ink: #3D463B; --mute: #6E7369; --gold: #B98B45; --gold-hi: #F2D99C;
  --gold-grad: linear-gradient(100deg, #8E672C 0%, #C79A4C 25%, #F6DFA4 42%, #D4AC62 55%, #9C7434 75%, #C79A4C 100%);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --g: clamp(18px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 clamp(17px, 1.1vw + 13px, 20px)/1.55 var(--serif); font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; overflow-x: clip; }
body.locked { overflow: hidden; height: 100svh; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.gold { background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5.5s linear infinite; }
.script { font-family: var(--script); font-weight: 400; }
.kicker { margin: 0; font-size: clamp(12px, .5vw + 10px, 14px); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--ink); }

/* ── The envelope ────────────────────────────────────────────── */
.gate { position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 28px; padding: var(--g);
  background: radial-gradient(120% 80% at 50% 0%, #F7E3DC 0%, #EBC9C0 55%, #D9A9A2 100%); overflow: hidden; }
.gate::before, .gate::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(185, 139, 69, .45); pointer-events: none; }
.gate::before { width: 140vmax; height: 140vmax; left: -95vmax; top: 20vh; background: rgba(174, 185, 165, .35); }
.gate::after { width: 120vmax; height: 120vmax; right: -88vmax; top: -70vmax; background: rgba(174, 185, 165, .28); }
.gate-kicker { position: relative; z-index: 1; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--rose-deep); }
.gate-hint { position: relative; z-index: 1; margin: 0; font: 400 clamp(26px, 6vw, 34px) var(--script); color: var(--rose-deep); }
.gate-hint span { display: inline-block; animation: bob 2.4s ease-in-out infinite; }

.env { --w: min(86vw, 440px); position: relative; z-index: 1; width: var(--w); aspect-ratio: 1.45; perspective: 1400px; }
.env-back { position: absolute; inset: 0; z-index: 0; border-radius: 10px; background: linear-gradient(160deg, #E2B5AC, #CF968E); box-shadow: 0 40px 80px -30px rgba(94, 34, 52, .55); }
.env-back::before { content: ""; position: absolute; inset: 10px; border-radius: 6px; background: repeating-linear-gradient(45deg, rgba(94, 110, 88, .22) 0 6px, rgba(94, 110, 88, .12) 6px 12px), var(--sage); }
/* the card sits inside; only the bottom is clipped, so it can rise out of the top */
.env-pocket { position: absolute; inset: 0; z-index: 2; clip-path: polygon(-60% -400%, 160% -400%, 160% 100%, -60% 100%); }
.env-card { position: absolute; left: 8%; width: 84%; top: 6%; border-radius: 6px; box-shadow: 0 10px 30px -10px rgba(60, 30, 30, .45); transform-origin: 50% 100%; will-change: transform; }
.env-front { position: absolute; inset: 0; z-index: 3; border-radius: 10px; clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(170deg, #F1D2CA 0%, #E5B9B0 60%, #DCA9A1 100%); box-shadow: inset 0 -1px 0 rgba(255,255,255,.4); }
.env-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(32deg, transparent 49.6%, rgba(124, 51, 72, .16) 50%, transparent 50.6%), linear-gradient(-32deg, transparent 49.6%, rgba(124, 51, 72, .16) 50%, transparent 50.6%); }
.env-flap { position: absolute; left: 0; right: 0; top: 0; height: 62%; transform-origin: 50% 0; z-index: 4; clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(180deg, #EBC5BC 0%, #DFAEA6 100%); filter: drop-shadow(0 6px 6px rgba(94, 34, 52, .25)); border-radius: 10px 10px 0 0; will-change: transform; }
.env-flap::after { content: ""; position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(180deg, transparent 60%, rgba(185, 139, 69, .25)); }
.seal { position: absolute; z-index: 6; left: 50%; top: 62%; width: 30%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; animation: pulse 2.4s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.seal::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(241, 215, 154, .7); animation: ring 2.4s ease-out infinite; }
.seal-half { position: absolute; inset: 0; filter: drop-shadow(0 6px 8px rgba(60, 20, 30, .45)); will-change: transform; }
.seal-half svg { width: 100%; height: 100%; display: block; }
.seal-half.l { clip-path: polygon(0 0, 52% 0, 46% 30%, 54% 55%, 47% 100%, 0 100%); }
.seal-half.r { clip-path: polygon(52% 0, 100% 0, 100% 100%, 47% 100%, 54% 55%, 46% 30%); }
.gate.opening .seal, .gate.opening .seal::before { animation: none; }
.gate.opening .seal::before { opacity: 0; transition: opacity .3s; }
.gate.opening .gate-kicker { animation: none; }
.gate.opening .gate-hint, .gate.opening .gate-kicker { opacity: 0; transition: opacity .4s; }
.rise { animation: up .9s var(--ease) both; }

/* ── Petals (one canvas over everything, never in the way) ───── */
.petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }

/* ── The music button: four gold bars that dance while it plays ── */
.snd { position: fixed; z-index: 33; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 251, 248, .92); box-shadow: 0 0 0 1.5px rgba(185, 139, 69, .8), 0 12px 30px -12px rgba(124, 51, 72, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: up .6s var(--ease) both; }
.snd .eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.snd .eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--gold); transition: height .3s; }
.snd.on .eq i { animation: eq .9s ease-in-out infinite; }
.snd.on .eq i:nth-child(2) { animation-delay: -.3s; } .snd.on .eq i:nth-child(3) { animation-delay: -.6s; } .snd.on .eq i:nth-child(4) { animation-delay: -.15s; }
.snd:not(.on)::after { content: ""; position: absolute; width: 26px; height: 1.5px; background: var(--rose-deep); transform: rotate(-45deg); border-radius: 1px; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }

/* ── The invitation ──────────────────────────────────────────── */
main { position: relative; }
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: clamp(28px, 6vw, 70px) var(--g) 56px;
  background: radial-gradient(90% 60% at 50% 30%, #FCF4EF, var(--paper-2) 70%), var(--paper); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; border: 1.5px solid rgba(185, 139, 69, .55); }
.hero::before { width: 70vmax; height: 70vmax; left: -48vmax; bottom: -30vmax; background: rgba(174, 185, 165, .45); }
.hero::after { width: 60vmax; height: 60vmax; right: -44vmax; top: -18vmax; background: rgba(239, 211, 203, .7); }
.fl { position: absolute; z-index: 2; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.fl-top { width: clamp(170px, 30vw, 330px); left: -4%; top: -3%; transform-origin: 0 0; }
.fl-spray { display: none; width: clamp(70px, 10vw, 120px); right: 1%; top: 22%; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
@media (min-width: 900px) { .fl-spray { display: block; } }
.fl-roses { width: clamp(170px, 28vw, 320px); right: -5%; bottom: -4%; transform-origin: 100% 100%; }
.arch { position: relative; z-index: 1; width: min(100%, 620px); padding: clamp(62px, 11vw, 110px) clamp(22px, 5vw, 64px) clamp(40px, 6vw, 64px); text-align: center;
  border-radius: 50% 50% 22px 22px / min(46vw, 300px) min(46vw, 300px) 22px 22px; background: linear-gradient(180deg, rgba(255, 251, 248, .92), rgba(250, 238, 232, .92));
  box-shadow: 0 0 0 1.5px rgba(185, 139, 69, .75), 0 0 0 9px rgba(250, 238, 232, .5), 0 0 0 10.5px rgba(185, 139, 69, .45), 0 40px 90px -40px rgba(124, 51, 72, .45); }
.hero .kicker { max-width: 26em; margin-inline: auto; line-height: 1.7; text-wrap: balance; }
.seventy { margin: 6px 0 0; font-weight: 400; line-height: 1; }
.seventy-num { display: block; width: min(76%, 330px); margin: 0 auto -18px; overflow: visible; }
.seventy-num text { font-family: var(--serif); fill: url(#goldText); stroke: url(#goldText); stroke-width: 1.2; text-anchor: middle; paint-order: stroke; }
.draw-70 { font-size: 190px; font-weight: 600; letter-spacing: -6px; }
.draw-th { font-family: var(--script) !important; font-size: 64px; text-anchor: start; }
.birthday { display: block; font: 400 clamp(64px, 15vw, 118px)/1.05 var(--script); padding: 0 .12em .12em; margin-top: -4px; }
.of { margin: 6px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.name { margin: 4px 0 0; font-size: clamp(28px, 6.2vw, 46px); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--rose); line-height: 1.12; }
.aka { margin: 6px 0 0; font-style: italic; font-size: clamp(19px, 3.6vw, 24px); }
.ornament { display: block; width: min(240px, 70%); height: 24px; margin: 22px auto; }
.tagline { margin: 0 auto; max-width: 26em; text-wrap: balance; font-size: clamp(13px, .7vw + 10px, 16px); font-weight: 600; letter-spacing: .26em; line-height: 1.9; text-transform: uppercase; color: var(--sage-deep); }
.cue { display: inline-grid; justify-items: center; gap: 8px; margin-top: 34px; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--rose-deep); }
.cue i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }

/* hero entrance, started when the envelope opens */
.hero .arch, .hero .fl, .hero .of, .hero .name, .hero .aka, .hero .ornament, .hero .cue, .birthday { opacity: 0; }
.shown .hero .arch { animation: archIn 1.3s var(--ease) both; }
.shown .hero .fl-top { animation: bloomTL 1.8s var(--ease) .2s both; }
.shown .hero .fl-roses { animation: bloomBR 1.8s var(--ease) .35s both; }
.shown .hero .fl-spray { animation: fade 1.6s ease .6s both; }
.shown .birthday { animation: inkIn 1.4s var(--ease) 1.5s both, shimmer 5.5s linear 3s infinite; }
.shown .hero .of { animation: up .9s var(--ease) 2.1s both; }
.shown .hero .name { animation: nameIn 1.1s var(--ease) 2.25s both; }
.shown .hero .aka { animation: up .9s var(--ease) 2.55s both; }
.shown .hero .ornament { animation: grow 1s var(--ease) 2.7s both; }
.shown .hero .cue { animation: up .9s var(--ease) 3.6s both; }
.draw-70, .draw-th { stroke-dasharray: 900; stroke-dashoffset: 900; fill-opacity: 0; }
.shown .draw-70 { animation: pen 1.6s ease-in-out .5s forwards, fillIn .8s ease 1.6s forwards; }
.shown .draw-th { animation: pen 1s ease-in-out 1.2s forwards, fillIn .6s ease 1.8s forwards; }

/* words and blocks that appear as they scroll in */
[data-words] .w { display: inline-block; opacity: 0; transform: translateY(.6em); filter: blur(4px); transition: opacity .7s, transform .9s var(--ease), filter .7s; transition-delay: calc(var(--i) * 70ms + var(--d, 0ms)); }
[data-words].in .w { opacity: 1; transform: none; filter: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s, transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ── The day ─────────────────────────────────────────────────── */
.day, .count, .rsvp, .verse { position: relative; padding: clamp(72px, 11vw, 130px) var(--g); text-align: center; }
.day { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.weekday { margin: 18px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: var(--ink); }
.date { margin: 4px 0 0; font-size: clamp(34px, 7vw, 60px); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--rose); line-height: 1.1; }
.events { display: grid; gap: 18px; max-width: 880px; margin: 18px auto 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .events { grid-template-columns: 1fr 1fr; gap: 26px; } }
.event { padding: 40px 26px 32px; border-radius: 50% 50% 20px 20px / min(40vw, 170px) min(40vw, 170px) 20px 20px; background: rgba(255, 251, 248, .85);
  box-shadow: 0 0 0 1.5px rgba(185, 139, 69, .6), 0 26px 60px -36px rgba(124, 51, 72, .5); }
.icon { width: 72px; height: 72px; margin: 0 auto 10px; fill: none; stroke: var(--sage-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.icon.clink { stroke: var(--gold); }
.icon.draw path { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.8s ease .3s; }
.in .icon.draw path, .icon.draw.in path { stroke-dashoffset: 0; }
.clink .g-l, .clink .g-r { transform-box: fill-box; transition: transform .6s var(--ease) 1.9s; }
.clink .g-l { transform-origin: 100% 100%; } .clink .g-r { transform-origin: 0 100%; }
.in .clink .g-l { transform: rotate(6deg); } .in .clink .g-r { transform: rotate(-6deg); }
.clink .spark { opacity: 0; transition: opacity .3s 2.3s; } .in .clink .spark { opacity: 1; animation: twinkle 1.6s ease-in-out 2.4s infinite; }
.ev-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.ev-time { margin: 4px 0 0; font-size: clamp(30px, 4.6vw, 38px); font-weight: 600; color: var(--gold); line-height: 1.2; }
.ev-venue { margin: 6px 0 0; font-size: 21px; font-weight: 700; }
.ev-addr { margin: 2px 0 18px; color: var(--mute); line-height: 1.4; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 99px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--rose-deep); background: var(--blush); transition: background .2s, transform .2s; }
.chip:hover { background: var(--blush-2); transform: translateY(-1px); }
.cal { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; align-items: center; margin-top: 26px; color: var(--mute); }
.link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; color: var(--rose-deep); text-decoration: underline; text-decoration-color: rgba(168, 84, 106, .4); text-underline-offset: 4px; cursor: pointer; }

/* ── Countdown ───────────────────────────────────────────────── */
.count { background: linear-gradient(180deg, var(--paper), #F3E3DC); }
.clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 18px); max-width: 640px; margin: 24px auto 0; }
.unit { padding: clamp(14px, 3vw, 22px) 4px 12px; border-radius: 18px; background: linear-gradient(180deg, #5E6E58, #4B5A46); box-shadow: inset 0 0 0 1px rgba(242, 217, 156, .5), 0 18px 40px -24px rgba(40, 50, 36, .8); color: var(--gold-hi); overflow: hidden; }
.unit b { display: block; font-size: clamp(34px, 8vw, 64px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.unit b.tick { animation: tick .55s var(--ease); }
.unit span { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #E7DCC4; }
.count-note { margin: 22px auto 0; max-width: 34ch; font-size: 22px; font-style: italic; }

/* ── RSVP ────────────────────────────────────────────────────── */
.rsvp { background: radial-gradient(80% 70% at 50% 30%, #F7E1DA, #EBC7BE 80%); overflow: hidden; }
.rsvp-card { position: relative; max-width: 620px; margin: 0 auto; padding: clamp(44px, 7vw, 70px) clamp(22px, 5vw, 56px) 92px; border-radius: 28px; background: rgba(255, 251, 248, .9);
  box-shadow: 0 0 0 1.5px rgba(185, 139, 69, .7), 0 0 0 8px rgba(255, 251, 248, .45), 0 0 0 9.5px rgba(185, 139, 69, .4), 0 40px 80px -40px rgba(124, 51, 72, .55); }
.rsvp h2 { margin: 12px 0 0; font-size: clamp(44px, 9vw, 72px); line-height: 1.1; padding: 0 .1em .1em; }
.lead { margin: 12px auto 0; max-width: 36ch; color: var(--mute); }
.rsvp-actions { display: grid; justify-items: center; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 99px; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-gold { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #9C7434, #CFA65B 45%, #A97C3A); box-shadow: 0 16px 34px -14px rgba(142, 103, 44, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 3.6s ease-in-out infinite; }
.btn-gold:hover { box-shadow: 0 20px 40px -14px rgba(142, 103, 44, .9); transform: translateY(-2px); }
.btn-soft { color: var(--rose-deep); background: var(--blush); }
.btn-soft:hover { background: var(--blush-2); }
.btn-ghost { color: var(--mute); min-height: 48px; padding: 0 16px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.badge { position: absolute; left: 50%; bottom: -1px; translate: -50% 0; padding: 10px 34px 12px; border-radius: 14px 14px 0 0; background: #5E6E58; color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(242, 217, 156, .55); line-height: 1.1; white-space: nowrap; }
.badge small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #E7DCC4; }
.badge span { font-size: 22px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* ── Psalm and footer ────────────────────────────────────────── */
.verse { background: var(--paper); }
.verse blockquote { margin: 0 auto; max-width: 30ch; }
.verse p { margin: 0; font-size: clamp(22px, 3.6vw, 32px); font-style: italic; line-height: 1.45; }
.verse p + p { --d: .25s; }
.verse cite { --d: .5s; display: block; margin-top: 16px; font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.foot { padding: 46px var(--g) calc(46px + env(safe-area-inset-bottom)); text-align: center; background: #EBD3CB; color: var(--mute); font-size: 16px; }
.foot .script { margin: 0; font-size: 40px; padding-bottom: .1em; }
.foot p { margin: 0; }

/* ── The RSVP stage ──────────────────────────────────────────── */
.stage { position: fixed; inset: 0; z-index: 35; display: grid; place-items: center; padding: 14px; background: rgba(62, 38, 42, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stage-card { position: relative; width: min(100%, 560px); max-height: calc(100svh - 28px); overflow: auto; overscroll-behavior: contain; padding: 54px clamp(20px, 5vw, 44px) 34px; border-radius: 26px;
  background: linear-gradient(180deg, #FFFBF8, #F8EBE5); box-shadow: 0 0 0 1.5px rgba(185, 139, 69, .7), 0 50px 100px -30px rgba(40, 10, 20, .6); }
.x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--mute); }
.x:hover { background: var(--blush); }
.progress { position: absolute; left: 26px; right: 64px; top: 30px; height: 3px; border-radius: 3px; background: rgba(185, 139, 69, .2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .6s var(--ease); }
.steps { position: relative; }
.step { text-align: center; }
.step h3 { margin: 0; font: 400 clamp(38px, 8vw, 52px)/1.1 var(--script); color: var(--rose-deep); padding-bottom: .1em; }
.step .sub { margin: 8px auto 0; max-width: 34ch; color: var(--mute); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.choice { display: grid; justify-items: center; gap: 12px; padding: 20px 10px 18px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1.5px rgba(185, 139, 69, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.choice:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--gold), 0 20px 40px -24px rgba(124, 51, 72, .6); }
.choice svg { width: 74px; height: 74px; filter: drop-shadow(0 6px 8px rgba(60, 20, 30, .3)); transition: transform .5s var(--ease); }
.choice:hover svg { transform: rotate(-12deg) scale(1.06); }
.choice.decline svg { filter: grayscale(.6) drop-shadow(0 6px 8px rgba(60, 20, 30, .2)); }
.choice b { font-size: 19px; line-height: 1.2; }
.fields { display: grid; gap: 14px; margin-top: 24px; text-align: left; }
.two { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 460px) { .two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin: 0 0 6px 4px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.field label i { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mute); }
.input, select.input, textarea.input { width: 100%; min-height: 54px; padding: 12px 16px; border: 0; border-radius: 14px; background: #fff; font: 500 19px var(--serif); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(110, 115, 105, .28); transition: box-shadow .2s; appearance: none; -webkit-appearance: none; }
.input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 4px rgba(185, 139, 69, .18); }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.45; }
.phone { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 8px; }
select.input { padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E7369' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.counter { margin: 6px 4px 0 0; text-align: right; font-size: 14px; color: var(--mute); }
.err { min-height: 24px; margin: 10px 0 0; font-size: 16px; color: #A23B3B; }
.nav { display: grid; justify-items: center; gap: 4px; margin-top: 18px; }
.nav .btn { width: 100%; }
.opts { display: grid; gap: 10px; margin-top: 24px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; border-radius: 16px; background: #fff; text-align: left; box-shadow: inset 0 0 0 1.5px rgba(110, 115, 105, .25); transition: box-shadow .2s, transform .2s; }
.opt::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(110, 115, 105, .5); transition: box-shadow .25s, background .25s; }
.opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--gold); }
.opt[aria-checked="true"]::before { background: var(--gold); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1.5px var(--gold); }
.opt b { display: block; font-size: 19px; } .opt span { color: var(--mute); font-size: 16px; }

/* video message */
.vid-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.vid-choices .btn { min-height: 92px; flex-direction: column; gap: 6px; padding: 12px; border-radius: 20px; font-size: 17px; letter-spacing: .02em; }
.vid-choices svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.screen { position: relative; margin-top: 20px; border-radius: 20px; overflow: hidden; background: #2C2326; aspect-ratio: 3 / 4; max-height: 52svh; margin-inline: auto; }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen.mirror video.live { transform: scaleX(-1); }
.rec { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; align-items: center; gap: 12px; }
.rec-btn { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 3px #fff; }
.rec-btn i { width: 50px; height: 50px; border-radius: 50%; background: #D4485E; transition: border-radius .25s, width .25s, height .25s; }
.rec-btn.on i { width: 26px; height: 26px; border-radius: 6px; }
.rec-time { position: absolute; top: 12px; left: 50%; translate: -50% 0; padding: 4px 12px; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; font: 600 15px/1.4 ui-monospace, monospace; }
.rec-time.on::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #FF5A6E; animation: blink 1s steps(2) infinite; vertical-align: 1px; }
.vid-note { margin-top: 10px; font-size: 16px; color: var(--mute); }

/* sending, done */
.ring { width: 120px; height: 120px; margin: 26px auto 8px; }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: rgba(185, 139, 69, .2); }
.ring .fg { stroke: url(#goldLine); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .4s; }
.ring text { font: 600 26px var(--serif); fill: var(--rose-deep); }
.ticket { position: relative; margin: 24px auto 0; max-width: 360px; padding: 26px 22px 20px; border-radius: 20px; background: linear-gradient(180deg, #FFFBF7, #F6E7DF); text-align: center;
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 6px #FFFBF7, 0 0 0 7.5px rgba(185, 139, 69, .5), 0 30px 60px -30px rgba(124, 51, 72, .6); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58%; width: 22px; height: 22px; border-radius: 50%; background: #F3E2DB; box-shadow: inset 0 0 0 1.5px var(--gold); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket .t-k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--sage-deep); }
.ticket .t-name { margin: 6px 0 0; font-size: 28px; font-weight: 700; line-height: 1.15; color: var(--rose); }
.ticket .t-when { margin: 4px 0 0; color: var(--mute); font-size: 16px; }
.ticket .t-qr { width: 150px; height: 150px; margin: 16px auto 8px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(185, 139, 69, .4); }
.ticket .t-qr canvas, .ticket .t-qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.ticket .t-code { margin: 0; font: 600 18px ui-monospace, monospace; letter-spacing: .18em; color: var(--ink); }
.ticket .t-band { margin: 14px -22px -20px; padding: 10px; border-radius: 0 0 20px 20px; background: #5E6E58; color: var(--gold-hi); font-size: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ticket .t-band small { display: block; font-size: 10px; letter-spacing: .3em; color: #E7DCC4; }
.ticket-in { animation: ticketIn 1.1s var(--ease) both; }
.done-actions { display: grid; gap: 10px; margin-top: 22px; }

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes archIn { from { opacity: 0; transform: translateY(46px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bloomTL { from { opacity: 0; transform: scale(.6) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes bloomBR { from { opacity: 0; transform: scale(.6) rotate(14deg); } to { opacity: 1; transform: none; } }
@keyframes inkIn { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-10px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes nameIn { from { opacity: 0; letter-spacing: .4em; filter: blur(6px); } to { opacity: 1; letter-spacing: .04em; filter: none; } }
@keyframes grow { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes pen { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill-opacity: 1; stroke-width: 0; } }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes twinkle { 50% { opacity: .2; } }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ticketIn { 0% { opacity: 0; transform: translateY(60px) rotateX(55deg) scale(.85); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, [data-words] .w { opacity: 1; transform: none; filter: none; }
}
