/* ==========================================================================
   Hangar — Apple-style aviation catalog
   Layers: content (dark surfaces, colour) · navigation (Liquid Glass)
   ========================================================================== */

:root {
  --bg: #000;
  --surface: #0d0d0f;
  --surface-2: #151518;
  --surface-3: #1d1d21;
  --hairline: rgba(255, 255, 255, .09);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --blue: #2997ff;
  --blue-2: #0a84ff;
  --pink: #ff375f;
  --radius-xl: 36px;
  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(22px, 4vw);
  --maxw: 1320px;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
::selection { background: rgba(41, 151, 255, .45); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2); margin: 0 0 14px;
}
.display {
  font-size: clamp(52px, min(9vw, 14vh), 132px);
  line-height: .92; letter-spacing: -.055em; font-weight: 700; margin: 0;
}
.h2 {
  font-size: clamp(38px, 6vw, 80px); line-height: 1; letter-spacing: -.045em; font-weight: 700; margin: 0;
}
.h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.03em; font-weight: 650; margin: 0; }
.lead { font-size: clamp(19px, 2vw, 26px); line-height: 1.3; color: var(--text-2); letter-spacing: -.025em; font-weight: 500; margin: 0; }
.grad-text {
  background: linear-gradient(100deg, #fff 0%, #9fd0ff 35%, #2997ff 60%, #bf5af2 95%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes gradShift { to { background-position: 100% 0; } }
/* split words carry their own clip (background-clip doesn't reach transformed children) */
.grad-text.split { background: none; animation: none; }
.grad-text.split .w > span {
  background: linear-gradient(100deg, #fff 0%, #9fd0ff 35%, #2997ff 60%, #bf5af2 95%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--text-2); }
.num { font-variant-numeric: tabular-nums; }

/* word-split reveal */
/* room for descenders (g, p) and the overhang of tight tracking (the final "."), without shifting layout */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .2em; margin: 0 -.1em -.2em; }
.split .w > span { display: inline-block; will-change: transform; padding: 0 .1em .2em; margin: 0 -.1em -.2em; }

/* ==========================================================================
   LIQUID GLASS (navigation layer only)
   ========================================================================== */
.glass {
  --g-tint: rgba(255, 255, 255, .07);
  position: relative;
  background: var(--g-tint);
  -webkit-backdrop-filter: blur(22px) saturate(185%) brightness(1.06);
  backdrop-filter: blur(22px) saturate(185%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, .30),
    inset 0 -1px 0 0 rgba(255, 255, 255, .05),
    inset 1px 0 0 0 rgba(255, 255, 255, .07),
    inset -1px 0 0 0 rgba(255, 255, 255, .07),
    inset 0 -16px 24px -18px rgba(0, 0, 0, .55),
    0 12px 40px -12px rgba(0, 0, 0, .7),
    0 2px 6px rgba(0, 0, 0, .25);
  isolation: isolate;
  transition: scale .5s var(--ease-spring), box-shadow .4s ease, background .4s ease;
}
/* specular highlight that follows the pointer */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background:
    radial-gradient(160px circle at var(--mx, 30%) var(--my, -20%), rgba(255, 255, 255, .22), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 45%);
  opacity: .9; transition: opacity .4s ease;
}
/* rim light (thin bright edge, darker bottom) */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass.interactive:active, button.glass:active { scale: .96; }
.glass-tint { --g-tint: rgba(10, 132, 255, .55); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center; pointer-events: none;
}
.nav .nav-pill { transition: translate .6s var(--ease-out), opacity .4s ease, transform .5s var(--ease-spring); }
.nav.hide .nav-pill { translate: 0 -140%; opacity: 0; }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 6px;
  height: 52px; padding: 0 8px 0 18px; border-radius: 999px;
  min-width: min(620px, calc(100vw - 28px));
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; letter-spacing: -.02em; margin-right: auto; }
.brand svg { transform: rotate(45deg); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(245, 245, 247, .82); padding: 8px 14px; border-radius: 999px;
  transition: background .3s ease, color .3s ease;
}
.nav-links a:hover, .nav-links a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-search { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .3s; margin-left: 4px; }
.nav-search:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 620px) { .nav-links a { padding: 8px 9px; font-size: 13px; } .brand span { display: none; } .nav-pill { padding-left: 14px; } .nav-lang svg { display: none; } .nav-lang { padding: 0 10px; } }

