/* ==========================================================================
   PAMELA ABOH · 50 - Design System
   Palette: ivory paper, blush, peach, champagne gold, sage, dusk plum
   Type: Cormorant Garamond (display) · Jost (UI) · Great Vibes (script)
   ========================================================================== */

:root {
  --paper:      #faf6f0;
  --paper-warm: #f4ecdf;
  --ink:        #322b26;
  --ink-soft:   #6b5f55;
  --blush:      #e8b4b8;
  --blush-soft: #f6e3e1;
  --peach:      #dfa06e;
  --gold:       #b08542;
  --gold-soft:  #d4b98c;
  --sage:       #8a9a84;
  --dusk:       #211d24;
  --dusk-2:     #2c2530;
  --cream-text: #f7f1e6;

  --serif:  "Cormorant Garamond", Georgia, serif;
  --sans:   "Jost", "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;

  --ease-out: cubic-bezier(.22,.61,.21,1);
  --shadow-soft: 0 24px 60px -24px rgba(50,43,38,.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #d7a43f;
  outline-offset: 3px;
}

/* ---------- shared ---------- */
.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: .01em;
}
.h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
.h2--light { color: var(--cream-text); }
.h2--light em { color: var(--gold-soft); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s, color .35s, border-color .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold {
  background: linear-gradient(135deg, #c9a05a, var(--gold));
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(176,133,66,.65);
}
.btn--gold:hover { box-shadow: 0 20px 44px -14px rgba(176,133,66,.8); }
.btn--ghost-light {
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.16); }
.btn--small { padding: .65rem 1.5rem; font-size: .7rem; }
.btn--full { width: 100%; }

.link-arrow {
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: .3rem;
  display: inline-flex;
  gap: .5rem;
  transition: gap .3s var(--ease-out);
}
.link-arrow:hover { gap: .9rem; }

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal--delay { transition-delay: .18s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__petals { display: none; }
  .mobile-menu, .mobile-menu a, .menu-btn span { transition: none; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background .45s, box-shadow .45s, padding .45s;
}
.nav.is-scrolled {
  background: rgba(250,246,240,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -18px rgba(50,43,38,.25);
  padding-top: .7rem;
  padding-bottom: .7rem;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: #fff;
  transition: color .45s;
}
.nav__brand-dot { color: var(--gold-soft); }
.nav.is-scrolled .nav__brand { color: var(--ink); }
.nav__links { display: flex; gap: clamp(1rem, 2.6vw, 2.2rem); }
.nav__links a {
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .45s;
  position: relative;
}
.nav.is-scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: -12% 0;
  background-size: cover;
  background-position: center;
  filter: brightness(1.12) saturate(1.03);
  will-change: transform;
  animation: heroDrift 26s ease-in-out infinite alternate;
  filter: brightness(1.13) saturate(1.04);
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.1) translateY(-2.2%); }
}
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; } }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,20,26,.20), rgba(24,20,26,.22));
}
.hero__fifty {
  position: absolute;
  left: 50%; top: 44%;
  transform: translate(-50%,-50%);
  font-family: var(--serif);
  font-size: clamp(16rem, 42vw, 34rem);
  line-height: 1;
  color: rgba(255,255,255,.07);
  letter-spacing: -.04em;
  user-select: none;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem clamp(6rem, 12vh, 8.5rem);
  max-width: 60rem;
}
.hero__forGuest {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(212,185,140,.45);
  border-radius: 999px;
  padding: .55rem 1.4rem;
  margin-bottom: 1.6rem;
  background: rgba(24,20,26,.35);
  backdrop-filter: blur(4px);
}
.hero__forGuest span { color: #fff; }
.hero__script {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--gold-soft);
  margin-bottom: .4rem;
}
.hero__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: .98;
  letter-spacing: .02em;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hero__name em { font-style: italic; font-weight: 300; }
.hero__rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 1.6rem auto 1.1rem;
  max-width: 26rem;
}
.hero__rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,185,140,.8)); }
.hero__rule span:last-child { transform: scaleX(-1); }
.hero__rule i { color: var(--gold-soft); font-style: normal; font-size: .8rem; }
.hero__kicker {
  font-size: .8rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.hero__date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-soft);
  margin-top: .8rem;
}
.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line {
  display: block;
  width: 1px; height: 54px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.85));
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(.2); transform-origin: bottom; opacity: 0; }
}

