/* Halvard Air (sample). Flight Deck Ascent: night ground, sky accent, instrument amber for the altimeter.
   Type: Instrument Serif (display) + Manrope (text, numbers tabular). */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --ground: #070B10; --panel: #0D141C; --panel-2: #111A24;
  --ink: #EEF2F6; --mute: #A3B1BE; --dim: #6F7E8C; --line: rgba(238, 242, 246, .13); --line-2: rgba(238, 242, 246, .24);
  --sky: #A8D2F2; --sky-ink: #06121D; --amber: #F2B84B;
  --serif: "Instrument Serif", "Times New Roman", serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gut: 20px; --rail: 0px; --hdr: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 768px) { :root { --gut: clamp(32px, 4.4vw, 72px); --hdr: 72px; } }
.desk { --rail: 112px; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; font-variant-numeric: tabular-nums; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
input:focus-visible { outline: none; }
a, button, input, label { -webkit-tap-highlight-color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--sky); color: var(--sky-ink); border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { padding-left: var(--gut); padding-right: calc(var(--gut) + var(--rail)); max-width: 1600px; margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 600 16px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-sky { background: var(--sky); color: var(--sky-ink); }
.btn-sky:hover { background: #C6E2F8; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(7, 11, 16, .35); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-line { min-height: 44px; padding: 0 16px; border-color: var(--line-2); font-size: 14px; border-radius: 8px; }
.btn-line:hover { border-color: var(--sky); color: var(--sky); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--hdr); display: flex; align-items: center; gap: 20px; padding: 0 var(--gut); background-image: linear-gradient(180deg, rgba(7, 11, 16, .78) 0, rgba(7, 11, 16, .5) 62%, rgba(7, 11, 16, 0) 100%); }
/* the header stays clear over the film; --hs (0 to 1, set by app.js) firms it up only as the film leaves the screen (2026-10-28, Adam: "it turns black so quick") */
.hdr::before { content: ""; position: absolute; inset: 0 0 -18px 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(7, 11, 16, .96) 0, rgba(7, 11, 16, .9) 76%, rgba(7, 11, 16, 0) 100%); opacity: var(--hs, 0); }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; min-height: 44px; flex: none; }
.brand-n { font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
.brand-a { font: 700 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sky); }
.tag { font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line-2); border-radius: 4px; padding: 6px 8px; white-space: nowrap; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { font: 600 14px/1 var(--sans); text-decoration: none; padding: 12px 12px; color: var(--ink); transition: color .2s; }
.nav a:hover { color: var(--sky); }
.hdr-tel { display: none; text-decoration: none; text-align: right; line-height: 1.1; }
.hdr-tel-l { display: block; font: 600 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.hdr-tel-n { display: block; font: 400 18px/1.15 var(--serif); }
.hdr-cta { display: none; }
.hdr-call { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--sky-ink); }
.hdr-call svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .hdr-tel { display: block; }
  .hdr-cta { display: inline-flex; }
  .hdr-call { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .hdr-tel-l { display: none; } .nav a { padding: 12px 8px; } }

