/* =========================================================
   THE OUELLETTE WEDDING — Coastal Golden-Hour Palette
   Colors: peach, apricot, copper, blush, misty-blue, moss
   ========================================================= */

:root {
  /* Core palette */
  --peach:        #f5c7a9;
  --apricot:      #f0a878;
  --copper:       #c07850;
  --blush:        #f2d4c8;
  --misty-blue:   #b8ced8;
  --moss:         #8aaa7e;
  --sand:         #faf4ed;
  --linen:        #fdf8f3;
  --warm-cream:   #fef9f2;
  --dusk:         #3d2e28;
  --dusk-soft:    #6b5550;
  --dusk-muted:   #8a7a74;

  /* Functional tokens */
  --bg:           var(--linen);
  --text:         var(--dusk);
  --text-soft:    var(--dusk-soft);
  --text-muted:   var(--dusk-muted);
  --accent:       var(--copper);
  --accent-soft:  var(--peach);
  --accent-glow:  rgba(240, 168, 120, 0.25);
  --surface:      rgba(255, 252, 247, 0.85);
  --surface-warm: rgba(253, 248, 240, 0.9);
  --border:       rgba(192, 120, 80, 0.15);
  --border-light: rgba(184, 206, 216, 0.3);
  --shadow:       0 12px 40px rgba(61, 46, 40, 0.08);
  --shadow-lg:    0 20px 60px rgba(61, 46, 40, 0.12);

  --radius:       16px;
  --radius-lg:    24px;
  --radius-pill:  999px;
  --max-width:    960px;

  --font-serif:   "Playfair Display", Georgia, serif;
  --font-sans:    "Nunito", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }

/* =========================================================
   STICKY NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(253, 248, 243, 0.8);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header--scrolled {
  background: rgba(253, 248, 243, 0.95);
  box-shadow: 0 2px 20px rgba(61, 46, 40, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.nav__brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--copper);
}
.nav__brand:hover { text-decoration: none; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dusk);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__links {
  display: flex;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  transition: background 0.2s, color 0.2s;
}
.nav__link:hover {
  background: rgba(240, 168, 120, 0.12);
  color: var(--copper);
  text-decoration: none;
}
.nav__link--active {
  background: rgba(240, 168, 120, 0.18);
  color: var(--copper);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    flex-direction: column;
    background: var(--linen);
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 30px rgba(61, 46, 40, 0.1);
    z-index: 101;
  }
  .nav__links--open {
    transform: translateX(0);
  }
  .nav__link {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
}

/* =========================================================
   HERO — Full-screen video
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(61, 46, 40, 0.35) 0%,
      rgba(61, 46, 40, 0.15) 40%,
      rgba(61, 46, 40, 0.45) 100%
    ),
    radial-gradient(ellipse at 30% 20%, rgba(245, 199, 169, 0.2), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.hero__kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  opacity: 0.9;
  font-weight: 600;
}

.hero__names {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.hero__names span {
  font-style: italic;
  font-weight: 400;
  opacity: 0.85;
}

.hero__date {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero__countdown {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.countdown__item {
  min-width: 68px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.6rem 0.5rem;
  text-align: center;
}

.countdown__number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.countdown__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: hero-bounce 2.5s ease infinite;
}
.hero__scroll:hover { text-decoration: none; color: #fff; }

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  padding: 5rem 1.5rem;
}

.section--warm {
  background: linear-gradient(180deg, rgba(245, 199, 169, 0.08), rgba(242, 212, 200, 0.1));
}

.section--story {
  padding-bottom: 0;
  overflow: visible;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.story__heart {
  text-align: center;
  color: var(--copper);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.venue__dolphin {
  text-align: center;
  color: var(--copper);
  width: 58px;
  height: 58px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.venue__dolphin svg {
  width: 100%;
  height: 100%;
  display: block;
}

.welcome__palm-wrap {
  width: clamp(200px, 24vw, 320px);
  aspect-ratio: 11 / 6;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.welcome__palm {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.03);
  transform-origin: center;
  opacity: 0.96;
  filter: saturate(0.9) contrast(1.02) drop-shadow(0 8px 14px rgba(61, 46, 40, 0.12));
  pointer-events: none;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 500;
  text-align: center;
  color: var(--dusk);
}

.section__divider {
  width: 60px;
  height: 2px;
  margin: 0.75rem auto 1.5rem;
  background: linear-gradient(90deg, var(--peach), var(--copper), var(--peach));
  border-radius: 2px;
}

.section__lead {
  text-align: center;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section__text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

.section__footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* =========================================================
   STORY COLLAGE
   ========================================================= */