/* petals */
.hero__petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.petal {
  position: absolute;
  top: -4%;
  width: 14px; height: 12px;
  background: radial-gradient(ellipse at 30% 30%, #f6d9d2, var(--blush));
  border-radius: 80% 10% 80% 10%;
  opacity: .8;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  0%   { transform: translate3d(0,0,0) rotate(0deg); opacity: 0; }
  8%   { opacity: .85; }
  100% { transform: translate3d(var(--drift, 60px), 108vh, 0) rotate(var(--spin, 300deg)); opacity: .15; }
}

/* ==========================================================================
   INVITATION
   ========================================================================== */
.invitation {
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(232,180,184,.18), transparent 60%),
    var(--paper);
}
.invitation__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 74rem;
  margin: 0 auto;
}
.invitation__media img {
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.6deg);
}
.invitation__media figcaption {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  font-size: .95rem;
}
.invitation__dear {
  font-family: var(--script);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.invitation__body {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.2rem;
  max-width: 34rem;
}
.invitation__body em { color: var(--gold); }
.invitation__sign { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-top: 1.6rem; }
.invitation__family {
  font-family: var(--script);
  font-size: 1.9rem;
  color: var(--ink);
  margin: .2rem 0 1.8rem;
}
@media (max-width: 900px) {
  .invitation__grid { grid-template-columns: 1fr; }
  .invitation__media { max-width: 26rem; margin: 0 auto; }
}

/* ==========================================================================
   COUNTDOWN
   ========================================================================== */
.countdown {
  position: relative;
  padding: clamp(5rem, 9vw, 7.5rem) 1.5rem;
  text-align: center;
  color: var(--cream-text);
  overflow: hidden;
}
.countdown__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@supports (-webkit-touch-callout: none) { .countdown__bg { background-attachment: scroll; } }
.countdown__veil { position: absolute; inset: 0; background: rgba(28,23,30,.72); }
.countdown__inner { position: relative; z-index: 1; }
.countdown__clock {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(.6rem, 2.4vw, 1.6rem);
  margin: 1.4rem 0 .6rem;
}
.countdown__unit b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1;
}
.countdown__unit span {
  display: block;
  margin-top: .5rem;
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.countdown__sep { font-family: var(--serif); font-size: 2rem; color: rgba(247,241,230,.4); font-style: normal; }
.countdown__carpe {
  font-family: var(--script);
  font-size: clamp(3rem, 8vw, 5.2rem);
  color: var(--gold-soft);
  line-height: 1.1;
  margin-top: .6rem;
}
.countdown__note {
  max-width: 30rem;
  margin: .8rem auto 0;
  font-size: .95rem;
  color: rgba(247,241,230,.75);
  font-family: var(--serif);
  font-style: italic;
}

/* ==========================================================================
   STORY
   ========================================================================== */
.story { background: var(--paper-warm); }
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 74rem;
  margin: 0 auto;
  align-items: center;
}
.story__timeline { list-style: none; margin-top: 2.4rem; position: relative; }
.story__timeline::before {
  content: "";
  position: absolute;
  left: .35rem; top: .6rem; bottom: .6rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-soft), transparent);
}
.story__timeline li { position: relative; padding: 0 0 1.9rem 2.2rem; }
.story__timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: .48rem;
  width: .72rem; height: .72rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--paper);
}
.story__timeline b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .02em;
}
.story__timeline p { color: var(--ink-soft); font-size: .98rem; max-width: 30rem; margin-top: .25rem; }
.story__media { position: relative; }
.story__media img {
  border-radius: 999px 999px 6px 6px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.story__media-caption {
  position: absolute;
  bottom: -1.4rem; left: -1.4rem;
  background: var(--paper);
  border: 1px solid rgba(176,133,66,.28);
  border-radius: 4px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  box-shadow: var(--shadow-soft);
}
.story__media-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}
.story__media-words {
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 22rem; margin: 0 auto; }
}

/* ==========================================================================
   DETAILS
   ========================================================================== */
