/* ============================================================
   Jess & Jeremy Wedding — Design system stylesheet
   Warm, earthy, romantic. Olive + ink-indigo on cream.
   ============================================================ */

@font-face {
  font-family: "J9 Poem";
  src: url("fonts/J9Poem3.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Brand palette ---------- */
  --cream:           #faf9f5;
  --cream-2:         #f3efe3;
  --cream-3:         #e8dfc8;
  --linen:           #ded3b8;
  --sand:            #c9b88f;

  --olive:           #384c02;
  --olive-2:         #4a6304;
  --olive-3:         #6a8410;
  --sage:            #a8b878;
  --moss:            #1e2a01;

  --ink:             #1b1463;
  --ink-2:           #2f259a;
  --ink-3:           #5e54c0;
  --lavender:        #d7d2ee;

  --terracotta:      #c97b50;
  --rose:            #e3a78a;
  --gold:            #b5933f;

  /* Coral accent — used in exactly three places */
  --coral:           rgb(243, 131, 117);
  --coral-deep:      rgb(212, 89, 75);

  /* ---------- Semantic ---------- */
  --bg:              var(--cream);
  --bg-soft:         var(--cream-2);
  --bg-strong:       var(--cream-3);
  --bg-inverse:      var(--olive);

  --fg:              #20210f;
  --fg-2:            #4d4a36;
  --fg-3:            #7a7560;
  --fg-inverse:      var(--cream);

  --border:          #e0d8c2;
  --border-strong:   #c9bf9f;
  --hairline:        rgba(56, 76, 2, 0.12);

  --link:            var(--olive-3);
  --link-hover:      var(--olive-2);

  --success:         #4a6304;
  --warning:         #b5933f;
  --error:           #a83a2a;

  /* ---------- Type families ---------- */
  --font-display:    "J9 Poem", "Tangerine", "Snell Roundhand", cursive;
  --font-body:       "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
                     Roboto, "Helvetica Neue", sans-serif;
  --font-mono:       "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---------- Type scale ---------- */
  --fs-display-1:    clamp(72px, 12vw, 168px);
  --fs-display-2:    clamp(56px, 9vw, 120px);
  --fs-h1:           clamp(40px, 5vw, 64px);
  --fs-h2:           clamp(30px, 3.6vw, 44px);
  --fs-h3:           clamp(22px, 2.4vw, 28px);
  --fs-h4:           18px;
  --fs-body:         18px;
  --fs-body-sm:      16px;
  --fs-meta:         14px;
  --fs-eyebrow:      11px;

  --lh-tight:        1.05;
  --lh-snug:         1.2;
  --lh-normal:       1.55;
  --lh-loose:        1.75;

  --tracking-tight:  -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.08em;
  --tracking-xwide:  0.22em;

  /* ---------- Spacing ---------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ---------- Radii ---------- */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   36px;
  --radius-pill: 999px;

  /* ---------- Shadows ---------- */
  --shadow-xs: 0 1px 2px rgba(56, 76, 2, 0.06);
  --shadow-sm: 0 2px 6px rgba(56, 76, 2, 0.08),
               0 1px 2px rgba(27, 20, 99, 0.04);
  --shadow-md: 0 8px 22px rgba(56, 76, 2, 0.10),
               0 2px 6px rgba(27, 20, 99, 0.05);
  --shadow-lg: 0 22px 50px rgba(27, 20, 99, 0.14),
               0 6px 14px rgba(56, 76, 2, 0.08);
  --shadow-inset: inset 0 0 0 1px var(--border);

  /* ---------- Motion ---------- */
  --ease-soft:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    150ms;
  --dur-base:    280ms;
  --dur-slow:    600ms;
}

/* ============================================================
   Base
   ============================================================ */

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--olive); color: var(--cream); }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--olive);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-snug);
  color: var(--olive);
  letter-spacing: -0.005em;
  margin: 0;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: var(--lh-snug);
  color: var(--ink);
  letter-spacing: 0;
  margin: 0;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--olive);
  margin: 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--olive-3);
  line-height: 1;
  margin: 0;
}

p, .body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--fg);
  text-wrap: pretty;
  margin: 0;
}
.body-sm { font-size: var(--fs-body-sm); color: var(--fg-2); }
.meta    { font-size: var(--fs-meta);    color: var(--fg-3); }

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-soft);
}
a:hover { color: var(--link-hover); }

