/* Manasi & Arush: a short scrolling home page plus three practical pages.
   Tokens, buttons and the frosted panel carry over from v2. */

:root {
  --cream: #F7F5E2;
  --bg: #fff;           /* page and panel background */
  --ink: #1d1a14;
  --gold: #8D6F40;
  --gold-dark: #735a33;
  --white: #fff;

  --display: "EB Garamond", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --topbar-h: 60px;

  /* Corner ornament mask, inlined so it also works when the page is opened as a local file. */
  --corner-mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALcAAAC3CAYAAABQbs+fAAAD50lEQVR42u3dMWtTYRQG4DdaF0GcVVwcHQQdBVFRdHF2dxJXBwc3wcXJsZsguPgHRFB0ky4izqKLOosgXdomLincQdLEpsn9Tp4HAre0xpAcDu937ndvBkluB6b3McnXKf/2YpIby3yxIw+PGR4PZ6itJ8t8rWsaEQvyK8mfBfw/p3cP1pIMvO9McDzJnSRPxz8P//N5riX5tIDX+ybJ9SQ55LNjD7+TfO783EzNKG7KUtwoblDc0BN9GwWeSXLWx9I7FzrH55LcmvLfdT/LK0lOzfl1vUuy2cqb+DhOknhM/7iZf48CR0lGYgkt224pljxLsuEz62UseTQ+fpnkxZT/7m4nwtxP8mUOr+VBkkvj4+8+Gvbrava/t+T8nF7L885znhRLqGonRoGk5vh6qLipWtwjxY3ihgYMZG6qOqxzE9MSaLdzm5ZQdkG5qbip2rnt5yZVpyWKG50bFDcoblhi5obMuJ+7mYfOTVz9Tlb8lmrf93NTyszvRpjd53SZGUtzEJeZfeg8pwUlMS2BuJ0a6NyguCE2TqG4FTdiCcS0BFqKJU6/syiXM5+bz5/oHE+6Cf5PbzlZ0On3RT/eiyVU5euxOVBvkxyb83Pe6xyvT/j9lref1nzL5F2Bu797JZaQotOSgeImRU/iuMwMnRvsLYEFxZKhWEJVrqEkVfdDDWVuqhb3SCyhanHv6Nyk6LRE5yZVpyUjnZus4jeZ6dw4iQMuEIbFdW7TErKqo0CZm7KjQLGEsqNAxU2zhoqbVZ2WWFCSqidxdG5SdT+3aQk6N7gSB3pS3BaUxCgQLChB5wYLSrCgRCzRubGghPiqPrCghNhbAqYlxLTEghKZG2RuiFEgiCUwrwWlaQmmJWDjFMjcoHODzo3ijmkJpiUgc4PiBgtKcPodnVvnxq0dwIISFDcobtjL0Rn+1rQEC0pIz75g1cYpUvWCdhunKGUQ9y1BLFHc1O3cMjfNFndkbqouKE1LWNlYonNjQQl9K26jQMrGEpmbuLUDFOvcYglNOSKWEN+JI5aQZk/imJbgDCW0tqA0LcG0BKplbrGEssUtlpBW95a4bwmrm88VN1U7t1iCWAKtzbkVNzo36NzQk8vMTEtoylrneDumJdhbAm7tAOnD3pItmRv35wZbXqGNy8x0bsrGEgtKUvXWDoqbGAVC+nUSZ9uCklXt3BaUNLugzCwbUaDvNpKsj49/zPPboSANfSf8a7GEskWuuIlbO4DODWlvtAKKG2Ru0LnBghJ0bhQ3WFCCzA1iCShuUNxYUIIFJYgloLhB5gaZG7EExBIQS0AsAbEEdG6QuRFLQOcGnRsOvHP/BVDORwxKWb8hAAAAAElFTkSuQmCC");
  --gutter: clamp(16px, 5vw, 64px);

}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.5;
  /* Lining digits, so dates and times line up with capital letters. */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dark); }

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

/* Form controls don't inherit the page font by default. */
input, button, textarea, select { font-family: inherit; }

.visually-hidden {
  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: fixed; top: 8px; left: 8px; z-index: 50;
  padding: 8px 14px; background: var(--bg); color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Content fades up the first time it scrolls into view. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Shared type & buttons ---------- */

.page-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
}

.eyebrow {
  margin: 0 0 .6em;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  min-width: min(260px, 100%);
  padding: .65em 1.6em;
  border: 0;
  border-radius: 8px;
  font-family: var(--display);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.3;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), filter .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 6px 18px rgb(0 0 0 / .18); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn-gold { background: var(--gold); }
