/* ============================================================
   Josh & Michal — wedding site styles
   Plain, hand-written CSS. No build step, no framework.
   ============================================================ */

:root {
  --font-display: "Playfair Display", Georgia, serif;
  --font-script: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hebrew: "Heebo", sans-serif; /* modern Hebrew sans, replacing the earlier Frank Ruhl Libre serif */

  /* Monochrome, white-themed palette — solid black text on a soft warm
     gray, no color accents other than the red error state. --ivory is a
     gentle off-white rather than stark white: easier on the eyes. Both
     text tokens are pure black; former secondary text used --ink-muted
     at a lighter gray for hierarchy, now unified to black per request. */
  --ivory: #f4f3f0;
  --ink: #000000;
  --ink-muted: #000000;
  --cream: #eae7e1;
  --line: #d9d3c7;
  --error: #b3403a;

  --radius: 1rem;
}

* { box-sizing: border-box; }

/* The RSVP form and its success card both set their own `display` (flex),
   which — being an author-stylesheet rule — outranks the browser's default
   `[hidden] { display: none }` UA rule regardless of source order. Without
   this, toggling the `hidden` attribute/property from JS has no visual
   effect at all. !important guarantees this always wins. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

/* ── Opening reveal ──────────────────────────────────────── */
/* One photo, split down the middle, that swings open like an opened
   letter — tap anywhere (or wait a moment) to reveal the site. */

/* One photo, shown once — the whole card (photo + scrim + text) lifts
   away together as a single piece, like pulling a photograph out of
   view, rather than splitting the picture into two halves. */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  cursor: pointer;
  transition: transform 1100ms cubic-bezier(0.65, 0, 0.35, 1);
}
.intro.opening { transform: translateY(-100%); }
.intro.closed { display: none; }

.intro-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.intro-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 55% 40% at 50% 50%, rgba(244, 243, 240, 0.42) 0%, rgba(244, 243, 240, 0.14) 65%, rgba(244, 243, 240, 0.04) 100%);
}

.intro-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
}

@media (max-width: 639px) {
  .intro-text {
    justify-content: flex-start;
    padding-top: 9vh;
  }
  .intro-enter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
  }
}

.intro-eyebrow {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink);
}
.intro-eyebrow-big {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.intro-eyebrow-script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  top: -0.6rem;
  margin: 0 -0.15rem;
}
.intro-names {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.intro-enter {
  pointer-events: auto;
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid rgba(32, 29, 26, 0.5);
  border-radius: 9999px;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  cursor: pointer;
  transition: background 200ms ease;
}
.intro-enter:hover { background: rgba(32, 29, 26, 0.08); }

@media (min-width: 640px) {
  .intro-names { font-size: 3.5rem; }
  .intro-eyebrow-big { font-size: 2.75rem; }
  .intro-eyebrow-script { font-size: 1.6rem; top: -0.85rem; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0; }

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--line); color: var(--ink); }

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow { max-width: 48rem; }
.container-prose { max-width: 42rem; }

/* ── Nav ─────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 243, 240, 0.92); /* var(--ivory) — needs an rgba literal for the blur to show through */
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.nav-brand .amp { color: var(--ink-muted); }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 150ms ease;
}
.nav-links a.nav-link:hover { color: var(--ink); }

.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-rsvp {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(32, 29, 26, 0.45);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.nav-rsvp:hover { background: rgba(32, 29, 26, 0.06); border-color: rgba(32, 29, 26, 0.7); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1rem;
  border-top: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }

.nav-mobile a.nav-link {
  padding: 0.6rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
}

@media (min-width: 700px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.85rem 2.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 180ms ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: #000; }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--ivory); }

.btn-block { width: 100%; }

/* ── Shared photo-placeholder (used by the hero strip and the intro,
   whenever the expected file in images/ hasn't been added yet) ── */

.img-placeholder { display: none; }
/* !important: .hero-photo-slide img sets display:block with equal
   specificity and appears later in the cascade, so without this it would
   win the tie and the broken-image icon would show through. */
.img-missing img { display: none !important; }
.img-missing {
  background: linear-gradient(135deg, var(--cream) 0%, var(--ivory) 100%);
}
.img-missing .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-muted);
}
.img-missing .img-placeholder span { font-size: 0.7rem; letter-spacing: 0.03em; }

