/* ═══════════════════════════════════════════════════════════
   WEDDING SITE — GLOBAL STYLES
   Fonts: Cormorant Garamond (serif headings) · Inter (body)
   Gold accent: #BD974E
═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --gold:        #BD974E;
  --gold-dark:   #2a1a00;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Inter', system-ui, -apple-system, sans-serif;

  --bg-gate:     #F9F7F2;
  --bg-nav:      #F3F0E9;
  --bg-countdown:#F0ECE3;
  --bg-story:    #F9F7F2;
  --bg-travel:   #F4F0E9;
  --bg-touch:    #F9F7F2;
  --bg-formbox:  #F2F0EB;
  --bg-checkbox: #F0EDE7;
  --bg-faq:      #F4F0E9;
  --bg-footer:   #F9F7F2;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* offset anchor targets below the fixed nav bar */
  scroll-padding-top: 80px;
}
body {
  font-family: var(--sans);
  color: #2e2e2e;
  background: var(--bg-gate);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY UTILITIES ───────────────────────────────── */
.label-gold {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.1;
  margin: 12px 0 20px;
}

.section-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #888;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ─── DIVIDERS ───────────────────────────────────────────── */
.divider-gold {
  width: 140px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}
.divider-gold--narrow { width: 60px; }
.divider-gold--hero   { width: 100px; margin: 24px auto; }

/* ─── REUSABLE BUTTON — LEFT-TO-RIGHT GOLD FILL ON HOVER ── */
.btn-gold-fill {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  background: linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-position 0.4s ease, color 0.4s ease;
}
.btn-gold-fill:hover {
  background-position: left center;
  color: var(--gold-dark);
}

/* ─── MONOGRAM BADGE ─────────────────────────────────────── */
.monogram-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.monogram-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  /* inner double-ring via outline */
  outline: 3px solid transparent;
  box-shadow: 0 0 0 4px var(--gold), 0 0 0 6px transparent, 0 0 0 8px var(--gold);
  /* override per variant */
}

.monogram-an {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.monogram-date {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Gate badge — large */
.monogram-badge--gate {
  margin-bottom: 28px;
}
.monogram-badge--gate .monogram-ring {
  width: 120px;
  height: 120px;
  box-shadow: 0 0 0 4px var(--gold), 0 0 0 7px var(--bg-gate), 0 0 0 9px var(--gold);
}
.monogram-badge--gate .monogram-an   { font-size: 28px; }
.monogram-badge--gate .monogram-date { font-size: 8px; margin-top: 5px; }

/* Decorative side lines (gate only) */
.monogram-line {
  flex: 1;
  height: 1px;
  background: var(--gold);
  max-width: 60px;
}
.monogram-line--left  { margin-right: 12px; }
.monogram-line--right { margin-left: 12px; }

/* Nav badge — small */
.monogram-badge--nav {
  flex-shrink: 0;
}
.monogram-badge--nav .monogram-ring {
  width: 52px;
  height: 52px;
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px transparent, 0 0 0 5px var(--gold);
  transition: box-shadow 0.3s ease;
}
.monogram-badge--nav .monogram-an   { font-size: 13px; }
.monogram-badge--nav .monogram-date { font-size: 5px; margin-top: 3px; }

/* Footer badge — medium */
.monogram-badge--footer .monogram-ring {
  width: 90px;
  height: 90px;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px var(--bg-footer), 0 0 0 8px var(--gold);
}
.monogram-badge--footer .monogram-an   { font-size: 22px; }
.monogram-badge--footer .monogram-date { font-size: 7px; margin-top: 4px; }


/* ═══════════════════════════════════════════════════════════
   SECTION 1 — PASSWORD GATE
═══════════════════════════════════════════════════════════ */

#password-gate {
  position: fixed;
  inset: 0;
  background: var(--bg-gate);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gate-card {
  text-align: center;
  max-width: 440px;
  width: 90%;
  padding: 20px 30px 40px;
}

.gate-names {
  font-family: var(--serif);
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 300;
  color: #1a1a1a;
  margin: 14px 0 4px;
  line-height: 1.1;
}

.gate-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #999;
  margin: 16px 0 20px;
}

.gate-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c9b87a;
  margin: 0 auto 8px;
  max-width: 320px;
}