.story-collage-wrap {
  margin-top: 1rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 0.45rem 1.2rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 10%, rgba(245, 199, 169, 0.2), transparent 38%),
    radial-gradient(circle at 82% 85%, rgba(184, 206, 216, 0.22), transparent 44%),
    linear-gradient(140deg, rgba(255, 254, 252, 0.72), rgba(250, 244, 237, 0.92));
  border: 1px solid rgba(192, 120, 80, 0.14);
}

.story-collage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.2rem;
}

.story-collage__item {
  margin: 0;
  --tilt: 0deg;
  grid-column: span 1;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(61, 46, 40, 0.14);
  border: 1px solid rgba(61, 46, 40, 0.08);
  background: #fffdf9;
  padding: 0.16rem 0.16rem 0.56rem;
  aspect-ratio: 4 / 5;
  transform: rotate(var(--tilt));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.story-collage__item--wide {
  grid-column: span 1;
  aspect-ratio: 4 / 5;
}

.story-collage__item--tall {
  grid-row: auto;
  aspect-ratio: 4 / 5;
}

.story-collage__item:nth-child(5n + 1) { --tilt: -0.5deg; }
.story-collage__item:nth-child(5n + 2) { --tilt: 0.45deg; }
.story-collage__item:nth-child(5n + 3) { --tilt: -0.35deg; }
.story-collage__item:nth-child(5n + 4) { --tilt: 0.55deg; }
.story-collage__item:nth-child(5n + 5) { --tilt: -0.25deg; }

.story-collage__item:nth-child(4n + 2) { margin-top: 0; }
.story-collage__item:nth-child(4n + 3) { margin-top: 0; }

.story-collage__item img {
  width: 100%;
  height: calc(100% - 0.1rem);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.34s ease;
  border: 1px solid rgba(61, 46, 40, 0.06);
}

.story-collage__item::after {
  content: "";
  position: absolute;
  bottom: 0.24rem;
  left: 50%;
  width: 26%;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(61, 46, 40, 0.18);
  opacity: 0.36;
}

.story-collage__item:hover {
  transform: translateY(-1px) rotate(var(--tilt)) scale(1.005);
  box-shadow: 0 9px 16px rgba(61, 46, 40, 0.18);
  z-index: 2;
}

.story-collage__item:hover img {
  transform: scale(1.025);
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline {
  max-width: 560px;
  margin: 0 auto 3rem;
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--peach), var(--copper), var(--misty-blue));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__icon {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--warm-cream);
  border: 2px solid var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
}
.timeline__icon svg { width: 14px; height: 14px; }

.timeline__body { flex: 1; }

.timeline__heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.timeline__time {
  font-size: 0.85rem;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.timeline__detail {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* =========================================================
   WEDDING ITINERARY
   ========================================================= */
.wedding-itinerary {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.itinerary-day {
  padding: 0;
}

.itinerary-day__title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--dusk);
  margin-bottom: 0.8rem;
}

.itinerary-day__list {
  margin: 0;
  padding-left: 1.05rem;
}

.itinerary-day__item {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.itinerary-day__item:last-child {
  margin-bottom: 0;
}

/* =========================================================
   VENUE CARD
   ========================================================= */
.venue-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.venue-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

#venue .venue-card__title {
  text-align: center;
}

#venue .venue__address {
  margin-bottom: 1.25rem;
}

.venue-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.venue-card__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.venue-card__map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

/* =========================================================
   HOTEL GRID
   ========================================================= */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.hotel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hotel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hotel-card--featured {
  border-color: var(--apricot);
  background: linear-gradient(135deg, var(--warm-cream), rgba(245, 199, 169, 0.15));
}

