/* ============================================================
   Desmarie & Joanson — 13 September 2026
   Palette: champagne + navy
   ============================================================ */

:root {
  --navy-900: #0C1626;
  --navy-800: #14233D;
  --navy-700: #1D3055;
  --navy-600: #2B4270;

  --champagne:       #D8C49B;
  --champagne-light: #EBDCC0;
  --champagne-pale:  #F7F1E6;

  --gold:      #C0A063;
  --gold-deep: #A6874C;

  /* Flag tones for the names. Brightened from the official flag colours so they
     stay legible on the dark hero photo and the navy footer. */
  --jm-green: #1FB55C;
  --jm-gold:  #FFDD6B;
  --gd-red:   #E8455C;
  --gd-gold:  #FFDD6B;
  --gd-green: #22A876;

  --ivory: #FCFAF6;
  --ink:   #1B2333;
  --muted: #5A6478;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script:  "Pinyon Script", "Cormorant Garamond", cursive;
  --font-sans:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1140px;
  --wrap-narrow: 700px;

  --shadow-sm: 0 2px 12px rgba(12, 22, 38, .07);
  --shadow-md: 0 12px 40px rgba(12, 22, 38, .12);
  --shadow-lg: 0 24px 70px rgba(12, 22, 38, .22);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-800); color: var(--champagne);
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- layout ---------- */
.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
.wrap--narrow { width: min(var(--wrap-narrow), calc(100% - 3rem)); }
.center { text-align: center; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--tight { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--pale { background: var(--champagne-pale); }
.section--navy { background: var(--navy-800); color: var(--champagne-pale); }

/* ---------- type ---------- */
.eyebrow {
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  font-weight: 400; color: var(--gold-deep); margin: 0 0 .85rem;
}
.eyebrow--light { color: var(--champagne); }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0;
  color: var(--navy-800);
}
.h2--light { color: var(--champagne-pale); }

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto;
}
.lede--light { color: rgba(247, 241, 230, .82); }
.lede strong { font-weight: 600; color: inherit; }

.fineprint {
  font-size: .84rem; letter-spacing: .04em; color: var(--muted);
  margin: 1.4rem 0 0;
}
.section--navy .fineprint { color: rgba(247, 241, 230, .55); }

/* ---------- the names, in each island's colours ---------- */
.couple {
  display: inline-flex;
  align-items: center;
  gap: .2em;
  white-space: nowrap;
}
.couple__flag {
  flex: none;
  height: .3em; width: auto;
  border-radius: 2px;
  box-shadow: 0 1px 5px rgba(12, 22, 38, .4);
  /* Nudged off the script font's optical centre, which sits high */
  transform: translateY(.04em);
}
/* Gradient runs through each flag's colours. background-clip keeps it inside the
   glyphs; the colour declaration is the fallback if a browser refuses the clip. */
.couple__name {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-repeat: no-repeat;
}
.couple--jm .couple__name {
  color: var(--jm-gold);
  background-image: linear-gradient(102deg, var(--jm-green) 6%, var(--jm-gold) 48%, var(--jm-green) 92%);
}
.couple--gd .couple__name {
  color: var(--gd-gold);
  background-image: linear-gradient(102deg, var(--gd-red) 6%, var(--gd-gold) 50%, var(--gd-green) 94%);
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .couple__name { -webkit-text-fill-color: currentColor; color: var(--champagne-pale); }
}

