:root {
  --evergreen-900: #0b2205;
  --evergreen-800: #122f08;
  --evergreen-700: #1d4a12;
  --evergreen-600: #1f4d13;
  --gold: #fceaa8;
  --gold-soft: #fff5d4;
  --snow: #f8f5ef;
  --ink: #1b1b1b;
  --muted: #5d625f;
  --line: rgba(0, 0, 0, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --overlay: 11, 34, 5;
  --gold-line: rgba(252, 234, 168, 0.38);
  /* --gold-line flattened onto --evergreen-900, for thin rings where the grain showing through looks speckled */
  --gold-line-solid: #676e43;
  --gold-faint: rgba(252, 234, 168, 0.2);
  --text-soft: rgba(248, 245, 239, 0.76);
  --text-faint: rgba(248, 245, 239, 0.6);

  /* Brand face is Neue Haas Grotesk (licensed). Headings fall back to Inter Tight for its heavy weights;
     body falls back to Helvetica Neue, NHG's built-in descendant on Apple devices */
  --font-display: "Neue Haas Grotesk Display Pro", "neue-haas-grotesk-display", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Neue Haas Grotesk Text Pro", "neue-haas-grotesk-text", "Helvetica Neue", "Inter", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", monospace;

  --radius: 14px;
  --container: 1120px;
  --gutter: 20px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--snow);
  /* One continuous evergreen with a fine warm grain, header to footer */
  background: url("../assets/img/texture.svg"), var(--evergreen-900);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h3, h4 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }

p { margin: 0 0 1em; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  text-wrap: balance;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

/* Buttons & links */
.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--evergreen-900);
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--snow); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 0.6em 1.1em; font-size: 0.85rem; }

.link {
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Gold outline button for the dark page */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: none;
  color: var(--gold);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-line:hover { background: var(--gold); color: var(--evergreen-900); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-h);
  color: var(--snow);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(var(--overlay), 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(var(--overlay), 0.6);
}
.nav a:not(.btn):hover { color: var(--gold); }

/* Hero: split layout. Lockup over the video on the left, left-aligned copy on the right; video runs full width. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  color: var(--snow);
  overflow: hidden;
}
/* Fades the hero's bottom edge into the page's textured green */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: url("../assets/img/texture.svg"), var(--evergreen-900);
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(var(--overlay), 0.7); }
/* Frosted-window feel: fine white grain, heavier toward the edges */
.hero-frost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("../assets/img/frost.svg"),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(255, 255, 255, 0.08) 85%, rgba(255, 255, 255, 0.16) 100%);
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0, 0, 0, 0.25) 35%, #000 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0, 0, 0, 0.25) 35%, #000 100%);
}
/* Candlelight: slow, faint points of light, strongest at the hero's edges and dimmer toward the middle */
.hero-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, rgba(0, 0, 0, 0.45) 25%, #000 100%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 48%, rgba(0, 0, 0, 0.45) 25%, #000 100%);
}
.hero-lights i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc, var(--gold) 35%, rgba(252, 234, 168, 0) 70%);
  box-shadow: 0 0 calc(var(--s) * 2) calc(var(--s) * 0.5) rgba(252, 234, 168, 0.26);
  opacity: 0.9;
  animation: hero-glow var(--t) ease-in-out var(--o) infinite;
  /* Parallax: --hp (0 to 1) is how far the hero has scrolled off; set in main.js */
  transform: translate3d(0, calc(var(--hp, 0) * -140px), 0);
  will-change: transform;
}
.hero-lights i.soft { filter: blur(4px); opacity: 0.55; animation-name: hero-glow-soft; transform: translate3d(0, calc(var(--hp, 0) * -320px), 0); }
@keyframes hero-glow { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.35; } }
@keyframes hero-glow-soft { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.2; } }
.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  padding: calc(var(--header-h) + 32px) clamp(24px, 4vw, 56px) 48px;
  text-align: center;
}
.hero-title { width: min(100%, 680px); margin: 0; line-height: 0; }
.hero-title picture { display: block; }
.hero-title img { width: 100%; height: auto; filter: drop-shadow(0 4px 28px rgba(var(--overlay), 0.6)); }
/* Phones get the lettering-only lockup plus this live-text tagline; the lockup's built-in tagline is too small there */
.hero-tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 1rem 0 0;
}
.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-h) + 72px) clamp(28px, 6vw, 96px) 48px clamp(28px, 5vw, 80px);
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
/* Portrait tablets (iPad portrait): stack the hero like phones, at tablet scale */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 56svh; padding: calc(var(--header-h) + 40px) clamp(32px, 8vw, 96px) 24px; }
  .hero-title { width: min(100%, 620px); }
  .hero-text { padding: 32px clamp(32px, 8vw, 96px) 72px; }
}

