/* ==========================================================================
   Kennedy & Lewis — Cinematic & Romantic design system
   ========================================================================== */

/* Self-hosted variable fonts (latin subset) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('./fonts/playfair-display.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./fonts/cormorant-garamond.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./fonts/inter.woff2') format('woff2');
}

:root {
  /* Palette */
  --ivory: #faf7f2;
  --ivory-deep: #f3eee6;
  --charcoal: #201d1a;
  --charcoal-soft: #3a352f;
  --gold: #b9975b;
  --gold-soft: #d8c39a;
  --rose: #e9dcd4;
  --white: #fffdf9;

  /* Shared strokes */
  --hairline: rgba(32, 29, 26, 0.12);

  /* Type */
  --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Fluid scale */
  --text-hero: clamp(3rem, 1rem + 10vw, 9.5rem);
  --text-title: clamp(2.4rem, 1.2rem + 4.5vw, 5.5rem);
  --text-count: clamp(3rem, 1.5rem + 6vw, 7rem);
  --text-lede: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  --text-detail: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  --text-body: 1.0625rem;
  --text-small: 0.8125rem;
  --text-medium: 1rem;

  /* Motion */
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);

  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--gold-soft); color: var(--charcoal); }

img { display: block; max-width: 100%; }

/* ==========================================================================
   Grain overlay
   ========================================================================== */

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain-shift 9s steps(6) infinite; }
}

@keyframes grain-shift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-3%, 2%, 0); }
  40% { transform: translate3d(2%, -3%, 0); }
  60% { transform: translate3d(-2%, -2%, 0); }
  80% { transform: translate3d(3%, 3%, 0); }
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
}

/* Only shown when JS is running, so a failed script never traps the page */
.js .preloader { display: grid; }

.preloader.is-done { display: none !important; }

.preloader-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%; /* slight overlap to avoid seam */
  background: var(--charcoal);
}

.preloader-panel-top { top: 0; transform-origin: top; }
.preloader-panel-bottom { bottom: 0; transform-origin: bottom; }

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivory);
}

.preloader-monogram {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2rem + 6vw, 7rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
  overflow: hidden;
}

.preloader-monogram > span {
  display: inline-block;
  transform: translateY(120%);
}

.mono-amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.55em;
  color: var(--gold);
}

.preloader-date {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0;
}

/* ==========================================================================
   Custom cursor  (fine pointers only)
   ========================================================================== */

.cursor, .cursor-dot { display: none; }

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    border: 1px solid rgba(185, 151, 91, 0.65);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9500;
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
                margin 0.35s var(--ease-out), opacity 0.3s ease,
                background-color 0.3s ease;
    will-change: transform;
  }

  .cursor.is-active {
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    background: rgba(185, 151, 91, 0.08);
  }

  .cursor-dot {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 5px; height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 9501;
    will-change: transform;
  }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(250, 247, 242, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(32, 29, 26, 0.06);
  transform: translateY(0);
  transition: transform 0.55s var(--ease-out), background 0.4s ease;
  will-change: transform;
}

.nav.nav-hidden { transform: translateY(-110%); }

.nav.nav-on-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-decoration: none;
}

.nav.nav-on-hero .nav-brand,
.nav.nav-on-hero .nav-link { color: var(--ivory); }

.nav-amp {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.nav-link {
  position: relative;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.35em 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link-cta {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.55em 1.4em;
  color: var(--charcoal);
  transition: background 0.35s ease, color 0.35s ease;
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover { background: var(--gold); color: var(--white); }

.nav.nav-on-hero .nav-link-cta { border-color: rgba(250, 247, 242, 0.6); }
.nav.nav-on-hero .nav-link-cta:hover { background: var(--ivory); color: var(--charcoal); }

@media (max-width: 640px) {
  .nav-link:not(.nav-link-cta) { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: clip;
  display: grid;
  place-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(1);
  opacity: 0;
  transform: scale(1);
  will-change: transform, opacity;
}

.hero-slide.is-active { opacity: 1; }

/* Slide 1 loads eagerly (it's the preloaded hero image). Slides 2 and 3 only
   download once JS marks the slideshow ready — without JS they never show,
   so their images are never fetched. */
.hero-slide-1 { background-image: url('./images/2-800.webp'); }
.slides-ready .hero-slide-2 { background-image: url('./images/6-800.webp'); }
.slides-ready .hero-slide-3 { background-image: url('./images/3-800.webp'); }

@media (min-width: 900px) {
  .hero-slide-1 { background-image: url('./images/2-1600.webp'); }
  .slides-ready .hero-slide-2 { background-image: url('./images/6-1600.webp'); }
  .slides-ready .hero-slide-3 { background-image: url('./images/3-1600.webp'); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(20, 17, 14, 0.55) 0%,
      rgba(20, 17, 14, 0.25) 35%,
      rgba(20, 17, 14, 0.30) 70%,
      rgba(20, 17, 14, 0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivory);
  padding: 0 1.25rem;
}

.hero-eyebrow {
  font-size: var(--text-medium);
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-wrap: balance;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-title .char { will-change: transform; }

.hero-amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.62em;
  color: var(--gold-soft);
  vertical-align: baseline;
  padding: 0 0.08em;
}

.hero-rule {
  width: 72px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto 1.75rem;
  transform-origin: center;
}

.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--ivory);
}

.cue-label {
  font-size: 0.6875rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.75;
}

.cue-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  overflow: hidden;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .cue-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ivory);
    transform: translateY(-100%);
    animation: cue-drop 2.2s var(--ease-out) infinite;
  }
}

