/* ═════════════════════════════════════════════════════════════════════════
   Baby Long — gender reveal
   Mobile first. Breakpoints at 700px (tablet) and 1000px (desktop).

   Readability rules this file sticks to:
   · body text never below 16px, supporting text never below 12px
   · every text colour clears 4.5:1 on the surface it sits on
   · one type scale, one spacing scale, no one-off sizes
   ═════════════════════════════════════════════════════════════════════════ */

:root {
  /* pink */
  --p-50:  #FFF6F9;
  --p-100: #FDE7EE;
  --p-200: #F9CBDB;
  --p-300: #F2A8C1;
  --p-500: #DD5F82;
  --p-600: #C94A6E;
  --p-700: #A63E5C;
  --p-900: #6E2A42;

  /* blue */
  --b-50:  #F4F9FF;
  --b-100: #E3EFFB;
  --b-200: #C6DDF4;
  --b-300: #9CC3E8;
  --b-500: #4E88C4;
  --b-600: #3D71A8;
  --b-700: #2F5C8C;
  --b-900: #1F4265;

  /* ink — all AA or better on cream */
  --cream:  #FBF7F4;
  --paper:  #FFFFFF;
  --ink:    #241F28;   /* 14.9:1 */
  --ink-2:  #4A424F;   /* 8.7:1  */
  --muted:  #6B6272;   /* 5.6:1  */
  --faint:  #97909C;   /* 3.2:1 — decoration only, never text you must read */
  --line:   #EFE3E9;
  --line-2: #E3D8E0;

  /* type scale */
  --t-xs:  0.75rem;    /* 12px  labels */
  --t-sm:  0.875rem;   /* 14px  small print */
  --t-md:  1rem;       /* 16px  ui */
  --t-lg:  1.0625rem;  /* 17px  body */
  --t-xl:  1.1875rem;  /* 19px  lead */

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --script: 'Parisienne', 'Cormorant Garamond', cursive;

  --shadow-sm: 0 6px 18px -12px rgba(60, 34, 52, .3);
  --shadow:    0 20px 44px -26px rgba(60, 34, 52, .4);
  --shadow-lg: 0 34px 70px -34px rgba(60, 34, 52, .45);

  --radius:    20px;
  --radius-sm: 14px;

  --bar-h: 60px;
  --tap:   48px;       /* minimum comfortable tap target */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--t-lg);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .004em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 500; color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--p-700); text-underline-offset: 3px; }

button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--p-300);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--paper); padding: .9rem 1.3rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

.script { font-family: var(--script); font-weight: 400; }
.center { text-align: center; }
.muted  { color: var(--muted); }

/* ── Topbar ────────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 244, .9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -22px rgba(60, 34, 52, .5);
}

.topbar__inner {
  max-width: 1160px;
  margin: 0 auto;
  min-height: var(--bar-h);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem 0;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark { font-size: 1.2rem; }

.brand__text {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .015em;
}

.nav-desktop { display: none; }

.menu-toggle {
  width: var(--tap); height: var(--tap);
  margin-right: -.6rem;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle__bars { display: block; width: 23px; }

.menu-toggle__bars i {
  display: block;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}

.menu-toggle__bars i + i { margin-top: 5.5px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Full-screen menu ──────────────────────────────────────────────────── */

.menu {
  position: fixed;
  inset: var(--bar-h) 0 0;
  z-index: 55;
  background:
    radial-gradient(circle at 15% 12%, var(--p-100), transparent 55%),
    radial-gradient(circle at 85% 88%, var(--b-100), transparent 55%),
    var(--cream);
  display: grid;
  place-items: center;
  overflow-y: auto;
  animation: menuIn .26s ease both;
}

.menu[hidden] { display: none; }

@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

.menu__inner {
  width: 100%;
  padding: 1.5rem 2rem 3rem;
  text-align: center;
}

.menu__inner a {
  display: block;
  padding: .55rem 0;
  min-height: var(--tap);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 7.5vw, 2.1rem);
  color: var(--ink);
  text-decoration: none;
}

.menu__inner a.is-current { color: var(--p-700); font-style: italic; }