/* ---------- ornamental rule ---------- */
.rule {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  margin: 1.5rem auto 1.9rem; color: var(--gold); font-size: .8rem;
}
.rule span {
  display: block; height: 1px; width: clamp(46px, 9vw, 96px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.rule span:last-of-type { background: linear-gradient(90deg, var(--gold), transparent); }
.rule--light { color: var(--champagne); }
.rule--light span { background: linear-gradient(90deg, transparent, var(--champagne)); }
.rule--light span:last-of-type { background: linear-gradient(90deg, var(--champagne), transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .95rem 2.2rem;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2.9rem; }

.btn--gold  { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn--gold:hover { background: var(--champagne); border-color: var(--champagne); }

.btn--navy  { background: var(--navy-800); color: var(--champagne-pale); border-color: var(--navy-800); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--ghost { background: transparent; color: var(--champagne-pale); border-color: rgba(216, 196, 155, .55); }
.btn--ghost:hover { background: rgba(216, 196, 155, .14); border-color: var(--champagne); }

/* "Coming soon" state — must stay readable, so no opacity fade */
.btn.is-pending {
  cursor: default;
  background: transparent;
  border-style: dashed;
}
.btn.is-pending:hover { transform: none; }
.btn--gold.is-pending { color: var(--champagne); border-color: rgba(192, 160, 99, .8); }
.btn--navy.is-pending { color: var(--navy-700); border-color: rgba(29, 48, 85, .5); }

.cta-wrap { margin: 2.4rem 0 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); text-decoration: none;
  border-bottom: 1px solid rgba(192, 160, 99, .4);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.link-arrow:hover { color: var(--navy-800); border-color: var(--navy-800); }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: .55rem 0;
}
.nav.is-solid {
  background: rgba(20, 35, 61, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(216, 196, 155, .18);
}
.nav__inner {
  width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__mark {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: .18em; color: var(--champagne-pale);
  text-decoration: none; padding: .5rem 0;
}
.nav__mark span { color: var(--gold); }

.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(247, 241, 230, .82); text-decoration: none;
  padding: .4rem 0; position: relative;
  transition: color .25s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__menu a:hover { color: #fff; }
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  border: 1px solid rgba(216, 196, 155, .55);
  padding: .55rem 1.4rem !important;
  color: var(--champagne) !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold); color: var(--navy-900) !important; border-color: var(--gold); }

.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 24px; height: 1.5px; background: var(--champagne-pale);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after  { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { background: rgba(20, 35, 61, .96); backdrop-filter: blur(10px); }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800);
    border-top: 1px solid rgba(216, 196, 155, .18);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav__menu.is-open { max-height: 26rem; }
  .nav__menu a { padding: 1.05rem 1.5rem; border-bottom: 1px solid rgba(216, 196, 155, .1); }
  .nav__menu a::after { display: none; }
  .nav__cta { border: 0; text-align: left; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.13); } }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 85% at 50% 45%, rgba(12, 22, 38, .42) 0%, rgba(12, 22, 38, .74) 60%, rgba(12, 22, 38, .9) 100%),
    linear-gradient(180deg, rgba(12, 22, 38, .6) 0%, transparent 28%, transparent 62%, rgba(12, 22, 38, .82) 100%);
}

.hero__content { position: relative; text-align: center; color: var(--champagne-pale); max-width: 880px; }

.hero__eyebrow {
  font-size: .72rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--champagne); margin: 0 0 1.6rem;
}
.hero__names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: .98;
  margin: 0;
  color: #fff;
  display: flex; flex-direction: column; align-items: center;
}
.hero__names > * { padding: 0 .12em; }
/* drop-shadow, not text-shadow: the names are gradient-clipped and transparent,
   so a text-shadow would show straight through the glyphs. Two passes — a tight one
   to hold the edges against a busy photo, a soft one to lift the whole word. */
.hero__names .couple {
  filter:
    drop-shadow(0 1px 2px rgba(12, 22, 38, .95))
    drop-shadow(0 4px 22px rgba(12, 22, 38, .7));
}
.hero__amp {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .42em;
  color: var(--gold);
  margin: .1em 0;
  text-shadow: 0 3px 20px rgba(12, 22, 38, .6);
}
.hero__invite {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  letter-spacing: .06em;
  line-height: 1.7;
  color: rgba(247, 241, 230, .92);
  margin: 0 0 1rem;
}
.hero__when {
  font-size: .78rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--champagne); margin: 0;
}

.hero__actions {
  margin-top: 2.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1px solid rgba(216, 196, 155, .5); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 7px; border-radius: 2px; background: var(--champagne);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ---------- countdown ---------- */
.countdown {
  margin: 2.75rem auto 0;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(1rem, 4vw, 2.75rem);
}
.countdown__unit { min-width: 68px; }
.countdown__unit b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.countdown__unit small {
  display: block; margin-top: .5rem;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--champagne);
}
.countdown.is-done { font-family: var(--font-display); }