@keyframes cue-drop {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   Shared section styles
   ========================================================================== */

.section {
  position: relative;
  padding: clamp(6rem, 5rem + 8vw, 12rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 1320px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-eyebrow-center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 500;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
}

.section-title-center { text-align: center; }

.section-title .line {
  display: block;
  overflow: clip;
  /* room for descenders (g, j, y) inside the clip box */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.section-title .line-inner {
  display: block;
  will-change: transform;
}

/* Reveal primitives — JS animates these; static without JS or reduced motion */
[data-reveal] { opacity: 1; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Section ledes — serif intro paragraphs */
.story-lede,
.venue-lede,
.rsvp-lede {
  font-family: var(--font-serif);
  font-size: var(--text-lede);
  line-height: 1.7;
  color: var(--charcoal-soft);
}

.venue-lede,
.rsvp-lede {
  max-width: 30em;
  margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* Gold-underlined inline links */
.detail-row dd a,
.faq-answer-inner a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.3s ease;
}

.detail-row dd a:hover,
.faq-answer-inner a:hover { color: var(--gold); }

/* ==========================================================================
   Story / Our Day
   ========================================================================== */

.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(3rem, 2rem + 5vw, 7rem);
  align-items: start;
}

.story-lede {
  max-width: 34em;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.detail-rows { display: grid; }

.detail-row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline);
}

.detail-row:last-child { border-bottom: 1px solid var(--hairline); }

.detail-row dt {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.35em;
}

.detail-row dd {
  font-family: var(--font-serif);
  font-size: var(--text-detail);
  font-weight: 500;
  line-height: 1.4;
  color: var(--charcoal);
}

.detail-sub {
  font-size: 0.75em;
  color: var(--charcoal-soft);
}

.story-figure {
  position: sticky;
  top: 12vh;
  will-change: transform;
}

.figure-mask {
  overflow: clip;
  border-radius: 2px;
}

.figure-mask img {
  width: 100%;
  height: auto;
  filter: grayscale(1);
  transform: scale(1.12);
  will-change: transform;
}

.figure-caption {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal-soft);
}

@media (max-width: 860px) {
  .story-inner { grid-template-columns: 1fr; }
  .story-figure { position: relative; top: 0; max-width: 480px; }
}

/* ==========================================================================
   Countdown
   ========================================================================== */

.countdown {
  text-align: center;
  max-width: none;
  background: var(--charcoal);
  color: var(--ivory);
}

.countdown .section-title { color: var(--ivory); }

.countdown-grid {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 0.5rem + 3vw, 3.5rem);
  margin-top: clamp(2rem, 1.5rem + 3vw, 4rem);
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(4.5rem, 3rem + 8vw, 11rem);
}

.count-number {
  font-family: var(--font-display);
  font-size: var(--text-count);
  font-weight: 500;
  line-height: 1;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}

.count-label {
  margin-top: 0.85rem;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.count-sep {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  color: var(--gold);
  align-self: center;
  transform: translateY(-0.8em);
}

@media (max-width: 560px) {
  .count-sep { display: none; }
  .countdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Moments
   ========================================================================== */

.moments-timeline {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 6rem);
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.moments-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-soft), var(--hairline), transparent);
  transform: translateX(-50%);
}

.moment-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 5vw, 7rem);
  align-items: center;
}

.moment-timeline-marker {
  position: absolute;
  top: clamp(1.8rem, 1rem + 5vw, 5rem);
  left: 50%;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 10px var(--ivory);
  transform: translate(-50%, -50%);
}

.moment-timeline-card {
  width: min(100%, 520px);
  margin: 0;
  will-change: transform;
}

.moment-timeline-item:nth-child(odd) .moment-timeline-card {
  grid-column: 1;
  justify-self: end;
}

.moment-timeline-item:nth-child(even) .moment-timeline-card {
  grid-column: 2;
  justify-self: start;
}

