/* ==========================================================================
   Champagne Skies by the Sea — Ericka Joy & Justin Randelle
   --------------------------------------------------------------------------
   To change the whole site's colours, edit the eight values under "PALETTE"
   below. Everything else is derived from them.
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* ---- PALETTE ---------------------------------------------------------- */
  --ivory:        #FAF7F0;
  --white:        #FFFFFF;
  --champagne:    #D8C3A5;
  --light-blue:   #BFD7EA;
  --powder:       #AFCBE3;
  --beige:        #E9DED0;
  --gold:         #B89A63;
  --ink:          #4D4842;

  /* ---- derived neutrals ------------------------------------------------- */
  --ink-soft:     #6B645B;
  --ink-mute:     #8C857A;
  --band-blue:    #F0F6FB;
  --band-beige:   #F7F1E7;
  --line:         rgba(184, 154, 99, .30);
  --line-soft:    rgba(184, 154, 99, .16);
  --line-blue:    rgba(175, 203, 227, .55);

  --shadow-sm: 0 1px 2px rgba(77, 72, 66, .04), 0 6px 18px rgba(77, 72, 66, .05);
  --shadow-md: 0 2px 6px rgba(77, 72, 66, .05), 0 18px 44px rgba(77, 72, 66, .08);
  --shadow-lg: 0 4px 12px rgba(77, 72, 66, .06), 0 30px 70px rgba(77, 72, 66, .10);

  /* ---- type ------------------------------------------------------------- */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                  Helvetica, Arial, sans-serif;
  --font-script:  'Parisienne', 'Snell Roundhand', 'Apple Chancery', cursive;

  /* ---- rhythm ----------------------------------------------------------- */
  --sp-1: .5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;   --sp-6: 4rem;   --sp-7: 6rem;

  --r-xs: 3px;  --r-sm: 6px;  --r-md: 10px;  --r-lg: 14px;

  --container: 1140px;
  --container-narrow: 760px;
  --header-h: 68px;

  --section-y: clamp(4.5rem, 8vw, 8.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .34vw + .93rem, 1.0625rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--gold); }

button { font: inherit; color: inherit; }

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

::selection { background: var(--champagne); color: var(--ink); }

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--white); color: var(--ink);
  padding: .7rem 1.4rem;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: .004em;
  margin: 0;
  color: var(--ink);
}

h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 1.6vw, 1.65rem); font-weight: 400; line-height: 1.25; }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: .01em; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--sp-2);
}

