/* LifeNet Air — Flight decisions. Built on the LifeNet Air design tokens (tokens.css). */

:root { color-scheme: dark; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scroll-padding-bottom: 88px; }
html.reduce-motion { scroll-behavior: auto; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 7px; }
.is-light a:focus-visible, .is-light button:focus-visible { outline-color: var(--green); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Shared type */
.eyebrow { display: block; font-size: 12px; line-height: 1.5; letter-spacing: 0.19em; font-weight: 600; text-transform: uppercase; color: var(--gold); }
.is-light .eyebrow { color: var(--on-cream-label); }
.rule { display: block; width: 28px; height: 1px; background: var(--gold); margin-bottom: 20px; }
.display { font-family: var(--font-display); font-weight: 400; }
.display-hero { font-family: var(--font-display); font-weight: 400; font-size: clamp(50px, min(6.2vw, 11.5svh), 124px); line-height: 0.97; letter-spacing: -0.055em; }
.display-section { font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 6vw, 104px); line-height: 1.02; letter-spacing: -0.05em; }
.display-statement { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 86px); line-height: 1.1; letter-spacing: -0.04em; }
.display-scene { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.8vw, 76px); line-height: 1.1; letter-spacing: -0.04em; }
.display-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 5vw, 84px); line-height: 1.05; letter-spacing: -0.06em; }
.display-h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.8; color: var(--text-soft); max-width: 560px; }
.gold-bright { color: var(--gold-bright); }
.split-line { display: block; }