.details { background: var(--paper); }
.details__head { text-align: center; max-width: 40rem; margin: 0 auto 3.5rem; }
.details__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 74rem;
  margin: 0 auto;
}
.details__card {
  background: #fff;
  border: 1px solid rgba(176,133,66,.16);
  border-radius: 6px;
  padding: 2.4rem 2rem;
  text-align: center;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.details__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.details__card h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.details__card > p {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.3;
}
.details__sub { margin-top: .5rem; font-size: .92rem !important; font-family: var(--sans) !important; color: var(--ink-soft); }
.details__icon { font-size: 1.1rem; color: var(--gold-soft); margin-bottom: 1.1rem; }
.details__card--img { padding: 0; overflow: hidden; border: none; }
.details__card--img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.details__card--img:hover img { transform: scale(1.05); }
.details__card--tone { background: var(--blush-soft); border-color: rgba(232,180,184,.4); }
@media (max-width: 900px) { .details__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .details__grid { grid-template-columns: 1fr; } .details__card--img { min-height: 220px; } }

/* ==========================================================================
   EVENING
   ========================================================================== */
.evening {
  background:
    radial-gradient(50rem 26rem at -10% 0%, rgba(212,185,140,.08), transparent 55%),
    linear-gradient(180deg, var(--dusk), var(--dusk-2));
  color: var(--cream-text);
}
.evening__head { text-align: center; margin-bottom: 4rem; }
.evening__list { list-style: none; max-width: 56rem; margin: 0 auto; }
.evening__item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(212,185,140,.16);
}
.evening__item:last-child { border-bottom: none; }
.evening__item img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212,185,140,.4);
  padding: 4px;
  background: rgba(212,185,140,.08);
}
.evening__item b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: .01em;
}
.evening__item p { color: rgba(247,241,230,.68); font-size: .96rem; margin-top: .3rem; max-width: 32rem; }
.evening__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  color: rgba(212,185,140,.5);
}
@media (max-width: 620px) {
  .evening__item { grid-template-columns: 72px 1fr; }
  .evening__item img { width: 72px; height: 72px; }
  .evening__num { display: none; }
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { background: var(--paper); }
.gallery__head { text-align: center; margin-bottom: 3.5rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: .9rem;
  max-width: 80rem;
  margin: 0 auto;
}
.gallery__grid figure { overflow: hidden; border-radius: 4px; }
.gallery__grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 1s var(--ease-out);
}
.gallery__grid figure:hover img { transform: scale(1.06); filter: brightness(1.06); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* ==========================================================================
   RSVP
   ========================================================================== */
.rsvp {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
}
.rsvp__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 70%;
}
.rsvp__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,23,30,.78), rgba(28,23,30,.62));
}
.rsvp__card {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
  background: rgba(250,246,240,.97);
  border-radius: 8px;
  padding: clamp(2.2rem, 5vw, 4rem);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
}
.rsvp__lede {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  margin: 1rem 0 2.2rem;
  font-size: 1.1rem;
}
.field { margin-bottom: 1.3rem; text-align: left; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field__legend {
  display: block;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(50,43,38,.16);
  border-radius: 4px;
  padding: .85rem 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,133,66,.14);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #a4442f;
  box-shadow: 0 0 0 3px rgba(164,68,47,.13);
}
.consent-stack { display: grid; gap: 1rem; }
.check-row, .owner-check {
  display: flex !important;
  align-items: flex-start;
  gap: .7rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .92rem !important;
  line-height: 1.45;
  color: var(--ink) !important;
  cursor: pointer;
}
.check-row input, .owner-check input { width: auto !important; margin-top: .2rem; accent-color: var(--gold); flex: 0 0 auto; }
.check-row a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.owner-check { margin: 0 0 1.2rem; }
.form-status {
  color: #315f3d;
  background: #edf7ef;
  border: 1px solid #b8d8bf;
  border-radius: 4px;
  padding: .9rem 1rem;
  margin-top: 1rem;
}
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; }
.choice__opt span {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(50,43,38,.18);
  border-radius: 4px;
  transition: all .3s var(--ease-out);
}
.choice__opt input:checked + span {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,160,90,.12), rgba(176,133,66,.08));
  color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,133,66,.12);
}
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.rsvp__err { color: #a4442f; font-size: .9rem; margin-top: 1rem; }
.rsvp__done { text-align: center; padding: 2rem 0; }
.rsvp__done-mark {
  width: 74px; height: 74px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  animation: markPop .7s var(--ease-out);
}
@keyframes markPop {
  0% { transform: scale(.4); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.rsvp__done p { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-soft); max-width: 28rem; margin: 1.2rem auto 0; }
.rsvp__done-sign { font-family: var(--script) !important; font-size: 1.7rem !important; color: var(--gold) !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--dusk);
  color: var(--cream-text);
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
}
.footer__mono {
  width: 64px; height: 64px;
  margin: 0 auto 1.4rem;
  border: 1px solid rgba(212,185,140,.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold-soft);
}
.footer__name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .06em; }
.footer__line { font-family: var(--script); font-size: 1.4rem; color: var(--gold-soft); margin-top: .4rem; }
.footer__tiny { font-size: .74rem; letter-spacing: .12em; color: rgba(247,241,230,.45); margin-top: 1.6rem; }