.lede {
  font-size: clamp(1.03rem, .5vw + .92rem, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.8;
}

.script { font-family: var(--font-script); font-weight: 400; }

.small-caps {
  font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* Placeholder values coming from weddingConfig.js, e.g. [TO BE CONFIRMED] */
.ph {
  color: var(--ink-mute);
  font-style: italic;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 1px;
}
.ph__tag {
  display: inline-block;
  margin-left: .5em;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 154, 99, .10);
  border-radius: var(--r-xs);
  padding: .18em .5em;
  vertical-align: .12em;
  white-space: nowrap;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--blue  { background: var(--band-blue); }
.section--beige { background: var(--band-beige); }
.section--white { background: var(--white); }
.section--tight { padding-block: calc(var(--section-y) * .62); }

.section__head { max-width: 62ch; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 + .lede { margin-top: var(--sp-2); }

/* thin ocean line pattern used as a section top edge */
.wave-edge::before {
  content: '';
  position: absolute; inset-inline: 0; top: 0; height: 14px;
  background-repeat: repeat-x;
  background-size: 108px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='14' viewBox='0 0 108 14'%3E%3Cpath d='M0 9c9 0 13.5-5 27-5s18 5 27 5 13.5-5 27-5 18 5 27 5' fill='none' stroke='%23B89A63' stroke-opacity='.30' stroke-width='1.1'/%3E%3C/svg%3E");
  opacity: .9;
  pointer-events: none;
}

/* champagne-gold divider with a small blossom at its centre */
.divider {
  display: flex; align-items: center; gap: 1rem;
  margin-block: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--gold);
}
.divider::before, .divider::after {
  content: ''; flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 22%, var(--line) 78%, transparent);
}
.divider__mark { flex: 0 0 auto; width: 34px; opacity: .85; }
.divider--center { max-width: 460px; margin-inline: auto; }

.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ==========================================================================
   5. CARDS, BUTTONS, PILLS
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  box-shadow: var(--shadow-sm);
}
.card--flush { padding: 0; overflow: hidden; }
.card__label {
  font-size: .7rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .6rem;
}
.card h3 { margin-bottom: .55rem; }
.card__note { color: var(--ink-soft); font-size: .95rem; margin-top: .8rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  padding: .85rem 1.9rem;
  border: 1px solid var(--gold);
  border-radius: var(--r-xs);
  background: var(--gold);
  color: #FFFDF9;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #A5884F; border-color: #A5884F; color: #FFFDF9; }
.btn:active { transform: translateY(1px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(184, 154, 99, .10); border-color: var(--gold); color: var(--ink); }

.btn--on-image {
  background: rgba(255, 253, 249, .92);
  border-color: rgba(255, 253, 249, .92);
  color: var(--ink);
}
.btn--on-image:hover { background: #FFFDF9; border-color: #FFFDF9; color: var(--ink); }

.btn--ghost-on-image {
  background: transparent;
  border-color: rgba(255, 253, 249, .8);
  color: #FFFDF9;
}
.btn--ghost-on-image:hover { background: rgba(255, 253, 249, .16); border-color: #FFFDF9; color: #FFFDF9; }

.btn--sm { min-height: 40px; padding: .55rem 1.15rem; font-size: .7rem; }
.btn__icon { flex: 0 0 auto; width: 16px; height: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.pill {
  display: inline-block;
  font-size: .66rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 154, 99, .10);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill, 999px);
  padding: .3em .85em;
}

/* a soft highlighted note, used for reminders */
.note-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-blue);
  border-left: 3px solid var(--powder);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.4rem;
  color: var(--ink-soft);
  font-size: .98rem;
  box-shadow: var(--shadow-sm);
}
.note-card__icon { flex: 0 0 auto; width: 22px; color: var(--powder); margin-top: .2rem; }

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 247, 240, .92);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom-color: var(--line-soft);
}

.site-header__inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.monogram {
  display: inline-flex; align-items: baseline; gap: .3rem;
  font-family: var(--font-display);
  font-size: 1.25rem; letter-spacing: .06em;
  text-decoration: none; color: var(--ink);
}
.monogram__amp { font-family: var(--font-script); font-size: 1.05rem; color: var(--gold); }
.site-header:not(.is-scrolled) .monogram { color: #FFFDF9; text-shadow: 0 1px 12px rgba(60, 55, 48, .35); }
.site-header:not(.is-scrolled) .monogram__amp { color: #F2E4C9; }

.nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(.9rem, 1.7vw, 1.7rem);
}
.nav__link {
  display: inline-block;
  padding: .35rem 0;
  font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); border-bottom-color: var(--gold); }