.hotel-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--apricot), var(--copper));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.hotel-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.hotel-card__name a { color: var(--copper); }
.hotel-card__name a:hover { color: var(--dusk); }

.hotel-card__distance {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.hotel-card__code {
  font-size: 0.85rem;
  color: var(--copper);
}

.hotel-card__note {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* =========================================================
   DRESS CODE
   ========================================================= */
.dresscode {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.dresscode__badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--peach), var(--apricot));
  color: var(--dusk);
  padding: 0.5rem 1.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.dresscode__text {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.dresscode__note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-item__question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--copper);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* =========================================================
   RSVP
   ========================================================= */
.rsvp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .rsvp-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

.rsvp-text p {
  font-size: 0.93rem;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.rsvp-text__pill {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(245, 199, 169, 0.35), rgba(242, 212, 200, 0.4));
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(192, 120, 80, 0.2);
}

.rsvp-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-weight: 600;
  font-size: 0.88rem;
}

.field__note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: rgba(255, 255, 255, 0.8);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.2rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--dusk-muted) 50%),
    linear-gradient(135deg, var(--dusk-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.field textarea {
  resize: none;
  min-height: 72px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #fff;
}

.field--collapsible {
  overflow: hidden;
  max-height: 160px;
  opacity: 1;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.35s ease,
              margin 0.35s ease;
}

.field--collapsible.is-hidden {
  max-height: 0;
  opacity: 0;
  margin-top: -0.4rem;
  margin-bottom: -0.4rem;
  pointer-events: none;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--apricot), var(--copper));
  color: #fff;
  box-shadow: 0 8px 24px rgba(192, 120, 80, 0.25);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(192, 120, 80, 0.35);
  text-decoration: none;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
  color: var(--copper);
}
.btn--outline:hover {
  background: rgba(245, 199, 169, 0.15);
  text-decoration: none;
}

/* =========================================================
   REGISTRY
   ========================================================= */
.registry-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
  gap: 1.25rem;
}

.registry-card {
  text-align: center;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.registry-card__icon {
  color: var(--copper);
  margin-bottom: 1rem;
}

.registry-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.registry-card__note {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(61, 46, 40, 0.08);
  box-shadow: 0 8px 24px rgba(61, 46, 40, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(61, 46, 40, 0.16);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(245, 199, 169, 0.06));
}

.site-footer p:first-child {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.site-footer__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =========================================================
   RSVP STATUS OVERLAY
   ========================================================= */
.rsvp-status {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 248, 243, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
  z-index: 200;
}
.rsvp-status.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rsvp-status__card {
  background: var(--warm-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: min(90vw, 340px);
}

.rsvp-status__spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(192, 120, 80, 0.2);
  border-top-color: var(--copper);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 0.75rem;
}

.rsvp-status__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.rsvp-status__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   FADE-IN ANIMATIONS
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.3, 1),
              transform 0.7s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll { animation: none; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .rsvp-status { transition: none; }
  .rsvp-status__spinner { animation: none; }
  .story-collage__item,
  .story-collage__item img {
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .section { padding: 3.5rem 1rem; }

  .welcome__palm-wrap {
    width: 220px;
    margin-bottom: 0.65rem;
  }

  .wedding-itinerary {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hero__names { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  .timeline { padding-left: 2rem; }
  .timeline__icon { left: -2rem; width: 24px; height: 24px; }
  .timeline__icon svg { width: 12px; height: 12px; }

  .venue-card__map iframe { height: 200px; }

  .story-collage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.18rem;
  }

  .story-collage-wrap {
    padding: 0.38rem 0.34rem 0.95rem;
  }

  .story-collage__item,
  .story-collage__item--wide,
  .story-collage__item--tall {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: 4 / 5;
    transform: rotate(0deg);
    margin-top: 0;
    padding: 0.14rem 0.14rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .story-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.18rem;
  }

  .countdown__item { min-width: 58px; padding: 0.4rem 0.3rem; }
  .countdown__number { font-size: 1.15rem; }
}
