/* Journeys by Andrew — site styles
   Concept: golden-age ocean liners and railway posters.
   Type: Bodoni Moda (display), Jost (text, a Futura-like geometric sans). */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0f2a3d;        /* harbor ink */
  --ink-2: #183a52;
  --mist: #edf2f0;       /* sea-mist ground */
  --paper: #fbfaf6;      /* ticket paper */
  --slate: #3e5463;      /* secondary text */
  --brass: #b8893b;      /* decorative only */
  --brass-text: #7a5a1e; /* brass for text on light */
  --brass-light: #d9b778;/* brass for text on ink */
  --funnel: #a8322b;     /* signal red, used sparingly */
  --line: rgba(15, 42, 61, 0.18);
  --line-strong: rgba(15, 42, 61, 0.4);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(2rem, 3.4vw, 2.9rem);
  --step-4: clamp(2.6rem, 5.6vw, 5.2rem);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(4.5rem, 10vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.62;
  font-weight: 400;
  font-kerning: normal;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: var(--step-4); line-height: 1.02; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 66ch; text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--funnel); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--mist) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.5rem;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.wordmark .wm-main { font-family: var(--serif); font-style: italic; font-size: 1.65rem; line-height: 1; }
.wordmark .wm-by { font-size: 0.95rem; letter-spacing: 0.08em; color: var(--slate); }

.nav-toggle {
  display: none; font: inherit; font-size: var(--step--1); font-weight: 500;
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
  padding: 0.5rem 0.9rem; border-radius: 999px; cursor: pointer; min-height: 44px;
}
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 0.4rem 0; }
.site-nav a.btn { padding: 0.45rem 1.15rem; color: var(--paper); }
.site-nav a.btn[aria-current="page"] { text-decoration: none; box-shadow: 0 0 0 2px var(--mist), 0 0 0 3px var(--brass); }
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .js .site-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; }
  .js .site-nav.is-open a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .js .site-nav.is-open a.btn { margin-top: 1rem; border-bottom: 0; text-align: center; }
  .site-nav ul { flex-wrap: wrap; gap: 0.25rem 1.1rem; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.6rem;
  font: 500 1rem/1.2 var(--sans); letter-spacing: 0.02em;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--ink-2); text-decoration: none; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--mist); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(15,42,61,0.06); }
.btn-small { min-height: 40px; padding: 0.45rem 1.1rem; font-size: 0.95rem; }

.text-link {
  font-weight: 500; text-decoration: underline; text-decoration-color: var(--brass);
  text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}

