/* Sea & Sky Luxury Transfers. Design system, v2.
   Concept: a printed itinerary. Narrow measure, consistent left edge,
   photography breaking full bleed, one gold hairline as the repeated ornament.
   Tokens first, components second. Every page is built from this file. */

/* ---------------------------------------------------------------- tokens */

:root {
  /* colour */
  --paper: #F6F4F1;        /* page ground */
  --paper-raise: #FFFFFF;  /* plaques and raised surfaces */
  --mist: #DCE3E7;         /* pale sea-blue alternating band */
  --ink: #0C2440;          /* brand navy: headings, body, footer ground */
  --ink-soft: #4A5B6E;     /* secondary text, 6.4:1 on paper */
  --gold: #C09428;         /* brand gold: rules, borders, the crest only */
  --gold-text: #8A6A18;    /* gold as text, 5.2:1 on paper */
  --gold-text-deep: #6E5413; /* gold as text on the mist band, 5.4:1 */
  --hairline: rgba(12, 36, 64, 0.16);
  --paper-soft: rgba(246, 244, 241, 0.72); /* secondary text on ink */

  /* type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --size-h1: clamp(2.25rem, 1.35rem + 3.4vw, 3.5rem);      /* up to 56px */
  --size-h2: clamp(1.7rem, 1.25rem + 1.7vw, 2.375rem);     /* up to 38px */
  --size-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --size-body: 1.0625rem;                                   /* 17px */
  --size-small: 0.9375rem;
  --size-micro: 0.8125rem;

  /* layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 64ch;         /* 62 to 68 characters */
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 5.25rem;

  /* shape and shadow, tinted toward the ink hue, never neutral black */
  --shadow-soft: 0 1px 2px rgba(12, 36, 64, 0.06), 0 10px 30px rgba(12, 36, 64, 0.08);
  --radius: 2px;

  color-scheme: light;
}

/* ----------------------------------------------------------------- reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); font-weight: 400; }

p { max-width: var(--measure); }

a { color: inherit; }

ul[class], ol[class] { list-style: none; padding: 0; }

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}

.on-ink :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--paper);
}

/* ------------------------------------------------------------ utilities */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--measure); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--size-small);
  text-decoration: none;
  transform: translateY(-300%);
}

.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Figures are records, not marketing. Every number sits in mono. */
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.92em;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

/* Eyebrow labels are rationed. Use only where the label carries information
   the heading does not: a name, a place, a document reference. */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.1rem;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.small { font-size: var(--size-small); }
.soft { color: var(--ink-soft); }

/* The one repeated ornament: a gold hairline. */
.rule-gold {
  border: 0;
  height: 1px;
  background: var(--gold);
  margin: 0;
}

.rule-gold--short { width: 4.5rem; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.9rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, opacity 140ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary .mono { font-size: 0.95em; }

/* Buttons standing on the navy ground */
.on-ink .btn-primary,
.site-footer .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.on-ink .btn-secondary,
.site-footer .btn-secondary {
  color: var(--paper);
  border-color: var(--paper-soft);
}

/* ---------------------------------------------------------------- header */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.site-header .container {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  padding-block: 0.65rem;
}

/* The crest is a white oval on transparency: give it air, never crop it. */
.brand img {
  width: auto;
  height: 3.4rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}

/* Phone and quote action live in the bar itself at every width. */
.site-header .header-phone { flex: none; }
.site-header .header-cta { flex: none; }

.site-nav a {
  text-decoration: none;
  font-size: var(--size-small);
  font-weight: 500;
  color: var(--ink);
  padding: 0.9rem 0.15rem;
}

.site-nav a:hover { color: var(--gold-text); }

/* The nav's link colour must not out-specify the button colours. */
.site-nav .btn-primary,
.site-nav .btn-primary:hover { color: var(--paper); }

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 0.25rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--size-small);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.header-phone:hover { color: var(--gold-text); }

.header-cta { min-height: 46px; padding: 0.55rem 1.3rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-small);
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.85rem 0.15rem;
    border-bottom: 1px solid var(--hairline);
    font-size: 1rem;
  }

  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

  .site-header { position: relative; }
  .header-phone { margin-left: auto; }
  .header-cta { display: none; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
}

/* ------------------------------------------------------------- hero split */

/* Hard split: paper carrying type on the left, photograph bleeding off the
   right edge, divided by a single gold hairline. Never a centred stack. */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: calc(100dvh - var(--header-h));
  background: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}

