/* Jenny & Abel: site styles. Mobile-first; scaffolded with Claude Code.

   Type roles (brand kit, mood board p.6):
   - Le Jour Serif     → headings, menus, signs, numerals
   - The Seasons       → times, labels, addresses, small print (and body copy)
   - Sloop Script Two  → our names. The formal moment, and nothing else
   - Campground        → details, menu headers, card fronts (rarely)
   No script anywhere guests need to read details. */

/* ── Fonts (assets/fonts/) ─────────────────────────────────────────────────── */
@font-face { font-family: "Le Jour Serif"; src: url("../assets/fonts/LeJourSerif.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Sloop Script Two"; src: url("../assets/fonts/SloopScriptTwo.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Campground"; src: url("../assets/fonts/Campground.otf") format("opentype"); font-display: swap; }
/* The Seasons: drop the FULL licensed files in with these names to switch it on
   (the free demo stamps out 4 $ % / & @ ( ) ! and accents, so it can't be used). */
@font-face { font-family: "The Seasons"; src: url("../assets/fonts/TheSeasons-Light.woff2") format("woff2"), url("../assets/fonts/TheSeasons-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("../assets/fonts/TheSeasons-Regular.woff2") format("woff2"), url("../assets/fonts/TheSeasons-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("../assets/fonts/TheSeasons-Italic.woff2") format("woff2"), url("../assets/fonts/TheSeasons-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }

/* ── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  /* Palette, in order of dominance */
  --ivory: #FBF7F0;
  --blush: #F5ECE7;      /* alternate section ground, as in the mood board */
  --black: #1F1B1A;
  --red: #B0323C;        /* accent type: dates, labels, numerals, buttons (5.9:1 on ivory) */
  --blue: #7FA3CE;       /* decorative only: stripes, borders (2.5:1, fails for text) */
  --blue-ink: #41679A;   /* text-safe bridal blue for links (5.4:1 on ivory) */
  --coral: #E07A5F;
  --rose: #E39AA6;
  --butter: #E8C77A;
  --butter-deep: #AE8A3C; /* deeper butter for type over photos */
  --chartreuse: #9F9A2C;
  --olive: #7A8450;

  --font-heading: "Le Jour Serif", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "The Seasons", "Playfair Display", Georgia, serif; /* Playfair stands in until The Seasons arrives */
  --font-names: "Sloop Script Two", "Snell Roundhand", cursive;
  --font-deco: "Campground", "Sloop Script Two", cursive;

  --stripe: 14px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max: 72rem;
  --header-h: 3.75rem;
  --hairline: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}

/* Stripe colourways: use ONE per section */
.stripes-rose   { --stripe-c: var(--rose); }
.stripes-red    { --stripe-c: var(--red); }
.stripes-blue   { --stripe-c: var(--blue); }
.stripes-butter { --stripe-c: var(--butter); }
.stripes {
  background: repeating-linear-gradient(90deg,
    var(--stripe-c, var(--rose)) 0 var(--stripe),
    var(--ivory) var(--stripe) calc(var(--stripe) * 2));
}

/* Thin double red rule frame (mood board cards) */
.frame {
  border: 1px solid var(--red);
  outline: 1px solid var(--red);
  outline-offset: 5px;
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font: 400 1.125rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.25rem, 8vw, 3.75rem); text-transform: uppercase; color: var(--black); }

/* Letter-spaced caps label: The Seasons, red */
.label {
  font: 400 0.8125rem/1.3 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-variant-numeric: lining-nums;
  color: var(--red);
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .3s, border-color .3s;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: var(--hairline);
}
.monogram { display: flex; align-items: center; height: 2.5rem; text-decoration: none; color: var(--black); }
.monogram img { height: 100%; width: auto; }
.monogram .mono-light { display: none; }

.site-header.is-over-photo { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.is-over-photo .mono-dark { display: none; }
.is-over-photo .mono-light { display: block; }
.is-over-photo .nav:not(.is-open) a, .is-over-photo .menu-toggle { color: var(--ivory); }
/* over the photo the RSVP button is an ivory outline, so red doesn't compete with the gold names */
.is-over-photo .btn-small { background: transparent; border-color: color-mix(in srgb, var(--ivory) 85%, transparent); }
.is-over-photo .btn-small:hover { background: rgb(251 247 240 / .15); }
.monogram span { font: 400 1.25rem/1 var(--font-heading); letter-spacing: 0.18em; }

.nav { display: none; }
.nav a {
  color: var(--black); text-decoration: none;
  font: 400 0.8125rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.22em;
}
.nav a:hover { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-small {
  display: inline-block; padding: 0.6rem 1.15rem;
  background: var(--red); color: var(--ivory); text-decoration: none; border: 1px solid var(--red);
  font: 400 0.75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.22em;
  transition: background-color .3s, border-color .3s;
}
.btn-small:hover { color: var(--ivory); background: var(--black); }

.menu-toggle {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 0; background: none; color: var(--black); cursor: pointer; padding: 0;
}
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

/* Mobile drop-down menu */
.nav.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--ivory); border-bottom: var(--hairline);
  padding: 0.5rem var(--gutter) 1rem;
}
.nav.is-open a { padding: 1rem 0; border-bottom: var(--hairline); }

@media (min-width: 900px) {
  .nav, .nav.is-open { display: flex; position: static; flex-direction: row; gap: 2.5rem; padding: 0; border: 0; background: none; }
  .nav.is-open a { padding: 0; border: 0; }
  .menu-toggle { display: none; }
}

/* ── Photo placeholder (shows until the real file exists) ──────────────────── */
.photo { position: relative; overflow: hidden; background: var(--blush); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing img { display: none; }
.photo.is-missing::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem;
  color: color-mix(in srgb, var(--black) 55%, transparent);
  font: 400 0.875rem/1.3 var(--font-body); letter-spacing: 0.04em; text-align: center;
}

/* ── Hero: full-screen cover photo with the names over it (Cassius-style) ──── */
.hero-cover {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 34rem;
  display: grid; place-items: center;
  color: var(--ivory); text-align: center;
}
.hero-bg { position: absolute; inset: 0; background: var(--ivory); }
.hero-bg img { filter: saturate(.6) brightness(.8); } /* muted, so the butter names read */
.hero-cover::after { /* keeps ivory type legible on any photo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(31 27 26 / .3) 0%, rgb(31 27 26 / .13) 38%, rgb(31 27 26 / .16) 62%, rgb(31 27 26 / .4) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 0 var(--gutter); display: grid; gap: clamp(1.25rem, 4vw, 2rem); }
.hero-title { margin: 0; }
.names {
  display: block;
  font: 400 clamp(4.5rem, 19vw, 12rem)/1.1 var(--font-names);
  padding: 0 0.2em; /* script swashes overhang */
}
/* Names in butter with a soft ivory glow (as on the mood board title slide) */
.hero-cover .names { color: var(--butter); text-shadow: 0 0 24px rgb(251 247 240 / .45), 0 0 6px rgb(251 247 240 / .3), 0 1px 2px rgb(74 59 42 / .45); }
/* the smaller lines stay ivory with a warm shadow: gold is too close to the leaves at this size */
.hero-cover .label, .hero-cover .hero-date { color: var(--ivory); text-shadow: 0 0 12px rgb(74 59 42 / .7), 0 0 3px rgb(74 59 42 / .55), 0 1px 1px rgb(31 27 26 / .35); }
/* Oversized script initials + a small ampersand, for a bit of drama */
.names .cap { font-size: 1.5em; line-height: 0; vertical-align: -0.06em; margin-right: -0.04em; }
.names .amp { font-size: 0.5em; line-height: 0; vertical-align: 0.35em; margin: 0 0.1em; }
.hero-meta { margin: clamp(3rem, 13vh, 9rem) 0 0; display: grid; gap: 0.7rem; } /* date sits lower, over the stems */
.hero-place { line-height: 1.9; }
.hero-date {
  font: 400 clamp(1.75rem, 7vw, 3rem)/1.05 var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.scroll-cue {
  position: absolute; z-index: 1; bottom: 1.75rem; left: 50%;
  width: 1px; height: 3rem; background: color-mix(in srgb, var(--ivory) 80%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue { animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
  @keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
}

.hero-after {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter) clamp(4rem, 10vw, 7rem);
  display: grid; gap: clamp(2rem, 5vw, 3rem); justify-items: center; text-align: center;
}
.hero-after > .label { margin: 0 0 -1rem; }

/* Countdown */
.countdown { display: grid; gap: 0.4rem; justify-items: center; }
.countdown-units { display: flex; gap: clamp(1.75rem, 8vw, 4rem); margin: 0; }
.countdown-unit { display: grid; justify-items: center; gap: 0.35rem; min-width: 3ch; }
.countdown-num {
  font: 400 clamp(3rem, 12vw, 4.75rem)/1 var(--font-heading);
  color: var(--red); font-variant-numeric: lining-nums tabular-nums;
  order: -1; margin: 0; /* number above its label */
}
.countdown-unit .label { color: var(--black); }
.countdown-caption { margin: 3.5rem 0 0; font: italic 400 1.125rem/1.4 var(--font-body); }

.intro {
  max-width: 34rem; margin: 0;
  font: 400 1.1875rem/1.7 var(--font-body);
}
/* "Suspended in time, surrounded by love", all in Le Jour Serif caps */
.intro-block { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.intro-title { font: 400 clamp(1.9rem, 6vw, 3.1rem)/1.1 var(--font-heading); text-transform: uppercase; letter-spacing: 0.02em; color: var(--black); }
.intro-words { margin: 0; color: var(--red); letter-spacing: 0.3em; }

/* The big RSVP buttons: solid red with ivory text; on hover, soft butter/ivory cabana stripes with red text.
   --hover-butter sets how strong the butter stripe is (100% = full brand butter). */
.rsvp-cta { display: grid; justify-items: center; gap: 0.9rem; }
.btn-rsvp {
  --stripe: 10px;
  --hover-butter: 60%;
  display: inline-block;
  padding: 1.15rem 3.5rem;
  font: 400 0.9375rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--ivory); background: var(--red);
  border: 1px solid var(--red); text-decoration: none;
  outline: 1px solid var(--red); outline-offset: 4px;
  transition: color .2s;
}
.btn-rsvp:hover, .btn-rsvp:focus-visible {
  color: var(--red);
  background: repeating-linear-gradient(90deg,
    color-mix(in srgb, var(--butter) var(--hover-butter), var(--ivory)) 0 var(--stripe),
    var(--ivory) var(--stripe) calc(var(--stripe) * 2));
}
@media (max-width: 480px) { .btn-rsvp { padding: 1.1rem 1.75rem; letter-spacing: 0.22em; white-space: nowrap; } }
.rsvp-note { margin: 0; font-size: 0.9375rem; font-style: italic; }

/* ── Photo bands (Cassius-style section openers) ──────────────────────────── */
.band {
  position: relative; overflow: hidden;
  height: clamp(16rem, 55vh, 34rem);
  display: grid; place-items: center; text-align: center;
}
.band-bg { position: absolute; inset: 0; }
.band-bg img { filter: saturate(.6) brightness(.78); }
.band::after { content: ""; position: absolute; inset: 0; background: rgb(31 27 26 / .12); pointer-events: none; }
.band-title { /* butter script: the "photo moment" colour */
  position: relative; z-index: 1; margin: 0; padding: 0 var(--gutter);
  font: 400 clamp(5rem, 21vw, 11rem)/1.1 var(--font-deco);
  color: var(--butter); text-transform: none;
  text-shadow: 0 0 24px rgb(251 247 240 / .45), 0 0 6px rgb(251 247 240 / .3), 0 1px 2px rgb(74 59 42 / .45);
}

/* Illustrated band: the invitation's botanical line art, used as a mask so it takes any brand colour */
.band--art { background: var(--band-ground, var(--olive)); }
.band--art::after { display: none; }
.band-art {
  position: absolute; inset: -10% 0;
  background: var(--band-ink, var(--ivory)); opacity: var(--band-ink-opacity, .32);
  -webkit-mask: var(--art) center 45% / max(100%, 46rem) auto no-repeat;
          mask: var(--art) center 45% / max(100%, 46rem) auto no-repeat;
}
.band--art .band-title { text-shadow: 0 1px 2px rgb(31 27 26 / .25); }

/* Butter cabana stripes with the white florals on top; title in red (lifted by a soft ivory glow) */
.band--stripes {
  --stripe: 22px;
  background: repeating-linear-gradient(90deg, var(--butter) 0 var(--stripe), var(--ivory) var(--stripe) calc(var(--stripe) * 2));
  --band-ink: #FFFFFF; --band-ink-opacity: .95;
}
/* soft gold edge so the white lines read on both stripe colours (on the wrapper, so the mask doesn't clip it) */
.band-art-wrap { position: absolute; inset: 0; }
.band--stripes .band-art-wrap { filter: drop-shadow(0 0 1px rgb(174 138 60 / .9)) drop-shadow(0 1px 1.5px rgb(74 59 42 / .25)); }
.band--stripes .band-title { color: var(--red); text-shadow: 0 0 22px var(--ivory), 0 0 8px var(--ivory), 0 0 3px var(--ivory); }

/* Painted wallpaper: the painted callas framing an open ivory centre */
.band--wallpaper { background: var(--ivory); }
/* painted lilies frame the band from both sides and fade into the open stripes in the middle */
.band-paint {
  position: absolute; top: 0; height: 100%; width: clamp(9rem, 38%, 34rem);
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, #000 45%, transparent 98%);
          mask-image: linear-gradient(to right, #000 45%, transparent 98%);
}
@media (max-width: 600px) { .band-paint { width: 31%; } } /* keep the butter centre open on phones */
.band-paint--left { left: 0; object-position: 15% 35%; }
.band-paint--right { right: 0; object-position: 80% 60%; transform: scaleX(-1); } /* mirrored so the flowers face inward */
.band--wallpaper .band-title { color: var(--red); text-shadow: none; }

/* Washed scene (mood board "La Campagna" slide): pale wash over the image, big Le Jour caps in ivory */
.band-copy { position: relative; z-index: 1; display: grid; gap: 1.1rem; justify-items: center; padding: 0 var(--gutter); }
.band--wash { height: clamp(22rem, 70vh, 40rem); }
.band--wash .band-bg img { filter: saturate(.75); }
.band--wash::after { background: rgb(240 228 220 / .5); }            /* the soft pinkish-white wash */
.band--wash .band-title {
  font: 400 clamp(2.75rem, 9vw, 6rem)/1.05 var(--font-heading); text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ivory); text-shadow: 0 1px 18px rgb(74 59 42 / .35), 0 0 2px rgb(74 59 42 / .2);
  max-width: 12em;
}
.band--wash .label { color: var(--ivory); text-shadow: 0 1px 10px rgb(74 59 42 / .5); margin: 0; }
.band--wash .band-words { margin-top: 0.75rem; letter-spacing: 0.3em; }
/* Frosted, glowing panel behind a big title, across the middle of the illustration */
.band--panel { height: clamp(28rem, 82vh, 48rem); }
.band--panel::after { background: rgb(240 228 220 / .06); }
.band--panel .band-bg { background: var(--ivory); }
.band--panel .band-bg img { object-position: center 55%; filter: saturate(.85) blur(2.5px); opacity: .8; transform: scale(1.35); transform-origin: 0% 98%; } /* soft-focus, faded painting, zoomed from the bottom-left so our faces sit right of "Three", above "MAGICAL" */
.band--panel .band-copy {
  margin: 0 var(--gutter); padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3.5rem);
  max-width: min(94vw, 64rem); gap: 1rem;
  /* no box: white type straight on the painting, with a soft shadow + glow so it reads */
}
.band--panel .band-title {
  font: 400 clamp(4.1rem, 14.4vw, 9.6rem)/0.98 var(--font-heading); letter-spacing: 0.01em; /* +20% */
  color: #fff; text-shadow: 0 0 12px rgb(255 236 200 / .25), 0 1px 2px rgb(74 59 42 / .25); max-width: none; /* very soft glow */
}
/* Mixed title: "Three" in Campground script tucked over "MAGICAL NIGHTS" in Le Jour caps */
.band-title .t-script { display: block; font: 400 1.05em/0.8 var(--font-deco); text-transform: none; letter-spacing: 0; margin: 0 0 -0.3em -2.1em; transform: rotate(-7deg); position: relative; z-index: 1; }
.band-title .t-caps { display: block; }
.band--panel .label { color: #fff; text-shadow: 0 1px 3px rgb(60 45 30 / .7), 0 0 14px rgb(60 45 30 / .55); }
.band--panel .band-words { margin-top: 0.25rem; }
.band--title-top { align-items: start; }
.band--title-top .band-copy { padding-top: clamp(2.5rem, 7vh, 4.5rem); gap: 0.7rem; }
@media (min-width: 700px) { .band--title-top .band-title { max-width: none; white-space: nowrap; font-size: clamp(2.5rem, 5.6vw, 5.5rem); } }
.section-sub { text-align: center; margin: 0 0 0.4rem; }
.section-words { text-align: center; margin: 0 0 1.25rem; font: 400 0.8125rem/1.3 var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; color: color-mix(in srgb, var(--black) 60%, transparent); }
.band--title-top .band-bg img { object-position: center 62%; }
.band--title-top::after { /* wash strongest behind the title, lighter over the people */
  background: linear-gradient(180deg, rgb(240 228 220 / .62) 0%, rgb(240 228 220 / .38) 45%, rgb(240 228 220 / .22) 100%);
}

.section-body {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) var(--gutter) clamp(4rem, 10vw, 7rem);
}
.section-heading { text-align: center; margin: 0 0 1rem; }
.section-intro {
  max-width: 34rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center;
  color: color-mix(in srgb, var(--black) 70%, transparent);
  font: italic 400 1.25rem/1.6 var(--font-body);
}

/* ── The Week: one tab per day ─────────────────────────────────────────────── */
.day-tabs {
  display: grid; grid-template-columns: repeat(var(--tabs, 5), 1fr);
  max-width: 40rem; margin: 0 auto;
  border-bottom: var(--hairline);
}
.day-tab {
  display: grid; justify-items: center; gap: 0.5rem;
  padding: 0.75rem 0.25rem 0.9rem; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  color: color-mix(in srgb, var(--black) 55%, transparent);
  transition: color .2s, border-color .2s;
}
.day-tab:hover { color: var(--black); }
.day-tab[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.tab-dow { font: 400 0.75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.2em; }
.tab-num { font: 400 clamp(1.9rem, 7vw, 2.5rem)/1 var(--font-heading); font-variant-numeric: lining-nums; }

.day { max-width: 40rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.25rem) 0 0; text-align: center; }
.day:focus-visible { outline-offset: 8px; }
.day-date { margin: 0; color: color-mix(in srgb, var(--black) 60%, transparent); }
.day-title { margin-top: 0.75rem; font-size: clamp(1.9rem, 7.5vw, 2.75rem); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.day-subtitle { margin: 0.35rem 0 0; font: 400 1.0625rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--black) 70%, transparent); }
.day-vibe-inline { font: italic 400 1.0625rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--red); white-space: nowrap; } /* wraps as one piece */
.sub-dot { margin: 0 0.15em; }
/* on phones, a long vibe gets its own line (no dangling dot) */
@media (max-width: 520px) { .sub--long .sub-dot { display: none; } .sub--long .day-vibe-inline { display: block; margin-top: 0.4rem; } }
.day-vibe { margin: 0.6rem 0 0; font: italic 400 1.0625rem/1.4 var(--font-body); color: var(--red); }
.day-summary { margin: 2.25rem 0 0; font-size: 1.0625rem; } /* breathing room under the title block */
.day-note { max-width: 30rem; margin: 1rem auto 0; font-size: 1.0625rem; }
.day-dress { margin: 2.25rem 0 0; font: 400 0.9375rem/1.4 var(--font-body); }
.day-dress .label { margin-right: 0.5rem; }
.day-dress a { color: var(--black); transition: color .15s; }
.day-dress a:hover, .day-dress a:focus, .day-dress a:active { color: var(--red); } /* dress-code links turn red on tap/hover */
.dress-note { font-style: italic; color: color-mix(in srgb, var(--black) 65%, transparent); }

.timeline-heading { max-width: 28rem; margin: 3rem auto 0; padding-bottom: 0.6rem; border-bottom: var(--hairline); text-align: left; }
.timeline { margin: 1.5rem auto 0; max-width: 28rem; display: grid; gap: 1.15rem; text-align: left; }
.timeline div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; align-items: baseline; }
.timeline div.has-icon { grid-template-columns: 2.4rem 5.25rem 1fr; gap: 0.75rem; }
.timeline dt .t-line { display: block; } /* time ranges: start on one line, end on the next */
.timeline dt .t-dash { display: none; }
.timeline dt .t-line:first-child::after { content: " –"; }
.t-icon { width: 2.4rem; height: 2.4rem; color: var(--black); align-self: start; margin-top: -0.45rem; }
.t-icon svg { width: 100%; height: 100%; }
.timeline dt { /* times: red, semibold */
  font: 700 0.9375rem/1.4 var(--font-body); color: var(--red); font-variant-numeric: lining-nums; /* ranges wrap after the dash */
}
.timeline dd { margin: 0; font-size: 1.0625rem; line-height: 1.6; word-spacing: 0.04em; }
.t-note { display: block; margin-top: 0.15rem; font-size: 0.9rem; line-height: 1.5; color: color-mix(in srgb, var(--black) 58%, transparent); }

/* ── What to Wear ──────────────────────────────────────────────────────────── */
.wear { border-top: var(--hairline); }
.look-note { margin: 0.6rem 0 0; font: italic 400 1.0625rem/1.4 var(--font-body); color: var(--red); }
.look-text { max-width: 32rem; margin: 1.25rem auto 0; font-size: 1rem; line-height: 1.7; }
.look-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 32rem; margin: 2rem auto 0; }
.look-photo { aspect-ratio: 3 / 4; }
.look-pair { max-width: 32rem; margin: 2.5rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-items: start; }  /* ladies + gents side by side */
.look-fig { margin: 0; }
.look-fig .guide-heading { margin: 0 0 0.75rem; text-align: left; }
.look-fig .look-img { aspect-ratio: 9 / 16; }  /* same frame for ladies + gents; off-size photos crop to fit */
.look-fig-note { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.5; text-align: left; color: color-mix(in srgb, var(--black) 75%, transparent); }

