/* ─── GLOBAL RESET — remove browser tap/click highlights ─────────────────── */
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}

/* Hide scrollbar (cosmetic — scroll still works) */
html { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }

button,
a,
input,
select,
textarea,
[role="button"],
[role="option"] {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid rgba(63, 56, 48, 0.4);
  outline-offset: 2px;
}

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  --cream:     #fef5ec;
  --dark-navy: #0f1c00;
  --mint:      #bcc3a4;
  --teal:      #3d6b4a;
  --ink:       #3f3830;
  --white:     #fffff8;
}

/* ─── 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(254, 245, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(10, 36, 16, 0.08);
}

/* Logo */
.nav-logo {
  font-family: 'Plaster', 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: 'Mooli', 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: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-logo {
  font-family: 'Plaster', cursive;
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 8px;
}
#nav-mobile a {
  font-family: 'Mooli', 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 .nav-rsvp-pill:hover {
  background: var(--teal) !important;
  color: #fff !important;
}

.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, color 0.2s;
}
.nav-mobile-close:hover {
  background: rgba(63, 56, 48, 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.24em;
  text-transform: capitalize;
  font-size: 0.625rem;
  color: #fffff8;
  font-family: 'Mooli', sans-serif;
  font-weight: 400;
}

/* ─── FOREST 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.07'%3E%3C!-- Pine tree 1 --%3E%3Cpolygon points='40,15 26,45 34,45 22,72 32,72 18,100 62,100 48,72 58,72 46,45 54,45' /%3E%3Crect x='38' y='100' width='4' height='12' fill='white'/%3E%3C!-- Pine tree 2 (smaller) --%3E%3Cpolygon points='155,35 144,58 150,58 140,80 148,80 136,104 174,104 162,80 170,80 160,58 166,58' /%3E%3Crect x='153' y='104' width='4' height='10' fill='white'/%3E%3C!-- Leaf branch 1 --%3E%3Cpath d='M80 140 Q90 125 105 130 Q95 145 80 140Z' /%3E%3Cpath d='M80 140 Q70 125 55 132 Q67 147 80 140Z' /%3E%3Cline x1='80' y1='140' x2='80' y2='115' /%3E%3C!-- Leaf branch 2 --%3E%3Cpath d='M30 170 Q40 158 52 162 Q44 174 30 170Z' /%3E%3Cpath d='M30 170 Q22 158 10 163 Q19 175 30 170Z' /%3E%3Cline x1='30' y1='170' x2='30' y2='150' /%3E%3C!-- Small leaf --%3E%3Cpath d='M150 160 Q157 152 165 155 Q160 164 150 160Z' /%3E%3Cline x1='150' y1='160' x2='148' y2='148' /%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/nightforest.png') center center / cover no-repeat;
  background-color: var(--dark-navy);
  position: relative;
  text-align: center;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  transition: opacity 1.2s ease;
}

#hero-video.faded {
  opacity: 0;
  pointer-events: none;
}

/* Day image layer — same stacking as video, fades in on hero-day */
#hero-day-layer {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100% !important; /* override img { height: auto } on all browsers */
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}
#hero.hero-day #hero-day-layer {
  opacity: 1;
}
/* Also hide the video in day mode so Heroimage shows cleanly */
#hero.hero-day #hero-video {
  opacity: 0;
  pointer-events: none;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,0,0) 0%, rgba(15,28,0,0.03) 82.826%, rgba(15,28,0,0.6) 100%);
  z-index: 1;
}

#hero > *:not(#hero-video) { 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: capitalize;
  color: #3f3830;
  font-family: 'Mooli', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 10px;
  transition: color 1.4s ease;
}

.hero-names {
  font-family: 'Plaster', cursive;
  font-size: 20px;
  color: #3f3830;
  font-weight: 400;
  letter-spacing: 3.375px;
  line-height: 21.563px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: color 1.4s ease;
}

.hero-names span.amp {
  font-size: 20px;
  color: #152603;
  font-family: 'Plaster', cursive;
  letter-spacing: 3.75px;
  line-height: 21.563px;
  text-transform: uppercase;
  transition: color 1.4s ease;
}

.hero-location {
  font-size: 12px;
  letter-spacing: 1.875px;
  text-transform: capitalize;
  color: #3f3830;
  font-family: 'Mooli', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: normal;
  transition: color 1.4s ease;
}