.nav__link.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.site-header:not(.is-scrolled) .nav__link { color: rgba(255, 253, 249, .88); text-shadow: 0 1px 10px rgba(60, 55, 48, .3); }
.site-header:not(.is-scrolled) .nav__link:hover,
.site-header:not(.is-scrolled) .nav__link.is-active { color: #FFFDF9; border-bottom-color: #F2E4C9; }

.nav-toggle {
  display: none;
  align-items: center; gap: .6rem;
  min-height: 44px; padding: .4rem .6rem;
  background: none; border: none; cursor: pointer;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.site-header:not(.is-scrolled) .nav-toggle { color: #FFFDF9; }
.nav-toggle__bars { display: inline-grid; gap: 4px; width: 20px; }
.nav-toggle__bars i {
  display: block; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(77, 72, 66, .38);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed; z-index: 99;
    top: 0; right: 0; bottom: 0;
    width: min(84vw, 340px);
    background: var(--ivory);
    border-left: 1px solid var(--line-soft);
    box-shadow: var(--shadow-lg);
    padding: calc(var(--header-h) + 1.5rem) clamp(1.5rem, 6vw, 2.2rem) 2rem;
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform .38s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid var(--line-soft); }
  .nav__link,
  .site-header:not(.is-scrolled) .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: .82rem; letter-spacing: .2em;
    color: var(--ink-soft);
    text-shadow: none;
    border-bottom: none;
  }
  .nav__link.is-active,
  .site-header:not(.is-scrolled) .nav__link.is-active { color: var(--gold); border-bottom: none; }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* warm champagne wash unifies the photo with the palette */
    linear-gradient(180deg, rgba(216, 195, 165, .20), rgba(216, 195, 165, .10)),
    radial-gradient(120% 80% at 50% 44%, rgba(250, 247, 240, .26) 0%, rgba(250, 247, 240, 0) 60%),
    linear-gradient(180deg, rgba(78, 70, 58, .46) 0%, rgba(78, 70, 58, .26) 34%,
                            rgba(78, 70, 58, .32) 66%, rgba(62, 55, 46, .58) 100%);
}

.hero__inner {
  padding: calc(var(--header-h) + 3rem) clamp(1.2rem, 5vw, 2rem) clamp(4.5rem, 9vw, 6rem);
  color: #FFFDF9;
  max-width: 54rem;
}
.hero__eyebrow {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase;
  color: rgba(255, 253, 249, .9);
  margin: 0 0 clamp(1.1rem, 2.4vw, 1.8rem);
}
.hero__names {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 8.2vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: .01em;
  margin: 0;
  /* must be stated: the global h1 rule sets --ink, which would win over the
     white inherited from .hero__inner */
  color: #FFFDF9;
  text-shadow: 0 2px 30px rgba(58, 52, 44, .42), 0 1px 3px rgba(58, 52, 44, .22);
}
.hero__amp {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.5;
  color: #F4E7CE;
  font-weight: 400;
}
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .7rem 1.15rem;
  margin: clamp(1.4rem, 3vw, 2.1rem) 0 0;
  font-size: clamp(.78rem, 1.3vw, .92rem);
  font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
}
.hero__meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #F4E7CE; }
.hero__tagline {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.4;
  color: #F6EAD3;
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0;
}
.hero__secondary {
  max-width: 34ch; margin: .9rem auto 0;
  color: rgba(255, 253, 249, .92);
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.8rem);
}
.hero__rule {
  width: 1px; height: clamp(38px, 7vw, 62px);
  margin: clamp(1.3rem, 3vw, 2rem) auto 0;
  background: linear-gradient(180deg, rgba(255, 253, 249, .7), rgba(255, 253, 249, 0));
}
.hero__scroll-hint {
  position: absolute; left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  font-size: .62rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255, 253, 249, .78);
}

/* ==========================================================================
   8. WELCOME
   ========================================================================== */
.welcome { text-align: center; }
.welcome__body {
  max-width: 60ch;
  margin: clamp(1.3rem, 2.6vw, 1.9rem) auto 0;
  font-size: clamp(1.04rem, .6vw + .92rem, 1.24rem);
  line-height: 1.85;
  color: var(--ink-soft);
}
.welcome__body p { margin-bottom: 1.3em; }
.welcome__signature {
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.welcome__floral { width: min(340px, 68%); margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); opacity: .95; }

/* ==========================================================================
   9. COUNTDOWN
   ========================================================================== */
.countdown { text-align: center; }
.countdown__heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 300;
  margin-bottom: clamp(1.6rem, 3vw, 2.3rem);
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.5rem, 1.6vw, 1.4rem);
  max-width: 620px; margin-inline: auto;
}
.countdown__cell {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(.9rem, 2vw, 1.5rem) .4rem;
  box-shadow: var(--shadow-sm);
}
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.countdown__unit {
  display: block; margin-top: .5rem;
  font-size: .6rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
}
.countdown__note { margin-top: 1.2rem; font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mute); }
.countdown__dayof {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  color: var(--gold);
}

