/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  --cream:     #F7F3EC;
  --dark-navy: #0D0D1F;
  --mint:      #C8DDD8;
  --teal:      #4D8B7E;
  --ink:       #1A1A2E;
  --white:     #FFFFFF;
}

/* ─── SITE NAV ───────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}

#site-nav.scrolled {
  pointer-events: auto;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26, 26, 46, 0.08);
}

/* Logo */
.nav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 16px;
  color: var(--teal);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  white-space: nowrap;
}
#site-nav.scrolled .nav-logo {
  opacity: 1;
  pointer-events: auto;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
#site-nav.scrolled .nav-links {
  opacity: 1;
  pointer-events: auto;
}
.nav-links a {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-rsvp-pill {
  border: 1.5px solid var(--teal) !important;
  color: var(--teal) !important;
  border-radius: 999px;
  padding: 6px 16px !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-rsvp-pill:hover {
  background: var(--teal) !important;
  color: #fff !important;
}

/* Burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
#site-nav.scrolled .nav-burger {
  opacity: 1;
  pointer-events: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
#site-nav.open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#site-nav.open .nav-burger span:nth-child(2) { opacity: 0; }
#site-nav.open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
#nav-mobile {
  display: flex; /* always in layout so transitions work */
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  /* closed state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}
#nav-mobile.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0s;
}

/* Staggered item entrance */
#nav-mobile .nav-mobile-close,
#nav-mobile .nav-mobile-logo,
#nav-mobile a {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#nav-mobile.open .nav-mobile-close { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
#nav-mobile.open .nav-mobile-logo  { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
#nav-mobile.open a:nth-child(3)    { opacity: 1; transform: translateY(0); transition-delay: 0.11s; }
#nav-mobile.open a:nth-child(4)    { opacity: 1; transform: translateY(0); transition-delay: 0.14s; }
#nav-mobile.open a:nth-child(5)    { opacity: 1; transform: translateY(0); transition-delay: 0.17s; }
#nav-mobile.open a:nth-child(6)    { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
#nav-mobile.open a:nth-child(7)    { opacity: 1; transform: translateY(0); transition-delay: 0.23s; }
#nav-mobile.open a:nth-child(8)    { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
#nav-mobile.open a:nth-child(9)    { opacity: 1; transform: translateY(0); transition-delay: 0.29s; }
.nav-mobile-logo {
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 8px;
}
#nav-mobile a {
  font-family: 'Geologica', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
#nav-mobile a:hover { color: var(--teal); }
#nav-mobile .nav-rsvp-pill {
  border: 1.5px solid var(--teal);
  color: var(--teal) !important;
  border-radius: 999px;
  padding: 10px 32px;
  margin-top: 8px;
}

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.nav-mobile-close:hover {
  background: rgba(26, 26, 46, 0.08);
}

/* Show burger on mobile, hide desktop links */
@media (max-width: 699px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ─── FADE-UP SCROLL REVEAL ─────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.d1 { transition-delay: 0.10s; }
.fade-up.d2 { transition-delay: 0.22s; }
.fade-up.d3 { transition-delay: 0.38s; }
.fade-up.d4 { transition-delay: 0.55s; }
.fade-up.d5 { transition-delay: 0.70s; }

/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}

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

a { text-decoration: none; color: inherit; }

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────────────────── */
.script { font-family: 'Pacifico', cursive; }

.label {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.71rem;
  color: var(--teal);
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-weight: 400;
}

.label-light {
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-size: 0.675rem;
  color: #fffff8;
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-weight: 400;
}

/* ─── SEA CREATURE PATTERN (for dark sections) ───────────────────────────── */
.sea-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='white' stroke-width='1' opacity='0.08'%3E%3C!-- Nautilus shell --%3E%3Cpath d='M40 30 Q55 20 65 30 Q75 45 65 55 Q50 65 38 55 Q28 42 40 30Z' /%3E%3Cpath d='M40 30 Q48 25 53 32 Q58 40 52 46 Q44 50 38 45 Q34 38 40 30Z' /%3E%3Cpath d='M40 30 Q44 28 46 32 Q49 37 46 41 Q42 43 39 40 Q37 36 40 30Z' /%3E%3Cline x1='40' y1='30' x2='65' y2='30' stroke-width='0.5' /%3E%3C!-- Starfish --%3E%3Cpath d='M150 50 L153 40 L156 50 L165 47 L158 54 L161 64 L153 58 L145 64 L148 54 L141 47Z' /%3E%3Cline x1='153' y1='40' x2='153' y2='64' stroke-width='0.5' /%3E%3Cline x1='141' y1='47' x2='165' y2='61' stroke-width='0.5' /%3E%3Cline x1='165' y1='47' x2='141' y2='61' stroke-width='0.5' /%3E%3C!-- Spiral shell --%3E%3Cpath d='M30 140 Q45 125 60 140 Q70 155 55 165 Q40 172 28 160 Q18 145 30 140Z' /%3E%3Cpath d='M30 140 Q38 133 47 140 Q53 150 45 156 Q36 160 29 153 Q24 145 30 140Z' /%3E%3C!-- Small wave --%3E%3Cpath d='M100 100 Q110 93 120 100 Q130 107 140 100' /%3E%3Cpath d='M80 115 Q90 108 100 115 Q110 122 120 115 Q130 108 140 115' /%3E%3C!-- Small nautilus bottom-right --%3E%3Cpath d='M155 155 Q165 145 172 155 Q178 165 170 172 Q160 178 152 170 Q146 160 155 155Z' /%3E%3Cpath d='M155 155 Q160 151 164 156 Q167 162 163 166 Q158 169 154 165 Q151 159 155 155Z' /%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ─── SECTION LAYOUT ─────────────────────────────────────────────────────── */
section { position: relative; }

.section-inner {
  max-width: 672px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.section-inner-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

/* ─── 1. HERO ────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: url('assets/Heroimage.png') center center / cover no-repeat;
  background-color: var(--dark-navy);
  position: relative;
  text-align: center;
}

/* Hero background video — sits above the static image, below the tint overlay */
#hero > #hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
#hero > #hero-bg-video.visible {
  opacity: 1;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.04);
  z-index: 1;
}

