/* ───────────── Tokens ───────────── */
:root {
  --ivory: #F6F0E4;
  --paper: #FBF7EE;
  --frame: #EFE4CC;
  --sage: #7A8B6A;
  --sage-dk: #55644A;
  --green: #3E4A36;
  --gold: #B8955A;
  --gold-dk: #8E6E3A;
  --marigold: #E8912D;
  --ink: #3B3A33;
  --ink-soft: #5E5A4D;
  --line: rgba(184, 149, 90, .45);
  --error: #A3361F;

  --f-script: "Great Vibes", "Snell Roundhand", cursive;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-deva: "Tiro Devanagari Hindi", "Kohinoor Devanagari", serif;

  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-lux: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Smooth-scroll library requirements: native smooth scrolling must be off while it drives the page */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  background: var(--ivory);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .7), transparent 60%),
    url("assets/paper.png");
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100svh; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-dk); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.deva { font-family: var(--f-deva); }

/* ───────────── Gate ───────────── */
.gate {
  position: fixed; inset: 0; z-index: 50;
  perspective: 1600px;
  display: grid; place-items: center;
}
.door {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background-color: #7A8B6A;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.08), transparent 18%, transparent 82%, rgba(0,0,0,.10)),
    url("assets/leaf-pattern.svg");
  background-size: auto, 140px 160px;
  box-shadow: inset 0 0 0 12px rgba(62, 74, 54, .28), inset 0 0 0 13px rgba(228, 204, 152, .7), inset 0 0 0 20px rgba(62, 74, 54, .06), inset 0 0 0 21px rgba(228, 204, 152, .45);
  transition: transform 2s var(--ease-io) .2s, opacity 1s ease 1.4s;
  backface-visibility: hidden;
  will-change: transform;
}
.door--left { left: 0; transform-origin: left center; }
.door--right { right: 0; transform-origin: right center; background-position: 0 0, 70px 0; }
.door__edge { position: absolute; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold), #E4CC98, var(--gold)); }
.door--left .door__edge { right: 0; }
.door--right .door__edge { left: 0; }

.ribbon {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 14px; transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 50%, #F4E3B8 0 2.4px, var(--gold) 2.6px 3.6px, transparent 3.8px) 0 0 / 14px 9px repeat-y,
    linear-gradient(90deg, transparent 2px, rgba(142,110,58,.25) 2px 3px, transparent 3px 11px, rgba(142,110,58,.25) 11px 12px, transparent 12px);
  filter: drop-shadow(0 0 3px rgba(0,0,0,.25));
  transition: opacity .8s ease;
}
.gate__center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; transition: opacity 1.1s ease .25s, transform 1.4s var(--ease-lux) .25s; }
.is-loading .gate__center { opacity: 0; transform: translateY(14px) scale(.96); }
.gate { transition: opacity .9s ease; }
.is-loading .gate { opacity: 0; }
.gate.is-open .gate__center { transition: opacity .7s ease, transform .9s var(--ease-lux); }
.gate__kicker {
  font-family: var(--f-script); font-size: 34px; color: #F7EFD9;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.seal {
  width: min(56vw, 230px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(0 10px 18px rgba(30, 36, 24, .45));
  animation: breathe 3.6s ease-in-out infinite;
  will-change: transform;
  border-radius: 50%;
}
.seal svg { width: 100%; height: 100%; }
.seal:hover { animation-play-state: paused; transform: scale(1.03); }
.gate__hint {
  font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: #F7EFD9;
  background: rgba(62, 74, 54, .55); padding: 6px 14px; border-radius: 99px;
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.028); } }
@keyframes pulse { 50% { opacity: .55; } }

.gate.is-open .door--left { transform: rotateY(-100deg); opacity: 0; }
.gate.is-open .door--right { transform: rotateY(100deg); opacity: 0; }
.gate.is-open .ribbon, .gate.is-open .gate__center { opacity: 0; }
.gate.is-open .gate__center { transform: scale(.94); }
.gate.is-gone { display: none; }