/* Night-forest final state — applied when hero video ends */
#hero.hero-night .hero-date,
#hero.hero-night .hero-names,
#hero.hero-night .hero-location {
  color: #fcf6ec;
}
#hero.hero-night .hero-names span.amp {
  color: #bcc3a4;
}
#hero.hero-night .hero-cta-label,
#hero.hero-night #hero-scroll-btn {
  color: #bcc3a4;
}

/* 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: capitalize;
  color: white;
  font-family: 'Mooli', 'DM Sans', sans-serif;
  font-weight: 400;
  transition: color 1.4s ease;
}

/* 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: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s, color 1.4s ease;
}

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

/* ─── TOP-RIGHT STACK (lang + day/night toggle) ──────────────────────────── */
#hero .hero-top-right-stack {
  position: absolute;
  top: 19px;
  right: 14px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

/* ─── LANGUAGE SELECTOR ─────────────────────────────────────────────────── */
.lang-selector {
  position: relative; /* anchors lang-menu absolutely to the pill, not the stack */
  z-index: 20;        /* sits above the day/night toggle below it */
}

/* ─── DAY / NIGHT HERO TOGGLE ────────────────────────────────────────────── */
/* Matches Figma node 79:15141 exactly — pill is always frosted white */
.hero-day-night-toggle {
  display: flex;
  align-items: flex-start;
  padding: 4.364px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4.364px);
  -webkit-backdrop-filter: blur(4.364px);
}

.day-night-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.364px 8.727px;
  border-radius: 14.545px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
}

.day-night-btn[aria-pressed="true"] {
  background: white;
}

.toggle-icon {
  display: block;
  width: 14.545px;
  height: 14.545px;
}

/* Icon switching — each button carries both variants; show the right one */
.toggle-icon-night { display: none; }

#hero.hero-night .toggle-icon-day   { display: none; }
#hero.hero-night .toggle-icon-night { display: block; }

.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;
  background: white;
  border-radius: 12.5px;
  padding: 5px 7.5px;
}

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

.lang-chevron {
  display: block;
  flex-shrink: 0;
  width: 8.75px;
  height: 8.75px;
  color: #9A9DA1;
  transition: transform 0.2s, color 0.6s ease;
}

#hero.hero-night .lang-chevron {
  color: #3F3830;
}

.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: 'Mooli', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.8px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background 0.15s;
}

.lang-option:hover { background: rgba(15, 28, 0, 0.06); }
.lang-option.active { color: #0f1c00; font-weight: 500; }

/* ─── SOUND BUTTON ───────────────────────────────────────────────────────── */
.sound-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f1c00;
  color: white;
  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, background 0.6s ease, color 0.6s ease;
}

.sound-btn.night {
  background: #bcc3a4;
  color: #0f1c00;
}

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


/* ─── 2. COUNTDOWN ───────────────────────────────────────────────────────── */
#story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 0; /* belt-and-suspenders: no space between countdown and our-story */
}

/* Ensure sections inside the sticky frame are pure flex items with no block margin */
#story-sticky > section {
  margin: 0;
}

#countdown {
  background-color: var(--dark-navy);
  background-image: url("assets/countdown.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.countdown-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 309px;
  height: 309px;
  opacity: 0.55;
  pointer-events: none;
}
.countdown-deco-left  { left: -120px; }
.countdown-deco-right { right: -120px; }

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

.countdown-heading {
  font-family: 'Plaster', cursive;
  font-size: clamp(22px, 4.5vw, 28px);
  color: #fffff8;
  font-weight: 400;
  letter-spacing: 0.5625px;
  margin: 12px 0 20px;
  text-shadow: 0 0.625px 1.25px rgba(54, 77, 99, 0.1);
}

.countdown-line {
  width: 40px;
  height: 1px;
  background: #fffff8;
  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: 'Plaster', cursive;
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 400;
  color: #fffff8;
  line-height: 1;
  letter-spacing: 0.038em;
}

.countdown-label {
  font-family: 'Mooli', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: capitalize;
  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: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 64px 0 120px;
  position: relative;
  flex: 1;          /* fills remaining height inside #story-sticky */
  overflow: hidden;
}


