/* ══════════════════════════════════════════════════════════════════════
   EDIT ME #9 — Colors & fonts.
   Change these few values and the whole site re-themes itself.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --ivory:      #FCFAF6;   /* page background — warm, not stark white */
  --tint:       #F2ECE1;   /* alternating bands — soft dune sand      */
  --ink:        #1E2C34;   /* deep navy-slate, softer than black      */
  --ink-soft:   #5E7079;   /* secondary text — weathered blue-grey    */
  --accent:     #2C5259;   /* deep bay teal — buttons, RSVP band      */
  --accent-dk:  #21424A;
  --gold:       #B08D5B;   /* brass — hairlines, small flourishes     */
  --white:      #FFFFFF;
  --line:       rgba(30, 44, 52, 0.13);

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap:    1120px;
  --narrow:  760px;
  --nav-h:   68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ─────────────── Base ─────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--ivory);
  padding: 0.75rem 1.25rem; border-radius: 2px;
  text-decoration: none; font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--accent-dk);
  outline-offset: 3px;
}

/* ─────────────── Layout helpers ─────────────── */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2.5rem, var(--narrow)); }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--tint   { background: var(--tint); }
.section--accent { background: var(--accent); color: var(--white); }

/* Dark band — used for the music section, so it reads as a change of mood
   rather than another entry in the light/tint alternation. */
.section--dark {
  background: var(--ink);
  color: var(--ivory);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(176, 141, 91, 0.16), transparent 62%);
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin: 0 0 0.75rem;
}
.kicker--light { color: rgba(255, 255, 255, 0.75); }

.section__title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  text-align: center;
  margin-bottom: 3rem;
}
.section__title--light { color: var(--white); }

.section__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto 0;
}
.section__title--light::after { background: rgba(255, 255, 255, 0.5); }

.section__lede {
  text-align: center;
  max-width: 54ch;
  margin: -1.5rem auto 3rem;
  color: inherit;
  opacity: 0.9;
}

.section__footnote {
  text-align: center;
  max-width: 56ch;
  margin: 3rem auto 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.subhead {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  text-align: center;
  margin: 3.5rem 0 1.75rem;
}
.subhead:first-of-type { margin-top: 0; }

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.25rem;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn--solid {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--solid:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  padding: 0.7rem 1.6rem;
  margin-top: 1.25rem;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dk);
  background: rgba(44, 82, 89, 0.06);
}

/* Footnotes can carry two buttons side by side — keep them from touching,
   and let them stack cleanly on a phone. */
.section__footnote .btn--ghost { margin: 1.25rem 0.3rem 0; }

/* ─────────────── Nav ─────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-stuck {
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  height: 100%;
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__mark {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--white);
  transition: color 0.35s var(--ease);
}
.nav.is-stuck .nav__mark { color: var(--ink); }

.nav__menu { display: flex; align-items: center; gap: 2rem; }

.nav__menu a {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav.is-stuck .nav__menu a { color: var(--ink-soft); }
.nav__menu a:hover { color: var(--white); }
.nav.is-stuck .nav__menu a:hover { color: var(--accent-dk); }

.nav__cta {
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.5rem 1.35rem;
  border-radius: 1px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav.is-stuck .nav__cta { border-color: var(--accent); color: var(--accent-dk) !important; }
.nav__cta:hover { background: rgba(255, 255, 255, 0.15); }
.nav.is-stuck .nav__cta:hover { background: var(--accent); color: var(--white) !important; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.nav__toggle-bar {
  display: block;
  width: 24px; height: 1px;
  background: var(--white);
  margin: 6px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.35s var(--ease);
}
.nav.is-stuck .nav__toggle-bar { background: var(--ink); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: var(--ink); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ─────────────── Hero ─────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

/* Drop a wide photo at images/hero.jpg and it appears here.
   Until then the gradient below stands in on its own. */