a.btn, a[role="button"] { text-decoration: none; }

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

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 999px;
  padding: 18px 30px 14px;
  cursor: pointer;
  transition: all 280ms var(--ease-soft);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  background: var(--olive);
  color: var(--cream);
  box-shadow: 0 2px 6px rgba(56, 76, 2, 0.18);
}
.btn:hover { background: var(--olive-2); color: var(--cream); }
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.btn-small {
  font-size: 16px;
  letter-spacing: 0.08em;
  padding: 13px 22px 9px;
}

.btn-secondary {
  background: var(--cream);
  color: var(--olive);
  border: 1.5px solid var(--olive);
  padding: 16.5px 28.5px 12.5px;
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--cream-2);
  color: var(--olive);
}
.btn-secondary.btn-small {
  padding: 11.5px 20.5px 7.5px;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 2px 6px rgba(27, 20, 99, 0.18);
}
.btn-ink:hover { background: var(--ink-2); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--olive-3);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 16px;
  padding: 12px 8px;
  box-shadow: none;
}
.btn-ghost:hover { color: var(--olive); background: transparent; }

.btn-coral {
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 2px 6px rgba(212, 89, 75, 0.18);
}
.btn-coral:hover { background: var(--coral-deep); color: var(--cream); }

.btn-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.icn {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.12em;
}

/* ============================================================
   Hero backdrops
   ============================================================ */

.warm-backdrop {
  position: relative;
  overflow: hidden;
}
.warm-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(168, 184, 120, 0.10), transparent 55%),
    radial-gradient(ellipse at 88% 92%, rgba(227, 167, 138, 0.08), transparent 55%),
    linear-gradient(180deg, #faf9f5 0%, #f3efe3 100%);
}
.warm-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: radial-gradient(rgba(56, 76, 2, 0.6) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}
.warm-backdrop > * { position: relative; z-index: 1; }

.warm-backdrop-strong::before {
  background:
    radial-gradient(ellipse at 18% 12%, rgba(168, 184, 120, 0.32), transparent 55%),
    radial-gradient(ellipse at 88% 88%, rgba(227, 167, 138, 0.22), transparent 55%),
    linear-gradient(180deg, #faf9f5 0%, #f3efe3 100%);
}

/* ============================================================
   Home page
   ============================================================ */

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 48px;
  text-align: center;
}

.home-inner {
  max-width: 720px;
  width: 100%;
}

.couple-wordmark {
  font-family: var(--font-display);
  font-size: clamp(40px, 8.5vw, 120px);
  line-height: 0.92;
  color: var(--olive);
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.couple-wordmark .amp {
  font-size: 0.78em;
  vertical-align: middle;
}

.home-meta {
  margin: 28px 0 22px;
  display: grid;
  gap: 10px;
}
.home-meta-line {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive);
  line-height: 1.15;
}

.home-intro {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 520px;
  margin: 0 auto 56px;
  text-wrap: pretty;
}

.lookup-card {
  padding: clamp(28px, 5vw, 44px);
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
  background: var(--cream);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(27, 20, 99, 0.10), 0 6px 14px rgba(56, 76, 2, 0.06);
}

.lookup-card .eyebrow { display: block; margin-bottom: 10px; text-align: center; }
.lookup-card h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  color: var(--olive);
  margin: 0;
  line-height: 1;
  text-align: center;
  letter-spacing: -0.005em;
}
.lookup-card .lookup-help {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 14px auto 24px;
  text-align: center;
  max-width: 380px;
}
.lookup-card form { margin: 0; }

/* ============================================================
   Site footer
   ============================================================ */

.site-footer {
  position: relative;
  text-align: center;
  padding: 40px 24px 36px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--olive);
  line-height: 1.4;
}
.site-footer a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* ============================================================
   Sticky pill nav (invitation page)
   ============================================================ */

.sticky-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 28px);
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 22px;
  background: rgba(250, 249, 245, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  border: 1px solid rgba(224, 216, 194, 0.55);
  transition: all 280ms var(--ease-soft);
}
.sticky-nav.scrolled {
  background: rgba(250, 249, 245, 0.88);
  border-color: var(--border);
  box-shadow: 0 8px 22px rgba(56, 76, 2, 0.10), 0 2px 6px rgba(27, 20, 99, 0.05);
}