/* ============================================================
   DETAIL CARDS
   ============================================================ */
.cards {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  margin: 3.25rem auto;
}
.card {
  background: var(--champagne-pale);
  color: var(--ink);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(192, 160, 99, .3);
  position: relative;
}
.card::after {
  content: ""; position: absolute; inset: 9px;
  border: 1px solid rgba(192, 160, 99, .28);
  pointer-events: none;
}
.card__kicker {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 .9rem;
}
.card__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.25;
  margin: 0 0 1.75rem; color: var(--navy-800);
}
.card__list { margin: 0 0 1.75rem; display: grid; gap: 1.1rem; }
.card__list > div { display: grid; gap: .2rem; }
.card__list dt {
  font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
}
.card__list dd { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.card__foot { margin: 0; font-size: .84rem; font-style: italic; color: var(--muted); }

/* ============================================================
   GALLERY
   ============================================================ */
.carousel { position: relative; margin-top: 3.25rem; }

/* The track is the scroll container. Scroll-snap gives native touch swiping and
   momentum for free; the arrows and dots are progressive enhancement on top. */
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; }
.carousel__slide .gallery__item { width: 100%; }

.carousel__arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 46px; height: 46px; margin-top: -23px;
  display: grid; place-items: center;
  font-size: 1.9rem; line-height: 1;
  color: var(--navy-800);
  background: var(--ivory);
  border: 1px solid rgba(192, 160, 99, .55);
  box-shadow: var(--shadow-sm);
  transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.carousel__arrow:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
/* Overlaying the edge photos by default; only clear of them once the viewport is
   wide enough that the wrap's side margin can absorb the arrow. */
.carousel__arrow--prev { left: 10px; }
.carousel__arrow--next { right: 10px; }
/* -58px clears the arrow's own 46px width entirely. Needs a side margin bigger than
   that, which the 1140px wrap only has from about 1320px up. */
@media (min-width: 1320px) {
  .carousel__arrow--prev { left: -58px; }
  .carousel__arrow--next { right: -58px; }
}
.carousel__arrow[disabled] { opacity: 0; pointer-events: none; }

.carousel__dots {
  display: flex; justify-content: center; gap: .6rem;
  margin-top: 1.75rem;
}
.carousel__dot {
  width: 9px; height: 9px; padding: 0;
  border: 1px solid var(--gold-deep);
  background: transparent;
  transition: background-color .3s, transform .3s;
}
.carousel__dot[aria-current="true"] { background: var(--gold-deep); transform: scale(1.25); }

@media (max-width: 900px) {
  .carousel__track { grid-auto-columns: calc((100% - 1rem) / 2); }
  .carousel__arrow { background: rgba(252, 250, 246, .94); }
}
@media (max-width: 560px) {
  .carousel__track { grid-auto-columns: 100%; gap: .75rem; }
}

.gallery__item {
  position: relative; padding: 0; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--champagne-pale);
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 22, 38, .5));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }


/* ============================================================
   TRAVEL INFO
   ============================================================ */
/* Two columns so the four blocks fill a 2x2 grid exactly. */
.info {
  margin-top: 3.25rem;
  display: grid; gap: 2.75rem 3.5rem;
  /* min() keeps the track from forcing overflow on narrow screens */
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}
.info__block { padding-top: 1.5rem; border-top: 1px solid rgba(192, 160, 99, .4); }
.info__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.4rem; margin: 0 0 .85rem; color: var(--navy-800);
}
.info__block p { margin: 0 0 .9rem; color: var(--muted); font-size: .97rem; }
.info__block p:last-child { margin-bottom: 0; }
.info__block strong { font-weight: 500; color: var(--ink); }
.info__note { font-style: italic; font-size: .88rem !important; }

/* ============================================================
   BANK DETAILS
   ============================================================ */
.subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  color: var(--navy-800);
  text-align: center;
  margin: 2.75rem 0 1.9rem;
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
}
/* hairlines either side of the label */
.subhead::before, .subhead::after {
  content: ""; height: 1px; width: clamp(28px, 7vw, 74px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.subhead::after { background: linear-gradient(90deg, var(--gold), transparent); }
.subhead--spaced { margin-top: 3.75rem; }

.banks {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.bank {
  background: var(--champagne-pale);
  border: 1px solid rgba(192, 160, 99, .32);
  border-top: 3px solid var(--gold);
  padding: 1.75rem 1.6rem;
}
.bank__country {
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 .45rem;
}
.bank__bank {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.3rem; line-height: 1.25; color: var(--navy-800);
  margin: 0 0 1.4rem;
}
.bank__list { margin: 0; display: grid; gap: .95rem; }
.bank__list > div { display: grid; gap: .18rem; }
.bank__list dt {
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.bank__list dd { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink); }

.bank__num { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.bank__digits {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.02rem; letter-spacing: .08em; color: var(--navy-800);
  /* digits get transcribed by hand — keep them easy to select */
  user-select: all;
}
.copy {
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  /* navy rather than gold — gold-on-champagne is too faint at this size */
  color: var(--navy-700); padding: .34rem .6rem;
  border: 1px solid rgba(192, 160, 99, .7);
  transition: background-color .25s, color .25s, border-color .25s;
}
.copy:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.copy.is-copied {
  background: var(--navy-800); color: var(--champagne-pale); border-color: var(--navy-800);
}

.currency-note {
  display: inline-block;
  margin: 0 auto;
  padding: 1rem 1.75rem;
  border: 1px dashed rgba(192, 160, 99, .7);
  background: var(--champagne-pale);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink);
}
.currency-note strong {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .88em;
  letter-spacing: .12em;
  color: var(--navy-800);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900); color: var(--champagne-pale);
  padding: 4rem 0 3.25rem; text-align: center;
}
.footer__names {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 6vw, 3.1rem); line-height: 1.2; margin: 0 0 .5rem;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0 .28em;
}
.footer__amp { color: var(--gold); font-family: var(--font-display); font-style: italic; }
.footer__names .couple { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.footer__date {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--champagne); margin: 0 0 2rem;
}
.footer__contact { font-size: .88rem; color: rgba(247, 241, 230, .6); margin: 0; }
.footer__contact a { color: var(--champagne); text-decoration: none; border-bottom: 1px solid rgba(216,196,155,.4); }
.footer__contact a:hover { color: #fff; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 1rem; padding: 1.5rem;
  background: rgba(12, 22, 38, .95);
  backdrop-filter: blur(6px);
  animation: fadeIn .3s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure {
  margin: 0; display: grid; place-items: center; gap: 1rem;
  max-height: calc(100svh - 3rem);
}
.lightbox__figure img {
  max-width: 100%; max-height: calc(100svh - 8rem);
  object-fit: contain; box-shadow: var(--shadow-lg);
}
.lightbox__figure figcaption {
  font-family: var(--font-display); font-style: italic;
  color: var(--champagne); font-size: 1.05rem;
}
.lightbox__close {
  position: absolute; top: 1rem; right: 1.25rem;
  font-size: 2.4rem; line-height: 1; color: var(--champagne-pale);
  width: 48px; height: 48px;
}
.lightbox__nav {
  font-size: 2.6rem; line-height: 1; color: var(--champagne);
  width: 52px; height: 52px; border: 1px solid rgba(216, 196, 155, .3);
  transition: background-color .25s, border-color .25s;
}
.lightbox__nav:hover { background: rgba(216, 196, 155, .15); border-color: var(--champagne); }
.lightbox__close:hover { color: var(--gold); }

@media (max-width: 620px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox__figure { grid-row: 1; }
  .lightbox__nav { grid-row: 2; width: 100%; height: 44px; font-size: 1.8rem; }
  .lightbox__nav--prev { grid-column: 1; justify-self: start; width: 45%; }
  .lightbox__nav--next { grid-column: 1; justify-self: end; width: 45%; margin-top: -44px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; }
}