/* Skip link */
.skip { position: fixed; left: 16px; top: -80px; z-index: var(--z-skip); padding: 15px; background: var(--gold); color: var(--ink); transition: top 0.2s; }
.skip:focus { top: 16px; outline: 2px solid var(--gold-focus); outline-offset: 2px; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: calc(var(--header-height) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 5.4% 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--cream); transition: color var(--dur-header), background var(--dur-header); }
.header.is-scrolled { background: linear-gradient(180deg, #080e0bf2 0%, #080e0bb8 60%, #080e0b00 100%); }
.header.is-light { color: var(--on-header-light); background: linear-gradient(180deg, #e4e0d3f2 0%, #e4e0d3b8 60%, #e4e0d300 100%); }
.header nav { display: flex; gap: 28px; font-size: 14px; }
.header nav a { position: relative; padding: 8px 0; }
.header nav a::after { content: ''; position: absolute; left: 0; bottom: 1px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-control); }
.header nav a:hover::after, .header nav a[aria-current='true']::after { transform: scaleX(1); }
.header-brand { display: block; }
.header-action { justify-self: end; display: flex; gap: 12px; align-items: center; font-size: 14px; padding: 8px 0; }
.header-action .icon { font-size: 16px; color: var(--gold); transition: transform var(--dur-control); }
.header.is-light .header-action .icon { color: var(--on-header-light); }
.header-action:hover .icon { transform: translate(4px, -4px); }
.header-menu { display: none; background: none; border: 0; width: 44px; height: 44px; place-items: center; font-size: 22px; }
.header-call-short { display: none; }

/* Wordmark: the supplied letterforms keyed to one ink. */
.logo { display: block; width: 210px; height: auto; color: var(--logo-on-dark); }
.header.is-light .logo image, .is-light .logo image { filter: url(#ink-light); }

/* Floating action and motion control */
.floating { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: var(--z-action); display: inline-flex; gap: 25px; align-items: center; padding: 6px 6px 6px 22px; border: 1px solid #d8c69ad9; border-radius: var(--radius-pill); background: var(--surface-pill); color: var(--cream); font-size: 13px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-pill); transition: background var(--dur-control), box-shadow var(--dur-control), opacity var(--dur-control); white-space: nowrap; }
.floating:hover { background: var(--surface-pill-hover); box-shadow: var(--shadow-pill-hover); }
.floating-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: var(--radius-round); background: var(--gold); color: var(--ink); font-size: 19px; transition: transform var(--dur-icon); }
.floating:hover .floating-icon { transform: rotate(90deg); }
.floating.is-hidden { opacity: 0; pointer-events: none; }
.motion-chip { position: fixed; left: 26px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-motion); display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 9px 15px; background: var(--surface-chip); border: 1px solid var(--line-control); border-radius: var(--radius-chip); color: #e6dfcb; font-size: 12px; }
.motion-chip .icon { font-size: 14px; }
.floating:focus-visible, .motion-chip:focus-visible, .btn:focus-visible, .choice:focus-visible, .tab:focus-visible, .hotspot:focus-visible, .chip-btn:focus-visible { outline: 2px solid var(--gold-focus); outline-offset: 2px; box-shadow: var(--focus-halo); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--control-height); padding: 12px 22px; border-radius: var(--radius-none); font-size: 14px; border: 1px solid var(--line-control); background: var(--surface-button); color: #e9dbb5; transition: background var(--dur-control); }
.btn:hover { background: #334c38; }
.btn .icon { font-size: 16px; }
.btn-solid { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
.btn-solid:hover { background: var(--gold-bright); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.text-link .icon { font-size: 16px; transition: transform var(--dur-control); }
.text-link:hover .icon { transform: translate(4px, -4px); }

/* Section scaffolding */
.section { position: relative; padding: var(--space-110) var(--gutter) 100px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 6%; align-items: start; margin-bottom: var(--space-60); }
.section-head > .eyebrow { padding-top: 22px; }
.counter { position: absolute; left: var(--gutter); bottom: 32px; font-size: 12px; letter-spacing: 0.1em; color: var(--text-faint); }

/* 01 Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-content: end; padding: 120px var(--gutter) 96px; overflow: hidden; background: var(--background); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transform: scale(var(--hero-scale, 1.06)); transform-origin: 100% 72%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #06130df2 0%, #06130dc4 38%, #06130d55 68%, #06130d1a 100%), linear-gradient(0deg, #080e0b 0%, #080e0b00 30%); }
.hero-inner { position: relative; display: grid; gap: 28px; max-width: 1180px; }
.hero h1 { margin-top: 4px; }
.hero .lead { max-width: 480px; }
.hero h1 .split-line + .split-line { color: var(--gold-bright); }
.hero-foot { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 44px; }
.hero-note { max-width: 390px; font-size: 14px; line-height: 1.8; color: var(--text-soft); }
.hero-note strong { font-weight: 600; color: var(--cream); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.scroll-cue .icon { font-size: 16px; color: var(--gold); }
.illustration-tag { position: absolute; right: var(--gutter); top: 120px; font-size: 12px; letter-spacing: 0.12em; color: var(--text-muted); }

/* 02 Safety */
.safety { background: radial-gradient(ellipse at 30% 0%, var(--stage-forest-mid) 0, var(--surface-forest) 55%); color: var(--cream); }
.statement { max-width: 1180px; }
.statement .word { opacity: var(--o, 1); transition: opacity 0.2s linear; }
.statement-sub { display: flex; gap: 28px; align-items: start; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 760px; color: var(--text-soft); }
.safety-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 8%; margin-top: 90px; align-items: start; }
.safety-list-label { font-size: 17px; font-weight: 600; margin-bottom: 18px; color: var(--cream); }
.limits { border-bottom: 1px solid var(--line); }
.limit { border-top: 1px solid var(--line); }
.limit-trigger { display: grid; grid-template-columns: 44px minmax(0, 1fr) 14px; gap: 18px; align-items: center; width: 100%; padding: 22px 0; background: none; border: 0; text-align: left; }
.limit-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-round); color: var(--gold); font-size: 19px; transition: background var(--dur-control), color var(--dur-control); }
.limit-trigger[aria-expanded='true'] .limit-icon, .limit-trigger:hover .limit-icon { background: var(--gold); color: var(--ink); }
.limit-title { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; }
.limit-title small { display: block; font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.plus { width: 14px; height: 14px; position: relative; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; top: 6px; left: 0; width: 14px; height: 1px; background: currentColor; transition: transform var(--dur-header); }
.plus::after { transform: rotate(90deg); }
[aria-expanded='true'] .plus::after { transform: rotate(0); }
.limit-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-reveal) var(--ease-reveal); }
.limit-panel.is-open { grid-template-rows: 1fr; }
.limit-panel > div { overflow: hidden; }
.limit-panel p { padding: 0 32px 28px 62px; color: var(--text-body); max-width: 560px; }
.safety-figure { position: sticky; top: 120px; }
.figure { position: relative; overflow: hidden; background: var(--surface-image); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, #050b08cc); color: var(--cream); padding: 40px 22px 18px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; letter-spacing: 0.12em; }
.safety-figure .figure { aspect-ratio: 4 / 5; }
.quote-card { margin-top: -70px; margin-left: -60px; position: relative; width: min(330px, 90%); background: var(--gold); color: var(--on-gold); padding: 26px 28px 24px; }
.quote-card .eyebrow { color: var(--on-gold-label); }
.quote-card p { font-family: var(--font-display); font-size: 34px; line-height: 1.05; letter-spacing: -0.03em; margin-top: 18px; }

/* 03 Operational factors (cream editorial) */
.ops { background: var(--surface-cream); color: var(--on-cream); }
.ops .section-head h2 { color: var(--on-cream); }
.ops-lead { margin-top: 22px; font-size: 18px; line-height: 1.8; color: var(--on-cream-body); max-width: 560px; }
.ops-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 11%; align-items: start; }
.acc-item { border-top: 1px solid var(--line-cream); }
.acc-item:last-child { border-bottom: 1px solid var(--line-cream); }
.acc-trigger { display: flex; width: 100%; align-items: center; gap: 18px; padding: 24px 0; background: none; border: 0; text-align: left; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; color: var(--on-cream); }
.acc-index { font-size: 12px; letter-spacing: 0.1em; color: var(--on-cream-label); width: 22px; }
.acc-title { flex: 1; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-reveal) var(--ease-reveal); }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { font-size: 16px; line-height: 1.85; padding: 0 12px 34px 40px; max-width: 470px; color: var(--on-cream-body); }
.footnote { display: block; font-size: 12px; letter-spacing: 0.16em; color: var(--on-cream-label); padding-top: 40px; text-transform: uppercase; }
.ops .figure { aspect-ratio: 4 / 5; }
.ops .figure img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity var(--dur-reveal) var(--ease-reveal), transform var(--dur-settle) ease; }
.ops .figure img.is-active { opacity: 1; transform: scale(1); }
.ops .is-light a:focus-visible, .ops button:focus-visible { outline-color: var(--green); }

/* 04 Fleet */
.fleet { background: radial-gradient(ellipse at 50% 62%, var(--stage-light-core) 0, var(--stage-light-mid) 48%, var(--stage-light-edge) 100%); color: var(--on-light); padding-bottom: 80px; overflow: hidden; }
.fleet button:focus-visible, .fleet a:focus-visible { outline-color: var(--green); }
.fleet .eyebrow { color: var(--on-light-label); }
.fleet-grid-bg { position: absolute; inset: 0; opacity: 0.13; background-image: linear-gradient(#294a341f 1px, transparent 1px), linear-gradient(90deg, #294a341f 1px, transparent 1px); background-size: 8.33vw 8.33vw; -webkit-mask-image: radial-gradient(ellipse, black, transparent 75%); mask-image: radial-gradient(ellipse, black, transparent 75%); pointer-events: none; }
.fleet-top { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.tabs { display: inline-flex; border: 1px solid #18342866; }
.tab { min-height: 47px; padding: 10px 20px; background: transparent; border: 0; font-size: 14px; color: var(--on-light); }
.tab + .tab { border-left: 1px solid #18342866; }
.tab[aria-selected='true'] { background: var(--on-light); color: var(--stage-light-core); }
.fleet-stage { position: relative; display: grid; grid-template-columns: minmax(230px, 0.75fr) minmax(0, 2.2fr) minmax(230px, 0.8fr); gap: 3%; align-items: center; margin-top: 30px; }
.fleet-copy p { font-size: 16px; line-height: 1.85; color: #2a4334; }
.fleet-copy .display-name { margin: 10px 0 18px; font-size: clamp(38px, 3.3vw, 56px); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; margin-top: 30px; }
.spec > div { padding-top: 10px; border-top: 1px solid var(--line-light); }
.spec dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-light-label); margin-bottom: 5px; }
.spec dd { font-size: 14px; font-weight: 600; line-height: 1.5; }
.viewer { position: relative; aspect-ratio: 5 / 4; min-height: 340px; touch-action: none; cursor: grab; }
.viewer:active { cursor: grabbing; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; outline: none; }
.viewer-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.viewer-fallback img { width: 92%; filter: drop-shadow(var(--shadow-product)); mix-blend-mode: multiply; }
.viewer.is-ready .viewer-fallback { display: none; }
.viewer-status { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-light-label); white-space: nowrap; }
.hotspot { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: var(--radius-round); border: 1px solid var(--on-light); background: #f2ecdcee; color: var(--on-light); font-size: 13px; font-weight: 600; display: grid; place-items: center; transition: background var(--dur-control), color var(--dur-control), opacity var(--dur-control); will-change: transform; }
.hotspot::after { content: ''; position: absolute; inset: -7px; border-radius: inherit; border: 1px solid #18342855; animation: pulse 2.4s ease-out infinite; }
.reduce-motion .hotspot::after { animation: none; }
@keyframes pulse { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hotspot[aria-pressed='true'], .hotspot:hover { background: var(--on-light); color: var(--stage-light-core); }
.hotspot.is-behind { opacity: 0.35; }
.hotspots-off .hotspot { display: none; }
.viewer-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid #18342866; border-radius: var(--radius-chip); background: #f2ecdc80; font-size: 13px; color: var(--on-light); }
.chip-btn[aria-pressed='true'] { background: var(--on-light); color: var(--stage-light-core); }
.chip-btn .icon { font-size: 14px; }
.viewer-hint { text-align: center; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-light-label); margin-top: 14px; }
.point-panel { border-top: 1px solid var(--line-light); padding-top: 18px; min-height: 230px; }
.point-panel h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin: 10px 0 12px; }
.point-panel p { font-size: 15px; line-height: 1.8; color: #2a4334; }
.point-list { margin-top: 18px; display: grid; }
.point-list button { display: flex; gap: 14px; align-items: center; min-height: 44px; padding: 8px 0; background: none; border: 0; border-top: 1px solid var(--line-light); text-align: left; font-size: 14px; color: var(--on-light); }
.point-list button span:first-child { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; font-weight: 600; flex: none; }
.point-list button[aria-pressed='true'] { font-weight: 600; }
.ground-leg { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-light); }
.ground-leg img { width: 120px; }
.ground-leg p { font-size: 13px; line-height: 1.7; }
.fleet .counter { color: #4a5f4f; }

/* 05 Landing zone */
.lz { --lz-alert: #e3967a; background: radial-gradient(ellipse at 78% 35%, var(--stage-forest-mid) 0, var(--surface-forest) 60%); color: var(--cream); }
.lz-lead { margin-top: 22px; font-size: 18px; line-height: 1.8; color: var(--text-soft); max-width: 560px; }
.lz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: start; }
.lz-steps { order: 1; border-bottom: 1px solid var(--line); }
.lz-step { border-top: 1px solid var(--line); }
.lz-trigger { display: grid; grid-template-columns: 34px minmax(0, 1fr) 14px; gap: 14px; align-items: center; width: 100%; padding: 22px 0; background: none; border: 0; text-align: left; }
.lz-index { font-size: 12px; letter-spacing: 0.1em; color: var(--gold); }
.lz-title { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; transition: color var(--dur-control); }
.lz-title small { display: block; font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.lz-trigger[aria-expanded='true'] .lz-title { color: var(--gold-strong); }
.lz-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-reveal) var(--ease-reveal); }
.lz-panel.is-open { grid-template-rows: 1fr; }
.lz-panel > div { overflow: hidden; }
.lz-panel p { padding: 0 32px 28px 48px; color: var(--text-body); max-width: 560px; }
.lz-note { margin-top: 44px; font-size: 13px; color: var(--text-muted); max-width: 560px; }
.lz-figure { order: 2; position: sticky; top: 120px; }
.lz-caption { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
/* The plan: drawn roughly to scale, 1.6 units to the foot */
.lz-plan { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.lz-plan text { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; fill: var(--cream); }
.lz-plan .lz-label-alert { fill: var(--lz-alert); }
.lz-ground { fill: #0c2119; transition: fill var(--dur-header); }
.lz-gridline { fill: none; stroke: var(--gold); stroke-opacity: 0.1; transition: stroke-opacity var(--dur-header); }
.lz-square { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 5; }
.lz-surface { fill: var(--gold); fill-opacity: 0.12; }
.lz-dim { fill: none; stroke: var(--gold); }
.lz-wire { fill: none; stroke: var(--cream); }
.lz-pole { fill: var(--surface-forest); stroke: var(--cream); stroke-width: 1.5; }
.lz-tree { fill: #2e5a3f; stroke: #4f7a5c; }
.lz-debris { fill: var(--cream); fill-opacity: 0.75; }
.lz-ring { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 3; }
.lz-glow { fill: url(#lz-glow); opacity: 0; transition: opacity var(--dur-header); }
.lz-lamp { fill: var(--gold-strong); }
.lz-wind, .lz-go { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.lz-path { fill: none; stroke: var(--cream); stroke-width: 1.2; stroke-dasharray: 5 5; }
.lz-arrowhead { fill: var(--gold); }
.lz-person { fill: var(--cream); }
.lz-radio { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; }
.lz-clear { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 1 6; stroke-linecap: round; }
.lz-danger { fill: var(--lz-alert); fill-opacity: 0.22; stroke: var(--lz-alert); stroke-width: 1.2; }
.lz-vehicle { fill: var(--surface-raised); stroke: var(--cream); }
.lz-vehicle-bar { stroke: var(--gold); stroke-width: 2; }
.lz-rotor { fill: var(--cream); fill-opacity: 0.06; stroke: var(--cream); stroke-opacity: 0.55; stroke-dasharray: 3 3; }
.lz-blades { stroke: var(--cream); stroke-opacity: 0.7; stroke-width: 1.6; stroke-linecap: round; }
.lz-skid { stroke: var(--cream); stroke-opacity: 0.6; }
.lz-boom { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; }
.lz-tailrotor { stroke: var(--cream); stroke-width: 1.5; }
.lz-body { fill: var(--cream); }
/* With script running, the open step's layer lights up and shows its labels; the lighting step is shown at night. */
.lz-layer, .lz-label { transition: opacity var(--dur-control); }
.is-live .lz-layer { opacity: 0.24; }
.is-live .lz-layer .lz-label { opacity: 0; }
.is-live .lz-layer.is-on, .is-live .lz-layer.is-on .lz-label { opacity: 1; }
.lz-plan.is-night .lz-ground { fill: #040a07; }
.lz-plan.is-night .lz-gridline { stroke-opacity: 0.05; }
.lz-plan.is-night .lz-glow { opacity: 1; }

/* 06 Which aircraft */
.compare { background: var(--background); color: var(--foreground); }
.chooser { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8%; align-items: start; }
.chooser-q { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; min-height: 64px; padding: 14px 20px; border: 1px solid var(--line-control); background: var(--surface-button); text-align: left; font-size: 16px; color: var(--cream); transition: background var(--dur-control); }
.choice { line-height: 1.5; }
.choice small { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.choice-mark:empty { display: none; }
.choice:hover { background: #18301f; }
.choice[aria-pressed='true'], .choice[aria-checked='true'] { background: var(--surface-raised); border-color: var(--gold); }
.choice .icon { font-size: 16px; color: var(--gold); }
.answer-card { position: relative; min-height: 420px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 70%, var(--glow-hero-core) 0, var(--surface-forest) 70%); padding: 34px; overflow: hidden; }
.answer-card img.aircraft { width: 78%; margin: 6px auto 0; filter: drop-shadow(0 18px 16px #0006); }
.aircraft-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: end; margin: 22px 0 8px; }
.aircraft-pair img { width: 100%; filter: drop-shadow(0 14px 12px #0006); }
.aircraft-pair figcaption { margin-top: 10px; font-size: 14px; color: var(--cream); }
.aircraft-pair figcaption span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.answer-card h3 { margin-top: 10px; }
.answer-card p { color: var(--text-body); margin-top: 12px; max-width: 520px; }
.answer-card .note { font-size: 13px; color: var(--text-muted); margin-top: 18px; }
.answer-empty { display: grid; place-items: center; text-align: center; min-height: 350px; color: var(--text-muted); }
.compare-table { width: 100%; margin-top: 90px; border-collapse: collapse; font-size: 15px; }
.compare-table caption { text-align: left; padding-bottom: 20px; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-top: 1px solid var(--line); }
.compare-table thead th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.compare-table tbody th { font-weight: 400; color: var(--text-muted); width: 22%; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-table td { color: var(--text-soft); width: 39%; }

/* 07 Quiz */
.quiz { background: radial-gradient(ellipse at 50% 60%, var(--stage-forest-core) 0, var(--stage-forest-mid) 40%, var(--surface-forest) 80%); color: var(--cream); }
.quiz-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8%; align-items: start; }
.quiz-intro h2 { font-size: clamp(38px, 3.6vw, 60px); }
.quiz-intro p { color: var(--text-soft); margin-top: 20px; max-width: 380px; }
.progress { display: flex; gap: 8px; margin-top: 36px; }
.progress span { width: 44px; height: 3px; background: #c9b78c40; }
.progress span.is-done { background: var(--gold); }
.progress span.is-current { background: var(--cream); }
.quiz-card { border: 1px solid var(--line); background: #0b1c16cc; padding: clamp(24px, 3.4vw, 46px); }
.quiz-card legend { padding: 0; }
.quiz-q { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.18; letter-spacing: -0.02em; margin: 14px 0 26px; }
.quiz-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-options { display: grid; gap: 10px; }
.quiz-options .choice { grid-template-columns: 30px 1fr auto; }
.opt-letter { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--gold); }
.choice.is-correct { border-color: var(--gold); background: #2b4a35; }
.choice.is-wrong { border: 2px solid var(--foreground); background: #1a2a22; }
.choice[disabled] { cursor: default; }
.choice-mark { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--gold-strong); display: inline-flex; gap: 6px; align-items: center; }
.feedback { margin-top: 26px; padding: 22px 24px; border-left: 2px solid var(--gold); background: #08140fcc; }
.feedback[hidden] { display: none; }
.feedback h3 { font-size: 17px; font-weight: 600; color: var(--gold-strong); display: flex; gap: 10px; align-items: center; }
.feedback h3 .icon { font-size: 18px; }
.feedback p { margin-top: 10px; color: var(--text-body); font-size: 15px; line-height: 1.8; }
.feedback p strong { color: var(--cream); font-weight: 600; }
.quiz-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
.score { text-align: left; }
.score-figure { font-family: var(--font-display); font-size: clamp(64px, 7vw, 110px); line-height: 1; letter-spacing: -0.05em; color: var(--gold-pale); margin: 18px 0 8px; }
.score-list { margin-top: 24px; border-bottom: 1px solid var(--line); }
.score-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-soft); }
.score-list .icon { font-size: 18px; color: var(--gold); margin-top: 4px; }

/* 08 Closing */
.closing { position: relative; background: radial-gradient(ellipse at 50% 80%, var(--glow-closing) 0, var(--surface-footer) 65%); padding: var(--space-110) var(--gutter) var(--space-110); overflow: hidden; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr); gap: 8%; align-items: end; }
.closing h2 { font-size: clamp(42px, 4.4vw, 76px); }
.closing h2 .split-line + .split-line { color: var(--gold-bright); }
.remember { display: grid; gap: 0; margin-top: 50px; max-width: 640px; border-bottom: 1px solid var(--line); }
.remember li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.6; }
.remember .icon { font-size: 22px; color: var(--gold); margin-top: 2px; }
.remember strong { font-weight: 600; color: var(--gold-strong); }
.purpose { margin-top: 34px; font-size: 16px; color: var(--text-soft); max-width: 520px; }
.purpose strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -0.02em; color: var(--cream); margin-top: 8px; }
.contact-block p { color: var(--text-soft); margin: 14px 0 26px; max-width: 360px; }
.phone { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.03em; }
.phone .icon { color: var(--gold); font-size: 24px; transition: transform var(--dur-control); }
.phone:hover .icon { transform: translate(4px, -4px); }
.phone-sub { font-size: 14px; color: #a9b6a7; margin-top: 8px; }
.contact-links { display: grid; gap: 4px; margin-top: 28px; max-width: 360px; }
.contact-links a { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 52px; border-top: 1px solid var(--line); color: var(--gold); font-size: 14px; }
.contact-links a .icon { font-size: 17px; }
.footer { background: var(--surface-footer); padding: 0 var(--gutter) 110px; }
.notices { border-top: 1px solid #c9b78c30; padding: 28px 0; font-size: 13px; line-height: 1.8; color: var(--text-notice); }
.notices p { max-width: 880px; margin-bottom: 12px; }
.notices strong { font-weight: 600; color: var(--gold-strong); }
.notices a { text-decoration: underline; text-underline-offset: 4px; color: var(--gold-link); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 35px; padding-top: 35px; border-top: 1px solid #c9b78c25; font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; }
.footer-bar .logo { width: 170px; }
.footer-bar .footer-home { margin-right: auto; }
.footer-bar a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }

/* Mobile sheet */
.sheet { position: fixed; inset: 0; z-index: var(--z-dialog); background: var(--surface-dialog); padding: 100px 7% 40px; display: grid; align-content: start; gap: 0; }
.sheet[hidden] { display: none; }
.sheet a { font-family: var(--font-display); font-size: 36px; line-height: 1.2; padding: 16px 0; border-top: 1px solid var(--line); }
.sheet-close { position: absolute; top: 18px; right: 7%; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; font-size: 22px; }
.sheet-motion { justify-self: start; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; margin-top: 28px; padding: 10px 18px; background: var(--surface-chip); border: 1px solid var(--line-control); border-radius: var(--radius-chip); color: #e6dfcb; font-size: 14px; }
.sheet-motion .icon { font-size: 15px; }
.sheet-motion:focus-visible { outline: 2px solid var(--gold-focus); outline-offset: 2px; box-shadow: var(--focus-halo); }

/* Reveal motion */
.reveal { transform: translateY(22px); transition: transform var(--dur-settle) var(--ease-reveal); }
.reveal.is-in { transform: none; }
.wipe { clip-path: inset(10% 0 0 0); transition: clip-path var(--dur-reveal) var(--ease-reveal); }
.wipe img { transform: scale(1.08); transition: transform var(--dur-settle) ease; }
.wipe.is-in { clip-path: inset(0 0 0 0); }
.wipe.is-in img { transform: scale(1); }
.reduce-motion .reveal, .reduce-motion .wipe { opacity: 1; transform: none; clip-path: none; transition: none; }
.reduce-motion .wipe img { transform: none; }
.reduce-motion .statement .word { opacity: 1 !important; }
.reduce-motion .hero-media img { transform: none; }
.reduce-motion * { scroll-behavior: auto !important; }

/* Mid-size screens: tighter header links, then the menu button once the six links no longer fit beside the logo. */
@media (max-width: 1500px) {
  .header nav { gap: 20px; }
}
@media (max-width: 1339px) {
  .header { grid-template-columns: auto 1fr auto; }
  .header nav { display: none; }
  .header-brand { grid-column: 1; }
  .header-action { grid-column: 2; justify-self: end; margin-right: 12px; }
  .header-menu { display: grid; grid-column: 3; }
}

@media (max-width: 1100px) {
  .fleet-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fleet-stage .viewer-col { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 850px) {
  :root { --gutter: 7%; }
  .header { height: calc(80px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 7% 0; grid-template-columns: auto 1fr auto; }
  .header nav { display: none; }
  .header-brand { grid-column: 1; }
  .header-action { grid-column: 2; justify-self: end; }
  .header-call-long { display: none; }
  .header-call-short { display: inline; }
  .header-menu { display: grid; grid-column: 3; }
  .logo { width: 160px; }
  .section { padding: 80px var(--gutter) 90px; }
  .section-head, .safety-grid, .ops-grid, .chooser, .quiz-wrap, .closing-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding: 140px var(--gutter) 110px; }
  .hero-foot { flex-direction: column; align-items: start; }
  .scroll-cue { display: none; }
  .hero-media img { object-position: 93% 50%; }
  .hero-media::after { background: linear-gradient(180deg, #06130de0 0%, #06130dc4 55%, #06130d99 78%, #080e0b 100%); }
  .illustration-tag { top: 90px; }
  .safety-figure { position: relative; top: 0; }
  .quote-card { margin: -50px 0 0 18px; }
  .limit-panel p { padding-left: 0; padding-right: 0; }
  .fleet-stage { grid-template-columns: minmax(0, 1fr); }
  .lz-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lz-figure { order: 0; top: 84px; z-index: 2; padding-bottom: 4px; background: var(--surface-forest); }
  .lz-plan { width: min(100%, 40svh); margin: 0 auto; }
  .lz-caption { width: min(100%, 40svh); margin: 0 auto; padding-top: 10px; }
  .lz-panel p { padding-right: 0; }
  .lz-plan text { font-size: 14px; letter-spacing: 0.1em; }
  .viewer { aspect-ratio: 1 / 1; min-height: 0; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; }
  .compare-table thead { display: none; }
  .compare-table tr { border-top: 1px solid var(--line); padding: 14px 0; }
  .compare-table th, .compare-table td { border: 0; padding: 4px 0; }
  .compare-table td::before { content: attr(data-label) ' · '; color: var(--gold); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
  .quiz-options .choice { grid-template-columns: 30px 1fr; padding: 14px 16px; }
  .quiz-options .choice-mark { grid-column: 2; }
  .quiz-card { padding: 24px 18px; }
  .motion-chip { display: none; } /* the menu carries the motion switch on phones */
  .footer { padding-bottom: 120px; }
}

@media (max-width: 380px) {
  .floating span:first-child { font-size: 12px; }
  .tab { padding: 10px 12px; }
}

@media print { .header, .floating, .motion-chip, .skip { display: none !important; } }