#hero > * { z-index: 2; }

/* Center group: positioned above the vertical midpoint, matching Figma */
.hero-center-group {
  position: absolute;
  top: calc(50% - 115.31px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26.25px;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

.hero-date {
  font-size: 12px;
  letter-spacing: 1.875px;
  text-transform: uppercase;
  color: #050018;
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 10px;
}

.hero-names {
  font-family: 'Pacifico', cursive;
  font-size: 20px;
  color: #050018;
  font-weight: 400;
  letter-spacing: 3.375px;
  line-height: 21.563px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.hero-names span.amp {
  font-size: 20px;
  color: #5e7d78;
  letter-spacing: 3.75px;
  line-height: 21.563px;
  text-transform: uppercase;
}

.hero-location {
  font-size: 12px;
  letter-spacing: 1.875px;
  text-transform: uppercase;
  color: #050018;
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: normal;
}

/* Pinned to bottom-center — Figma: top 618px in 667px frame = bottom 19px */
#hero .hero-cta {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7.5px;
}

.hero-cta-label {
  font-size: 10px;
  letter-spacing: 2.25px;
  text-transform: uppercase;
  color: #050018;
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-weight: 400;
}

/* Bare arrow — no circle border, Figma shows just the icon */
#hero-scroll-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #050018;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

#hero-scroll-btn:hover { opacity: 0.6; }

/* ─── LANGUAGE SELECTOR ─────────────────────────────────────────────────── */
/* Use #hero prefix to beat the #hero > * { position: relative } rule */
#hero .lang-selector {
  position: absolute;
  top: 19px;
  right: 14px;
  z-index: 10;
}
.lang-selector {
  z-index: 10;
}

.lang-pill {
  display: flex;
  align-items: center;
  gap: 2.5px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3.75px);
  -webkit-backdrop-filter: blur(3.75px);
  border: none;
  border-radius: 999px;
  padding: 3.75px 5px 3.75px 3.75px;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-pill:hover { background: rgba(255, 255, 255, 0.8); }

.lang-active-pill {
  display: flex;
  align-items: center;
  gap: 1.25px;
  background: white;
  border-radius: 12.5px;
  padding: 5px 7.5px;
}

.lang-code {
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #5e7d78;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  line-height: 1;
}

.lang-flag {
  font-size: 10px;
  line-height: 1;
}

.lang-chevron {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  overflow: hidden;
  min-width: 80px;
}

.lang-selector.open .lang-menu { display: flex; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: none;
  border: none;
  font-family: 'Geologica', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #050018;
  letter-spacing: 0.8px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background 0.15s;
}

.lang-option:hover { background: rgba(94, 125, 120, 0.1); }
.lang-option.active { color: #5e7d78; font-weight: 500; }

/* ─── SOUND BUTTON ───────────────────────────────────────────────────────── */
.sound-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #050018;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: opacity 0.2s, transform 0.15s;
}

.sound-btn:hover { opacity: 0.85; transform: scale(1.05); }


/* ─── 2. COUNTDOWN ───────────────────────────────────────────────────────── */
#countdown {
  background-color: var(--dark-navy);
  background-image: url('assets/Countdown.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.countdown-inner {
  max-width: 672px;
  margin: 0 auto;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.countdown-heading {
  font-family: 'Pacifico', cursive;
  font-size: clamp(24px, 4.5vw, 35px);
  color: #fffff8;
  font-weight: 400;
  letter-spacing: 0.025em;
  margin: 12px 0 20px;
  text-shadow: 0 1px 2px rgba(54, 77, 99, 0.1);
}

.countdown-line {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 248, 0.25);
  margin: 0 auto 40px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 43px);
  flex-wrap: wrap;
}