/* ── Travel & Stay ──────────────────────────────────────────────────────────── */
.travel { border-top: var(--hairline); }
.travel .section-intro { margin-top: 2.5rem; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.info { max-width: 34rem; margin: 0 auto; display: grid; gap: 4rem; text-align: left; }
.info-text { margin: 0; font-size: 1.0625rem; line-height: 1.8; }
.info-text a, .info-links a { color: var(--black); text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 3px; }
.info-text a:hover, .info-links a:hover { color: var(--red); }
.info-address { margin: 1rem 0 0; font-size: 0.9375rem; color: color-mix(in srgb, var(--black) 65%, transparent); }
.info-address a { color: inherit; text-decoration-color: color-mix(in srgb, var(--red) 45%, transparent); text-underline-offset: 3px; }
.info-address a:hover { color: var(--red); }
.info-cost { margin: 1.25rem 0 0; padding: 1.1rem 1.25rem; background: var(--blush); font-size: 1rem; line-height: 1.6; }
.info-links { margin: 0.75rem 0 0; font-size: 0.9375rem; }
.map-art { margin-top: 1.25rem; aspect-ratio: 1312 / 1199; }
.map-cta { margin: 1rem 0 0; text-align: center; }
.map-btn { display: inline-block; font: 400 0.8125rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; padding: 0.95rem 1.5rem; color: var(--red); border: 1px solid var(--red); text-decoration: none; transition: background-color .2s, color .2s; }
.map-btn:hover, .map-btn:focus-visible { background: var(--red); color: var(--ivory); }
.guide-list.modes { margin-top: 0.25rem; gap: 2rem; }
.guide-icon--stack { height: auto; display: grid; gap: 0.35rem; }   /* car + train + shuttle stacked */
.guide-icon--stack svg { width: 3.25rem; height: 3.25rem; }
.info-more { margin-top: 1.25rem; font-size: 1rem; }
.guide-list.todo { margin-top: 2.25rem; gap: 2.25rem; }
.todo-verb { margin: 0 0 0.45rem; font-size: 0.6875rem; letter-spacing: 0.24em; }
.todo .guide-title { margin-bottom: 0.45rem; }
.todo .guide-title a { color: var(--black); text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 3px; }
.todo .guide-title a:hover { color: var(--red); }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-section { border-top: var(--hairline); }
.faq-section .section-intro { margin-top: 2.5rem; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.faq { max-width: 34rem; margin: 0 auto; display: grid; gap: 3.5rem; text-align: left; }
.faq-group .guide-heading { margin-bottom: 0.25rem; }
.faq-item { border-bottom: var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 1.25rem; gap: 1rem; align-items: center;
  padding: 1.15rem 0; font-size: 1.0625rem; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-plus { position: relative; width: 1rem; height: 1rem; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--red); transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }   /* + turns into – */
.faq-a { padding: 0 2.25rem 1.4rem 0; font-size: 1rem; line-height: 1.75; color: color-mix(in srgb, var(--black) 82%, transparent); }
.faq-a a { color: var(--black); text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 3px; }
.faq-a a:hover { color: var(--red); }

/* ── Our Story page ────────────────────────────────────────────────────────── */
.story-page { padding-top: var(--header-h); }
.story-page .section-intro { margin-top: 2.5rem; margin-bottom: 1.5rem; }
.story-pick { text-align: center; color: var(--red); margin: 0 0 clamp(2.5rem, 6vw, 4rem); }
.story-names { display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 6vw, 4rem); }
.story-toggle { background: none; border: 0; padding: 0.5rem 1rem; cursor: pointer; color: inherit; display: flex; flex-direction: column; align-items: center; }
.story-vs { font: 400 clamp(1.75rem, 5vw, 2.5rem)/1 var(--font-heading); color: color-mix(in srgb, var(--black) 45%, transparent); }
.story-by { margin: 0; color: color-mix(in srgb, var(--black) 60%, transparent); }
.story-name { margin: 0.25rem 0 0.5rem; font: 400 clamp(3.25rem, 10vw, 5rem)/1 var(--font-deco); color: var(--red); transform: rotate(-4deg); transition: transform .25s; }
.story-toggle:hover .story-name, .story-toggle:focus-visible .story-name { transform: rotate(-7deg) scale(1.05); }
.story-hint { font: 400 0.75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; padding-bottom: 0.3rem; border-bottom: 1px solid currentColor; }
.story-toggle[aria-expanded="true"] .story-hint { color: var(--red); }
.story-text { max-width: 36rem; margin: clamp(2rem, 5vw, 3rem) auto 0; text-align: left; animation: story-in .35s ease; }
.story-text p { margin: 0 0 1.1rem; }
.story-text-by { text-align: center; color: var(--red); margin-bottom: 1.5rem !important; }
@keyframes story-in { from { opacity: 0; transform: translateY(8px); } }
/* Obi's painted portrait, with his name across the bottom (falls back to just the name if the art is missing) */
.story-obi-portrait { position: relative; width: fit-content; margin: 0.5rem auto 0; }
.story-obi-art { display: block; width: clamp(10rem, 32vw, 13.5rem); } /* transparent PNG, just Obi */
.story-obi-portrait.has-art .story-name { /* red script with a soft ivory glow so it pops off his chest */
  position: absolute; left: 50%; top: 93%; /* centred with "And Obi makes three" above */ margin: 0; transform: translate(-50%, -50%) rotate(-4deg);
  padding: 0.15em 0.9em 0.25em; font-size: clamp(3rem, 8vw, 3.75rem); line-height: 1; white-space: nowrap;
  background: radial-gradient(closest-side, rgb(251 247 240 / .92) 45%, rgb(251 247 240 / 0));
  text-shadow: 0 0 6px var(--ivory), 0 0 14px var(--ivory), 0 0 24px var(--ivory);
}
.story-obi-portrait.has-art + .story-obi-title { margin-top: 1.75rem; }
.story-obi { text-align: center; max-width: 40rem; margin: clamp(4.5rem, 10vw, 7rem) auto 0; }
.story-obi-title { margin: -0.75rem 0 1.75rem; font: italic 400 1.125rem/1.4 var(--font-body); color: color-mix(in srgb, var(--black) 70%, transparent); }
.story-obi-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.story-obi-img { aspect-ratio: 3 / 4; }
.story-obi-text { max-width: 32rem; margin: 1.5rem auto 0; }
.story-obi-text a { color: var(--red); }
.story-obi-facts { display: flex; justify-content: center; gap: clamp(2rem, 8vw, 4rem); margin: 2rem 0 0; }
.story-obi-facts dt { color: color-mix(in srgb, var(--black) 60%, transparent); }
.story-obi-facts dd { margin: 0.35rem 0 0; font: 400 1.375rem/1.2 var(--font-heading); color: var(--red); }
.story-page .story-reel-label { text-align: center; margin: clamp(4.5rem, 10vw, 7rem) 0 1.75rem; }
.story-gallery { columns: 3 15rem; column-gap: 0.75rem; }
.story-shot { break-inside: avoid; margin: 0 0 0.75rem; }
.story-shot img { width: 100%; display: block; }
.story-shot figcaption { margin: 0.5rem 0 0; font: italic 400 0.9375rem/1.4 var(--font-body); color: color-mix(in srgb, var(--black) 70%, transparent); }

/* ── Things to Do page ─────────────────────────────────────────────────────── */
.explore-page { padding-top: var(--header-h); }
.explore-page .section-intro { margin-top: 2.5rem; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.signup-btn { display: inline-block; margin-top: 0.75rem; padding: 0.6rem 1.1rem; font: 400 0.75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; color: var(--red); border: 1px solid var(--red); text-decoration: none; transition: background-color .2s, color .2s; }
.signup-btn:hover, .signup-btn:focus-visible { background: var(--red); color: var(--ivory); }

/* Arrivals guide (Sunday tab): little red line icons beside each item */
.guide { margin: 2.25rem auto 0; max-width: 32rem; display: grid; gap: 2.5rem; text-align: left; }
.guide-heading { margin: 0 0 1.25rem; padding-bottom: 0.6rem; border-bottom: var(--hairline); }
.guide-heading span { color: color-mix(in srgb, var(--black) 55%, transparent); }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.guide-list > li { display: grid; grid-template-columns: 3.75rem 1fr; gap: 1rem; align-items: start; }
.guide-icon { color: var(--black); width: 3.75rem; height: 3.75rem; margin-top: -0.4rem; } /* thin ink line over soft colour patches */
.guide-icon svg { width: 100%; height: 100%; }
.guide-title { margin: 0.15rem 0 0.3rem; font: 700 1.0625rem/1.35 var(--font-body); color: var(--black); }
.guide-text { margin: 0; font-size: 0.9rem; line-height: 1.6; color: color-mix(in srgb, var(--black) 82%, transparent); }
.guide-text em { color: var(--black); }
.guide-title em { font-weight: 400; } /* e.g. "(our pick)" in soft italic beside the bold title */
.guide-text a { color: var(--black); text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 3px; }
.guide-text a:hover { color: var(--red); }
.guide-places { margin: 0.5rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; font-size: 0.9rem; }
.guide-places li::marker { color: var(--red); }
.guide-places a { color: var(--black); text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 3px; }
.guide-places a:hover { color: var(--red); }

/* ── RSVP page (/rsvp) ─────────────────────────────────────────────────────
   Phone: photo across the top, form below. Desktop: photo fills the left half. */
.rsvp-page { min-height: 100vh; min-height: 100svh; display: grid; }
.rsvp-photo { height: 46svh; min-height: 18rem; }
.rsvp-photo img { object-position: center 38%; }
.rsvp-panel { padding: 1.75rem var(--gutter) 4rem; max-width: 36rem; width: 100%; margin: 0 auto; }
.rsvp-home { display: inline-block; height: 2.75rem; margin-bottom: 1.5rem; }
.rsvp-home img { height: 100%; width: auto; }
@media (min-width: 900px) {
  .rsvp-page { grid-template-columns: 1fr 1fr; }
  .rsvp-photo { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .rsvp-panel { padding: clamp(2.5rem, 7vh, 5rem) clamp(2rem, 5vw, 5rem) 5rem; align-self: center; }
}

.rsvp-title { font-variant-ligatures: none; margin: 0.6rem 0 0; font-size: clamp(2.5rem, 9vw, 3.75rem); text-transform: uppercase; color: var(--black); line-height: 1.02; }
.rsvp-intro { margin: 1rem 0 0; font-size: 1.125rem; }
.rsvp-deadline { margin: 0.75rem 0 0; font-size: 1rem; color: color-mix(in srgb, var(--black) 70%, transparent); }
.rsvp-deadline strong { color: var(--red); font-weight: 400; }
.rsvp-small { margin: 1rem 0 0; font-size: 0.9375rem; color: color-mix(in srgb, var(--black) 65%, transparent); }
.rsvp-error { margin: 0.75rem 0 0; color: var(--red); font-size: 0.9375rem; }

.rsvp-form { margin-top: 2rem; display: grid; gap: 1.25rem; }
.rsvp-form .btn-rsvp { justify-self: start; margin-top: 0.5rem; cursor: pointer; }
.rsvp-form .btn-rsvp:disabled { opacity: .6; cursor: progress; }
.field { display: grid; gap: 0.45rem; }
.field input {
  font: 400 1.0625rem/1.3 var(--font-body); color: var(--black);
  padding: 0.85rem 1rem; border: 1px solid color-mix(in srgb, var(--black) 25%, transparent);
  background: #fff; border-radius: 0;
}
.field input:focus { outline: 2px solid var(--blue-ink); outline-offset: 1px; border-color: transparent; }
.field input::placeholder { color: color-mix(in srgb, var(--black) 40%, transparent); }

.guest { padding: 1.75rem 0 0.25rem; border-top: var(--hairline); display: grid; gap: 1.25rem; }
.guest-name { font-size: 1.75rem; text-transform: uppercase; color: var(--black); font-variant-ligatures: none; } /* guest names: no decorative ligatures */
.guest-tag { font: 400 0.75rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); vertical-align: middle; margin-left: 0.4rem; }
.rsvp-event { border: 0; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rsvp-event legend { padding: 0; display: grid; gap: 0.3rem; }
.ev-label { font-size: 1.0625rem; }
.ev-day { font-size: 0.875rem; color: color-mix(in srgb, var(--black) 60%, transparent); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.seg label { position: relative; display: grid; } /* both buttons in a row share the same height */
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 0.75rem 0.5rem; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--black) 25%, transparent);
  font: 400 0.8125rem/1.25 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  transition: background-color .15s, color .15s, border-color .15s;
}
.seg input:checked + span { background: var(--red); border-color: var(--red); color: var(--ivory); }
.seg input[value="no"]:checked + span { background: var(--black); border-color: var(--black); }
.seg input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: 2px; }