.hero__bg {
  position: absolute;
  inset: 0;
  /* Sunset-over-the-bay gradient. It stands on its own, and once you add
     images/hero.jpg the photo layers on top with a matching tint over it. */
  background-color: #2C5259;
  background-image:
    linear-gradient(rgba(23, 38, 46, 0.52), rgba(30, 60, 68, 0.62)),
    url("images/hero.jpg"),
    linear-gradient(165deg, #16323A 0%, #2C5259 42%, #6E7F79 72%, #C8A576 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 6rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}

.hero__names {
  font-size: clamp(3rem, 11vw, 6.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero__amp {
  font-style: italic;
  font-size: 0.48em;
  color: rgba(255, 255, 255, 0.8);
}

.hero__meta {
  margin-top: 2rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}
.hero__dot { opacity: 0.6; }

.hero .btn--solid { margin-top: 2.75rem; }

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 3.5rem);
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.countdown__unit { display: flex; flex-direction: column; gap: 0.35rem; }
.countdown__num {
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.countdown.is-past { display: none; }

.hero__scroll {
  position: absolute;
  bottom: 2.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  animation: scrollHint 1.9s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { opacity: 0; transform: translateY(0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ─────────────── Cards ─────────────── */
.cards { display: grid; gap: 1.75rem; }
.cards--two   { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards--three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(46, 42, 38, 0.08);
}
.card--sm { padding: 2rem 1.75rem; }

.card__title {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}
.card--sm .card__title { font-size: 1.35rem; }

.card__time {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.card__place { line-height: 1.7; margin-bottom: 1rem; }
.card__note { color: var(--ink-soft); font-size: 0.95rem; }

/* ─────────────── Featured callout ─────────────── */
.featured {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  padding: 2rem 2.25rem;
  margin-bottom: 3rem;
  text-align: center;
  max-width: var(--narrow);
  margin-inline: auto;
}
.featured__label {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.featured__title {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  margin-bottom: 0.75rem;
}
.featured p { color: var(--ink-soft); }

/* ─────────────── Timeline ─────────────── */
.timeline__day {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  margin: 3rem 0 1.5rem;
}
.timeline__day:first-of-type { margin-top: 0; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0 1.35rem 1.5rem;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -5px; top: 2.05rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
}
.section--tint .timeline__item::before { background: var(--tint); }

.timeline__time {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.4rem;
}
.timeline__body h4 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}
.timeline__body p { margin: 0; color: var(--ink-soft); }
.timeline__note { font-size: 0.92rem; opacity: 0.85; margin-top: 0.35rem !important; }

/* ─────────────── Lists ─────────────── */
.list-inline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--narrow);
  margin-inline: auto;
}
.list-inline li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.list-inline li:last-child { border-bottom: 0; }
.list-inline strong { color: var(--ink); font-weight: 400; }

/* ─────────────── RSVP form ─────────────── */
.rsvp {
  background: var(--white);
  border-radius: 3px;
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: 0 22px 60px rgba(14, 32, 40, 0.22);
  color: var(--ink);
  text-align: left;
}

.field { margin-bottom: 1.6rem; border: 0; padding: 0; }
.field:last-of-type { margin-bottom: 2rem; }

.field label,
.field legend {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
  padding: 0;
}
.req { color: var(--gold); }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }

.field input::placeholder,
.field textarea::placeholder { color: #A2AFB5; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44, 82, 89, 0.12);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E7079' stroke-width='1.4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Radio & checkbox rows */
.choices { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.choices--stack { flex-direction: column; gap: 0.6rem; }

.choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 auto;
  min-width: 190px;
  margin: 0;
  padding: 0.85rem 1.15rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice:hover { border-color: var(--accent); }

.choice input { accent-color: var(--accent); width: 17px; height: 17px; flex: none; cursor: pointer; }

.choice span {
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(44, 82, 89, 0.06);
}

/* Validation */
.field__error {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: #B4453C;
  min-height: 0;
}
.field.has-error input,
.field.has-error select { border-color: #B4453C; }

/* Hide the "who's coming" block when someone declines */
#ifAttending { transition: opacity 0.3s var(--ease); }
#ifAttending[hidden] { display: none; }

/* Honeypot — off-screen, never shown to a real guest */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn--light {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  width: 100%;
  font-size: 0.8rem;
}
.btn--light:hover:not(:disabled) { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); }
.btn--light:disabled { opacity: 0.55; cursor: not-allowed; }

.rsvp__status {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.rsvp__status.is-error   { color: #B4453C; }
.rsvp__status.is-success { color: var(--accent-dk); }

/* Thank-you state after a successful submit */
.rsvp__done {
  text-align: center;
  padding: 1.5rem 0;
}
.rsvp__done h3 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.rsvp__done p { color: var(--ink-soft); }

/* ─────────────── Registry ─────────────── */
.registry {
  display: grid;
  gap: 1rem;
  max-width: var(--narrow);
  margin-inline: auto;
}
.registry__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.registry__item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  color: var(--ink);
}
.registry__name { font-family: var(--display); font-size: 1.4rem; }

/* ─────────────── Music / entertainment ─────────────── */
.music { text-align: center; max-width: 60ch; margin-inline: auto; }

.music__name {
  font-family: var(--display);
  font-size: clamp(2.75rem, 9vw, 4.75rem);
  line-height: 1;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}
.music__by {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.music__blurb { color: rgba(252, 250, 246, 0.82); margin-bottom: 2rem; }

/* Genre chips */
.genres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}
.genres li {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(252, 250, 246, 0.78);
  border: 1px solid rgba(252, 250, 246, 0.22);
  border-radius: 100px;
  padding: 0.4rem 0.95rem;
}

.music .btn--ghost {
  color: var(--ivory);
  border-color: rgba(252, 250, 246, 0.35);
  margin-top: 0;
}
.music .btn--ghost:hover {
  color: var(--ink);
  background: var(--ivory);
  border-color: var(--ivory);
}

.music__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.5;
  color: rgba(252, 250, 246, 0.9);
  border: 0;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(252, 250, 246, 0.16);
  max-width: 44ch;
}
.music__quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.registry__go {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dk);
}

/* ─────────────── FAQ ─────────────── */
.faq { max-width: var(--narrow); margin-inline: auto; }

.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.4rem 2.5rem 1.4rem 0;
  position: relative;
  font-family: var(--display);
  font-size: 1.3rem;
  transition: color 0.25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-dk); }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.4rem; top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }

.faq__answer {
  padding: 0 2.5rem 1.6rem 0;
  color: var(--ink-soft);
  animation: faqOpen 0.35s var(--ease);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────── Footer ─────────────── */
.footer {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  padding: 4.5rem 0;
}
.footer__names {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.footer__date {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, 0.6);
  margin-bottom: 1.75rem;
}
.footer__thanks {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(251, 248, 244, 0.8);
}

/* ─────────────── Scroll reveal ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ─────────────── Mobile ─────────────── */
/* 940px, not 860 — with eight nav items the desktop row runs out of room
   before the old breakpoint, so it collapses to the hamburger a bit earlier. */
@media (max-width: 940px) {
  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1.25rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__menu a {
    color: var(--ink-soft) !important;
    padding: 0.95rem 1.5rem;
    text-align: center;
  }
  .nav__cta {
    margin: 0.75rem 1.5rem 0;
    border-color: var(--accent) !important;
    color: var(--accent-dk) !important;
  }

  /* Once the menu is open the bar is opaque regardless of scroll position */
  .nav:has(.nav__menu.is-open) {
    background: var(--ivory);
    box-shadow: 0 1px 0 var(--line);
  }
  .nav:has(.nav__menu.is-open) .nav__mark { color: var(--ink); }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .timeline__time { padding-top: 0; }
  .timeline__item::before { top: 1.65rem; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .card { padding: 2rem 1.5rem; }
  .registry__item { padding: 1.25rem 1.35rem; }
  .registry__name { font-size: 1.2rem; }
}

/* ─────────────── Motion & print ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .hero__scroll, .countdown, .rsvp { display: none !important; }
  .hero { min-height: auto; color: var(--ink); }
  .hero__bg { display: none; }
  .hero__names, .hero__eyebrow, .hero__meta { color: var(--ink); text-shadow: none; }
  .section--accent { background: none; color: var(--ink); }
  .section__title--light, .kicker--light, .form-fallback, .form-fallback a { color: var(--ink); }
  .reveal { opacity: 1; transform: none; }
  .faq__answer { display: block; }
}