/* ---------- ACT 1: the climb ---------- */
.ascent { position: relative; background: var(--ground); }
.stage { position: relative; }
.film { position: relative; overflow: hidden; background: #8FB7DA; }
.film-poster, .film-cv, .film-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-cv { opacity: 0; transition: opacity .3s; }
.film-cv.on { opacity: 1; }
.film-loop { opacity: 0; transition: opacity .4s; }
.film-loop.on { opacity: 1; }
.film-shade { position: absolute; inset: 0; pointer-events: none; }
.kick { font: 700 12px/1.35 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.h1 { font: 400 clamp(48px, 5.6vw, 92px)/.95 var(--serif); letter-spacing: -.02em; padding: .08em 0 .06em; }
.h1 em { font-style: normal; color: var(--sky); }
.h1 .mark { display: block; }
.h1 .kick { display: block; }
.offer { font: 500 18px/1.4 var(--sans); max-width: 30ch; margin-top: 10px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tel { display: inline-flex; align-items: center; min-height: 44px; font: 400 30px/1 var(--serif); text-decoration: none; }
.hero-tel:hover { color: var(--sky); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font: 600 14px/1.35 var(--sans); color: var(--mute); }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: 2px; }
.route { display: flex; flex-wrap: wrap; }
.route .rt-f { flex: 1 1 0; min-width: 0; }
.route .rt-pax { flex: 0 0 132px; }
.route .rt-arrow { flex: 0 0 28px; }
.route .rt-go { flex: 0 0 auto; }
.rt-f { display: grid; gap: 4px; }
.rt-f span { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.rt-f input { width: 100%; min-height: 46px; padding: 0 14px; background: rgba(238, 242, 246, .06); border: 1px solid var(--line-2); border-radius: 10px; font: 600 16px/1 var(--sans); letter-spacing: .02em; }
.rt-f input::placeholder { color: var(--dim); font-weight: 500; }
.rt-f input:focus { border-color: var(--sky); }
.rt-arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rt-hint { font-size: 14px; color: var(--mute); }
.film-pause { position: absolute; z-index: 4; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 11, 16, .55); border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; }
.film-pause svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-pause .i-play { display: none; fill: currentColor; stroke: none; }
.film-pause[aria-pressed="true"] .i-pause { display: none; }
.film-pause[aria-pressed="true"] .i-play { display: block; }
.beats { display: none; }

/* desktop: the pinned scrub. 157 frames at about 8 per 100px of scroll */
/* scrub distance 160vh (was 1960px, about 218 to 255vh); same frames and easing (2026-10-28, Adam: "easier and faster to scroll through the plane") */
.desk .ascent { height: calc(var(--app-h, 100svh) * 2.6); }
.desk .stage { position: sticky; top: 0; height: var(--app-h, 100svh); overflow: hidden; }
.desk .film { position: absolute; inset: 0; }
.desk .film-shade { background:
  linear-gradient(90deg, rgba(7, 11, 16, .82) 0, rgba(7, 11, 16, .55) 30%, rgba(7, 11, 16, 0) 56%),
  linear-gradient(180deg, rgba(7, 11, 16, .55) 0, rgba(7, 11, 16, 0) 18%, rgba(7, 11, 16, 0) 62%, rgba(7, 11, 16, .78) 100%); }
.desk .hero { position: absolute; left: var(--gut); top: calc(var(--hdr) + 6vh); width: min(720px, 52vw); }
.desk .hero-desk { margin-top: 30px; }
.desk .route { position: absolute; left: var(--gut); right: calc(var(--gut) + var(--rail)); bottom: 40px; flex-wrap: nowrap; align-items: flex-end; gap: 12px; padding: 16px 18px 18px; background: rgba(7, 11, 16, .72); border: 1px solid var(--line); border-radius: 20px; max-width: 980px; }
.desk .rt-arrow { padding-bottom: 13px; }
.desk .rt-go { min-height: 46px; }
.desk .rt-hint { position: absolute; left: 18px; top: calc(100% + 8px); }
.desk .beats { display: grid; position: absolute; left: var(--gut); top: calc(var(--hdr) + 14vh); width: min(400px, 34vw); }
.desk .beats li { grid-area: 1 / 1; }
.desk .beats li { padding: 18px 0 0; border-top: 1px solid var(--amber); opacity: 0; transform: translateY(14px); transition: opacity .2s linear, transform .3s var(--ease); }
.desk .beats li.on { opacity: 1; transform: none; transition: opacity .4s var(--ease) .22s, transform .5s var(--ease) .22s; }
/* the last caption leaves as soon as the film unpins, so it never slides under the header */
.desk .ascent.leaving .beats li { opacity: 0; transition: opacity .12s linear; }
.desk .beats b { display: block; font: 400 clamp(36px, 3.4vw, 54px)/1.02 var(--serif); }
.desk .beats span { display: block; font-size: 16px; color: var(--mute); margin-top: 10px; }
.desk .hero, .desk .route { transition: opacity .3s linear; }
.desk .ascent .hero { opacity: calc(1 - max(0, (var(--p, 0) - .1) * 3.7)); }
.desk .ascent.hero-off .hero { visibility: hidden; }
.desk .film-pause { display: none; }
@media (min-width: 1024px) and (max-height: 760px) { .desk .h1 { font-size: clamp(44px, 5vw, 76px); } .desk .ct-tel { font-size: clamp(56px, 7vw, 104px); } .desk .hero { top: calc(var(--hdr) + 3vh); } .desk .hero-desk { margin-top: 18px; } .desk .beats { top: calc(var(--hdr) + 12vh); } }

/* phones and tablets: no pin, no scrub. The film is a loop with the headline over it */
html:not(.desk) .stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "m" "a" "d" "r"; padding-top: var(--hdr); }
html:not(.desk) .stage { grid-template-areas: "m" "t" "a" "d" "r"; }
html:not(.desk) .film { grid-area: m; aspect-ratio: 1104 / 1080; width: 100%; }
html:not(.desk) .film-shade { background: linear-gradient(180deg, rgba(7, 11, 16, 0) 0, rgba(7, 11, 16, 0) 82%, var(--ground) 100%); }
html:not(.desk) .film-poster, html:not(.desk) .film-loop { object-position: 50% 50%; }
html:not(.desk) .hero { display: contents; }
html:not(.desk) .hero-top { grid-area: t; position: relative; z-index: 2; padding: 6px var(--gut) 16px; }
html:not(.desk) .h1 { font-size: clamp(44px, 11.6vw, 72px); }
html:not(.desk) .ct-tel { font-size: clamp(56px, 16vw, 96px); }
html:not(.desk) .kick { margin-bottom: 12px; }
html:not(.desk) .hdr { background: rgba(7, 11, 16, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
html:not(.desk) .offer { font-size: 16px; margin-top: 4px; }
html:not(.desk) .hero-act { grid-area: a; padding: 4px var(--gut) 0; }
html:not(.desk) .hero-btns { margin-top: 0; }
html:not(.desk) .hero-btns .btn { flex: 1 1 0; }
html:not(.desk) .hero-desk { grid-area: d; padding: 18px var(--gut) 0; }
html:not(.desk) .route { grid-area: r; margin: 22px var(--gut) 8px; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
html:not(.desk) .rt-arrow { display: none; }
html:not(.desk) .route .rt-f, html:not(.desk) .route .rt-go { flex: 1 1 calc(50% - 6px); }
html:not(.desk) .rt-go { align-self: flex-end; min-height: 46px; }
html:not(.desk) .rt-hint { display: none; }
html:not(.desk) .film-pause { top: calc(var(--hdr) + 12px); right: var(--gut); }
@media (min-width: 600px) and (max-width: 1023px) {
  html:not(.desk) .film { aspect-ratio: 16 / 10; }
  html:not(.desk) .film-poster, html:not(.desk) .film-loop { object-position: 50% 30%; }
  html:not(.desk) .route { flex-wrap: nowrap; align-items: flex-end; }
  html:not(.desk) .route .rt-f { flex: 1 1 0; } html:not(.desk) .route .rt-pax { flex: 0 0 130px; } html:not(.desk) .route .rt-go { flex: 0 0 auto; }
}
.still .film-loop, .still .film-cv, .still .film-pause { display: none; }

/* ---------- altimeter rail (desktop only) ---------- */
.alt { display: none; }
.desk .alt { display: flex; flex-direction: column; position: fixed; z-index: 20; right: 0; top: var(--hdr); bottom: 0; width: var(--rail); padding: 22px 16px 26px 18px; border-left: 1px solid var(--line); background: rgba(7, 11, 16, .86); transition: opacity .4s var(--ease), transform .5s var(--ease); }
html.desk:not(.alt-on) .alt { opacity: 0; transform: translateX(100%); pointer-events: none; }
.alt-read { display: flex; align-items: baseline; gap: 4px; font: 600 11px/1 var(--sans); color: var(--mute); letter-spacing: .1em; text-transform: uppercase; }
.alt-read b { font: 700 18px/1 var(--sans); color: var(--amber); letter-spacing: 0; font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.alt-rail { position: absolute; left: 18px; top: 64px; bottom: 26px; width: 1px; background: var(--line-2); }
.alt-fill { position: absolute; inset: 0; background: var(--amber); transform-origin: 50% 0; transform: scaleY(0); }
.alt-stops { position: relative; flex: 1; display: flex; flex-direction: column-reverse; justify-content: space-between; margin-top: 22px; }
.alt-stops a { display: grid; gap: 2px; padding: 8px 0 8px 16px; text-decoration: none; color: var(--mute); position: relative; transition: color .2s; }
.alt-stops a::before { content: ""; position: absolute; left: -4px; top: 50%; width: 9px; height: 1px; background: var(--line-2); transition: background-color .2s, width .2s; }
.alt-stops span { font: 600 14px/1.15 var(--sans); }
.alt-stops i { font: 600 11px/1 var(--sans); font-style: normal; letter-spacing: .08em; }
.alt-stops a:hover, .alt-stops a.on { color: var(--ink); }
.alt-stops a.on::before { background: var(--amber); width: 14px; }
.alt-stops a.on i { color: var(--amber); }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(64px, 7.6vw, 116px) 0; border-top: 1px solid var(--line); }
.sh { max-width: 760px; margin-bottom: clamp(28px, 3.2vw, 46px); }
.sh-n { font: 700 11px/1 var(--sans); letter-spacing: .16em; color: var(--amber); margin-bottom: 18px; }
.h2 { font: 400 clamp(42px, 5.4vw, 84px)/.98 var(--serif); letter-spacing: -.015em; padding-bottom: .05em; }
.deck { font-size: 18px; color: var(--mute); margin-top: 16px; max-width: 46ch; }
@media (max-width: 599px) { .deck { font-size: 16px; } }
.src { font-size: 14px; color: var(--mute); margin-top: 28px; max-width: 62ch; }

/* quote */
.q-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) { .q-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(32px, 4vw, 72px); } .q-grid .sh { grid-column: 1 / -1; } }
.qf { display: grid; gap: 16px; align-content: start; }
.seg { display: inline-flex; justify-self: start; padding: 4px; border: 1px solid var(--line-2); border-radius: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 13px 18px; border-radius: 6px; font: 600 14px/1 var(--sans); color: var(--mute); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--ground); }
.seg input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.qf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld[hidden] { display: none; }
.fld > span { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.fld input { width: 100%; min-height: 52px; padding: 0 16px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; font: 500 16px/1 var(--sans); color-scheme: dark; }
.fld input:focus { border-color: var(--sky); }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; min-height: 52px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); overflow: hidden; }
.step button { height: 52px; background: none; border: 0; font: 500 18px/1 var(--sans); cursor: pointer; color: var(--sky); }
.step button:hover { background: rgba(168, 210, 242, .08); }
.step output { text-align: center; font: 700 18px/1 var(--sans); }
.qf-err { color: #FFC2B2; font-weight: 600; font-size: 14px; }
.qf-go { justify-self: start; min-height: 54px; padding: 0 30px; font-size: 16px; margin-top: 4px; }
.qf-note { font-size: 14px; color: var(--mute); }
.trip { position: relative; align-self: start; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 20px; display: grid; gap: 18px; }
.trip-map { width: 100%; aspect-ratio: 2 / 1; height: auto; border-radius: 14px; background: #0A1119; }
.trip-grid line { stroke: rgba(168, 210, 242, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trip-map { position: relative; }
.trip-apts circle { fill: rgba(168, 210, 242, .45); }
.trip-apts text { fill: var(--dim); font-family: var(--sans); font-weight: 700; letter-spacing: .04em; }
.trip-map.ex .trip-apts circle { fill: rgba(168, 210, 242, .7); }
.trip-arc { fill: none; stroke: var(--amber); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.trip-a, .trip-b { fill: var(--sky); }
.trip-d { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; }
.trip-d div { border-top: 1px solid var(--line); padding-top: 10px; }
.trip-d dt { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.trip-d dd { font: 600 16px/1.3 var(--sans); }
.trip-class, .trip-d > div:first-child { grid-column: 1 / -1; }
.trip-class dd b { font: 400 30px/1.05 var(--serif); font-weight: 400; color: var(--sky); margin-right: 6px; }
.trip-class dd span { color: var(--mute); font-size: 14px; }
.trip-why { font-size: 14px; color: var(--mute); }
.done { border-top: 1px solid var(--line-2); padding-top: 16px; }
.done-h { font: 400 30px/1.1 var(--serif); color: var(--sky); margin-bottom: 6px; }
.done-s { font-size: 14px; color: var(--amber); margin-top: 8px; font-weight: 600; }

/* proof */
.stars { color: var(--amber); letter-spacing: .08em; }
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 14px; font-size: 16px; }
.rating b { font-weight: 700; }
.rating-s, .rev figcaption { font-size: 14px; color: var(--mute); }
.rev { margin: 12px 0 0; padding: 16px 0 0; border-top: 1px solid var(--amber); max-width: 560px; }
.rev blockquote { margin: 0 0 10px; font: 400 18px/1.45 var(--sans); }
.rev figcaption { display: flex; gap: 10px; align-items: baseline; }
.rev-wide { margin-top: 28px; }
.trip-pref { grid-column: 1 / -1; }
.trip-pref[hidden] { display: none; }
.dir { display: inline-block; margin-left: 8px; padding: 10px 0; color: var(--sky); text-underline-offset: 4px; }
.hours { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.hours-h { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.hours-l { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.hours-l li { display: grid; gap: 4px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.hours-l span { font-weight: 700; font-size: 14px; }
.hours-l b { font-weight: 500; font-size: 14px; color: var(--mute); }
.hours-l li.is-today { border-color: var(--amber); }
.hours-l li.is-today b { color: var(--amber); }
.hours-now { font-size: 16px; font-weight: 600; color: var(--amber); }
@media (max-width: 599px) { .hours-l { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hours-l li:nth-child(n+5) { grid-column: span 1; } }

/* fleet */
.fl { display: grid; border-bottom: 1px solid var(--line); }
.fl-r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 0; border-top: 1px solid var(--line); }
.fl-i { font: 700 11px/1 var(--sans); letter-spacing: .14em; color: var(--dim); margin-bottom: 8px; }
.fl-n h3 { font: 400 30px/1 var(--serif); }
.fl-t { color: var(--mute); margin-top: 6px; font-size: 14px; }
.fl-p { display: flex; align-items: center; min-height: 48px; }
.fl-p svg { height: auto; overflow: visible; }
.j-body { fill: #C9D6E2; }
.j-eng { fill: #8D9EAE; }
.j-wing { fill: #8D9EAE; }
.j-port { fill: var(--ground); }
.j-win { stroke: var(--ground); stroke-width: 1.4; stroke-linecap: round; }
.fl-d { display: flex; gap: 32px; }
.fl-d dt { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.fl-d dd { font: 500 14px/1 var(--sans); color: var(--mute); }
.fl-d .num { font: 400 30px/1 var(--serif); color: var(--ink); letter-spacing: -.01em; margin-right: 2px; }
.fl-bar i { display: block; height: 3px; background: linear-gradient(90deg, var(--sky), var(--amber)); width: calc(var(--w) * 100%); transform-origin: 0 50%; border-radius: 2px; }
.fl-bar p { font-size: 14px; color: var(--mute); margin-top: 10px; }
.fl-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.fl-rate { font-size: 16px; color: var(--mute); }
.fl-rate b { color: var(--ink); font-weight: 700; }
.fl-rate span { display: inline-block; margin-left: 6px; font-size: 14px; color: var(--amber); }
.fl-bar b { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) {
  .fl-r { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, .9fr); grid-template-areas: "n p d" "n b b" "n g g"; column-gap: clamp(24px, 3vw, 56px); row-gap: 18px; align-items: center; padding: 36px 0; }
  .fl-n { grid-area: n; align-self: start; } .fl-p { grid-area: p; } .fl-d { grid-area: d; justify-content: flex-end; } .fl-bar { grid-area: b; } .fl-go { grid-area: g; }
}

/* why */
.why-l { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.why-l li { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; }
.why-n { grid-row: span 2; font: 400 30px/1 var(--serif); color: var(--sky); }
.why-l h3 { font: 400 30px/1.08 var(--serif); }
.why-l p { color: var(--mute); margin-top: 8px; max-width: 36ch; }
@media (min-width: 900px) { .why-l { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); } .why-l li { grid-template-columns: minmax(0, 1fr); } .why-n { grid-row: auto; margin-bottom: 26px; } }

/* safety */
.s-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.s-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.s-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.s-list h3 { font: 700 18px/1.3 var(--sans); }
.s-list p { color: var(--mute); margin-top: 6px; max-width: 46ch; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-grid; gap: 4px; padding: 14px 18px; border: 1px dashed var(--line-2); border-radius: 12px; }
.badge b { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.badge span { font: 600 16px/1.2 var(--sans); }
@media (min-width: 900px) { .s-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); } }
@media (min-width: 1024px) { .s-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); column-gap: clamp(32px, 4vw, 72px); } .s-grid .sh { grid-column: 1 / -1; } .s-grid .s-list, .s-grid .badges { grid-column: 1 / -1; } }
/* desktop: a heading that fits the content width stays on one line (2026-10-28, Adam: "why are these on 2 lines?") */
@media (min-width: 1024px) { .sh { max-width: none; } .h2 { text-wrap: balance; } }

/* cards */
.c-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 768px) { .c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.card-hi { background: linear-gradient(160deg, #13212F 0, var(--panel) 70%); border-color: rgba(168, 210, 242, .3); }
.card-k { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.card-h { font: 400 30px/1 var(--serif); }
.card ul { display: grid; gap: 10px; margin-top: 4px; }
.card li { padding-left: 22px; position: relative; color: var(--mute); }
@media (max-width: 360px) { .card li, .s-list h3 { font-size: 14px; } .card { padding: 22px 18px; } }
.card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--amber); }
.card-p { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); font-weight: 600; }
.card .btn { align-self: flex-start; }

/* empty legs: departures board */
.board { border: 1px solid var(--line); border-radius: 22px; background: #05080C; overflow: hidden; }
.b-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "r r" "d c" "s g"; gap: 10px 14px; padding: 18px; border-top: 1px solid var(--line); align-items: center; }
.b-head { display: none; }
[data-legs] .b-row:first-child { border-top: 0; }
.b-date { grid-area: d; } .b-route { grid-area: r; } .b-class { grid-area: c; justify-self: end; } .b-seats { grid-area: s; } .b-go { grid-area: g; justify-self: end; }
.b-seats::before { content: "Seats "; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-right: 6px; vertical-align: 4px; }
.fl-cells { display: inline-flex; gap: 1px; }
.fl-cells i { display: inline-grid; place-items: center; width: .8em; height: 1.4em; font: 700 18px/1 var(--sans); font-style: normal; color: var(--amber); background: #101820; border-radius: 3px; position: relative; overflow: hidden; }
.fl-cells i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.fl-cells i.flip { color: #FFE2A8; }
.fl-cells i[data-c=" "] { width: .38em; background: none; }
.fl-cells i[data-c=" "]::after { content: none; }
.b-route .fl-cells i { color: var(--ink); }
@media (max-width: 599px) { .fl-cells { gap: 0; } .fl-cells i, .fl-cells i[data-c=" "] { width: auto; height: auto; background: none; font-size: 17px; letter-spacing: .03em; } .fl-cells i[data-c=" "] { width: .3em; } .fl-cells i::after { content: none; } .b-row { gap: 10px; padding: 16px; } }
.b-route small { display: block; font-size: 14px; color: var(--mute); margin-top: 6px; }
@media (min-width: 1200px) {
  .b-row { grid-template-columns: 150px minmax(0, 1fr) 220px 90px auto; grid-template-areas: "d r c s g"; padding: 16px 22px; }
  .b-head { display: grid; padding: 14px 22px; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border-top: 0; border-bottom: 1px solid var(--line); }
  .b-class { justify-self: start; }
  .b-seats::before { content: none; }
}

/* contact */
.ct-grid { display: grid; gap: 24px; }
.ct-tel { margin-bottom: 16px; }
.ct-tel { font: 400 clamp(64px, 8.6vw, 150px)/.95 var(--serif); text-decoration: none; letter-spacing: -.02em; padding: .04em 0; }
.ct-tel:hover { color: var(--sky); }
.ct-d { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ct-d div { border-top: 1px solid var(--line); padding-top: 12px; }
.ct-d dt { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.ct-d dd { font: 600 18px/1.35 var(--sans); }
.ct-d a { display: inline-block; padding: 10px 0; text-decoration-color: var(--sky); text-underline-offset: 4px; }
.ct-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 768px) { .ct-d { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* footer */
.ft { padding: 48px 0 170px; }
.ft-grid { display: grid; gap: 22px; }
.ft-brand { display: flex; align-items: baseline; gap: 7px; }
.ft nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 0 18px; }
@media (min-width: 768px) { .ft nav { display: flex; flex-wrap: wrap; gap: 4px 6px; } }
.ft nav a { text-decoration: none; color: var(--mute); padding: 12px 10px 12px 0; font-weight: 600; font-size: 14px; }
.ft nav a:hover { color: var(--ink); }
.ft-note { font-size: 14px; color: var(--mute); max-width: 62ch; }
.ft-note a { color: var(--mute); text-underline-offset: 3px; }
@media (min-width: 1024px) { .ft { padding-bottom: 56px; } }

/* phone dock and back to top */
.dock { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(7, 11, 16, .9); border: 1px solid var(--line-2); transform: translateY(140%); transition: transform .35s var(--ease); }
.dock .btn { min-height: 46px; }
.dock-on .dock { transform: none; }
@media (min-width: 1024px) { .dock { display: none; } }
.totop { position: fixed; z-index: 24; right: calc(16px + var(--rail)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); cursor: pointer; }
.totop[hidden] { display: none; }
.totop svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1024px) { .totop { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@media (max-width: 1023px) { .src, .qf-note, .trip-why, .ft-note, .fl-t, .fl-bar p, .b-route small, .card-p, .hero-meta, .done-s, .trip-class dd span, .s-list p, .why-l p { font-size: 16px; } }
@media (max-width: 380px) { .fl-bar p, .fl-rate, .card-p, .hours-l b, .fl-t, .b-route small { font-size: 14px; } .hours-l b { white-space: nowrap; font-size: 11px; } }
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1023px) { html:not(.desk) .h1, html:not(.desk) .ct-tel { font-size: 64px; } html:not(.desk) .kick { margin-top: 16px; } }

::selection { background: transparent !important; color: var(--sky) !important; }