.countdown-unit {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.countdown-number {
  font-family: 'Pacifico', cursive;
  font-size: clamp(38px, 8vw, 47px);
  font-weight: 400;
  color: #fffff8;
  line-height: 1;
  letter-spacing: 0.04em;
}

.countdown-label {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #fffff8;
  font-weight: 400;
}

/* ─── 3. OUR STORY ───────────────────────────────────────────────────────── */
/* Story track — tall container that drives sticky horizontal scroll on mobile */
#story-track {
  position: relative;
  /* Height set dynamically by JS — tall enough to drive the full horizontal scroll */
}

/* Sticky-scroll: section pins while JS drives the horizontal carousel */
#our-story {
  background: url('assets/Our story.png') center center / cover no-repeat;
  background-color: var(--dark-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 64px 0 0;
  position: sticky;
  top: 0;
  height: 80vh;
  overflow: hidden;
}

.story-cards-wrap {
  overflow-x: hidden !important; /* driven solely by JS scroll position */
  scroll-snap-type: none !important;
}

.story-title-pill {
  background: #fffff8;
  padding: 20px 24px;
  border-radius: 0;
  text-align: center;
  flex-shrink: 0;
  max-width: calc(100% - 48px);
}

.story-title-pill h2 {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: #050018;
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: 30px;
}

.story-cards-wrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 64px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px calc(50% - 140px) 16px;
  align-items: flex-start;
}

.story-cards-wrap::-webkit-scrollbar { display: none; }

/* Desktop: centre the cards strip with equal side padding */
@media (min-width: 900px) {
  .story-cards-wrap {
    padding: 8px 64px 16px;
    justify-content: flex-start;
  }
}

.polaroid {
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 4px 11.75px rgba(0, 0, 0, 0.25);
  padding: 12px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  height: 349px;
  cursor: pointer;
  scroll-snap-align: center;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transition: box-shadow 0.3s ease;
}

.polaroid img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Sydney — wrapper fills card, image covers without distortion */
.polaroid-img-wrap {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.polaroid-img-wrap .sydney-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.polaroid-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  text-align: right;
}

.polaroid-location {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 1.63px;
  text-transform: uppercase;
  color: #5e7d78;
  font-weight: 400;
  text-align: right;
  width: 100%;
  line-height: normal;
}

