/* ============================================================
   Recolians '01 — 25-Year Reunion
   Palette · Navy #0B2A4A · Gold #D4A43B · Ivory #F8F5EC
   ============================================================ */

:root {
  --navy: #0B2A4A;
  --navy-deep: #071d33;
  --navy-soft: #12406b;
  --gold: #D4A43B;
  --gold-light: #E7C777;
  --ivory: #F8F5EC;
  --cream: #FBF9F2;
  --white: #ffffff;
  --ink: #1c2b3a;
  --muted: #5b6b7b;

  --shadow-sm: 0 6px 18px rgba(11, 42, 74, 0.08);
  --shadow-md: 0 18px 40px rgba(11, 42, 74, 0.12);
  --shadow-lg: 0 30px 70px rgba(11, 42, 74, 0.18);
  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1160px;

  --font-head: "Playfair Display", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--maxw), 92%); margin: 0 auto; }

/* ---------- Shared type ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--ivory); }

.kicker {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--gold);
  margin: 0 0 .1rem;
  line-height: 1;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin: .1rem 0 .4rem;
  letter-spacing: .3px;
}
.section__sub { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.section__head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section__head .section__sub { margin-inline: auto; }

/* Gold rule under centered titles */
.section__head .section__title::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin: .9rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(212, 164, 59, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(212, 164, 59, 0.45); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn--lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: .5rem 0;
}
.nav__inner {
  width: min(var(--maxw), 94%); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__brand { display: flex; align-items: baseline; gap: .25rem; color: var(--white); }
.nav__brand-script { font-family: var(--font-script); font-size: 1.9rem; line-height: 1; }
.nav__brand-year { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 1.2rem; }
.nav__links { margin-left: auto; display: flex; gap: 1.6rem; }
.nav__links a {
  color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 400;
  position: relative; padding: .2rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: .6rem 1.2rem; font-size: .88rem; }
.nav__links-cta { display: none; } /* shown only inside the mobile menu */

/* Hamburger toggle (hidden on desktop) */
.nav__toggle {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--white); transition: transform .3s ease, opacity .25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.nav.is-nav-open .nav__toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav.is-nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-nav-open .nav__toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Scrolled state (toggled by JS) */
.nav.is-scrolled {
  background: rgba(11, 42, 74, 0.96);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__links a { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1rem 4rem;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../assets/hero-gate.jpg") center 38% / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,29,51,.55) 0%, rgba(7,29,51,.35) 35%, rgba(7,29,51,.75) 100%),
    radial-gradient(120% 80% at 50% 40%, rgba(7,29,51,.15), rgba(7,29,51,.85));
}
.hero__content { position: relative; z-index: 2; color: var(--white); max-width: 860px; }

.hero__eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--gold-light);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero__eyebrow span { color: var(--white); }
.hero__stars { color: var(--gold); letter-spacing: .5rem; font-size: .8rem; margin: .1rem 0 .3rem; }

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.2rem, 13vw, 8rem);
  line-height: .95;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 6px 30px rgba(0,0,0,.45);
}
.hero__title-year { color: var(--gold); }

.hero__subtitle {
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: clamp(.72rem, 2vw, .95rem);
  font-weight: 500;
  margin: 1rem 0 1.2rem;
  color: rgba(255,255,255,.92);
}

.hero__ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  border: 1px solid rgba(212,164,59,.55);
  color: var(--white);
  padding: .6rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: .08em;
  font-size: clamp(.7rem, 2vw, .9rem);
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.hero__desc {
  max-width: 34ch; margin: 1.4rem auto 0;
  font-weight: 300; font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: rgba(255,255,255,.92);
}

/* Countdown */
.countdown {
  display: inline-flex; gap: clamp(.6rem, 2.5vw, 1.6rem);
  margin: 2rem auto 0;
  padding: .9rem 1.4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 3.4rem; }
.countdown__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--gold-light); line-height: 1;
}
.countdown__label {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .62rem; color: rgba(255,255,255,.8); margin-top: .35rem;
}

.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero__dateline {
  margin-top: 1.6rem; letter-spacing: .1em; font-size: .85rem;
  color: rgba(255,255,255,.85); text-transform: uppercase;
}