.menu__date {
  margin: 1.6rem 0 0;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: .9rem 1.9rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn + .btn { margin-top: .7rem; }

.btn--solid {
  background: linear-gradient(115deg, var(--p-500), var(--b-500));
  background-size: 180% 100%;
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--solid:hover { background-position: 100% 0; transform: translateY(-2px); }

.btn--outline {
  border-color: var(--p-200);
  background: var(--paper);
  color: var(--p-700);
}

.btn--outline:hover { border-color: var(--p-500); transform: translateY(-2px); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .16);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .3); transform: translateY(-2px); }

.btn--sm { min-height: 42px; padding: .6rem 1.2rem; font-size: 11px; letter-spacing: .12em; }
.btn--wide { display: flex; width: 100%; }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(100svh - var(--bar-h));
  display: grid;
  place-items: center;
  padding: 3rem 1.35rem 4.5rem;
  text-align: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: 50% 45%;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.12) translateY(-10px); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* The photos carry their own lettering, so the scrim has to be strong
     enough that the headline always wins. */
  background:
    radial-gradient(ellipse 90% 70% at 50% 48%, rgba(18, 12, 22, .76), rgba(18, 12, 22, .52) 70%, transparent),
    linear-gradient(180deg, rgba(18, 12, 22, .64) 0%, rgba(18, 12, 22, .44) 45%, rgba(18, 12, 22, .8) 100%),
    linear-gradient(115deg, rgba(221, 95, 130, .28), rgba(78, 136, 196, .28));
}

.hero__inner {
  max-width: 46rem;
  animation: riseIn 1s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } }

.hero__title {
  margin: .5rem 0 1.1rem;
  color: #fff;
  font-size: clamp(2.55rem, 12.5vw, 5.3rem);
  font-weight: 300;
  line-height: 1.02;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .3);
}

.hero__title span { display: block; }

.hero__title .script {
  font-size: 1.3em;
  line-height: .95;
  color: var(--p-200);
  margin: .03em 0;
}

.hero__date {
  margin: 0 0 1.6rem;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .95);
}

.hero__actions { margin-top: 2rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 42px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}

.hero__scroll span {
  display: block;
  width: 100%; height: 16px;
  background: #fff;
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%   { transform: translateY(-18px); }
  60%  { transform: translateY(42px); }
  100% { transform: translateY(42px); }
}

/* ── The announcement ──────────────────────────────────────────────────── */