.btn-accent { background: var(--button, var(--accent)); }
.btn-outline { background: transparent; color: var(--gold-dark); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-outline:hover { background: rgb(141 111 64 / .08); }

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: calc(var(--topbar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  color: var(--ink);
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgb(29 26 20 / .08);
  transition: color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s;
}
/* Over a dark photo at the top of the page the bar is see-through until you scroll. */
body.has-hero:not(.is-scrolled) .topbar {
  color: var(--white);
  background: linear-gradient(rgb(0 0 0 / .4), transparent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.topbar a { color: inherit; text-decoration: none; }
.topbar-title { font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em; white-space: nowrap; }

.topbar-links {
  display: flex;
  gap: clamp(.9rem, 2.2vw, 2rem);
  margin: 0; padding: 0;
  list-style: none;
  font-size: clamp(.85rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.topbar-links a {
  position: relative;
  display: block;
  padding: 4px 0;
  opacity: .78;
  white-space: nowrap;
  transition: opacity .2s;
}
.topbar-links a:hover, .topbar-links a[aria-current] { opacity: 1; }
.topbar-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.topbar-links a[aria-current]::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  padding: .35em .9em;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Footer ---------- */

.footer {
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: rgb(247 245 226 / .82);
  text-align: center;
}
.footer-names { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cream); }
.footer-meta { margin: .3em 0 1.4em; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.4rem;
  margin: 0; padding: 0;
  list-style: none;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }

/* ---------- Photo backgrounds ---------- */

.photo-bg {
  position: absolute;
  inset: 0;
  background: url(../assets/villa.jpg) center / cover no-repeat;
}
.photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / .47);
}

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--topbar-h) + 2rem) 16px 3rem;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.hero .photo-bg { animation: settle 6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

.hero-inner { position: relative; }

.home-title {
  margin: 0 0 clamp(2rem, 7vh, 4.5rem);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: .95;
  letter-spacing: -.015em;
  text-shadow: 0 2px 30px rgb(0 0 0 / .25);
}
.home-title em { font-style: normal; }

.home-meta {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
}

.countdown {
  margin: .9em 0 0;
  min-height: 1.4em;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .82;
}

.hero .btn { margin-top: clamp(1.5rem, 5vh, 3rem); }

/* ---------- Home: invitation ---------- */

.invite { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
.invite-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1040px;
  margin: 0 auto;
}
.invite-text {
  margin: 0;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.55;
}

/* Three equal square tiles in a row, black and white, with a small gap. */
.invite-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.invite-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1) contrast(.9) brightness(1.05);
}

/* ---------- Home: RSVP (frosted panel) ---------- */

.rsvp {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 16px;
  color: var(--ink);
}

