/* ═══════════════════════════════════════════════
   VERO RUN 3.3K — design system
   Light editorial-athletic · ink + intense pink
   ═══════════════════════════════════════════════ */

:root {
  --paper: #fafaf8;
  --paper-soft: #f2f1ed;
  --ink: #0b0b0c;
  --ink-60: rgba(11, 11, 12, 0.6);
  --ink-40: rgba(11, 11, 12, 0.4);
  --pink: #f5237b;
  --pink-deep: #d90f63;
  --pink-soft: #ffe3ef;
  --ease-lux: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.4, 1);
  --radius-xl: 2rem;
  --shell-pad: 0.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: #fff; }

em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; }

/* ── Film grain ─────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Reveal on scroll ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(3.5rem);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-lux) var(--d, 0s),
    transform 0.9s var(--ease-lux) var(--d, 0s),
    filter 0.9s var(--ease-lux) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ── Eyebrow ────────────────────────────────── */
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 11, 12, 0.12);
  background: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  border-radius: 999px;
  border: none; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  text-decoration: none;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-lux), background 0.5s var(--ease-lux);
}
.btn:active { transform: scale(0.97); }

.btn__orb {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  transition: transform 0.5s var(--ease-spring), background 0.5s var(--ease-lux);
}
.btn:hover .btn__orb { transform: translate(3px, -2px) scale(1.08); }