.polaroid-title {
  font-family: 'Pacifico', cursive;
  font-size: 18px;
  color: #050018;
  font-weight: 400;
  letter-spacing: 0.0384px;
  line-height: 1.3;
  text-align: right;
  width: 100%;
}

.polaroid:nth-child(1),
.polaroid:nth-child(3) {
  transform: rotate(-4deg);
}

.polaroid:nth-child(1):hover,
.polaroid:nth-child(3):hover {
  transform: rotate(-4deg);
}

.polaroid:nth-child(2),
.polaroid:nth-child(4) {
  transform: rotate(4deg);
}

.polaroid:nth-child(2):hover,
.polaroid:nth-child(4):hover {
  transform: rotate(4deg);
}

.polaroid:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ─── 4. LOCATION ────────────────────────────────────────────────────────── */
#location {
  background: #ddf0ec;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 31px;
  padding: 64px 32px;
}

.location-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  text-align: center;
  width: 100%;
  max-width: 672px;
}

.location-label {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 10.8px;
  letter-spacing: 3.85px;
  text-transform: uppercase;
  color: #050018;
  font-weight: 400;
}

.location-heading {
  font-family: 'Pacifico', cursive;
  font-size: clamp(26px, 4.5vw, 35px);
  color: #050018;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.location-polaroid {
  background: rgba(251, 248, 241, 0.92);
  border-radius: 5px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35), 0 8px 16px -8px rgba(0, 0, 0, 0.2);
  padding: 12px 16px 0;
  width: 288px;
  height: 363px;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

.location-polaroid > img:first-child {
  width: 256px;
  height: 268px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.location-polaroid-caption {
  padding-top: 12px;
  text-align: right;
}

.location-polaroid-sub {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 9.3px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: #5e7d78;
  font-weight: 400;
  margin-bottom: 6px;
}

.location-polaroid-name {
  font-family: 'Pacifico', cursive;
  font-size: 19.2px;
  color: #060119;
  font-weight: 400;
  line-height: 1.15;
}

.location-shell {
  position: absolute;
  bottom: -28px;
  left: -52px;
  width: 110px;
  height: auto;
  transform: rotate(-30deg);
  pointer-events: none;
}

.location-coords {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 13.5px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #060119;
  font-weight: 400;
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: none;
  border-radius: 999px;
  background: var(--white);
  color: #050018;
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.08px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.maps-btn:hover { background: #f0f0f0; }

.maps-btn img { display: block; flex-shrink: 0; }

/* ─── 5. PROGRAM ─────────────────────────────────────────────────────────── */
#program {
  background: #fefef7;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: clip;
}

.program-inner {
  max-width: 672px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 32px 40px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.program-shell2 {
  position: absolute;
  top: 31px;
  right: 21px;
  width: 77px;
  height: auto;
  pointer-events: none;
  transform: rotate(-15deg);
  transform-origin: center center;
}

.program-oyster {
  position: absolute;
  left: 11px;
  top: 269px;
  width: 70px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.program-label {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: uppercase;
  color: #060119;
  font-weight: 400;
  line-height: 10.313px;
  margin-bottom: 12px;
}

.program-heading {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: #060119;
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: 30px;
  margin: 0 0 32px;
}

.program-date {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #5e7d78;
  font-weight: 700;
  line-height: 12.5px;
  margin-bottom: 19px;
}

#program-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  padding-bottom: 8px;
}

.program-time {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.6875px;
  color: #060119;
  line-height: 17.5px;
  text-transform: capitalize;
}

.program-event {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: capitalize;
  color: #060119;
  line-height: 12.5px;
}

.program-divider {
  width: 12.5px;
  height: 0.625px;
  background: rgba(88, 93, 101, 0.35);
  border-radius: 34px;
  display: block;
}

.lighthouse-wrap {
  width: 100%;
  display: block;
  margin-top: 8px;
}

/* ─── 6. DRESSCODE ───────────────────────────────────────────────────────── */
#dresscode {
  background: #fefef7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px;
  gap: 24px;
  text-align: center;
}

.dresscode-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 672px;
}

.dresscode-label {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #5e7d78;
  letter-spacing: 2.4063px;
  text-transform: uppercase;
  line-height: normal;
}

.dresscode-heading {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: #060119;
  letter-spacing: 0.5625px;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.dresscode-illustration {
  width: 100%;
  max-width: 672px;
  aspect-ratio: 1200 / 668;
  overflow: hidden;
}

.dresscode-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dresscode-tagline {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #060119;
  letter-spacing: 0.3125px;
  line-height: 17.188px;
  max-width: 672px;
  width: 100%;
  margin: 0;
}

.dresscode-body {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 200;
  color: #060119;
  letter-spacing: 0.3125px;
  line-height: 17.188px;
  max-width: 672px;
  width: 100%;
  margin: 0;
}

/* ─── 7. ACCOMMODATION ───────────────────────────────────────────────────── */
#accommodation {
  background-color: var(--dark-navy);
  background-image: url('assets/Accomodation.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px;
  gap: 24px;
}

.accommodation-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
}

.accommodation-label {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: uppercase;
  color: white;
  font-weight: 400;
  line-height: normal;
}

.accommodation-heading {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: normal;
  margin: 0;
}

.accommodation-intro {
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: white;
  font-weight: 200;
  letter-spacing: 0.05px;
  line-height: normal;
  width: 100%;
  max-width: 672px;
  text-align: center;
}

#accommodation-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 672px;
}