.sticky-nav-brand {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--olive);
  line-height: 1;
  padding: 0;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.sticky-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.sticky-nav-links button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0;
  padding: 0;
  position: relative;
  transition: color 200ms;
}
.sticky-nav-links button.active { color: var(--olive); }
.sticky-nav-links button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--olive);
  border-radius: 2px;
}

.sticky-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-nav-burger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--olive);
  font-size: 18px;
}

.mobile-menu {
  position: fixed;
  top: 76px;
  left: 14px;
  right: 14px;
  z-index: 49;
  padding: 22px;
  background: var(--cream);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 22px 50px rgba(27, 20, 99, 0.14);
  display: none;
  flex-direction: column;
  gap: 14px;
}
.mobile-menu.open { display: flex; }
.mobile-menu button {
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--olive);
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .sticky-nav-links { display: none; }
  .sticky-nav-burger { display: inline-flex; }
}

/* ============================================================
   Invitation page sections
   ============================================================ */

.invitation-page {
  background: var(--cream);
  min-height: 100vh;
}

.inv-hero {
  padding: 140px 24px 80px;
  text-align: center;
}
.inv-hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.inv-hero .eyebrow {
  display: block;
  margin-bottom: 18px;
}
.inv-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
  color: var(--olive);
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.inv-hero-asterisk {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--olive);
  line-height: 1;
}
.inv-hero-subhead {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 560px;
  margin: 24px auto 36px;
  text-wrap: pretty;
}
.inv-hero-deadline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-3);
  margin-top: 16px;
}

.confirmed-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px;
  text-align: left;
  background: var(--cream);
  border: 2px dotted var(--olive);
  border-radius: 24px;
}
.confirmed-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.confirmed-check {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
}
.confirmed-card h3 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--olive);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.005em;
}
.confirmed-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 6px 0;
}
.confirmed-card .attending-summary {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--coral-deep);
  line-height: 1.15;
  margin: 4px 0 14px;
}
.confirmed-card .footnote {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.55;
  margin: 0;
}
.confirmed-card .footnote a { color: var(--olive-3); }

/* Section base */
.inv-section {
  padding: 64px 24px;
  scroll-margin-top: 100px;
}
.inv-section-soft { background: var(--bg-soft); }
.inv-section-wide { max-width: 1080px; margin: 0 auto; }
.inv-section-narrow { max-width: 880px; margin: 0 auto; }

.section-head { margin-bottom: 40px; }
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--olive);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.section-head .intro {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 620px;
  margin: 16px 0 0;
  text-wrap: pretty;
}

/* Itinerary */
.itinerary { padding: 96px 24px 64px; }
.itinerary-grid {
  display: grid;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.day-card {
  scroll-margin-top: 100px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 2px 6px rgba(56, 76, 2, 0.08), 0 1px 2px rgba(27, 20, 99, 0.04);
}
.day-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.day-pill {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--olive);
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1;
}
.day-pill-coral { background: var(--coral); }
.day-date {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.day-card h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
  color: var(--olive);
}
.day-card.coral h2 { color: var(--coral-deep); }
.day-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 16px;
  color: var(--olive-3);
}
.day-card.coral .day-place { color: var(--coral-deep); }
.day-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 18px 0 0;
  text-wrap: pretty;
  max-width: 620px;
}

/* Directions */
.directions .section-head { margin-bottom: 0; text-align: center; }
.directions .section-head .eyebrow { text-align: center; }
.directions-body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 560px;
  margin: 20px auto 28px;
  text-wrap: pretty;
  text-align: center;
}
.directions-body strong { color: var(--olive); }
.directions .btn-row { margin-top: 0; }

/* Accommodations */
.acc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}
@media (max-width: 820px) {
  .acc-grid { grid-template-columns: 1fr; }
}
.lodging-card {
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  min-width: 0;
  background: var(--cream-2);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(56, 76, 2, 0.08);
  display: flex;
  flex-direction: column;
}
.lodging-card.featured {
  background: var(--cream);
  border: none;
  box-shadow: 0 22px 50px rgba(27, 20, 99, 0.10), 0 6px 14px rgba(56, 76, 2, 0.06);
}
.lodging-card .reserved-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  align-self: flex-start;
}
.lodging-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  color: var(--olive);
  margin: 0;
  line-height: 1.0;
  letter-spacing: -0.005em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.lodging-card p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 14px 0 0;
  text-wrap: pretty;
}
.lodging-card strong { color: var(--olive); }
.lodging-card .btn {
  margin-top: 22px;
  align-self: flex-start;
  white-space: normal;
  line-height: 1.15;
  text-align: center;
  max-width: 100%;
}