/* ==========================================================================
   ADMIN (Invite Studio)
   ========================================================================== */
.admin-body { background: var(--paper-warm); min-height: 100vh; }
.admin {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) 6rem;
}
.admin__head { text-align: center; margin-bottom: 3rem; }
.admin__head .h2 { margin-top: .4rem; }
.admin__gate {
  max-width: 24rem;
  margin: 14vh auto 0;
  background: #fff;
  border-radius: 8px;
  padding: 2.6rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.admin__gate .field { margin-top: 1.4rem; }
.admin-card {
  background: #fff;
  border: 1px solid rgba(176,133,66,.16);
  border-radius: 8px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 1.6rem;
  box-shadow: 0 16px 40px -30px rgba(50,43,38,.35);
}
.admin-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  background: #fff;
  border: 1px solid rgba(176,133,66,.16);
  border-radius: 8px;
  padding: 1.4rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.capacity { margin: .6rem 0 1.6rem; }
.capacity__bar {
  height: 10px;
  background: rgba(50,43,38,.08);
  border-radius: 999px;
  overflow: hidden;
}
.capacity__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transition: width 1.2s var(--ease-out);
}
.capacity__label { font-size: .78rem; color: var(--ink-soft); margin-top: .45rem; text-align: right; }
.invite-result {
  background: var(--paper);
  border: 1px dashed rgba(176,133,66,.4);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  margin-top: 1.2rem;
}
.invite-result__link {
  font-family: ui-monospace, monospace;
  font-size: .82rem;
  word-break: break-all;
  color: var(--ink);
  background: #fff;
  border-radius: 4px;
  padding: .7rem .9rem;
  border: 1px solid rgba(50,43,38,.1);
  margin: .6rem 0 1rem;
}
.invite-result__msg {
  font-family: var(--serif);
  font-size: .98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  white-space: pre-wrap;
  background: #fff;
  border-radius: 4px;
  padding: .9rem 1rem;
  border: 1px solid rgba(50,43,38,.1);
  margin-bottom: 1rem;
}
.invite-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.btn--outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover { background: rgba(176,133,66,.08); }
.btn--wa { background: #d9f2e3; color: #1e7a4e; border: 1px solid #a8dcc0; }
.rsvp-table-wrap { overflow-x: auto; }
table.rsvps { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.rsvps th {
  text-align: left;
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  padding: .7rem .8rem;
  border-bottom: 1px solid rgba(176,133,66,.3);
  white-space: nowrap;
}
table.rsvps td { padding: .75rem .8rem; border-bottom: 1px solid rgba(50,43,38,.07); vertical-align: top; }
table.rsvps td.yes { color: #1e7a4e; }
table.rsvps td.no { color: #a4442f; }
.pill {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .1em;
  padding: .2rem .7rem;
  border-radius: 999px;
}
.pill--yes { background: #d9f2e3; color: #1e7a4e; }
.pill--no { background: #f8e3dc; color: #a4442f; }
.admin-toolbar { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.2rem; }
.admin-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }
.toast {
  position: fixed;
  bottom: 1.6rem; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--cream-text);
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-size: .84rem;
  letter-spacing: .06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  z-index: 90;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   V2 - MULTI-PAGE COMPONENTS
   ========================================================================== */

/* ---------- mobile menu ---------- */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
  z-index: 60;
}
.menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  margin: 5px auto;
  transition: all .35s var(--ease-out);
}
.nav.is-scrolled .menu-btn span, .nav.is-solid .menu-btn span { background: var(--ink); }
.menu-btn.is-open span { background: var(--cream-text) !important; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav.is-menu-open {
  z-index: 70;
  background: transparent;
  box-shadow: none;
}
.nav.is-menu-open .nav__brand { color: var(--cream-text); }
.nav.is-menu-open .menu-btn span { background: var(--cream-text) !important; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
}
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 60;
  background: linear-gradient(180deg, var(--dusk), var(--dusk-2));
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--cream-text);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu a.is-rsvp { color: var(--gold-soft); font-style: italic; }
.mobile-menu a:focus-visible { outline-color: var(--gold-soft); }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  position: relative;
  min-height: 46svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,20,26,.45), rgba(24,20,26,.25) 40%, rgba(24,20,26,.78));
}
.page-hero__content {
  position: relative; z-index: 1;
  padding: 8rem clamp(1.25rem, 6vw, 6rem) 3rem;
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
}
.page-hero__content .hero__script { margin-bottom: .1rem; }
.page-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
}
.page-hero__title em { font-style: italic; color: var(--gold-soft); }
.page-hero__sub { margin-top: .8rem; color: rgba(255,255,255,.82); font-size: .95rem; letter-spacing: .1em; max-width: 40rem; }