.btn--primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 20px 40px -18px rgba(11, 11, 12, 0.45);
}
.btn--primary:hover { background: #1c1c1f; box-shadow: 0 26px 50px -18px rgba(245, 35, 123, 0.4); }

.btn--nav {
  background: var(--pink); color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  box-shadow: 0 12px 28px -12px rgba(245, 35, 123, 0.55);
}
.btn--nav .btn__orb { width: 1.9rem; height: 1.9rem; }
.btn--nav:hover { background: var(--pink-deep); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(11, 11, 12, 0.15);
  padding: 0.85rem 1.5rem;
}
.btn--ghost:hover { border-color: var(--pink); color: var(--pink-deep); }

.btn--light {
  background: #fff; color: var(--ink);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
}
.btn__orb--dark { background: rgba(11, 11, 12, 0.08); }

/* ── Nav ────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: center;
  padding-top: 1.25rem;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(250, 250, 248, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(11, 11, 12, 0.08);
  box-shadow: 0 10px 40px -12px rgba(11, 11, 12, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.6s var(--ease-lux), transform 0.6s var(--ease-lux);
}

.nav__logo {
  display: flex; align-items: center;
  text-decoration: none; color: var(--ink);
}
.nav__logo-mark {
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border-radius: 0.7rem;
  background: var(--pink); color: #fff;
  font-weight: 800; font-size: 0.85rem;
  font-stretch: 110%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
  transform: rotate(-4deg);
}

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  min-height: max(100dvh, 54rem);
  display: grid;
  place-items: center;
  padding: 7.25rem 1.5rem 2.5rem;
  background: #06335c;
  color: #fff;
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 34, 0.92) 0%, rgba(3, 18, 34, 0.82) 27%, rgba(3, 18, 34, 0.34) 54%, rgba(3, 18, 34, 0.04) 78%),
    linear-gradient(0deg, rgba(3, 18, 34, 0.42), transparent 42%),
    radial-gradient(52rem 32rem at 88% 12%, rgba(245, 35, 123, 0.18), transparent 62%);
}
.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.hero__bib {
  position: absolute;
  z-index: 1;
  left: -4vw; bottom: -14vw;
  font-size: clamp(24rem, 46vw, 46rem);
  font-weight: 900; font-stretch: 62%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.09);
  user-select: none;
  pointer-events: none;
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: 88rem;
  min-width: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 46rem);
  min-width: 0;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(3, 18, 34, 0.24);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__title {
  margin: 1.3rem 0 1.1rem;
  font-size: clamp(5rem, 9.4vw, 9.4rem);
  line-height: 0.79;
  font-weight: 900;
  font-stretch: 115%;
  letter-spacing: -0.035em;
}
.hero__line { display: block; }
.hero__line--name {
  font-size: 0.64em;
  line-height: 0.95;
}
.hero__line--accent {
  color: var(--pink);
  font-family: "Instrument Serif", serif;
  font-size: 0.94em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.82;
}
.hero__line--birthday {
  font-size: 0.72em;
  font-stretch: 100%;
  line-height: 0.95;
}

.hero__sub {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.hero__sub em { color: #fff; font-size: 1.1em; }

.hero__meta {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.4rem);
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 0.2rem; font-weight: 600; font-size: 0.95rem; }
.hero__meta-label {
  font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase;
  color: #ff5d9e; font-weight: 700;
}

.hero__cta {
  display: flex; gap: 0.85rem;
  margin-top: 2rem; flex-wrap: wrap;
}
.hero__fine { margin-top: 1rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.46); }

.hero .btn--primary {
  background: var(--pink);
  box-shadow: 0 22px 44px -18px rgba(245, 35, 123, 0.65);
}
.hero .btn--primary:hover { background: #ff3f8d; }
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(3, 18, 34, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero .btn--ghost:hover { color: #fff; border-color: #fff; }

.hero__image-label {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.55rem 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(3, 18, 34, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__image-label strong {
  display: grid;
  place-items: center;
  min-width: 3.1rem;
  height: 2.45rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: var(--pink);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* ── Marquee ────────────────────────────────── */
.marquee {
  background: var(--ink); color: #fff;
  padding: 1rem 0;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -1rem 0 0;
  position: relative; z-index: 2;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; white-space: nowrap; font-stretch: 110%;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────── */
.section { padding: 8rem 1.5rem; max-width: 78rem; margin: 0 auto; }

.section__head { margin-bottom: 4rem; }
.section__head--center { text-align: center; }
.section__head h2, .gift__title, .finale__title {
  margin-top: 1.25rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95;
  font-weight: 900; font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.section__head h2 em, .gift__title em { color: var(--pink); text-transform: none; letter-spacing: 0; }

/* ── Double-bezel shells ────────────────────── */
.shell {
  background: rgba(11, 11, 12, 0.04);
  border: 1px solid rgba(11, 11, 12, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--shell-pad);
}
.core {
  background: #fff;
  border-radius: calc(var(--radius-xl) - var(--shell-pad));
  padding: 2rem;
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 1px 0 rgba(11, 11, 12, 0.03);
}
.shell--dark { background: rgba(11, 11, 12, 0.85); border-color: rgba(255, 255, 255, 0.08); }
.core--dark {
  background: linear-gradient(160deg, #141416, #0b0b0c);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  color: #fff;
}
.shell--pink { background: rgba(245, 35, 123, 0.25); border-color: rgba(245, 35, 123, 0.2); }
.core--pink {
  background: linear-gradient(160deg, #ff3d8d, var(--pink-deep));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
  color: #fff;
}

.card-tag {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 1.25rem;
}
.card-tag--ondark { color: var(--pink); }
.card-tag--onpink { color: rgba(255, 255, 255, 0.85); }

/* ── Bento ──────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.bento__card--date  { grid-column: span 4; margin-top: 2.5rem; }
.bento__card--dress { grid-column: span 8; min-height: 27rem; }
.bento__card--place { grid-column: span 6; margin: -1.25rem 0 0 1.5rem; position: relative; z-index: 2; }
.bento__card--dist  { grid-column: span 6; margin-top: 1.25rem; }

.bento__card {
  transition: transform 0.55s var(--ease-spring), opacity 0.9s var(--ease-lux) var(--d, 0s), filter 0.9s var(--ease-lux) var(--d, 0s);
}
.bento__card:hover { transform: translateY(-0.4rem); }
.bento__card--date .core,
.bento__card--place .core { display: flex; flex-direction: column; justify-content: center; }

.bento__big {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900; font-stretch: 110%;
  line-height: 0.9; text-transform: uppercase;
}
.bento__big--md { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; }
.bento__big--ondark { color: #fff; }
.bento__big-accent { color: var(--pink); font-size: 0.45em; vertical-align: 0.5em; margin-left: 0.2em; }

.bento__giant {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900; font-stretch: 72%;
  line-height: 0.85;
}
.bento__giant span { font-stretch: 110%; font-size: 0.5em; vertical-align: 0.55em; }

.bento__caption {
  margin-top: 1rem; max-width: 34rem;
  color: var(--ink-60); font-size: 0.95rem; line-height: 1.6;
}
.bento__caption--ondark { color: rgba(255, 255, 255, 0.65); }
.bento__caption--onpink { color: rgba(255, 255, 255, 0.9); }

.bento__dress-core {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(15rem, 1.05fr);
  gap: 1.25rem;
  padding: 0.65rem;
  overflow: hidden;
}
.bento__dress-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.bento__dress-photo {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - var(--shell-pad) - 0.65rem);
}
.bento__dress-photo::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(11, 11, 12, 0.72));
  pointer-events: none;
}
.bento__dress-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
  object-position: center 18%;
}
.bento__dress-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 1rem;
  bottom: 0.9rem;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.bento__card--dist .core {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: end;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
}
.bento__card--dist .card-tag { grid-column: 1 / -1; align-self: start; }
.bento__card--dist .bento__caption { align-self: end; margin-bottom: 0.75rem; }

.swatches { display: flex; gap: 0.6rem; margin-top: 2rem; }
.swatch {
  width: 2.4rem; height: 2.4rem; border-radius: 0.8rem;
  background: var(--c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.swatch--pink { box-shadow: 0 0 18px rgba(245, 35, 123, 0.6); }
.swatches__note { margin-top: 0.75rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); }

.link-pill {
  display: inline-block; margin-top: 1.25rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(11, 11, 12, 0.12);
  color: var(--ink); text-decoration: none;
  font-size: 0.82rem; font-weight: 600;
  transition: border-color 0.4s var(--ease-lux), color 0.4s var(--ease-lux), transform 0.4s var(--ease-spring);
}
.link-pill:hover { border-color: var(--pink); color: var(--pink-deep); transform: translateY(-2px); }

/* ── Gift section ───────────────────────────── */
.section--gift { max-width: 82rem; }
.gift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.42fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: end;
}
.gift__text { max-width: 56rem; }
.gift__title { text-transform: none; letter-spacing: -0.01em; }
.gift__body {
  margin-top: 1.5rem;
  max-width: 52rem;
  color: var(--ink-60);
  font-size: 1.05rem;
  line-height: 1.75;
}
.gift__body strong { color: var(--ink); }
.gift__details {
  display: grid;
  gap: 0.85rem;
}
.gift__details p { margin: 0; }
.gift__price {
  font-size: clamp(1.12rem, 1.4vw, 1.22rem);
  line-height: 1.45;
}
.gift__aside {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}
.gift__mixer {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 2rem;
  background: #e9eef6;
  box-shadow: 0 24px 55px -34px rgba(3, 18, 34, 0.45);
}
.gift__mixer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gift__deadline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(11, 11, 12, 0.3);
  border-bottom: 1px solid rgba(11, 11, 12, 0.3);
}
.gift__deadline span {
  color: var(--ink-60);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.gift__deadline strong {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-stretch: 110%;
  line-height: 1;
}

/* ── Register ───────────────────────────────── */
.section--register { max-width: 60rem; }
.register { position: relative; }
.register__shell { transition: opacity 0.6s var(--ease-lux), transform 0.6s var(--ease-lux); }
.register__shell.is-gone { opacity: 0; transform: translateY(-2rem) scale(0.98); pointer-events: none; position: absolute; inset: 0; }
.register__core { padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; border: none; }
.field__label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-60);
}
.field__label small { color: var(--ink-40); letter-spacing: 0.1em; }
.field__input {
  font-family: inherit; font-size: 1rem; font-weight: 500;
  padding: 0.95rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(11, 11, 12, 0.1);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux), background 0.4s;
}
.field__input::placeholder { color: var(--ink-40); }
.field__input:focus {
  border-color: var(--pink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 35, 123, 0.12);
}
.field__input--area { resize: vertical; min-height: 5rem; }
.field__input.is-invalid { border-color: #e02020; box-shadow: 0 0 0 4px rgba(224, 32, 32, 0.1); }

.pace-pills { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pace-pill {
  font-family: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(11, 11, 12, 0.1);
  background: var(--paper);
  font-size: 0.92rem; font-weight: 700;
  color: var(--ink);
  transition: border-color 0.4s var(--ease-lux), background 0.4s var(--ease-lux), transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.pace-pill small { font-weight: 500; font-size: 0.72rem; color: var(--ink-40); }
.pace-pill:hover { transform: translateY(-2px); }
.pace-pill.is-active {
  border-color: var(--pink);
  background: var(--pink-soft);
  box-shadow: 0 10px 24px -12px rgba(245, 35, 123, 0.5);
}
.pace-pill.is-active small { color: var(--pink-deep); }

.check { display: flex; align-items: flex-start; gap: 0.85rem; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: none;
  width: 1.5rem; height: 1.5rem; border-radius: 0.5rem;
  border: 1px solid rgba(11, 11, 12, 0.15);
  background: var(--paper);
  display: grid; place-items: center;
  transition: background 0.4s var(--ease-lux), border-color 0.4s;
}
.check__box::after {
  content: "✓"; color: #fff; font-size: 0.85rem; font-weight: 800;
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.3s, transform 0.4s var(--ease-spring);
}
.check input:checked + .check__box { background: var(--pink); border-color: var(--pink); }
.check input:checked + .check__box::after { opacity: 1; transform: scale(1); }
.check__text { font-size: 0.9rem; color: var(--ink-60); line-height: 1.5; padding-top: 0.15rem; }

.btn--submit { justify-content: center; width: 100%; padding-top: 0.7rem; padding-bottom: 0.7rem; font-size: 1.05rem; }
.btn--submit[disabled] { opacity: 0.6; pointer-events: none; }

.form-error {
  color: #c81e1e; font-size: 0.88rem; font-weight: 600;
  text-align: center;
}

/* Success bib */
.bib-card {
  opacity: 0; transform: translateY(2rem) scale(0.97);
  transition: opacity 0.8s var(--ease-lux), transform 0.8s var(--ease-spring);
  max-width: 26rem; margin: 0 auto;
}
.bib-card.is-shown { opacity: 1; transform: none; }
.bib { display: flex; flex-direction: column; gap: 1rem; text-align: center; padding: 2.5rem 2rem; }
.bib__header {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
  padding-bottom: 1rem;
}
.bib__number {
  font-size: clamp(4rem, 10vw, 5.5rem);
  font-weight: 900; font-stretch: 72%; line-height: 1;
}
.bib__name { font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.bib__footer {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
  padding-top: 1rem;
}
.bib-card__note { margin-top: 1.5rem; text-align: center; font-size: 0.9rem; color: var(--ink-60); }

/* ── FAQ ────────────────────────────────────── */
.section--faq { max-width: 52rem; }
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 1.25rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux);
}
.faq__item[open] { border-color: rgba(245, 35, 123, 0.4); box-shadow: 0 16px 36px -24px rgba(245, 35, 123, 0.4); }
.faq__item summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--pink);
  font-size: 1.4rem; font-weight: 400;
  transition: transform 0.5s var(--ease-spring);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.5rem 1.5rem; color: var(--ink-60); line-height: 1.7; font-size: 0.95rem; }

/* ── Finale ─────────────────────────────────── */
.finale {
  position: relative;
  margin: 4rem 1.5rem 1.5rem;
  border-radius: 2.5rem;
  background:
    radial-gradient(50rem 30rem at 80% 10%, rgba(245, 35, 123, 0.35), transparent 60%),
    linear-gradient(170deg, #17171a, #0b0b0c);
  color: #fff;
  padding: 9rem 2rem;
  text-align: center;
  overflow: hidden;
}
.finale__bg {
  position: absolute; inset: 0;
  background-image: url("img/runners-finale-v2.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.58;
  filter: contrast(1.08) saturate(0.9);
}
.finale__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.85));
}
.finale__inner { position: relative; z-index: 1; }
.finale__kicker {
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--pink); font-weight: 700;
}
.finale__title { margin: 1rem 0 2.5rem; text-transform: none; }
.finale__title em { color: var(--pink); }
.finale__bib {
  position: absolute; right: -4rem; bottom: -8rem;
  font-size: 28rem; font-weight: 900; font-stretch: 62%; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
  user-select: none; pointer-events: none;
}

