/* Layout: a country-house letter. Raw-silk paper, walnut ink, thin sand rules;
   our photos sit in white mats like snapshots, venue photos bleed soft at the edges.
   Colour is used the way the florist uses it: mostly neutral, with small blooms. */
:root {
  --silk: #EEE7DF;      /* Raw Silk: page */
  --paper: #F7F3EE;     /* lighter mat / cards */
  --mat: #FCFAF7;       /* photo mats */
  --walnut: #3E3230;    /* Black Walnut: ink */
  --taupe: #8A817C;     /* Taupe Fog: secondary ink */
  --sand: #D8C6B5;      /* rules, borders */
  --teal: #2B4C52;      /* primary accent: links, buttons */
  --sage: #5F6B61;      /* Muted Sage: botanical line work */
  --blue: #8895A5;      /* dusty blue: occasional wash */
  --rust: #8C5346;      /* terracotta: tiny accents only */
  --plum: #6E5158;      /* script accents, reviewer notes */

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-body: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --f-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;

  --step--1: 0.84rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

  --wrap: 1120px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  background: var(--silk);
  color: var(--walnut);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.7;
  /* very soft paper mottling */
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(255,255,255,.55), transparent 45%),
    radial-gradient(ellipse at 88% 40%, rgba(216,198,181,.25), transparent 50%),
    radial-gradient(ellipse at 30% 95%, rgba(255,255,255,.4), transparent 50%);
  background-attachment: fixed;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--silk); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; color: var(--walnut); }