/* ---------- big days countdown (home) ---------- */
.bigdays { text-align: center; }
.bigdays b {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 1;
  color: var(--cream-text);
  display: block;
  font-variant-numeric: tabular-nums;
}
.bigdays span {
  display: block;
  font-size: .8rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: .8rem;
}

/* ---------- highlights (home) ---------- */
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 76rem;
  margin: 0 auto;
}
.highlight {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.highlight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.highlight:hover img { transform: scale(1.06); }
.highlight::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24,20,26,.82));
}
.highlight figcaption { position: relative; z-index: 1; padding: 1.4rem; width: 100%; }
.highlight b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; display: block; }
.highlight small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
@media (max-width: 900px) { .highlights__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- video placeholder ---------- */
.video-ph {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.video-ph::before { content: ""; position: absolute; inset: 0; background: rgba(24,20,26,.42); }
.video-ph__play {
  position: relative; z-index: 1;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  animation: pulseSoft 2.6s var(--ease-out) infinite;
}
@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.28); }
  50% { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
}
.video-ph__label {
  position: absolute; z-index: 1;
  bottom: 1.2rem; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}

/* ---------- itinerary ---------- */
.itin { max-width: 60rem; margin: 0 auto; }
.itin__day { margin-bottom: 3.6rem; }
.itin__day-head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(176,133,66,.3);
  padding-bottom: .9rem;
  margin-bottom: 1.4rem;
}
.itin__day-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.itin__day-theme { font-family: var(--script); font-size: 1.5rem; color: var(--gold); }
.itin__dress {
  margin-left: auto;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid rgba(176,133,66,.35);
  border-radius: 999px;
  padding: .4rem 1rem;
  white-space: nowrap;
}
.itin__events { list-style: none; }
.itin__events li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.4rem;
  padding: .85rem 0;
  border-bottom: 1px dashed rgba(50,43,38,.1);
}
.itin__events li:last-child { border-bottom: none; }
.itin__time {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: .3rem;
  white-space: nowrap;
}
.itin__events b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; display: block; }
.itin__events p { color: var(--ink-soft); font-size: .92rem; margin-top: .15rem; }
@media (max-width: 620px) {
  .itin__events li { grid-template-columns: 1fr; gap: .2rem; }
  .itin__day-head { flex-wrap: wrap; }
  .itin__dress { margin-left: 0; }
}