.hero-copy h1 { max-width: 15ch; }

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.25rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.hero-facts li {
  font-family: var(--font-mono);
  font-size: var(--size-small);
  color: var(--ink);
}

.hero-facts .fact-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--size-micro);
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.hero-media {
  position: relative;
  border-left: 1px solid var(--gold);
  min-height: 100%;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy { padding-left: var(--gutter); padding-right: var(--gutter); }

  .hero-media {
    border-left: 0;
    border-top: 1px solid var(--gold);
    min-height: 0;
  }

  .hero-media img {
    position: static;
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

/* Gold text needs the deeper weight on the mist ground to clear 4.5:1. */
.section--mist .eyebrow,
.section--mist .timeline time,
.section--mist .timeline .timeline-mark {
  color: var(--gold-text-deep);
}

/* -------------------------------------------------------------- sections */

.section { padding-block: var(--section-y); }

.section--mist { background: var(--mist); }

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .soft,
.section--ink .lede { color: var(--paper-soft); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.section-head h2 { max-width: 24ch; }

.section-head .lede { margin-top: 1.1rem; }

/* --------------------------------------------------- the operator module */

/* No photograph of Simon exists yet, so the block is built to work on type
   alone: an asymmetric two column grid, the thesis on the left, his
   credentials held in a ruled ledger on the right. Nothing looks absent. */

.operator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.operator-thesis h2 { max-width: 18ch; }

.operator-thesis p { margin-top: 1.4rem; }

.operator-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
}

.operator-link:hover { color: var(--gold-text); }

.credentials {
  border-top: 1px solid var(--gold);
  background: var(--paper-raise);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.credentials-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.credentials-role {
  font-size: var(--size-small);
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

.credentials ul {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
}

.credentials li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--hairline);
  font-size: var(--size-small);
  line-height: 1.5;
}

.credentials li .mono { color: var(--ink-soft); }

@media (max-width: 820px) {
  .operator { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- route price table */

/* The signature. Published routes set in mono, priced in writing before
   travel. Ships with "On request" until the client supplies real fares. */

.routes-table-wrap { overflow-x: auto; }

.routes-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--size-small);
  font-variant-numeric: tabular-nums;
}

.routes-table caption {
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--size-small);
  color: var(--ink-soft);
  padding-bottom: 1rem;
  max-width: var(--measure);
}

.routes-table th {
  font-weight: 500;
  font-size: var(--size-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: 0 1rem 0.7rem 0;
  border-bottom: 1px solid var(--gold);
}

.routes-table td {
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.routes-table th:last-child,
.routes-table td:last-child {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

.routes-note {
  margin-top: 1.25rem;
  font-size: var(--size-small);
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- timeline */

/* A real sequence, so the indices are times and they are legitimate. */

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.journey-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  align-self: stretch;
  min-height: 100%;
}

.journey-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey-media img { min-height: 220px; }
}

.timeline {
  border-left: 1px solid var(--gold);
  padding-left: clamp(1.5rem, 4vw, 2.75rem);
}

.timeline li {
  position: relative;
  padding-block: 1.1rem;
}

.timeline li + li { border-top: 1px solid var(--hairline); }

.timeline time,
.timeline .timeline-mark {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--size-small);
  font-weight: 500;
  color: var(--gold-text);
  margin-bottom: 0.3rem;
}

.timeline p { max-width: 56ch; }

/* -------------------------------------------------------------- zig-zag */

/* Services alternate text and image, two columns. Never a row of cards. */

.zigzag {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
}

.zigzag-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.zigzag-item:nth-child(even) .zigzag-media { order: -1; }

.zigzag-copy h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem);
  font-weight: 400;
}

.zigzag-copy p { margin-top: 0.9rem; }

.zigzag-places {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 52ch;
}

.zigzag-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .zigzag-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .zigzag-item:nth-child(even) .zigzag-media { order: 0; }
}

/* ------------------------------------------------------------- logo wall */

/* The marks are a mix of dark and white artwork on transparency, so every
   one sits on a plaque. White artwork takes the navy plaque. */

.logo-group + .logo-group { margin-top: 2.5rem; }