.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px; z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold); border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:22px} 100%{opacity:0} }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
.about__text .section__title { text-align: left; }
.about__text .section__title::after { margin-left: 0; }
.about__text p { color: var(--muted); margin: 0 0 1rem; }
.about__text strong { color: var(--navy); }

.about__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(11,42,74,.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__stat {
  background: var(--white); padding: 1.6rem 1rem; text-align: center;
}
.about__stat span {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 2.6rem; color: var(--gold); line-height: 1;
}
.about__stat small { color: var(--muted); font-size: .82rem; }

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11,42,74,.05);
  transition: transform .35s ease, box-shadow .35s ease;
  text-align: center;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 62px; height: 62px; margin: 0 auto 1.1rem;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,164,59,.16), rgba(212,164,59,.06));
  border: 1px solid rgba(212,164,59,.35);
}
.card__icon svg { width: 30px; height: 30px; fill: var(--gold); }
.card h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin: 0 0 .5rem; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; }

.pullquote {
  text-align: center; margin: clamp(2.5rem,6vw,4rem) auto 0;
  font-family: var(--font-head); font-style: italic;
  font-size: clamp(1.3rem, 4vw, 2rem); color: var(--navy);
  max-width: 24ch; position: relative;
}
.pullquote::before, .pullquote::after {
  content: '"'; font-family: var(--font-head); color: var(--gold);
  font-size: 1.4em; line-height: 0;
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.tabs {
  display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tab {
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  padding: .7rem 1.5rem; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--navy);
  border: 1.5px solid rgba(11,42,74,.15);
  transition: all .25s ease;
}
.tab:hover { border-color: var(--gold); }
.tab.is-active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.day.is-active { animation: fadeUp .5s ease both; }
.day__head { text-align: center; margin-bottom: 2rem; }
.day__badge {
  display: inline-block; font-family: var(--font-script);
  font-size: 1.8rem; color: var(--gold); line-height: 1;
}
.day__date { font-family: var(--font-head); color: var(--navy); font-size: 1.6rem; margin: .1rem 0 0; }

.timeline {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 760px; position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--gold), rgba(212,164,59,.2));
}
.timeline li {
  position: relative; display: grid;
  grid-template-columns: 124px 1fr; gap: 2rem;
  padding: 0 0 1.6rem;
}
.timeline li::before {
  content: ""; position: absolute; left: 134px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(212,164,59,.15);
}
.timeline--star::before { background: var(--gold) !important; }
.timeline__time {
  text-align: right; font-weight: 600; color: var(--navy);
  font-size: .9rem; padding-top: 2px;
}
.timeline__body {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 1rem 1.3rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11,42,74,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.timeline__body:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.timeline__body h4 { margin: 0 0 .25rem; font-family: var(--font-head); color: var(--navy); font-size: 1.08rem; }
.timeline__body p { margin: 0; color: var(--muted); font-size: .9rem; }
.timeline__body strong { color: var(--gold); }

/* ============================================================
   MEMORIES
   ============================================================ */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.tile {
  position: relative; margin: 0;
  aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tile:not(.tile--ph) { cursor: zoom-in; }
/* subtle magnifier hint on hover */
.tile:not(.tile--ph)::after {
  content: ""; position: absolute; top: .7rem; right: .7rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7,29,51,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/18px no-repeat;
  opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.tile:not(.tile--ph):hover::after { opacity: 1; transform: scale(1); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.06); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem .9rem .7rem;
  font-family: var(--font-head); font-style: italic; font-size: .92rem;
  color: var(--white);
  background: linear-gradient(transparent, rgba(7,29,51,.85));
  transform: translateY(6px); opacity: 0; transition: opacity .35s ease, transform .35s ease;
}
.tile:hover figcaption { opacity: 1; transform: none; }
.tile--ph {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(11,42,74,.03) 0 12px, rgba(11,42,74,.05) 12px 24px);
  border: 1.5px dashed rgba(11,42,74,.2);
}
.tile--ph span {
  font-size: .85rem; color: var(--muted); letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   GALLERY — FOMO section
   ============================================================ */
.gallery-fomo {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background:
    linear-gradient(160deg, rgba(7,29,51,.96), rgba(11,42,74,.92)),
    url("../assets/hero-gate.jpg") center/cover fixed;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.fomo__frames {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(.5rem, 2vw, 1.1rem);
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  max-width: 640px;
}
.fomo__frame {
  flex: 1 1 0; max-width: 130px; aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 10px, rgba(255,255,255,.07) 10px 20px);
  border: 1.5px dashed rgba(255,255,255,.28);
  display: grid; place-items: center;
  color: rgba(255,255,255,.35);
  font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .1em;
  transition: transform .35s ease, border-color .35s ease;
}
.fomo__frame:hover { transform: translateY(-6px); }
/* the middle "YOU" frame is highlighted & slightly taller */
.fomo__frame--you {
  border: 2px solid var(--gold);
  color: var(--gold-light);
  transform: scale(1.08);
  box-shadow: 0 18px 44px rgba(0,0,0,.4);
  background: rgba(212,164,59,.1);
}
.fomo__frame--you span { font-weight: 700; font-size: 1.05rem; letter-spacing: .18em; }
.fomo__frame--you:hover { transform: scale(1.08) translateY(-6px); }

.fomo__message { max-width: 560px; margin: 0 auto; }
.fomo__message h3 {
  font-family: var(--font-head); font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  margin: 0 0 .8rem; color: #fff;
}
.fomo__message p { color: rgba(255,255,255,.85); margin: 0 auto 1rem; }
.fomo__punch {
  font-family: var(--font-head); font-style: italic;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem) !important;
  color: #fff !important; margin: 1.2rem auto 1.6rem !important;
}
.fomo__punch span { color: var(--gold-light); }

/* ============================================================
   VENUE
   ============================================================ */
.venue__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.infocard {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform .3s ease, box-shadow .3s ease;
}
.infocard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.infocard h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .7rem; font-size: 1.25rem; }
.infocard p { color: var(--muted); margin: 0 0 .8rem; font-size: .95rem; }
.infocard strong { color: var(--navy); }
.infocard__note { font-size: .82rem !important; color: var(--gold) !important; font-style: italic; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  background:
    linear-gradient(135deg, rgba(7,29,51,.94), rgba(11,42,74,.9)),
    url("../assets/hero-gate.jpg") center/cover fixed;
  text-align: center; color: var(--white);
  padding: clamp(4rem, 9vw, 7rem) 1rem;
}
.cta__script { font-family: var(--font-script); font-size: clamp(2rem,5vw,3rem); color: var(--gold-light); margin: 0; }
.cta h2 { font-family: var(--font-head); font-size: clamp(1.8rem,5vw,2.8rem); margin: .3rem 0 .8rem; }
.cta__sub { color: rgba(255,255,255,.88); margin: 0 auto 1.8rem; max-width: 40ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep); color: rgba(255,255,255,.85);
  text-align: center; padding: 2.6rem 1rem;
}
.footer__tag {
  font-family: var(--font-head); font-size: clamp(.95rem, 2.6vw, 1.25rem);
  color: var(--gold-light); letter-spacing: .04em; margin: 0 0 .6rem;
}
.footer__meta { margin: 0 0 .3rem; font-size: .9rem; }
.footer__fine { margin: 0; font-size: .78rem; color: rgba(255,255,255,.5); }