/* Off-site list — multi-column grid of clickable cards */
.lodging-list-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.lodging-list-grid li {
  list-style: none;
  display: flex;
}
.lodging-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft), border-color 200ms var(--ease-soft);
}
a.lodging-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(56, 76, 2, 0.10), 0 4px 10px rgba(27, 20, 99, 0.06);
  border-color: var(--border-strong);
  color: inherit;
}
.lodging-card-link .name {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--olive);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.lodging-card-link .distance {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  margin-top: 8px;
}
.lodging-card-link .note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
  margin-top: 12px;
  text-wrap: pretty;
}

/* Center the Accommodations section heading on both tiers */
#accommodations .section-head { text-align: center; }
#accommodations .section-head .intro { margin: 16px auto 0; }

/* Registry — coral */
.registry .section-head .eyebrow { color: var(--coral-deep); }
.registry .section-head h2 { color: var(--coral-deep); }

/* FAQ centered header */
.faq-head { text-align: center; margin-bottom: 36px; }
.faq-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--olive);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* ============================================================
   Accordion
   ============================================================ */

.accordion {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 4px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.accordion-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--olive);
  line-height: 1.15;
  flex: 1;
}
.accordion-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.accordion-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--cream);
  white-space: nowrap;
}
@media (max-width: 640px) { .accordion-tags { display: none; } }
.accordion-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--olive);
  border: 1.5px solid var(--border-strong);
  transition: all 200ms;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
.accordion-item.open .accordion-toggle {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 400ms var(--ease-soft), opacity 280ms;
}
.accordion-item.open .accordion-panel {
  max-height: 1200px;
  opacity: 1;
}
.accordion-panel-inner {
  padding: 0 4px 28px;
  max-width: 720px;
}
.accordion-meta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.accordion-body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ============================================================
   Forms (lookup, modal fields)
   ============================================================ */

.field { display: block; margin: 0; }
.field + .field { margin-top: 18px; }
.field-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.field-input,
.field-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border-strong);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  outline: none;
  transition: all 200ms;
}
.field-input:focus,
.field-textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(56, 76, 2, 0.10);
}
.field-input.error,
.field-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(168, 58, 42, 0.10);
}
.field-textarea {
  resize: vertical;
  line-height: 1.5;
}
.field-helper {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 8px;
  line-height: 1.5;
}
.field-error {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--error);
  margin-top: 8px;
  line-height: 1.5;
}
.field-error a { color: var(--error); font-weight: 700; }

/* Radio/checkbox pill controls */
.choice {
  text-align: left;
  background: var(--cream);
  color: var(--fg);
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 200ms;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  font-family: inherit;
}
.choice.checked {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}
.choice-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
}
.choice.checked .choice-mark {
  border-color: var(--cream);
  background: rgba(250, 249, 245, 0.16);
}
.choice .choice-mark-tick { display: none; }
.choice.checked .choice-mark-tick { display: inline; }

.choice.radio .choice-mark {
  border-radius: 999px;
  width: 24px;
  height: 24px;
}
.choice .choice-mark-dot { display: none; }
.choice.radio.checked .choice-mark-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cream);
}
.choice-body { flex: 1; min-width: 0; }
.choice-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}
.choice-sub {
  font-family: var(--font-body);
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

.choice-grid {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.choice-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
@media (max-width: 560px) {
  .choice-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Modal (RSVP + Contact)
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(27, 20, 99, 0.36);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 24px 16px;
  animation: modal-overlay-in 280ms var(--ease-soft);
}
.modal-card {
  max-width: 680px;
  margin: 24px auto 60px;
  background: var(--cream);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(27, 20, 99, 0.28), 0 6px 14px rgba(56, 76, 2, 0.10);
  border: 1px solid var(--border);
  position: relative;
  animation: modal-card-in 360ms var(--ease-soft);
}
.modal-card.narrow { max-width: 540px; margin: 40px auto 60px; }

.modal-topbar {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--olive);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--olive);
  font-size: 18px;
  font-weight: 700;
}

.modal-progress-wrap { padding: 14px 24px 0; }
.modal-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--cream-3);
  overflow: hidden;
  position: relative;
}
.modal-progress-bar {
  position: absolute;
  inset: 0;
  width: 2%;
  background: var(--olive);
  border-radius: 999px;
  transition: width 400ms var(--ease-soft);
}