/* Desktop: headline scales to the column so it stays on one line and ends where the paragraph does */
@media (min-width: 761px) {
  .hero-text { container-type: inline-size; }
  .hero-headline { font-size: clamp(1.75rem, 8.2cqi, 2.25rem); }
}
/* Measure matches the one-line headline width so the two end together */
.hero .lead { font-size: 1.05rem; font-weight: 500; line-height: 1.45; max-width: 26.5rem; margin: 0 0 1.5rem; text-wrap: pretty; }
.hero-headline, .hero .lead, .hero-tag, .text-cta { text-shadow: 0 1px 14px rgba(var(--overlay), 0.7); }
.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(252, 234, 168, 0.55);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold);
  text-decoration: none;
  transition: border-color 0.2s;
}
.text-cta .arrow { font-size: 1.15em; line-height: 1; transition: transform 0.2s; }
.text-cta:hover { border-color: var(--gold); }
.text-cta:hover .arrow { transform: translateY(3px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

/* ============ Below the hero: arched windows and a gold candle thread ============ */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { position: relative; padding: 88px 0; }

/* Section heads: centered "Christmas card" on phones; long text stays left-aligned */
.head { text-align: center; max-width: 52rem; margin: 0 auto 64px; }
.head .intro { text-align: left; color: var(--text-soft); max-width: 34rem; margin: 22px auto 0; text-wrap: pretty; }
#weekends .head .intro { max-width: 46rem; }
.h2 { margin: 0; color: var(--snow); }
.h2 span { display: block; text-wrap: balance; }
/* Gold word inside a one-line title */
.h2 span.hl { display: inline; color: var(--gold); }
/* Two-part titles: white first line, gold second line, same on phones and desktop */
.h2 .a, .h2 .b { font-size: min(9.6vw, 4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.h2 .b { color: var(--gold); }
/* Mono label flanked by short gold rules (phones) */
.rule-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--gold);
}
.rule-label::before, .rule-label::after {
  content: "";
  flex: 0 1 44px;
  height: 1px;
  background: var(--gold-line);
}

/* Arched window frame */
.arch { border: 1px solid var(--gold-line); border-radius: 999px 999px 6px 6px; padding: 7px; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 2px 2px; }

/* Slide-style snowflakes, stars, and dots in section corners, painted behind the content */
#expect, #invite { isolation: isolate; }
#expect::before, #invite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.75;
  --deco: clamp(150px, 19vw, 280px);
  background:
    url("../assets/img/deco-a.svg") right top / var(--deco) no-repeat,
    url("../assets/img/deco-b.svg") left bottom / var(--deco) no-repeat;
}
/* Different art in mirrored corners so the two sections don't repeat the same pattern */
#invite::before {
  background:
    url("../assets/img/deco-e.svg") left top / var(--deco) no-repeat,
    url("../assets/img/deco-f.svg") right bottom / var(--deco) no-repeat;
}

/* About New Life */
.about { max-width: 46rem; margin: 0 auto 120px; }
/* Phones: more air between the hero fade, About, and the Times & Locations title */
@media (max-width: 899px) { .about { margin: 40px auto 168px; } }
.about-statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  margin-bottom: 1.25rem;
}
.about-link { font-weight: 600; font-size: 0.95rem; color: var(--gold); text-underline-offset: 4px; }