/* ==========================================================================
   10. WEDDING DETAILS
   ========================================================================== */
.details__grid { display: grid; gap: clamp(1.1rem, 2vw, 1.8rem); }
/* a tidy 2×2: date | venue over ceremony | reception, cards matching height */
@media (min-width: 820px) { .details__grid { grid-template-columns: 1fr 1fr; } }
.details__card { display: flex; flex-direction: column; gap: .2rem; }
.details__value { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; }
.details__address { color: var(--ink-soft); font-size: .96rem; margin-top: .35rem; }
.details__list { list-style: none; margin: .9rem 0 0; padding: 0; }
.details__list li {
  display: flex; flex-wrap: wrap; gap: .3rem 1rem;
  justify-content: space-between; align-items: baseline;
  padding: .7rem 0;
  border-top: 1px dashed var(--line-soft);
}
.details__list li:first-child { border-top: none; padding-top: 0; }
.details__list dt, .details__list .details__key {
  font-size: .74rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mute);
}
.details__list .details__val { font-size: 1rem; color: var(--ink); text-align: right; flex: 1 1 auto; }
.details__map { margin-top: 1.2rem; }

/* ==========================================================================
   11. SCHEDULE TIMELINE
   ========================================================================== */
.timeline { position: relative; margin-top: clamp(1rem, 3vw, 2rem); }

/* --- vertical (mobile first) --- */
.timeline__list { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline__list::before {
  content: ''; position: absolute; top: .55rem; bottom: .55rem; left: 7px;
  width: 1px; background: linear-gradient(180deg, var(--line-soft), var(--line), var(--line-soft));
}
.timeline__item { position: relative; padding: 0 0 clamp(1.6rem, 3vw, 2.2rem) 2.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: 0; top: .5rem;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold);
  display: grid; place-items: center;
}
.timeline__dot::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.timeline__time {
  font-size: .74rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
}
.timeline__title { font-family: var(--font-display); font-size: 1.28rem; margin: .2rem 0 0; }
.timeline__note { color: var(--ink-soft); font-size: .93rem; margin-top: .3rem; }

/* --- horizontal (desktop) --- */
@media (min-width: 900px) {
  .timeline__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 4.6rem;
  }
  .timeline__list::before {
    top: 4.6rem; bottom: auto; left: 0; right: 0;
    width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  }
  .timeline__item { padding: 1.6rem .7rem 0; text-align: center; }
  .timeline__dot { left: 50%; top: -7px; transform: translateX(-50%); }
  .timeline__time {
    position: absolute; top: -3.9rem; left: 50%; transform: translateX(-50%);
    white-space: nowrap;
  }
  .timeline__title { font-size: 1.12rem; }
  .timeline__note { font-size: .86rem; }
}

/* ==========================================================================
   12. EXPERIENCES (unconfirmed ideas)
   ========================================================================== */
.experiences { border-top: 1px dashed var(--line-soft); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.4rem, 5vw, 3.6rem); }
.experiences__grid {
  display: grid; gap: clamp(.8rem, 1.6vw, 1.2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}
.experience {
  display: flex; align-items: center; gap: .8rem;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: .95rem 1.1rem;
}
.experience__icon { flex: 0 0 auto; width: 24px; height: 24px; color: var(--gold); }
.experience__icon svg { width: 100%; height: 100%; }
.experience__label { font-size: .95rem; color: var(--ink-soft); line-height: 1.35; }

/* ==========================================================================
   13. DRESS CODE
   ========================================================================== */
.dresscode__name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
}
.dresscode__wording {
  max-width: 64ch; margin: 1.1rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, .5vw + .9rem, 1.14rem);
  line-height: 1.85;
}