/* ── Footer ─────────────────────────────────── */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  font-size: 0.85rem; color: var(--ink-60); font-weight: 500;
}
.footer__small { margin-top: 0.4rem; font-size: 0.72rem; color: var(--ink-40); }

/* ═══ Mobile ═══════════════════════════════── */
@media (max-width: 900px) {
  .gift { grid-template-columns: 1fr; gap: 3rem; }
  .bento__card--date, .bento__card--dress, .bento__card--place, .bento__card--dist {
    grid-column: span 12;
    margin: 0;
  }
  .bento__dress-core { grid-template-columns: 1fr 1fr; }
  .bento__card--dist .core { grid-template-columns: auto minmax(0, 1fr); }
  .hero { padding-top: 7.5rem; }
  .hero__stage { display: block; }
  .hero__inner { width: 100%; max-width: 44rem; }
  .hero__title { font-size: clamp(5rem, 18vw, 8rem); }
  .hero__backdrop img { object-position: 62% center; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 1rem; }
  .nav-wrap {
    justify-content: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav { gap: 0.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .register__core { padding: 1.5rem; }
  .bento__dress-core { grid-template-columns: 1fr; }
  .bento__dress-photo { min-height: 22rem; }
  .bento__dress-photo img { min-height: 22rem; }
  .bento__card--dist .core { grid-template-columns: 1fr; }
  .bento__card--dist .card-tag { grid-column: auto; }
  .bento__card--dist .bento__caption { margin-bottom: 0; }
  .hero {
    min-height: 58rem;
    align-items: end;
    padding: 18rem 1rem 1.25rem;
  }
  .hero__backdrop::after {
    background:
      linear-gradient(0deg, rgba(3, 18, 34, 0.97) 0%, rgba(3, 18, 34, 0.84) 48%, rgba(3, 18, 34, 0.18) 78%, rgba(3, 18, 34, 0.05) 100%),
      linear-gradient(90deg, rgba(3, 18, 34, 0.44), transparent 70%);
  }
  .hero__backdrop img { object-position: 58% center; transform: scale(1.02); }
  .hero__title { font-size: clamp(4.1rem, 23vw, 6.3rem); }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero__meta-item:last-child { grid-column: 1 / -1; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: space-between; }
  .hero__image-label { display: none; }
  .hero__meta { gap: 1.5rem; }
  .finale { padding: 6rem 1.25rem; margin: 3rem 0.75rem 0.75rem; }
  .finale__bib { font-size: 16rem; right: -3rem; bottom: -5rem; }
  .marquee { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}
