/* Pilot Prep Guide. Tokens and layout from _work/design-plan.md. */

/* ---------- fonts ---------- */
@font-face { font-family: 'Brygada 1918'; src: url(../fonts/brygada-1918-var.woff2) format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(../fonts/barlow-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(../fonts/barlow-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(../fonts/barlow-condensed-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Brygada fallback'; src: local('Georgia Bold'), local('Georgia'); font-weight: 600; size-adjust: 91.4%; ascent-override: 92%; descent-override: 26%; }
@font-face { font-family: 'Barlow fallback'; src: local('Arial'); font-weight: 400; size-adjust: 94%; ascent-override: 100%; descent-override: 20%; }
@font-face { font-family: 'Barlow fallback'; src: local('Arial Bold'); font-weight: 600; size-adjust: 90.8%; ascent-override: 104%; descent-override: 21%; }
@font-face { font-family: 'Barlow Condensed fallback'; src: local('Arial Narrow Bold'), local('Arial Narrow'); font-weight: 600; size-adjust: 88.5%; ascent-override: 110%; descent-override: 22%; }

:root {
  --deck: #0A1430; --navy: #12306F; --paper: #F3F5F8; --route: #D2338C; --brass: #D9A84E; --hud: #7DF0B0;
  --ink: #0E1630; --ink-2: #3A4566; --sky: #DCE6F5; --haze: #E9EDF4; --white: #fff; --on-dark: #E9EEF8; --on-dark-2: #B8C3DB;
  --display: 'Brygada 1918', 'Brygada fallback', Georgia, serif;
  --body: 'Barlow', 'Barlow fallback', Arial, sans-serif;
  --cond: 'Barlow Condensed', 'Barlow Condensed fallback', 'Arial Narrow', sans-serif;
  --r: 8px; --wrap: 1320px; --gut: clamp(16px, 4vw, 48px);
  --sec-y: clamp(84px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --media-cap: min(76vh, 760px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; margin: 0; display: flow-root; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--route); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--brass); }
h1.em-break em, h2.em-break em, h3.em-break em { display: block; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.08rem, 1.25vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }
.on-dark { color: var(--on-dark); }
.on-dark .lede { color: var(--on-dark-2); }
:focus-visible { outline: 3px solid var(--route); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font: 600 .95rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; }

/* masked heading lines (frontend-design recipe; nets to zero height change) */
.ln-mask { padding: .2em .15em .5em; margin: -.7em -.15em -.5em; }
.ln-mask:first-child { margin-top: -.2em; }

/* ---------- sections and backgrounds ---------- */
.sec { position: relative; padding: var(--sec-y) 0; overflow: clip; isolation: isolate; }
.bg-paper { background: var(--paper) url(../img/tex/chart-grid.svg) 0 0 / 240px 240px; }
.bg-sky { background: var(--sky) url(../img/tex/route.svg) center / cover no-repeat; }
.bg-sky::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(../img/tex/chart-grid.svg) 0 0 / 240px 240px; opacity: .7; }
.bg-white { background: #fff url(../img/tex/dots.svg) 0 0 / 28px 28px; }
.bg-navy { background: var(--navy) url(../img/tex/hud-ladder.svg) 0 0 / 320px 200px; }
.bg-deck { background: var(--deck) url(../img/tex/hud-ladder.svg) 0 0 / 320px 200px; }
.sec__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.sec__photo img { position: relative; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; }
.sec__wash { position: absolute; inset: 0; z-index: -1; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head .lede { margin: 0; }

/* ---------- buttons ---------- */
.btn { --bg: var(--navy); --fg: #fff; --fill: var(--route); position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font: 600 1.02rem/1 var(--body); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease); will-change: transform; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fill); border-radius: inherit; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass { --bg: var(--brass); --fg: var(--ink); --fill: #fff; }
.btn--navy { --bg: var(--navy); --fg: #fff; --fill: var(--route); }
.btn--line { --bg: transparent; --fg: currentColor; --fill: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px currentColor; }
.bg-paper .btn--line, .bg-sky .btn--line, .bg-white .btn--line { --fill: rgba(18, 48, 111, .08); }
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.ibtn { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid currentColor; background: transparent; cursor: pointer; transition: background .3s, color .3s; }
.ibtn:hover { background: #fff; color: var(--deck); }
.ibtn svg { width: 18px; height: 18px; }
.tlink { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding: 10px 0 6px; transition: background-size .4s var(--ease); }
.tlink:hover { background-size: 100% 1.5px; }
.tlink svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }
.on-dark .tlink { color: var(--brass); }

/* ---------- header ---------- */
.masthead { position: fixed; z-index: 100; top: 12px; left: 0; right: 0; padding: 0 clamp(10px, 1.6vw, 24px); pointer-events: none; }
.masthead__bar { pointer-events: auto; max-width: 1480px; margin: 0 auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); padding: 7px 10px 7px 16px; background: rgba(243, 245, 248, .94); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-radius: var(--r); box-shadow: 0 10px 40px -18px rgba(10, 20, 48, .5); transition: padding .4s var(--ease), box-shadow .4s; }
.masthead__logo { flex: none; display: block; line-height: 0; }
.masthead__logo img { height: 70px; width: auto; transition: height .4s var(--ease); }
.masthead.is-scrolled .masthead__logo img { height: 54px; }
.masthead__nav { margin-left: auto; }
.masthead__nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.masthead__nav a { position: relative; display: block; padding: 12px clamp(8px, .9vw, 14px); color: var(--navy); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.masthead__nav a::after { content: ''; position: absolute; left: clamp(8px, .9vw, 14px); right: clamp(8px, .9vw, 14px); bottom: 6px; height: 2px; background: var(--route); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.masthead__nav a:hover::after, .masthead__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.masthead__cta { flex: none; min-height: 52px; padding: 0 24px; }
.masthead__toggle { display: none; position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy); cursor: pointer; margin-left: auto; }
.masthead__toggle span { position: absolute; left: 15px; right: 15px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.masthead__toggle span:first-child { top: 21px; }
.masthead__toggle span:last-child { top: 29px; }
.menu-open .masthead__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .masthead__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--deck) url(../img/tex/hud-ladder.svg) 0 0 / 320px 200px; color: var(--on-dark); visibility: hidden; clip-path: circle(0 at calc(100% - 52px) 52px); transition: clip-path .6s var(--ease), visibility 0s .6s; overflow-y: auto; }
.menu-open .menu { visibility: visible; clip-path: circle(150% at calc(100% - 52px) 52px); transition: clip-path .7s var(--ease), visibility 0s; }
.menu__inner { min-height: 100%; padding: 130px var(--gut) 48px; display: flex; flex-direction: column; gap: 32px; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu__list a { display: block; padding: 14px 0; font: 600 clamp(1.7rem, 6vw, 2.4rem)/1.15 var(--display); text-decoration: none; color: #fff; }
.menu__list a[aria-current] { color: var(--brass); }
.menu__cta { align-self: flex-start; }
.menu-open { overflow: hidden; }
@media (max-width: 1180px) {
  .masthead__nav, .masthead__cta { display: none; }
  .masthead__toggle { display: block; }
}
@media (max-width: 600px) {
  .masthead { top: 8px; }
  .masthead__logo img { height: 56px; }
  .masthead.is-scrolled .masthead__logo img { height: 48px; }
}

/* ---------- hero (homepage) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--deck); color: #fff; overflow: clip; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: 0; overflow: hidden; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 50%; }
.hero__slide:not(:first-child) { visibility: hidden; }
.hero__sweep { position: absolute; top: -10%; bottom: -10%; left: 0; width: 2px; z-index: -2; background: var(--hud); box-shadow: 0 0 18px 2px rgba(125, 240, 176, .55); transform: translateX(-20px) skewX(-12deg); opacity: 0; pointer-events: none; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 20, 48, .9) 0%, rgba(10, 20, 48, .72) 34%, rgba(10, 20, 48, .2) 62%, rgba(10, 20, 48, .05) 100%),
  linear-gradient(0deg, rgba(10, 20, 48, .85) 0%, rgba(10, 20, 48, 0) 32%),
  linear-gradient(180deg, rgba(10, 20, 48, .55) 0%, rgba(10, 20, 48, 0) 22%); }
.hud { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; color: var(--hud); overflow: visible; filter: drop-shadow(0 0 6px rgba(125, 240, 176, .35)); }
.hud text { font-family: var(--cond); font-weight: 600; fill: currentColor; }
.hud .s { fill: none; stroke: currentColor; stroke-width: 2; }
.hud .box { fill: rgba(10, 20, 48, .92); stroke: currentColor; stroke-width: 1.8; }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 150px; }
.hero__title { font-size: clamp(2.7rem, 5.3vw, 5.6rem); max-width: 12.5em; color: #fff; text-shadow: 0 2px 30px rgba(10, 20, 48, .45); }
.hero__title em { color: var(--brass); }
.hero__lede { margin: 26px 0 0; font-size: clamp(1.1rem, 1.3vw, 1.3rem); color: #DCE3F2; max-width: 40em; text-wrap: balance; }
.flap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 24px 0 34px; }
.flap__label { font: 600 1rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.flap__board { display: inline-flex; gap: 3px; perspective: 400px; }
.flap__cell { position: relative; display: inline-grid; place-items: center; width: 1.05em; height: 1.5em; font: 600 clamp(1.05rem, 1.5vw, 1.3rem)/1 var(--cond); color: var(--brass); background: linear-gradient(180deg, #16213F 0 49%, #0E1733 51% 100%); border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.flap__cell::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.flap__cell.is-space { background: transparent; box-shadow: none; width: .55em; }
.flap__cell.is-space::after { display: none; }
.flap__text { display: none; }
.hero__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: clamp(20px, 3vh, 34px); }
.hero__bar .wrap { display: flex; align-items: center; gap: 22px; }
.hero__caption { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; font: 600 1rem/1.3 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--hud); }
.hero__count { flex: none; min-width: 4.6em; font-variant-numeric: tabular-nums; color: #fff; }
.hero__progress { flex: 1; height: 2px; background: rgba(255, 255, 255, .18); position: relative; max-width: 260px; }
.hero__progress i { position: absolute; inset: 0; background: var(--hud); transform-origin: left; transform: scaleX(0); }
.hero__cap-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero__ctrl { display: flex; gap: 10px; color: #fff; }
@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .hero__inner { justify-content: flex-end; padding-top: 120px; padding-bottom: 120px; }
  .hero__scrim { background: linear-gradient(0deg, rgba(10, 20, 48, .95) 0%, rgba(10, 20, 48, .75) 48%, rgba(10, 20, 48, .25) 78%, rgba(10, 20, 48, .45) 100%); }
  .hero__progress { display: none; }
  .hero__cap-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .hud .hud__tape, .hud .hud__alt, .hud .hud__spd { display: none; }
  .flap { margin: 18px 0 26px; }
  .flap__board { gap: 2px; }
  .flap__cell { width: .8em; height: 1.45em; font-size: 1rem; }
  .flap__cell.is-space { width: .4em; }
  .hero__title { font-size: clamp(2.2rem, 9.4vw, 2.7rem); }
}

/* ---------- product drivers: flight strips ---------- */
.strips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.strip { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 rgba(18, 48, 111, .1), 0 24px 50px -30px rgba(10, 20, 48, .45); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.strip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; z-index: 2; background: var(--brass); transform-origin: top; transition: background .4s; }
.strip:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(18, 48, 111, .1), 0 34px 60px -30px rgba(10, 20, 48, .55); }
.strip:hover::before { background: var(--route); }
.strip__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--deck); }
.strip__media img { width: 100%; height: 118%; object-fit: cover; transform: translateY(-8%); }
.strip__rows { display: grid; grid-template-columns: auto 1fr; border-top: 1.5px solid var(--navy); flex: 1; }
.strip__code { grid-row: span 2; padding: 14px 12px 14px 18px; border-right: 1px solid rgba(18, 48, 111, .25); font: 600 1rem/1 var(--cond); letter-spacing: .06em; color: var(--navy); writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; }
.strip__title { padding: 16px 18px 6px; border-bottom: 1px solid rgba(18, 48, 111, .14); }
.strip__title h3 { font-size: clamp(1.25rem, 1.45vw, 1.45rem); }
.strip__text { padding: 10px 18px 16px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.strip__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(18, 48, 111, .25); padding: 12px 14px 12px 18px; }
.strip__price { font: 600 1.15rem/1 var(--cond); letter-spacing: .04em; color: var(--navy); }
.strip__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; transition: background .4s, transform .4s var(--ease); }
.strip:hover .strip__go { background: var(--route); transform: rotate(-45deg); }
.strip__go svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .strips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .strips { grid-template-columns: 1fr; } .strip__media { aspect-ratio: 16 / 9; } }

/* ---------- Top 25 guide spotlight ---------- */
.guide__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.guide__stage { position: relative; display: grid; place-items: center; perspective: 1400px; padding: 20px 0; }
.guide__halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(217, 168, 78, .35); }
.guide__halo::after { content: ''; position: absolute; inset: 11%; border-radius: 50%; border: 1px solid rgba(125, 240, 176, .14); }
.book { position: relative; width: min(100%, calc(var(--media-cap) * .62), 380px); aspect-ratio: 2400 / 3392; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(4deg); }
.book__face { position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: 30px 40px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); backface-visibility: hidden; }
.book__face img { width: 100%; height: 100%; object-fit: cover; }
.book__face::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; z-index: 2; background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(0, 0, 0, .25) 40%, rgba(255, 255, 255, .05)); }
.book__glare { position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .22), transparent 45%); mix-blend-mode: screen; pointer-events: none; }
.book__spine { position: absolute; top: 2px; bottom: 2px; left: 0; width: 26px; transform: rotateY(-90deg) translateZ(0); transform-origin: left; background: #121212; }
.book__face--made { background: #121417 radial-gradient(120% 70% at 50% 100%, #24272c, #0f1012); color: #E8E8E8; display: flex; flex-direction: column; justify-content: center; padding: 0 9%; }
.book__face--made .bm-small { font: 600 .62rem/1 var(--cond); letter-spacing: .08em; color: var(--brass); }
.book__face--made .bm-rule { height: 1px; background: rgba(255, 255, 255, .3); margin: 10px 0 12px; }
.book__face--made .bm-title { font: 600 1.25rem/1.15 var(--display); }
.book__face--made .bm-sub { font: 600 .9rem/1.2 var(--display); margin-top: 4px; }
.book__face--made .bm-ed { font: 600 .62rem/1.3 var(--cond); letter-spacing: .06em; color: var(--brass); margin-top: 12px; }
.book__face[hidden] { display: none; }
.editions { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 26px; padding: 6px; background: rgba(255, 255, 255, .06); border-radius: 999px; width: fit-content; }
.editions button { position: relative; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-2); font-weight: 600; cursor: pointer; transition: color .3s; }
.editions button[aria-selected="true"] { color: var(--ink); }
.editions__pill { position: absolute; z-index: 0; border-radius: 999px; background: var(--brass); pointer-events: none; }
.editions button span { position: relative; z-index: 1; }
.guide__panel[hidden] { display: none; }
.feats { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.feats li { position: relative; padding-left: 30px; }
.feats strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.feats span { color: var(--on-dark-2); font-size: 1rem; line-height: 1.5; }
.feats li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border: 1.5px solid var(--hud); transform: rotate(45deg); border-radius: 2px; }
.guide__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.price { display: flex; align-items: baseline; gap: 8px; font: 600 2.2rem/1 var(--cond); color: var(--brass); }
.price small { font-size: .95rem; letter-spacing: .08em; color: var(--on-dark-2); }
.guide__meta { font: 600 .95rem/1.2 var(--cond); letter-spacing: .06em; color: var(--on-dark-2); text-transform: uppercase; }
@media (max-width: 900px) { .guide__grid { grid-template-columns: 1fr; } .feats { grid-template-columns: 1fr; } .guide__stage { order: -1; } }

/* ---------- approach chart (signature) ---------- */
.approach { padding: 0; }
.approach__pin { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 40px; }
.approach__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.approach__title { margin-bottom: 18px; }
.approach__title .lede { margin: 12px 0 0; }
.plate { position: relative; width: min(100%, calc((100svh - 330px) * 1.5625)); background: #fff; border-radius: var(--r); box-shadow: 0 30px 60px -36px rgba(10, 20, 48, .5), 0 0 0 1px rgba(18, 48, 111, .12); padding: 10px; }
.plate svg { width: 100%; height: auto; }
.plate .pl-frame { fill: none; stroke: var(--navy); stroke-width: 1.4; }
.plate .pl-grid { stroke: var(--navy); stroke-opacity: .08; }
.plate .pl-terrain { fill: var(--sky); }
.plate .pl-terrain2 { fill: #C9D7EE; }
.plate .pl-txt { font-family: var(--cond); font-weight: 600; fill: var(--navy); }
.plate .pl-plan { fill: none; stroke: var(--navy); stroke-opacity: .45; stroke-width: 2.5; stroke-dasharray: 8 10; }
.plate .pl-beacon { fill: var(--route); }
.plate .pl-pulse { fill: none; stroke: var(--route); stroke-width: 2; }
.plate .pl-lights circle { fill: var(--brass); }
.plate .pl-route { fill: none; stroke: var(--route); stroke-width: 4; stroke-linecap: round; }
.plate .pl-wpt { fill: #fff; stroke: var(--navy); stroke-width: 2; transition: fill .4s; }
.plate .pl-wpt.is-on { fill: var(--route); stroke: var(--route); }
.plate .pl-box { fill: #fff; stroke: var(--navy); stroke-width: 1.2; }
.plate .pl-rwy { fill: var(--navy); }
.plate .pl-plane { fill: var(--navy); }
.plate .pl-ring { fill: none; stroke: var(--navy); stroke-opacity: .25; }
.wpts { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.wpt { position: relative; background: #fff; border-radius: var(--r); padding: 18px 20px 18px 66px; box-shadow: 0 0 0 1px rgba(18, 48, 111, .14); transition: box-shadow .5s, opacity .5s, transform .5s var(--ease); }
.wpt__mark { position: absolute; left: 18px; top: 20px; width: 30px; height: 30px; }
.wpt__mark path { fill: #fff; stroke: var(--navy); stroke-width: 2; transition: fill .4s, stroke .4s; }
.wpt__id { font: 600 .95rem/1 var(--cond); letter-spacing: .08em; color: var(--route); }
.wpt h3 { font-size: clamp(1.15rem, 1.35vw, 1.35rem); margin: 6px 0 6px; }
.wpt p { font-size: .98rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 8px; }
.wpt__links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.wpt__links .tlink { padding: 8px 0 6px; font-size: .98rem; }
.approach.is-live .wpt { opacity: .62; }
.approach.is-live .wpt.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--route), 0 24px 40px -26px rgba(210, 51, 140, .6); transform: translateX(-6px); }
.wpt.is-on .wpt__mark path { fill: var(--route); stroke: var(--route); }
@media (max-height: 820px) and (min-width: 901px) { .wpt p { display: none; } .wpt { padding-top: 14px; padding-bottom: 14px; } }
@media (max-width: 900px) {
  .approach { padding: var(--sec-y) 0; }
  .approach__pin { min-height: 0; padding: 0; display: block; }
  .approach__grid { grid-template-columns: 1fr; }
  .plate { width: 100%; }
}

/* ---------- coaching band ---------- */
.coach .sec__wash { background: linear-gradient(90deg, rgba(10, 20, 48, .94) 0%, rgba(10, 20, 48, .82) 46%, rgba(18, 48, 111, .62) 100%); }
.coach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.coach__note { margin: 26px 0 30px; display: flex; gap: 14px; align-items: center; color: var(--on-dark); }
.coach__note b { font: 600 2.6rem/1 var(--cond); color: var(--brass); }
.panel { background: rgba(10, 20, 48, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.panel h3 { color: #fff; margin-bottom: 14px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark-2); line-height: 1.5; }
.checks li:first-child { border-top: 0; }
.checks strong { color: #fff; font-weight: 600; }
.checks svg { width: 26px; height: 26px; margin-top: 1px; }
.checks svg path { fill: none; stroke: var(--hud); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checks svg circle { fill: none; stroke: rgba(125, 240, 176, .35); stroke-width: 1.5; }
@media (max-width: 900px) { .coach__grid { grid-template-columns: 1fr; } }

/* ---------- quiz teaser ---------- */
.try__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.console { position: relative; background: var(--deck); border-radius: var(--r); box-shadow: 0 0 0 1px rgba(125, 240, 176, .18), 0 40px 80px -40px rgba(0, 0, 0, .8); color: var(--on-dark); overflow: hidden; }
.console__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid rgba(125, 240, 176, .16); font: 600 .95rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: var(--hud); }
.console__clock { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.gauge { width: 40px; height: 40px; }
.gauge circle { fill: none; stroke-width: 3; }
.gauge .g-bg { stroke: rgba(125, 240, 176, .18); }
.gauge .g-fg { stroke: var(--hud); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.console__body { padding: clamp(20px, 2.6vw, 32px); }
.console__q { color: #fff; font-size: clamp(1.2rem, 1.6vw, 1.5rem); margin-bottom: 20px; }
.opts { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.opt { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; text-align: left; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); color: var(--on-dark); font-size: 1rem; line-height: 1.45; cursor: pointer; transition: border-color .3s, background .3s, opacity .3s, transform .3s var(--ease); }
.opt:hover:not(:disabled) { border-color: rgba(217, 168, 78, .7); background: rgba(217, 168, 78, .07); }
.opt__k { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .3); font: 600 1rem/1 var(--cond); }
.opt__i { position: absolute; inset: 4px; width: 24px; height: 24px; opacity: 0; color: var(--deck); }
.opt.is-picked { border-color: var(--brass); background: rgba(217, 168, 78, .1); }
.opt.is-right { border-color: var(--hud); background: rgba(125, 240, 176, .08); }
.opt.is-right .opt__k { background: var(--hud); border-color: var(--hud); color: var(--deck); }
.opt.is-wrong { border-color: #FF6B7D; background: rgba(255, 107, 125, .08); }
.opt.is-dim { opacity: .45; }
.opt.is-right .opt__i, .opt.is-wrong .opt__i { opacity: 1; }
.opt.is-right .opt__k b, .opt.is-wrong .opt__k b { opacity: 0; }
.opt.is-wrong .opt__k { background: #FF6B7D; border-color: #FF6B7D; }
.opt:disabled { cursor: default; }
.console__fb { overflow: hidden; }
.console__fb p { margin: 18px 0 0; padding: 16px 18px; border-radius: var(--r); background: rgba(125, 240, 176, .07); border-left: 3px solid var(--hud); color: var(--on-dark); line-height: 1.55; }
.console__fb p.is-miss { background: rgba(255, 107, 125, .07); border-left-color: #FF6B7D; }
.console__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 22px 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
.console__foot .note { font-size: .98rem; color: var(--on-dark-2); }
@media (max-width: 900px) { .try__grid { grid-template-columns: 1fr; } }

/* ---------- testimonials: boarding passes ---------- */
.proof .sec__wash { background: linear-gradient(180deg, rgba(10, 20, 48, .9), rgba(10, 20, 48, .78) 50%, rgba(10, 20, 48, .92)); }
.passes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.pass { display: grid; grid-template-columns: minmax(0, 1fr) 150px; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.pass__main { position: relative; padding: clamp(24px, 2.6vw, 36px); }
.pass__main::before { content: '\201D'; position: absolute; right: 22px; bottom: -34px; font: 600 6rem/1 var(--display); color: var(--route); opacity: .2; }
.pass__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1.5px solid var(--navy); font: 600 .95rem/1 var(--cond); letter-spacing: .08em; color: var(--navy); }
.pass blockquote { margin: 0; font-size: clamp(1.02rem, 1.1vw, 1.1rem); line-height: 1.65; color: var(--ink); }
.pass__stub { position: relative; padding: clamp(24px, 2.6vw, 36px) 20px; border-left: 2px dashed rgba(18, 48, 111, .3); display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: 0 var(--r) var(--r) 0; }
.pass__stub::before, .pass__stub::after { content: ''; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--deck); }
.pass__stub::before { top: -11px; }
.pass__stub::after { bottom: -11px; }
.pass__stub dt { font: 600 .9rem/1 var(--cond); letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.pass__stub dd { margin: 4px 0 0; font: 600 1.35rem/1.1 var(--display); color: var(--navy); }
.pass__stub dl { margin: 0; display: grid; gap: 14px; }
.pass__bars { margin-top: auto; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .8; }
@media (max-width: 1000px) { .passes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pass { grid-template-columns: 1fr; } .pass__stub { border-left: 0; border-top: 2px dashed rgba(18, 48, 111, .3); border-radius: 0 0 var(--r) var(--r); flex-direction: row; flex-wrap: wrap; } .pass__stub dl { grid-template-columns: repeat(3, auto); gap: 18px; } .pass__stub::before, .pass__stub::after { display: none; } .pass__bars { display: none; } }

/* ---------- partners marquee ---------- */
.partners { padding: clamp(64px, 7vw, 100px) 0; }
.partners h2 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.partners .sec__head { margin-bottom: 36px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; }
.marquee__item { flex: none; width: 220px; height: 112px; display: grid; place-items: center; padding: 18px 26px; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px rgba(18, 48, 111, .1); }
.marquee__item img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .4s, opacity .4s; }
.marquee__item:hover img { filter: none; opacity: 1; }

/* ---------- self prep CTA ---------- */
.sps .sec__wash { background: linear-gradient(90deg, rgba(18, 48, 111, .96) 0%, rgba(18, 48, 111, .86) 50%, rgba(18, 48, 111, .62) 100%); }
.sps__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.frame { position: relative; }
.frame::before { content: ''; position: absolute; inset: 0; transform: translate(18px, 18px); border: 1.5px solid var(--brass); border-radius: var(--r); z-index: -1; }
.frame__img { border-radius: var(--r); overflow: hidden; }
.frame__img img { width: 100%; height: auto; }
.frame__tag { position: absolute; left: -12px; bottom: 26px; background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font: 600 1rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.included { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.included li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); line-height: 1.45; }
.included li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 7px; background: var(--brass); transform: rotate(45deg); }
.fine { margin-top: 14px; font-size: .98rem; color: var(--on-dark-2); }
@media (max-width: 900px) { .sps__grid { grid-template-columns: 1fr; } .included { grid-template-columns: 1fr; } .frame__tag { left: 12px; } }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--deck) url(../img/tex/chart-grid.svg) 0 0 / 240px 240px; color: var(--on-dark-2); padding: 70px 0 30px; overflow: clip; isolation: isolate; }
.foot::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 48, .93), rgba(10, 20, 48, .97)); }
.foot__route { position: absolute; left: 0; top: 0; width: 100%; height: 120px; }
.foot__route path { fill: none; stroke-width: 2; }
.foot__route-line { stroke: rgba(210, 51, 140, .45); }
.foot__route-flow { stroke: var(--brass); stroke-dasharray: 2 26; stroke-linecap: round; opacity: .8; }
.foot__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 50px; }
.foot__logo { display: inline-block; background: var(--paper); border-radius: var(--r); padding: 10px 14px; margin-bottom: 18px; }
.foot__logo img { height: 70px; width: auto; }
.foot__brand p { max-width: 36em; font-size: 1rem; }
.foot__h { font: 600 1rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 8px 0; color: var(--on-dark); text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) 0 88% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.foot li a:hover { background-size: 100% 1px; }
.foot__note { margin-top: 12px; font-size: 1rem; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .98rem; }
.foot__base p { margin: 0; }
.foot__credit a { color: var(--brass); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- motion fallbacks ---------- */
.no-js .hero__slide:not(:first-child) { visibility: hidden; }
.strip::before { opacity: var(--tab, 1); }
/* the hero text waits for its intro (fonts ready, at most 1.5 s); js-fallback shows it if the scripts never arrive */
.js:not(.reduce):not(.js-fallback) .hero__title { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.hud.is-behind { opacity: .32 !important; }
@media (max-width: 900px) {
  .sec__head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .book { width: min(56vw, 250px); }
  .guide__halo { width: min(90vw, 360px); }
}

.hold { padding-top: clamp(150px, 18vh, 200px); min-height: 70vh; }

/* the logo strip only scrolls with motion and scripts; otherwise it is a wrapped grid with every logo in view */
.no-js .marquee, .reduce .marquee { -webkit-mask-image: none; mask-image: none; }
.no-js .marquee__track, .reduce .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--gut); }
.no-js .marquee__item[aria-hidden], .reduce .marquee__item[aria-hidden] { display: none; }
@media (max-width: 600px) { .marquee__item { width: 160px; height: 92px; padding: 14px 18px; } .marquee__track { gap: 12px; } }