.gate-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 36px 10px 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #555;
  width: 100%;
  letter-spacing: 0.05em;
}
.gate-input::placeholder { color: #bbb; font-style: italic; }

.gate-eye {
  position: absolute;
  right: 4px;
  color: #bbb;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.gate-eye:hover { color: var(--gold); }
.gate-eye svg   { width: 18px; height: 18px; }

.gate-error {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  min-height: 20px;
  margin: 8px auto 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.gate-error--visible { opacity: 1; }

#gate-submit { margin-top: 4px; }

.gate-footer-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: #bbb;
  margin-top: 28px;
}


/* ═══════════════════════════════════════════════════════════
   STICKY TOP NAV
═══════════════════════════════════════════════════════════ */

#top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: transparent;
  transition: background-color 0.4s ease;
}

#top-nav.nav--solid {
  background: var(--bg-nav);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Nav ring color adjusts with scroll */
#top-nav .monogram-ring {
  box-shadow: 0 0 0 2px rgba(232,196,104,0.5), 0 0 0 4px transparent, 0 0 0 5px rgba(232,196,104,0.5);
  transition: box-shadow 0.4s ease;
}
#top-nav.nav--solid .monogram-ring {
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px transparent, 0 0 0 5px var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.4s ease, opacity 0.2s;
}
.nav-links a:hover { opacity: 0.7; }

#top-nav.nav--solid .nav-links a { color: #5a4a30; }
#top-nav.nav--solid .nav-links a:hover { color: var(--gold); opacity: 1; }


/* ─── HAMBURGER BUTTON (mobile only) ────────────────────── */
#nav-hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

#nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.4s ease;
  transform-origin: center;
}

/* Lines turn dark when nav is solid */
#top-nav.nav--solid #nav-hamburger span { background: #5a4a30; }

/* Hamburger animates into an X when open */
#nav-hamburger.hamburger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#nav-hamburger.hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-hamburger.hamburger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE MENU PANEL ──────────────────────────────────── */
#mobile-menu {
  position: fixed;
  top: 80px; /* sits flush below the nav bar */
  left: 0;
  right: 0;
  z-index: 499;
  background: var(--bg-nav);
  border-top: 1px solid rgba(189,151,78,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

#mobile-menu.mobile-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  padding: 8px 0;
}

.mobile-menu-links li {
  border-bottom: 1px solid rgba(189,151,78,0.12);
}
.mobile-menu-links li:last-child { border-bottom: none; }

.mobile-menu-links a {
  display: block;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5a4a30;
  transition: color 0.2s, background-color 0.2s;
}
.mobile-menu-links a:hover {
  color: var(--gold);
  background: rgba(189,151,78,0.05);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 2 — HERO
═══════════════════════════════════════════════════════════ */

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.label-gold--hero { color: var(--gold); }

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 16px 0;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero-amp {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.2;
}

.hero-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.scroll-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.5);
}


/* ═══════════════════════════════════════════════════════════
   SECTION 3 — COUNTDOWN
═══════════════════════════════════════════════════════════ */

#countdown { background: var(--bg-countdown); }

/* Dark marble-style divider band */
.countdown-divider {
  background: linear-gradient(160deg, #0f1c2e 0%, #1a2c45 50%, #12202f 100%);
  padding: 60px 20px 70px;
  text-align: center;
  position: relative;
}

.countdown-div-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 4vw, 34px);
  color: #fff;
  margin-bottom: 10px;
}

.countdown-divider .label-gold { color: var(--gold); }

.countdown-divider .scroll-indicator {
  position: static;
  transform: none;
  margin-top: 30px;
}

/* Countdown numbers */
.countdown-body {
  text-align: center;
  padding: 60px 20px 70px;
}

.countdown-label-top {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #999;
  margin-bottom: 40px;
}

.countdown-timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.countdown-num {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.countdown-unit-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 8px;
}

.countdown-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  /* Center with numerals: align-self centers to the full unit height (num+label),
     then translate up by half the label block height (~14px) to sit on the numbers */
  align-self: center;
  transform: translateY(-14px);
}
.countdown-sep span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}