h2 { font-size: var(--step-3); font-weight: 300; }
h3 { font-size: var(--step-2); font-weight: 400; }
h4 { font-size: var(--step-1); font-weight: 500; }
p { margin: 0; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
strong { font-weight: 500; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.narrow { max-width: 68ch; }
.eyebrow { font-family: var(--f-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 400; }
.script { font-family: var(--f-script); font-weight: 400; color: var(--plum); }
.muted { color: var(--taupe); }
.small { font-size: var(--step--1); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: rgba(238,231,223,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.monogram { font-family: var(--f-display); font-size: 1.5rem; text-decoration: none; color: var(--walnut); letter-spacing: .04em; display: flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
.monogram .amp { font-family: var(--f-script); color: var(--plum); font-size: 1.6rem; }
.nav { display: flex; flex-wrap: wrap; gap: .1rem .2rem; justify-content: flex-end; }
.nav a { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); text-decoration: none; padding: .45rem .55rem; border-radius: 2px; font-weight: 400; }
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -1px 0 var(--teal); }
.nav a.nav-rsvp { border: 1px solid var(--teal); color: var(--teal); margin-left: .3rem; }
.nav a.nav-rsvp[aria-current="page"] { background: var(--teal); color: var(--paper); box-shadow: none; }
.menu-btn { display: none; font: inherit; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; background: none; border: 1px solid var(--sand); color: var(--walnut); padding: .45rem .8rem; cursor: pointer; }
@media (max-width: 980px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--sand); flex-direction: column; padding: .5rem var(--gutter-r) 1rem var(--gutter-l); }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .2rem; border-bottom: 1px solid rgba(216,198,181,.5); }
  .nav a.nav-rsvp { margin: .6rem 0 0; text-align: center; }
}

/* ---------- views ---------- */
main { min-height: 60vh; overflow-x: clip; }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section + .section { padding-top: 0; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.page-head h1 { font-size: var(--step-4); font-weight: 300; }
.page-head p { max-width: 60ch; color: var(--taupe); }
/* can run a little wider than the page column; stays inside the window */
.page-head p.wide { width: min(78rem, calc(100vw - 32px)); max-width: none; text-wrap: balance; }
.page-head p.wide + p.wide { margin-top: -.5rem; text-wrap: balance; }

/* rules + sprigs */
.rule { display: flex; align-items: center; gap: 1rem; color: var(--sage); margin: 0 auto; max-width: 420px; width: 100%; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--sand); }
.rule svg { width: 46px; height: 26px; flex: none; }
.double-frame { border: 1px solid var(--sand); outline: 1px solid var(--sand); outline-offset: 5px; background: var(--paper); }

/* photos */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(.95) sepia(.07) brightness(1.03); }
.snap { background: var(--mat); padding: 10px 10px 34px; box-shadow: 0 1px 2px rgba(62,50,48,.12), 0 8px 24px rgba(62,50,48,.08); position: relative; max-width: 100%; }
.snap figcaption { position: absolute; left: 12px; right: 12px; bottom: 7px; font-family: var(--f-display); font-style: italic; font-size: .98rem; color: var(--taupe); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tilt-l { transform: rotate(-1.6deg); }
.tilt-r { transform: rotate(1.4deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--f-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .85rem 1.5rem; border: 1px solid var(--teal); color: var(--teal); background: transparent; cursor: pointer; font-weight: 400; transition: background .2s, color .2s; }
.btn:hover { background: var(--teal); color: var(--paper); }
.btn.solid { background: var(--teal); color: var(--paper); }
.btn.solid:hover { background: var(--walnut); border-color: var(--walnut); color: var(--paper); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- HOME ---------- */
.hero { position: relative; isolation: isolate; }
.hero-img { height: clamp(340px, 62vw, 640px); overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.72) contrast(.94) sepia(.1) brightness(1.04); display: block; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(238,231,223,0) 45%, var(--silk) 98%); pointer-events: none; }
.hero-card { position: relative; z-index: 2; margin: clamp(-11rem, -16vw, -5rem) auto 0; max-width: 720px; text-align: center; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.hero-card .together { font-family: var(--f-display); font-style: italic; color: var(--taupe); font-size: 1.1rem; text-wrap: balance; max-width: 40ch; line-height: 1.5; }
/* wide enough for two balanced lines on desktop */
.hero-card .weekend-line { max-width: 58ch; }
.hero-when { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.hero-date { font-size: .95rem; letter-spacing: .26em; text-transform: uppercase; color: var(--walnut); font-weight: 400; font-variant-numeric: lining-nums; }
.hero-place { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.names { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.85rem, .9rem + 4.4vw, 4rem); line-height: 1.02; letter-spacing: .01em; }
.names .nm { white-space: nowrap; }
.names .amp { display: block; font-family: var(--f-script); color: var(--plum); font-size: .7em; line-height: 1.2; }
.date-line { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--walnut); display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .9rem; }
.date-line span + span::before { content: "·"; margin-right: .9rem; color: var(--sand); }
@media (max-width: 560px) { .date-line { flex-direction: column; align-items: center; gap: .2rem; } .date-line span + span::before { content: none; } }
.countdown { display: flex; gap: clamp(.8rem, 3vw, 1.8rem); justify-content: center; padding-top: .3rem; font-variant-numeric: tabular-nums; }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 3.5rem; }
.countdown b { font-family: var(--f-display); font-weight: 300; font-size: 2.2rem; line-height: 1; color: var(--teal); }
.countdown small { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }

.welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.welcome .snap { aspect-ratio: 4/3.3; }
.welcome .snap .photo { height: 100%; }
.welcome h2 .script { font-size: 1.1em; }
@media (max-width: 760px) { .welcome { grid-template-columns: 1fr; } .welcome .snap { max-width: 460px; margin: 0 auto; width: 100%; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--sand); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.step:hover { border-color: var(--teal); transform: translateY(-2px); color: inherit; }
.step .num { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--rust); }
.step h3 { font-size: 1.5rem; }
.step .go { margin-top: auto; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
div.step:hover { border-color: var(--sand); transform: none; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.dates-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.dates-strip > div { padding: 1.25rem 1rem; text-align: center; display: flex; flex-direction: column; gap: .2rem; }
.dates-strip > div + div { border-left: 1px solid var(--sand); }
.dates-strip b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; }
@media (max-width: 760px) { .dates-strip { grid-template-columns: 1fr 1fr; } .dates-strip > div:nth-child(3) { border-left: 0; } .dates-strip > div:nth-child(n+3) { border-top: 1px solid var(--sand); } }

.cities { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chip { font-family: var(--f-body); font-size: .8rem; letter-spacing: .06em; padding: .55rem 1rem; border: 1px solid var(--sand); background: var(--paper); color: var(--walnut); text-decoration: none; border-radius: 999px; cursor: pointer; }
.chip:hover, .chip[aria-selected="true"] { border-color: var(--teal); color: var(--teal); }
.chip[aria-selected="true"] { background: var(--teal); color: var(--paper); }

.discord-teaser { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.75rem; }
.discord-teaser svg { width: 56px; height: 56px; color: var(--blue); }
@media (max-width: 700px) { .discord-teaser { grid-template-columns: 1fr; text-align: center; justify-items: center; } .discord-teaser .btn-row { justify-content: center; } }

.venue-band { position: relative; }
.venue-band .photo { height: clamp(260px, 40vw, 460px); }
.venue-band .photo img { filter: saturate(.7) sepia(.12) contrast(.94) brightness(1.04); }
/* caption sits in the pale sky inside the window frame */
.venue-band .caption { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); color: var(--walnut); text-shadow: 0 0 12px rgba(247,243,238,.9); padding: .4rem 1rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .venue-band .caption { top: 47%; white-space: normal; width: 86%; text-align: center; line-height: 1.3; } }

/* ---------- STORY ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 4.5rem); padding-block: 1rem 2rem; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--sand); }
.moment { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; }
.moment::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; background: var(--silk); border: 1px solid var(--sage); border-radius: 50%; transform: translate(-50%, -50%); }
.moment .snap { aspect-ratio: 4/3.35; }
.moment .snap.portrait { aspect-ratio: 3/4.2; max-width: 300px; justify-self: center; width: 100%; }
.moment .snap .photo { height: 100%; }
.moment:nth-child(even) .snap { order: 2; }
.moment .text { display: flex; flex-direction: column; gap: .55rem; }
.moment .when { font-family: var(--f-display); font-style: italic; color: var(--rust); font-size: 1.1rem; }
@media (max-width: 760px) {
  .timeline::before, .moment::after { display: none; }
  .moment { grid-template-columns: 1fr; gap: 1.25rem; }
  .moment:nth-child(even) .snap { order: 0; }
  .moment .snap { max-width: 460px; width: 100%; justify-self: center; }
}

/* ---------- WEEKEND ---------- */
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.day { background: var(--paper); border: 1px solid var(--sand); padding: 1.6rem 1.4rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.day.main { border-color: var(--teal); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--sand); }
.day header { display: flex; flex-direction: column; gap: .1rem; border-bottom: 1px solid var(--sand); padding-bottom: .9rem; }
.day header b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.events { display: flex; flex-direction: column; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: .8rem; }
.events time { font-variant-numeric: tabular-nums; color: var(--rust); font-size: .88rem; padding-top: .1rem; }
.events strong { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.events span { font-size: .9rem; color: var(--taupe); }
@media (max-width: 860px) { .days { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 2rem; }
.fact { display: flex; flex-direction: column; gap: .3rem; padding-top: 1rem; border-top: 1px solid var(--sand); }
.fact b { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; }

.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; }
.mosaic .photo { overflow: hidden; }
.mosaic .photo:first-child { grid-row: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px 150px; } .mosaic .photo:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- TRAVEL ---------- */
.route-map { overflow-x: auto; background: var(--paper); border: 1px solid var(--sand); padding: 1rem; }
.route-map svg { display: block; min-width: 640px; width: 100%; height: auto; }
.route-map text { font-family: var(--f-body); fill: var(--walnut); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .82rem; color: var(--taupe); padding-top: .75rem; }
.legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend i { display: inline-block; width: 26px; height: 0; border-top: 2px solid var(--teal); }
.legend i.rail { border-top: 3px dashed var(--rust); }
.legend i.road { border-top: 2px solid var(--sage); }
.legend i.xfer { border-top: 2px dotted var(--taupe); }

.city-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; background: var(--paper); border: 1px solid var(--sand); padding: clamp(1.25rem, 3vw, 2.25rem); }
.city-panel h3 { font-size: 2rem; font-weight: 300; }
.options { display: flex; flex-direction: column; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.options li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--sand); }
.options .tag { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); padding-top: .3rem; font-weight: 500; }
.options .tag.alt { color: var(--taupe); }
.options b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; display: block; line-height: 1.3; }
.options .opt { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.options .days { font-size: .88rem; }
.options .days span { display: inline-block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); font-weight: 500; margin-right: .6rem; }
.options .gf { align-self: flex-start; font-size: .82rem; letter-spacing: .04em; }
.city-side { display: flex; flex-direction: column; gap: 1rem; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1rem; font-size: .92rem; margin: 0; }
.kv dt { color: var(--taupe); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .city-panel { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .options li { grid-template-columns: 1fr; gap: .2rem; } }

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 860px) { .cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cols-2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--sand); padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.card h3 { font-size: 1.45rem; }
.card ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.card ul li::marker { color: var(--sage); }
.card .photo { margin: -1.5rem -1.5rem .5rem; height: 190px; overflow: hidden; }