/* Times & Locations: stops along the candle thread */
#services, #nueva-vida { scroll-margin-top: calc(var(--header-h) + 12px); }
.stops { position: relative; display: grid; gap: 112px; }
.stops::after { content: ""; position: absolute; left: 50%; bottom: -64px; width: 1px; height: 64px; background: linear-gradient(var(--gold-line), transparent); }
.stop { position: relative; text-align: center; }
/* Thread segment in the gap above each stop, with a glowing dot; drawn in the gaps so nothing needs a solid backdrop */
.stop::after { content: ""; position: absolute; left: 50%; top: -112px; width: 1px; height: 112px; background: var(--gold-line); }
.stop:first-child::after { top: -56px; height: 56px; background: linear-gradient(transparent, var(--gold-line)); }
.stop::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: -56px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(252, 234, 168, 0.12), 0 0 24px 6px var(--gold-faint);
}
.stop:first-child::before { top: -28px; }
.stop .arch { position: relative; width: min(84%, 420px); aspect-ratio: 4 / 5; margin: 0 auto; }
.info { position: relative; z-index: 2; padding-top: 28px; }
.name { margin: 0; color: var(--snow); }
.name span { display: block; }
.nl { margin: 0 0 12px; }
.name .n { font-size: min(15vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
/* Phones and small tablets: the oversized name rises onto the photo's faded bottom edge, echoing the desktop overlap */
@media (max-width: 899px) {
  .stop .arch::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 999px 999px 2px 2px;
    background: linear-gradient(transparent 48%, rgba(var(--overlay), 0.92));
    pointer-events: none;
  }
  .stop .info { padding-top: 0; margin-top: calc(-0.52 * min(21vw, 7.5rem) - 30px); }
  .stop .nl { text-shadow: 0 1px 8px rgba(var(--overlay), 0.9); }
  .name .n { font-size: min(21vw, 7.5rem); letter-spacing: -0.06em; line-height: 0.84; text-shadow: 0 4px 32px rgba(var(--overlay), 0.6); }
}
.when { margin: 20px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.05; letter-spacing: -0.01em; color: var(--snow); }
.times {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  margin: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.times .t + .t::before { content: "·"; content: "·" / ""; margin: 0 12px; opacity: 0.6; }
/* Date and times read as one block, set nearly solid */
.when + .times { margin-top: 6px; line-height: 1; }
/* Heaviest weight so the small PM holds its own beside the numerals */
.times small { font-size: 0.55em; font-weight: 900; margin-left: 2px; }
.info address { font-style: normal; color: var(--text-soft); font-size: 0.95rem; line-height: 1.45; margin-bottom: 8px; }
.info .link { font-size: 0.95rem; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; }
.es-events { display: grid; gap: 22px; max-width: 26rem; margin: 24px auto 22px; text-align: left; }
.es-event { padding-left: 16px; border-left: 1px solid var(--gold-line); }
/* Event name as a small label, like the New Life label over the English names, so the date leads */
.es-event h4 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; color: var(--gold); margin: 0; }
/* Each event's date and times get the English listings' treatment, a size down */
#nueva-vida .es-event .when { margin: 6px 0 0; font-size: 1.1rem; }
#nueva-vida .es-event .times { justify-content: flex-start; margin-bottom: 8px; font-size: 1.7rem; }
.es-desc { color: var(--text-soft); font-size: 0.92rem; }
.es-event p:last-child { margin-bottom: 0; }

/* What to Expect: one window pinned under the header; its photo follows the moment in view */
.moments { position: relative; }
.moments-stick {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  margin: 0 calc(-1 * var(--gutter));
  padding: 12px var(--gutter) 34px;
}
/* Backdrop hides moments scrolling under the window; same texture as the page, fading out at the bottom */
.moments-stick::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/img/texture.svg"), var(--evergreen-900);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 30px), transparent);
}
.moments-window { position: relative; width: min(62%, 300px, 32svh); aspect-ratio: 4 / 5; margin: 0 auto; }
.moments-imgs { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 999px 999px 2px 2px; }
.moments-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.moments-imgs img.is-on { opacity: 1; }
.moments-count {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--evergreen-900);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}
.moments.is-live .moments-count { display: block; }
.moments-list { list-style: none; margin: 0; padding: 40px 0 0; }
.moment {
  min-height: 52svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  text-align: center;
}
.moments:not(.is-live) .moment { min-height: 0; padding: 40px 0; }
/* Inactive moments dim only their heading, kept at 4.7:1 contrast; descriptions stay full strength */
.moments.is-live .moment:not(.is-on) h3 { opacity: 0.5; }
.moment h3 { transition: opacity 0.4s; }
/* Each moment carries its own photo for screen readers and no-JS; with the window live it's visually hidden */
.moment-photo { width: min(84%, 420px); aspect-ratio: 4 / 5; margin: 0 auto 24px; }
.moments.is-live .moment-photo {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.moments:not(.is-live) .moments-stick { display: none; }
.moment h3 { margin: 0; font-size: min(11vw, 4.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.92; text-wrap: balance; color: var(--snow); }
.moment p { color: var(--text-soft); max-width: 24rem; margin: 14px 0 0; text-align: left; }


/* Invite: the portrait video in a tall arched window */
.invite-grid { display: grid; gap: 40px; }
.invite .head { margin-bottom: 0; }
.invite-frame {
  width: min(78%, 340px);
  margin: 0 auto;
  padding: 7px;
  border: 1px solid var(--gold-line);
  border-radius: 999px 999px 6px 6px;
}
.invite-frame video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #000; border-radius: 999px 999px 2px 2px; }
.invite-frame { position: relative; }
.invite-cover {
  position: absolute;
  inset: 7px;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  cursor: pointer;
  border-radius: 999px 999px 2px 2px;
}
.invite-cover[hidden] { display: none; }
.invite-cover:focus-visible { border-radius: 999px 999px 2px 2px; outline-offset: 3px; }
.invite-cover video { height: 100%; pointer-events: none; }
.invite-cover[aria-busy="true"] { cursor: progress; }
.invite-cover[aria-busy="true"] video { filter: brightness(0.7); }
/* Live (not baked into the loop) so the blur works on the moving candles; matches the closing banner's button */
.invite-play {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 24%;
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(var(--overlay), 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}
.invite-play::after { content: ""; width: 30%; height: 34%; margin-left: 9%; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.invite-cover:hover .invite-play, .invite-cover:focus-visible .invite-play { background: var(--gold); color: var(--evergreen-900); }
.invite-copy p { color: var(--text-soft); max-width: 34rem; margin: 0 auto; }
.invite-copy .btn-line { display: flex; justify-content: center; width: fit-content; margin: 24px auto 0; }
.share-status { margin: 0.75em auto 0; max-width: 34rem; font-size: 0.9rem; color: var(--gold-soft); }
.share-status:empty { margin: 0; }

/* FAQs: left-aligned */
/* width: 100% because auto margins on a grid item shrink it to fit, so opening an answer widened the column */
.faq { width: 100%; max-width: 820px; margin: 0 auto; border-top: 1px solid var(--gold-faint); }
.faq details { border-bottom: 1px solid var(--gold-faint); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--snow);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--font-display); color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary { color: var(--gold); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 24px; max-width: 40rem; color: var(--text-soft); }
.faq a[href^="tel:"] { white-space: nowrap; }

/* After Christmas */
.weekends { list-style: none; margin: 0; padding: 0; text-align: center; }
.weekends li { display: flex; flex-direction: column; align-items: center; padding: 32px 0; border-top: 1px solid var(--gold-line); }
.weekends li:last-child { border-bottom: 1px solid var(--gold-line); }
.weekends h3 { margin: 0; color: var(--snow); }
.weekends h3 span { display: block; }
.weekends .wk-pre { margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.14em; line-height: 1.3; text-transform: uppercase; color: var(--gold); }
.weekends .wk-name { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; white-space: nowrap; }
.weekends .link { margin-top: auto; }
.weekends p { color: var(--text-soft); margin: 10px 0 12px; }
.weekends .link { font-size: 0.95rem; }
.connect { text-align: center; margin-top: 72px; }
.connect p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.02em; max-width: 28rem; margin: 0 auto 24px; text-wrap: balance; }

/* Closing */
.closing { isolation: isolate; text-align: center; padding-bottom: 120px; }
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("../assets/img/texture.svg"),
    linear-gradient(rgba(var(--overlay), 0.62), rgba(var(--overlay), 0.38) 70%, rgba(var(--overlay), 0.5)),
    url("../assets/img/closing-room.jpg") 50% 78% / cover;
  -webkit-mask-image: linear-gradient(transparent, #000 45%);
  mask-image: linear-gradient(transparent, #000 45%);
}
.flame {
  display: block;
  width: 16px;
  height: 26px;
  margin: 0 auto 36px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff8dc, var(--gold) 45%, rgba(252, 234, 168, 0) 72%);
  box-shadow: 0 0 44px 20px rgba(252, 234, 168, 0.22);
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flicker { 50% { transform: scale(0.94, 1.06); opacity: 0.85; } }
.closing .h2.solo .b { font-size: min(9.2vw, 3.8rem); }
.closing .h2 .a { font-size: min(9.2vw, 3.8rem); }
.closing .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
/* Frosted so the buttons stay readable over the candlelit crowd */
.closing .btn-line { background: rgba(var(--overlay), 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.closing .btn-line:hover { background: var(--gold); }

/* Footer: ledger rows, like the After Christmas list */
.site-footer { padding: 72px 0 36px; border-top: 1px solid var(--gold-faint); color: var(--text-faint); font-size: 0.9rem; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 0; }
.foot-logo { display: block; width: 200px; height: auto; margin-bottom: 32px; }
.foot-social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 28px 0 0; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--gold-line-solid); border-radius: 50%; }
.foot-social a:hover { border-color: var(--gold); }
.foot-social svg { width: 17px; height: 17px; }
.foot-rows { margin: 0; border-top: 1px solid var(--gold-line); }
.foot-row { display: grid; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--gold-line); }
.foot-h { margin: 0; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
/* Phones and tablets: one link per line */
.foot-links {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}
.foot-base { display: grid; gap: 16px; padding-top: 24px; font-size: 0.85rem; }
.foot-base .line { display: block; }
.foot-base .sep { display: none; }
@media (min-width: 900px) {
  .site-footer { padding-top: 96px; }
  .site-footer .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .foot-logo, .foot-social { grid-row: 1; margin-bottom: 32px; }
  .foot-social { grid-column: 2; padding: 0; }
  .foot-rows, .foot-base { grid-column: 1 / -1; }
  .foot-row { grid-template-columns: 220px 1fr; align-items: baseline; }
  /* Desktop: dot-separated rows; each dot sits in the gap before its link, and the clip hides the one that starts a wrapped line, never link text */
  .foot-links { display: flex; flex-wrap: wrap; gap: 4px 0; margin-left: -28px; clip-path: inset(-8px -8px -8px 20px); font-size: 1.3rem; }
  .foot-links li { position: relative; margin-left: 28px; }
  .foot-links li::before { content: "·"; content: "·" / ""; position: absolute; left: -28px; width: 28px; text-align: center; color: var(--gold-line); }
  .foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
  .foot-base .line { display: inline; }
  .foot-base .sep { display: inline; }
}

/* ============ Desktop: alternating windows and oversized regular-case type ============ */
@media (min-width: 900px) {
  .wrap { padding: 0 48px; }
  .sec { padding: 136px 0; }
  .head { margin-bottom: 104px; }
  .h2 .a, .h2 .b { display: block; font-family: var(--font-display); font-size: clamp(2.7rem, 4.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; text-transform: none; margin: 0; }

  /* One continuous thread down the middle, between the windows and the names */
  .stops { gap: 140px; }
  .stops::before { content: ""; position: absolute; left: 50%; top: -40px; bottom: -40px; width: 1px; background: linear-gradient(transparent, var(--gold-line) 6%, var(--gold-line) 94%, transparent); }
  .stops::after, .stop::after { content: none; }
  .stop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 120px); align-items: center; text-align: left; }
  .stop::before, .stop:first-child::before { top: 50%; }
  .stop .arch { width: min(100%, 420px); margin: 0; justify-self: end; }
  .stop:nth-child(even) .arch { order: 2; justify-self: start; }
  .info { padding: 0; max-width: 460px; }
  .stop:nth-child(even) .info { justify-self: end; text-align: right; }
  .nl { justify-content: flex-start; margin-bottom: 14px; }
  .nl::before { content: none; }
  .stop:nth-child(even) .nl { justify-content: flex-end; }
  .stop:nth-child(even) .nl::before { content: ""; }
  .stop:nth-child(even) .nl::after { content: none; }
  .name .n { font-size: clamp(5.4rem, 9vw, 9rem); letter-spacing: -0.06em; line-height: 0.84; text-shadow: 0 4px 32px rgba(var(--overlay), 0.55); }
  .stop:nth-child(odd) .name .n { margin-left: calc(-1 * clamp(90px, 12vw, 180px)); }
  .stop:nth-child(even) .name .n { margin-right: calc(-1 * clamp(90px, 12vw, 180px)); }
  .when { margin-top: 26px; font-size: 1.5rem; }
  .times { justify-content: flex-start; font-weight: 800; font-size: 2.3rem; margin: 10px 0 18px; }
  .when + .times { margin-top: 6px; }
  .stop:nth-child(even) .times { justify-content: flex-end; }
  .links { justify-content: flex-start; }
  .stop:nth-child(even) .links { justify-content: flex-end; }
  .es-events { margin-left: auto; margin-right: 0; }

  /* What to Expect: window pinned on the left, moments scroll on the right */
  .moments.is-live { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 120px); }
  .moments:not(.is-live) .moment { align-items: center; text-align: center; }
  .moments-stick {
    top: max(calc(var(--header-h) + 24px), calc(50vh - 262px));
    align-self: start;
    justify-self: end;
    width: min(100%, 420px, calc((100vh - var(--header-h) - 64px) * 0.8));
    margin: 0;
    padding: 0;
  }
  .moments-stick::before { content: none; }
  .moments-window { width: 100%; margin: 0; }
  .moments-list { padding: 0; }
  .moment { min-height: 72vh; align-items: flex-start; text-align: left; }
  .moment h3 { font-size: clamp(3.4rem, 5.6vw, 5.4rem); }


  /* Invite: video window left, words right */
  .invite-grid { grid-template-columns: auto minmax(0, 1fr); gap: clamp(56px, 8vw, 120px); align-items: center; max-width: 1040px; margin: 0 auto; }
  .invite-grid { row-gap: 32px; }
  .invite-frame { grid-column: 1; grid-row: 1 / span 2; width: clamp(300px, 28vw, 380px); margin: 0; }
  .invite .head { grid-column: 2; align-self: end; text-align: left; margin: 0; }
  .invite .h2 .a, .invite .h2.solo .b { font-size: clamp(2.5rem, 4vw, 3.9rem); }
  .invite-copy { grid-column: 2; align-self: start; }
  .invite-copy p, .share-status { margin-left: 0; }
  .invite-copy .btn-line { display: inline-flex; width: auto; margin-left: 0; }

  /* FAQs: heading left (pinned), questions right */
  .faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 104px); align-items: start; }
  .faq-grid .head { position: sticky; top: calc(var(--header-h) + 48px); text-align: left; margin: 0; }
  .faq-grid .h2 .a, .faq-grid .h2 .b { font-size: clamp(2.3rem, 3.7vw, 3.5rem); }
  .faq summary { font-size: 1.45rem; padding: 24px 0; }
  .faq details p { font-size: 1.05rem; }

  .weekends { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .weekends li { border-top: 0; border-left: 1px solid var(--gold-line); padding: 8px 24px; }
  .weekends .wk-name { font-size: clamp(1.8rem, 3vw, 2.75rem); }
  .weekends li:first-child { border-left: 0; }
  .weekends li:last-child { border-bottom: 0; }

  .closing .h2 .a, .closing .h2.solo .b { font-size: clamp(2.7rem, 4.6vw, 4.2rem); }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .nav { display: none; }
  .header-inner { justify-content: center; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 62svh; padding-top: calc(var(--header-h) + 24px); }
  .hero-text { padding: 36px var(--gutter) 56px; }
  .hero .lead { font-size: 0.95rem; max-width: none; }
  .hero-title { width: min(100%, 440px); }
  .hero-tag { display: block; }
  .brand img { height: 36px; }
  .closing .actions { flex-direction: column; align-items: center; }
}
@media (max-width: 1000px) {
  .nav { gap: 1.25rem; }
}
/* Small tablets in the phone layout (iPad mini portrait): roomier side margins */
@media (min-width: 600px) and (max-width: 760px) {
  :root { --gutter: 32px; }
}

/* Scroll reveal: hidden only while the reveal script is known to be running (html.reveal) */
.reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal [data-reveal].is-in { opacity: 1; transform: none; }
.reveal [data-reveal].is-instant { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .btn-line, .invite-play, .faq summary::after, .text-cta, .text-cta .arrow, .moment h3, .moments-imgs img { transition: none; }
  .flame, .hero-lights i { animation: none; }
  .hero-lights i, .hero-lights i.soft { transform: none; }
}

@media print {
  .reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}