/* language picker: the menu lives outside the pill so its own glass blurs the page */
.nav-lang {
  height: 38px; padding: 0 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px;
  color: rgba(245, 245, 247, .86); font-size: 12px; font-weight: 650; letter-spacing: .04em;
  transition: background .3s, color .3s;
}
.nav-lang:hover, .nav-lang[aria-expanded="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.lang-menu {
  position: absolute; top: 0; left: 0; min-width: 168px; padding: 6px; border-radius: 22px;
  display: flex; flex-direction: column; gap: 2px; pointer-events: none;
  opacity: 0; transform: translateY(-6px) scale(.96); transform-origin: top right;
  transition: opacity .25s ease, transform .45s var(--ease-spring);
}
.lang-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 40px; padding: 0 14px; border-radius: 16px; font-size: 14px; font-weight: 500; color: rgba(245, 245, 247, .86); text-align: left;
  transition: background .25s, color .25s;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; outline: none; }
.lang-menu button[aria-checked="true"] { color: #fff; font-weight: 600; }
.lang-menu .lang-ck { width: 14px; height: 14px; opacity: 0; color: var(--blue); }
.lang-menu button[aria-checked="true"] .lang-ck { opacity: 1; }

/* ---------- cursor glow ---------- */
#cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 0;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(41, 151, 255, .10), transparent 62%);
  transition: opacity .6s ease; will-change: transform;
}
@media (hover: none) { #cursor-glow { display: none; } }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 104px 0 70px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg { will-change: opacity; }
.hero-bg .orb { position: absolute; border-radius: 50%; opacity: .6; will-change: transform; }
.hero-bg .orb.o1 { width: 70vw; height: 70vw; left: -24vw; top: -28vw; background: radial-gradient(closest-side, #0a3d7a, rgba(10, 61, 122, .45) 45%, transparent); }
.hero-bg .orb.o2 { width: 60vw; height: 60vw; right: -22vw; top: 4vh; background: radial-gradient(closest-side, #3a1466, rgba(58, 20, 102, .45) 45%, transparent); }
.hero-bg .orb.o3 { width: 80vw; height: 50vw; left: 10vw; bottom: -24vw; background: radial-gradient(closest-side, #06305c, rgba(6, 48, 92, .45) 45%, transparent); }
.hero-bg .grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; overflow: hidden;
  transform: perspective(600px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask: linear-gradient(to top, #000 10%, transparent 85%); mask: linear-gradient(to top, #000 10%, transparent 85%);
}
.hero-bg .grid-floor::before {
  content: ""; position: absolute; left: 0; right: 0; top: -80px; bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: floorMove 3s linear infinite; will-change: transform;
}
@keyframes floorMove { to { transform: translateY(80px); } }
.hero-copy { position: relative; z-index: 2; will-change: transform, opacity; }
.hero-copy .display > span { display: block; }
.hero .lead { margin: 22px auto 28px; max-width: 640px; }
.search-pill {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 12px 0 24px; border-radius: 999px;
  min-width: min(520px, calc(100vw - 48px)); color: var(--text-2); font-size: 17px; cursor: text;
}
.search-pill:hover { scale: 1.02; }
.search-pill span { margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: none), (max-width: 620px) { .search-pill kbd { display: none; } }
.search-pill kbd, .sp-field kbd {
  font-family: inherit; font-size: 12px; color: var(--text-2); padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1);
}
.hero-stage { will-change: transform; position: relative; z-index: 1; width: 100%; flex: 1; min-height: clamp(170px, 30vh, 360px); max-height: 420px; margin-top: 10px; }
.hero-plane {
  position: absolute; left: 50%; top: 50%; width: min(1100px, 92vw); height: 100%; object-fit: contain;
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6));
  will-change: transform, opacity;
}
.hero-caption {
  position: relative; z-index: 2; margin-top: 8px; font-size: 14px; color: var(--text-2); height: 22px;
  display: flex; gap: 10px; align-items: center; justify-content: center;
}
.hero-caption .dot { width: 8px; height: 8px; border-radius: 50%; }
.hero-stats { display: flex; gap: clamp(26px, 6vw, 80px); justify-content: center; margin-top: 44px; position: relative; z-index: 2; }
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; font-weight: 700; }
.hero-stats span { font-size: 13px; color: var(--text-2); }
.scroll-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 22px; height: 34px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35);
}
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- section scaffold ---------- */
.section { position: relative; padding: clamp(90px, 14vw, 180px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.section-head .lead { max-width: 520px; }


/* ==========================================================================
   AIRLINES STRIP
   ========================================================================== */
.al-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 320px); gap: 18px;
  overflow-x: auto; padding: 10px var(--gutter) 40px; scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab;
}
.al-scroller::-webkit-scrollbar { display: none; }
.al-scroller.dragging { cursor: grabbing; scroll-snap-type: none; }
.al-card {
  --c: #2997ff; --c2: #fff;
  position: relative; height: 380px; border-radius: var(--radius-l); overflow: hidden; scroll-snap-align: start;
  background: var(--surface-2);
  display: flex; flex-direction: column; padding: 26px;
  transform-style: preserve-3d;
}
.al-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--c) 70%, transparent), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 60%);
  opacity: .55; transition: opacity .6s ease;
}
.al-card:hover::before { opacity: .95; }
.al-card > * { position: relative; z-index: 1; }
.al-card .al-code { font-size: 96px; font-weight: 800; letter-spacing: -.06em; line-height: .9; color: rgba(255, 255, 255, .92); }
.al-card .al-name { font-size: 22px; font-weight: 650; letter-spacing: -.03em; margin-top: auto; }
.al-card .al-meta { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.al-card .al-plane {
  position: absolute; z-index: 1; right: -38%; top: 44%; width: 150%; max-width: none;
  transform: translateX(14%); opacity: .9; transition: transform 1.1s var(--ease-out), opacity .7s ease;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45));
}
.al-card:hover .al-plane { transform: translateX(-4%) scale(1.06); opacity: 1; }
.al-card .al-alliance { position: absolute; top: 26px; right: 24px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   SHOWCASE (pinned scroll)
   ========================================================================== */
.showcase { position: relative; height: 100vh; overflow: hidden; background: radial-gradient(120% 90% at 50% 110%, #0b1b33 0%, #000 60%); }
.sc-head { position: absolute; top: 96px; left: 0; right: 0; text-align: center; z-index: 5; }
.sc-slide { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 16vh; }
.sc-bgname {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%);
  font-size: clamp(120px, 26vw, 420px); font-weight: 800; letter-spacing: -.07em; white-space: nowrap; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12);
  pointer-events: none;
}
.sc-plane {
  position: relative; width: min(1150px, 94vw); z-index: 2;
  filter: drop-shadow(0 50px 50px rgba(0, 0, 0, .7));
}
.sc-info {
  position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 90px); z-index: 3;
  display: flex; justify-content: center; gap: clamp(24px, 6vw, 90px); flex-wrap: wrap; text-align: center;
}
.sc-info .sc-title { width: 100%; }
.sc-info .sc-title h3 { font-size: clamp(30px, 4vw, 54px); letter-spacing: -.045em; margin: 0; font-weight: 700; }
.sc-info .sc-title p { margin: 4px 0 0; color: var(--text-2); font-size: 15px; }
.sc-stat b { display: block; font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; }
.sc-stat span { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.sc-cta { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 4; }
.sc-progress { position: absolute; right: clamp(14px, 3vw, 40px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 5; }
.sc-progress i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); transition: height .5s var(--ease-out), background .4s; }
.sc-progress i.on { height: 26px; background: #fff; }

/* ==========================================================================
   CATALOG
   ========================================================================== */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--hairline);
  transition: background .35s ease, color .35s ease, transform .4s var(--ease-spring), border-color .35s;
}
.chip:hover { color: #fff; transform: translateY(-1px); }
.chip.on { background: #f5f5f7; color: #000; border-color: transparent; }
.chip-row-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.cat-filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 28px 0 34px; }
.cat-count { margin-left: auto; font-size: 14px; color: var(--text-2); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.ac-card {
  position: relative; border-radius: var(--radius-l); background: var(--surface-2); overflow: hidden;
  padding: 22px 22px 20px; min-height: 280px; display: flex; flex-direction: column;
  transition: background .5s ease;
  transform-style: preserve-3d; will-change: transform;
}
.ac-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 50%);
}
.ac-card:hover { background: var(--surface-3); }
.ac-card:hover::before { opacity: 1; }
.ac-card .ac-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ac-card .ac-maker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.ac-card .ac-cat { font-size: 12px; color: var(--text-3); }
.ac-card .ac-name { font-size: 28px; font-weight: 700; letter-spacing: -.04em; margin: 6px 0 0; line-height: 1.05; }
.ac-card .ac-full { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.ac-card .ac-img { flex: 1; display: grid; place-items: center; margin: 12px -8px; min-height: 110px; }
.ac-card .ac-img img { width: 112%; max-width: none; transition: transform .9s var(--ease-out); filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .5)); }
.ac-card:hover .ac-img img { transform: translateX(-3%) scale(1.05) translateZ(40px); }
.ac-card .ac-stats { display: flex; gap: 18px; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--hairline); padding-top: 12px; }
.ac-card .ac-stats b { color: var(--text); font-weight: 600; }
.ac-card .ac-ops { display: flex; gap: 3px; margin-left: auto; align-items: center; }
.ac-card .ac-ops i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--surface-2); margin-left: -4px; }