/* ── Hero ────────────────────────────────────────────────── */

/* #top gets the global `section { padding: 5rem 0 }` like every other
   section — override it to zero so the photo strip sits flush under the
   nav instead of leaving a blank band above it. */
#top { padding: 0; }

/* A self-scrolling filmstrip: each photo keeps its own aspect ratio at a
   shared height (so a portrait crop and a wider one sit naturally side by
   side, like the reference, instead of being force-cropped into equal
   columns), scrolling continuously via CSS animation — no JS, no dots,
   no snap-to-slide. overflow:hidden on the wrapper is what actually crops
   the strip to the viewport; the track itself is exactly as wide as its
   (doubled) content. */
.hero-photos {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}

.birds-static {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.bird-static {
  fill: var(--ivory);
  stroke: var(--ink-muted);
  stroke-width: 1.4;
  paint-order: stroke;
}

.dove-wing {
  transform-box: fill-box;
  transform-origin: 100% 50%;
  animation: wing-flap 0.5s ease-in-out infinite alternate;
}
.dove-wing-right {
  transform-origin: 0% 50%;
  animation-name: wing-flap-right;
}

@keyframes wing-flap {
  from { transform: rotate(0deg); }
  to { transform: rotate(-22deg); }
}
@keyframes wing-flap-right {
  from { transform: rotate(0deg); }
  to { transform: rotate(22deg); }
}

@media (prefers-reduced-motion: reduce) {
  .dove-wing { animation: none; }
}

.hero-photos-track {
  display: flex;
  width: max-content;
  height: 64vh;
  min-height: 380px;
  max-height: 640px;
  /* Duration scales with photo count (currently 7) so the pace per photo
     stays constant as more are added — keep this proportional if you add
     or remove hero-N.jpg slides (~5.2s per photo). */
  animation: hero-scroll 36s linear infinite;
}

@media (min-width: 900px) {
  .hero-photos-track {
    height: 88vh;
    max-height: 920px;
  }
}

@keyframes hero-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-photo-slide {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  border-right: 2px solid var(--ivory);
}
.hero-photo-slide img { height: 100%; width: auto; display: block; }
.hero-photo-slide.img-missing { width: 40vw; max-width: 320px; }

/* White info block — names, date, verse, CTA. */
.hero-info {
  position: relative;
  padding: 3rem 1.25rem 4.5rem;
  text-align: center;
  background: var(--ivory);
}

.hero-floral {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  width: 5rem;
  height: 5rem;
  color: var(--ink-muted);
  opacity: 0.5;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-bsd {
  font-family: var(--font-hebrew);
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.hero-title-stacked {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-and {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
}

.hero-tagline {
  margin-top: 1.25rem;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink-muted);
}

.hero-divider-dots {
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 22rem;
}
.hero-divider-dots span:not(.dot) {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.hero-divider-dots span:first-child { background: linear-gradient(to right, transparent, var(--line)); }
.hero-divider-dots span:last-child { background: linear-gradient(to left, transparent, var(--line)); }
.hero-divider-dots .dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--line);
}

.hero-when-where {
  margin-top: 2.75rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
}
.ww-col { padding: 0 1.5rem; }
.ww-rule { width: 1px; height: 9rem; background: var(--line); justify-self: center; }

@media (max-width: 480px) {
  .hero-when-where { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .ww-col { padding: 0; }
  .ww-rule { width: 6rem; height: 1px; }
}
.ww-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ww-value {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--ink);
}
.ww-value-venue { font-size: 1.7rem; line-height: 1.15; }
.ww-sub {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.ww-sub.he { font-family: var(--font-hebrew); direction: rtl; }
.ww-hebrew-en { margin-top: 0.15rem; font-size: 0.75rem; }
.ww-time {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.hero-underline-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 0.25rem;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}
.hero-underline-link:hover { color: var(--ink-muted); border-color: var(--ink-muted); }

.hero-verse {
  margin: 3rem auto 0;
  max-width: 26rem;
}
.hero-verse .he {
  direction: rtl;
  font-family: var(--font-hebrew);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
}
.hero-verse .translation {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-muted);
}
.hero-citation {
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

/* ── Add to calendar dropdown ─────────────────────────────── */
.add-cal { position: relative; display: inline-flex; }
.add-cal-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  min-width: 13rem;
  box-shadow: 0 16px 40px rgba(32, 29, 26, 0.14);
  z-index: 20;
}
.add-cal-menu a {
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
}
.add-cal-menu a:hover { background: var(--cream); }

@media (min-width: 640px) {
  .hero-title-stacked { font-size: 3.75rem; }
  .hero-and { font-size: 2rem; }
}

/* ── Section scaffolding ─────────────────────────────────── */

section { position: relative; padding: 5rem 0; }

.side-dove {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  pointer-events: none;
  z-index: 1;
}
.side-dove svg {
  width: 100%;
  height: auto;
  fill: var(--ivory);
  stroke: var(--ink-muted);
  stroke-width: 1.4;
  opacity: 0.65;
}
.side-dove-left { left: 2.5rem; }
.side-dove-right { right: 2.5rem; transform: translateY(-50%) scaleX(-1); }

@media (min-width: 1400px) {
  .side-dove { display: block; }
}
.section-cream { background: var(--cream); }

.section-head { text-align: center; }
.section-head h2 { margin-top: 0.5rem; font-size: 2.5rem; color: var(--ink); }
.section-desc {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 30rem;
  margin: 1.5rem auto 0;
}

.divider {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--ink-muted);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: 2.5rem;
  background: var(--line);
}

.section-intro {
  margin: 1.5rem auto 0;
  max-width: 34rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (min-width: 640px) {
  .section-head h2 { font-size: 3rem; }
}

.timeline-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
}

.event-timeline {
  margin-top: 3.5rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.timeline-item { display: flex; gap: 1.25rem; }

.timeline-date {
  flex-shrink: 0;
  width: 4.25rem;
  padding-top: 0.15rem;
  text-align: right;
}
.timeline-day {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink);
}
.timeline-dow {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.4;
}

.timeline-content {
  position: relative;
  flex: 1;
  border-left: 1px solid var(--line);
  padding: 0.55rem 0 2.75rem 1.75rem;
}
.timeline-item:last-child .timeline-content { padding-bottom: 0.1rem; }
.timeline-content::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.timeline-content h3 { font-size: 1.75rem; font-weight: 400; }
.timeline-item:first-child .timeline-content h3 { font-weight: 700; }
.timeline-content .event-tagline { font-size: 0.9rem; font-style: italic; color: var(--ink-muted); margin-top: 0.35rem; }
.timeline-content .event-time { margin-top: 0.9rem; font-size: 0.95rem; color: var(--ink); }
.timeline-content .event-venue { margin-top: 0.9rem; }
.timeline-content .event-venue-name { margin: 0; font-weight: 600; }
.timeline-address { margin-top: 0.2rem; font-size: 0.9rem; color: var(--ink-muted); line-height: 1.5; }

.timeline-actions { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 1.75rem; }
.timeline-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 150ms ease;
}
.timeline-link:hover { color: var(--ink-muted); }