.announce {
  position: relative;
  min-height: calc(100svh - var(--bar-h));
  display: grid;
  place-items: center;
  padding: 3.5rem 1.35rem 4.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.announce--girl { background: linear-gradient(165deg, #F7B6CD 0%, var(--p-500) 55%, var(--p-900) 100%); }
.announce--boy  { background: linear-gradient(165deg, #A8CDEC 0%, var(--b-500) 55%, var(--b-900) 100%); }

.announce::before {
  /* a soft light behind the words */
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, .4), transparent 62%);
  pointer-events: none;
}

.announce__inner {
  position: relative;
  max-width: 46rem;
  animation: riseIn 1.1s cubic-bezier(.22, 1, .36, 1) both;
}

.announce__eyebrow {
  margin: 0 0 1rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

.announce__title { margin: 0; color: #fff; }

.announce__its {
  display: block;
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  font-style: italic;
  color: rgba(255, 255, 255, .92);
}

.announce__word {
  display: block;
  margin-top: -.05em;
  font-size: clamp(4rem, 22vw, 9.5rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .22);
  animation: popIn 1s cubic-bezier(.2, 1.5, .4, 1) .25s both;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(.82); }
  to   { opacity: 1; transform: scale(1); }
}

.announce__name {
  margin: 2rem auto 0;
  padding: 1.4rem 1.6rem;
  max-width: 30rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(8px);
}

.announce__namelead {
  margin: 0;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

.announce__nametext {
  margin: .3rem 0 0;
  color: #fff;
  font-size: clamp(2.1rem, 10vw, 3.4rem);
  line-height: 1.15;
}

.announce__message {
  max-width: 32rem;
  margin: 1.6rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4.4vw, 1.4rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .96);
}

.announce__tally {
  margin: 1.4rem 0 0;
  font-size: var(--t-md);
  color: rgba(255, 255, 255, .9);
}

.announce__tally strong { color: #fff; font-size: 1.3em; font-family: var(--serif); }

.announce__actions { margin-top: 2.2rem; }

.announce__actions .btn--solid {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .6);
}

.announce__actions .btn--solid:hover { background: #fff; }

.winners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.winners li {
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: var(--t-md);
  box-shadow: var(--shadow-sm);
}

/* ── Weather ───────────────────────────────────────────────────────────── */

.weather {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--b-50), var(--p-50));
  border: 1px solid var(--b-100);
}

.weather__icon { font-size: 2.6rem; line-height: 1; }
.weather__body { text-align: left; }

.weather__label {
  margin: 0 0 .15rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.weather__main { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.weather__main strong { font-weight: 500; }
.weather__min { color: var(--muted); font-size: .85em; }
.weather__rain { margin: .1rem 0 0; font-size: var(--t-sm); color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq { max-width: 42rem; margin: 0 auto; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  margin-bottom: .6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--tap);
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--p-50); }

.faq__chev {
  flex: 0 0 auto;
  color: var(--p-500);
  font-size: 1.1rem;
  transition: transform .25s ease;
}

.faq__item[open] .faq__chev { transform: rotate(45deg); }

.faq__answer {
  padding: 0 1.2rem 1.2rem;
  font-size: var(--t-md);
  line-height: 1.75;
  color: var(--ink-2);
}

/* ── Page header (inner pages) ─────────────────────────────────────────── */

.pagehead {
  position: relative;
  padding: 4.2rem 1.35rem 3.6rem;
  text-align: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.pagehead::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--pagehead-img);
  background-size: cover;
  background-position: 50% 45%;
}

.pagehead::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 12, 22, .72), rgba(18, 12, 22, .6)),
    linear-gradient(115deg, rgba(221, 95, 130, .24), rgba(78, 136, 196, .24));
}

.pagehead__title {
  margin: .4rem 0 .55rem;
  color: #fff;
  font-size: clamp(2.15rem, 9.5vw, 3.6rem);
  font-weight: 300;
}

.pagehead__sub {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  color: rgba(255, 255, 255, .96);
}

/* ── Type helpers ──────────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 .75rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--light { color: rgba(255, 255, 255, .92); }

.section__title {
  font-size: clamp(1.9rem, 7.5vw, 2.7rem);
  font-weight: 300;
  text-align: center;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  max-width: 220px;
  margin: 1rem auto 1.8rem;
  font-size: .95rem;
}

.rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--p-200), transparent);
}

.lead {
  max-width: 36rem;      /* ~62 characters */
  margin: 0 auto 1.8rem;
  text-align: center;
  color: var(--ink-2);
  font-size: var(--t-xl);
  line-height: 1.8;
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.section { padding: 3.6rem 1.35rem; }