.dresscode__figure {
  margin: clamp(2.4rem, 5vw, 3.6rem) auto 0;
  max-width: 880px;
}
.dresscode__figure img {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.dresscode__caption {
  margin-top: .85rem; text-align: center;
  font-size: .86rem; color: var(--ink-mute); font-style: italic;
}

.dresscode__cols {
  display: grid; gap: clamp(1.2rem, 2.4vw, 2rem);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
@media (min-width: 820px) { .dresscode__cols { grid-template-columns: 1fr 1fr; } }

.attire__heading {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  padding-bottom: .7rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.attire__sub {
  font-size: .7rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  margin: 1.4rem 0 .6rem;
}
.attire__sub--avoid { color: var(--ink-mute); }
.attire__list { list-style: none; margin: 0; padding: 0; }
.attire__list li {
  position: relative; padding-left: 1.5rem; margin-bottom: .5rem;
  color: var(--ink-soft); font-size: .98rem; line-height: 1.6;
}
.attire__list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--powder);
}
.attire__list--avoid li::before {
  background: none; top: .5em;
  width: 8px; height: 8px;
  border-radius: 0;
  background-image: linear-gradient(45deg, transparent 44%, var(--ink-mute) 44%, var(--ink-mute) 56%, transparent 56%),
                    linear-gradient(-45deg, transparent 44%, var(--ink-mute) 44%, var(--ink-mute) 56%, transparent 56%);
  opacity: .7;
}
.attire__note {
  margin-top: 1.2rem; font-size: .93rem; font-style: italic; color: var(--ink-mute);
}

.swatches { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.swatches__label {
  font-size: .7rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.swatches__label--avoid { color: var(--ink-mute); }
.swatches__row {
  display: grid; gap: clamp(.6rem, 1.4vw, 1rem);
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
}
.swatch { text-align: center; }
.swatch__chip {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35);
}
.swatch__name {
  display: block; margin-top: .5rem;
  font-size: .66rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); line-height: 1.35;
}
.swatches--avoid .swatch__chip { aspect-ratio: 1 / .62; opacity: .78; }

/* ==========================================================================
   14. TRAVEL
   ========================================================================== */
.travel__band {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  isolation: isolate;
}
.travel__band img { width: 100%; height: clamp(180px, 30vw, 320px); object-fit: cover; }
.travel__band-caption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 2.4rem 1.4rem 1.1rem;
  background: linear-gradient(180deg, rgba(70, 63, 54, 0), rgba(70, 63, 54, .58));
  color: #FFFDF9; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  text-align: center;
}

.airport {
  text-align: center;
  max-width: 54ch;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
}
.airport__label {
  font-size: .7rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.airport__name { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.airport__alias {
  color: var(--ink-mute); font-size: .86rem; font-style: italic; margin-top: .15rem;
}
.airport__note { color: var(--ink-soft); font-size: .96rem; margin-top: .7rem; }

.flow { list-style: none; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 0;
  display: grid; gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.flow__item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.flow__step {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--font-display); font-size: .95rem; color: var(--gold);
  margin-bottom: .7rem;
}
.flow__title { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: .3rem; }
.flow__detail { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }

.kv { list-style: none; margin: 0; padding: 0; }
.kv li {
  display: flex; flex-wrap: wrap; gap: .2rem 1.2rem;
  align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line-soft);
}
.kv li:last-child { border-bottom: none; }
.kv__key {
  flex: 0 0 8.5rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mute);
}
/* left-aligned so long values wrap into a tidy column rather than ragged-left */
.kv__val { flex: 1 1 11rem; text-align: left; }
@media (max-width: 520px) { .kv__key { flex-basis: 100%; } }

/* ==========================================================================
   15. STAY
   ========================================================================== */
.stay__grid { display: grid; gap: clamp(1.1rem, 2vw, 1.8rem); }
@media (min-width: 900px) { .stay__grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.stay__others { display: grid; gap: clamp(1.1rem, 2vw, 1.4rem); }
.hotel__badge { margin-bottom: .8rem; }
.hotel__name { font-family: var(--font-display); font-size: 1.45rem; }
.hotel__loc { color: var(--ink-soft); font-size: .94rem; margin-top: .2rem; }

/* ==========================================================================
   16. OUR STORY
   ========================================================================== */
.story { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); }
.story__chapter {
  display: grid; gap: .5rem;
  padding-left: clamp(1.2rem, 3vw, 2rem);
  border-left: 1px solid var(--line-soft);
}
.story__title { font-family: var(--font-display); font-size: 1.35rem; }
.story__body { color: var(--ink-soft); }