/* ============================================================
   STICKY MOBILE RSVP
   ============================================================ */
.sticky-rsvp {
  position: fixed; z-index: 45; left: 50%; bottom: 1rem;
  transform: translate(-50%, 160%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep); font-weight: 600; font-size: .92rem;
  padding: .8rem 1.8rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(212,164,59,.5);
  display: none;
  opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
/* Slides in only after the hero is scrolled past (class toggled in main.js) */
.sticky-rsvp.is-shown {
  transform: translate(-50%, 0);
  opacity: 1; pointer-events: auto;
}

/* ============================================================
   CONTRIBUTION PAGE
   ============================================================ */
/* Always-solid navbar (no hero image behind it) */
.nav--solid {
  background: rgba(11, 42, 74, 0.98);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}

.subhero {
  background:
    linear-gradient(135deg, rgba(7,29,51,.92), rgba(11,42,74,.9)),
    url("../assets/hero-gate.jpg") center 40% / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: clamp(6.5rem, 14vw, 9rem) 1rem clamp(3rem, 7vw, 4.5rem);
}
.subhero__eyebrow {
  font-family: var(--font-body); font-weight: 500;
  letter-spacing: .04em; color: var(--gold-light);
  font-size: clamp(.85rem, 2.4vw, 1rem); margin: 0 0 .4rem;
}
.subhero__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 .6rem;
}
.subhero__title::after {
  content: ""; display: block; width: 64px; height: 3px; margin: .8rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 3px;
}
.subhero__sub { max-width: 52ch; margin: 0 auto 1.4rem; color: rgba(255,255,255,.9); font-weight: 300; }
.crumb {
  display: inline-block; color: var(--gold-light);
  font-size: .9rem; border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.crumb:hover { border-color: var(--gold-light); }

.contrib__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 4vw, 2.4rem); align-items: start;
}