.section > * {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

.section--tight { padding-top: 0; }

.section--pink {
  background: linear-gradient(180deg, var(--p-50), #fff);
  border-top: 1px solid var(--p-100);
  border-bottom: 1px solid var(--p-100);
}

.section--blue {
  background: linear-gradient(180deg, var(--b-50), #fff);
  border-top: 1px solid var(--b-100);
  border-bottom: 1px solid var(--b-100);
}

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }

/* ── Band ──────────────────────────────────────────────────────────────── */

.band {
  padding: 2.2rem 1.35rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(105deg, var(--p-500), var(--b-500));
}

.band p {
  max-width: 40rem;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 5.2vw, 2rem);
  line-height: 1.32;
}

/* ── Countdown ─────────────────────────────────────────────────────────── */

.countdown {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.countdown__unit {
  flex: 1 1 0;
  max-width: 92px;
  padding: .85rem .3rem .75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(8px);
}

.countdown__unit span {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.countdown__unit small {
  display: block;
  margin-top: .35rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

.countdown--dark {
  max-width: 440px;
  margin: 0 auto;
}

.countdown--dark .countdown__unit {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.countdown--dark .countdown__unit span { color: var(--ink); }
.countdown--dark .countdown__unit small { color: var(--muted); }

.countdown.is-here {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: inherit;
}

/* ── Parents / the hint ────────────────────────────────────────────────── */

.parents {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.2rem 1.6rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.parents__label {
  margin: 0 0 .8rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.parents__names {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 5.6vw, 1.95rem);
}

.parents__names span { color: var(--p-300); font-style: italic; }

.parents__hint {
  margin: .85rem 0 0;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  color: var(--p-700);
}

/* ── Facts grid ────────────────────────────────────────────────────────── */

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}

.fact {
  display: block;
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.fact:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--p-200); }

.fact__icon { font-size: 1.5rem; }

.fact__label {
  display: block;
  margin: .55rem 0 .3rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact__value {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
}

.fact__more {
  display: block;
  margin-top: .8rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--p-600);
}

/* ── Info cards ────────────────────────────────────────────────────────── */

.infocards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.infocard {
  padding: 2.1rem 1.5rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.infocard__icon { font-size: 1.7rem; }

.infocard h2 { margin: .55rem 0 .65rem; font-size: 1.55rem; }

.infocard p { font-size: var(--t-md); }

/* after .infocard p, so the headline size actually wins */
.infocard p.infocard__big {
  color: var(--p-700);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
  margin-bottom: .5rem;
}
.infocard .btn { margin-top: .3rem; }

.note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--b-50);
  border: 1px solid var(--b-100);
  font-size: var(--t-md);
}

.note span { font-size: 1.3rem; line-height: 1.3; }

/* ── Timeline ──────────────────────────────────────────────────────────── */

.timeline {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: '';
  position: absolute;
  left: 17px; top: 38px; bottom: 4px;
  width: 1px;
  background: var(--p-200);
}

.timeline li:last-child::before { display: none; }

.timeline__dot {
  flex: 0 0 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-300), var(--b-300));
  color: #fff;
  font-family: var(--serif);
  font-size: .95rem;
}

.timeline p { margin: .3rem 0 0; text-align: left; }

/* ── Dress code ────────────────────────────────────────────────────────── */

.dress { display: grid; gap: 1rem; }

.dress__side {
  padding: 2.1rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.dress__side--pink { border: 1px solid var(--p-200); }
.dress__side--blue { border: 1px solid var(--b-200); }

.dress__swatch {
  width: 78px; height: 78px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  box-shadow: inset 0 -8px 20px rgba(0, 0, 0, .07);
}

.dress__side--pink .dress__swatch { background: linear-gradient(145deg, var(--p-200), var(--p-500)); }
.dress__side--blue .dress__swatch { background: linear-gradient(145deg, var(--b-200), var(--b-500)); }

.dress__side h2 { font-size: 1.8rem; }
.dress__side--pink h2 { color: var(--p-700); }
.dress__side--blue h2 { color: var(--b-700); }

.dress__call { margin: .35rem 0 1.1rem; font-size: var(--t-md); }

.dress__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-sm);
  color: var(--muted);
  text-align: left;
}

.dress__list li { padding: .5rem 0 .5rem 1.4rem; border-top: 1px dashed var(--line); position: relative; }
.dress__list li:first-child { border-top: 0; }
.dress__list li::before { content: '·'; position: absolute; left: .4rem; font-size: 1.2rem; line-height: 1.2; color: var(--p-300); }

.dress__vs { display: grid; place-items: center; }
.dress__vs span { font-family: var(--script); font-size: 1.8rem; color: var(--muted); }

/* ── Team vote + tally ─────────────────────────────────────────────────── */

.teamvote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  max-width: 34rem;
  margin: 0 auto 1.8rem;
}

.teambtn {
  padding: 1.3rem .7rem;
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, background .25s ease, border-color .25s ease;
}

.teambtn--pink { border: 2px solid var(--p-200); }
.teambtn--blue { border: 2px solid var(--b-200); }

.teambtn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.teambtn__emoji { display: block; font-size: 1.8rem; }

