/* ---------- Palette & type ---------- */
:root {
  --cream: #F5EFEA;
  --cream-deep: #EEE6DF;
  --ink: #1F4A68;        /* engraved line colour from the artwork */
  --ink-soft: #3B6684;
  --ink-mist: #8FA9BC;
  --rule: rgba(31, 74, 104, .22);
  --serif-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --serif-text: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif-text);
  font-size: 1.15rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif-display); font-weight: 400; margin: 0; }

/* ---------- Footer: fixed full-screen stage behind the page ---------- */
.footer-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--cream);
  overflow: hidden;
}
.footer-video, .footer-still {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 118%;                  /* taller than the screen: the empty river at the bottom slides off */
  object-fit: cover;
  object-position: center 40%;
}
/* the still sits over the video until it is genuinely playing, so there is no blank frame */
.footer-still { z-index: 1; transition: opacity .5s ease; }
.footer-stage.is-rolling .footer-still { opacity: 0; }
.footer-stage { height: 100vh; height: 100lvh; }   /* fixed to the largest viewport so Safari's toolbar can't shift it */
.footer-copy {
  position: absolute;
  left: 0; right: 0; top: 0;
  padding: clamp(1.25rem, 4vh, 2.5rem) 1.25rem 0;   /* mirrors the hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  transform-origin: top center;
  transition: opacity .9s ease;
}
.footer-copy.is-visible { opacity: 1; }
.footer-mono { height: clamp(170px, 48vh, 640px); width: auto; margin-bottom: clamp(.9rem, 3vh, 2.2rem); }
.footer-line {
  margin: 0;
  font-family: var(--serif-display);
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: .06em;
}
.footer-date { margin: .6rem 0 0; font-size: clamp(.85rem, 1.1vw, 1rem); letter-spacing: .3em; color: var(--ink-soft); }

/* portrait phones: show the whole frame, fitted to the screen width, as a band along the bottom */
@media (orientation: portrait) {
  .footer-video, .footer-still { height: 100%; object-fit: contain; object-position: center bottom; }   /* whole frame as a band */
  .page > .hero { padding-bottom: calc(56.25vw + .5rem); }   /* keep the scroll cue above the skyline band */
}

/* ---------- Page: scrolls over the stage like a curtain ---------- */
.page {
  position: relative;
  z-index: 1;
  background: transparent;   /* sections paint their own cream; the spacer stays clear */
}
.page > .section, .page > .hero { background: transparent; }   /* the video shows through everywhere */
.page { pointer-events: none; }                 /* let clicks reach the footer where the page is empty */
.page > .section, .page > .hero { pointer-events: auto; }
.reveal-spacer {
  height: 100vh;             /* lets the page slide fully off the footer for the closing view */
  pointer-events: none;
}
@supports (height: 100dvh) { .reveal-spacer { height: 100dvh; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(245, 239, 234, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.nav.is-visible { transform: none; opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); opacity: 0; }
.nav-mono img { height: 40px; width: auto; }
.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  margin: 0; padding: 0;
}
.nav-links a {
  white-space: nowrap;
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .25s;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;         /* content sits in the sky, above the bridge */
  text-align: center;
  padding: clamp(1.25rem, 4vh, 2.5rem) 1.25rem clamp(1rem, 2.5vh, 1.5rem);
  position: relative;
}
.hero-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;   /* scaled by script to fill the sky above the bridge */
}
.hero-mono {
  height: clamp(170px, 48vh, 640px);
  width: auto;
  margin-bottom: clamp(.9rem, 3vh, 2.2rem);
}
.names {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
}
.names .amp {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 .15em;
  color: var(--ink-soft);
}
.tagline {
  margin: .6rem 0 0;
  line-height: 1.6;
  font-size: clamp(.85rem, 1.1vw, 1rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Password gate ---------- */
.hero-text { position: relative; display: flex; flex-direction: column; align-items: center; }
.gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: .4rem;
  gap: .9rem;
  transition: opacity .5s ease, transform .5s ease;
}
.gate-label { font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.gate-row { display: flex; gap: .6rem; align-items: stretch; }
.gate-row input {
  font: inherit;
  font-size: 1.1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: .55rem .2rem;
  width: min(240px, 60vw);
  outline: none;
  text-align: left;
  letter-spacing: .12em;
  caret-color: var(--ink);
  transition: border-color .25s;
}
.gate-row input:focus { border-bottom-color: var(--ink); }
.gate-row input::placeholder { color: var(--ink-mist); letter-spacing: .12em; }
.gate-btn {
  font: inherit;
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: .6rem 1.2rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.gate-btn:hover { background: transparent; color: var(--ink); }
.gate-error { margin: 0; font-style: italic; color: var(--ink-soft); font-size: .95rem; }
.gate.is-shaking { animation: shake .4s ease; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

/* locked: plain cream, monogram only */
.is-locked { overflow: hidden; height: 100%; }
html:has(body.is-locked) { overflow: hidden; }
.is-locked .footer-stage, .is-unlocking .footer-stage { transition: opacity 1.6s ease; }
.is-locked .footer-stage { opacity: 0; }
.is-locked .hero-text > :not(.gate) { opacity: 0; transform: translateY(14px); }
.is-locked .scroll-cue, .is-locked .page > .section, .is-locked .nav { opacity: 0; visibility: hidden; }
.is-locked .page > .section { pointer-events: none; }
.hero-text > :not(.gate), .scroll-cue { transition: opacity 1s ease, transform 1s ease; }
.is-unlocking .hero-text > :nth-child(1) { transition-delay: .35s; }
.is-unlocking .hero-text > :nth-child(2) { transition-delay: .55s; }
.is-unlocking .hero-text > :nth-child(3) { transition-delay: .75s; }
.is-unlocking .scroll-cue { transition-delay: 1.2s; }
.is-unlocked .gate, .is-unlocking .gate { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.is-unlocked .gate { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-text > :not(.gate), .scroll-cue, .footer-stage, .gate { transition: none !important; }
  .gate.is-shaking { animation: none; }
}

/* ---------- Add to calendar ---------- */
.cal { position: relative; margin-top: 1.1rem; }
.cal-summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 1px solid var(--rule);
  padding: .25rem 0;
  transition: color .25s, border-color .25s;
}
.cal-summary::-webkit-details-marker { display: none; }
.cal-summary:hover, .cal[open] .cal-summary { color: var(--ink); border-bottom-color: var(--ink); }
.cal-icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cal-menu {
  position: absolute; left: 50%; top: calc(100% + .6rem); transform: translateX(-50%);
  min-width: 250px;
  background: rgba(245, 239, 234, .96);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--rule);
  padding: .4rem 0;
  z-index: 3;
  text-align: left;
}
.cal-menu a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 1rem;
  text-decoration: none; font-size: 1rem; color: var(--ink);
}
.cal-menu a span { color: var(--ink-soft); font-style: italic; font-size: .9em; }
.cal-menu a:hover { background: rgba(31, 74, 104, .06); }
.footer-copy .cal { pointer-events: auto; }

/* ---------- Live weather ---------- */
.weather-live { display: flex; align-items: center; gap: .6rem; font-style: italic; color: var(--ink-soft); }
.weather-live svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Map tile ---------- */
.map { max-width: 680px; margin: 1.5rem auto 0; padding: 1rem 1rem .8rem; }
.map svg { display: block; width: 100%; height: auto; }
.map figcaption { margin-top: .6rem; font-size: .8rem; font-style: italic; color: var(--ink-soft); text-align: right; }
.map-svg .sea { fill: rgba(31, 74, 104, .035); }
.map-svg .grat { stroke: var(--ink); stroke-width: .4; opacity: .12; }
.map-svg .vig { fill: none; stroke: var(--ink); stroke-width: .6; }
.map-svg .land { fill: var(--cream); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.map-svg .hach { stroke: var(--ink); stroke-width: .6; opacity: .35; }
.map-svg .bdeck { fill: var(--ink); }
.map-svg .btower { fill: var(--ink); }
.map-svg .bcable { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; }
.map-svg .bhang { stroke: var(--ink); stroke-width: .6; opacity: .75; }
.map-svg .route { stroke: var(--ink); stroke-width: .8; stroke-dasharray: 1.5 4; opacity: .7; }
.map-svg .town { fill: var(--ink); }
.map-svg .town-ring { fill: var(--cream); stroke: var(--ink); stroke-width: .9; }
.map-svg .ico { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.map-svg .place { font-family: var(--serif-text); font-size: 15px; fill: var(--ink); letter-spacing: .08em; paint-order: stroke; stroke: var(--cream); stroke-width: 4px; stroke-linejoin: round; }
.map-svg .venue-l { font-family: var(--serif-display); font-size: 16px; letter-spacing: .04em; }
.map-svg .bold { font-family: var(--serif-display); font-weight: 500; font-size: 15px; letter-spacing: .06em; }
.map svg { cursor: zoom-in; }
/* map lightbox */
html.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2vh;
  background: rgba(245, 239, 234, .985);
  padding: 3vh 3vw;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox svg { display: block; width: min(96vw, calc(86vh * 1000 / 795)); height: auto; max-height: 86vh; cursor: zoom-out; background: var(--cream); box-shadow: 0 30px 80px -30px rgba(31, 74, 104, .45); }
.lightbox-close {
  position: fixed; top: 1rem; right: 1rem; z-index: 21;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--cream); color: var(--ink);
  font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
/* portrait phones: draw the map wider than the screen and let it pan */
@media (max-width: 760px) and (orientation: portrait) {
  .lightbox { justify-content: flex-start; align-items: flex-start; padding: 4.5rem 1rem 2rem; gap: 1rem; }
  .lightbox svg { width: 180vw; max-width: none; max-height: none; cursor: default; }
  .lightbox-hint { position: fixed; left: 0; right: 0; bottom: 1rem; }
}
.lightbox-hint { margin: 0; text-align: center; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.map-svg .mins { font-family: var(--serif-text); font-size: 12px; font-style: italic; fill: var(--ink-soft); paint-order: stroke; stroke: var(--cream); stroke-width: 4px; }
.map-svg .water-l { font-family: var(--serif-text); font-size: 12px; font-style: italic; fill: var(--ink-soft); letter-spacing: .32em; text-transform: uppercase; paint-order: stroke; stroke: var(--cream); stroke-width: 4px; stroke-linejoin: round; }
.map-svg .venue { fill: var(--ink); }
.map-svg .scale { stroke: var(--ink); stroke-width: 1; }
.map-svg .compass circle { fill: none; stroke: var(--ink); stroke-width: .8; opacity: .7; }
.map-svg .compass path { fill: var(--cream); stroke: var(--ink); stroke-width: .9; }
.map-svg .compass .fill { fill: var(--ink); }
.map-svg .cartouche rect { fill: var(--cream); stroke: var(--ink); stroke-width: 1; }
.map-svg .cartouche .inner { fill: none; stroke-width: .5; }
.map-svg .title { font-family: var(--serif-display); font-size: 16px; fill: var(--ink); letter-spacing: .04em; }
.map-svg .subtitle { font-family: var(--serif-text); font-size: 9px; fill: var(--ink-soft); letter-spacing: .3em; text-transform: uppercase; }
.map-svg .frame { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.map-svg .frame2 { fill: none; stroke: var(--ink); stroke-width: .5; }

/* Countdown */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(.6rem, 2vw, 1.6rem);
  margin-top: clamp(1rem, 2.6vh, 2rem);
  padding-top: clamp(.9rem, 2.2vh, 1.5rem);
  border-top: 1px solid var(--rule);
  padding-left: .5rem;
  padding-right: .5rem;        /* line spans just the countdown itself */
}
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 3.2ch; }
.cd-num {
  font-family: var(--serif-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.cd-label {
  margin-top: .4rem;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cd-sep {
  font-family: var(--serif-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1;
  color: var(--ink-mist);
}
.countdown[hidden] { display: none; }
.cd-done {
  margin: 1.2rem 0 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.scroll-cue {
  margin-top: auto;
  padding-top: clamp(1.5rem, 4vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--ink-soft), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.6); opacity: .4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue i { animation: none; } }

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 5vw, 3rem);
  scroll-margin-top: 64px;   /* clear the fixed nav when jumping via links */
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: rgba(245, 239, 234, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.eyebrow {
  margin: 0 0 .9rem;
  font-size: .8rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: .01em;
}
.lede { margin: 1.2rem auto 0; max-width: 560px; color: var(--ink-soft); }

/* Translucent panels keep text legible over the drawing */
.panel {
  background: rgba(245, 239, 234, .86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--rule);
}

/* Event tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.tile { transition: box-shadow .3s ease; }
.tile:has(.tile-head[aria-expanded="true"]) { box-shadow: 0 18px 40px -24px rgba(31, 74, 104, .45); }
.tile-head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "when toggle" "title toggle" "meta toggle";
  gap: .15rem 1rem;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 1.75rem 1.75rem 1.6rem;
  cursor: pointer;
}
.tile-head:focus-visible { outline: 2px solid var(--ink); outline-offset: -6px; }
.tile-when { grid-area: when; display: flex; align-items: baseline; gap: .8rem; margin-bottom: .6rem; }
.tile-when .event-date { font-size: 1.5rem; margin-top: 0; }
.tile-title { grid-area: title; font-family: var(--serif-display); font-size: 1.6rem; line-height: 1.15; }
.tile-meta { grid-area: meta; font-style: italic; color: var(--ink-soft); margin-top: .35rem; }
.tile-toggle {
  grid-area: toggle;
  align-self: start;
  position: relative;
  width: 30px; height: 30px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: transform .4s ease, background .3s ease;
}
.tile-toggle i {
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .4s ease, opacity .3s ease;
}
.tile-toggle i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.tile-head[aria-expanded="true"] .tile-toggle { background: var(--ink); border-color: var(--ink); }
.tile-head[aria-expanded="true"] .tile-toggle i { background: var(--cream); }
.tile-head[aria-expanded="true"] .tile-toggle i:last-child { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.tile-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}
.tile-body > .tile-inner { overflow: hidden; min-height: 0; }
.tile-head[aria-expanded="true"] + .tile-body { grid-template-rows: 1fr; }
.tile-facts {
  margin: 0 1.75rem 1.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 1.1rem;
}
.tile-facts div {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  grid-template-areas: "icon label" "icon value";
  column-gap: .9rem;
  row-gap: .2rem;
  align-items: start;
}
.fact-icon {
  grid-area: icon;
  width: 1.5rem; height: 1.5rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: .05rem;
}
.tile-facts dt { grid-area: label; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.tile-facts dd { grid-area: value; margin: 0; line-height: 1.5; }
.fact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.fact-list li { position: relative; padding-left: 1rem; }
.fact-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-mist); }
.fact-link { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--rule); font-size: .95em; }
.fact-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .tile-body, .tile-toggle, .tile-toggle i { transition: none; } }

/* FAQ tiles */
.faq-tools { max-width: 760px; margin: -1.5rem auto 1rem; display: flex; justify-content: flex-end; }
.text-button {
  font: inherit;
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: .3rem 0;
  cursor: pointer;
  transition: color .25s, border-color .25s;
}
.text-button:hover, .text-button:focus-visible { color: var(--ink); border-bottom-color: var(--ink); outline: none; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-tile .tile-head {
  grid-template-columns: 1fr auto;
  grid-template-areas: "title toggle";
  align-items: center;
  padding: 1.25rem 1.5rem;
}
.faq-tile .tile-title { font-size: 1.25rem; }
.faq-tile .tile-toggle { align-self: center; }
.faq-answer { padding: 0 1.5rem 1.4rem; }
.faq-answer > :first-child { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.faq-answer p { margin: 0 0 .8rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer .fact-list { margin: .2rem 0 .9rem; gap: .45rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .cards { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
  .card-stay { grid-column: 1; grid-row: 1 / span 2; }
}
.card {
  padding: 2rem 1.75rem;
}
.card h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: .7rem; display: flex; align-items: flex-start; gap: .6rem; }
.card-icon {
  flex: none;
  width: 1.5rem; height: 1.5rem;
  margin-top: .1em;              /* sits on the first line when a title wraps */
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card p { margin: 0; }
.card p + p, .card ul + p { margin-top: .9rem; }
.card .fact-list { margin-top: .5rem; gap: .5rem; }
.card .fact-list li { font-size: 1.02rem; line-height: 1.5; }
.card-sub { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.card-note { font-style: italic; color: var(--ink-soft); }

/* RSVP */
.rsvp {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.4rem;
}
.field { display: grid; gap: .5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0;
}
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: .6rem 0;
  outline: none;
  transition: border-color .25s;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field textarea { resize: vertical; }
.field ::placeholder { color: var(--ink-mist); }
.choice { display: flex; align-items: center; gap: .7rem; font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.choice input { accent-color: var(--ink); width: 1.05rem; height: 1.05rem; margin: 0; }
.button {
  justify-self: start;
  font: inherit;
  font-size: .85rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: .95rem 2rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.button:hover { background: transparent; color: var(--ink); }
.form-note { margin: 0; font-style: italic; color: var(--ink-soft); }

/* short, wide windows: compact the hero so it stays in the sky */
@media (max-height: 860px) and (min-width: 900px) {
  .hero { padding-top: 1rem; }
  .hero-mono, .footer-mono { height: clamp(160px, 40vh, 380px); margin-bottom: .8rem; }
  .names, .footer-line { font-size: clamp(1.1rem, 1.9vw, 1.5rem); }
  .footer-date { font-size: .9rem; margin-top: .4rem; }
  .tagline { font-size: .9rem; margin-top: .4rem; }
  .countdown { margin-top: .8rem; padding-top: .7rem; }
  .cd-num { font-size: clamp(1.6rem, 3vw, 2.3rem); }
  .cd-label { margin-top: .35rem; font-size: .64rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav-links { gap: .9rem; }
  .nav-links a { font-size: .66rem; letter-spacing: .12em; }
  .nav-mono img { height: 30px; }
  .hero-mono, .footer-mono { height: clamp(170px, 30vh, 300px); }
  .countdown { gap: .5rem; min-width: 0; width: 100%; }
  .cd-sep { display: none; }
  .cd-unit { min-width: 0; flex: 1; }
  .cd-label { font-size: .62rem; letter-spacing: .18em; }
  .tile-head { padding: 1.4rem 1.25rem 1.3rem; }
  .tile-facts { margin-left: 1.25rem; margin-right: 1.25rem; }
  .hero-mono, .footer-mono { height: clamp(170px, 30vh, 300px); }
  .tagline span { display: block; }
  .tagline .dot { display: none; }
}