/* Amount hero card */
.amount-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white); border-radius: var(--radius);
  padding: 2rem; text-align: center; box-shadow: var(--shadow-md);
  border: 1px solid rgba(212,164,59,.4);
  margin-bottom: 1.4rem;
}
.amount-card__label {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  color: rgba(255,255,255,.8);
}
.amount-card__value {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 4rem); color: var(--gold-light);
  line-height: 1; margin: .4rem 0 .9rem;
}
.amount-card__value small { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.85); margin-left: .3rem; }
.deadline {
  display: inline-block; background: rgba(212,164,59,.16);
  border: 1px solid rgba(212,164,59,.5); color: var(--gold-light);
  padding: .45rem 1.1rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
}

/* Generic panel */
.panel {
  background: var(--white); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11,42,74,.06); margin-bottom: 1.4rem;
}
.panel h2 {
  font-family: var(--font-head); color: var(--navy);
  font-size: 1.3rem; margin: 0 0 1rem;
}
.panel__note { font-family: var(--font-body); font-size: .8rem; color: var(--gold); font-weight: 500; }
.panel--warn { border-left: 4px solid var(--gold); }

.ticklist, .notelist { list-style: none; margin: 0; padding: 0; }
.ticklist li, .notelist li { position: relative; padding-left: 2rem; margin-bottom: .8rem; color: var(--muted); }
.ticklist li:last-child, .notelist li:last-child { margin-bottom: 0; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A4A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.notelist li::before {
  content: "•"; position: absolute; left: .4rem; top: -.1em; color: var(--gold); font-size: 1.3rem;
}
.ticklist strong, .notelist strong { color: var(--navy); }

/* Bank details */
.bank__flag {
  display: inline-block; background: var(--ivory); color: var(--navy);
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  padding: .3rem .8rem; border-radius: 999px; margin-bottom: .7rem;
}
.bank__intro { color: var(--muted); font-size: .92rem; margin: 0 0 1.2rem; }
.bank__rows { margin: 0; }
.bank__row { padding: .75rem 0; border-bottom: 1px dashed rgba(11,42,74,.14); }
.bank__row:last-of-type { border-bottom: 0; }
.bank__row dt {
  text-transform: uppercase; letter-spacing: .1em; font-size: .7rem;
  color: var(--muted); margin-bottom: .2rem;
}
.bank__row dd {
  margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 600; color: var(--navy); font-size: 1.02rem; word-break: break-word;
}
.copy {
  flex: none; cursor: pointer; font-family: var(--font-body);
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: .35rem .7rem; border-radius: 999px;
  background: var(--ivory); color: var(--navy);
  border: 1px solid rgba(11,42,74,.15); transition: all .2s ease;
}
.copy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.copy.is-copied { background: var(--navy); color: var(--white); border-color: var(--navy); }

.bank__locked {
  text-align: center; padding: 1.8rem 1.2rem;
  background: var(--ivory); border-radius: var(--radius-sm);
  border: 1px dashed rgba(11,42,74,.2);
}
.bank__lock-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.bank__lock-text { color: var(--muted); margin: 0 auto 1.1rem; max-width: 34ch; font-size: .95rem; }

.bank__crucial {
  margin-top: 1.3rem; background: rgba(212,164,59,.1);
  border: 1px solid rgba(212,164,59,.4); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; font-size: .92rem; color: var(--ink);
}
.bank__crucial strong { color: var(--navy); }

.contrib__urgency {
  color: var(--muted); font-size: .95rem; text-align: center;
  background: var(--ivory); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
}

@media (max-width: 820px) {
  .contrib__grid { grid-template-columns: 1fr; }
}

/* ---- Logistics: dates strip ---- */
.dates {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  margin: .9rem 0 1.1rem;
}
.dates__item { display: flex; flex-direction: column; }
.dates__item small {
  text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: rgba(255,255,255,.75);
}
.dates__item span {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--gold-light); line-height: 1.2;
}
.dates__sep { color: var(--gold); font-size: 1.5rem; }