/* ---------- Hero (poster) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 54rem);
  display: grid; align-items: end;
  color: var(--paper); background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,42,61,0.15) 0%, rgba(15,42,61,0.05) 35%, rgba(15,42,61,0.82) 100%),
    linear-gradient(90deg, rgba(15,42,61,0.55) 0%, rgba(15,42,61,0) 60%);
}
.hero-inner { padding-block: clamp(6rem, 14vw, 9rem) clamp(3rem, 7vw, 5.5rem); }
.hero h1 { max-width: 13ch; margin-bottom: 0.35em; }
.hero-lede { font-size: var(--step-1); max-width: 34ch; line-height: 1.45; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem 1.5rem; align-items: center; }
.hero-actions .quiet { color: var(--paper); font-weight: 500; }
.hero-affil { margin-top: 2.5rem; font-size: var(--step--1); letter-spacing: 0.02em; color: #dfe7e4; }

/* The luggage-label seal: the one ornamental flourish of the site */
.seal {
  position: absolute; z-index: 1;
  right: clamp(1rem, 6vw, 5rem); top: clamp(5.5rem, 12vw, 8rem);
  width: clamp(8.5rem, 16vw, 13rem); aspect-ratio: 1;
  color: var(--brass-light);
}
.seal svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .seal svg .seal-ring { transform-origin: 50% 50%; animation: seal-in 2.4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes seal-in { from { transform: rotate(-120deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }
}
@media (max-width: 640px) { .seal { top: 1.25rem; width: 7rem; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section-tight { padding-block: calc(var(--space) * 0.6); }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink a:not(.btn) { color: var(--paper); }
.section-head { display: grid; gap: 0.5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 44rem; }
.section-head h2 { margin-bottom: 0.2em; }
.section-head p { color: var(--slate); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.band-ink .section-head p { color: #c9d6d2; }
.kicker { font-size: var(--step--1); font-weight: 500; color: var(--brass-text); margin: 0; letter-spacing: 0.02em; }
.band-ink .kicker { color: var(--brass-light); }

/* Note from Andrew */
.note {
  display: grid; gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
}
.note figure { margin: 0; }
.note img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 2px; }
.note .lead { font-family: var(--serif); font-size: var(--step-2); line-height: 1.35; margin-bottom: 1.2em; max-width: 30ch; }
.signature { font-family: var(--serif); font-style: italic; font-size: var(--step-2); margin: 1.5rem 0 0; }
.signature small { display: block; font-family: var(--sans); font-style: normal; font-size: var(--step--1); color: var(--slate); margin-top: 0.25rem; }
@media (max-width: 760px) { .note { grid-template-columns: 1fr; } .note figure { max-width: 22rem; } }

/* Places I know by heart */
.places {
  display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.place { margin: 0; display: flex; flex-direction: column; }
.place a { text-decoration: none; display: block; }
.place img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.place figcaption { padding-top: 0.9rem; }
.place h3 { font-size: var(--step-1); margin: 0 0 0.25rem; }
.place p { color: var(--slate); margin: 0; font-size: 0.98rem; }
.place a:hover h3 { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.place-lg { grid-column: span 4; grid-row: span 2; }
.place-lg img { aspect-ratio: 16 / 11; }
.place-lg h3 { font-size: var(--step-2); }
.place-sm { grid-column: span 2; }
.place-md { grid-column: span 3; }
@media (max-width: 900px) {
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-lg { grid-column: span 2; grid-row: auto; }
  .place-sm, .place-md { grid-column: span 1; }
}
@media (max-width: 520px) { .places { grid-template-columns: 1fr; } .place-lg, .place-sm, .place-md { grid-column: auto; } }

.beyond {
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem;
}
.beyond h3 { font-size: var(--step-2); margin: 0; }
.beyond p { margin-bottom: 0.75rem; }
@media (max-width: 760px) { .beyond { grid-template-columns: 1fr; gap: 0.5rem; } }

/* Occasions */
.occasions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 6vw, 5rem); }
.occasions li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.occasions h3 { font-size: var(--step-1); margin: 0 0 0.3rem; }
.occasions p { margin: 0; color: var(--slate); }
@media (max-width: 700px) { .occasions { grid-template-columns: 1fr; } }

/* What booking with me gets you */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); }
.benefit { border-top: 2px solid var(--brass); padding-top: 1.1rem; }
.benefit h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.benefit p { margin: 0; color: var(--slate); }
.band-ink .benefit p { color: #c9d6d2; }
.fineprint { font-size: var(--step--1); color: var(--slate); margin-top: 2.5rem; max-width: 70ch; }
.band-ink .fineprint { color: #b9c8c3; }
@media (max-width: 700px) { .benefits { grid-template-columns: 1fr; } }

/* Route: a real sequence, drawn as stops on a line */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: stop; position: relative; }
.route::before { content: ""; position: absolute; left: 0.6rem; right: 0; top: 0.6rem; border-top: 1px dashed var(--line-strong); }
.route li { position: relative; padding-top: 2.4rem; counter-increment: stop; }
.route li::before {
  content: counter(stop); position: absolute; top: -0.35rem; left: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--ink);
  font: 500 0.95rem/1 var(--sans);
}
.route li:first-child::before { background: var(--ink); color: var(--paper); }
.route h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.route p { margin: 0; color: var(--slate); }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 1rem; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px dashed var(--line-strong); }
  .route li { padding: 0 0 2rem 3.25rem; }
  .route li::before { top: 0; }
}

/* Closing call */
.closing { text-align: left; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; }
.closing h2 { margin: 0; max-width: 16ch; }
.closing p { color: #c9d6d2; }
@media (max-width: 760px) { .closing { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; }
.page-head p { font-size: var(--step-1); color: var(--slate); max-width: 50ch; line-height: 1.5; }

.subnav { border-block: 1px solid var(--line); background: var(--paper); position: sticky; top: 4.5rem; z-index: 40; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.subnav a { display: block; padding: 0.9rem 0; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.subnav a:hover { text-decoration: underline; text-decoration-color: var(--brass); }

.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; position: sticky; top: 9rem; }
.feature h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.feature ul { padding-left: 1.1rem; margin: 0 0 1.25rem; }
.feature li { margin-bottom: 0.45rem; }
.feature li::marker { color: var(--brass); }
.feature .best-for { font-size: 0.98rem; color: var(--slate); border-left: 2px solid var(--brass); padding-left: 1rem; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature:nth-of-type(even) .feature-media { order: 0; } .feature-media img { position: static; } }

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.75rem; margin-bottom: 0.4rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .updated { color: var(--slate); font-size: var(--step--1); }
.prose .callout { background: var(--paper); border-left: 3px solid var(--brass); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.prose .callout p:last-child { margin-bottom: 0; }

/* Privacy label */
.label-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--ink); margin: 1rem 0 2rem; font-size: 0.98rem; }
.label-table caption { text-align: left; font-family: var(--serif); font-size: var(--step-2); padding-bottom: 0.6rem; }
.label-table th, .label-table td { text-align: left; vertical-align: top; padding: 0.75rem 1rem; border-top: 1px solid var(--line); }
.label-table th { width: 38%; font-weight: 600; }
.label-table tr:first-child th, .label-table tr:first-child td { border-top: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-grid figure { margin: 0; position: sticky; top: 7rem; }
.about-grid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 2px; }
.about-grid figcaption { font-size: var(--step--1); color: var(--slate); margin-top: 0.6rem; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-grid figure { position: static; max-width: 22rem; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; line-height: 1; color: var(--brass-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.75rem 0 0; color: var(--slate); }

/* ---------- Plan a trip: the boarding pass ---------- */
.pass {
  display: grid; grid-template-columns: minmax(0, 1fr) 19rem;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(15,42,61,0.45);
  position: relative;
}
.pass-main { padding: clamp(1.5rem, 4vw, 3rem); min-width: 0; }
.pass-stub {
  padding: clamp(1.5rem, 3vw, 2.25rem); border-left: 2px dashed var(--line-strong);
  background: linear-gradient(180deg, rgba(184,137,59,0.08), rgba(184,137,59,0));
  border-radius: 0 14px 14px 0; position: relative;
}
.pass-stub::before, .pass-stub::after {
  content: ""; position: absolute; left: -0.85rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--mist); border: 1px solid var(--line-strong);
}
.pass-stub::before { top: -0.85rem; clip-path: inset(50% 0 0 0); }
.pass-stub::after { bottom: -0.85rem; clip-path: inset(0 0 50% 0); }
.stub-inner { position: sticky; top: 7rem; }
.stub-title { font-family: var(--serif); font-style: italic; font-size: var(--step-2); margin: 0 0 1.25rem; }
.stub dl { margin: 0; display: grid; gap: 1rem; }
.stub dt { font-size: 0.8rem; color: var(--slate); letter-spacing: 0.04em; }
.stub dd { margin: 0.1rem 0 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
.stub dd.empty { color: #6b7d88; font-family: var(--sans); font-size: 0.95rem; }
.stub .stub-foot { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--slate); }

.steps-indicator { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 2rem; counter-reset: s; flex-wrap: wrap; }
.steps-indicator li { counter-increment: s; font-size: 0.9rem; font-weight: 500; color: var(--slate); display: flex; align-items: center; gap: 0.5rem; }
.steps-indicator li::before { content: counter(s); width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 0.85rem; }
.steps-indicator li + li::after { content: none; }
.steps-indicator li:not(:last-child) { padding-right: 0.75rem; border-right: 1px solid var(--line); }
.steps-indicator li[aria-current="step"] { color: var(--ink); }
.steps-indicator li[aria-current="step"]::before { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps-indicator li.done::before { background: var(--brass); border-color: var(--brass); color: var(--ink); }

.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step + .form-step { margin-top: 3rem; }
.js .form-step[hidden] { display: none; }
.form-step > legend { font-family: var(--serif); font-size: var(--step-3); padding: 0; margin-bottom: 0.4rem; line-height: 1.1; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 0.6rem; }
.step-intro { color: var(--slate); margin-bottom: 1.75rem; }

.field { margin-bottom: 1.4rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.field-row.thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .field-row, .field-row.thirds { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 1rem; }
.hint { display: block; font-size: 0.9rem; color: var(--slate); margin: -0.2rem 0 0.5rem; }
.optional { font-weight: 400; color: var(--slate); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="month"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #7d8f99; border-radius: 6px; padding: 0.7rem 0.85rem; min-height: 48px;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--funnel); outline-offset: 1px; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--funnel) !important; border-width: 2px !important; }
.error { color: var(--funnel); font-size: 0.92rem; font-weight: 500; margin-top: 0.35rem; }
.error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1.1rem;
  border: 1px solid #7d8f99; border-radius: 999px; background: #fff; cursor: pointer;
  font-size: 0.98rem; font-weight: 500; user-select: none;
}
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { content: "\2713"; margin-right: 0.45rem; }
.chip input:focus-visible + span { outline: 3px solid var(--funnel); outline-offset: 2px; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; font-weight: 400; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; flex: none; accent-color: var(--ink); }
.check a { font-weight: 500; }

.form-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 500; }
.form-status.is-error { color: var(--funnel); }
.turnstile-slot { margin: 1.25rem 0 0.5rem; min-height: 65px; }

.confirmation { text-align: left; padding: clamp(1rem, 3vw, 2rem) 0; }
.confirmation h2 { font-size: var(--step-3); }
.confirmation:focus { outline: none; }

@media (max-width: 900px) {
  .pass { grid-template-columns: 1fr; }
  .pass-stub { border-left: 0; border-top: 2px dashed var(--line-strong); border-radius: 0 0 14px 14px; order: -1; border-top: 0; border-bottom: 2px dashed var(--line-strong); border-radius: 14px 14px 0 0; }
  .pass-stub::before, .pass-stub::after { display: none; }
  .stub-inner { position: static; }
  .stub dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; }
  .stub-title { margin-bottom: 0.75rem; font-size: var(--step-1); }
  .stub .stub-foot { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d6e0dc; padding-block: clamp(3.5rem, 8vw, 5.5rem) 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 2.5rem; }
.site-footer .wordmark { color: var(--paper); }
.site-footer .wordmark .wm-by { color: #c3d0cc; }
.footer-col h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; color: var(--brass-light); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,250,246,0.18); display: grid; gap: 0.6rem; font-size: 0.85rem; color: #b9c8c3; }
.footer-legal p { max-width: 90ch; margin: 0; }
.footer-legal nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities (no inline styles: the CSP blocks them) */
.footer-blurb { margin-top: 1rem; max-width: 32ch; }
.after-list { margin-top: 2.5rem; }
.flush { margin-top: 0 !important; }
.flush-top { padding-top: 0; }
.gap-top { margin-top: 1rem; }
.narrow { max-width: 52rem; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.lost-title { font-size: clamp(2rem, 4vw, 3rem); }

/* 404 */
.lost { min-height: 70vh; display: grid; align-items: center; }
.lost .code { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 16vw, 11rem); line-height: 1; color: var(--brass-text); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer nav, .seal, .subnav, .btn { display: none !important; }
  body { background: #fff; }
}

.callout { background: var(--mist); border-left: 3px solid var(--brass); padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
code { font-size: 0.9em; background: rgba(15,42,61,0.06); padding: 0.05em 0.3em; border-radius: 3px; }

@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(15,42,61,0.2) 0%, rgba(15,42,61,0.6) 38%, rgba(15,42,61,0.9) 100%); }
}

/* Analytics consent card */
.consent {
  position: fixed; z-index: 60; left: 1rem; bottom: 1rem; max-width: 24rem;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 1.1rem 1.25rem 1.2rem; box-shadow: 0 18px 40px -20px rgba(15,42,61,0.5); font-size: 0.95rem; line-height: 1.5;
}
.consent p { margin: 0 0 0.6rem; }
.consent-title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.consent-actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.consent-actions .btn { flex: 1; }
@media (max-width: 520px) { .consent { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; max-width: none; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.site-footer .link-btn { color: var(--paper); }