.moment-timeline-card .figure-mask {
  aspect-ratio: 3 / 4;
  height: 100%;
  background: var(--ivory-deep);
  box-shadow: 0 28px 70px rgba(32, 29, 26, 0.11);
}

.moment-timeline-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment-timeline-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding-top: 1.1rem;
}

.moment-index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.moment-timeline-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--charcoal);
}

.moment-timeline-card p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  font-style: italic;
  color: var(--charcoal-soft);
}

@media (max-width: 700px) {
  .moments-timeline {
    gap: 3rem;
    padding-left: 1.75rem;
  }

  .moments-timeline::before {
    left: 0.4rem;
  }

  .moment-timeline-item {
    display: block;
  }

  .moment-timeline-marker {
    left: -1.35rem;
    top: 2.6rem;
  }

  .moment-timeline-card {
    width: 100%;
  }
}

/* ==========================================================================
   Venue / Map
   ========================================================================== */

.venue { text-align: center; }

.venue-map-frame {
  overflow: clip;
  border-radius: 2px;
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 60px rgba(32, 29, 26, 0.1);
}

.venue-map {
  width: 100%;
  height: clamp(340px, 55vh, 540px);
  background: var(--ivory-deep);
}

/* Soften OSM tiles to sit with the ivory & gold palette */
.venue-map .leaflet-tile-pane {
  filter: grayscale(0.45) sepia(0.1) saturate(0.85);
}

.venue-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-serif);
  font-size: var(--text-lede);
  color: var(--charcoal);
}

/* Custom gold marker */
.venue-marker { background: transparent; border: none; }

.venue-marker-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 253, 249, 0.95);
}

.venue-marker-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0.5;
  transform: scale(0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .venue-marker-ring { animation: venue-pulse 2.6s ease-out infinite; }
}

@keyframes venue-pulse {
  0% { transform: scale(0.35); opacity: 0.9; }
  70%, 100% { transform: scale(1); opacity: 0; }
}

/* Popup, matched to the site */
.venue-map .leaflet-popup-content-wrapper {
  background: var(--white);
  color: var(--charcoal);
  border-radius: 2px;
  box-shadow: 0 14px 34px rgba(32, 29, 26, 0.18);
}

.venue-map .leaflet-popup-content {
  margin: 1rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

.venue-map .leaflet-popup-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.venue-map .leaflet-popup-tip { background: var(--white); }

.venue-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.venue-directions {
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding-bottom: 0.45em;
  border-bottom: 1px solid var(--gold);
  transition: color 0.3s ease;
}

.venue-directions:hover { color: var(--gold); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 46rem;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--hairline);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question-text {
  font-family: var(--font-serif);
  font-size: var(--text-detail);
  font-weight: 500;
  line-height: 1.4;
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.faq-question:hover .faq-question-text { color: var(--gold); }

.faq-indicator {
  position: relative;
  flex: 0 0 auto;
  width: 0.9rem;
  height: 0.9rem;
  align-self: center;
}

.faq-indicator::before,
.faq-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transition: transform 0.45s var(--ease-out);
}

.faq-indicator::after { transform: rotate(90deg); }

.faq-item[open] .faq-indicator::before { transform: rotate(180deg); }
.faq-item[open] .faq-indicator::after { transform: rotate(180deg); }

.faq-answer { overflow: clip; }

.faq-answer-inner {
  padding: 0.25rem 0 1.9rem;
  color: var(--charcoal-soft);
  max-width: 40em;
}

.faq-answer-inner p + p { margin-top: 1em; }

.faq-stays {
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  gap: 1.1rem;
}

.faq-stay {
  display: grid;
  gap: 0.15rem;
}

.faq-stay > a {
  justify-self: start;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
}

.faq-stay-meta {
  font-size: var(--text-small);
  letter-spacing: 0.08em;
  color: var(--charcoal-soft);
}

/* ==========================================================================
   RSVP
   ========================================================================== */

.rsvp { text-align: center; }

.rsvp-action { display: flex; justify-content: center; }

.button-rsvp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 3.5rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: clip;
  transition: color 0.4s ease;
  will-change: transform;
}

.button-rsvp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}

.button-rsvp:hover::before { transform: translateY(0); }

.button-rsvp-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  will-change: transform;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: clamp(3rem, 2rem + 4vw, 6rem) 2rem;
  text-align: center;
  border-top: 1px solid rgba(32, 29, 26, 0.08);
}

.footer-mono {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-line {
  font-size: var(--text-small);
  letter-spacing: 0.14em;
  color: var(--charcoal-soft);
}

/* ==========================================================================
   Reduced motion — everything readable, nothing required to move
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .preloader { display: none; }

  .figure-mask img { transform: none; }

  .hero-slide { transition: opacity 0.4s ease; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}