/* ---- Logistics: hotel cards ---- */
.hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hotel-card {
  position: relative; background: var(--ivory); border-radius: var(--radius-sm);
  padding: 1.4rem 1.2rem; border: 1px solid rgba(11,42,74,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hotel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.hotel-card--featured { border: 1.5px solid var(--gold); background: var(--white); }
.hotel-card__tag {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  padding: .2rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.hotel-card h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; margin: 0 0 .1rem; }
.hotel-card p { color: var(--muted); font-size: .85rem; margin: 0 0 1rem; }
.hotel-card__map {
  display: inline-block; font-size: .85rem; font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; transition: color .2s ease;
}
.hotel-card__map:hover { color: var(--gold); }

/* ---- Logistics: nearby chips ---- */
.nearby { margin-top: 1.6rem; }
.nearby__label {
  display: block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .72rem; color: var(--muted); margin-bottom: .7rem;
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  background: var(--ivory); border: 1px solid rgba(11,42,74,.1);
  color: var(--navy); font-size: .85rem; padding: .4rem .9rem; border-radius: 999px;
}

/* ---- Logistics: booking CTA ---- */
.booking {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--white);
  border: 1px solid rgba(212,164,59,.4);
}
.booking h2 { color: var(--white); }
.booking__text { flex: 1 1 320px; }
.booking__text p { color: rgba(255,255,255,.9); margin: 0 0 .6rem; }
.booking__note { font-size: .88rem !important; color: rgba(255,255,255,.7) !important; }
.booking .btn { flex: none; }

@media (max-width: 720px) {
  .hotels { grid-template-columns: 1fr; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 20, 36, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__figure { margin: 0; text-align: center; max-width: 100%; max-height: 100%; }
.lightbox__img {
  max-width: min(1000px, 92vw); max-height: 80vh;
  width: auto; height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  border: 3px solid rgba(255,255,255,.9);
  transform: scale(.96); transition: transform .3s ease;
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__caption {
  margin-top: 1rem; color: var(--ivory);
  font-family: var(--font-head); font-style: italic;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
}

.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer; border-radius: 50%;
  transition: background .25s ease, transform .25s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--navy-deep); transform: scale(1.08); }

.lightbox__close {
  top: clamp(1rem, 3vw, 1.8rem); right: clamp(1rem, 3vw, 1.8rem);
  width: 46px; height: 46px; font-size: 1.8rem; line-height: 1;
}
.lightbox__nav {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; font-size: 2rem; line-height: 1;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 1.5rem); }

@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox__img { max-height: 72vh; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity:0; transform: translateY(18px);} to {opacity:1; transform:none;} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .venue__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__text .section__title { text-align: center; }
  .about__text .section__title::after { margin: .9rem auto 0; }

  .nav__toggle { display: flex; }
  .nav__cta { margin-left: auto; }

  /* Links become a slide-down panel */
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    margin-left: 0; gap: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(11, 42, 74, 0.98);
    backdrop-filter: blur(8px);
    padding: 0 6%;
    max-height: 0; overflow: hidden; opacity: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,.28);
    transition: max-height .38s ease, opacity .3s ease, padding .38s ease;
  }
  .nav.is-nav-open .nav__links {
    max-height: 80vh; opacity: 1; padding: .4rem 6% 1rem;
  }
  .nav__links a {
    color: var(--white); padding: .95rem .2rem; font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .nav__links a::after { display: none; }
  .nav__links-cta {
    display: block; margin-top: .8rem; text-align: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-deep) !important; font-weight: 600;
    border-radius: 999px; border-bottom: 0 !important;
  }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta { background-attachment: scroll; }
  .sticky-rsvp { display: block; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }

  /* Timeline collapses to single column on small screens */
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: .4rem; padding-left: 32px; }
  .timeline li::before { left: 1px; }
  .timeline__time { text-align: left; color: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { transform: none; }
}