/* ---------- program (saturday evening) ---------- */
.program-list { list-style: none; max-width: 40rem; margin: 0 auto; counter-reset: prog; }
.program-list li {
  position: relative;
  padding: 1rem 0 1rem 4rem;
  counter-increment: prog;
  border-bottom: 1px solid rgba(212,185,140,.16);
}
.program-list li::before {
  content: counter(prog, upper-roman);
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(212,185,140,.55);
  width: 3rem;
}
.program-list b { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.program-list small { display: block; color: rgba(247,241,230,.6); font-size: .86rem; }
.program-list li.is-star b { color: var(--gold-soft); }

/* ---------- dress code ---------- */
.dress-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
}
.dress-card {
  background: #fff;
  border: 1px solid rgba(176,133,66,.16);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.dress-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.dress-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.dress-card div { padding: 1.3rem 1.2rem 1.5rem; text-align: center; }
.dress-card small {
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .4rem;
}
.dress-card b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.dress-card p { font-size: .84rem; color: var(--ink-soft); margin-top: .4rem; }
@media (max-width: 1100px) { .dress-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .dress-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- info cards (travel / dining / explore) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 76rem;
  margin: 0 auto;
}
.info-grid--four { grid-template-columns: repeat(4, 1fr); max-width: 80rem; }
.info-card {
  background: #fff;
  border: 1px solid rgba(176,133,66,.16);
  border-radius: 6px;
  padding: 2rem 1.8rem;
}
.info-card--tone { background: var(--blush-soft); border-color: rgba(232,180,184,.4); }
.info-card--dark { background: var(--dusk-2); border-color: rgba(212,185,140,.25); color: var(--cream-text); }
.info-card--dark li { color: rgba(247,241,230,.75) !important; }
.info-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: .3rem;
}
.info-card .k {
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .6rem;
}
.info-card ul { list-style: none; margin-top: .9rem; }
.info-card li {
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(50,43,38,.1);
  font-size: .93rem;
  color: var(--ink-soft);
}
.info-card li:last-child { border-bottom: none; }
.info-card li b { color: inherit; font-weight: 500; }
.info-card li b { font-family: var(--serif); font-size: 1.02rem; }
@media (max-width: 900px) { .info-grid, .info-grid--four { grid-template-columns: 1fr; } }

/* ---------- hotel tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  max-width: 76rem;
  margin: 0 auto;
}
.tier {
  background: #fff;
  border: 1px solid rgba(176,133,66,.16);
  border-radius: 6px;
  padding: 2.2rem 1.8rem;
  text-align: center;
}
.tier--feature { background: var(--dusk-2); color: var(--cream-text); border-color: rgba(212,185,140,.3); }
.tier__icon { font-size: 1.2rem; color: var(--gold-soft); margin-bottom: .9rem; }
.tier b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; display: block; }
.tier small { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); display: block; margin-top: .3rem; }
.tier p { font-size: .9rem; color: var(--ink-soft); margin-top: .9rem; }
.tier--feature p { color: rgba(247,241,230,.72); }
@media (max-width: 1000px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid rgba(176,133,66,.24);
  padding: 1.1rem 0;
}
.faq summary {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); font-size: .96rem; padding: .8rem 0 .3rem; max-width: 40rem; }

/* ---------- guestbook ---------- */
.gb-wall {
  columns: 3;
  column-gap: 1.1rem;
  max-width: 76rem;
  margin: 2.6rem auto 0;
}
.gb-note {
  break-inside: avoid;
  background: #fff;
  border: 1px solid rgba(176,133,66,.18);
  border-radius: 6px;
  padding: 1.6rem 1.5rem;
  margin-bottom: 1.1rem;
}
.gb-note:nth-child(3n) { background: var(--blush-soft); border-color: rgba(232,180,184,.4); }
.gb-note:nth-child(4n) { transform: rotate(.4deg); }
.gb-note:nth-child(5n) { transform: rotate(-.5deg); }
.gb-note p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; }
.gb-note b { display: block; margin-top: 1rem; font-family: var(--script); font-weight: 400; font-size: 1.35rem; color: var(--gold); }
.gb-note small { color: var(--ink-soft); font-size: .78rem; letter-spacing: .08em; }
@media (max-width: 900px) { .gb-wall { columns: 2; } }
@media (max-width: 600px) { .gb-wall { columns: 1; } }