/* ═══════════════════════════════════════════════════════════
   SECTION HEADER (shared by Our Story, Travel, etc.)
═══════════════════════════════════════════════════════════ */

.section-header {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.olive-icon {
  width: 80px;
  height: auto;
  margin: 0 auto;
  opacity: 0.85;
}

.olive-icon--large { width: 120px; }

.section-footer-label {
  text-align: center;
  padding: 60px 20px 30px;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 4 — OUR STORY / TIMELINE
═══════════════════════════════════════════════════════════ */

#our-story { background: var(--bg-story); }

.timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 40px 40px;
}

/* Center vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.timeline-entry {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 80px;
  position: relative;
}

.timeline-entry:last-child { margin-bottom: 20px; }

/* Center dot */
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin: 0 30px;
}

/* Photo side */
.timeline-photo-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 10px;
}

/* Text side */
.timeline-text {
  flex: 1;
  padding-left: 10px;
}

/* Reversed: photo right, text left */
.timeline-entry--reverse .timeline-photo-wrap {
  order: 3;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 10px;
}
.timeline-entry--reverse .timeline-dot { order: 2; }
.timeline-entry--reverse .timeline-text {
  order: 1;
  text-align: right;
  padding-left: 0;
  padding-right: 10px;
}
.timeline-entry--reverse .divider-gold { margin-left: auto; margin-right: 0; }

/* Arch-shaped photo */
.arch-photo {
  position: relative;
  width: 260px;
  height: 340px;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.arch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.arch-photo:hover img { transform: scale(1.04); }

.arch-caption {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: #f5f0e6;
  border: 1px solid var(--gold);
  padding: 6px 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
}

.timeline-heading {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.timeline-body {
  font-family: var(--serif);
  font-size: 16px;
  color: #777;
  line-height: 1.8;
  max-width: 380px;
}

.timeline-entry--reverse .timeline-body { margin-left: auto; }


/* ═══════════════════════════════════════════════════════════
   SECTION 5 — TRAVEL
═══════════════════════════════════════════════════════════ */

#travel { background: var(--bg-travel); }

/* #travel-map layout and styles are in css/map.css */

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.travel-box {
  background: var(--bg-gate);
  border: 1px solid rgba(232,196,104,0.35);
  padding: 36px 28px;
  text-align: center;
}

.travel-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.travel-icon { width: 36px; height: 36px; }
.travel-icon-wrap--emoji { font-size: 32px; }

.travel-box-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.travel-box-body {
  font-family: var(--sans);
  font-size: 14px;
  color: #777;
  line-height: 1.8;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 6 — STAY IN TOUCH
═══════════════════════════════════════════════════════════ */

#get-in-touch { background: var(--bg-touch); }

.form-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 48px 48px;
  background: var(--bg-formbox);
  border: 1px solid rgba(232,196,104,0.3);
}

.form-salutation-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.blockquote-line {
  width: 2px;
  align-self: stretch;
  min-height: 36px;
  background: var(--gold);
  flex-shrink: 0;
}

.form-salutation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: #555;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-row .form-field { margin-bottom: 0; }

.form-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #c9b87a;
  outline: none;
  padding: 8px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #444;
  width: 100%;
  transition: border-color 0.2s;
}
.form-input:focus      { border-color: var(--gold); }
.form-input::placeholder { color: #bbb; font-style: italic; }

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Checkbox card */
.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-checkbox);
  border: 1px solid rgba(232,196,104,0.35);
  padding: 20px;
  cursor: pointer;
  margin: 24px 0;
  user-select: none;
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.2s;
}

.checkbox-sparkle {
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}

.checkbox-card input:checked + .custom-checkbox {
  background: rgba(232,196,104,0.1);
}
.checkbox-card input:checked + .custom-checkbox .checkbox-sparkle {
  opacity: 1;
}

.checkbox-card-text { flex: 1; }

.checkbox-card-q {
  font-family: var(--serif);
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.5;
}

.checkbox-card-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* Sign-off */
.form-sign-off {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.form-sign-off-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: #555;
}