/* ==========================================================================
   17. GALLERY & LIGHTBOX
   ========================================================================== */
.gallery__grid {
  display: grid; gap: clamp(.6rem, 1.4vw, 1rem);
  grid-template-columns: 1fr;
}
/* Three across on wider screens, so nine photos make three even rows. */
@media (min-width: 640px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { position: relative; margin: 0; }
.gallery__btn {
  display: block; width: 100%; padding: 0;
  border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  background: var(--white); cursor: zoom-in; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery__btn img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery__btn:hover img { transform: scale(1.045); filter: saturate(1.04); }
.gallery__cap {
  padding: .6rem .2rem 0;
  font-size: .8rem; color: var(--ink-mute); text-align: center;
}
.gallery__awaiting {
  display: grid; place-items: center; gap: .4rem;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .5);
  color: var(--ink-mute); text-align: center; padding: 1rem;
}
.gallery__awaiting-icon { width: 26px; color: var(--champagne); }
.gallery__awaiting-label { font-size: .92rem; }
.gallery__awaiting-tag {
  font-size: .6rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(.3rem, 2vw, 1.5rem);
  padding: clamp(3.5rem, 8vw, 5rem) clamp(.6rem, 3vw, 2.5rem);
  background: rgba(48, 44, 39, .94);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; min-width: 0; text-align: center; }
.lightbox__img {
  max-width: 100%; max-height: 76vh;
  margin-inline: auto;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.lightbox__caption { margin-top: 1rem; color: rgba(255, 253, 249, .82); font-size: .88rem; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 1.9rem; line-height: 1;
  background: rgba(255, 253, 249, .12);
  color: #FFFDF9; border: none; border-radius: 50%; cursor: pointer;
}
.lightbox__nav {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 1.8rem; line-height: 1;
  background: rgba(255, 253, 249, .12);
  color: #FFFDF9; border: none; border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 253, 249, .24); }

/* ==========================================================================
   18. RSVP FORM
   ========================================================================== */
.rsvp__wrap { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); }
@media (min-width: 940px) {
  .rsvp__wrap { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
}
.rsvp__aside { display: grid; gap: 1.1rem; }
.rsvp__deadline {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--champagne);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.35rem;
}
.rsvp__deadline-label {
  font-size: .68rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .35rem;
}
.rsvp__deadline-value { font-family: var(--font-display); font-size: 1.3rem; }

.form { background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: clamp(1.3rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md); }
.form__grid { display: grid; gap: clamp(1rem, 2vw, 1.35rem); }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__field--full { grid-column: 1 / -1; }
}
.form__section-label {
  grid-column: 1 / -1;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  padding-top: .6rem; margin-bottom: -.3rem;
  border-top: 1px solid var(--line-soft);
}
.form__section-label:first-child { border-top: none; padding-top: 0; }

/* align-content keeps label + input hugging the top when a taller field
   (a textarea, say) stretches the grid row */
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field__label { font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.field__req { color: var(--gold); margin-left: .15em; }
.field__hint { font-size: .78rem; color: var(--ink-mute); }

.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: .6rem .8rem;
  font: inherit; font-size: .98rem;
  color: var(--ink);
  background: #FDFBF7;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.65; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 154, 99, .16);
}
.field input::placeholder, .field textarea::placeholder { color: #B3ABA0; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B89A63' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.2rem;
}

.has-error input, .has-error select, .has-error textarea {
  border-color: #B4694F;
  background: #FDF6F3;
}
.field__error {
  font-size: .78rem; color: #A85E45;
  display: none;
}
/* Works for both .field wrappers and the attendance <fieldset>, whichever
   main.js marked with .has-error */
.has-error > .field__error,
.has-error .field__error { display: block; }
.choice.has-error .choice__option { border-color: #B4694F; }
.choice.has-error .field__error { margin-top: .6rem; }

/* attendance choice — two large tappable cards */
.choice { border: none; margin: 0; padding: 0; grid-column: 1 / -1; }
.choice__legend {
  font-size: .82rem; font-weight: 500; color: var(--ink); padding: 0;
  margin-bottom: .6rem;
}
.choice__options { display: grid; gap: .7rem; }
@media (min-width: 520px) { .choice__options { grid-template-columns: 1fr 1fr; } }
.choice__option {
  position: relative;
  display: flex; align-items: center; gap: .8rem;
  min-height: 60px;
  padding: .9rem 1.1rem;
  background: #FDFBF7;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease);
}
.choice__option:hover { border-color: var(--gold); }
.choice__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__mark {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--gold); display: grid; place-items: center;
}
.choice__mark::after {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); transform: scale(0);
  transition: transform .18s var(--ease);
}
.choice__option input:checked ~ .choice__mark::after { transform: scale(1); }
/* .is-selected is set by main.js so this works even without :has() support */
.choice__option:has(input:checked),
.choice__option.is-selected {
  border-color: var(--gold);
  background: rgba(184, 154, 99, .07);
  box-shadow: 0 0 0 2px rgba(184, 154, 99, .12);
}
.choice__option input:focus-visible ~ .choice__mark {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
.choice__text { font-size: .98rem; line-height: 1.35; }

/* checkbox row */
.check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.check input { margin-top: .28rem; width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 auto; }
.check__text { font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }

/* honeypot — hidden from humans, tempting to bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__footer { margin-top: clamp(1.3rem, 2.5vw, 1.9rem); display: grid; gap: 1rem; }
.form__privacy { font-size: .84rem; color: var(--ink-mute); line-height: 1.6; }
.form__status { font-size: .92rem; min-height: 1.2em; }
.form__status.is-error { color: #A85E45; }
.form__status.is-busy { color: var(--ink-mute); }

.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 253, 249, .45);
  border-top-color: #FFFDF9;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.rsvp__success, .rsvp__closed {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.3rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.rsvp__success-mark { width: 54px; margin: 0 auto 1.2rem; color: var(--gold); }
.rsvp__success h3, .rsvp__closed h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .7rem;
}
.rsvp__success p, .rsvp__closed p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.rsvp__success-actions { margin-top: 1.6rem; }
.rsvp__demo {
  margin-top: 1rem;
  font-size: .78rem; letter-spacing: .04em;
  color: var(--gold);
  background: rgba(184, 154, 99, .09);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  padding: .7rem .9rem;
}

/* ==========================================================================
   19. FAQ
   ========================================================================== */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--line-soft);
}
.faq__item:first-of-type { border-top: 1px solid var(--line-soft); }
.faq__q {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem .2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.4;
  transition: color .2s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold); }
