@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dm-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dm-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #151816;
  --ink-2: #1e221f;
  --paper: #f2f0ea;
  --surface: #faf9f5;
  --lime: #d8ff36;
  --orange: #ff552e;
  --orange-text: #b53d17;
  --orange-on-dark: #ff8a68;
  --muted: #5d6059;
  --muted-dark: #a9ada2;
  --line: #d3d1ca;
  --line-soft: #e3e1da;
  --line-dark: #333833;
  /* Series colours: validated for the paper surface (light) and the ink surface (dark). */
  --airbus: #2a78d6;
  --boeing: #eb6834;
  --slot-1: #9085e9;
  --slot-2: #c98500;
  --slot-3: #d55181;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 6vw, 100px);
  --header: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 72px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.has-detail { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 2px; }
.compare-section :focus-visible, .runway-section :focus-visible, .etops-map-card :focus-visible, .hero :focus-visible, .site-header :focus-visible, .compare-dock :focus-visible { outline-color: var(--lime); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px;
  background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.link-button {
  border: 0; background: none; padding: 0; font: 500 12px var(--mono);
  letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px;
}

.button {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid transparent;
  font: 800 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #e6ff7a; }
.button-lime:disabled { opacity: .5; }
.button-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.button-ghost:hover { border-color: #fff; }
.button-ghost-dark { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-ghost-dark:hover { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s ease;
}
.site-header.is-solid { background: rgba(21, 24, 22, .96); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor;
  border-radius: 50%; font: 500 10px var(--mono);
}
.site-header nav { display: flex; gap: clamp(16px, 2.6vw, 36px); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.site-header nav a { text-decoration: none; opacity: .75; }
.site-header nav a:hover { opacity: 1; }
.unit-toggle { display: flex; border: 1px solid rgba(255, 255, 255, .3); }
.unit-toggle button {
  border: 0; background: transparent; padding: 7px 10px; font: 500 11px var(--mono);
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.unit-toggle button[aria-pressed='true'] { background: var(--lime); color: var(--ink); }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: max(760px, 100vh); padding: calc(var(--header) + 64px) var(--pad) 40px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
  gap: 24px 48px; background-color: var(--ink); color: #fff; overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-copy { align-self: center; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .12em; color: #b6b8b1; }
.eyebrow > span:first-child { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.hero h1, .section-heading h2 { font-weight: 700; letter-spacing: -.065em; line-height: .84; margin: 0; }
.hero h1 { font-size: clamp(56px, 8.4vw, 132px); margin: 26px 0; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy p { max-width: 460px; color: #c3c5bf; font-size: 16px; }
.hero-copy p a { color: #fff; text-underline-offset: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-figure { margin: 0; align-self: stretch; display: flex; flex-direction: column; min-height: 420px; }
.hero-overlay { flex: 1; min-height: 380px; }
.hero-figure figcaption { font: 400 12px/1.6 var(--mono); color: #9ea296; max-width: 420px; margin-left: auto; text-align: right; }
.hero-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-craft .part { fill: none; stroke: rgba(242, 240, 234, .22); stroke-width: 1; stroke-linejoin: round; }
.hero-craft .part-windows, .hero-craft .part-strut, .hero-craft .part-wheel { display: none; }
.hero-craft.is-highlight .part { stroke: var(--lime); stroke-width: 1.5; }
.hero-craft .part[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.6, .1, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 22ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-stats { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hero-stats div { border-top: 1px solid #4d514b; padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.hero-stats dd { margin: 0; font: 500 24px var(--mono); }
.hero-stats dt { font: 400 11px var(--mono); color: #9ea296; letter-spacing: .12em; }

/* ------------------------------------------------------------- filter bar */
.filter-bar {
  position: sticky; top: var(--header); z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 14px var(--pad); background: rgba(242, 240, 234, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.search { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; min-width: 200px; border-bottom: 1px solid var(--ink); padding: 4px 0; }
.search-icon { font-size: 20px; line-height: 1; }
.search input { border: 0; background: none; outline: 0; width: 100%; font-size: 14px; padding: 4px 0; }
.search:focus-within { border-bottom-width: 2px; }
.segmented { display: flex; }
.segmented button {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: transparent;
  padding: 8px 12px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-left: -1px;
}
.segmented button:hover { border-color: var(--ink); position: relative; }
.segmented button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; }
.segmented-small button { padding: 6px 10px; }
.select { display: flex; align-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.select select { border: 1px solid var(--line); background: var(--surface); padding: 7px 8px; font: 500 12px var(--sans); text-transform: none; letter-spacing: 0; border-radius: 0; }
.select-light select { background: var(--ink-2); border-color: var(--line-dark); color: #fff; }
.filter-summary { margin: 0 0 0 auto; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.filter-summary b { color: var(--ink); font-size: 14px; }

.key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--airbus); flex: none; }
.key-boeing { background: var(--boeing); }
.key-hollow { background: transparent; border: 2px solid var(--muted); }
.key-ring { background: var(--surface); border: 2px solid var(--muted); }
.viz-dots .viz-dot.is-hollow { fill: var(--surface); fill-opacity: 1; stroke: var(--dot); stroke-width: 2.5; }

/* --------------------------------------------------------------- sections */
.fleet, .numbers, .timeline-section, .specs, .lengths, .credits { padding: 96px var(--pad) 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(48px, 6.6vw, 100px); }
.section-heading > p, .credits-copy { max-width: 440px; color: var(--muted); margin: 0 0 6px; }
.credits-copy p { margin: 0 0 12px; }
.section-index { display: flex; align-items: center; gap: 10px; color: var(--orange-text); font: 500 12px var(--mono); letter-spacing: .12em; margin-bottom: 20px; }
.section-index::before { content: ''; width: 18px; height: 2px; background: var(--orange); }
.section-heading.light .section-index { color: var(--lime); }
.section-heading.light .section-index::before { background: var(--lime); }
/* The light-surface orange is too dark for these dark panels (WCAG AA needs 4.5:1). */
.runway-shell .section-index, .runway-education .section-index, .etops-map-card .section-index { color: var(--orange-on-dark); }
.section-heading.light > p { color: var(--muted-dark); }

/* ------------------------------------------------------------------- cards */
.aircraft-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.card { position: relative; background: var(--paper); display: flex; flex-direction: column; min-width: 0; container: card / inline-size; transition: background .2s; animation: rise .5s both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.card:hover { background: #fff; }
.card:has(.card-open:focus-visible) { outline: 2px solid var(--orange-text); outline-offset: -2px; z-index: 1; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #d9d8d1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .6s ease, filter .6s ease; }
.card:hover .card-media img { transform: scale(1.04); filter: saturate(1); }
.no-photo { display: grid; place-items: center; height: 100%; font: 12px var(--mono); color: var(--muted); }
.card-badge, .card-status {
  position: absolute; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 8px; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(18, 20, 18, .8); color: #fff; backdrop-filter: blur(6px);
}
.card-badge { top: 12px; }
.card-status { bottom: 12px; }
.card-status i { width: 7px; height: 7px; border-radius: 50%; background: #9ea296; }
.status-production i { background: var(--lime); }
.status-idle i { background: transparent; border: 1.5px solid var(--lime); }
.status-development i, .status-certified i { background: transparent; border: 1.5px dotted var(--lime); }
.detail-tags .card-status { position: static; }
.compare-toggle {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--lime); color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 3px var(--slot, transparent);
}
.compare-toggle[aria-pressed='true'] { background: var(--ink); color: #fff; }
.compare-toggle:disabled { opacity: .45; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-etops {
  align-self: start; margin-top: 8px; padding: 3px 7px; border: 1px solid var(--line);
  font: 500 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.card-etops.etops-approved, .card-etops.etops-edto-approved, .card-etops.etops-limited-approval { border-color: #8b9e29; color: #536400; background: #f2f7cf; }
.card-etops.etops-pending, .card-etops.etops-not-approved { border-color: #d5a087; color: #8e351b; }
.card-title { margin: 6px 0 16px; }
.card-open {
  border: 0; background: none; padding: 0; text-align: left;
  font: 700 28px/1.05 var(--sans); letter-spacing: -.045em;
}
.card-open::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-open:focus-visible { outline: none; }
.card-row { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.mini-specs { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; margin: 0; }
.mini-specs div { display: flex; flex-direction: column-reverse; gap: 4px; }
.mini-specs dt { font: 400 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mini-specs dd { margin: 0; font: 500 13px var(--mono); white-space: nowrap; }
.card-planform { flex: none; }
@container card (max-width: 360px) {
  .card-body { padding: 16px 16px 18px; }
  .card-planform { width: 60px; height: 60px; }
  .mini-specs { gap: 12px; }
}
@container card (max-width: 300px) {
  .card-planform { display: none; }
}
.card-planform .part { fill: var(--ink); }
.card-planform .part-engine { fill: #5d6059; }
.empty-state { padding: 60px; text-align: center; border: 1px solid var(--line); border-top: 0; margin: 0; }

/* ------------------------------------------------------ all-aircraft length */
.lengths { padding-top: 110px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.length-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.length-panel { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.length-panel > header {
  min-height: 58px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line); background: var(--ink); color: #fff;
}
.length-panel > header > div { display: flex; align-items: center; gap: 10px; }
.length-panel > header h3 { margin: 0; font: 700 17px var(--sans); letter-spacing: .08em; }
.length-panel > header > span { font: 400 10px var(--mono); letter-spacing: .08em; color: var(--muted-dark); }
.length-maker-key { width: 18px; height: 4px; background: var(--airbus); }
.maker-boeing .length-maker-key { background: var(--boeing); }
.length-table-wrap { min-width: 0; overflow-x: auto; }
.length-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.length-model-col { width: 34%; }
.length-icao-col { width: 14%; }
.length-bar-col { width: 52%; }
.length-table th, .length-table td { padding: 7px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.length-table thead th {
  height: 51px; background: var(--paper); color: var(--muted); font: 500 9px var(--mono);
  letter-spacing: .08em; text-transform: uppercase; vertical-align: top;
}
.length-table tbody tr { cursor: pointer; }
.length-table tbody tr:hover { background: #fff; }
.length-table tbody tr:last-child th, .length-table tbody tr:last-child td { border-bottom: 0; }
.length-model {
  border: 0; padding: 0; background: none; text-align: left; font-weight: 700; line-height: 1.25;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;
}
.length-model:hover, .length-model:focus-visible { text-decoration-color: currentColor; }
.length-icao code { font: 500 11px var(--mono); letter-spacing: .06em; }
.length-table tr.is-unassigned .length-icao code { color: var(--muted); text-decoration: underline dotted; text-underline-offset: 3px; }
.length-measure { display: flex; align-items: center; gap: 8px; }
.length-measure b { flex: none; min-width: 54px; text-align: right; font: 500 10px var(--mono); white-space: nowrap; }
.length-track {
  position: relative; display: block; flex: 1 1 auto; min-width: 30px; height: 10px; overflow: hidden;
  background-color: var(--line-soft);
  background-image: linear-gradient(to right,
    transparent 24.5%, var(--line) 25%, transparent 25.5%,
    transparent 49.5%, var(--line) 50%, transparent 50.5%,
    transparent 74.5%, var(--line) 75%, transparent 75.5%);
}
.length-fill { display: block; width: var(--length); height: 100%; background: var(--airbus); }
.maker-boeing .length-fill { background: var(--boeing); }
.length-axis { position: relative; height: 14px; margin-top: 4px; color: var(--muted); font: 400 8px var(--mono); letter-spacing: 0; text-transform: none; }
.length-axis-tick { position: absolute; left: var(--x); transform: translateX(-50%); white-space: nowrap; }
.length-axis-tick.tick-0 { transform: none; }
.length-axis-tick.tick-4 { transform: translateX(-100%); }
.length-footnote { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.length-footnote a { text-underline-offset: 3px; }

/* --------------------------------------------------------- engine comparison */
.engines-section { padding: 110px var(--pad) 96px; border-top: 1px solid var(--line); background: #e9e7df; min-width: 0; }
.engine-workspace { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.engine-controls {
  display: grid; grid-template-columns: minmax(180px, 1.25fr) repeat(4, minmax(140px, 1fr)) auto;
  gap: 12px; align-items: end; padding: 18px; border-bottom: 1px solid var(--line);
}
.engine-controls label { display: grid; gap: 6px; min-width: 0; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.engine-controls input, .engine-controls select { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line); background: #fff; padding: 0 10px; color: var(--ink); }
.engine-controls .button { height: 42px; white-space: nowrap; }
.engine-list-head { display: flex; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.engine-list-head p { margin: 0; }
.engine-lineup { margin: 0; border-bottom: 1px solid var(--line); background: var(--ink); color: var(--muted-dark); }
.engine-lineup-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding: 18px 18px 6px; }
.engine-lineup-head .section-index { color: var(--lime); }
.engine-lineup-head h3 { margin: 6px 0 0; color: #f4f5ef; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; letter-spacing: -.04em; }
.engine-lineup-views { display: flex; flex-wrap: wrap; border: 1px solid #4a5049; }
.engine-lineup-view { min-height: 38px; padding: 0 14px; border: 0; background: transparent; color: var(--muted-dark); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.engine-lineup-view + .engine-lineup-view { border-left: 1px solid #4a5049; }
.engine-lineup-view[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.engine-lineup-view:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.engine-lineup-canvas { position: relative; min-width: 0; overflow: hidden; }
.engine-lineup-svg { display: block; max-width: 100%; height: auto; }
.lineup-ground { stroke: #3c423c; stroke-width: 1; }
.lineup-person { fill: #6f756d; }
.lineup-name { fill: #e9ebe4; font: 500 10.5px var(--mono); }
.lineup-dim { fill: var(--muted-dark); font: 400 10px var(--mono); }
.lineup-scale { stroke: var(--muted-dark); stroke-width: 1; }
.lineup-item { cursor: pointer; outline: none; }
.lineup-item .lineup-shape { fill: #232823; stroke: var(--lime); stroke-width: 1.5; }
.lineup-bound .lineup-shape { fill: rgba(216, 255, 54, .05); stroke-dasharray: 5 4; }
.lineup-envelope { fill: rgba(255, 117, 79, .035); stroke: #b97864; stroke-width: 1.25; stroke-dasharray: 4 3; }
.lineup-reference, .lineup-reference-cap { stroke: var(--orange); stroke-width: 1; stroke-dasharray: 2 2; }
.lineup-silhouette { stroke-linejoin: round; }
.lineup-side-fan { fill: rgba(216, 255, 54, .08); stroke: var(--lime); stroke-width: 1.25; }
.lineup-side.is-weak .lineup-shape { stroke-dasharray: 5 4; }
.lineup-side.is-unmatched .lineup-shape { stroke-dasharray: 1.5 3; stroke-linecap: round; }
.lineup-range { stroke: var(--orange); stroke-width: 1.5; }
.lineup-item:hover .lineup-shape, .lineup-item:focus-visible .lineup-shape,
.lineup-item:hover .lineup-envelope, .lineup-item:focus-visible .lineup-envelope { stroke: #fff; stroke-width: 2.5; }
.lineup-item:focus-visible .lineup-name { fill: var(--lime); }
.engine-lineup-note { margin: 0; padding: 10px 18px 16px; color: var(--muted-dark); font-size: 11px; line-height: 1.5; }
.engine-lineup-note b { color: #e9ebe4; }
.engine-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; margin: 0; padding: 1px; list-style: none; background: var(--line); }
.engine-card { min-width: 0; background: var(--surface); }
.engine-card article { min-height: 100%; }
.engine-row {
  display: grid; grid-template-columns: minmax(190px, .56fr) minmax(430px, 1.7fr) minmax(280px, .8fr);
  grid-template-areas: 'head visual data' 'aircraft aircraft aircraft' 'details details details'; min-width: 0;
}
.engine-empty { grid-column: 1 / -1; padding: 54px 20px; background: var(--surface); text-align: center; }
.engine-empty h3 { margin: 0 0 7px; font-size: 24px; }
.engine-empty p { margin: 0; color: var(--muted); font-size: 12px; }
.engine-card-head { grid-area: head; display: flex; flex-direction: column; align-items: start; justify-content: space-between; gap: 18px; min-height: 92px; padding: 18px; }
.engine-card-head h3 { margin: 4px 0 0; font-size: clamp(26px, 3vw, 40px); line-height: .95; letter-spacing: -.045em; }
.engine-card-head > p { display: grid; gap: 3px; margin: 0; max-width: 230px; color: var(--muted); text-align: left; font-size: 11px; }
.engine-card-head > p b { color: var(--ink); font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.engine-visual { grid-area: visual; position: relative; min-width: 0; background: var(--ink); }
.engine-visual-badge {
  position: absolute; z-index: 2; top: 10px; left: 12px; max-width: calc(100% - 24px); padding: 4px 7px;
  background: rgba(20, 24, 21, .88); color: var(--lime); border: 1px solid #555c53;
  font: 500 9px var(--mono); letter-spacing: .08em; line-height: 1.35;
}
.engine-drawing { min-width: 0; height: 100%; border-left: 1px solid #303531; border-right: 1px solid #303531; background: var(--ink); }
.engine-svg { display: block; width: 100%; height: auto; }
.engine-gridline { stroke: #343934; stroke-width: 1; }
.engine-grid-label, .engine-view-label, .engine-dimension-text { fill: var(--muted-dark); font: 500 12px var(--mono); }
.engine-view-label { letter-spacing: .08em; }
.engine-silhouette { fill: #2d342e; stroke: var(--lime); stroke-width: 2; stroke-linejoin: round; }
.engine-silhouette.has-envelope { fill: rgba(255, 117, 79, .035); stroke: #b97864; stroke-dasharray: 7 5; }
.engine-fan-face { fill: #202520; stroke: var(--lime); stroke-width: 2; }
.engine-front-circle { fill: #2a302b; stroke: var(--lime); stroke-width: 2; }
.engine-front-envelope { fill: rgba(255, 117, 79, .035); stroke: #b97864; stroke-width: 2; stroke-dasharray: 7 5; }
.engine-silhouette.is-bound, .engine-fan-face.is-bound, .engine-front-circle.is-bound { fill: rgba(216, 255, 54, .05); stroke-dasharray: 8 6; }
.engine-front-hub { fill: var(--orange); stroke: #ffac93; stroke-width: 1; }
.engine-reference, .engine-reference-cap { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 4 3; }
.engine-reference-text {
  fill: #ff9b7d; stroke: var(--ink); stroke-width: 4px; paint-order: stroke; stroke-linejoin: round;
  font: 600 10px var(--mono); letter-spacing: .05em;
}
.engine-circle-text { fill: #e9ebe4; }
.engine-dimension-line, .engine-dimension-cap { stroke: #b8bcb2; stroke-width: 1; }
.engine-data-stack { grid-area: data; min-width: 0; }
.engine-key-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border-bottom: 1px solid var(--line); }
.engine-key-specs div { min-width: 0; padding: 11px 14px; background: var(--surface); }
.engine-key-specs dt { color: var(--muted); font: 500 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.engine-key-specs dd { margin: 4px 0 0; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.engine-bars { display: grid; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.engine-metric-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.engine-metric-label b { color: var(--ink); font: 500 10px var(--mono); }
.engine-metric-track { display: block; height: 8px; background: var(--line-soft); }
.engine-metric-fill { display: block; width: var(--engine-value); height: 100%; background: var(--orange); }
.engine-metric.is-fuel .engine-metric-fill { background: var(--airbus); }
.engine-aircraft { grid-area: aircraft; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.engine-aircraft > b { display: block; margin-bottom: 8px; color: var(--muted); font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.engine-aircraft > div { display: flex; flex-wrap: wrap; gap: 5px; }
.engine-aircraft-link { border: 1px solid var(--line); background: #fff; padding: 4px 7px; font-size: 10px; }
.engine-aircraft-link:hover { border-color: var(--orange); color: var(--orange-text); }
.engine-details { grid-area: details; padding: 12px 18px 16px; }
.engine-details summary { cursor: pointer; color: var(--orange-text); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.engine-details p { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.engine-details p b { color: var(--ink); }
.engine-details a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.engine-method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 18px; border-top: 1px solid var(--line); }
.engine-method p { margin: 0; color: var(--muted); font-size: 12px; }
.engine-method b { color: var(--ink); }

/* ------------------------------------------------------- runway performance */
.runway-section {
  padding: 110px var(--pad) 96px; color: #fff; background: var(--ink-2); min-width: 0;
  border-top: 1px solid var(--line-dark);
}
.runway-shell { min-width: 0; border: 1px solid #3b403b; background: var(--ink); }
.runway-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 20px; border-bottom: 1px solid #3b403b;
}
.runway-select { flex: 1 1 440px; max-width: 620px; }
.runway-select select { width: 100%; min-height: 44px; }
#runway-coverage { margin: 0; max-width: 420px; color: var(--muted-dark); font: 400 11px/1.5 var(--mono); }
#runway-content { min-width: 0; }
.runway-profile-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 32px;
  padding: 24px 24px 18px; border-bottom: 1px solid #3b403b;
}
.runway-profile-head h3 { margin: 0 0 6px; font-size: clamp(34px, 5vw, 58px); line-height: .95; letter-spacing: -.05em; }
.runway-profile-head p { margin: 0; color: var(--muted-dark); }
.runway-basis { margin: 0; font-size: 12px; }
.runway-basis div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid #333833; }
.runway-basis dt { color: var(--muted-dark); }
.runway-basis dd { margin: 0; text-align: right; font-weight: 650; overflow-wrap: anywhere; }
.runway-basis a { color: var(--lime); text-underline-offset: 3px; }
.runway-chart-scroll { min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; background: #111411; }
.runway-scroll-hint { display: none; margin: 0; padding: 9px 14px; border-bottom: 1px solid #3b403b; color: var(--lime); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.runway-partial-note { margin: 0; padding: 10px 24px; border-bottom: 1px solid #3b403b; background: #18242d; color: #b8d9ee; font: 500 11px/1.5 var(--mono); }
.runway-factor-note { margin: 0; padding: 10px 24px; border-bottom: 1px solid #3b403b; background: #29230f; color: #f2e3a2; font: 500 11px/1.5 var(--mono); }
.runway-weight-context { padding: 16px 24px; border-bottom: 1px solid #3b403b; background: #171b18; }
.runway-weight-context dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: #343934; border: 1px solid #343934; }
.runway-weight-context dl > div { min-width: 0; padding: 10px 12px; background: #1e231f; }
.runway-weight-context dt { color: var(--muted-dark); font: 500 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.runway-weight-context dd { margin: 4px 0 2px; color: #fff; font: 700 16px var(--sans); }
.runway-weight-context small { display: block; color: var(--muted-dark); font-size: 10px; line-height: 1.35; }
.runway-weight-context p { margin: 11px 0 0; color: var(--muted-dark); font-size: 11px; line-height: 1.5; }
.runway-weight-context p b { color: #fff; }
.runway-svg { display: block; width: 100%; min-width: 900px; height: auto; font-family: var(--sans); }
.runway-pavement { fill: #292e2a; stroke: #535951; stroke-width: 1; }
.runway-centre { stroke: #d8dbd2; stroke-width: 2; opacity: .45; }
.runway-gridline { stroke: #535951; stroke-width: 1; }
.runway-tick, .runway-weight, .runway-distance-label {
  fill: #e6e8e2; font: 500 11px var(--mono); font-variant-numeric: tabular-nums;
}
.runway-scenario { fill: #c3c8bf; font: 600 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.runway-operation { fill: var(--muted-dark); font: 500 11px var(--mono); letter-spacing: .1em; }
.runway-distance { stroke-width: 13; stroke-linecap: butt; }
.runway-distance-takeoff { stroke: var(--lime); }
.runway-distance-landing { stroke: #ff8a68; stroke-dasharray: 14 5; }
.runway-end { stroke-width: 2; }
.runway-end-takeoff { stroke: var(--lime); }
.runway-end-landing { stroke: #ff8a68; }
.runway-hatch-line { stroke: #ff8a68; stroke-width: 3; }
.runway-marker-flag { fill: #fff; stroke: #111411; stroke-width: 1; }
.runway-marker-v2 .runway-marker-flag { fill: var(--lime); }
.runway-marker-tick { stroke: #fff; stroke-width: 2; }
.runway-marker-diamond { fill: #ff8a68; stroke: #fff; stroke-width: 1.5; }
.runway-marker-label { fill: #fff; font: 600 10px var(--mono); letter-spacing: .04em; paint-order: stroke; stroke: #111411; stroke-width: 3px; stroke-linejoin: round; }
.runway-marker-speed { fill: #f2e3a2; font: 500 10px var(--mono); paint-order: stroke; stroke: #111411; stroke-width: 3px; }
.runway-event-legend, .runway-event-withheld { margin: 0; padding: 12px 24px 14px; border-top: 1px solid #3b403b; color: var(--muted-dark); font-size: 12px; line-height: 1.5; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0, "dlig" 0; }
.runway-event-legend p { margin: 0 0 6px; }
.runway-event-legend ul { margin: 0; padding-left: 18px; }
.runway-event-legend li + li { margin-top: 4px; }
.runway-event-legend b, .runway-event-withheld b { color: #fff; }
.runway-event-legend a { color: var(--lime); text-underline-offset: 3px; }
.runway-event-withheld { background: #231c18; color: #e8c9bb; }
.runway-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px; }
.runway-data { min-width: 0; }
.runway-data h3 { margin: 0 0 4px; font: 700 18px var(--sans); }
.runway-data-basis { min-height: 3.2em; margin: 0 0 10px; color: var(--muted-dark); font-size: 12px; }
.runway-data .table-wrap { border-color: #3b403b; background: #171b18; }
.runway-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.runway-table th, .runway-table td { padding: 9px 11px; border-bottom: 1px solid #333833; text-align: left; }
.runway-table thead th { color: var(--muted-dark); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.runway-table tbody th { font-weight: 600; }
.runway-table tbody td { text-align: right; font: 500 12px var(--mono); }
.runway-table tbody tr:last-child th, .runway-table tbody tr:last-child td { border-bottom: 0; }
.runway-meta { padding: 0 24px 24px; }
.runway-meta > p { margin: 0; color: var(--muted-dark); font-size: 12px; }
.runway-meta > p b { color: #fff; }
.runway-meta > p a { color: var(--lime); text-underline-offset: 3px; }
.runway-safety { margin: 0; padding: 16px 20px; border-top: 1px solid #3b403b; color: var(--muted-dark); font-size: 12px; }
.runway-safety b { color: var(--lime); }
.runway-education { min-width: 0; margin-top: 22px; border: 1px solid #3b403b; background: #171b18; }
.runway-education-head {
  display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 32px;
  align-items: end; padding: 24px; border-bottom: 1px solid #3b403b;
}
.runway-education-head h3 { margin: 5px 0 0; color: #fff; font-size: clamp(26px, 3.5vw, 44px); line-height: .95; letter-spacing: -.045em; }
.runway-education-head p { margin: 0; color: var(--muted-dark); font-size: 12px; }
.runway-event-groups { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); }
.runway-event-group { min-width: 0; padding: 20px 24px 24px; }
.runway-event-group + .runway-event-group { border-left: 1px solid #3b403b; }
.runway-event-group h4 { margin: 0 0 10px; color: var(--muted-dark); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.runway-event-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(126px, 1fr); gap: 10px;
  margin: 0; padding: 0 0 4px; overflow-x: auto; overscroll-behavior-x: contain; list-style: none;
}
.runway-event-list li { position: relative; min-height: 78px; padding: 13px 30px 12px 13px; border: 1px solid #3b403b; background: var(--ink); }
.runway-event-list li:not(:last-child)::after { content: '→'; position: absolute; top: 13px; right: 10px; color: var(--lime); font: 700 14px var(--mono); }
.runway-event-list b { display: block; margin-bottom: 7px; color: var(--lime); font: 700 15px var(--mono); }
.runway-event-list span { display: block; color: var(--muted-dark); font-size: 11px; line-height: 1.35; }
.runway-education-note { margin: 0; padding: 14px 24px; border-top: 1px solid #3b403b; color: var(--muted-dark); font-size: 12px; }
.runway-education-note b { color: #fff; }
.runway-empty { padding: clamp(42px, 7vw, 88px) 24px; text-align: center; }
.runway-empty .section-index { justify-content: center; }
.runway-empty h3 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; }
.runway-empty p { max-width: 620px; margin: 0 auto; color: var(--muted-dark); }
.runway-empty p a { color: var(--lime); text-underline-offset: 3px; }

/* ----------------------------------------------------------- ETOPS / range */
.etops-section { padding: 110px var(--pad) 96px; border-top: 1px solid var(--line); min-width: 0; }
.etops-workspace { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.etops-controls {
  display: grid; grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(170px, .7fr);
  gap: 16px; padding: 20px; border-bottom: 1px solid var(--line);
}
.text-control { display: flex; flex-direction: column; gap: 6px; min-width: 0; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.text-control small { color: var(--muted); font-size: 9px; }
.text-control input {
  width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 0; background: #fff;
  padding: 8px 10px; font: 650 14px var(--sans); letter-spacing: 0; text-transform: uppercase;
}
.speed-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.speed-input b { align-self: stretch; display: grid; place-items: center; min-width: 42px; border: 1px solid var(--line); border-left: 0; background: var(--paper); }
#etops-airport-note { grid-column: 1 / -1; margin: -4px 0 0; color: var(--muted); font-size: 11px; }
.etops-route-error { grid-column: 1 / -1; min-height: 0; margin: -6px 0 0; color: #a13218; font: 650 11px/1.4 var(--sans); }
.etops-route-error:empty { display: none; }
.etops-aircraft-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.etops-aircraft-controls .chip { border-color: var(--line); background: #fff; }
.etops-aircraft-controls .chip-remove { color: var(--muted); }
.etops-aircraft-controls .chip-remove:hover { color: var(--ink); }
.etops-route-summary { padding: 18px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.etops-route-summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.etops-route-summary-head h3 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.etops-route-summary-head p { margin: 0; color: var(--muted); font: 500 11px var(--mono); }
.etops-route-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.etops-route-card { min-width: 0; padding: 13px 14px 14px; border: 1px solid var(--line); border-top: 4px solid var(--slot); background: #fff; }
.etops-route-card.is-pass { background: #f3f8df; }
.etops-route-card.is-fail { background: #fff0ea; }
.etops-route-card.is-unknown { background: #f4f2ea; }
.etops-route-card-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 8px; }
.etops-route-card-head b { font-size: 14px; }
.etops-route-state { flex: none; padding: 3px 6px; border: 1px solid currentColor; color: var(--muted); font: 700 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.etops-route-card.is-pass .etops-route-state { color: #4e7300; }
.etops-route-card.is-fail .etops-route-state { color: #a13218; }
.etops-route-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.etops-route-card p + p { margin-top: 5px; }
.etops-route-show { margin-top: 10px; min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.etops-route-show[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: #fff; }
.etops-alternatives, .etops-fits { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.etops-alternatives h4, .etops-fits h4 { margin: 0 0 4px; font-size: 13px; }
.etops-alternatives p, .etops-fits p { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
.etops-alternatives ul, .etops-fits ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 14px; margin: 0; padding: 0; }
.etops-alternatives li, .etops-fits li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 11px; }
.etops-alternatives li span, .etops-fits li span { min-width: 0; color: var(--muted); }
.etops-alternatives li b, .etops-fits li b { color: var(--ink); }
.etops-alternatives summary { margin-top: 8px; cursor: pointer; font: 600 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.etops-alternative-add { flex: none; min-height: 28px; padding: 4px 10px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: 600 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.etops-alternative-add:disabled { border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.etops-fit-shown { flex: none; color: var(--muted); font: 600 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.etops-route-empty { margin: 0; color: var(--muted); font-size: 13px; }
.etops-route-empty b { color: var(--ink); }
.etops-map-card { background: var(--ink); color: #fff; min-width: 0; }
.etops-map-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 20px 22px 12px; }
.etops-map-head h3 { margin: 0; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.035em; }
.etops-legend-wrap { display: flex; flex-direction: column; align-items: end; gap: 6px; }
.etops-legend-wrap > span { color: var(--muted-dark); font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.etops-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; margin: 0; padding: 0; font: 500 10px var(--mono); }
.etops-legend-button { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 10px; border: 1px solid #505750; background: transparent; color: #d6dad3; font: inherit; cursor: pointer; }
.etops-legend-button i { width: 12px; height: 12px; flex: none; border: 2px solid var(--slot); border-radius: 50%; }
.etops-legend-button[aria-pressed='true'] { border-color: var(--slot); background: color-mix(in srgb, var(--slot) 22%, transparent); color: #fff; }
.etops-legend-button:focus-visible, .etops-route-show:focus-visible, .etops-alternative-add:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.etops-map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 0 22px 10px; }
.etops-view-controls, .etops-center-controls, .etops-pan-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.etops-view-controls button { min-height: 34px; padding: 7px 10px; border: 1px solid #505750; background: transparent; color: #d6dad3; font: 600 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.etops-center-controls button + button, .etops-pan-controls button + button { border-left: 0; }
.etops-view-controls .etops-pan { min-width: 34px; padding-inline: 8px; font-size: 13px; }
.etops-view-controls button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--lime); outline-offset: 2px; }
.etops-map-explainer { margin: 0; padding: 0 22px 10px; color: #d9ddd5; font-size: 12px; }
.etops-encoding-key {
  list-style: none; display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 0; padding: 0 22px 12px;
  color: var(--muted-dark); font: 500 9px var(--mono); letter-spacing: .04em; text-transform: uppercase;
}
.etops-encoding-key li { display: inline-flex; align-items: center; gap: 7px; }
.etops-encoding-key i { display: inline-block; width: 22px; height: 8px; position: relative; flex: none; }
.encoding-geography::before, .encoding-geography::after { content: ''; position: absolute; left: 0; right: 0; border-top: 1px solid #dce9df; }
.encoding-geography::before { top: 1px; }
.encoding-geography::after { top: 6px; border-top-color: #87958c; border-top-style: dashed; }
.encoding-range { border: 1px solid #d9ddd5; border-radius: 50%; }
.encoding-offlimits { border: 1px solid #c97a63; background: repeating-linear-gradient(45deg, #c97a63 0 2px, transparent 2px 5px); }
.encoding-airport::before { content: ''; position: absolute; left: 9px; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: #e5ebe6; }
.encoding-pass::before, .encoding-gap::before, .encoding-beyond::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 3px solid #d9ddd5; }
.encoding-gap::before { border-top-color: #ff5f45; }
.encoding-beyond::before { top: 4px; border-top: 1px solid #8a918b; }
.encoding-range-end::before { content: '✕'; position: absolute; left: 6px; top: -4px; color: #f5f2e9; font: 700 11px var(--mono); }
.encoding-worst::before { content: ''; position: absolute; left: 7px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #ffb36b; }
.encoding-destination::before { content: ''; position: absolute; left: 6px; top: -1px; width: 10px; height: 10px; border-radius: 50%; background: #ff8a68; box-shadow: 0 0 0 2px #09100f; }
.etops-map-wrap { width: 100%; min-width: 0; overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
#etops-map { display: block; width: 100%; height: auto; min-height: 300px; cursor: grab; touch-action: pan-y; }
#etops-map.is-dragging { cursor: grabbing; }
#etops-map:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }
.etops-map-instructions { margin: 0; padding: 10px 20px 0; color: #d9ddd5; font-size: 11px; }
.etops-map-desc { margin: 0; padding: 12px 20px 16px; color: var(--muted-dark); font-size: 12px; }
.etops-scroll-hint { display: none; margin: 0; padding: 8px 12px; color: var(--orange-text); font: 500 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.etops-table-wrap { border-width: 0 0 1px; }
.etops-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1120px; font-size: 12px; }
.etops-table th, .etops-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.etops-table thead th { background: var(--paper); font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.etops-table tbody th { white-space: nowrap; }
.etops-table th:first-child { position: sticky; left: 0; z-index: 2; background: var(--surface); box-shadow: 8px 0 12px -12px rgba(0, 0, 0, .8); }
.etops-table thead th:first-child { z-index: 3; background: var(--paper); }
.etops-table .slot-key { display: inline-block; margin-right: 8px; vertical-align: middle; }
.etops-table .is-pass { color: #3c6600; font-weight: 700; }
.etops-table .is-fail { color: #a13218; font-weight: 700; }
.table-source-link { color: var(--orange-text); font-weight: 700; text-underline-offset: 2px; white-space: nowrap; }
.etops-method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 18px 20px 20px; }
.etops-method p { margin: 0; color: var(--muted); font-size: 12px; }
.etops-method b { color: var(--ink); }
.etops-detail-note a { text-underline-offset: 3px; }

/* ----------------------------------------------------------------- records */
.records { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 28px; }
.record { background: var(--surface); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.record-label { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.record-value { font: 700 30px/1.1 var(--sans); letter-spacing: -.035em; margin-top: 6px; }
.record-unit { font: 400 11px var(--mono); color: var(--muted); }
.record-who { margin-top: auto; padding-top: 8px; border: 0; background: none; text-align: left; font: 600 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.record-who:hover { text-decoration-color: var(--ink); }
span.record-who { text-decoration: none; color: var(--muted); font-weight: 400; }
.record-holders { margin-top: auto; display: flex; flex-direction: column; align-items: start; }

/* ------------------------------------------------------------------ charts */
.chart-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.chart-card { margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: 22px 22px 16px; position: relative; }
.chart-card figcaption { display: flex; justify-content: space-between; align-items: start; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-card h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.chart-card figcaption p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.chart-controls { display: flex; gap: 10px; align-items: center; min-width: 0; max-width: 100%; }
.chart-controls .select { min-width: 0; max-width: 100%; }
.chart-controls .select select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 6px 0 10px; padding: 0; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.bubble-key { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--muted); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 5.5px var(--muted); }
.chart { position: relative; min-height: 120px; }
.chart-empty { margin: 0; padding: 40px 0; text-align: center; color: var(--muted); }
.chart-note { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.chart-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.chart-scroll .viz-svg { max-width: none; }
.timeline-layout { display: flex; }
.timeline-layout .timeline-labels { flex: none; max-width: none; }
.timeline-layout .chart-scroll { flex: 1; min-width: 0; }
.detail-includes { margin: -12px 0 22px; font-size: 13px; color: var(--muted); }
.show-all { margin: 10px 0 4px; }

.viz-svg { display: block; max-width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.viz-svg:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 4px; }
.viz-grid line { stroke: var(--line-soft); stroke-width: 1; shape-rendering: crispEdges; }
.viz-grid line.viz-axis, .viz-axis { stroke: #c3c2b7; stroke-width: 1; shape-rendering: crispEdges; }
.viz-tick, .viz-axis-title { font: 400 11px var(--mono); fill: var(--muted); font-variant-numeric: tabular-nums; }
.viz-dot { stroke: var(--surface); stroke-width: 2; }
.viz-dots .viz-dot { fill-opacity: .9; }
.viz-label {
  font: 600 12px var(--sans); fill: var(--ink);
  paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round;
}
.viz-focus-ring { fill: none; stroke: var(--ink); stroke-width: 2; pointer-events: none; }
.viz-hit { fill: transparent; }
.viz-bar-row { cursor: pointer; outline: none; }
.viz-bar-row:hover .viz-hit, .viz-bar-row:focus-visible .viz-hit { fill: rgba(21, 24, 22, .05); }
.viz-bar-row:hover .viz-bar, .viz-bar-row:focus-visible .viz-bar { filter: brightness(1.12); }
.viz-bar-row:focus-visible .viz-bar-label { text-decoration: underline; }
.viz-bar-label { font: 500 12px var(--sans); fill: var(--ink); }
.viz-bar-value { font: 400 11px var(--mono); fill: var(--muted); font-variant-numeric: tabular-nums; }
.viz-span { stroke-width: 2; stroke-linecap: round; }
.viz-today { stroke: var(--ink); stroke-width: 1; }
.viz-group { font: 500 11px var(--mono); letter-spacing: .14em; fill: var(--muted); }
.viz-row-label { font: 600 12px var(--sans); fill: var(--ink); }
#timeline-chart .viz-dot { stroke: var(--surface); stroke-width: 2; cursor: pointer; outline: none; }
#timeline-chart .viz-dot.is-hollow { fill: var(--surface); stroke: var(--dot); stroke-width: 2; }
#timeline-chart .viz-dot:hover, #timeline-chart .viz-dot:focus-visible { stroke: var(--ink); }
.viz-tip {
  position: absolute; z-index: 6; pointer-events: none; min-width: 150px; max-width: 260px;
  padding: 9px 11px; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.viz-tip-title { font: 500 11px var(--mono); letter-spacing: .04em; color: #b9bcb3; margin-bottom: 4px; }
.viz-tip-row { display: flex; align-items: center; gap: 6px; }
.viz-tip-row b { font-weight: 700; font-size: 13px; }
.viz-tip-row span { color: #c9ccc4; }
.viz-tip-key { width: 12px; height: 2px; background: var(--key); }

/* ------------------------------------------------------------- spec table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.spec-table, .cmp-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.spec-table thead th { position: sticky; top: 0; background: var(--surface); z-index: 1; }
.spec-table th, .spec-table td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; white-space: nowrap; }
.spec-table td.num, .spec-table th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12px; }
.spec-table tbody tr:hover { background: #fff; }
.sort-button { border: 0; background: none; padding: 0; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
th[aria-sort] .sort-button { color: var(--ink); }
.table-model { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-weight: 700; font-size: 13px; }
.table-model:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- compare */
.compare-section {
  padding: 110px var(--pad) 90px; color: #fff; background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.compare-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 22px; }
.compare-slots, .dock-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 6px 6px 6px 10px; border: 1px solid rgba(255, 255, 255, .22); font-size: 13px; font-weight: 600; }
.slot-key { width: 16px; height: 4px; border-radius: 2px; background: var(--slot); flex: none; }
.chip-remove { border: 0; background: transparent; color: #cfd2ca; width: 24px; height: 24px; font-size: 16px; line-height: 1; }
.chip-remove:hover { color: #fff; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px; }
.presets button { border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; padding: 7px 12px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.presets button:hover { border-color: #fff; }
.presets button[aria-pressed='true'] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.compare-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: 'top side' 'top section' 'metrics metrics' 'table table'; gap: 20px; }
.compare-body[hidden] { display: none; }
.drawing-card { margin: 0; border: 1px solid var(--line-dark); background: rgba(21, 24, 22, .7); padding: 16px 18px; min-width: 0; }
.drawing-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.drawing-card h3 { margin: 0; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.drawing-card figcaption p { margin: 0; font: 400 11px var(--mono); color: var(--muted-dark); }
.drawing-top { grid-area: top; }
.drawing-side { grid-area: side; }
.drawing-section { grid-area: section; }
.drawing { min-height: 120px; }
.drawing-svg { display: block; width: 100%; height: auto; overflow: visible; }
.compare-section .ground { stroke: var(--line-dark); }
.compare-section .person { fill: var(--lime); }
.compare-section .scale-bar line { stroke: var(--muted-dark); }
.compare-section .scale-bar text, .compare-section .drawing-label { font: 400 11px var(--mono); fill: var(--muted-dark); }
.compare-section .drawing-label-name { font: 600 12px var(--sans); fill: #eef0ea; }
.drawing-callout polyline { fill: none; stroke: var(--c); stroke-width: 1; opacity: .85; }
.drawing-callout circle { fill: var(--c); }
.craft-slot .part { fill: var(--c); fill-opacity: .13; stroke: var(--c); stroke-width: 1.3; stroke-linejoin: round; }
.craft-slot .part-windows { fill: none; stroke-opacity: .55; stroke-dasharray: 1 3; stroke-width: 1; }
.craft-slot .part-strut { stroke-width: 1.4; }
.craft-slot .part-seat { fill-opacity: .5; stroke: none; }
.craft-slot .part-floor { fill: none; stroke-opacity: .6; }
.craft-slot .part-cargo { fill: none; stroke-opacity: .45; }
.craft-slot.is-section .part-body { fill-opacity: .06; stroke-width: 1.6; }
.slot-1 { --c: var(--slot-1); }
.slot-2 { --c: var(--slot-2); }
.slot-3 { --c: var(--slot-3); }
.cmp-metrics { grid-area: metrics; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1px; padding: 1px; }
.cmp-metric { background: var(--ink); padding: 14px 16px 12px; box-shadow: 0 0 0 1px var(--line-dark); }
.cmp-metric h3 { margin: 0 0 10px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.cmp-mixed { margin: 8px 0 0; font-size: 11px; color: var(--muted-dark); }
.cmp-metric ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cmp-metric li { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 12px; }
.cmp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d9dcd3; }
.cmp-track { height: 12px; background: rgba(255, 255, 255, .06); }
.cmp-fill { display: block; height: 100%; width: var(--w); background: var(--slot); border-radius: 0 4px 4px 0; }
.cmp-value { font: 400 12px var(--mono); font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; color: #d9dcd3; }
.is-lead .cmp-value { font-weight: 500; color: #fff; }
.table-wrap-dark { grid-area: table; border-color: var(--line-dark); background: var(--ink); }
.cmp-table th, .cmp-table td { padding: 9px 14px; border-bottom: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
.cmp-table thead th { font-size: 14px; }
.cmp-table thead th .slot-key { display: inline-block; margin-right: 8px; vertical-align: middle; }
.cmp-table tbody th { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); font-weight: 500; white-space: nowrap; }
.cmp-table td { font-family: var(--mono); font-size: 12px; color: #e3e5de; }
.compare-empty { border: 1px dashed rgba(255, 255, 255, .35); padding: 60px 20px; text-align: center; font: 12px var(--mono); letter-spacing: .06em; }

/* ---------------------------------------------------------------- credits */
.credit-list { columns: 2 380px; column-gap: 40px; margin: 0; padding: 0 0 60px 20px; font-size: 12px; color: var(--muted); }
.credit-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; }
#inclusion b { color: var(--ink); }
.credit-list b { color: var(--ink); }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px var(--pad); background: var(--ink); color: #fff; }
.site-footer p { margin: 0; color: var(--muted-dark); font-size: 13px; }
.site-footer > a { font: 500 12px var(--mono); letter-spacing: .1em; text-decoration: none; }

/* ------------------------------------------------------------- the drawer */
.detail-layer { position: fixed; inset: 0; z-index: 60; }
.detail-layer[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: rgba(8, 10, 9, .6); opacity: 0; transition: opacity .25s; }
.detail-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(640px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
}
.detail-layer.open .scrim { opacity: 1; }
.detail-layer.open .detail-panel { transform: none; }
.close-detail {
  position: sticky; top: 14px; float: right; margin: 14px 14px -58px 0; z-index: 3; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 24px; line-height: 1;
}
.detail-hero { margin: 0; background: var(--ink); }
.detail-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-credit { margin: 0; padding: 10px 28px 12px; font: 400 11px/1.6 var(--mono); color: #b9bcb3; }
.photo-credit a { color: #fff; }
.photo-credit .pictured { display: block; color: var(--lime); }
.detail-body { padding: 22px 28px 48px; }
.detail-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 52px 22px 0; }
.detail-count { font: 400 11px var(--mono); color: var(--muted); }
.detail-body h2 { font-size: clamp(42px, 7vw, 60px); letter-spacing: -.055em; line-height: .95; margin: 0 0 12px; }
.detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.detail-description { font-size: 16px; margin: 0 0 22px; }
.key-figures { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 20px; }
.key-figures div { background: var(--surface); padding: 12px 12px 10px; display: flex; flex-direction: column-reverse; gap: 4px; }
.key-figures dt { font: 400 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.key-figures dd { margin: 0; font: 700 19px/1.15 var(--sans); letter-spacing: -.02em; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.detail-drawings { display: grid; gap: 14px; margin-bottom: 28px; }
.detail-drawing { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; }
.detail-drawing figcaption { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.detail-section .drawing-svg { max-width: 260px; margin: 0 auto; }
.section-note { margin: 4px 0 0; text-align: center; font: 400 12px var(--mono); color: var(--muted); }
.craft-ink .part { fill: var(--ink); }
.craft-ink .part-engine, .craft-ink .part-pylon { fill: #4f534d; }
.craft-ink .part-windows { stroke: rgba(255, 255, 255, .6); stroke-width: 1; stroke-dasharray: 1.5 2.5; }
.craft-ink .part-strut { stroke: var(--ink); stroke-width: 1.5; }
.craft-ink .part-seat { fill: #b9b7ae; }
.craft-ink .part-floor { stroke: #8f918a; }
.craft-ink .part-cargo { fill: #e3e1da; stroke: #8f918a; }
.craft-ink.is-section .part-body { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.detail-drawing .ground { stroke: var(--line); }
.detail-drawing .person { fill: var(--orange); }
.dim line, .scale-bar line { stroke: var(--muted); stroke-width: 1; }
.dim text, .dim-label, .scale-bar text { font: 400 11px var(--mono); fill: var(--muted); }
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.spec-group h3 { margin: 0 0 8px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.spec-group dl { margin: 0; }
.spec-group dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; text-align: right; font-weight: 600; }
.detail-notes, .detail-sources { margin: 26px 0 0; font-size: 12px; color: var(--muted); }
.detail-notes b { color: var(--ink); }
.detail-sources a { overflow-wrap: anywhere; }

/* ------------------------------------------------------------------- dock */
.compare-dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 35;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px); padding: 10px 10px 10px 18px;
  background: var(--ink); color: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); animation: rise .3s both;
}
.compare-dock[hidden] { display: none; }
.dock-label { font: 500 11px var(--mono); letter-spacing: .1em; white-space: nowrap; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .records { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .engine-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'top' 'side' 'section' 'metrics' 'table'; }
}
@media (max-width: 1100px) {
  :root { --header: 96px; }
  .site-header {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 56px 40px;
    align-items: center; gap: 0 12px;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .unit-toggle { grid-column: 3; grid-row: 1; }
  .site-header nav {
    grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 24px;
    min-width: 0; width: 100%; height: 40px; overflow-x: auto; overscroll-behavior-x: contain;
    white-space: nowrap; scrollbar-width: thin;
  }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .hero-figure { min-height: 360px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { flex-direction: column; align-items: start; gap: 18px; }
  .spec-groups { grid-template-columns: minmax(0, 1fr); }
  .length-comparison { grid-template-columns: minmax(0, 1fr); }
  .engine-grid { grid-template-columns: minmax(0, 1fr); }
  .engine-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'visual' 'data' 'aircraft' 'details'; }
  .engine-card-head { min-height: 0; }
  .engine-drawing { border: 0; border-top: 1px solid #303531; border-bottom: 1px solid #303531; }
  .runway-toolbar { align-items: start; flex-direction: column; }
  .runway-select { flex-basis: auto; width: 100%; max-width: none; }
  .runway-profile-head, .runway-data-grid, .runway-education-head, .runway-event-groups { grid-template-columns: minmax(0, 1fr); }
  .runway-event-group + .runway-event-group { border-top: 1px solid #3b403b; border-left: 0; }
  .runway-data-basis { min-height: 0; }
  .runway-weight-context dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .runway-scroll-hint { display: block; }
  .etops-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .speed-control { grid-column: 1 / -1; }
  .etops-map-head { align-items: start; flex-direction: column; }
  .etops-legend-wrap { align-items: start; }
  .etops-legend { justify-content: start; }
  .etops-route-cards { grid-template-columns: minmax(0, 1fr); }
  .etops-method { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 720px) {
  .filter-bar { position: static; }
  .filter-summary { margin-left: 0; }
  .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet, .numbers, .timeline-section, .specs, .lengths, .engines-section, .runway-section, .etops-section, .credits { padding-top: 64px; }
  .engine-controls, .engine-method { grid-template-columns: minmax(0, 1fr); }
  .engine-list-head, .engine-card-head, .engine-lineup-head { align-items: start; flex-direction: column; }
  .engine-card-head > p { text-align: left; }
  .etops-controls { grid-template-columns: minmax(0, 1fr); }
  .runway-weight-context dl { grid-template-columns: minmax(0, 1fr); }
  .speed-control { grid-column: auto; }
  #etops-airport-note { grid-column: auto; }
  .etops-aircraft-controls { align-items: stretch; flex-direction: column; }
  .etops-aircraft-controls > * { width: 100%; min-width: 0; }
  .etops-aircraft-controls .compare-slots { min-width: 0; }
  .etops-aircraft-controls .chip { max-width: 100%; }
  .etops-aircraft-controls .chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .etops-aircraft-controls .select { justify-content: space-between; }
  .etops-aircraft-controls .select select { min-width: 0; max-width: 100%; }
  .etops-route-summary-head, .etops-map-toolbar { align-items: start; flex-direction: column; }
  .etops-view-controls { width: 100%; }
  .etops-view-controls { justify-content: space-between; gap: 8px; }
  .etops-method { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .etops-scroll-hint { display: block; }
  .compare-dock .dock-chips { display: none; }
  .detail-body { padding: 18px 18px 40px; }
}
@media (max-width: 440px) {
  .length-table th, .length-table td { padding: 7px 6px; }
  .length-model-col { width: 36%; }
  .length-icao-col { width: 16%; }
  .length-bar-col { width: 48%; }
  .length-axis-tick.tick-1, .length-axis-tick.tick-3 { display: none; }
  .length-measure { gap: 5px; }
  .length-measure b { min-width: 49px; font-size: 9px; }
  .engine-grid-label, .engine-view-label, .engine-dimension-text { display: none; }
  .engine-visual-badge { white-space: normal; }
}
@media (max-width: 340px) {
  .site-header .brand > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-craft .part[pathLength] { stroke-dashoffset: 0; }
}
@media (forced-colors: active) {
  .key, .slot-key, .cmp-fill, .length-fill, .length-maker-key, .engine-silhouette, .engine-fan-face,
  .engine-front-circle, .engine-front-envelope, .engine-front-hub, .engine-reference, .engine-reference-cap,
  .lineup-shape, .lineup-envelope, .lineup-reference, .lineup-reference-cap, .lineup-side-fan,
  .engine-metric-fill, .runway-distance, .etops-legend i { forced-color-adjust: none; }
  .compare-toggle { border: 1px solid ButtonText; }
}