/* Petals */
.petals { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.petal {
  position: absolute; top: -20px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF6DA, #D9B76E 60%, #B8955A);
  will-change: transform, opacity;
  animation: fall var(--dur, 5s) linear var(--delay, 0s) forwards, twinkle 2s ease-in-out infinite alternate;
}
.petal.rose { background: radial-gradient(circle at 35% 30%, #fff, #F2EAD8 55%, #C9B48C); }
@keyframes twinkle { to { opacity: .45; } }
@keyframes fall {
  to { transform: translate3d(var(--drift, 40px), 110vh, 0) rotate(var(--spin, 540deg)); opacity: .9; }
}

/* ───────────── Page ───────────── */
.page { outline: none; transition: opacity .01s linear 1s; }
.is-loading .page { opacity: 0; }
.section { padding: 72px 20px; max-width: 760px; margin: 0 auto; text-align: center; }
.script-title { font-family: var(--f-script); font-weight: 400; font-size: clamp(38px, 9.4vw, 58px); text-wrap: balance; line-height: 1.1; color: var(--gold-dk); }
.section-icon { display: inline-block; width: 30px; height: 30px; color: var(--gold); margin-bottom: 6px; }
.section-icon svg { width: 100%; height: 100%; }
.lead { color: var(--ink-soft); margin-top: 6px; }
.lead strong { color: var(--ink); font-weight: 600; }

.divider { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 14px auto 18px; width: min(260px, 70%); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider svg { width: 30px; height: auto; flex: none; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 94px 30px 20px;
  overflow: hidden;
}
.hero__toran { position: absolute; top: 0; left: -2%; right: -2%; z-index: 2; }
.hero__branch { display: none; position: absolute; bottom: 0; width: min(46vw, 260px); z-index: 2; pointer-events: none; }
.hero__branch--l { left: -6px; }
.hero__branch--r { right: -6px; transform: scaleX(-1); }

.arch { position: relative; will-change: transform; width: min(100%, 440px); filter: drop-shadow(0 18px 30px rgba(110, 90, 50, .16)); }
.arch__crown svg { width: 100%; height: auto; margin-bottom: -1px; }
.arch__body {
  position: relative;
  background: linear-gradient(90deg, var(--frame) 0 3.5%, var(--paper) 3.5% 96.5%, var(--frame) 96.5%);
  border: 1.6px solid var(--gold); border-top: 0;
  padding: 4px 11% 44px;
  text-align: center;
}
.arch__body::before {
  content: ""; position: absolute; top: 0; bottom: 8px; left: 3.5%; right: 3.5%;
  border: 1.2px solid var(--gold); border-top: 0; pointer-events: none;
}
.invocation { color: var(--gold-dk); font-size: 17px; }
.shloka { font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); margin-top: 8px; }
.shloka span { display: block; }
.blessing { font-style: italic; font-size: 16px; color: var(--ink-soft); margin-top: 12px; }
.arch__body > :first-child { margin-top: -108px; position: relative; }
.arch__body > * { position: relative; z-index: 1; }
.arch__body > .hero-scene { z-index: 0; }
.hero-blessing { color: var(--ink-soft); }
.hero-blessing__invocation { font-size: 15px; color: var(--gold-dk); }
.hero-blessing__shloka { font-size: 13px; line-height: 1.65; margin-top: 3px; }
.hero-blessing__shloka span { display: block; white-space: nowrap; }
.hero-blessing::after { content: ""; display: block; width: 60px; height: 1px; margin: 7px auto 8px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
@media (min-width: 768px) { .hero-blessing__invocation { font-size: 17px; } .hero-blessing__shloka { font-size: 15px; } }
.eyebrow { font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.2; letter-spacing: .03em; white-space: nowrap; color: var(--gold-dk); margin-bottom: 10px; }
.eyebrow::after { content: ""; display: block; width: 74px; height: 7px; margin: 7px auto 0;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 7'%3E%3Cpath d='M0 3.5h26M38 3.5h26' stroke='%23B8955A' stroke-width='.7'/%3E%3Cpath d='M32 .5l3 3-3 3-3-3z' fill='%23B8955A'/%3E%3C/svg%3E"); }
.names { font-weight: 400; display: grid; justify-items: center; margin-top: 4px; }
.name { font-family: var(--f-script); font-size: clamp(46px, 12.4vw, 76px); line-height: 1.05; color: var(--green); }
.parents { font-size: 14.5px; line-height: 1.35; color: var(--ink-soft); max-width: 30ch; margin-top: 2px; }
.amp { font-family: var(--f-script); font-size: 46px; color: var(--gold); line-height: 1; margin: 12px 0 0; }
.arch__body .divider { margin: 8px auto 10px; }
.hero-request { font-style: italic; font-size: 16px; line-height: 1.4; color: var(--ink-soft); }
.dateline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.dateline .dot { color: var(--gold); }

.scroll-cue { display: none !important; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--sage-dk); display: grid; justify-items: center; gap: 6px; }
.scroll-cue span { width: 1px; height: 26px; background: linear-gradient(var(--gold), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Curtains (drawn by curtain.js) */
.curtains { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.curtains canvas { display: block; width: 100%; height: 100%; }

/* Welcome */
.welcome { padding-top: 56px; padding-bottom: 24px; }
.welcome .divider { margin-bottom: 22px; }
.welcome .section-icon { width: 26px; height: 26px; margin: 0 auto 10px; display: block; }
.welcome__text { font-style: italic; font-size: 21px; line-height: 1.7; color: var(--ink-soft); max-width: 30ch; margin: 0 auto; text-wrap: pretty; }

/* Scratch to reveal */
.scratch { padding-top: 48px; padding-bottom: 40px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.scratch__box { position: relative; width: min(62vw, 260px); aspect-ratio: 100 / 92; margin: 6px auto 0; }
.scratch__heart { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--paper); stroke: var(--gold); stroke-width: .7; filter: drop-shadow(0 12px 18px rgba(110, 90, 50, .18)); }
.scratch__secret { position: absolute; left: 12%; right: 12%; top: 20%; bottom: 30%; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; }
.scratch__kicker { font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--sage-dk); }
.scratch__date { font-size: clamp(26px, 7.4vw, 32px); font-weight: 600; color: var(--green); letter-spacing: .04em; white-space: nowrap; }
.scratch__place { font-family: var(--f-script); font-size: 30px; color: var(--gold-dk); line-height: 1; }
.scratch__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab; transition: opacity 1.1s ease; }
.scratch.is-revealed .scratch__canvas { opacity: 0; pointer-events: none; }
.scratch__hint { font-size: 16px; color: var(--ink-soft); margin-top: 14px; }
.link-btn { background: none; border: 0; padding: 10px 4px; font-size: 16px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.scratch.is-revealed .scratch__hint { display: none; }
.scratch__save { margin-top: 18px; animation: pop .8s var(--ease-lux); }
.btn__ico { display: inline-flex; width: 18px; height: 18px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }

/* Blessings note */
.gifts { padding-top: 36px; padding-bottom: 8px; }
.gifts__text { font-style: italic; font-size: 23px; line-height: 1.6; color: var(--green); max-width: 26ch; margin: 0 auto; text-wrap: balance; }

/* Hero text entrance: scene first, then words line by line */
.hero--pending .arch__body > *:not(.hero-scene), .hero--pending .scroll-cue { opacity: 0; transform: translateY(16px); }
.hero--pending.hero--play .arch__body > *:not(.hero-scene), .hero--pending.hero--play .scroll-cue {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1.1s ease, transform 1.3s var(--ease-lux);
  transition-delay: calc(var(--i, 0) * 150ms);
}
.hero--pending.hero--play .scroll-cue { transform: translateX(-50%); }
.hero--pending .scroll-cue { transform: translate(-50%, 14px); }

/* Garden scene inside the arch */
.hero-scene { position: relative; margin: -30px -9.6% -36px; }
.hero-scene .garden-base { display: block; width: 100%; height: auto; }
.hero-scene .garden-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.garden .jets path { stroke-dasharray: 6 5; animation: flow 1.1s linear infinite; opacity: .85; }
.garden .ripple { transform-box: fill-box; transform-origin: center; animation: ripple 3s ease-out infinite; opacity: 0; }
.garden .ripple.r2 { animation-delay: 1s; }
.garden .ripple.r3 { animation-delay: 2s; }
.garden .drops circle { animation: drip 1.6s ease-in infinite; }
.garden .drops circle:nth-child(2n) { animation-delay: .8s; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes ripple { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* Countdown digits settle in softly each second */
.cd__num.tick { animation: digit .6s var(--ease-lux); }
@keyframes digit { from { opacity: .3; transform: translateY(-5px); } }
.cal-menu:not([hidden]) { animation: menu .45s var(--ease-lux); }
@keyframes menu { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

/* Countdown */
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 420px; margin: 8px auto 0; }
.cd__tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 4px 10px; display: grid; gap: 2px;
  box-shadow: 0 6px 16px rgba(110, 90, 50, .08), inset 0 0 0 3px var(--paper), inset 0 0 0 4px rgba(184, 149, 90, .25);
}
.cd__num { font-size: clamp(30px, 8vw, 40px); font-weight: 600; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.cd__lbl { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.cd__done { font-family: var(--f-script); font-size: 48px; color: var(--gold-dk); display: inline-flex; align-items: center; gap: 8px; }
.cd__done span { width: 30px; display: inline-block; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 14px; margin-top: 6px; max-width: 420px; margin-left: auto; margin-right: auto; }
.day { display: grid; gap: 14px; }
.day__head { display: grid; justify-items: center; gap: 2px; margin: 18px 0 4px; }
.day__badge { font-family: var(--f-script); font-size: 34px; line-height: 1; color: var(--gold-dk); }
.day__date { font-variant: small-caps; text-transform: lowercase; font-size: 18px; letter-spacing: .16em; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.day__date::before, .day__date::after { content: ""; width: 36px; height: .5px; background: var(--gold); }

/* Event insert cards — styled like printed stationery, not app tiles */
.event-wrap, .venue-wrap { perspective: 1100px; }
.event, .venue {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; text-align: center;
  background: linear-gradient(180deg, #FDFBF6, #FAF5EA);
  border: 1px solid rgba(184,149,90,.55);
  border-radius: 3px;
  padding: 30px 26px 22px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  /* a second sheet peeking out behind, like stacked stationery */
  box-shadow:
    5px 6px 0 -1px #F3ECDE, 5px 6px 0 0 rgba(184,149,90,.32),
    0 1px 2px rgba(90, 72, 40, .06), 0 16px 32px -22px rgba(90, 72, 40, .38);
  transition: transform .7s var(--ease-lux), box-shadow .7s var(--ease-lux), scale .7s var(--ease-lux), translate .7s var(--ease-lux);
  will-change: transform;
}
.event.is-hover, .venue.is-hover {
  scale: 1.022; translate: 0 -4px;
  transition: transform .18s linear, box-shadow .7s var(--ease-lux), scale .7s var(--ease-lux), translate .7s var(--ease-lux);
  box-shadow:
    7px 9px 0 -1px #F3ECDE, 7px 9px 0 0 rgba(184,149,90,.3),
    0 0 0 1px rgba(201, 165, 90, .35), 0 0 38px -8px rgba(214, 178, 104, .38),
    0 34px 60px -30px rgba(90, 72, 40, .5);
}
.event:active, .venue:active { scale: .992; }
/* soft light that follows the pointer */
.event__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background:
    radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 255, 255, .62), rgba(255, 252, 242, .2) 38%, transparent 64%),
    radial-gradient(520px circle at var(--mx) var(--my), rgba(226, 192, 120, .10), transparent 70%);
  opacity: 0; transition: opacity .6s ease;
}
.event.is-hover .event__glare, .venue.is-hover .event__glare { opacity: 1; }
/* layered depth: the name floats above the details */
.event > *:not(.event__glare):not(.event__corner), .venue > *:not(.event__glare):not(.event__corner) { position: relative; z-index: 2; }
.event__name { transform: translateZ(26px); text-shadow: 0 1px 0 rgba(255, 255, 255, .85); }
.event__num, .event__sub { transform: translateZ(16px); }
.event__date, .event__rule { transform: translateZ(12px); }
.event__links { transform: translateZ(8px); }
.event::before, .venue::before { content: ""; position: absolute; inset: 7px; border: .5px solid rgba(184,149,90,.5); pointer-events: none; }
.event__corner { position: absolute; width: 34px; height: 34px; pointer-events: none; opacity: .8;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23B8955A' stroke-width='.9'%3E%3Cpath d='M2 22C2 10 10 2 22 2'/%3E%3Cpath d='M6 22c0-9 7-16 16-16'/%3E%3Cpath d='M10 12c3 1 4 4 3 7M12 10c1 3 4 4 7 3'/%3E%3Ccircle cx='22' cy='2' r='1.2' fill='%23B8955A'/%3E%3Ccircle cx='2' cy='22' r='1.2' fill='%23B8955A'/%3E%3C/svg%3E"); }
.event__corner--tl { top: 10px; left: 10px; }
.event__corner--br { bottom: 10px; right: 10px; transform: rotate(180deg); }
.event__num { font-size: 13px; letter-spacing: .4em; color: var(--gold-dk); padding-left: .4em; }
.event__name { font-family: var(--f-script); font-weight: 400; font-size: 50px; line-height: 1.05; color: var(--green); margin-top: 2px; }
.event__name { transform: translateZ(26px); text-shadow: 0 1px 0 rgba(255, 255, 255, .85); }
.event__sub { font-variant: small-caps; text-transform: lowercase; font-size: 18px; letter-spacing: .14em; color: var(--sage-dk); margin-top: -2px; }
.event__rule { display: flex; justify-content: center; margin: 14px auto 16px; }
.event__rule span { width: 64px; height: 7px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 7'%3E%3Cpath d='M0 3.5h26M38 3.5h26' stroke='%23B8955A' stroke-width='.7'/%3E%3Cpath d='M32 .5l3 3-3 3-3-3z' fill='%23B8955A'/%3E%3C/svg%3E"); }
.event__date { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 12px; text-align: left; }
.event__day { font-size: 46px; font-weight: 400; line-height: 1; color: var(--green); padding-right: 12px; border-right: .5px solid var(--gold); font-variant-numeric: lining-nums; }
.event__dm { font-variant: small-caps; text-transform: lowercase; font-size: 17px; letter-spacing: .12em; line-height: 1.35; color: var(--ink-soft); }
.event__time { font-style: italic; font-size: 21px; color: var(--ink); margin-top: 14px; }
.event__place { font-size: 17px; color: var(--ink-soft); margin-top: 2px; }
.event__place strong { font-weight: 600; color: var(--ink); }
.event__attire { font-style: italic; font-size: 16px; color: var(--sage-dk); margin-top: 10px; }
.event__links { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 14px; flex-wrap: wrap; }
.event__sep { color: var(--gold); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-variant: small-caps; text-transform: lowercase; font-size: 16px; letter-spacing: .07em; color: var(--green); white-space: nowrap;
  background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat;
  background-size: calc(100% - 16px) .5px; background-position: 8px calc(50% + 11px);
  transition: color .3s ease, background-size .45s var(--ease-lux);
}
.text-link:hover { color: var(--gold-dk); background-size: 0 .5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: 99px;
  font-size: 16px; font-weight: 600; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--green); background: transparent; color: var(--green);
  transition: background-color .3s ease, color .3s ease, transform .35s var(--ease-lux);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: rgba(62, 74, 54, .08); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--green); color: #F7F1E3; }
.btn--primary:hover { background: #333E2C; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Calendar menu */
.cal-menu {
  position: absolute; z-index: 40; min-width: 220px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(60, 50, 30, .18); padding: 6px; display: grid;
}
.cal-menu button { min-height: 44px; text-align: left; padding: 8px 14px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-size: 17px; }
.cal-menu button:hover, .cal-menu button:focus-visible { background: rgba(122, 139, 106, .14); }

/* Venues */
.venues__note { font-style: italic; max-width: 32ch; margin: 0 auto 6px; }
.venue-list { display: grid; gap: 22px; margin: 18px auto 0; max-width: 420px; }
.venue-wrap { display: flex; }
.venue { flex: 1; display: flex; flex-direction: column; }
.venue__name { transform: translateZ(24px); text-shadow: 0 1px 0 rgba(255, 255, 255, .85); }
.venue__art { transform: translateZ(10px); }
.venue__art { padding: 2px 8px 6px; }
.venue__name { font-family: var(--f-script); font-weight: 400; font-size: 42px; color: var(--green); line-height: 1.1; }
.venue__area { color: var(--ink-soft); font-size: 16px; }
.venue__when { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-dk); margin-top: 6px; }
.venue__cta { margin-top: auto; padding-top: 12px; transform: translateZ(8px); }
.venue__area { max-width: 28ch; margin: 2px auto 0; min-height: 4.65em; display: flex; align-items: center; justify-content: center; line-height: 1.55; }

/* RSVP */
.rsvp__form {
  position: relative; text-align: left; max-width: 480px; margin: 26px auto 0;
  display: grid; gap: 20px; padding: 28px 22px 24px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(251,247,238,.92));
  border: 1px solid rgba(184,149,90,.35);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 60px -24px rgba(90, 72, 40, .28), 0 6px 18px -8px rgba(90, 72, 40, .12);
}
.field { position: relative; display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dk); padding: 0; margin-bottom: 10px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field__err { color: var(--error); font-size: 15px; display: flex; gap: 6px; align-items: center; }
.field__err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: 12px; font-weight: 700; flex: none; }

/* Floating-label inputs */
.float input, .float textarea {
  width: 100%; min-height: 58px; padding: 24px 16px 8px; font-size: 17px; line-height: 1.3;
  background: #fff; border: 1.5px solid rgba(110, 100, 80, .2); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.float textarea { min-height: 110px; resize: vertical; padding-top: 28px; }
.float label {
  position: absolute; left: 17px; top: 18px; font-size: 17px; color: var(--ink-soft);
  pointer-events: none; transform-origin: left top;
  transition: transform .2s var(--ease-out), color .2s ease;
}
.float input:focus, .float textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(122, 139, 106, .18); }
.float input:focus + label, .float input:not(:placeholder-shown) + label,
.float textarea:focus + label, .float textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--sage-dk); font-weight: 600; }
.float.has-error input { border-color: var(--error); box-shadow: 0 0 0 4px rgba(163, 54, 31, .1); }

/* Accept / decline cards */
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; display: grid; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__body {
  display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px 10px 16px; min-height: 124px;
  background: #fff; border: 1.5px solid rgba(110, 100, 80, .18); border-radius: 18px;
  transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}
.choice__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding: 9px; background: rgba(122, 139, 106, .12); color: var(--sage-dk); transition: background-color .2s ease, color .2s ease; }
.choice__icon svg { width: 100%; height: 100%; }
.choice__title { font-weight: 600; font-size: 16.5px; text-wrap: balance; color: var(--green); line-height: 1.2; margin-top: 4px; }
.choice__sub { font-size: 14px; color: var(--ink-soft); }
.choice:hover .choice__body { border-color: rgba(122, 139, 106, .55); }
.choice input:checked + .choice__body { border-color: var(--green); background: linear-gradient(180deg, #fff, #F3F5EE); box-shadow: 0 10px 24px -14px rgba(62, 74, 54, .6); transform: translateY(-2px); }
.choice input:checked + .choice__body .choice__icon { background: var(--green); color: #F7F1E3; }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--gold-dk); outline-offset: 3px; }

/* Guests */
.guests-row { grid-template-columns: 1fr auto; align-items: center; background: #fff; border: 1.5px solid rgba(110, 100, 80, .18); border-radius: 16px; padding: 10px 10px 10px 16px; }
.guests-row__label { display: grid; font-weight: 600; font-size: 17px; color: var(--green); line-height: 1.2; }
.guests-row__hint { font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.stepper { display: grid; grid-template-columns: 44px 52px 44px; align-items: center; gap: 4px; background: rgba(122, 139, 106, .1); border-radius: 99px; padding: 4px; }
.stepper input { width: 100%; min-height: 44px; border: 0; background: transparent; text-align: center; font-size: 20px; font-weight: 600; color: var(--green); -moz-appearance: textfield; padding: 0; }
.stepper input:focus { outline: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--green); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(62, 74, 54, .15); transition: transform .15s ease, background-color .2s ease; }
.stepper__btn:hover { background: #F3F5EE; }
.stepper__btn:active { transform: scale(.9); }

/* Event chips */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip__body {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 86px; padding: 12px 10px 10px;
  background: #fff; border: 1.5px solid rgba(110, 100, 80, .18); border-radius: 14px;
  transition: border-color .2s ease, background-color .2s ease;
}
.chip__icon { width: 32px; height: 32px; color: var(--gold); }
.chip__icon svg { width: 100%; height: 100%; }
.chip__name { font-size: 16px; font-weight: 600; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip__tick { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(110, 100, 80, .3); display: grid; place-items: center; padding: 2px; color: transparent; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chip__tick svg { width: 100%; height: 100%; }
.chip input:checked + .chip__body { border-color: var(--sage); background: #F3F5EE; }
.chip input:checked + .chip__body .chip__tick { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + .chip__body { outline: 2px solid var(--gold-dk); outline-offset: 2px; }

.if-attending { display: grid; gap: 20px; }
.is-declining .if-attending { display: none; }

/* Send button */
.btn--send { position: relative; min-height: 56px; font-size: 17px; border-radius: 16px; letter-spacing: .06em; box-shadow: 0 12px 24px -12px rgba(62, 74, 54, .7); }
.btn--send .btn__arrow { transition: transform .2s var(--ease-out); }
.btn--send:hover .btn__arrow { transform: translateX(4px); }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(247, 241, 227, .35); border-top-color: #F7F1E3; animation: spin .8s linear infinite; }
.btn--send.is-loading .spinner { display: inline-block; }
.btn--send.is-loading .btn__arrow { display: none; }
.form-status { font-size: 16px; text-align: center; min-height: 1.4em; }
.form-status.is-error { color: var(--error); }

.rsvp__thanks, .rsvp__closed { max-width: 480px; margin: 26px auto 0; background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(251,247,238,.92)); border: 1px solid rgba(184,149,90,.35); border-radius: 24px; padding: 32px 22px; outline: none; box-shadow: 0 24px 60px -24px rgba(90, 72, 40, .28); }
.thanks__check { width: 72px; height: 72px; margin: 0 auto 8px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks__check circle { stroke: var(--sage); stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1.3s var(--ease-lux) forwards; }
.thanks__check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .9s var(--ease-lux) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 360px) {
  .chips, .choice-cards { grid-template-columns: 1fr; }
}

/* Closing */
.closing { text-align: center; padding: 30px 20px 250px; display: grid; justify-items: center; gap: 10px; }
.closing__toran { width: min(100%, 520px); margin-bottom: 18px; }
.closing__seal { width: 110px; }
.closing__fam { font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.closing__date { color: var(--ink-soft); letter-spacing: .2em; }

/* Music button */
.music-btn {
  position: fixed; right: 14px; top: calc(14px + env(safe-area-inset-top)); z-index: 45;
  width: 48px; height: 48px; border-radius: 50%; padding: 12px; cursor: pointer;
  background: rgba(251, 247, 238, .92); border: 1px solid var(--gold); color: var(--green);
  box-shadow: 0 6px 16px rgba(60, 50, 30, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.music-btn svg { width: 100%; height: 100%; }
.music-btn[aria-pressed="true"] { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bride & groom guides (3D-rendered artwork) */
.duo { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.char {
  --h: 176px;
  position: absolute; bottom: calc(4px + env(safe-area-inset-bottom)); height: var(--h);
  opacity: 0; transform: translateY(50%); transition: transform 1.1s var(--ease-lux), opacity .8s ease;
  will-change: transform;
}
.char--groom { left: 2px; width: calc(var(--h) * 248 / 640); }
/* bride at 5'3" against the groom's 6'0" */
.char--bride { right: 2px; height: calc(var(--h) * .875); width: calc(var(--h) * .875 * 320 / 640); }
.duo.is-on .char { opacity: 1; transform: none; }
.duo.is-on.is-away .char { opacity: 0; transform: translateY(50%); }
.char__fig { --lean: 0deg; position: absolute; inset: 0; transform-origin: 50% 100%; transform: rotate(var(--lean)); }
.char__fig::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -3px; height: 9px; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 50, 25, .26), transparent); }
.char__fig img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; display: block; -webkit-user-drag: none; user-select: none; transform-origin: 50% 100%; animation: breathe-fig 5.5s ease-in-out infinite; }
.char--bride .char__fig img { animation-delay: -2.6s; }
.char__fig.nod img { animation: nod .9s var(--ease-lux), breathe-fig 5.5s ease-in-out .9s infinite; }
@keyframes breathe-fig { 50% { transform: translateY(-1.5px) scale(1.01); } }
@keyframes nod { 30% { transform: translateY(-5px) rotate(-1.2deg); } 60% { transform: translateY(0) rotate(.6deg); } }

.bubble {
  position: absolute; z-index: 2; bottom: 100%; width: max-content; max-width: 160px;
  font-size: 14px; line-height: 1.3; color: var(--green);
  background: rgba(251, 247, 238, .58); border: 1px solid rgba(184, 149, 90, .55); border-radius: 14px; padding: 6px 11px 8px;
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 8px 22px -10px rgba(80, 60, 30, .3), inset 0 1px 0 rgba(255, 255, 255, .6);
  opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .45s ease, transform .6s var(--ease-lux);
}
.char--groom .bubble { left: 4px; border-bottom-left-radius: 4px; transform-origin: left bottom; }
.char--bride .bubble { right: 4px; border-bottom-right-radius: 4px; transform-origin: right bottom; }
.bubble__who { display: block; font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; font-size: 12.5px; color: var(--gold-dk); }
.bubble__say { display: block; font-weight: 600; transition: opacity .25s ease, transform .25s ease; }
.char.is-talking .bubble { opacity: 1; transform: none; }
.char.is-swapping .bubble__say { opacity: 0; transform: translateY(3px); }

@media (min-width: 768px) {
  .char { --h: 260px; }
  .char--groom { left: max(8px, calc(50% - 500px)); }
  .char--bride { right: max(8px, calc(50% - 500px)); }
  .bubble { font-size: 15px; max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) { .char__fig img { animation: none; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1.2s var(--ease-lux); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (min-width: 768px) {
  body { font-size: 19px; }
  .closing { padding-bottom: 120px; }
  .timeline { max-width: 760px; }
  .timeline .day { grid-template-columns: 1fr 1fr; }
  .timeline .day__head { grid-column: 1 / -1; }
  .venue-list { grid-template-columns: 1fr 1fr; max-width: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .gate.is-open { opacity: 0; transition: opacity .4s ease !important; }
}

/* ── Reply form as stationery (matches the event & venue cards) ── */
.paper {
  position: relative;
  background: linear-gradient(180deg, #FDFBF6, #FAF5EA);
  border: 1px solid rgba(184,149,90,.55);
  border-radius: 3px;
  box-shadow:
    5px 6px 0 -1px #F3ECDE, 5px 6px 0 0 rgba(184,149,90,.32),
    0 1px 2px rgba(90, 72, 40, .06), 0 16px 32px -22px rgba(90, 72, 40, .38);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: box-shadow .7s var(--ease-lux);
}
.paper::before { content: ""; position: absolute; inset: 7px; border: .5px solid rgba(184,149,90,.5); pointer-events: none; }
.paper > :not(.event__corner) { position: relative; z-index: 1; }
.rsvp__form.paper { padding: 36px 26px 28px; }
/* a soft gold glow while the guest is filling it in (no movement under the cursor) */
.rsvp__form.paper:focus-within {
  box-shadow:
    5px 6px 0 -1px #F3ECDE, 5px 6px 0 0 rgba(184,149,90,.32),
    0 0 0 1px rgba(201, 165, 90, .3), 0 0 36px -10px rgba(214, 178, 104, .4),
    0 22px 44px -26px rgba(90, 72, 40, .45);
}
.rsvp__thanks.paper, .rsvp__closed.paper { border-radius: 3px; padding: 38px 24px 32px; }

/* fields: crisp, hairline gold */
.paper .float input, .paper .float textarea { border-radius: 4px; border: 1px solid rgba(184,149,90,.45); background: #FFFEFB; }
.paper .float input:focus, .paper .float textarea:focus { border-color: var(--gold-dk); box-shadow: 0 0 0 3px rgba(184,149,90,.16); }
.paper .float.has-error input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 54, 31, .1); }
.paper .field legend { font-variant: small-caps; text-transform: lowercase; letter-spacing: .14em; font-size: 16px; color: var(--gold-dk); }

/* yes / no */
.paper .choice__body { border-radius: 4px; border: 1px solid rgba(184,149,90,.45); background: #FFFEFB; }
.paper .choice:hover .choice__body { border-color: var(--gold); }
.paper .choice input:checked + .choice__body { border-color: var(--green); background: #F4F5EE; box-shadow: inset 0 0 0 1px var(--green), 0 10px 20px -16px rgba(62, 74, 54, .6); transform: none; }
.paper .choice__icon { background: transparent; border: 1px solid rgba(184,149,90,.55); color: var(--gold-dk); }
.paper .choice input:checked + .choice__body .choice__icon { background: var(--green); border-color: var(--green); color: #F7F1E3; }

/* guests */
.paper .guests-row { border-radius: 4px; border: 1px solid rgba(184,149,90,.45); background: #FFFEFB; }
.paper .stepper { border-radius: 4px; background: transparent; gap: 2px; padding: 0; }
.paper .stepper__btn { border-radius: 3px; border: 1px solid rgba(184,149,90,.5); background: #FDFBF6; box-shadow: none; }
.paper .stepper__btn:hover { background: #F4EEDF; }

/* celebrations */
.paper .chip__body { border-radius: 4px; border: 1px solid rgba(184,149,90,.45); background: #FFFEFB; }
.paper .chip input:checked + .chip__body { border-color: var(--sage); background: #F4F5EE; }
.paper .chip__name { font-family: var(--f-script); font-weight: 400; font-size: 24px; line-height: 1.1; }

/* message + send */
.paper .btn--send {
  border-radius: 3px; min-height: 56px; letter-spacing: .14em; font-variant: small-caps; text-transform: lowercase; font-size: 18px;
  box-shadow: inset 0 0 0 4px var(--green), inset 0 0 0 5px rgba(226, 196, 130, .65), 0 14px 26px -16px rgba(62, 74, 54, .7);
}
.paper .btn--send:hover { background: #36412F; box-shadow: inset 0 0 0 4px #36412F, inset 0 0 0 5px rgba(226, 196, 130, .85), 0 16px 30px -16px rgba(62, 74, 54, .75); }

/* every celebration card the same height */
.event-wrap { display: flex; }
.event { flex: 1; display: flex; flex-direction: column; }
.event__date { align-self: center; }
.event__links { margin-top: auto; padding-top: 14px; }

/* ── Reply form: modern controls, same palette ── */
.rsvp__form.paper { gap: 26px; padding: 40px 28px 30px; }

/* minimal fields: a fine baseline + a gold line that sweeps in on focus */
.paper .float input, .paper .float textarea {
  border: 0; border-radius: 0; background: transparent; padding: 22px 2px 8px; min-height: 54px;
  border-bottom: 1px solid rgba(110, 100, 80, .32);
  background-image: linear-gradient(var(--gold-dk), var(--gold-dk));
  background-repeat: no-repeat; background-position: 50% 100%; background-size: 0 1.5px;
  transition: background-size .5s var(--ease-lux), border-color .3s ease;
}
.paper .float textarea { min-height: 84px; padding-top: 26px; resize: none; }
.paper .float input:focus, .paper .float textarea:focus { box-shadow: none; border-color: transparent; background-size: 100% 1.5px; }
.paper .float label { left: 2px; top: 20px; }
.paper .float input:focus + label, .paper .float input:not(:placeholder-shown) + label,
.paper .float textarea:focus + label, .paper .float textarea:not(:placeholder-shown) + label { transform: translateY(-14px) scale(.74); color: var(--gold-dk); }
.paper .float.has-error input { box-shadow: none; border-color: var(--error); }

/* accept / decline: a segmented switch with a sliding pill */
.paper .choice-cards {
  position: relative; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px;
  border: 1px solid rgba(184,149,90,.5); border-radius: 999px; background: #FFFEFB;
}
.paper .choice-cards::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--green); box-shadow: 0 6px 16px -8px rgba(62, 74, 54, .7);
  transition: transform .55s var(--ease-lux);
}
.paper .choice-cards:has(input[value="No"]:checked)::before { transform: translateX(100%); }
.paper .choice { z-index: 1; }
.paper .choice__body, .paper .choice input:checked + .choice__body {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px;
  border: 0; border-radius: 999px; background: transparent; box-shadow: none; transform: none;
}
.paper .choice__sub { display: none; }
.paper .choice__icon, .paper .choice input:checked + .choice__body .choice__icon {
  width: 20px; height: 20px; padding: 0; border: 0; background: transparent; color: inherit;
}
.paper .choice__title { margin: 0; font-size: 16px; color: var(--green); transition: color .35s ease; white-space: nowrap; }
.paper .choice input:checked + .choice__body .choice__title,
.paper .choice input:checked + .choice__body .choice__icon { color: #F7F1E3; }
.paper .choice input:focus-visible + .choice__body { outline: 2px solid var(--gold-dk); outline-offset: 2px; }

/* guests: a clean row */
.paper .guests-row { border: 0; border-bottom: 1px solid rgba(110, 100, 80, .2); border-radius: 0; background: transparent; padding: 4px 2px 14px; }
.paper .stepper { grid-template-columns: 44px 56px 44px; gap: 4px; }
.paper .stepper input { font-size: 26px; font-weight: 500; }
.paper .stepper__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(184,149,90,.55); background: #FFFEFB; color: var(--green);
  transition: background-color .3s ease, border-color .3s ease, transform .2s ease;
}
.paper .stepper__btn:hover { background: var(--green); border-color: var(--green); color: #F7F1E3; }

/* celebrations: toggle pills */
.paper .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.paper .chip__body, .paper .chip input:checked + .chip__body {
  display: inline-flex; flex-direction: row; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(184,149,90,.55); border-radius: 999px; background: #FFFEFB;
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.paper .chip__icon { display: none; }
.paper .chip__tick { position: static; width: 20px; height: 20px; padding: 3px; border: 1px solid rgba(184,149,90,.6); border-radius: 50%; color: transparent; }
.paper .chip__name { font-family: var(--f-serif); font-weight: 600; font-size: 16px; line-height: 1; color: var(--green); }
.paper .chip input:checked + .chip__body { background: var(--green); border-color: var(--green); }
.paper .chip input:checked + .chip__body .chip__name { color: #F7F1E3; }
.paper .chip input:checked + .chip__body .chip__tick { background: #F7F1E3; border-color: #F7F1E3; color: var(--green); }

/* send */
.paper .btn--send {
  border-radius: 999px; min-height: 56px; font-variant: normal; text-transform: none; letter-spacing: .04em; font-size: 17px;
  box-shadow: 0 14px 28px -16px rgba(62, 74, 54, .75);
}
.paper .btn--send:hover { background: #36412F; box-shadow: 0 18px 32px -16px rgba(62, 74, 54, .8); }
.paper .btn--send .btn__arrow { transition: transform .45s var(--ease-lux); }
.paper .btn--send:hover .btn__arrow { transform: translateX(6px); }
@media (max-width: 480px) {
  .paper .choice__icon { display: none; }
  .paper .choice__title { white-space: normal; text-align: center; line-height: 1.15; font-size: 15.5px; }
  .paper .choice__body, .paper .choice input:checked + .choice__body { min-height: 52px; padding: 6px 12px; }
}

/* #LittiMeetsDhokla — Bihar meets Gujarat */
.hashtag { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 30px auto 0; max-width: 380px; }
.hashtag__icon { flex: none; width: 54px; height: 45px; }
.hashtag__icon svg { width: 100%; height: 100%; }
.hashtag__tag { font-size: 25px; font-weight: 600; letter-spacing: .01em; color: var(--green); line-height: 1.15; }
.hashtag__line { font-style: italic; font-size: 15px; color: var(--ink-soft); margin-top: 2px; }
.closing__share { font-size: 16px; color: var(--ink-soft); }
.closing__share strong { color: var(--green); font-weight: 600; }
@media (max-width: 380px) { .hashtag { gap: 8px; } .hashtag__icon { width: 44px; height: 37px; } .hashtag__tag { font-size: 22px; } }

/* Evening guests (/celebrate): name, phone and yes/no only */
.is-evening .if-attending, .is-evening .float--area, .is-evening .event__num { display: none; }
.is-evening .timeline .day, .is-evening .venue-list { grid-template-columns: minmax(0, 420px); justify-content: center; }
.is-evening .day__head { grid-column: 1 / -1; }

/* Hashtag: icons flank the tag; the line sits underneath on one line (fits narrow phones) */
.hashtag { display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; column-gap: 12px; row-gap: 4px; max-width: none; }
.hashtag__text { display: contents; }
.hashtag__icon { grid-row: 1; width: 48px; height: 40px; }
.hashtag__tag { grid-row: 1; grid-column: 2; }
.hashtag__line { grid-row: 2; grid-column: 1 / -1; white-space: nowrap; font-size: min(15px, 4.2vw); }