.hotel-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0px 0.625px 0.625px rgba(0,0,0,0.05);
  backdrop-filter: blur(1.25px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hotel-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotel-name {
  font-family: 'Pacifico', cursive;
  font-size: 20px;
  color: #050018;
  line-height: normal;
  font-weight: 400;
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 2.5px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: 17.344px;
}

.hotel-location-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hotel-desc {
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: #050018;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: normal;
}

.hotel-code {
  display: flex;
  align-items: center;
  gap: 2.5px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: #516252;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: 17.344px;
  flex-wrap: wrap;
}

.hotel-code code {
  font-family: 'Menlo', 'Courier New', monospace;
  font-size: 8.75px;
  color: #506151;
  background: rgba(80, 97, 81, 0.15);
  padding: 1.25px 5px;
  border-radius: 2.5px;
  line-height: 12.5px;
}

.hotel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #ddf0ec;
  border: none;
  border-radius: 16.875px;
  padding: 8px 12px;
  color: #050018;
  font-family: 'Geologica', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: 17.344px;
  cursor: pointer;
  text-decoration: none;
  width: auto;
  align-self: flex-start;
}

.hotel-btn:hover { opacity: 0.85; }

.hotel-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── 8. TRANSPORT ───────────────────────────────────────────────────────── */
#transport {
  background: #fefef7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px;
  gap: 24px;
  text-align: center;
}

.transport-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 672px;
}

.transport-label {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: uppercase;
  color: #5e7d78;
  font-weight: 400;
  line-height: normal;
}

.transport-heading {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: #0a2410;
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: normal;
  margin: 0;
}

.transport-body {
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 200;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: normal;
  width: 100%;
  max-width: 672px;
  margin: 0;
}

.transport-illustration {
  width: 100%;
  max-width: 672px;
  height: 196.875px;
  display: block;
  object-fit: contain;
}

.transport-note {
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 200;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: normal;
  width: 100%;
  max-width: 672px;
  margin: 0;
}

/* ─── 9. GIFTS ───────────────────────────────────────────────────────────── */
#gifts {
  background: #ddf0ec;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 32px 64px;
  gap: 24px;
}

.gifts-shells {
  width: calc(100% + 64px);
  height: 49px;
  margin: 0 -32px;
  background-image: url('assets/shells.svg');
  background-repeat: repeat-x;
  background-size: auto 49px;
  background-position: center top;
  flex-shrink: 0;
}

.gifts-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.gifts-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 672px;
}

.gifts-label {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: uppercase;
  color: #050018;
  font-weight: 400;
  line-height: 10.313px;
}

.gifts-heading {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: #050018;
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: normal;
  margin: 0;
}

.gifts-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0px 0.625px 0.625px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(1.25px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 672px;
}