/* ---------- PASSPORT ---------- */
.deadline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.75rem 2rem; }
.deadline .big { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--teal); line-height: 1; font-variant-numeric: tabular-nums; text-align: center; }
.deadline .big small { display: block; font-family: var(--f-body); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-top: .35rem; }
@media (max-width: 600px) { .deadline { grid-template-columns: 1fr; text-align: center; } }

.checker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 800px) { .checker { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
legend { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; margin-bottom: .4rem; padding: 0; }
.radio { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; padding: .55rem .8rem; border: 1px solid var(--sand); background: var(--mat); }
.radio:has(input:checked) { border-color: var(--teal); background: rgba(43,76,82,.05); }
.radio input { accent-color: var(--teal); margin-top: .35rem; }
label.field { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; color: var(--taupe); }
input[type="text"], input[type="email"], input[type="date"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--walnut); background: var(--mat); border: 1px solid var(--sand); padding: .65rem .8rem; border-radius: 0; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,76,82,.12); }
.result { border-left: 3px solid var(--sage); background: var(--paper); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; }
.result.warn { border-left-color: var(--rust); }
.result.good { border-left-color: var(--teal); }
.result h4 { font-size: 1.35rem; }

.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: p; }
.path li { list-style: none; padding: 1.25rem 1.1rem 0 0; position: relative; display: flex; flex-direction: column; gap: .35rem; border-top: 1px solid var(--sand); }
.path li::before { counter-increment: p; content: counter(p); position: absolute; top: -.85rem; left: 0; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border: 1px solid var(--sage); background: var(--silk); border-radius: 50%; font-family: var(--f-display); font-size: .95rem; color: var(--sage); }
.path li b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; padding-top: .5rem; }
.path { padding: 0; margin: 0; }
@media (max-width: 800px) { .path { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 460px) { .path { grid-template-columns: 1fr; } }

table.fees { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
table.fees th, table.fees td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
table.fees th { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); font-weight: 500; }
.table-wrap { overflow-x: auto; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checklist li { border-bottom: 1px solid var(--sand); }
.checklist label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: baseline; padding: .7rem 0; cursor: pointer; }
.checklist input { accent-color: var(--teal); width: 1.05rem; height: 1.05rem; transform: translateY(2px); }
.checklist .by { font-size: .78rem; color: var(--rust); white-space: nowrap; font-variant-numeric: tabular-nums; }
.checklist input:checked + span { text-decoration: line-through; color: var(--taupe); }
@media (max-width: 480px) { .checklist label { grid-template-columns: auto minmax(0, 1fr); } .checklist .by { grid-column: 2; } }

/* ---------- COMMUNITY ---------- */
.discord-mock { display: grid; grid-template-columns: 240px minmax(0, 1fr); border: 1px solid var(--sand); background: var(--paper); overflow: hidden; }
.channels { background: rgba(43,76,82,.06); padding: 1.1rem; display: flex; flex-direction: column; gap: .15rem; font-size: .88rem; border-right: 1px solid var(--sand); }
.channels .grp { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin: .8rem 0 .2rem; font-weight: 500; }
.channels .grp:first-child { margin-top: 0; }
.channels span { color: var(--walnut); padding: .15rem .4rem; border-radius: 3px; }
.channels span::before { content: "# "; color: var(--blue); }
.channels span.on { background: rgba(43,76,82,.1); }
.thread { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.msg { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .8rem; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); color: var(--paper); font-size: 1rem; }
.msg b { font-weight: 500; font-size: .9rem; }
.msg time { font-size: .72rem; color: var(--taupe); margin-left: .4rem; }
.msg p { font-size: .92rem; }
@media (max-width: 700px) { .discord-mock { grid-template-columns: 1fr; } .channels { border-right: 0; border-bottom: 1px solid var(--sand); flex-direction: row; flex-wrap: wrap; gap: .3rem .6rem; } .channels .grp { width: 100%; margin: .4rem 0 0; } }

/* ---------- RSVP ---------- */
.rsvp-form { display: flex; flex-direction: column; gap: 1.6rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.guest { border-top: 1px solid var(--sand); padding-top: 1.1rem; display: flex; flex-direction: column; gap: .8rem; }
.guest h4 { font-size: 1.35rem; }
.inline-radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.inline-radios .radio { padding: .45rem .8rem; }
.notice { background: rgba(95,107,97,.08); border: 1px solid var(--sage); padding: 1rem 1.2rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-family: var(--f-display); font-size: 1.3rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--f-body); font-weight: 300; color: var(--teal); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.3rem; color: var(--walnut); display: flex; flex-direction: column; gap: .6rem; }

/* ---------- footer ---------- */
footer.site-footer { border-top: 1px solid var(--sand); margin-top: 3rem; }
footer.site-footer .wrap { padding-block: 2.5rem 3rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
footer .script { font-size: 2.2rem; line-height: 1; }

.guests { display: flex; flex-direction: column; gap: 1.6rem; }

/* ---------- Our Story photo album ---------- */
.gallery { margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--sand); display: flex; flex-direction: column; gap: 1.1rem; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.gallery-filters { justify-content: flex-start; }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.chip .n { opacity: .65; margin-left: .3rem; font-variant-numeric: tabular-nums; }
.gallery-strip-wrap { position: relative; }
/* one scrolling row by default, so the album stays small */
.gallery-strip { list-style: none; margin: 0; padding: .2rem 0 .8rem; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(92px, 13vw, 148px); gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--sand) transparent; }
.gallery-strip li { scroll-snap-align: start; }
.gallery-strip button { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.8) contrast(.95) sepia(.07) brightness(1.03); transition: transform .35s ease, filter .35s ease; }
.gallery-strip button:hover img, .gallery-strip button:focus-visible img { transform: scale(1.05); filter: none; }
.gallery.is-grid .gallery-strip { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); overflow: visible; }
.gallery.is-grid .strip-btn { display: none; }
.strip-btn { position: absolute; top: calc(50% - .4rem); transform: translateY(-50%); z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--sand); background: rgba(247,243,238,.95); color: var(--teal); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(62,50,48,.15); }
.strip-btn:hover { background: var(--teal); color: var(--paper); border-color: var(--teal); }
.strip-btn.prev { left: -.7rem; }
.strip-btn.next { right: -.7rem; }
.strip-btn[disabled] { opacity: 0; pointer-events: none; }
@media (hover: none) { .strip-btn { display: none; } }
.gallery-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }

/* full-size viewer */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: transparent; }
.lightbox::backdrop { background: rgba(30,24,23,.9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .7rem; max-width: calc(100vw - 8rem); }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 6rem); width: auto; height: auto; background: var(--mat); padding: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.lightbox figcaption { color: #EEE7DF; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.lb-btn { position: fixed; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(238,231,223,.4); background: rgba(238,231,223,.1); color: #EEE7DF; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(238,231,223,.25); }
.lb-close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: calc(1rem + env(safe-area-inset-right, 0px)); font-size: 1.6rem; }
.lb-prev { left: calc(1rem + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: calc(1rem + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lightbox img { max-height: calc(100vh - 9rem); }
  .lb-prev, .lb-next { top: auto; transform: none; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: calc(25% - 1.5rem); }
  .lb-next { right: calc(25% - 1.5rem); }
}
.gallery-note { margin: -.2rem 0 0; padding: .85rem 1.1rem; background: var(--paper); border-left: 3px solid var(--plum); font-family: var(--f-display); font-style: italic; font-size: 1.12rem; line-height: 1.45; color: var(--walnut); }
.gallery-note .eyebrow { display: block; font-style: normal; color: var(--plum); margin-bottom: .2rem; }
/* keep emoji upright and in colour inside italic text */
.emoji { font-style: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; font-size: 1.05em; line-height: 1; vertical-align: -0.08em; transform: none; }
.nowrap { white-space: nowrap; }