/* ---------- quiz ---------- */
.quiz {
  max-width: 34rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(176,133,66,.2);
  border-radius: 8px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.quiz__q { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: .6rem 0 1.4rem; }
.quiz__opts { display: grid; gap: .7rem; }
.quiz__opt {
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: .95rem 1.2rem;
  background: var(--paper);
  border: 1px solid rgba(50,43,38,.14);
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  color: var(--ink);
}
.quiz__opt:hover { border-color: var(--gold); background: rgba(212,185,140,.1); }
.quiz__opt.is-right { border-color: #1e7a4e; background: #d9f2e3; }
.quiz__opt.is-wrong { border-color: #a4442f; background: #f8e3dc; }
.quiz__meta { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.quiz__note { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-top: 1rem; min-height: 1.4em; }
.quiz__score b { font-family: var(--serif); font-size: 3.4rem; color: var(--gold); display: block; line-height: 1.1; }

/* ---------- map embed ---------- */
.map-wrap {
  max-width: 76rem;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(176,133,66,.2);
}
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- team grid (digital program) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 66rem;
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border: 1px solid rgba(176,133,66,.16);
  border-radius: 6px;
  padding: 2rem 1.6rem;
  text-align: center;
}
.team-card .team-card__mono {
  width: 58px; height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
}
.team-card b { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; display: block; }
.team-card small { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); display: block; margin-top: .3rem; }
.team-card p { font-size: .88rem; color: var(--ink-soft); margin-top: .7rem; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- MC feature ---------- */
.mc-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 74rem;
  margin: 0 auto;
}
.mc-feature img { border-radius: 6px; box-shadow: var(--shadow-soft); }
@media (max-width: 860px) { .mc-feature { grid-template-columns: 1fr; } }

/* ---------- zube's grub feature ---------- */
.zube {
  position: relative;
  color: var(--cream-text);
  overflow: hidden;
}
.zube__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.zube__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,20,26,.92) 0%, rgba(24,20,26,.72) 55%, rgba(24,20,26,.3)); }
.zube__inner {
  position: relative;
  z-index: 1;
  max-width: 74rem;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
}
.zube__badge {
  display: inline-block;
  font-size: .64rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(212,185,140,.5);
  border-radius: 999px;
  padding: .5rem 1.3rem;
  margin-bottom: 1.4rem;
}
.zube p.lede {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  color: rgba(247,241,230,.86);
  max-width: 34rem;
  margin-top: 1.2rem;
}

/* ---------- playlist cards ---------- */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 70rem;
  margin: 0 auto;
}
.pl-card {
  position: relative;
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
  background: var(--dusk-2);
  color: var(--cream-text);
  border: 1px solid rgba(212,185,140,.2);
  overflow: hidden;
}
.pl-card::after {
  content: "♫";
  position: absolute;
  right: -.4rem; bottom: -1.4rem;
  font-size: 5.4rem;
  color: rgba(212,185,140,.1);
}
.pl-card b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; display: block; }
.pl-card p { font-size: .86rem; color: rgba(247,241,230,.65); margin-top: .5rem; }
@media (max-width: 800px) { .playlist-grid { grid-template-columns: 1fr; } }

/* ---------- keepsakes / downloads ---------- */
.keep-list { list-style: none; max-width: 44rem; margin: 0 auto; }
.keep-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed rgba(50,43,38,.14);
}
.keep-list .keep-ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex: none;
}
.keep-list b { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; display: block; }
.keep-list small { color: var(--ink-soft); font-size: .84rem; }

/* ---------- live updates banner ---------- */
.updates-banner {
  background: var(--blush-soft);
  border: 1px solid rgba(232,180,184,.5);
  border-radius: 6px;
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.4rem 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.updates-banner .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  animation: pulseSoft 2s infinite;
}

/* ---------- section head util ---------- */
.sec-head { text-align: center; max-width: 44rem; margin: 0 auto 3.2rem; }
.sec-head .lede { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin-top: .9rem; font-size: 1.05rem; }
.sec-head--light .lede { color: rgba(247,241,230,.7); }
.section--warm { background: var(--paper-warm); }
.section--dark {
  background: linear-gradient(180deg, var(--dusk), var(--dusk-2));
  color: var(--cream-text);
}