/* ==========================================================================
   GLOBE (shared)
   ========================================================================== */
.globe {
  position: relative; overflow: hidden; background: #000006; border-radius: var(--radius-xl);
  isolation: isolate;
}
.globe .g-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.globe .g-stars span { position: absolute; border-radius: 50%; background: #fff; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: var(--o); } 50% { opacity: calc(var(--o) * .3); } }
.globe .g-map { position: absolute; inset: 0; z-index: 1; }
.globe .g-map canvas { outline: none; }
.globe .maplibregl-ctrl-attrib { font-size: 9px; opacity: .45; background: transparent !important; }
.globe .maplibregl-ctrl-attrib a { color: #aaa; }
.globe .maplibregl-ctrl-attrib-button { filter: invert(1); opacity: .5; }
.globe .g-controls { position: absolute; z-index: 5; top: 16px; right: 16px; display: flex; gap: 8px; }
.gbtn {
  height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #fff;
}
.gbtn svg { width: 16px; height: 16px; }
.gbtn.on { --g-tint: rgba(10, 132, 255, .6); }
.globe .g-hint {
  position: absolute; z-index: 4; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-size: 12px; color: rgba(255, 255, 255, .55); pointer-events: none; transition: opacity .5s;
}
.globe.active .g-hint { opacity: 0; }
.ap-pin {
  pointer-events: none; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff;
  padding: 5px 10px 5px 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(20, 20, 24, .55); -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 20px rgba(0, 0, 0, .5);
  display: flex; align-items: center; gap: 7px; transform-origin: 50% 100%;
  animation: pinIn .7s var(--ease-spring) both;
}
.ap-pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #2997ff); box-shadow: 0 0 10px var(--c, #2997ff); }
.ap-pin small { font-weight: 500; color: rgba(255, 255, 255, .7); font-size: 11px; }
@keyframes pinIn { from { opacity: 0; transform: translateY(8px) scale(.6); } }
.g-card {
  position: absolute; z-index: 6; left: 16px; bottom: 16px; right: 16px; max-width: 420px;
  border-radius: 24px; padding: 18px 20px; transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform .7s var(--ease-spring), opacity .4s ease;
}
.g-card.show { transform: none; opacity: 1; pointer-events: auto; }
.g-card .gc-route { display: flex; align-items: center; gap: 12px; }
.g-card .gc-code { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.g-card .gc-city { font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: 3px; }
.g-card .gc-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .6), rgba(255, 255, 255, .1)); position: relative; }
.g-card .gc-line svg { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%) rotate(90deg); }
.g-card .gc-meta { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.g-card .gc-meta b { color: #fff; font-weight: 650; display: block; font-size: 17px; letter-spacing: -.02em; }
.g-card .gc-types { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.g-card .gc-types a { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .3s; }
.g-card .gc-types a:hover { background: rgba(255, 255, 255, .25); }

/* home "all routes" globe */
.world-section { padding-bottom: clamp(40px, 8vw, 100px); }
.world-globe { height: min(86vh, 900px); margin: 0 var(--gutter); }
.world-stats { display: flex; gap: clamp(26px, 6vw, 80px); margin-top: 40px; justify-content: center; text-align: center; }
.world-stats b { display: block; font-size: clamp(34px, 5vw, 64px); letter-spacing: -.045em; font-weight: 700; }
.world-stats span { font-size: 13px; color: var(--text-2); }

/* ==========================================================================
   AIRCRAFT DETAIL
   ========================================================================== */
.detail { position: relative; }
.d-hero { position: relative; min-height: 100svh; padding: 96px 0 28px; overflow: hidden; display: flex; flex-direction: column; }
.d-hero .d-glow {
  position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 50% 62%, color-mix(in srgb, var(--c, #2997ff) 38%, transparent), transparent 70%),
    radial-gradient(40% 30% at 80% 20%, color-mix(in srgb, var(--c2, #bf5af2) 20%, transparent), transparent 70%);
  transition: background 1s ease; filter: blur(20px);
}
.d-head { position: relative; z-index: 3; text-align: center; }
.d-title { font-size: clamp(64px, min(12vw, 18vh), 170px); line-height: .88; letter-spacing: -.065em; font-weight: 800; margin: 0; }
.d-title .ch { display: inline-block; will-change: transform; }
.d-full { margin-top: 8px; font-size: 16px; color: var(--text-2); }
.d-tagline { margin-top: 4px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.d-stage { position: relative; flex: 1; min-height: 200px; z-index: 2; display: grid; place-items: center; }
.d-bgname {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: clamp(140px, 30vw, 520px); font-weight: 800; letter-spacing: -.08em; white-space: nowrap; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07); pointer-events: none; z-index: 0;
}
.d-plane-wrap { position: relative; width: min(1150px, 92vw, calc((100svh - 440px) * 2.9)); z-index: 2; }
.d-plane { width: 100%; filter: drop-shadow(0 50px 45px rgba(0, 0, 0, .75)); will-change: transform, opacity; }
.d-shadow {
  position: absolute; left: 12%; right: 12%; bottom: -6%; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .8), transparent); filter: blur(8px); z-index: 1;
}
.d-ops-wrap { position: relative; z-index: 4; display: flex; justify-content: center; margin-top: 10px; padding: 0 16px; }
/* the glass shell stays put; only the strip inside scrolls */
.d-ops-bar { border-radius: 999px; max-width: 100%; overflow: hidden; }
.d-ops {
  --fl: 0px; --fr: 0px;
  display: flex; gap: 4px; padding: 5px; border-radius: inherit; overflow-x: auto; scrollbar-width: none; position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  mask: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
}
.d-ops.fade-l { --fl: 36px; }
.d-ops.fade-r { --fr: 36px; }
.d-ops::-webkit-scrollbar { display: none; }
.d-ops .op-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; z-index: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .6s var(--ease-spring), width .6s var(--ease-spring);
}
.d-ops button {
  position: relative; z-index: 1; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; white-space: nowrap; color: rgba(255, 255, 255, .85); transition: color .4s ease;
}
.d-ops button i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.d-ops button.on { color: #000; }
.d-nav {
  position: absolute; z-index: 5; top: 50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
}
.d-nav.prev { left: clamp(10px, 2.5vw, 40px); }
.d-nav.next { right: clamp(10px, 2.5vw, 40px); }
.d-nav:hover { scale: 1.08; }
.d-nav .d-nav-label {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-4px); white-space: nowrap;
  font-size: 12px; font-weight: 600; color: var(--text-2); opacity: 0; transition: opacity .3s, transform .4s var(--ease-out);
}
.d-nav:hover .d-nav-label { opacity: 1; transform: translateX(-50%); }
.d-back { position: fixed; z-index: 80; top: 17px; left: 16px; height: 46px; padding: 0 16px 0 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .d-back { top: 76px; } .d-nav { top: auto; bottom: 110px; } }
.d-scrollcue { position: relative; z-index: 3; text-align: center; font-size: 12px; color: var(--text-3); margin-top: 18px; }

.d-stats-sec { padding: clamp(60px, 10vw, 130px) 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  position: relative; border-radius: var(--radius-l); background: var(--surface-2); padding: 26px 26px 24px; min-height: 190px;
  display: flex; flex-direction: column; overflow: hidden;
}
.stat.big { grid-column: span 2; min-height: 260px; }
@media (max-width: 560px) { .stat.big { grid-column: span 2; } .stat { padding: 20px; min-height: 160px; } }
.stat .s-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.stat .s-val { margin-top: auto; font-size: clamp(38px, 5vw, 68px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.stat.big .s-val { font-size: clamp(56px, 8vw, 110px); }
.stat .s-val small { font-size: .38em; font-weight: 600; letter-spacing: -.02em; color: var(--text-2); margin-left: 4px; }
.stat .s-sub { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.stat .s-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin-top: 18px; overflow: hidden; }
.stat .s-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue-2), #64d2ff); }
.stat.speed .s-bar i { background: linear-gradient(90deg, #ff9f0a, #ff375f); }
.stat .s-gauge { position: absolute; right: -30px; top: -30px; width: 200px; height: 200px; opacity: .9; }
.stat.accent-speed { background: linear-gradient(160deg, #2a1208 0%, var(--surface-2) 60%); }
.stat.accent-range { background: linear-gradient(160deg, #06213f 0%, var(--surface-2) 60%); }

.spec-sec { padding: 0 0 clamp(60px, 10vw, 130px); }
.spec-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .spec-layout { grid-template-columns: 1fr; } }
.spec-desc .lead { margin-top: 18px; }
.spec-list { border-top: 1px solid var(--hairline); }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
.spec-row span { color: var(--text-2); }
.spec-row b { font-weight: 600; text-align: right; }

.routes-sec { padding: 0 0 clamp(60px, 10vw, 130px); }
.routes-layout { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 18px; height: min(82vh, 820px); }
@media (max-width: 900px) { .routes-layout { grid-template-columns: 1fr; height: auto; } .routes-layout .globe { height: 70vh; order: -1; } }
.route-list { overflow-y: auto; border-radius: var(--radius-l); background: var(--surface); padding: 8px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.route-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 18px;
  transition: background .3s ease;
}
.route-item:hover { background: var(--surface-2); }
.route-item.on { background: var(--surface-3); }
.route-item .ri-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--c, #2997ff); box-shadow: 0 0 12px var(--c, #2997ff); }
.route-item .ri-main { flex: 1; min-width: 0; }
.route-item .ri-codes { font-size: 17px; font-weight: 650; letter-spacing: -.02em; display: flex; gap: 8px; align-items: center; }
.route-item .ri-codes svg { opacity: .5; }
.route-item .ri-cities { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-item .ri-dist { text-align: right; font-size: 13px; color: var(--text-2); }
.route-item .ri-dist b { display: block; color: var(--text); font-weight: 600; font-size: 15px; }
.routes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.routes-head .rh-al { display: flex; align-items: center; gap: 12px; }
.routes-head .rh-al i { width: 14px; height: 14px; border-radius: 50%; }

.similar-sec { padding: 0 0 clamp(80px, 12vw, 160px); }
.sim-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 340px); gap: 16px; overflow-x: auto; padding: 0 var(--gutter) 20px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sim-scroller::-webkit-scrollbar { display: none; }
.sim-scroller .ac-card { scroll-snap-align: start; }

/* ==========================================================================
   AIRLINE DETAIL
   ========================================================================== */
.a-hero { position: relative; min-height: 92svh; padding: 140px 0 60px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.a-hero .a-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.a-hero .a-bg i { position: absolute; border-radius: 50%; filter: blur(90px); }
.a-hero .a-code {
  position: absolute; right: -2vw; bottom: -6vw; z-index: 0; font-size: clamp(200px, 42vw, 680px); font-weight: 800; letter-spacing: -.08em; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .08); pointer-events: none;
}
.a-hero .wrap { position: relative; z-index: 2; }
.a-hero .a-name { font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -.06em; font-weight: 800; margin: 0; }
.a-hero .a-tag { margin-top: 20px; }
.a-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 30px; margin-top: 60px; max-width: 980px; }
.a-meta b { display: block; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.04em; font-weight: 700; }
.a-meta span { font-size: 13px; color: var(--text-2); }
.a-plane { position: absolute; z-index: 1; right: -10vw; top: 18%; width: min(1100px, 80vw); opacity: .95; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)); }
@media (max-width: 900px) { .a-plane { position: relative; right: auto; top: auto; width: 110%; margin: 30px -5% 0; } }

.fleet-sec { padding: clamp(60px, 10vw, 130px) 0; }
.fleet-list { display: flex; flex-direction: column; }
.fleet-row {
  position: relative; display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 30px;
  padding: 26px 0; border-bottom: 1px solid var(--hairline); overflow: hidden;
}
.fleet-row:first-child { border-top: 1px solid var(--hairline); }
.fleet-row .fr-name { font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.fleet-row .fr-full { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.fleet-row .fr-img { transition: transform 1s var(--ease-out); }
.fleet-row .fr-img img { width: 100%; filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .55)); }
.fleet-row:hover .fr-img { transform: translateX(-4%) scale(1.04); }
.fleet-row .fr-stats { text-align: right; font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }
.fleet-row .fr-stats b { color: var(--text); font-weight: 600; }
.fleet-row .fr-arrow { position: absolute; right: 0; top: 50%; opacity: 0; transform: translate(-10px, -50%); transition: .5s var(--ease-out); }
@media (max-width: 760px) { .fleet-row { grid-template-columns: 1fr; gap: 10px; } .fleet-row .fr-stats { text-align: left; flex-direction: row; gap: 16px; } }
.net-globe { height: min(84vh, 860px); }

/* ==========================================================================
   SPOTLIGHT
   ========================================================================== */
#spotlight { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
#spotlight .sp-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .45s ease; -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); }
#spotlight.open { pointer-events: auto; }
#spotlight.open .sp-backdrop { opacity: 1; -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); transition: opacity .45s ease, backdrop-filter .5s ease; }
.sp-panel {
  position: relative; width: min(760px, calc(100vw - 28px)); margin: 12vh auto 0; display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(-20px) scale(.97); transition: opacity .35s ease, transform .6s var(--ease-spring);
}
#spotlight.open .sp-panel { opacity: 1; transform: none; }
.sp-field { display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 16px 0 24px; border-radius: 999px; color: var(--text-2); }
.sp-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 22px; letter-spacing: -.02em; }
.sp-field input::placeholder { color: rgba(255, 255, 255, .45); }
.sp-field input::-webkit-search-cancel-button { display: none; }
.sp-seg { align-self: center; display: flex; padding: 4px; border-radius: 999px; position: relative; }
.sp-seg button { position: relative; z-index: 1; height: 34px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); transition: color .35s; }
.sp-seg button.on { color: #000; }
.sp-seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); transition: transform .55s var(--ease-spring), width .55s var(--ease-spring); }
.sp-results {
  max-height: 58vh; overflow-y: auto; border-radius: 28px; background: rgba(22, 22, 26, .92); padding: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); scrollbar-width: thin; scrollbar-color: #333 transparent;
}
.sp-results:empty { display: none; }
.sp-group { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); padding: 12px 14px 6px; }
.sp-item { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-radius: 18px; transition: background .25s ease; }
.sp-item:hover, .sp-item.sel { background: rgba(255, 255, 255, .08); }
.sp-item .sp-thumb { width: 110px; flex: none; }
.sp-item .sp-t { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.sp-item .sp-s { font-size: 13px; color: var(--text-2); }
.sp-item .sp-go { margin-left: auto; color: var(--text-3); font-size: 13px; }
.sp-empty { padding: 30px; text-align: center; color: var(--text-2); }
.sp-item mark { background: none; color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: #f5f5f7; color: #000; transition: transform .4s var(--ease-spring), background .3s;
}
.btn:hover { transform: scale(1.04); background: #fff; }
.btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.link { color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.footer { padding: 60px 0 80px; border-top: 1px solid var(--hairline); color: var(--text-3); font-size: 12px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- view transitions ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .55s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: scale(.97); filter: blur(8px); } }
@keyframes vtIn { from { opacity: 0; transform: scale(1.03); filter: blur(8px); } }
::view-transition-group(plane) { animation-duration: .8s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-image-pair(plane) { isolation: auto; }
::view-transition-old(plane), ::view-transition-new(plane) { animation: none; mix-blend-mode: normal; height: 100%; object-fit: contain; }
::view-transition-old(plane) { display: none; }

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

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .d-hero { padding-top: 136px; }
  .a-hero { padding-top: 150px; }
  .d-scrollcue { display: none; }
}

/* ==========================================================================
   AIRLINE LOGOS (white monochrome marks, no plate)
   ========================================================================== */
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.logo b { display: none; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.logo.nologo img { display: none; }
.logo.nologo b { display: block; }
.al-card .al-logo { width: 78%; height: 46px; margin-top: 30px; font-size: 40px; transform: translateZ(30px); }
.a-hero .a-logo { width: min(300px, 70vw); height: 64px; margin-bottom: 28px; font-size: 42px; }
.sp-item .sp-badge { width: 96px; height: 34px; font-size: 15px; justify-content: center; }
.sp-item .sp-badge img { object-position: center; }

/* ==========================================================================
   TAKEOFF (top-down plane, scroll = throttle)
   ========================================================================== */
.flight {
  --craft: min(58vh, 82vw);
  position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; z-index: 1;
}
.fl-earth { position: absolute; inset: 0; transform-origin: 50% 46%; }
.fl-ground {
  position: absolute; inset: 0; transform-origin: 50% 46%;
  background: radial-gradient(90% 70% at 50% 46%, #0a0f15 0%, #05070a 55%, #000 100%);
  will-change: transform, opacity;
}
.fl-city { position: absolute; left: 50%; top: 46%; opacity: 0; will-change: transform, opacity; }
/* screen-sized runway; markings loop inside it (see flight()) */
.fl-runway {
  position: absolute; left: 50%; top: -25vh; height: 150vh; width: calc(var(--craft) * 1.06); overflow: hidden;
  background:
    linear-gradient(90deg, transparent 2.4%, rgba(255, 255, 255, .7) 2.4% 3.3%, transparent 3.3% 96.7%, rgba(255, 255, 255, .7) 96.7% 97.6%, transparent 97.6%),
    linear-gradient(90deg, #0f1013, #1b1c20 50%, #0f1013);
}
.fl-roll { position: absolute; left: 0; right: 0; top: calc(var(--p) * -1); bottom: 0; will-change: transform; }
.fl-center {
  left: 50%; right: auto; width: 5px; margin-left: -2.5px;
  background: repeating-linear-gradient(180deg, rgba(240, 240, 240, .85) 0 calc(var(--p) * .6), transparent calc(var(--p) * .6) var(--p));
}
/* edge lights, glow baked into the gradient */
.fl-edges {
  background:
    radial-gradient(circle, #fff7e6 0 1.6px, rgba(255, 214, 150, .6) 2.6px, rgba(255, 200, 120, .18) 5px, transparent 8px) 0 0 / 18px calc(var(--p) / 2) repeat-y,
    radial-gradient(circle, #fff7e6 0 1.6px, rgba(255, 214, 150, .6) 2.6px, rgba(255, 200, 120, .18) 5px, transparent 8px) 100% 0 / 18px calc(var(--p) / 2) repeat-y;
}
/* threshold patch hides the centreline under the numbers, then rolls away */
.fl-threshold { position: absolute; left: 0; right: 0; bottom: 25vh; height: 28vh; background: inherit; will-change: transform; }
.fl-num {
  position: absolute; left: 50%; bottom: 10vh; transform: translateX(-50%);
  font-size: 11vh; font-weight: 700; letter-spacing: .08em; line-height: 1; color: rgba(236, 236, 236, .82);
}
.fl-keys {
  position: absolute; left: 7%; right: 7%; bottom: 0; height: 8vh;
  background: repeating-linear-gradient(90deg, rgba(236, 236, 236, .82) 0 3.4%, transparent 3.4% 6.9%);
  -webkit-mask: linear-gradient(90deg, #000 44%, transparent 44% 56%, #000 56%); mask: linear-gradient(90deg, #000 44%, transparent 44% 56%, #000 56%);
}

.fl-clouds { position: absolute; inset: 0; pointer-events: none; }
.fl-clouds .cloud { position: absolute; top: 105%; height: auto; max-width: none; will-change: transform; }
.fl-clouds.front { z-index: 3; }
/* keeps copy and HUD legible over the runway markings */
.flight::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 3; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .85)); }
.fl-haze { position: absolute; inset: 0; z-index: 3; background: radial-gradient(80% 70% at 50% 50%, rgba(200, 214, 236, .9), rgba(120, 140, 170, .6)); opacity: 0; pointer-events: none; }

.fl-body { position: absolute; left: 50%; top: 46%; width: var(--craft); aspect-ratio: 1; z-index: 2; }
.fl-shadow { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(0) blur(7px); opacity: .6; will-change: transform, opacity; }
.fl-craft { position: absolute; inset: 0; will-change: transform; }
.fl-plane { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)); }
.fl-trail {
  position: absolute; top: 44%; width: 2.6%; height: 420%; margin-left: -1.3%; transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(220, 232, 255, .35) 30%, rgba(200, 220, 255, 0));
  filter: blur(2px); border-radius: 50%; will-change: transform, opacity;
}
.fl-trail.l { left: 35.8%; }
.fl-trail.r { left: 64.1%; }
.fl-light { position: absolute; will-change: opacity; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; z-index: 1; }
.fl-light.port { left: 5.8%; top: 63.5%; background: #ff3b30; box-shadow: 0 0 10px 3px rgba(255, 59, 48, .8), 0 0 30px 8px rgba(255, 59, 48, .35); }
.fl-light.stbd { left: 94.2%; top: 63.5%; background: #30d158; box-shadow: 0 0 10px 3px rgba(48, 209, 88, .8), 0 0 30px 8px rgba(48, 209, 88, .35); }
.fl-light.port::after, .fl-light.stbd::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 18px 8px rgba(255, 255, 255, .9); animation: strobe 1.4s steps(1) infinite;
}
.fl-light.beacon { left: 49.9%; top: 39.7%; width: 6px; height: 6px; background: #ff453a; box-shadow: 0 0 14px 5px rgba(255, 69, 58, .75); animation: beacon 1.1s ease-in-out infinite; }
@keyframes strobe { 0%, 6% { opacity: 1; } 7%, 100% { opacity: 0; } }
@keyframes beacon { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

.fl-copy { position: absolute; left: var(--gutter); bottom: clamp(28px, 7vh, 72px); z-index: 4; width: min(520px, 60vw); height: 140px; pointer-events: none; }
.fl-line { position: absolute; left: 0; bottom: 0; will-change: transform, opacity; }
.fl-line .eyebrow { margin-bottom: 10px; color: rgba(255, 255, 255, .6); }
.fl-line h2 { margin: 0; font-size: clamp(34px, 5vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 700; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.fl-hud {
  will-change: transform, opacity;
  position: absolute; right: var(--gutter); bottom: clamp(28px, 7vh, 72px); z-index: 4;
  display: grid; gap: 10px; min-width: 150px; font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .55);
}
.fl-hud > div:not(.h-phase) { display: flex; align-items: baseline; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 8px; }
.fl-hud span { width: 38px; font-weight: 600; }
.fl-hud b { margin-left: auto; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.fl-hud i { font-style: normal; width: 30px; }
.fl-hud .h-phase { font-size: 11px; font-weight: 600; text-transform: uppercase; color: #64d2ff; }
.fl-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }
.fl-hint .scroll-hint { position: relative; bottom: auto; left: auto; transform: none; }
@media (max-width: 700px) {
  .fl-copy { width: auto; right: var(--gutter); bottom: 150px; }
  .fl-hud { left: var(--gutter); right: var(--gutter); bottom: 64px; grid-template-columns: repeat(3, 1fr); gap: 12px; min-width: 0; }
  .fl-hud .h-phase { display: none; }
  .fl-hud > div:not(.h-phase) { flex-direction: column; gap: 2px; }
  .fl-hud span, .fl-hud i { width: auto; font-size: 10px; }
  .fl-hud i { display: none; }
  .fl-hud b { margin-left: 0; font-size: 18px; }
  .flight { --craft: min(50vh, 82vw); }
  .fl-body, .fl-city { top: 40%; }
  .fl-earth, .fl-ground { transform-origin: 50% 40%; }
  .fl-hint span { display: none; }
}

/* brand reveal where the plane leaves the frame */
.fl-brand { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.fl-word {
  font-size: clamp(56px, 11vw, 150px); font-weight: 700; letter-spacing: -.06em;
  display: grid; opacity: 0; will-change: transform, opacity;
}
.fl-word > span {
  grid-area: 1 / 1; padding: 0 .1em .12em;
  background: linear-gradient(180deg, #fff, #8a8a90); -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: opacity;
}
.fl-word-blur { filter: blur(18px); }
.fl-word-sharp { opacity: 0; }