.gift-signature {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.gift-signature .amp { color: var(--ink-muted); text-transform: none; }
.gift-heart { margin-top: 0.75rem; color: var(--ink-muted); }

.gift-options {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  text-align: center;
}
.gift-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; max-width: 22rem; }
.gift-handle-big {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
}
.gift-note { font-size: 0.85rem; color: var(--ink-muted); }
.gift-btn { margin-top: 1.1rem; }
.gift-signup-link {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gift-signup-link:hover { color: var(--ink); }

.travel-toggle-btn { margin-top: 2rem; }
#travel-groups-panel { margin-top: 1.5rem; }

.hotel-groups {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hotel-group-label {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hotel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 2rem;
  row-gap: 0.35rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 250ms ease;
}
.hotel-row:hover { background: var(--cream); }
.hotel-row:hover .hotel-row-cue { color: var(--ink); }
.hotel-row-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}
.hotel-row-cue {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
  color: var(--ink-muted);
  transition: color 250ms ease;
}
.hotel-row-meta {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.hotel-group-close { border-top: 1px solid var(--line); }

@media (max-width: 700px) {
  .hotel-row {
    grid-template-columns: 1fr;
    row-gap: 0.3rem;
    padding: 1.15rem 0;
  }
  .hotel-row-cue { text-align: left; white-space: normal; }
  .hotel-row:hover { background: transparent; }
}

.hotel-list-footer { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

.travel-notes {
  margin-top: 4.5rem;
  display: grid;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) {
  .travel-notes { grid-template-columns: 1fr 1fr; }
}
.travel-note-text { margin-top: 0.9rem; font-size: 0.95rem; line-height: 1.7; color: var(--ink); }

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.plain-list li { margin-top: 0.3rem; }
.plain-list li:first-child { margin-top: 0; }

/* ── FAQ ─────────────────────────────────────────────────── */

.faq-list { margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-question svg {
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform 200ms ease;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.faq-item.open .faq-answer { display: block; }

/* ── RSVP form ───────────────────────────────────────────── */

.rsvp-deadline { margin-top: 1rem; }

.rsvp-form {
  margin-top: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) { .rsvp-form { padding: 2.5rem; } }

.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row.two-up { grid-template-columns: 1fr 1fr; } }

label.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
label.field-label .hint { font-weight: 400; color: var(--ink-muted); }

.field {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ivory);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}
.field:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(32, 29, 26, 0.12); /* var(--ink) */
}
.field::placeholder { color: var(--ink-muted); }
textarea.field { resize: vertical; min-height: 5rem; }
input[type="number"].field { max-width: 8rem; }

.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--ink);
  background: var(--ivory);
  color: var(--ink);
  border-radius: 9999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 150ms ease;
  user-select: none;
  font-family: var(--font-body);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

fieldset { border: none; padding: 0; margin: 0; }
legend.field-label { padding: 0; margin-bottom: 0.6rem; }

.address-fields { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
.address-fields .two-up { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .address-fields .two-up { grid-template-columns: 1fr 1fr; } }

.field-hint { font-size: 0.8rem; color: var(--ink-muted); margin-top: -0.2rem; margin-bottom: 0.75rem; }

.dietary-block + .dietary-block,
[data-dietary-guest-list] .dietary-block:first-child {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.dietary-guest-name {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.guest-list { display: flex; flex-direction: column; gap: 0.6rem; }
.guest-row { display: flex; align-items: center; gap: 0.5rem; }

.party-guest-list { display: flex; flex-direction: column; gap: 0.5rem; }
.party-guest-row { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; }
.party-guest-row input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); flex-shrink: 0; }
.party-guest-empty { font-size: 0.85rem; color: var(--ink-muted); font-style: italic; }
.guest-row .field { flex: 1 1 auto; }
.guest-row .remove-guest-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink-muted);
  cursor: pointer;
}
.guest-row .remove-guest-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.add-guest-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.add-guest-btn:hover { color: var(--ink-muted); }
.add-guest-btn:disabled { color: var(--ink-muted); cursor: not-allowed; text-decoration: none; }

.form-error { color: var(--error); font-size: 0.9rem; }

.rsvp-success {
  margin-top: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.rsvp-success svg { color: var(--ink); }
.rsvp-success h2 { font-size: 1.85rem; }
.rsvp-success p { font-size: 0.9rem; color: var(--ink-muted); max-width: 26rem; }

/* ── Footer ──────────────────────────────────────────────── */

footer.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ivory);
  padding: 3.5rem 1.25rem;
  text-align: center;
  color: var(--ink);
}
footer.site-footer .names {
  font-family: var(--font-script);
  font-size: 1.85rem;
  font-style: italic;
  color: var(--ink);
}
footer.site-footer .date { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-muted); }

.footer-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer-note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.footer-note a { text-decoration: underline; }
.footer-note a:hover { color: var(--ink); }

.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;
}

/* ── Back to top ─────────────────────────────────────────── */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--ink);
  background: var(--ivory);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 200ms ease, transform 200ms ease, background 180ms ease, color 180ms ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); color: var(--ivory); }