.form-submit-wrap { text-align: center; }


/* ═══════════════════════════════════════════════════════════
   SECTION 7 — FAQ
═══════════════════════════════════════════════════════════ */

#faq { background: var(--bg-faq); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px 80px;
  border-top: 1px solid rgba(232,196,104,0.3);
}

/* Stagger fade-in (applied by scroll.js) */
.faq-item {
  border-bottom: 1px solid rgba(232,196,104,0.3);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.faq-item--visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-family: var(--serif);
  font-size: 18px;
  color: #1a1a1a;
  transition: color 0.3s;
  line-height: 1.4;
}

.faq-item--open .faq-question span { color: var(--gold); }

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.faq-item--open .faq-icon { transform: rotate(45deg); }

/* Accordion open via grid trick */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item--open .faq-answer { grid-template-rows: 1fr; }

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #777;
  line-height: 1.85;
  padding-bottom: 24px;
}

.faq-answer a { color: var(--gold); }

/* Bordered box on open item — box-shadow provides all 4 sides without
   touching the layout, so question text/icon never shift position */
.faq-item--open {
  box-shadow: 0 0 0 1px rgba(189,151,78,0.45);
  border-bottom-color: transparent; /* shadow covers the bottom edge */
}


/* ═══════════════════════════════════════════════════════════
   SECTION 8 — FOOTER
═══════════════════════════════════════════════════════════ */

#footer {
  background: var(--bg-footer);
  text-align: center;
  padding: 70px 40px 50px;
  border-top: 1px solid rgba(232,196,104,0.2);
}

#footer .monogram-badge { margin-bottom: 28px; }
#footer .olive-icon     { margin: 20px auto 28px; }

.footer-names {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 20px 0 32px;
}

.footer-nav a {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-love {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: #aaa;
  margin-bottom: 10px;
}

.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.05em;
}



/* ═══════════════════════════════════════════════════════════
   CONTACT FORM — CONFIRMATION / ERROR STATES
═══════════════════════════════════════════════════════════ */

.form-confirmation {
  text-align: center;
  padding: 60px 40px;
}

.form-confirm-icon {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1;
}

.form-confirm-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.form-confirm-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #888;
  line-height: 1.75;
}

.form-error-msg {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: #b94040;
  line-height: 1.65;
  padding: 10px 0 6px;
}

.form-error-msg a {
  color: var(--gold);
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════ */

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@keyframes shake {
  0%, 100%            { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-7px); }
  20%, 40%, 60%, 80%  { transform: translateX(7px); }
}

@keyframes gateExit {
  to { transform: scale(1.06); opacity: 0; }
}

.shake { animation: shake 0.5s ease; }

.gate-card--exit {
  animation: gateExit 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  #top-nav { padding: 12px 20px; }
  .nav-links { display: none; }       /* hide inline links on mobile */
  #nav-hamburger { display: flex; }   /* show hamburger instead */

  .timeline { padding: 10px 20px 20px; }
  .timeline::before { display: none; }

  .timeline-entry,
  .timeline-entry--reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
  }

  .timeline-entry--reverse .timeline-photo-wrap,
  .timeline-entry--reverse .timeline-dot,
  .timeline-entry--reverse .timeline-text {
    order: unset;
    text-align: center;
    padding: 0;
  }

  .timeline-photo-wrap { padding: 0; justify-content: center; }
  .timeline-text { padding: 0; }
  .timeline-entry--reverse .divider-gold { margin: 20px auto; }
  .timeline-dot { margin: 20px 0; }
  .timeline-body { max-width: 100%; margin: 0; }

  .arch-photo { width: 220px; height: 290px; }

  .form-box { padding: 28px 20px 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: 24px; }

  .faq-list { padding: 0 20px 60px; }

  .travel-grid { padding: 0 20px 60px; }

  .countdown-sep { padding: 0 8px; padding-top: 18px; }
  .countdown-unit { min-width: 60px; }

  .section-header { padding: 60px 20px 30px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 56px; }
  .countdown-num { font-size: 40px; }
  .countdown-sep { padding: 0 6px; padding-top: 14px; }
}