.faq__q-mark {
  flex: 0 0 auto; margin-left: auto; margin-top: .28em;
  width: 13px; height: 13px; position: relative;
}
.faq__q-mark::before, .faq__q-mark::after {
  content: ''; position: absolute; background: var(--gold);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.faq__q-mark::before { inset-inline: 0; top: 6px; height: 1.4px; }
.faq__q-mark::after { inset-block: 0; left: 6px; width: 1.4px; }
.faq__item[open] .faq__q-mark::after { transform: scaleY(0); opacity: 0; }
.faq__a {
  padding: 0 3rem 1.4rem .2rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ==========================================================================
   20. COMFORT
   ========================================================================== */
.comfort__grid {
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}
.comfort__item { text-align: center; }
.comfort__icon {
  width: 52px; height: 52px; margin: 0 auto .7rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-soft);
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.comfort__icon svg { width: 24px; height: 24px; }
.comfort__label { font-size: .9rem; color: var(--ink-soft); }

/* ==========================================================================
   21. GIFTS
   ========================================================================== */
.gifts { text-align: center; }
.gifts__body { max-width: 54ch; margin: 1rem auto 0; color: var(--ink-soft);
  font-size: clamp(1rem, .5vw + .9rem, 1.14rem); }
.gifts__mark { width: 40px; margin: 0 auto 1.4rem; color: var(--champagne); }

/* ==========================================================================
   22. CONTACTS
   ========================================================================== */
.contacts__grid {
  display: grid; gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}
.contact__role {
  font-size: .68rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.contact__name { font-family: var(--font-display); font-size: 1.22rem; margin-bottom: .6rem; }
.contact__line { display: block; font-size: .93rem; color: var(--ink-soft); }
.contact__line a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__line a:hover { border-bottom-color: var(--gold); }

/* ==========================================================================
   23. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 4.6rem) clamp(2rem, 4vw, 2.6rem);
  text-align: center;
  position: relative;
}
.site-footer__floral { width: min(300px, 62%); margin: 0 auto clamp(1.4rem, 3vw, 2.2rem); opacity: .85; }
.site-footer__names {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 300;
}
.site-footer__amp { font-family: var(--font-script); color: var(--gold); }
.site-footer__meta {
  margin-top: .7rem;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
}
.site-footer__closing {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--gold);
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
}
.site-footer__links {
  list-style: none; margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem;
}
.site-footer__links a {
  font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-soft);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.site-footer__links a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.site-footer__privacy {
  max-width: 58ch; margin: clamp(1.6rem, 3vw, 2.2rem) auto 0;
  font-size: .8rem; color: var(--ink-mute); line-height: 1.7;
}
.site-footer__credit { margin-top: 1.6rem; font-size: .72rem; color: #A9A29A; line-height: 1.9; }
.site-footer__credit a { color: inherit; }
.site-footer__attrib { font-size: .68rem; color: #B5AEA6; }

/* ==========================================================================
   24. REVEAL ANIMATION (respects reduced-motion)
   ========================================================================== */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .85s var(--ease), transform .85s var(--ease);
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .hero__inner > * { animation: heroIn 1.25s var(--ease) both; }
  .hero__inner > *:nth-child(1) { animation-delay: .12s; }
  .hero__inner > *:nth-child(2) { animation-delay: .26s; }
  .hero__inner > *:nth-child(3) { animation-delay: .40s; }
  .hero__inner > *:nth-child(4) { animation-delay: .54s; }
  .hero__inner > *:nth-child(5) { animation-delay: .66s; }
  .hero__inner > *:nth-child(6) { animation-delay: .78s; }
  .hero__inner > *:nth-child(7) { animation-delay: .88s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  .hero__img { animation: heroDrift 26s ease-in-out infinite alternate; }
  @keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
}

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

/* ==========================================================================
   25. NOSCRIPT
   ========================================================================== */
.noscript {
  max-width: 44rem;
  margin: 4rem auto;
  padding: clamp(1.6rem, 5vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}
.noscript__eyebrow {
  font-size: .7rem; font-weight: 500; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
}
.noscript__names {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.7rem, 5vw, 2.6rem); margin: .6rem 0 1.4rem;
}
.noscript__line { margin-bottom: .6rem; color: var(--ink-soft); }
.noscript__note {
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--ink-mute);
}

/* ==========================================================================
   26. PRINT — a clean keepsake / offline copy
   ========================================================================== */
@media print {
  .site-header, .nav-toggle, .nav-scrim, .hero__actions, .hero__scroll-hint,
  .lightbox, .form, .rsvp__aside, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { min-height: auto; padding-block: 2rem; }
  .hero__media, .hero__scrim { display: none; }
  .hero__inner { color: #000; }
  .hero__names, .hero__tagline, .hero__amp, .hero__secondary, .hero__eyebrow, .hero__meta { color: #000; text-shadow: none; }
  .section { padding-block: 1.2rem; break-inside: avoid; }
  .card, .note-card, .flow__item, .countdown__cell { box-shadow: none; border-color: #ccc; }
  .faq__item[open] .faq__a, .faq__a { display: block !important; }
}