.modal-body { padding: clamp(28px, 5vw, 44px); }

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-3);
  margin-bottom: 10px;
}
.step-header .step-count { color: var(--fg-3); }

.step {
  animation: step-fade-in 220ms var(--ease-soft);
}
@keyframes step-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 56px);
  color: var(--olive);
  margin: 0;
  line-height: 1.0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.step-question {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--fg-2);
  margin: 14px 0 28px;
  line-height: 1.5;
}
.step-question.tight { margin-bottom: 20px; }

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 14px;
  flex-wrap: wrap;
}

/* Review */
.review-list {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--cream);
  overflow: hidden;
}
.review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}
.review-row:first-child { border-top: none; }
.review-row .person {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--olive);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.review-row .diet {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 4px;
  line-height: 1.5;
}
.review-row .status {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  flex-shrink: 0;
}
.review-row .status.not-attending { color: var(--fg-3); }
.review-row.lodging-row { background: var(--cream-2); }
.review-row .meta-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.review-row.note-row { flex-direction: column; align-items: stretch; }
.review-note-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.review-note-body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.55;
  font-style: italic;
}

.review-footnote {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-3);
  margin: 20px 0 0;
  line-height: 1.6;
}
.review-footnote a { color: var(--olive-3); }

/* Success */
.success {
  text-align: center;
  padding: 12px 0;
}
.success-check {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 42px;
  font-weight: 700;
  animation: success-pop 600ms var(--ease-bounce);
}
.success h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 68px);
  color: var(--olive);
  margin: 0;
  line-height: 1.0;
  letter-spacing: -0.005em;
}
.success p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--fg-2);
  max-width: 460px;
  margin: 16px auto 8px;
  line-height: 1.55;
  text-wrap: pretty;
}
.success .small {
  font-size: 14px;
  color: var(--fg-3);
  margin: 16px auto 28px;
}
.success a { color: var(--olive-3); }

/* Contact modal specifics */
.modal-card.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 46px);
  color: var(--olive);
  margin: 0 0 24px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.contact-fields {
  display: grid;
  gap: 18px;
}
.contact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.contact-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.contact-actions .or-email {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-3);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes modal-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

/* ============================================================
   Admin dashboard
   ============================================================ */

.admin {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.admin-header .eyebrow {
  display: block;
  margin-bottom: 6px;
}
.admin-header h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  color: var(--olive);
  margin: 0;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.admin-header .subtle {
  color: var(--fg-3);
  margin-top: 8px;
  font-size: 15px;
}
.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.stat {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 2px 6px rgba(56, 76, 2, 0.06);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--olive);
  line-height: 1;
  letter-spacing: -0.005em;
}
.stat .label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  margin-top: 10px;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.admin-page-header .monogram {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--olive);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-page-header a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--olive-3);
  text-decoration: none;
}
.admin-page-header a:hover { color: var(--olive); }

.admin-table-wrap {
  overflow-x: auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(56, 76, 2, 0.06);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}
.admin-table th {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--olive);
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--cream-2);
}
.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--fg-2);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table strong { color: var(--olive); }

.tier-tag, .status-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--olive-3);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}
.tier-tag.both {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}
.status-tag.responded {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}
.status-tag.pending {
  background: var(--cream-3);
  color: var(--olive);
  border-color: var(--border-strong);
}

.attendee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.attendee-list li.not-coming { color: var(--fg-3); text-decoration: line-through; }
.attendee-list em { color: var(--fg-3); font-style: normal; font-size: 12px; }

.admin-child-list {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 4px;
}

.admin-meta {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 6px;
}

/* ============================================================
   Demo banner
   ============================================================ */

.demo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  z-index: 200;
}
.demo-banner button {
  margin-left: 12px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 249, 245, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.demo-banner button:hover {
  background: rgba(250, 249, 245, 0.1);
}
.has-demo-banner { padding-bottom: 48px; }

/* ============================================================
   Flash messages (lookup page)
   ============================================================ */

.flash {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.flash-error {
  background: rgba(168, 58, 42, 0.08);
  color: var(--error);
  border: 1px solid rgba(168, 58, 42, 0.2);
}
.flash-error a { color: var(--error); font-weight: 700; }
.flash-success {
  background: rgba(74, 99, 4, 0.08);
  color: var(--olive);
  border: 1px solid rgba(74, 99, 4, 0.2);
}
.flash-success a { color: var(--olive); font-weight: 700; }