.story-title-pill {
  background: transparent;
  padding: 0;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

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

/* Botanical decorations */
.story-deco-branch {
  position: absolute;
  left: 20px;
  top: 55px;
  width: 34%;
  max-width: 130px;
  height: 68%;
  object-fit: contain;
  object-position: top left;
  pointer-events: none;
  z-index: 2; /* above polaroid cards (z:auto/0), below title (z:3) */
}

/* Figma "Leafs" component — bottom-right corner of story section (node 84-265, 96×83px) */
.story-deco-leafs {
  position: absolute;
  bottom: 0;
  right: 15px;
  width: 96px;
  height: 83px;
  pointer-events: none;
  z-index: 2;
}

/* Clip container — overflow-x: clip keeps it out of scroll-container territory
   so overflow-y stays truly visible, letting shadows & rotated corners paint freely */
.story-cards-wrap {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  flex-shrink: 0;
}

/* Inner track — moved by JS via translateX instead of scrollLeft */
.story-cards-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 64px;
  padding: 8px calc(50% - 140px) 24px;
  align-items: flex-start;
  will-change: transform;
  width: max-content; /* lets offsetWidth measure total cards width for scroll calc */
}

/* Desktop: equal side padding */
@media (min-width: 900px) {
  .story-cards-track {
    padding: 8px 64px 24px;
  }
}

.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: 'Mooli', sans-serif;
  font-size: 8px;
  letter-spacing: 1.63px;
  text-transform: none;
  color: #979491;
  font-weight: 400;
  text-align: right;
  width: 100%;
  line-height: normal;
}

.polaroid-title {
  font-family: 'Plaster', cursive;
  font-size: 16px;
  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: var(--mint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  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: 'Mooli', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: capitalize;
  color: #0f1c00;
  font-weight: 400;
}

.location-heading {
  font-family: 'Plaster', cursive;
  font-size: clamp(20px, 4.5vw, 24px);
  color: #0f1c00;
  font-weight: 400;
  letter-spacing: 0.5625px;
}

.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: 'Mooli', sans-serif;
  font-size: 8px;
  letter-spacing: 1.63px;
  text-transform: none;
  color: #3f3830;
  font-weight: 400;
  margin-bottom: 6px;
}

.location-polaroid-name {
  font-family: 'Plaster', cursive;
  font-size: 16px;
  color: #0f1c00;
  font-weight: 400;
  line-height: 1.15;
}

.location-shell {
  position: absolute;
  top: 258px;
  left: -45px;
  width: 75px;
  height: auto;
  transform: rotate(-5deg);
  transform-origin: center center;
  pointer-events: none;
}

.location-coords {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  color: #0f1c00;
  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: #0f1c00;
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05px;
  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: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.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: 'Mooli', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: capitalize;
  color: #3f3830;
  font-weight: 400;
  line-height: 10.313px;
  margin-bottom: 12px;
}

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

.program-date {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: capitalize;
  color: #152603;
  font-weight: 400;
  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: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.6875px;
  color: #3f3830;
  line-height: 17.5px;
  text-transform: capitalize;
}

.program-event {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.8px;
  text-transform: capitalize;
  color: #3f3830;
  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;
  height: auto;
}

/* ─── 6. DRESSCODE ───────────────────────────────────────────────────────── */
#dresscode {
  background: var(--cream);
  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%;
}

.dresscode-label {
  font-family: 'Mooli', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #152603;
  letter-spacing: 2.4063px;
  text-transform: none;
  line-height: normal;
}

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

.dresscode-illustration {
  width: 100%;
}

.dresscode-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.dresscode-tagline {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.3125px;
  line-height: 17.188px;
  width: 100%;
  margin: 0;
}

.dresscode-body {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.3125px;
  line-height: 17.188px;
  width: 100%;
  margin: 0;
}

/* ─── 7. ACCOMMODATION ───────────────────────────────────────────────────── */
#accommodation {
  background-color: var(--dark-navy);
  background-image: url("assets/accom-bg-tile.svg");
  background-size: 312px 312px;
  background-repeat: 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: 'Mooli', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: none;
  color: white;
  font-weight: 400;
  line-height: normal;
}

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

.accommodation-intro {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  color: white;
  font-weight: 400;
  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: 'Plaster', cursive;
  font-size: 20px;
  color: #0A2410;
  line-height: normal;
  font-weight: 400;
}

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

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

.hotel-desc {
  font-family: 'Mooli', 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: 'Mooli', sans-serif;
  font-size: 12px;
  color: #0f1c00;
  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: #0f1c00;
  background: var(--mint);
  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: var(--mint);
  border: none;
  border-radius: 16.875px;
  padding: 8px 12px;
  color: #0f1c00;
  font-family: 'Mooli', 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: var(--cream);
  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%;
}

.transport-label {
  font-family: 'Mooli', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: capitalize;
  color: #0f1c00;
  font-weight: 400;
  line-height: normal;
}