.frost {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 6px;
  background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.frost-inner {
  padding: clamp(2rem, 6vw, 4rem) clamp(20px, 5vw, 56px);
  text-align: center;
}
.rsvp .page-title { color: var(--gold); }

.rsvp-deadline {
  margin: .4em 0 1.6em;
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}
.rsvp-intro { margin: 0 0 1.4em; font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.45; }

.rsvp-fields { display: grid; gap: 1.2em; margin: 0 0 1.8em; text-align: left; }
.field { display: grid; gap: .35em; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { font-size: 1.15rem; font-weight: 600; }
.field legend { padding: 0; margin-bottom: .35em; }
.optional { font-weight: 400; font-style: italic; opacity: .75; }

.frost input[type="text"], .frost input[type="number"], .frost textarea {
  width: 100%;
  padding: .65em .9em;
  border: 1px solid rgb(141 111 64 / .45);
  border-radius: 8px;
  background: rgb(255 255 255 / .75);
  font: inherit;
  font-size: 1.15rem;
  color: var(--ink);
}
.frost input[type="number"] { max-width: 8em; }
.frost input:focus, .frost textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.hint { margin: 0; font-size: 1rem; opacity: .75; }
.error { margin: .9em 0 0; color: #8a1c1c; font-size: 1.05rem; }

/* Yes / No as pill toggles (same look as v2's accept/decline choices). */
.choices { display: flex; flex-wrap: wrap; gap: .5em; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label {
  padding: .3em 1.1em;
  border: 1px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color .2s, color .2s;
}
.choices input:checked + label { background: var(--gold); color: var(--white); }
.choices input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.rsvp-thanks-title { margin: 0 0 .4em; font-family: var(--display); font-size: 2rem; color: var(--gold); }
.rsvp-step:focus { outline: none; }

/* ---------- Page heads (schedule, travel, faqs) ---------- */

.page-head {
  padding: calc(var(--topbar-h) + clamp(3rem, 8vw, 5.5rem)) var(--gutter) clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.page-head .page-title { color: var(--gold); }
.lede { max-width: 640px; margin: 1em auto 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

/* ---------- Schedule ---------- */


/* The schedule's head is smaller, so the first event shows without scrolling on a laptop. */
.page-head-compact { padding-top: calc(var(--topbar-h) + clamp(1.75rem, 4vw, 2.75rem)); padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.page-head-compact .page-title { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
.page-head-compact .lede { margin-top: .6em; }

/* Both days stacked in one centred column of event cards. */
.glance {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  max-width: calc(640px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.glance-day h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}
.glance-day h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: .45rem;
  background: var(--gold);
}
.glance-day ol { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }

.glance-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding: .8rem 1rem .85rem 1.1rem;
  border: 1px solid rgb(29 26 20 / .08);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s;
}
.glance-card:hover, .glance-card:focus-visible { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.glance-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.glance-name { grid-column: 1; font-family: var(--display); font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
.glance-when { grid-column: 1; font-size: 1.05rem; opacity: .8; }
.glance-when + .glance-when { margin-top: .1rem; }
.glance-arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform .2s var(--ease);
}
.glance-card:hover .glance-arrow, .glance-card:focus-visible .glance-arrow { transform: translateX(4px); }

.glance-all { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem); }

.theme-haldi    { --accent: #F7941D; --button: #FC9602; --ornament: #F5BA2E; }
.theme-sangeet  { --accent: #661A64; --button: #661A64; --ornament: #661A64; }
.theme-buddhist { --accent: #7A9A85; --button: #7A9A85; --ornament: #7A9A85; }
.theme-vedic    { --accent: #711B2A; --button: #711B2A; --ornament: #711B2A; }
/* Haldi's orange is too light for small text on cream, so text uses a deeper shade. */
.theme-haldi .event-title, .theme-haldi .event-venue, .theme-haldi .event-notes dt { color: #B8620A; }

/* One full-bleed section per event: pattern strip on one side, details on the other. */
.event {
  display: grid;
  grid-template-columns: 30% 1fr;
  min-height: 100vh;
  min-height: 100svh;
  scroll-margin-top: 0;
}
.pattern-right { grid-template-columns: 1fr 30%; }
.pattern-right .pattern { order: 2; }

.pattern {
  background-position: center;
  background-size: cover;
}

.event-body {
  position: relative;
  display: grid;
  place-items: center;
  padding: calc(var(--topbar-h) + 2.5rem) clamp(24px, 5vw, 80px) 4rem;
}

/* Corner ornaments: one mask image, recoloured per event and mirrored per corner. */
.corner {
  position: absolute;
  width: clamp(90px, 11vw, 160px);
  aspect-ratio: 1;
  background: var(--ornament);
  -webkit-mask: var(--corner-mask) center / contain no-repeat;
  mask: var(--corner-mask) center / contain no-repeat;
  pointer-events: none;
}
.corner-top    { top: calc(var(--topbar-h) + 1.5vh); right: 2.3%; }
.corner-bottom { bottom: 3.5%; right: 2.3%; transform: scaleY(-1); }
.pattern-right .corner-top    { right: auto; left: 2.3%; transform: scaleX(-1); }
.pattern-right .corner-bottom { right: auto; left: 2.3%; transform: scale(-1, -1); }

.event-inner { position: relative; max-width: 560px; text-align: center; }

.event-icon { width: auto; height: clamp(56px, 10vh, 92px); margin: 0 auto clamp(1rem, 4vh, 2.5rem); }
.event-icon-wide { height: clamp(90px, 17vh, 158px); margin-bottom: clamp(.5rem, 2vh, 1rem); }

.event-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: var(--accent);
}
.event-sub {
  margin: .35em 0 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: .03em;
}
.event-sub-mid { margin-top: 1.3em; }
.event-venue {
  margin: .9em 0 0;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 700;
  color: var(--accent);
}
.event-when {
  margin: .1em 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.3;
}

.event-notes {
  display: grid;
  gap: 1.2em;
  margin: clamp(1.6rem, 4vh, 2.4rem) 0 0;
  text-align: left;
}
.event-notes div { padding-left: 1em; border-left: 2px solid var(--ornament); }
.event-notes dt { font-family: var(--display); font-size: 1.15rem; color: var(--accent); }
.event-notes dd { margin: .15em 0 0; font-size: 1.15rem; line-height: 1.65; }
.placeholder { font-style: italic; opacity: .7; }

.event .btn { margin-top: clamp(1.4rem, 4vh, 2.4rem); }

/* ---------- Travel ---------- */

/* Photo band across the top, just below the fixed header bar. */
.travel-photo {
  display: block;
  width: 100%;
  height: 40vh;
  margin-top: var(--topbar-h);
  object-fit: cover;
}

/* One centred column, the same width as the schedule's at-a-glance list. */
.travel {
  max-width: calc(640px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) var(--gutter) clamp(3.5rem, 8vw, 5rem);
}
.travel-head .page-title { font-size: clamp(2.25rem, 4.2vw, 3.5rem); color: var(--gold); }
.travel-head .lede { margin: .6em 0 0; max-width: none; }

.travel-section { margin-top: clamp(2.25rem, 5vw, 3rem); }
.travel-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.travel-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--gold);
}
.travel-section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: .45rem;
  background: var(--gold);
}
/* Empty for now: a small illustration can go here beside each heading. */
.travel-art { flex: 0 0 auto; width: 56px; height: 56px; }
.travel-section p { margin: 0 0 1rem; font-size: 1.15rem; line-height: 1.65; }
.travel-section p:last-child { margin-bottom: 0; }
.travel-section strong { font-weight: 700; }

/* ---------- FAQs ---------- */

.faqs {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--topbar-h) + clamp(3rem, 7vw, 5rem)) var(--gutter) clamp(3rem, 7vw, 5rem);
}
.faq-photo { width: 100%; aspect-ratio: 444 / 666; object-fit: cover; border-radius: 6px; filter: grayscale(1) contrast(.9) brightness(1.05); }
/* Desktop: the photo stays in view beside the answers as you scroll. */
@media (min-width: 761px) {
  .faq-photo { position: sticky; top: calc(var(--topbar-h) + 2rem); }
}
.faq-body .page-title { font-size: clamp(2.25rem, 4.2vw, 3.5rem); color: var(--gold); }
.faq-list { margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; font-size: 1.15rem; line-height: 1.65; border-top: 1px solid rgb(141 111 64 / .3); }
.faq-item { border-bottom: 1px solid rgb(141 111 64 / .3); }
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85em 0;
  font-weight: 400;
  color: var(--gold-dark);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* A + that turns into a − when the answer is open. */
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-weight: 400;
  font-size: 1.3em;
  line-height: 1;
  color: var(--gold);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: #5C4628; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.faq-item p { margin: -.2em 0 1em; color: var(--ink); }

.closing {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-size: 1.4rem;
  line-height: 1.5;
}
.closing-sign {
  margin: .5em 0 0;
  font-family: "Caveat", var(--display);
  font-weight: 500;
  font-size: 2.3rem;
  font-style: normal;
  line-height: 1.1;
  color: var(--gold-dark);
}

/* ---------- Narrow screens ---------- */

@media (max-width: 760px) {
  :root { --topbar-h: 54px; }

  .menu-toggle { display: block; }

  /* Links drop down under the bar when the menu is open. */
  .topbar-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem var(--gutter) 1rem;
    background: var(--bg);
    color: var(--ink);
    box-shadow: 0 10px 20px rgb(29 26 20 / .12);
    font-size: .95rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .topbar-links.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .topbar-links a { padding: .75em 0; }
  .topbar-links li + li { border-top: 1px solid rgb(29 26 20 / .08); }
  .topbar-links a::after { display: none; }
  .topbar-links a[aria-current] { color: var(--gold-dark); }

  .home-title { font-size: clamp(3rem, 15vw, 5rem); }


  .glance { padding: 0 16px; }

  /* Events: pattern becomes a band across the top. */
  .event, .pattern-right { grid-template-columns: 1fr; grid-template-rows: 30vh auto; min-height: 0; }
  .pattern-right .pattern { order: 0; }
  .event-body { padding: 2rem 20px 4rem; }
  .corner { width: 64px; }
  .corner-top { display: none; }
  .corner-bottom, .pattern-right .corner-bottom { bottom: 1rem; }
  .event-icon { height: 48px; margin-bottom: .9rem; }
  .event-icon-wide { height: 72px; margin-bottom: .4rem; }


  /* Invitation: the tiles sit in a row above the paragraph. */
  .invite-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .invite-photos { order: -1; gap: 6px; }
  .invite-text { text-align: center; }

  .travel { padding-left: 16px; padding-right: 16px; }
  .travel-photo { height: 260px; }

  .faqs { grid-template-columns: 1fr; }
  /* Phones: a square crop that keeps the two of us in frame. */
  .faq-photo { aspect-ratio: 1; object-position: center 85%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .photo-bg { animation: none; }
  .topbar, .topbar-links, .btn, .glance-card, .glance-arrow { transition: none; }
  .glance-card:hover .glance-arrow, .glance-card:focus-visible .glance-arrow { transform: none; }
}