.logo-group h3 {
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.plaque {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1.1rem 1.25rem;
  background: var(--paper-raise);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.plaque img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

/* Marks with a background baked into the artwork are letterboxed rather than
   floated small, so they read as a plate and not as a rendering artefact. */
.plaque--plate { padding: 0; overflow: hidden; background: var(--ink); border-color: var(--ink); }
.plaque--plate img { max-height: none; height: 100%; min-height: 88px; object-fit: contain; }

.plaque--navy {
  background: var(--ink);
  border-color: var(--ink);
}

.logo-disclaimer {
  margin-top: 2rem;
  font-size: var(--size-micro);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* ------------------------------------------------------------ CTA band */

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2rem 3rem;
  align-items: center;
}

.cta-band h2 { max-width: 20ch; }
.cta-band .container { padding-block: clamp(3rem, 6vw, 4.5rem); }

.cta-band p { margin-top: 1rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 820px) {
  .cta-band .container { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--size-small);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246, 244, 241, 0.18);
}

.footer-brand img { height: 4rem; width: auto; }

.footer-brand p {
  margin-top: 1.1rem;
  color: var(--paper-soft);
  max-width: 38ch;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-soft);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }

.footer-col li { padding-block: 0.3rem; }

.footer-col a {
  color: var(--paper);
  text-decoration: none;
  display: inline-block;
  padding-block: 0.25rem;
}

.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-col address { font-style: normal; color: var(--paper-soft); line-height: 1.7; }

.footer-legal {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  color: var(--paper-soft);
  font-size: var(--size-micro);
}

.footer-legal .mono { color: var(--paper); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ------------------------------------------- shared page-level components */

/* Interior page opener: same left edge as everything else. */
.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--hairline);
}

.page-head h1 { max-width: 20ch; }

.page-head .lede { margin-top: 1.25rem; }

/* Prose blocks for terms, privacy and long-form pages. */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose ul, .prose ol { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--gold-text); text-underline-offset: 3px; }

/* FAQ: native disclosure, no JS required. */
.faq-list { max-width: 46rem; }

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  min-height: 52px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--gold-text);
  flex: none;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item .faq-answer { padding: 0 0 1.4rem; }
.faq-item .faq-answer p { color: var(--ink-soft); }

/* Certificate wall for the credentials page. */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cert-grid figure {
  background: var(--paper-raise);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1rem;
}

.cert-grid img { width: 100%; height: auto; }

.cert-grid figcaption {
  margin-top: 0.9rem;
  font-size: var(--size-small);
  line-height: 1.45;
}

.cert-grid figcaption .soft {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--size-micro);
}

/* Vehicle blocks for the fleet page: zig-zag, spec list in mono. */
.vehicle-spec {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
}

.vehicle-spec dt {
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}

.vehicle-spec dd { margin-top: 0.25rem; }

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 0.25rem;
}

.feature-list li {
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
  font-size: var(--size-small);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 1px solid var(--gold);
  background: var(--paper-raise);
  font-size: var(--size-small);
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* Forms: quote funnel and contact. Labels above, help below, errors plain. */
.field { margin-top: 1.5rem; max-width: 30rem; }

.field label {
  display: block;
  font-weight: 500;
  font-size: var(--size-small);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ink-soft);
  border-radius: var(--radius);
  background: var(--paper-raise);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
}

.field .help {
  margin-top: 0.45rem;
  font-size: var(--size-micro);
  color: var(--ink-soft);
}

.field .error {
  margin-top: 0.45rem;
  font-size: var(--size-small);
  color: #8C2F1B;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #8C2F1B; }

/* Option tiles for the funnel steps. */
.opt {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 52px;
  margin-top: 0.75rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper-raise);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: transform 140ms ease;
}

.opt:hover { transform: translateY(-1px); border-color: var(--ink-soft); }
.opt:active { transform: translateY(1px); }

.opt[aria-pressed="true"],
.opt.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* Funnel progress: people complete what they can see the end of. */
.progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  color: var(--ink-soft);
}

.progress-track {
  flex: 1;
  height: 1px;
  background: var(--hairline);
  position: relative;
}