.gifts-message {
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 200;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: 17.344px;
  width: 100%;
  text-align: left;
  margin: 0;
}

/* ─── 10. FAQ ─────────────────────────────────────────────────────────────── */
#faq {
  background: #fefef7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px;
  gap: 24px;
}

.faq-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 100%;
  max-width: 672px;
}

.faq-label {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: uppercase;
  color: #5e7d78;
  font-weight: 400;
  line-height: 10.313px;
}

.faq-heading {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: #050018;
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: normal;
  margin: 0;
}

#faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 672px;
}

/* ─── ACCORDION (shared) ─────────────────────────────────────────────────── */

/* Gifts accordion */
#gifts-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

#gifts-accordion .accordion-item {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
}

#gifts-accordion .accordion-trigger {
  height: auto;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.05px;
  line-height: 17.344px;
}

.accordion-item {
  border: 0.625px solid #5e7d78;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
  background: #fefef7;
  padding: 4px 0;
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 12px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: 17.344px;
  text-align: left;
  gap: 8px;
}

.accordion-trigger:hover { background: rgba(94, 125, 120, 0.06); }

/* Unicode chevron — gifts accordion only */
.chevron {
  font-size: 10px;
  color: #050018;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: inline-block;
  width: 10px;
  height: 10px;
}

/* SVG arrow — FAQ accordion */
.faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: block;
}

.accordion-item.open .faq-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body p {
  padding: 4px 16px 12px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: 17.344px;
}

/* ─── 11. RSVP ───────────────────────────────────────────────────────────── */
/* ─── 11. RSVP ───────────────────────────────────────────────────────────── */
#rsvp {
  background-color: var(--dark-navy);
  background-image: url('assets/RSVP.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px;
  gap: 24px;
}

.rsvp-header-group {
  width: 100%;
  max-width: 375px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.rsvp-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rsvp-label {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: uppercase;
  color: white;
  font-weight: 400;
  line-height: 10.313px;
}

.rsvp-heading {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: white;
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: normal;
  margin: 0;
}

.rsvp-deadline-text {
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: white;
  font-weight: 200;
  line-height: 17.344px;
  letter-spacing: 0.05px;
}

#rsvp-card {
  background: #f9f8f5;
  border: 0.625px solid #f9f8f5;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0px 0.625px 0.625px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(1.25px);
  width: 100%;
  max-width: 672px;
}

#rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 17.5px;
}

.rsvp-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rsvp-field-label {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  color: #5e7d78;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: 8.75px;
}

/* Inputs */
.rsvp-input {
  background: #f7f6f2;
  border: 0.625px solid #b4b4b4;
  border-radius: 8px;
  height: auto;
  padding: 12px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: #050018;
  width: 100%;
  letter-spacing: 0.05px;
  box-sizing: border-box;
}

.rsvp-input::placeholder { color: #b4b4b4; }
.rsvp-input:focus { outline: 1px solid #5e7d78; border-color: #5e7d78; }

/* Textarea */
.rsvp-textarea {
  background: #f7f6f2;
  border: 0.625px solid #b4b4b4;
  border-radius: 8px;
  height: 50px;
  padding: 12px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: #050018;
  width: 100%;
  letter-spacing: 0.05px;
  resize: none;
  box-sizing: border-box;
}

.rsvp-textarea::placeholder { color: #b4b4b4; }
.rsvp-textarea:focus { outline: 1px solid #5e7d78; border-color: #5e7d78; }

/* Radio buttons */
.rsvp-radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rsvp-radio-option {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: 8.75px;
  cursor: pointer;
  white-space: nowrap;
}

.rsvp-radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border: 0.625px solid #050018;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  margin: 0;
}

.rsvp-radio-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 6.25px;
  height: 6.25px;
  background: #050018;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Checkbox */
.rsvp-checkbox-row {
  display: flex;
  align-items: center;
  gap: 7.5px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: 12.5px;
  cursor: pointer;
}

.rsvp-checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border: 0.625px solid #050018;
  border-radius: 2.5px;
  cursor: pointer;
  position: relative;
  margin: 0;
}

.rsvp-checkbox-row input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  font-size: 7px;
  line-height: 10px;
  width: 10px;
  text-align: center;
  left: 0;
  top: 0;
  color: #050018;
}

/* Companions */
.rsvp-companions-desc {
  font-family: 'Geologica', sans-serif;
  font-size: 10px;
  color: #050018;
  letter-spacing: 0.05px;
  line-height: normal;
}

#companion-counter { display: none; }

#companion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#companion-list:empty { display: none; }

.companion-card {
  background: #ffffff;
  border: 0.625px solid #dddbd6;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.companion-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.companion-card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #5e7d78;
  letter-spacing: 0.05px;
}

.companion-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  /* Tint to #5e7d78 */
  filter: invert(46%) sepia(16%) saturate(716%) hue-rotate(124deg) brightness(89%) contrast(88%);
}