.rsvp-summary { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: var(--hairline); }
.rsvp-summary li { display: grid; gap: 0.2rem; padding: 0.9rem 0; border-bottom: var(--hairline); }
.rsvp-summary span { color: color-mix(in srgb, var(--black) 70%, transparent); font-size: 1rem; }
.rsvp-note { margin-top: 1.75rem; padding: 1.25rem 1.25rem 1.4rem; background: var(--blush); }
.rsvp-note p { margin: 0.4rem 0 0; }
.rsvp-note .label { margin: 0; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 2.5rem var(--gutter) 3rem; text-align: center;
  border-top: var(--hairline);
}
.site-footer p { margin: 0.35rem 0; }
.footer-logo { width: 7rem; height: auto; margin: 0 auto 1rem; }

/* ── Password screen (js/gate.js) ──────────────────────────────────────────── */
.gate-locked body { overflow: hidden; }
.gate-locked body > :not(.gate) { visibility: hidden; }
.gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--gutter); background: var(--ivory); }
.gate-box { width: min(100%, 22rem); display: grid; gap: 1.25rem; text-align: center; }
.gate-mark { position: absolute; bottom: clamp(1.5rem, 5vh, 3rem); left: 50%; transform: translateX(-50%); width: 4rem; }
.gate-title { font: 400 clamp(3.5rem, 14vw, 5rem)/1 var(--font-deco); color: var(--red); transform: rotate(-4deg); }
.gate-intro { margin: 0; font: italic 400 1.125rem/1.5 var(--font-body); color: color-mix(in srgb, var(--black) 70%, transparent); }
.gate .field { text-align: left; }
.gate-error { margin: -0.25rem 0 0; color: var(--red); font-size: 0.9375rem; }
.gate .btn-rsvp { justify-self: center; }

.rsvp-stay-note { margin: 0 0 1rem; font-size: 0.9375rem; line-height: 1.55; color: color-mix(in srgb, var(--black) 75%, transparent); }

/* Activity sign-ups on the RSVP: one tickable chip per person */
.rsvp-extra { margin-top: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 0.55rem 1rem; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--black) 25%, transparent);
  font: 400 0.8125rem/1.25 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chips input:checked + span { background: var(--red); border-color: var(--red); color: var(--ivory); }
.chips input:checked + span::before { content: "✓ "; }
.chips input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