.transport-heading {
  font-family: 'Plaster', cursive;
  font-size: 24px;
  color: var(--dark-navy);
  font-weight: 400;
  letter-spacing: 0.5625px;
  line-height: normal;
  margin: 0;
}

.transport-body {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.05px;
  line-height: normal;
  width: 100%;
  margin: 0;
}

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

.transport-note {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.05px;
  line-height: normal;
  width: 100%;
  margin: 0;
}

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

.gifts-shells {
  width: calc(100% + 48px);
  height: 30px;
  margin: 0 -24px;
  background-image: url("assets/gifts.svg");
  background-repeat: repeat-x;
  background-size: 375px 30px;
  background-position: left 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%;
}

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

.gifts-heading {
  font-family: 'Plaster', cursive;
  font-size: 24px;
  color: #3f3830;
  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%;
}

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

/* ─── 10. FAQ ─────────────────────────────────────────────────────────────── */
#faq {
  background: #ffffff;
  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%;
}

.faq-label {
  font-family: 'Mooli', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: capitalize;
  color: #0f1c00;
  font-weight: 400;
  line-height: 10.313px;
}

.faq-heading {
  font-family: 'Plaster', cursive;
  font-size: 24px;
  color: #3f3830;
  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 #0f1c00;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  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: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.05px;
  line-height: 17.344px;
  text-align: left;
  gap: 8px;
}

.accordion-trigger:hover { background: rgba(15, 28, 0, 0.04); }

/* 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: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.05px;
  line-height: 17.344px;
  text-align: left;
}

/* ─── 11. RSVP ───────────────────────────────────────────────────────────── */
/* ─── 11. RSVP ───────────────────────────────────────────────────────────── */
#rsvp {
  background-color: var(--dark-navy);
  background-image: url("assets/rsvp-bg-tile.svg");
  background-size: 312px 312px;
  background-repeat: 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: 'Mooli', sans-serif;
  font-size: 10px;
  letter-spacing: 2.4063px;
  text-transform: capitalize;
  color: white;
  font-weight: 400;
  line-height: 10.313px;
}

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

.rsvp-deadline-text {
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  color: white;
  font-weight: 400;
  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: 'Mooli', sans-serif;
  font-size: 10px;
  color: #0f1c00;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: 8.75px;
}

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

.rsvp-input::placeholder { color: #766f67; }
.rsvp-input:focus { outline: 1px solid #3f3830; border-color: #3f3830; }

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

.rsvp-textarea::placeholder { color: #766f67; }
.rsvp-textarea:focus { outline: 1px solid #3f3830; border-color: #3f3830; }

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

.rsvp-radio-option {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  color: #3f3830;
  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 #3f3830;
  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: #3f3830;
  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: 'Mooli', sans-serif;
  font-size: 12px;
  color: #3f3830;
  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 #3f3830;
  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: #3f3830;
}

/* Companions */
.rsvp-companions-desc {
  font-family: 'Mooli', sans-serif;
  font-size: 10px;
  color: #3f3830;
  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: 'Mooli', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3f3830;
  letter-spacing: 0.05px;
}

.companion-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  /* Tint to #3f3830 */
  filter: invert(20%) sepia(10%) saturate(500%) hue-rotate(350deg) brightness(85%) contrast(90%);
}

.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 #3f3830;
  border-radius: 23px;
  font-family: 'Mooli', sans-serif;
  font-size: 12px;
  color: #3f3830;
  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: var(--mint);
  color: #3f3830;
  border: none;
  border-radius: 16.25px;
  padding: 12px;
  font-family: 'Mooli', 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: #adb594; }
#rsvp-submit:disabled { opacity: 0.6; cursor: not-allowed; }

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

.rsvp-success-text {
  font-family: 'Mooli', sans-serif;
  font-size: 11px;
  color: #3f3830;
  margin-top: 8px;
}

/* ─── ENVELOPE INTRO ─────────────────────────────────────────────────────── */
/* ─── 11b. ENVELOPE INTRO ────────────────────────────────────────────────── */
#envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0f1c00;
  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: 'Mooli', sans-serif;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: capitalize;
  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.4;  }
}

/* ─── 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: 0;
  top: 0;
  width: 172px;
  height: 132px;
  object-fit: cover;
  object-position: left top;
  pointer-events: none;
  opacity: 0.6;
}

.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: 'Plaster', cursive;
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: center;
  padding: 0 3.125px;
}

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

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

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

/* ─── 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; }
}