/* ---------- quotes ---------- */
.quote-band {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.4;
}
.quote-band cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* ---------- fifty facts ---------- */
.facts-deck { max-width: 58rem; margin: 0 auto; }
.facts-deck__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 auto .8rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.facts-deck__progress {
  width: min(15rem, 42vw);
  height: 2px;
  overflow: hidden;
  background: rgba(176,133,66,.18);
}
.facts-deck__progress i { display: block; width: 2%; height: 100%; background: var(--gold); transition: width .45s var(--ease-out); }
.facts-envelope {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) 3.2rem;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  border-radius: 8px;
  background: linear-gradient(145deg, #ebc9c8 0%, #f3dcd7 52%, #dfb19f 100%);
  box-shadow: 0 30px 70px -35px rgba(50,43,38,.45);
  overflow: hidden;
}
.facts-envelope::before,
.facts-envelope::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 70%;
  height: 140%;
  border: 1px solid rgba(255,255,255,.28);
  transform: rotate(35deg);
  pointer-events: none;
}
.facts-envelope::before { left: -48%; top: -72%; }
.facts-envelope::after { right: -48%; bottom: -72%; }
.facts-viewport { position: relative; z-index: 1; overflow: hidden; padding: .4rem; }
.facts-track { display: flex; transition: transform .55s var(--ease-out); will-change: transform; }
.fact-letter {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 21rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 1.5rem;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid rgba(176,133,66,.2);
  background:
    linear-gradient(rgba(176,133,66,.045) 1px, transparent 1px) 0 4.7rem / 100% 2.25rem,
    #fffdf8;
  box-shadow: 0 22px 44px -28px rgba(50,43,38,.52);
}
.fact-letter::before {
  content: "";
  position: absolute;
  inset: .65rem;
  border: 1px solid rgba(176,133,66,.12);
  pointer-events: none;
}
.fact-letter__kicker {
  position: relative;
  z-index: 1;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.fact-letter > i {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: .85;
  color: rgba(176,133,66,.33);
}
.fact-letter > p {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 34rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.fact-letter__seal {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 3.2rem;
  aspect-ratio: 1;
  border: 1px solid rgba(176,133,66,.38);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: .82rem;
  color: var(--gold);
}
.fact-letter--blank > p { min-height: 4rem; }
.facts-nav {
  position: relative;
  z-index: 2;
  width: 3.2rem;
  aspect-ratio: 1;
  border: 1px solid rgba(50,43,38,.2);
  border-radius: 50%;
  background: rgba(255,253,248,.78);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform .3s var(--ease-out), background .3s, opacity .3s;
}
.facts-nav:hover:not(:disabled) { transform: scale(1.07); background: #fff; }
.facts-nav:disabled { opacity: .28; cursor: not-allowed; }
.facts-deck__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.25rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts-deck__controls select { width: auto; min-width: 5rem; padding: .55rem 1.9rem .55rem .75rem; background-color: #fff; }
.facts-deck__hint { opacity: .65; }
@media (max-width: 620px) {
  .facts-envelope { grid-template-columns: 2.45rem minmax(0, 1fr) 2.45rem; gap: .35rem; padding: .8rem; }
  .facts-nav { width: 2.35rem; }
  .fact-letter { min-height: 24rem; padding: 2.2rem 1.8rem; grid-template-columns: 1fr; }
  .fact-letter > i { grid-column: 1; grid-row: 2; position: absolute; right: 1.8rem; top: 4.5rem; }
  .fact-letter > p { padding-top: 3.2rem; }
  .facts-deck__hint { display: none; }
}

/* ---------- owner-change markers ---------- */
[data-owner-needed].owner-copy::after,
[data-owner-needed].owner-box::after {
  content: "✦";
  color: #c48d2f;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.7));
}
[data-owner-needed].owner-copy::after {
  display: inline-block;
  margin-left: .38em;
  font-size: .78em;
  line-height: 1;
  vertical-align: super;
}
[data-owner-needed].owner-box { position: relative; }
[data-owner-needed].owner-box::after {
  position: absolute;
  z-index: 6;
  top: .7rem;
  right: .7rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  aspect-ratio: 1;
  border: 1px solid rgba(176,133,66,.35);
  border-radius: 50%;
  background: rgba(255,253,248,.92);
  font-size: .82rem;
  box-shadow: 0 8px 18px -12px rgba(50,43,38,.7);
}
.fact-letter[data-owner-needed].owner-box::after { top: auto; right: auto; left: .85rem; bottom: .85rem; }
.page-hero[data-owner-needed].owner-box::after { top: 5.5rem; right: 1rem; }
@media (prefers-reduced-motion: reduce) { .facts-track, .facts-deck__progress i { transition: none; } }

/* ---------- accessibility & legal ---------- */
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: .75rem 1rem; border-radius: 4px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.legal-page { width: min(46rem, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(8rem, 14vw, 11rem) 0 5rem; }
.legal-page > .lede { margin: .5rem 0 2.5rem; color: var(--ink-soft); }
.legal-page section { margin: 0 0 2rem; }
.legal-page h2 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-bottom: .45rem; }
.legal-page p { line-height: 1.75; }
.legal-page .btn { margin-top: 1rem; }
.footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.content-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.gb-note__video { margin: .7rem 0 1rem; }
.pill--pending { background: #f7eed8; color: #7c571d; }
.moderation-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.moderation-actions .btn { padding: .45rem .65rem; font-size: .65rem; }