.progress-track b {
  position: absolute;
  inset-block: 0;
  left: 0;
  background: var(--gold);
  transform-origin: left center;
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------- interior page additions
   Added with the interior pages. Only what the existing components cannot
   already do: photo credits (a licence condition on the vehicle imagery),
   destination item lists, the A4 certificate scans, the verification ledger
   on the credentials page, and the quote funnel's step chrome. */

/* Licensed-photo credit. Must render: attribution is a condition of the
   CC BY / CC BY-SA licences on the vehicle photography. */
.photo-credit {
  margin-top: 0.6rem;
  font-size: var(--size-micro);
  line-height: 1.5;
  color: var(--ink-soft);
}

.photo-credit a { color: inherit; text-underline-offset: 3px; }

/* Destination lists on the destinations page: records, so mono. */
.dest-list {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 52ch;
  columns: 2;
  column-gap: 2rem;
}

.dest-list li { break-inside: avoid; }

@media (max-width: 480px) {
  .dest-list { columns: 1; }
}

/* Certificate scans are A4 portrait documents shown on white. */
.cert-scan {
  aspect-ratio: 210 / 297;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-raise);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

/* The artwork keeps its own proportions inside the A4 box. One certificate
   (New Zealand) is landscape, so forcing portrait on the image distorted it. */
.cert-scan img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Verification ledger: the three checkable numbers, set as a record. */
.verify-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--gold);
  max-width: 40rem;
}

.verify-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 2rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
}

.verify-list dt { font-size: var(--size-small); }

.verify-list dt .soft { display: block; font-size: var(--size-micro); }

.verify-list dd {
  font-family: var(--font-mono);
  font-size: var(--size-small);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --------------------------------------------------------- quote funnel */

.funnel {
  max-width: 40rem;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.funnel .progress { margin-bottom: 2.25rem; }

.funnel [data-step][hidden] { display: none; }

/* The hidden attribute must beat .progress { display: flex }. */
.funnel .progress[hidden] { display: none; }

.funnel h1, .funnel .step-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--size-h2);
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.funnel .step-title { max-width: 22ch; }

.funnel .step-title:focus { outline: none; }

/* The consultation line under each question. */
.why {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--gold);
  font-size: var(--size-small);
  color: var(--ink-soft);
  max-width: 52ch;
}

.opt-list { margin-top: 1.25rem; }

.opt .opt-key {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  min-width: 1.6rem;
  text-align: center;
  padding: 0.1rem 0.25rem;
}

.opt-group-label {
  display: block;
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn-back {
  background: transparent;
  border-color: var(--hairline);
  color: var(--ink-soft);
}

/* The human escape hatch, present under every step. */
.escape-hatch {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-size: var(--size-small);
  color: var(--ink-soft);
}

.escape-hatch a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
}

/* The captured journey, read back as a record. */
.summary {
  margin-top: 1.5rem;
  border-top: 1px solid var(--gold);
}

.summary > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, auto) minmax(0, 1fr);
  gap: 0.4rem 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
}

.summary dt {
  font-family: var(--font-mono);
  font-size: var(--size-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}

.summary dd { font-size: var(--size-small); }

/* Price band. Structurally complete, unlocked only when real fares exist. */
.price-band {
  margin-top: 1.75rem;
  padding: 1.5rem 1.75rem;
  background: var(--paper-raise);
  border-top: 1px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.price-band .price-band-figure {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.price-band p { margin-top: 0.4rem; font-size: var(--size-small); color: var(--ink-soft); }

.assumptions { margin-top: 1.75rem; }

.assumptions summary {
  cursor: pointer;
  font-weight: 500;
  font-size: var(--size-small);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.assumptions ul {
  list-style: none;
  padding: 0 0 0.5rem;
}

.assumptions li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  font-size: var(--size-small);
  color: var(--ink-soft);
  max-width: 52ch;
}

.assumptions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}

/* Honeypot: hidden from sighted users, present in the document. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.funnel [data-error] {
  margin-top: 1rem;
  font-size: var(--size-small);
  color: #8C2F1B;
}

.form-error {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid #8C2F1B;
  background: var(--paper-raise);
  color: #8C2F1B;
  font-size: var(--size-small);
  max-width: var(--measure);
}

.confirmation h1 { max-width: 18ch; }
.confirmation p { margin-top: 1.25rem; }


/* ---------------------------------------------- closing band, sea horizon */

/* Abstract seascape behind the closing band. The navy wash is heavy enough
   that the cream type keeps its contrast; measured, not eyeballed. */
.cta-band--image {
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(rgba(12, 36, 64, 0.88), rgba(12, 36, 64, 0.94)),
    image-set(
      url("/assets/img/gen-horizon-1920.jpg") 1x,
      url("/assets/img/gen-horizon-2880.jpg") 2x
    );
  background-size: cover;
  background-position: center 62%;
}

@media (max-width: 760px) {
  .cta-band--image {
    background-image:
      linear-gradient(rgba(12, 36, 64, 0.9), rgba(12, 36, 64, 0.95)),
      url("/assets/img/gen-horizon-760.jpg");
  }
}