.teambtn__label {
  display: block;
  margin-top: .5rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.teambtn__count {
  display: block;
  margin-top: .45rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.teambtn--pink .teambtn__count { color: var(--p-700); }
.teambtn--blue .teambtn__count { color: var(--b-700); }

.teambtn.is-mine { color: #fff; }
.teambtn--pink.is-mine { background: linear-gradient(150deg, var(--p-500), var(--p-700)); border-color: var(--p-700); }
.teambtn--blue.is-mine { background: linear-gradient(150deg, var(--b-500), var(--b-700)); border-color: var(--b-700); }
.teambtn.is-mine .teambtn__label,
.teambtn.is-mine .teambtn__count { color: #fff; }

.tally { max-width: 34rem; margin: 0 auto; }

.tally__bar {
  display: flex;
  height: 15px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--line);
}

.tally__fill { transition: width .55s cubic-bezier(.22, 1, .36, 1); }
.tally__fill--pink { background: linear-gradient(90deg, var(--p-200), var(--p-500)); }
.tally__fill--blue { background: linear-gradient(90deg, var(--b-500), var(--b-200)); }

.tally__caption {
  margin: .85rem 0 0;
  text-align: center;
  font-size: var(--t-sm);
  color: var(--muted);
}

/* ── Split (image + words) ─────────────────────────────────────────────── */

.split { display: grid; gap: 1.6rem; }

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.split__title { margin: 0 0 .85rem; font-size: clamp(1.8rem, 7vw, 2.5rem); }
.split__body .btn { margin-top: .6rem; }

/* ── Name plates ───────────────────────────────────────────────────────── */

.nameplate {
  max-width: 36rem;
  margin: 0 auto 1.15rem;
  padding: 2.4rem 1.6rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nameplate--pink { border: 1px solid var(--p-200); background: linear-gradient(180deg, #fff, var(--p-50)); }
.nameplate--blue { border: 1px solid var(--b-200); background: linear-gradient(180deg, #fff, var(--b-50)); }

.nameplate__kicker {
  margin: 0 0 .85rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.nameplate__lead {
  margin: 0 0 .35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-2);
}

.nameplate__name { margin: 0; font-size: clamp(2.4rem, 12vw, 3.9rem); line-height: 1.1; }

.nameplate--pink .nameplate__name { color: var(--p-900); }
.nameplate--blue .nameplate__name { color: var(--b-900); }

.nameplate__note { margin: .9rem 0 0; font-size: var(--t-sm); color: var(--muted); }

/* ── Name board ────────────────────────────────────────────────────────── */

.board { display: grid; gap: 1rem; margin-top: 1.8rem; }

.board__col {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.board__col--pink { border: 1px solid var(--p-200); }
.board__col--blue { border: 1px solid var(--b-200); }

.board__col h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .9rem;
  font-size: 1.45rem;
}

.board__col--pink h3 { color: var(--p-700); }
.board__col--blue h3 { color: var(--b-700); }

.board__pill {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: 999px;
  background: var(--p-50);
  color: var(--muted);
}

.board__col--blue .board__pill { background: var(--b-50); }

.board__list { margin: 0; padding: 0; list-style: none; }
.board__list li { border-top: 1px dashed var(--line); }
.board__list li:first-child { border-top: 0; }

.namebtn {
  width: 100%;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .5rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-size: var(--t-md);
  color: var(--ink);
  cursor: pointer;
  transition: background .16s ease;
}

.namebtn:hover { background: var(--p-50); }
.board__col--blue .namebtn:hover { background: var(--b-50); }

.namebtn__name { flex: 1; }
.namebtn__by { display: block; font-size: var(--t-xs); color: var(--muted); }

.votecount {
  flex: 0 0 auto;
  min-width: 50px;
  text-align: right;
  font-size: var(--t-sm);
  color: var(--muted);
  font-variant-numeric: lining-nums;
}

.namebtn.is-mine .votecount { color: var(--p-600); font-weight: 500; }
.board__col--blue .namebtn.is-mine .votecount { color: var(--b-600); }

.board__empty { margin: .5rem 0 0; font-size: var(--t-sm); font-style: italic; color: var(--muted); }
.board__empty.is-hidden { display: none; }

/* ── Cards & forms ─────────────────────────────────────────────────────── */

.card {
  padding: 1.6rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.form { max-width: 40rem; margin: 0 auto 1.6rem; text-align: left; }
.form--narrow { max-width: 34rem; }

.form__row { display: grid; gap: .95rem; }

.field { display: block; margin-bottom: .95rem; }

.field > span {
  display: block;
  margin-bottom: .45rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field em { font-style: normal; letter-spacing: .02em; text-transform: none; font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--tap);
  padding: .8rem .95rem;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;      /* stops iOS zooming on focus */
  font-weight: 400;
  line-height: 1.5;
}

.field textarea { resize: vertical; min-height: 6rem; }

.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--p-200);
  outline-offset: 1px;
  border-color: var(--p-300);
  background: #fff;
}

.form__meta { margin: .85rem 0 0; font-size: var(--t-sm); color: var(--muted); text-align: center; }

.form__msg {
  margin: .8rem 0 0;
  min-height: 1.4em;
  text-align: center;
  font-size: var(--t-md);
  color: var(--p-700);
}

.form__msg.is-error { color: #A32F22; }

/* Radio choice cards */
.choice { margin: 0 0 1.3rem; padding: 0; border: 0; }

.choice legend {
  padding: 0;
  margin-bottom: .6rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.choice__options { display: grid; gap: .6rem; }

.choice__opt { position: relative; display: block; cursor: pointer; }

.choice__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.choice__box {
  display: block;
  padding: .95rem 1.1rem;
  border: 2px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.choice__box strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
}

.choice__box em { font-style: normal; font-size: var(--t-sm); color: var(--muted); }

.choice__opt input:checked + .choice__box {
  border-color: var(--p-500);
  background: var(--p-50);
  transform: translateY(-1px);
}

.choice__opt input:focus-visible + .choice__box { outline: 3px solid var(--p-300); outline-offset: 2px; }

.choice__opt input:checked + .choice__box--pink { border-color: var(--p-500); background: var(--p-100); }
.choice__opt input:checked + .choice__box--blue { border-color: var(--b-500); background: var(--b-100); }

.is-hidden { display: none !important; }

/* Thank-you panel */
.thanks {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.6rem 1.6rem;
  text-align: center;
  border: 1px solid var(--p-200);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--p-50));
  box-shadow: var(--shadow);
  animation: riseIn .6s ease both;
}

.thanks__mark { font-size: 2.6rem; margin: 0; }
.thanks__title { margin: .45rem 0 .7rem; font-size: 2.1rem; }
.thanks__body { font-size: var(--t-lg); }
.thanks .btn { margin-top: 1rem; }

/* ── Guesses ───────────────────────────────────────────────────────────── */

.guesses { max-width: 40rem; margin: 2rem auto 0; }
.guesses__title { text-align: center; font-size: 1.4rem; margin-bottom: .9rem; }
.guesses__list { margin: 0; padding: 0; list-style: none; }

.guesses__list li {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .8rem;
  align-items: baseline;
  padding: .8rem .2rem;
  border-top: 1px dashed var(--line);
  font-size: var(--t-md);
}

.guesses__list li:first-child { border-top: 0; }
.guesses__list strong { font-weight: 500; }
.guesses__list .g-meta { color: var(--muted); font-size: var(--t-sm); }

/* ── Wishes ────────────────────────────────────────────────────────────── */

.wishes { display: grid; gap: 1rem; }

.wish {
  margin: 0;
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.wish::before {
  content: '“';
  position: absolute;
  top: .2rem; left: .85rem;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--p-200);
}

.wish p {
  margin: 0 0 .8rem;
  padding-left: 1.15rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.6;
}

.wish cite {
  display: block;
  padding-left: 1.15rem;
  font-style: normal;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Videos ────────────────────────────────────────────────────────────── */

.videos { display: grid; gap: 2rem; }
.video { margin: 0; }

.video__frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video__player {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.video figcaption { padding: 1rem .2rem 0; text-align: center; }
.video figcaption h2 { font-size: 1.5rem; }
.video figcaption p { margin: .35rem 0 0; font-size: var(--t-md); color: var(--muted); }

.waiting { text-align: center; }
.waiting__mark { font-size: 2.8rem; margin: 0; }
.waiting__title { margin: .35rem 0 1.1rem; font-size: clamp(1.7rem, 7vw, 2.3rem); }

/* ── The photo wall ────────────────────────────────────────────────────── */

.uploader { margin-bottom: 2rem; }

.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 2.2rem 1.2rem;
  margin-bottom: 1.1rem;
  text-align: center;
  border: 2px dashed var(--p-200);
  border-radius: var(--radius);
  background: var(--p-50);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.drop:hover, .drop.is-over { border-color: var(--p-500); background: var(--p-100); transform: translateY(-2px); }

.drop__input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop__icon { font-size: 2rem; }

.drop__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
}

.drop__hint { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }

.queue { margin: 0 0 1.1rem; padding: 0; list-style: none; display: grid; gap: .5rem; }

.queue__item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .5rem .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.queue__thumb {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--p-100);
}

.queue__thumb--video { display: grid; place-items: center; font-size: 1.2rem; }

.queue__meta { flex: 1; min-width: 0; line-height: 1.35; }
.queue__meta strong { display: block; font-size: var(--t-sm); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue__meta small { font-size: var(--t-xs); color: var(--muted); }

.queue__remove {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.queue__remove:hover { background: var(--p-100); color: var(--p-700); }

.progress { margin-bottom: 1rem; }

.progress__bar {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--p-500), var(--b-500));
  transition: width .2s ease;
}

.progress__text { margin: .5rem 0 0; text-align: center; font-size: var(--t-sm); color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}

.tile { margin: 0; }

.tile__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--p-100);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.tile__btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.tile__btn:hover img { transform: scale(1.06); }

.tile__placeholder { display: grid; place-items: center; height: 100%; font-size: 2rem; }

.tile__play {
  position: absolute;
  right: .5rem; bottom: .5rem;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(20, 14, 24, .62);
  color: #fff;
  font-size: .7rem;
  padding-left: 2px;
}

.tile figcaption { padding: .5rem .2rem 0; line-height: 1.45; }
.tile__caption { display: block; font-size: var(--t-sm); color: var(--ink-2); }
.tile__by { display: block; font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 3.5rem 1rem 2rem;
  background: rgba(16, 11, 19, .93);
  backdrop-filter: blur(6px);
  animation: fadeIn .2s ease both;
}

.lightbox[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } }

.lightbox__stage { display: grid; place-items: center; max-width: 100%; max-height: 100%; }

.lightbox__media {
  max-width: min(100%, 1100px);
  max-height: 78svh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  margin: 1rem 0 0;
  max-width: 40rem;
  text-align: center;
  color: rgba(255, 255, 255, .92);
  font-size: var(--t-md);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--tap); height: var(--tap);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .3); }

.lightbox__close { top: .9rem; right: .9rem; font-size: 1.7rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: .6rem; }
.lightbox__nav--next { right: .6rem; }

/* ── Sticky bottom bar (mobile) ────────────────────────────────────────── */

.stickybar {
  position: fixed;
  left: .7rem; right: .7rem;
  bottom: calc(.7rem + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .5rem .55rem .5rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transform: translateY(150%);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.stickybar.is-in { transform: none; }

.stickybar__text { font-size: var(--t-sm); color: var(--ink-2); }
.stickybar__text strong { font-family: var(--serif); font-size: 1.15rem; color: var(--p-700); }

.stickybar .btn { margin: 0; }

/* ── Footer ────────────────────────────────────────────────────────────── */

.footer {
  padding: 3.4rem 1.35rem calc(5.5rem + env(safe-area-inset-bottom));
  text-align: center;
  background: linear-gradient(160deg, var(--p-100), var(--b-100));
}

.footer__inner { max-width: 40rem; margin: 0 auto; }

.footer__script {
  margin: 0 0 .5rem;
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
}

.footer__names {
  margin: 0 0 1.7rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem 1rem;
  margin-bottom: 1.2rem;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
}

.footer__nav a:hover { color: var(--p-700); text-decoration: underline; }

.footer__ring { margin: 0; }

.ring {
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: .45;
  padding: .5rem;
  transition: opacity .2s ease, transform .2s ease;
}

.ring:hover { opacity: 1; transform: scale(1.15); }

.footer__secret {
  max-width: 26rem;
  margin: .6rem auto 0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .82);
  color: var(--p-900);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  animation: riseIn .5s ease both;
}

.footer__fine {
  margin: 1.5rem 0 0;
  font-size: var(--t-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(36, 31, 40, .55);
}

/* ── Coming soon page ──────────────────────────────────────────────────── */

.soon-body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(circle at 14% 16%, var(--p-100), transparent 58%),
    radial-gradient(circle at 86% 84%, var(--b-100), transparent 58%),
    var(--cream);
}

.soon { max-width: 30rem; }

.soon__eyebrow {
  margin: 0 0 1.3rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}

.soon__title { font-size: clamp(2.9rem, 16vw, 5rem); font-weight: 300; line-height: .95; }
.soon__title span { display: block; }
.soon__title .script { font-size: 1.25em; color: var(--p-500); margin-top: .05em; }

.soon__note {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 4.6vw, 1.5rem);
}

.soon__sub { margin: 0; font-size: var(--t-md); line-height: 2; color: var(--muted); }

.soon__footer {
  margin-top: 3rem;
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(36, 31, 40, .45);
}

/* ── Confetti canvas ───────────────────────────────────────────────────── */

#confetti {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 90;
}

/* ═════════════════════════════════════════════════════════════════════════
   Tablet
   ═════════════════════════════════════════════════════════════════════════ */

@media (min-width: 700px) {
  .section { padding: 4.8rem 2rem; }

  .facts { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .infocards { grid-template-columns: repeat(3, 1fr); }

  .form__row { grid-template-columns: 1fr 1fr; align-items: start; }
  .choice__options { grid-template-columns: 1fr 1fr; }
  .choice--team .choice__options { grid-template-columns: repeat(3, 1fr); }

  .dress { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .dress__vs span { font-size: 2.1rem; }

  .board { grid-template-columns: 1fr 1fr; }
  .wishes { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; }

  .btn + .btn { margin-top: 0; margin-left: .7rem; }

  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 2.6rem; }
  .split--flip .split__media { order: 2; }
  .split__media img { aspect-ratio: 3 / 4; }

  .countdown { gap: .8rem; }
}

/* ═════════════════════════════════════════════════════════════════════════
   Desktop
   ═════════════════════════════════════════════════════════════════════════ */

@media (min-width: 1000px) {
  :root { --bar-h: 74px; }

  .brand__text { font-size: 1.35rem; }

  .section { padding: 5.8rem 2rem; }

  .facts { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(4, 1fr); }

  .stickybar { left: auto; right: 1.5rem; bottom: 1.5rem; padding-left: 1.4rem; }

  .footer { padding-bottom: 3.5rem; }

  .hero__actions .btn { min-width: 200px; }

  .lightbox__nav--prev { left: 1.5rem; }
  .lightbox__nav--next { right: 1.5rem; }
}

/* The full nav needs more room than the layout does — eight links plus a
   button don't fit until about 1180px, so the menu stays until then. */
@media (min-width: 1180px) {
  .menu-toggle { display: none; }

  .nav-desktop { display: flex; align-items: center; gap: 1.35rem; }

  .nav-desktop a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: var(--t-xs);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-2);
    text-decoration: none;
  }

  .nav-desktop a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 1.5px;
    background: var(--p-500);
    transform: scaleX(0);
    transition: transform .25s ease;
  }

  .nav-desktop a:hover::after,
  .nav-desktop a.is-current::after { transform: scaleX(1); }

  .nav-desktop a.is-current { color: var(--p-700); }
  .nav-desktop .btn::after { display: none; }
  .nav-desktop .btn { color: #fff; }
}

/* ═════════════════════════════════════════════════════════════════════════
   Motion / print
   ═════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .menu, .stickybar, #confetti, .btn, .uploader, .lightbox { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