.companion-card .rsvp-input {
  background: #f7f6f2;
  margin: 0;
}

.trash-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  opacity: 0.35;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}
.trash-btn:hover { opacity: 0.7; }

.trash-btn svg {
  display: block;
}

.rsvp-add-btns {
  display: flex;
  gap: 7.5px;
}

.rsvp-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f7f6f2;
  border: 0.625px solid #050018;
  border-radius: 23px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  color: #050018;
  letter-spacing: 0.05px;
  cursor: pointer;
  transition: background 0.15s;
}

.rsvp-add-btn:hover { background: #e8e7e3; }

.rsvp-add-btn-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Submit */
#rsvp-submit {
  width: 100%;
  background: #ddf0ec;
  color: #050018;
  border: none;
  border-radius: 16.25px;
  padding: 12px;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.2s;
}

#rsvp-submit:hover { background: #c5e0da; }
#rsvp-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.rsvp-success {
  text-align: center;
  padding: 24px 0;
}

.rsvp-success-text {
  font-family: 'Geologica', sans-serif;
  font-size: 11px;
  color: #5e7d78;
  margin-top: 8px;
}

/* ─── 12. FOOTER ─────────────────────────────────────────────────────────── */
/* ─── 12. FOOTER ─────────────────────────────────────────────────────────── */
#footer {
  background: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 39px 0 32px;
  overflow: hidden;
  min-height: 130px;
}

.footer-star {
  position: absolute;
  left: -7px;
  top: -5px;
  width: 90px;
  height: auto;
  transform: rotate(-15deg);
  pointer-events: none;
}

.footer-shell {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 75px;
  height: auto;
  transform: rotate(75deg);
  pointer-events: none;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13.125px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-names {
  font-family: 'Pacifico', cursive;
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: center;
  padding: 0 3.125px;
}

.footer-name {
  font-size: 17.313px;
  color: #050018;
  letter-spacing: 3.375px;
  line-height: 21.563px;
}

.footer-amp {
  font-size: 18.75px;
  color: #5e7d78;
  letter-spacing: 3.75px;
  line-height: 21.563px;
}

.footer-meta {
  font-family: 'Geologica', sans-serif;
  font-size: 7.125px;
  color: #050018;
  letter-spacing: 1.875px;
  text-transform: uppercase;
  line-height: 10px;
  text-align: center;
}

/* ─── ENVELOPE INTRO OVERLAY ────────────────────────────────────────────── */
#envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.9s ease;
}

#envelope-overlay.dissolving {
  opacity: 0;
  pointer-events: none;
}

#envelope-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#envelope-tap-hint {
  position: absolute;
  bottom: 14%;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s ease;
}

#envelope-tap-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.envelope-hint-text {
  font-family: 'Geologica', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 0.35; }
}

/* ─── SECTION DIVIDER LINE ───────────────────────────────────────────────── */
.section-line {
  width: 40px;
  height: 1px;
  background: rgba(77, 139, 126, 0.4);
  margin: 16px auto;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {



  .program-nautilus { right: 0; }

  .countdown-grid { gap: 24px; }

  .hero-names { font-size: 20px; }
}

@media (max-width: 480px) {
  #rsvp-card { padding: 20px; border-radius: 18px; }
}
