/* ============================================================
   ROYAL SKY FLY — Aviation  ·  Design System
   Direction: Deep navy + metallic gold (brand deck)  ·  Fraunces serif + Manrope sans
   Brand: crown-over-jet mark · navy #2d2d4d · gold gradient · white wordmark
   ============================================================ */

/* ---- Tokens — Deep navy + metallic gold ----------------------------- */
:root {
  /* metallic gold (brand crown gradient) */
  --gold:        #c9a24b;
  --gold-bright: #e7cb8b;   /* light end of the crown gradient */
  --on-gold:     #1a1c30;   /* dark navy ink for text sitting on a gold fill */

  /* dark navy surfaces (elevation: bg < bg-soft < surface < surface-2) */
  --bg:        #0f1124;     /* page — deepest navy */
  --bg-soft:   #15172e;     /* alternate section */
  --bg-soft-2: #1b1d38;
  --surface:   #1f2240;     /* cards / panels — sit above any section */
  --surface-2: #282c4e;     /* hover / elevated */
  --line:      #2e3258;
  --line-2:    #3b4068;

  /* "navy" tokens = the brand navy accent bands (hero / trust / fleet / footer) */
  --navy:      #2d2d4d;     /* signature brand navy */
  --navy-900:  #14162b;
  --navy-800:  #1c1d39;
  --navy-700:  #2a2c4c;

  /* cool off-white text (everything sits on navy now) */
  --ink:       #eef0f8;
  --muted:     #a6abc6;
  --on-dark:        #eef0f8;
  --on-dark-muted:  #b2b7d0;
  --on-dark-line:   #353a60;

  /* type */
  --f-sans:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Fraunces', 'Times New Roman', Georgia, serif;

  /* scale */
  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.15rem);
  --step-3:  clamp(2.1rem, 1.7rem + 2vw, 3.1rem);
  --step-4:  clamp(2.8rem, 2rem + 4vw, 5rem);

  /* space */
  --sp-xs: 0.5rem;
  --sp-s:  1rem;
  --sp-m:  2rem;
  --sp-l:  4rem;
  --sp-xl: 7rem;

  --maxw: 1240px;
  --radius: 14px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-soft: 0 14px 36px -22px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* translucent header over the navy page */
  --header-bg: rgba(15, 17, 36, 0.82);
}

/* Navy-only brand: light theme retired (was a toggle on the Meridian build). */

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-optical-sizing: auto; line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; }
/* elegant serif numerals on the big display figures */
.stat__num, .tier__price strong, .cert__name { font-family: var(--f-display); }

/* ---- Layout helpers ------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-m); }
.section { padding: var(--sp-xl) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section--navy .eyebrow { color: var(--gold-bright); }

.section-head { max-width: 720px; margin-bottom: var(--sp-l); }
.section-head h2 { font-size: var(--step-3); margin: var(--sp-s) 0 1rem; }
.section-head p { color: var(--muted); font-size: var(--step-1); font-weight: 300; }
.section--navy .section-head p { color: var(--on-dark-muted); }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--gold   { background: var(--gold); color: var(--on-gold); font-weight: 700; }
.btn--gold:hover { background: var(--gold-bright); }
.btn--navy   { background: var(--surface-2); color: var(--ink); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost  { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--light  { background: var(--ink); color: var(--bg); }
/* ghost buttons on dark backgrounds (navy sections + the hero) need light text */
.section--navy .btn--ghost,
.hero .btn--ghost { border-color: var(--on-dark-line); color: var(--on-dark); }
.section--navy .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.3rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
              box-shadow 0.4s var(--ease), transform 0.5s var(--ease);
}
.header.header--hidden { transform: translateY(-120%); }
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--on-dark); }
.brand__mark { width: 32px; height: auto; flex: none; filter: drop-shadow(0 2px 8px rgba(201,162,75,0.28)); }
.brand__name { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.brand__sub { font-size: 0.58rem; letter-spacing: 0.42em; font-weight: 500; color: var(--gold-bright); margin-top: 3px; }
.header.is-scrolled .brand { color: var(--ink); }
.nav-call { gap: 0.5rem; white-space: nowrap; }
.nav-call svg { width: 16px; height: 16px; }
/* Above 980px the "Contact" pill covers it, so hide the duplicate nav link;
   below 980px the pill is hidden and the nav link (incl. mobile menu) carries Contact. */
@media (max-width: 980px) { .nav-call { display: none; } }
@media (min-width: 981px) { .nav-links__contact { display: none; } }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: var(--step--1); font-weight: 500; color: var(--on-dark); position: relative; padding: 0.3rem 0; }
.header.is-scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--gold-bright); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.header:not(.is-scrolled) .nav-cta .btn--ghost { border-color: var(--on-dark-line); color: var(--on-dark); }
.header.is-scrolled .nav-cta .btn--ghost { border-color: var(--line-2); color: var(--ink); }

/* theme toggle (light / dark) */
.theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--on-dark-line); color: var(--on-dark);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-bright); transform: rotate(-12deg); }
.header.is-scrolled .theme-toggle { color: var(--ink); border-color: var(--line-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.55); transition: 0.3s var(--ease); }
.header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--on-dark);
  overflow: hidden;
  --hero-img: url('../img/jet-tarmac.webp');
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(194,163,94,0.20), transparent 55%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-800) 100%);
  background-size: cover; background-position: center;
}
/* Hero photo + navy wash. Overlays are listed first (painted on top); the
   photo (var --hero-img) is the bottom layer. Keeps left-side text legible
   and blends the image into the navy theme + the navy trust section below. */
/* Auto-looping aircraft showcase: branded renders cross-fade behind the wash. */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero__slide.is-active { animation: heroKen 8s ease-out both; }
}
@keyframes heroKen { from { transform: scale(1.04); } to { transform: scale(1.11); } }
/* Wash over the slides (image moved to .hero__slides; this is overlay-only now). */
.hero__photo {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(120% 90% at 82% -10%, rgba(228,192,121,0.18), transparent 52%),
    linear-gradient(95deg, rgba(15,17,36,0.94) 0%, rgba(15,17,36,0.66) 40%, rgba(15,17,36,0.28) 100%),
    linear-gradient(180deg, rgba(15,17,36,0) 52%, rgba(15,17,36,1) 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
@media (max-width: 760px) {
  /* full-width text on phones, so darken the whole photo to keep it legible */
  .hero__photo { background-image:
    linear-gradient(180deg, rgba(15,17,36,0.58) 0%, rgba(15,17,36,0.72) 55%, rgba(15,17,36,1) 100%); }
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,17,36,0.88) 0%, rgba(15,17,36,0.45) 45%, rgba(15,17,36,0.12) 100%);
}
/* faint flight-path grid */
.hero__grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(var(--on-dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--on-dark-line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 4rem; width: 100%; }
.hero__inner { max-width: 760px; }
.hero h1 {
  font-size: var(--step-4); font-weight: 500; letter-spacing: -0.015em; line-height: 1.04;
  margin: 1.5rem 0;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero__sub { font-size: var(--step-1); font-weight: 300; color: var(--on-dark-muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--sp-m); }

/* ---- Hero HUD cockpit overlay (attitude indicator) ----------------- */
/* Low-gold artificial-horizon line + pitch ladder + heading ticks + corner
   frame. Parallax-drifts + tilts slightly with scroll (driven by JS).
   Decorative SVG — opacity on lines is fine (no text). */
.hero__hud {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; pointer-events: none;
  color: var(--gold-bright);
  -webkit-mask-image: radial-gradient(120% 95% at 68% 40%, #000 30%, transparent 82%);
          mask-image: radial-gradient(120% 95% at 68% 40%, #000 30%, transparent 82%);
}
.hero__hud line, .hero__hud path { stroke: currentColor; fill: none; }
.hero__hud-frame { stroke-width: 1.4; opacity: 0.5; }
.hero__hud-att { opacity: 0.42; }
.hero__hud-horizon { stroke-width: 1.6; }
.hero__hud-bird { stroke-width: 2; stroke: var(--gold-bright); }
.hero__hud-ladder line { stroke-width: 1; opacity: 0.85; }
.hero__hud-ladder text { fill: currentColor; font-family: var(--f-sans); font-size: 13px; font-weight: 600; opacity: 0.7; }
.hero__hud-heading { opacity: 0.5; }
.hero__hud-heading line { stroke-width: 1.4; }
.hero__hud-caret { fill: var(--gold-bright); stroke: none; }
.no-js .hero__hud { opacity: 0.7; }

/* ---- Hero gold light streak / lens flare sweep (on load) ----------- */
.hero__flare {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(228,192,121,0.22) 49%, rgba(255,255,255,0.16) 50%, rgba(228,192,121,0.22) 51%, transparent 62%);
  transform: translateX(-120%);
  opacity: 0;
}
.no-js .hero__flare { display: none; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted);
}
.hero__scroll .mouse { width: 22px; height: 36px; border: 1.5px solid var(--on-dark-line); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  background: var(--gold-bright); border-radius: 2px; transform: translateX(-50%);
  animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ============================================================
   TRUST / STATS BAR
   ============================================================ */
.trust { border-top: 1px solid var(--on-dark-line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-m); padding-top: var(--sp-l); padding-bottom: var(--sp-l); }
.stat { text-align: left; }
.stat__num { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; color: var(--on-dark); line-height: 1; }
.stat__label { font-size: var(--step--1); color: var(--on-dark-muted); letter-spacing: 0.04em; margin-top: 0.5rem; }

/* ---- Stat altimeter digit-reels (built by JS) ---------------------- */
/* Each digit is a vertical column rolled to its value (odometer). The
   suffix (+, %, yrs) is appended in gold. no-js / reduced-motion shows the
   final number as plain text (the data-reel raw content, or JS fallback). */
.stat__num.is-reel { display: inline-flex; align-items: flex-end; }
.stat__reel-digit {
  position: relative; display: inline-block;
  height: 1em; overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.stat__reel-col {
  display: flex; flex-direction: column;
  will-change: transform;
}
.stat__reel-col span { display: block; height: 1em; line-height: 1; text-align: center; }
.stat__reel-static { font-variant-numeric: tabular-nums; } /* commas, decimal points */
.stat__suffix { color: var(--gold-bright); margin-left: 0.04em; }

/* ---- Cert badges: clean static row -------------------------------- */
.badges {
  padding: var(--sp-m) 0; border-top: 1px solid var(--on-dark-line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.4rem 1.2rem;
}
.badges span {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--on-dark-muted);
}
.badges .badges__sep { color: var(--gold); }

/* ============================================================
   SERVICES (cards)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card__ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201,162,75,0.12); color: var(--gold-bright);
  border: 1px solid rgba(201,162,75,0.24); margin-bottom: 1.4rem;
}
.card__ico svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-weight: 300; }
.card__link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.3rem;
  font-size: var(--step--1); font-weight: 600; color: var(--gold-bright); }
.card__link .arr { transition: transform 0.3s var(--ease); }
.card:hover .card__link .arr { transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: var(--on-dark); padding: var(--sp-xl) 0 var(--sp-m); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-m); padding-bottom: var(--sp-l); border-bottom: 1px solid var(--on-dark-line); }
.footer h4 { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1.2rem; }
.footer a { display: block; color: var(--on-dark-muted); padding: 0.35rem 0; font-size: var(--step-0); transition: color 0.25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__brand p { color: var(--on-dark-muted); font-weight: 300; max-width: 320px; margin-top: 1rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: var(--sp-m); font-size: var(--step--1); color: var(--on-dark-muted); }

/* ============================================================
   FLIGHT DECK — reveal system
   data-rise  : opacity + small translate (the bulk of reveals)
   data-focus : focus-pull (blur->0 + scale settle) — KEY elements only
   no-js / reduced-motion = crisp, fully visible (handled below + at end)
   ============================================================ */
[data-rise], [data-rise-item] { opacity: 0; transform: translateY(22px); }
.js-ready [data-rise], .js-ready [data-rise-item] { will-change: opacity, transform; }
[data-focus] {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(14px);
}
.js-ready [data-focus] { will-change: opacity, transform, filter; }
/* JS-applied end state: crisp, no blur, drop will-change */
.is-shown { will-change: auto !important; }
[data-focus].is-shown { filter: none; opacity: 1; transform: none; }
[data-rise].is-shown, [data-rise-item].is-shown { opacity: 1; transform: none; }
/* if JS fails, show everything crisp */
.no-js [data-rise], .no-js [data-rise-item],
.no-js [data-focus] { opacity: 1; transform: none; filter: none; }

/* ============================================================
   FLIGHT DECK — buttons: runway lights + thrust glow
   Sequential gold lights run along the edge on hover + a soft thrust
   glow behind. A very subtle magnetic pull is applied by JS (transform).
   ============================================================ */
.btn { position: relative; overflow: visible; }
.btn--gold { position: relative; overflow: hidden; }
/* thrust glow behind gold buttons (decorative, opacity fine) */
.btn--gold::after {
  content: ""; position: absolute; inset: -40% -10%;
  background: radial-gradient(60% 120% at 50% 120%, rgba(228,192,121,0.55), transparent 70%);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none; z-index: 0;
}
.btn--gold:hover::after { opacity: 1; transform: translateY(0); }
.btn > * { position: relative; z-index: 2; }
/* runway-light track: a thin inset border that holds the travelling lights */
.btn__runway {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  overflow: hidden; z-index: 1;
}
.btn__runway::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  /* a conic gold sweep masked to a 1.5px edge ring = a light travelling the border */
  padding: 1.5px;
  background: conic-gradient(from var(--rw-angle, 0deg),
    transparent 0deg, transparent 300deg,
    var(--gold-bright) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.btn:hover .btn__runway::before,
.btn:focus-visible .btn__runway::before { opacity: 1; animation: runwayRun 1.4s linear infinite; }
@keyframes runwayRun { to { --rw-angle: 360deg; } }
/* register the custom property so the conic angle can animate smoothly */
@property --rw-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
[data-magnetic] { will-change: transform; }

/* ============================================================
   FLIGHT DECK — service card: HUD spotlight + icon micro-anim
   (3D tilt removed; keep a tasteful pointer spotlight, pointer-fine only)
   ============================================================ */
.card { position: relative; }
.card__glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.4s var(--ease); z-index: 0;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 0%),
    rgba(194, 163, 94, 0.16), transparent 60%);
}
.card:hover .card__glow { opacity: 1; }
.card > *:not(.card__glow) { position: relative; z-index: 1; }
.card__ico { transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.card:hover .card__ico { transform: translateY(-3px) scale(1.06); background: rgba(201,162,75,0.22); border-color: rgba(201,162,75,0.4); }
.card__ico svg { transition: transform 0.5s var(--ease); }
.card:hover .card__ico svg { transform: rotate(-8deg); }

/* ---- Active nav link (scroll spy) ---------------------------------- */
.nav-links a.is-active { color: var(--gold-bright); }
.header.is-scrolled .nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after { width: 100%; }

/* ============================================================
   HUD RETICLE CURSOR (desktop / pointer-fine only; built by JS)
   Center dot + four corner brackets + crosshair ticks, drawn in gold.
   Glides with lag; brackets snap/expand to frame interactive targets.
   Decorative — opacity used freely (no text). Hidden on touch / no-js.
   ============================================================ */
.reticle { display: none; }
.reticle-on .reticle {
  display: block; position: fixed; top: 0; left: 0; z-index: 300;
  width: 0; height: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.reticle-on.reticle-ready .reticle { opacity: 1; }
/* every part centers on the reticle origin */
.reticle > span { position: absolute; left: 0; top: 0; }
.reticle__dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-bright);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(228,192,121,0.8);
}
/* crosshair ticks (faint) */
.reticle__tick { background: var(--gold); opacity: 0.55; }
.reticle__tick--t, .reticle__tick--b { width: 1px; height: 6px; transform: translate(-50%, -50%); }
.reticle__tick--l, .reticle__tick--r { width: 6px; height: 1px; transform: translate(-50%, -50%); }
.reticle__tick--t { transform: translate(-50%, -16px); }
.reticle__tick--b { transform: translate(-50%, 10px); }
.reticle__tick--l { transform: translate(-16px, -50%); }
.reticle__tick--r { transform: translate(10px, -50%); }
/* four corner brackets; the bracket box defaults small, snaps large on lock */
.reticle__corner {
  width: 9px; height: 9px;
  border: 1.5px solid var(--gold-bright);
  /* default offset from center (half-size of the resting reticle box) */
  --rx: -13px; --ry: -13px;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), width 0.18s var(--ease), height 0.18s var(--ease);
}
.reticle__corner--tl { transform: translate(var(--rx), var(--ry)); border-right: none; border-bottom: none; }
.reticle__corner--tr { transform: translate(calc(var(--rx) * -1 - 9px), var(--ry)); border-left: none; border-bottom: none; }
.reticle__corner--bl { transform: translate(var(--rx), calc(var(--ry) * -1 - 9px)); border-right: none; border-top: none; }
.reticle__corner--br { transform: translate(calc(var(--rx) * -1 - 9px), calc(var(--ry) * -1 - 9px)); border-left: none; border-top: none; }
/* readout label, hidden until locked */
.reticle__readout {
  font-family: var(--f-sans); font-size: 0.5rem; font-weight: 700;
  letter-spacing: 0.22em; color: var(--gold-bright);
  transform: translate(-50%, calc(var(--lock-h, 26px) * 0.5 + 6px));
  opacity: 0; transition: opacity 0.18s var(--ease);
  white-space: nowrap;
}
/* target lock: brackets expand to frame the element (JS sets --lock-w/h) */
.reticle.is-locked .reticle__corner { border-color: var(--gold-bright); width: 12px; height: 12px; }
.reticle.is-locked .reticle__corner--tl { transform: translate(calc(var(--lock-w, 26px) * -0.5), calc(var(--lock-h, 26px) * -0.5)); }
.reticle.is-locked .reticle__corner--tr { transform: translate(calc(var(--lock-w, 26px) * 0.5 - 12px), calc(var(--lock-h, 26px) * -0.5)); }
.reticle.is-locked .reticle__corner--bl { transform: translate(calc(var(--lock-w, 26px) * -0.5), calc(var(--lock-h, 26px) * 0.5 - 12px)); }
.reticle.is-locked .reticle__corner--br { transform: translate(calc(var(--lock-w, 26px) * 0.5 - 12px), calc(var(--lock-h, 26px) * 0.5 - 12px)); }
.reticle.is-locked .reticle__readout { opacity: 1; }
.reticle.is-locked .reticle__tick { opacity: 0; }
/* hide native cursor on interactive elements only when reticle is live */
.reticle-on, .reticle-on a, .reticle-on button, .reticle-on .card, .reticle-on [role="button"] { cursor: none; }

/* ============================================================
   ALTITUDE TAPE — scroll indicator (cockpit altimeter; built by JS)
   Slim vertical tape at the right edge: tick marks + rolling flight-
   level numbers, a gold center index line, and an "ALT" label.
   ============================================================ */
.alt-tape {
  position: fixed; top: 50%; right: 18px; z-index: 120;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  pointer-events: none;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.js-ready .alt-tape { opacity: 1; }
.no-js .alt-tape { display: none; }
.alt-tape__label {
  font-family: var(--f-sans); font-size: 0.55rem; font-weight: 800;
  letter-spacing: 0.28em; color: var(--gold-bright);
}
.alt-tape__window {
  position: relative; width: 58px; height: 220px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.alt-tape__strip {
  position: absolute; left: 0; right: 0; top: 0;
  will-change: transform;
}
/* each rolling flight-level row (built by JS) */
.alt-tape__row {
  height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 6px;
  font-family: var(--f-sans); font-variant-numeric: tabular-nums;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--muted);
}
.alt-tape__row .tick { width: 8px; height: 1px; background: var(--line-2); }
.alt-tape__row.is-major .tick { width: 14px; background: var(--gold); }
.alt-tape__row.is-major { color: var(--gold); }
/* gold center index line */
.alt-tape__index {
  position: absolute; left: 0; right: 0; top: 50%; height: 1.5px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-bright) 30%, var(--gold-bright));
  box-shadow: 0 0 8px -1px var(--gold-bright);
}
.alt-tape__index::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border: 4px solid transparent; border-right-color: var(--gold-bright);
}
@media (max-width: 900px) { .alt-tape { display: none; } }

/* ============================================================
   ASCENT INTRO — cinematic HUD takeoff-to-cruise (JS-driven overlay)
   Fixed full-screen overlay over a star/cloud field rushing toward the
   viewer; HUD readout spins up; letterbox bars retract to reveal hero.
   no-js / reduced-motion = hidden (hero shows immediately).
   ============================================================ */
.ascent {
  position: fixed; inset: 0; z-index: 400;
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(228,192,121,0.16), transparent 60%),
    linear-gradient(180deg, #050507 0%, var(--navy-900) 45%, #0c0e13 100%);
  opacity: 1;
}
.no-js .ascent { display: none; }
/* the perspective field that the star/cloud layers fly through */
.ascent__field {
  position: absolute; inset: -10%; z-index: 1;
  perspective: 520px; perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}
.ascent__star {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 2px; border-radius: 50%;
  background: #f3efe6; will-change: transform, opacity;
}
.ascent__star--gold { background: var(--gold-bright); }
.ascent__vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(75% 75% at 50% 50%, transparent 40%, rgba(5,5,7,0.92) 100%);
}
.ascent__hud {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem; color: var(--on-dark);
}
.ascent__readout { display: flex; gap: clamp(2rem, 8vw, 5rem); }
.ascent__gauge {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.ascent__gauge-label, .ascent__gauge-unit {
  font-family: var(--f-sans); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.28em; color: var(--gold-bright);
}
.ascent__gauge-val {
  font-family: var(--f-display); font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 600; line-height: 1;
  color: var(--on-dark); letter-spacing: 0.02em;
}
.ascent__status {
  font-family: var(--f-sans); font-size: var(--step--1); font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-bright);
  min-height: 1.2em;
}
/* the cinematic letterbox bars (start fully closed, retract to reveal) */
.ascent__bar {
  position: absolute; left: 0; right: 0; z-index: 4;
  height: 13%; background: #050507;
  will-change: transform;
}
.ascent__bar--top { top: 0; }
.ascent__bar--bottom { bottom: 0; }
/* JS adds .ascent--done then removes the node */
.ascent.ascent--done { pointer-events: none; }

/* ============================================================
   FLEET — horizontal pinned showcase (desktop)
   native scroll-snap swipe on mobile / reduced motion / no-JS
   ============================================================ */
#fleet { position: relative; overflow: hidden; padding: var(--sp-xl) 0; }
.fleet__head { max-width: 720px; margin-bottom: var(--sp-l); }
.fleet__head h2 { font-size: var(--step-3); margin: var(--sp-s) 0 1rem; }
.fleet__head p { color: var(--on-dark-muted); font-size: var(--step-1); font-weight: 300; }

/* Responsive grid — all aircraft visible, no fragile pinning. */
.fleet__viewport { overflow: visible; }
.fleet__track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-m);
}
@media (min-width: 761px) and (max-width: 980px) {
  .fleet__track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .fleet__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbars for Firefox */
    margin: 0 -1.25rem; /* Stretch scroll area to edge of screen */
    padding: 0 1.25rem; /* Keep content offset correctly */
  }
  .fleet__viewport::-webkit-scrollbar {
    display: none; /* Hide scrollbars for Chrome/Safari */
  }
  .fleet__track {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    width: max-content;
    /* Extra top/bottom padding to prevent hover effects and shadows from clipping inside the overflow-x container */
    padding: 0.8rem 1.25rem 2rem 1.25rem;
  }
  .fleet__card {
    flex: 0 0 82vw;
    max-width: 320px;
    scroll-snap-align: center;
  }
}
.fleet__card {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.fleet__card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,0.5); box-shadow: 0 36px 70px -34px rgba(0,0,0,0.82); }
.fleet__visual {
  position: relative; height: 175px;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.fleet__visual::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--on-dark-line); z-index: 3; }
.fleet__index { position: absolute; top: 1rem; left: 1.2rem; font-size: var(--step--1); font-weight: 800; letter-spacing: 0.2em; color: var(--gold-bright); z-index: 2; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85); }
.fleet__img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill the visual container completely edge-to-edge */
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.fleet__card:hover .fleet__img {
  transform: scale(1.07); /* Smooth Ken Burns style zoom-in on hover */
}
.fleet__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.fleet__class { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.fleet__model { font-size: var(--step-1); margin: 0.3rem 0 0.55rem; letter-spacing: -0.02em; }
.fleet__desc { color: var(--muted); font-weight: 300; font-size: var(--step-0); }
.fleet__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1rem; margin: 1.3rem 0; padding: 1.3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fleet__specs li { display: flex; flex-direction: column; gap: 0.15rem; }
.fleet__specs span { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fleet__specs strong { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; }
.fleet__specs em { font-style: normal; font-size: 0.68rem; color: var(--muted); font-weight: 500; }
.fleet__range { height: 4px; background: var(--bg-soft-2); border-radius: 4px; overflow: hidden; margin-bottom: 1.3rem; }
.fleet__range-bar { display: block; height: 100%; width: var(--r, 40%); background: linear-gradient(90deg, var(--gold), var(--gold-bright)); border-radius: 4px; }
.fleet__rate { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 1rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fleet__rate strong { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; color: var(--gold-bright); }
.fleet__rate em { font-style: normal; font-size: 0.68rem; color: var(--muted); font-weight: 500; }
.fleet__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); font-weight: 600; color: var(--gold-bright); }
.fleet__cta .arr { transition: transform 0.3s var(--ease); }
.fleet__card:hover .fleet__cta .arr { transform: translateX(5px); }
.fleet__note { margin-top: var(--sp-l); font-size: var(--step--1); color: var(--on-dark-muted); text-align: center; }

/* ============================================================
   CONTACT / REQUEST A QUOTE
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--sp-m); align-items: start; }
.contact__channels { display: flex; flex-direction: column; gap: 1rem; }
.contact__card { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.4rem; background: var(--bg-soft-2); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.contact__card:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact__ico { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--gold-bright); }
.contact__ico svg { width: 20px; height: 20px; }
.contact__card-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.contact__label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__card-body strong { font-size: var(--step-0); font-weight: 600; }
.contact__card-body em { font-style: normal; font-size: var(--step--1); color: var(--muted); }
.contact__form { padding: 1.6rem; background: var(--bg-soft-2); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 1rem; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.contact__field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.contact__field label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__field input, .contact__field select, .contact__field textarea { width: 100%; padding: 0.75rem 0.9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--ink-on-dark, #fff); font: inherit; font-size: var(--step--1); }
.contact__field input[type="date"] { color-scheme: dark; }
.contact__field textarea { resize: vertical; min-height: 70px; }
.contact__field input::placeholder, .contact__field textarea::placeholder { color: var(--muted); }
.contact__field input:focus, .contact__field select:focus, .contact__field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.16); }
.contact__field--invalid input { border-color: #d2766a; box-shadow: 0 0 0 3px rgba(210, 118, 106, 0.18); }
.contact__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.2rem; }
.contact__small { font-size: 0.72rem; color: var(--muted); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__row, .contact__row--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   MEMBERSHIP — tiered program cards (middle = featured navy card)
   ============================================================ */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: center; }
.tier {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2rem; display: flex; flex-direction: column; height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tier--featured {
  position: relative; background: linear-gradient(180deg, var(--navy-700), var(--navy)); color: var(--on-dark);
  border-color: var(--gold); transform: scale(1.045); box-shadow: var(--shadow);
}
.tier--featured:hover { transform: scale(1.045) translateY(-6px); border-color: var(--gold-bright); }
.tier__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--on-gold); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 0.42rem 1.1rem; border-radius: 100px;
  white-space: nowrap;
}
.tier__name { font-size: var(--step-2); }
.tier__tag { color: var(--muted); margin-top: 0.4rem; font-weight: 300; }
.tier--featured .tier__tag { color: var(--on-dark-muted); }
.tier__price { margin: 1.5rem 0; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.tier--featured .tier__price { border-color: var(--on-dark-line); }
.tier__price strong { display: block; font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tier__price span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tier--featured .tier__price span { color: var(--on-dark-muted); }
.tier__features { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.tier__features li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--step-0); font-weight: 300; }
.tier--featured .tier__features li { color: var(--on-dark); }
.tier__features svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.tier--featured .tier__features svg { color: var(--gold-bright); }
.tier__cta { margin-top: auto; }
.tier__cta .btn { width: 100%; justify-content: center; }
.membership__note { text-align: center; margin-top: var(--sp-l); font-size: var(--step--1); letter-spacing: 0.02em; color: var(--muted); }

/* ============================================================
   SAFETY — pillars + certification panel
   ============================================================ */
.safety__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; margin-bottom: var(--sp-l); }
.safety__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(201,162,75,0.12); color: var(--gold-bright);
  border: 1px solid rgba(201,162,75,0.24); margin-bottom: 1.3rem;
}
.safety__ico svg { width: 26px; height: 26px; }
.safety__pillar h3 { font-size: var(--step-1); margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.safety__pillar p { color: var(--muted); font-weight: 300; font-size: var(--step-0); }

.safety__certs-intro { text-align: center; font-size: var(--step-1); font-weight: 300; color: var(--ink); margin-bottom: var(--sp-m); }
.safety__certs {
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.6rem; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem;
}
.cert { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cert__name { display: block; font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; color: var(--gold-bright); }
.cert__desc { margin-top: 0.6rem; font-size: var(--step--1); line-height: 1.55; color: var(--muted); }

/* ============================================================
   ROUTE MAP / NETWORK  (feature 1)
   Equirectangular world map + great-circle arcs that draw on scroll +
   pulsing gold hubs. Sits in a .section--navy band so it reads as a dark
   "chart" panel in BOTH themes (navy tokens flip to ivory under light).
   ============================================================ */
.network { padding: var(--sp-xl) 0; overflow: hidden; }
.network__wrap {
  display: grid; grid-template-columns: 1fr 280px; gap: var(--sp-l);
  align-items: center;
}
.network__mapbox {
  position: relative; border-radius: var(--radius);
  border: 1px solid var(--on-dark-line);
  background:
    radial-gradient(120% 120% at 30% 0%, rgba(201,162,75,0.08), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  padding: clamp(0.8rem, 2vw, 1.8rem);
  overflow: hidden;
}
/* HUD corner ticks on the map frame (matches ascent rivets / hero frame) */
.network__mapbox::before,
.network__mapbox::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border: 1.5px solid var(--gold); opacity: 0.55; pointer-events: none;
}
.network__mapbox::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.network__mapbox::after  { bottom: 10px; right: 10px; border-left: none; border-top: none; }
/* Real Leaflet Map overrides */
.network__map-real {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 640;
  display: block;
  z-index: 1;
  background: transparent;
}
.leaflet-container {
  background: transparent !important;
  border: none !important;
}
.leaflet-container :focus {
  outline: none !important;
}
.leaflet-tile {
  opacity: 0.42; /* make background map tiles subtle so they don't look distracting or cover the premium glowing arcs */
  filter: brightness(1.15) contrast(1.2) saturate(1.3) hue-rotate(190deg);
  transition: opacity 0.5s ease;
}
:root[data-theme="light"] .leaflet-tile {
  opacity: 0.28;
  filter: invert(1) brightness(0.95) contrast(1.1) saturate(0.6) hue-rotate(190deg);
}
.leaflet-control-attribution {
  background: transparent !important;
  color: var(--on-dark-muted) !important;
  font-family: var(--f-sans) !important;
  font-size: 0.52rem !important;
  opacity: 0.35;
  border: none !important;
}
.leaflet-control-attribution a {
  color: var(--gold-bright) !important;
}

/* Leaflet HTML Hub Custom Markers */
.network__leaflet-hub-icon {
  overflow: visible !important;
}
.network__hub-marker-html {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.network__hub-pulse-css,
.network__hub-ring-css,
.network__hub-dot-css {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.network__hub-pulse-css {
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold-bright);
  opacity: 0;
  transform-origin: center;
  animation: hubPulseHtml 3.6s var(--ease) infinite;
}
.network__hub-marker-html.is-primary .network__hub-pulse-css {
  width: 18px;
  height: 18px;
}
@keyframes hubPulseHtml {
  0%   { transform: translate(-50%, -50%) scale(0.7); opacity: 0.8; }
  70%  { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

.network__hub-ring-css {
  width: 14px;
  height: 14px;
  border: 1.4px solid var(--gold);
  opacity: 0.7;
  transition: border-color 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.network__hub-marker-html.is-primary .network__hub-ring-css {
  width: 18px;
  height: 18px;
  border-color: var(--gold-bright);
  opacity: 0.9;
}
.network__hub-marker-html.is-lit .network__hub-ring-css,
.network__hub-marker-html:hover .network__hub-ring-css {
  border-color: #fff;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.network__hub-dot-css {
  width: 7px;
  height: 7px;
  background: var(--gold-bright);
  border: 1.2px solid var(--navy-900);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.network__hub-marker-html.is-primary .network__hub-dot-css {
  width: 9px;
  height: 9px;
}
:root[data-theme="light"] .network__hub-dot-css {
  border-color: var(--surface);
}
.network__hub-marker-html.is-lit .network__hub-dot-css,
.network__hub-marker-html:hover .network__hub-dot-css {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}
:root[data-theme="light"] .network__hub-marker-html.is-lit .network__hub-dot-css,
:root[data-theme="light"] .network__hub-marker-html:hover .network__hub-dot-css {
  background: var(--gold);
}

.network__hub-label-css {
  position: absolute;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
  opacity: 0.55;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.network__hub-marker-html.is-primary .network__hub-label-css {
  font-size: 14px;
  color: var(--on-dark);
  opacity: 0.85;
}
.network__hub-marker-html.is-lit .network__hub-label-css,
.network__hub-marker-html:hover .network__hub-label-css {
  opacity: 1;
  color: var(--gold-bright);
}
@media (max-width: 760px) {
  .network__hub-label-css {
    display: none;
  }
}


/* soft radial field lighting (depth behind the whole chart) */
.network__glow { opacity: 0.95; }

/* stylized coastlines: faint fill + a hairline gold coast stroke ("chart") */
.network__coast {
  fill: var(--on-dark); fill-opacity: 0.055;
  stroke: var(--gold); stroke-opacity: 0.24; stroke-width: 0.8;
  stroke-linejoin: round;
}
:root[data-theme="light"] .network__coast { fill: var(--gold); fill-opacity: 0.1; }
.network__atoll { fill: var(--gold); opacity: 0.32; }
.network__grid line { stroke: var(--on-dark-line); stroke-width: 0.5; opacity: 0.26; }

/* route arcs — thin gold, fan outward; draw-in handled by JS dashoffset */
.network__arc {
  fill: none; stroke: var(--gold-bright); stroke-width: 1.3;
  stroke-linecap: round; opacity: 0.42;
  transition: opacity 0.3s var(--ease), stroke-width 0.3s var(--ease);
}
.js-ready .network__arc { opacity: 0; }
.js-ready .network__arc.is-drawn { opacity: 0.58; }
/* trace highlight: dim the field, then light the selected hub's routes */
.network.is-tracing .network__arc { opacity: 0.15; }
.network.is-tracing .network__arc.is-active { opacity: 0.98; stroke-width: 2.2; }
.no-js .network__arc { opacity: 0.58 !important; }

/* travelling flight pulse along an active route (GPU-cheap dashoffset) */
.network__flow {
  fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round;
  opacity: 0; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(231,203,139,0.8));
}
.network__flow.is-active {
  opacity: 0.95;
  animation-name: netFlow; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes netFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: var(--flowend); }
}

/* hub markers: hit area · glow halo · pulse ring · gold ring · centre dot */
.network__hub { cursor: pointer; }
.network__hub:focus { outline: none; }
.network__hub-hit { fill: transparent; }
.network__hub-halo { opacity: 0.5; transition: opacity 0.3s var(--ease); }
.network__hub.is-lit .network__hub-halo,
.network__hub:hover .network__hub-halo,
.network__hub:focus-visible .network__hub-halo { opacity: 1; }
.network__hub-pulse {
  fill: none; stroke: var(--gold-bright); stroke-width: 1; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: hubPulse 3.6s var(--ease) infinite;
}
@keyframes hubPulse {
  0%   { transform: scale(0.7); opacity: 0.8; }
  70%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}
.network__hub-ring {
  fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: 0.7;
  transition: stroke 0.25s var(--ease), opacity 0.25s var(--ease);
}
.network__hub.is-primary .network__hub-ring { stroke: var(--gold-bright); opacity: 0.9; }
.network__hub-dot { fill: var(--gold-bright); stroke: var(--navy-900); stroke-width: 1.2; }
:root[data-theme="light"] .network__hub-dot { stroke: var(--surface); }
.network__hub.is-lit .network__hub-ring,
.network__hub:hover .network__hub-ring,
.network__hub:focus-visible .network__hub-ring { stroke: #fff; opacity: 1; }
.network__hub.is-lit .network__hub-dot,
.network__hub:hover .network__hub-dot { fill: #fff; }
:root[data-theme="light"] .network__hub.is-lit .network__hub-dot,
:root[data-theme="light"] .network__hub:hover .network__hub-dot { fill: var(--gold); }

.network__hub-label {
  fill: var(--on-dark-muted); font-family: var(--f-sans);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  opacity: 0.55; pointer-events: none;
  transition: opacity 0.25s var(--ease), fill 0.25s var(--ease);
}
.network__hub-label.is-primary { font-size: 14px; fill: var(--on-dark); opacity: 0.85; }
.network__hub.is-lit .network__hub-label,
.network__hub:hover .network__hub-label,
.network__hub:focus-visible .network__hub-label { opacity: 1; fill: var(--gold-bright); }
.no-js .network__hub-label { opacity: 1; }

.network__aside { display: flex; flex-direction: column; gap: 1.4rem; }
.network__stat-num {
  font-family: var(--f-display); font-size: var(--step-4); font-weight: 600;
  line-height: 0.95; letter-spacing: -0.02em; color: var(--on-dark);
}
.network__stat-num .stat__suffix { color: var(--gold-bright); }
.network__stat-label { font-size: var(--step--1); letter-spacing: 0.08em; color: var(--on-dark-muted); margin-top: 0.4rem; }
.network__legend { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.network__legend li {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--on-dark-muted);
  border: 1px solid var(--on-dark-line); border-radius: 100px;
  padding: 0.3rem 0.7rem; cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.network__legend li:hover, .network__legend li.is-lit { color: var(--gold-bright); border-color: var(--gold); }
.network__hint { font-size: var(--step--1); color: var(--on-dark-muted); font-weight: 300; }

/* ============================================================
   PLAN YOUR FLIGHT — quote widget  (feature 2)
   Light "section--soft" band. HUD-style result panel with a route line that
   draws + altimeter-style reels for distance / time / price.
   ============================================================ */
.plan__panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  position: relative;
}
.plan__form {
  display: grid;
  grid-template-columns: 1fr auto 1fr 0.9fr 0.8fr auto;
  gap: 1rem; align-items: end;
}
.plan__field input[type="date"] { color-scheme: dark; }
.plan__field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; position: relative; }
.plan__suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; margin: 0; padding: 0.4rem; list-style: none; background: var(--bg-soft-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5); max-height: 250px; overflow: auto; }
.plan__suggest[hidden] { display: none; }
.plan__suggest li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0.7rem; border-radius: 8px; cursor: pointer; font-size: var(--step--1); transition: background 0.15s ease, color 0.15s ease; }
.plan__suggest li strong { font-weight: 600; }
.plan__suggest li span { font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); }
.plan__suggest li:hover, .plan__suggest li.is-active { background: rgba(201, 162, 75, 0.14); }
.plan__suggest li:hover strong, .plan__suggest li.is-active strong { color: var(--gold-bright); }
.plan__field label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.plan__field input, .plan__field select {
  width: 100%; padding: 0.8rem 0.95rem;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px;
  font-family: var(--f-sans); font-size: var(--step-0); font-weight: 500;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plan__field input::placeholder { color: var(--muted); }
.plan__field input:focus, .plan__field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.2);
}
.plan__field--invalid input { border-color: #d2766a; box-shadow: 0 0 0 3px rgba(210,118,106,0.18); }
.plan__swap {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold);
  margin-bottom: 0.2rem;
  transition: transform 0.35s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.plan__swap svg { width: 18px; height: 18px; }
.plan__swap:hover { border-color: var(--gold); color: var(--gold-bright); transform: rotate(180deg); }
.plan__swap:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.plan__submit { white-space: nowrap; align-self: end; height: fit-content; }

/* result block */
.plan__result {
  margin-top: 1.8rem; padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.plan__result[hidden] { display: none; }
.js-ready .plan__result.is-revealing { opacity: 0; }
.plan__route { position: relative; margin-bottom: 1.6rem; }
.plan__route-svg { width: 100%; height: auto; aspect-ratio: 1000 / 240; overflow: visible; }
.plan__route-arc {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 4 9; opacity: 0.85;
}
.plan__route-dot { fill: var(--gold); }
.plan__route-dot--b { fill: var(--gold-bright); }
.plan__route-plane { fill: var(--ink); }
.plan__route-plane path { fill: var(--gold-bright); }
.plan__route-ends {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.4rem; gap: 1rem;
}
.plan__route-ends span { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; color: var(--ink); }
.plan__route-mid { color: var(--muted) !important; font-weight: 500 !important; letter-spacing: 0.16em !important; text-transform: uppercase; font-size: 0.6rem !important; }

.plan__readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.plan__readout {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1.2rem; position: relative; overflow: hidden;
  background: var(--bg);
}
.plan__readout::before {
  content: ""; position: absolute; top: 9px; left: 9px; width: 10px; height: 10px;
  border-left: 1.5px solid var(--gold); border-top: 1.5px solid var(--gold); opacity: 0.5;
}
.plan__readout-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.plan__readout-num {
  font-family: var(--f-display); font-variant-numeric: tabular-nums;
  font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); margin-top: 0.45rem; line-height: 1;
  display: inline-flex; align-items: flex-end;
}
.plan__readout--price .plan__readout-num { color: var(--gold); }
.plan__readout-num .stat__suffix { color: var(--gold); font-size: 0.6em; margin-left: 0.12em; align-self: center; }
.plan__disclaimer { margin-top: 1.3rem; font-size: var(--step--1); color: var(--muted); font-weight: 300; }
.plan__disclaimer a { color: var(--gold); font-weight: 600; }
.plan__disclaimer a:hover { color: var(--gold-bright); }

/* ============================================================
   FLIGHT-PATH SECTION DIVIDERS + SCANLINE  (feature 3)
   Thin gold great-circle arc that draws on scroll with a tiny plane gliding
   along it, injected between major sections. Plus one reusable radar scanline
   that sweeps across a section as it enters ("instrument refresh").
   ============================================================ */
.flightpath {
  position: relative; width: 100%; height: 86px;
  pointer-events: none; overflow: hidden;
}
.flightpath svg { width: 100%; height: 100%; display: block; overflow: visible; }
.flightpath__arc {
  fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: 0.7;
  stroke-linecap: round;
}
.js-ready .flightpath__arc { opacity: 0; }
.js-ready .flightpath__arc.is-drawn { opacity: 0.7; }
.flightpath__plane { fill: var(--gold-bright); opacity: 0; }
.js-ready .flightpath__plane.is-flying { opacity: 1; }
.flightpath__node { fill: var(--gold); }
.no-js .flightpath__arc { opacity: 0.7 !important; }

.scanline {
  position: fixed; left: 0; right: 0; z-index: 90;
  height: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg,
    transparent,
    rgba(228,192,121,0.0) 40%,
    rgba(228,192,121,0.16) 92%,
    var(--gold-bright) 100%);
  box-shadow: 0 0 18px -2px rgba(228,192,121,0.5);
  will-change: transform, opacity;
}
:root[data-theme="light"] .scanline {
  background: linear-gradient(180deg, transparent, rgba(157,124,44,0.0) 40%, rgba(157,124,44,0.14) 92%, var(--gold) 100%);
  box-shadow: 0 0 18px -2px rgba(157,124,44,0.4);
}
.scanline.is-sweeping { opacity: 1; }
.no-js .scanline { display: none; }

/* ============================================================
   THEME CROSS-FADE + HUD TEXTURE  (feature 4)
   View Transitions API drives the cinematic dissolve where supported; this
   overlay is the CSS fallback. Plus a faint grain/scanline film and hairline
   gold HUD frames on key panels. Both adapt per theme.
   ============================================================ */
.theme-fade {
  position: fixed; inset: 0; z-index: 350; pointer-events: none;
  opacity: 0; background: var(--bg);
}
.theme-fade.is-fading { opacity: 1; }
.no-js .theme-fade { display: none; }

/* View Transitions: cross-dissolve old/new snapshots instead of instant swap */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* faint grain / scanline film over the whole page (decorative; not on text) */
.hud-grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(0deg, rgba(201,162,75,0.05) 0 1px, transparent 1px 3px),
    radial-gradient(rgba(255,255,255,0.04) 0.5px, transparent 0.5px);
  background-size: 100% 3px, 4px 4px;
}
:root[data-theme="light"] .hud-grain {
  opacity: 0.35; mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(0deg, rgba(157,124,44,0.045) 0 1px, transparent 1px 3px),
    radial-gradient(rgba(40,30,10,0.05) 0.5px, transparent 0.5px);
}
.no-js .hud-grain { display: none; }

/* HUD hairline frame + corner ticks on key panels (matches ascent rivets) */
.hud-frame { position: relative; }
.hud-frame > .hud-tick {
  position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--gold); opacity: 0.5; z-index: 3;
}
.hud-frame > .hud-tick--tl { top: 9px; left: 9px; border-left: 1.5px solid; border-top: 1.5px solid; }
.hud-frame > .hud-tick--tr { top: 9px; right: 9px; border-right: 1.5px solid; border-top: 1.5px solid; }
.hud-frame > .hud-tick--bl { bottom: 9px; left: 9px; border-left: 1.5px solid; border-bottom: 1.5px solid; }
.hud-frame > .hud-tick--br { bottom: 9px; right: 9px; border-right: 1.5px solid; border-bottom: 1.5px solid; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tier--featured, .tier--featured:hover { transform: none; }
  .tier--featured:hover { transform: translateY(-6px); }
  .safety__grid, .safety__certs { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  /* network: map stacks above the stat/legend column */
  .network__wrap { grid-template-columns: 1fr; gap: var(--sp-m); }
  .network__aside { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .network__legend { flex: 1 1 100%; }
  /* plan: two-up form, swap + submit drop full width */
  .plan__form { grid-template-columns: 1fr 1fr; }
  .plan__swap { grid-row: 2; justify-self: center; }
  .plan__field--date { grid-column: 1 / -1; }
  .plan__field--pax { grid-column: 1 / -1; }
  .plan__submit { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  /* drop the wide header CTA on phones so the menu button has room
     (the hero carries a prominent "Search a flight" button) */
  .nav-cta .btn--gold { display: none; }
  .nav-toggle { display: flex; }
  /* tighter page gutters + a smaller, wrapping hero headline so nothing clips */
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  /* the hero is a flex row whose container overflows on phones — make it a
     normal block so the container respects the viewport width */
  .hero { display: block; }
  .hero .container { display: flex; flex-direction: column; justify-content: center;
    min-height: 100svh; padding: 5rem 1.25rem 3rem; max-width: 100%; }
  .hero__inner, .hero__sub { max-width: 100%; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); margin: 1rem 0; }
  .hero h1, .hero__sub, .sky__caption p { overflow-wrap: break-word; }
  .sky__caption { padding-left: 1.25rem; padding-right: 1.25rem; }
  /* network map on phones: the in-map micro-labels shrink with the SVG, so hide
     them and let the readable legend pills below the map carry the hub codes.
     Markers (with their generous transparent hit areas) stay tappable. */
  .network__hub-label { display: none; }
  .network__legend { justify-content: center; }
  .network__legend li { font-size: 0.72rem; padding: 0.5rem 0.9rem; letter-spacing: 0.12em; }
  .network__hint { width: 100%; text-align: center; }
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 360px);
    height: 100svh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* tight gap, padding on links handles spacing */
    background: 
      radial-gradient(100% 60% at 50% 0%, rgba(201, 162, 75, 0.12), transparent),
      linear-gradient(180deg, rgba(14, 18, 28, 0.94) 0%, rgba(10, 14, 23, 0.98) 100%);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px); /* Premium frosted glass */
    border-left: 1.5px solid rgba(201, 162, 75, 0.2); /* Thin gold separator border */
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.65); /* Soft left shadow */
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
    visibility: hidden;
    z-index: 1000;
    counter-reset: menu-counter;
  }
  .nav-links.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  /* Cockpit HUD corner ticks inside the sliding drawer */
  .nav-links::before,
  .nav-links::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--gold);
    opacity: 0.45;
    pointer-events: none;
    z-index: 5;
  }
  .nav-links::before {
    top: 1.5rem;
    left: 1.5rem;
    border-left: 1.5px solid;
    border-top: 1.5px solid;
  }
  .nav-links::after {
    bottom: 1.5rem;
    right: 1.5rem;
    border-right: 1.5px solid;
    border-bottom: 1.5px solid;
  }
  .nav-links a {
    font-family: var(--f-sans);
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    text-decoration: none;
    padding: 1.3rem 0.8rem;
    width: 80%;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed rgba(228, 192, 121, 0.08); /* gold separator */
    transition: color 0.3s var(--ease), padding-left 0.3s var(--ease), border-bottom-color 0.3s var(--ease);
  }
  /* Gold HUD numbering prefixes */
  .nav-links a::before {
    counter-increment: menu-counter;
    content: "0" counter(menu-counter) " //";
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gold-bright);
    margin-right: 1rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: opacity 0.3s var(--ease);
  }
  .nav-links a:hover {
    color: var(--on-dark);
    padding-left: 1.8rem;
    border-bottom-color: rgba(228, 192, 121, 0.25);
  }
  .nav-links a:hover::before {
    opacity: 1;
  }
  .nav-links a.is-active {
    color: var(--gold-bright) !important;
  }
  .nav-links a.is-active::before {
    opacity: 1 !important;
  }
  .nav-links a:last-of-type {
    border-bottom: none;
  }
  .header.is-scrolled .nav-links.is-open a { color: var(--on-dark-muted); }
  .header.is-scrolled .nav-links.is-open a:hover { color: var(--on-dark); }
  .header.is-scrolled .nav-links.is-open a.is-active { color: var(--gold-bright) !important; }

  /* Keep hamburger toggle above sliding sidebar drawer */
  .nav-toggle {
    z-index: 1100;
  }
  /* Animate hamburger to 'X' when open */
  .nav-toggle[aria-expanded="true"] span {
    background: var(--on-dark) !important;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .safety__grid, .safety__certs { grid-template-columns: 1fr; }
  .safety__certs { gap: 1.6rem; }
  .footer__top { grid-template-columns: 1fr; }
  /* plan: single column on phones; route readouts stack to a roomy row */
  .plan__form { grid-template-columns: 1fr; }
  .plan__swap { grid-row: auto; justify-self: start; }
  .plan__readouts { grid-template-columns: 1fr; }
  .network__stat-num { font-size: var(--step-3); }
  .flightpath { height: 60px; }

  /* cert badges stack vertically on mobile and separator dots are hidden */
  .badges { flex-direction: column; gap: 0.6rem; }
  .badges .badges__sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* FLIGHT DECK: show crisp end-states, kill perpetual / pointer / scroll motion */
  [data-rise], [data-rise-item], [data-focus] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reticle { display: none !important; }
  .ascent { display: none !important; }                 /* hero shows immediately */
  .alt-tape { display: none !important; }
  .hero__hud { opacity: 0.6 !important; }               /* static, no parallax */
  .hero__flare { display: none !important; }
  .btn:hover .btn__runway::before,
  .btn:focus-visible .btn__runway::before { animation: none !important; opacity: 0 !important; }
  .card__glow { display: none; }
  .hero__scroll .mouse::after { animation: none !important; }

  /* new features: render final states, kill perpetual / sweep motion */
  .network__arc, .js-ready .network__arc { opacity: 0.42 !important; }   /* arcs fully drawn */
  .network__hub-pulse { animation: none !important; display: none; }
  .network__hub-label { opacity: 1 !important; }                        /* labels static-visible */
  .network__flow { display: none !important; }                          /* no travelling pulse */
  .flightpath__arc, .js-ready .flightpath__arc { opacity: 0.7 !important; }
  .flightpath__plane { opacity: 1 !important; }                         /* park the plane at journey's end */
  .scanline { display: none !important; }
  .theme-fade { display: none !important; }                             /* instant theme swap */
  .hud-grain { display: none !important; }                              /* no shimmer */
  .plan__result.is-revealing { opacity: 1 !important; }
}

/* touch / coarse pointers: never run reticle, magnetic, tilt-style spotlights */
@media (hover: none), (pointer: coarse) {
  .reticle { display: none !important; }
  .reticle-on, .reticle-on a, .reticle-on button, .reticle-on .card, .reticle-on [role="button"] { cursor: auto; }
}

/* ============================================================
   ROYAL SKY FLY — additions (cloud scene · founder band · footer social)
   ============================================================ */

/* ---- Footer social icons ------------------------------------------- */
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--on-dark-line); border-radius: 50%; color: var(--on-dark-muted); transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.footer__social a:hover { color: var(--on-gold); background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }

/* ---- CLOUD SCENE — jet climbs through clouds ----------------------- */
.sky { position: relative; background: linear-gradient(180deg, #2d2d4d 0%, #44507a 30%, #7e8fb6 68%, #c2cde0 100%); }
.sky__stage { position: relative; height: 100vh; overflow: hidden; }
.sky__glow { position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 16%, rgba(231,203,139,0.38), transparent 58%); pointer-events: none; }
.sky__cloud {
  position: absolute;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  /* Feather the edges to make the 90-degree rect crops invisible */
  -webkit-mask-image: radial-gradient(rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%);
  mask-image: radial-gradient(rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%);
}
.sky__cloud--far   { top: 6%;   left: 15%;  width: 48vw; max-width: 620px; opacity: 0.55; filter: blur(1px); }
.sky__cloud--midL  { top: 38%;  left: -12%; width: 64vw; max-width: 820px; opacity: 0.85; }
.sky__cloud--midR  { top: 18%;  right: -12%; width: 68vw; max-width: 880px; opacity: 0.78; }
.sky__cloud--nearL { bottom: -12%; left: -15%; width: 80vw; max-width: 980px; opacity: 0.96; }
.sky__cloud--nearR { bottom: -15%; right: -15%; width: 86vw; max-width: 1040px; opacity: 0.96; }
.sky__plane { position: absolute; top: 50%; left: 50%; width: clamp(220px, 36vw, 480px); height: auto; transform: translate(-50%, -50%) scale(1.05); filter: drop-shadow(0 26px 44px rgba(20,22,43,0.45)); z-index: 5; will-change: transform; }
.sky__caption { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 6; text-align: center; padding: 0 var(--sp-m); }
.sky__caption .eyebrow { color: #fff; justify-content: center; }
.sky__caption .eyebrow::before { background: #fff; }
.sky__caption p { margin-top: 0.6rem; font-family: var(--f-display); font-size: var(--step-2); color: #fff; text-shadow: 0 4px 26px rgba(20,22,43,0.55); }

/* ---- Sky HUD tracking reticle (locks onto the climbing jet) -------- */
.sky__reticle {
  position: absolute; top: 0; left: 0;
  width: var(--rw, 240px); height: var(--rh, 150px);
  /* JS sets --rx/--ry (box centre, px within the stage) + --rw/--rh (lock size) */
  transform: translate(calc(var(--rx, 50%) - 50%), calc(var(--ry, 50%) - 50%));
  z-index: 7; pointer-events: none;
  opacity: 0; transition: opacity 0.45s var(--ease);
  will-change: transform, opacity;
}
.sky__reticle.is-active { opacity: 0.94; }
.sky__reticle-corner {
  position: absolute; width: 20px; height: 20px;
  border: 2px solid var(--gold-bright);
  filter: drop-shadow(0 0 5px rgba(231,203,139,0.55));
}
.sky__reticle-corner--tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.sky__reticle-corner--tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.sky__reticle-corner--bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.sky__reticle-corner--br { bottom: 0; right: 0; border-left: none; border-top: none; }
.sky__reticle-cross { position: absolute; top: 50%; left: 50%; background: rgba(231,203,139,0.7); }
.sky__reticle-cross--h { width: 16px; height: 1px; transform: translate(-50%, -50%); }
.sky__reticle-cross--v { width: 1px; height: 16px; transform: translate(-50%, -50%); }
.sky__reticle-tag {
  position: absolute; bottom: calc(100% + 6px); left: -2px;
  font-family: var(--f-sans); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
  color: var(--gold-bright); text-shadow: 0 2px 10px rgba(20,22,43,0.6);
}
.sky__reticle-readout {
  position: absolute; display: flex; align-items: baseline; gap: 3px;
  font-family: var(--f-sans); color: var(--gold-bright);
  text-shadow: 0 2px 12px rgba(20,22,43,0.7); white-space: nowrap;
}
.sky__reticle-readout--alt { top: -8px; left: calc(100% + 14px); }
.sky__reticle-readout--spd { bottom: -8px; right: calc(100% + 14px); }
.sky__reticle-val { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.sky__reticle-unit { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.14em; opacity: 0.78; }

@media (max-width: 760px) {
  .sky__plane { width: clamp(170px, 62vw, 300px); }
  .sky__caption p { font-size: var(--step-1); }
  /* scale up clouds on mobile screens to cover the tall portrait viewport */
  .sky__cloud--far   { width: 80vw; left: 10%; top: 8%; }
  .sky__cloud--midL  { width: 95vw; left: -10%; top: 32%; }
  .sky__cloud--midR  { width: 100vw; right: -15%; top: 16%; }
  .sky__cloud--nearL { width: 115vw; left: -15%; bottom: -6%; }
  .sky__cloud--nearR { width: 120vw; right: -15%; bottom: -8%; }
}

/* ---- FOUNDER band (~50vh; photo right, greeting left) -------------- */
.founder { padding: clamp(3.5rem, 7vh, 6rem) 0; }
.founder__inner { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: 50vh; }
.founder__text h2 { font-size: var(--step-3); margin: 0.6rem 0 1.4rem; }
.founder__text p { color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 1.1rem; font-weight: 300; font-size: var(--step-1); line-height: 1.7; }
.founder__sign { margin-top: 1.8rem; padding-left: 1.1rem; border-left: 2px solid var(--gold); }
.founder__sign figcaption strong { display: block; font-family: var(--f-display); font-size: var(--step-1); color: var(--on-dark); }
.founder__sign figcaption span { color: var(--gold-bright); font-size: var(--step--1); letter-spacing: 0.04em; }
.founder__photo { position: relative; justify-self: center; width: clamp(220px, 26vw, 340px); aspect-ratio: 1; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid var(--line-2); box-shadow: var(--shadow); }
.founder__photo-ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0.55; pointer-events: none; }
.founder__photo-ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(201,162,75,0.3); }
@media (max-width: 820px) {
  .founder__inner { grid-template-columns: 1fr; text-align: center; }
  .founder__text p { margin-left: auto; margin-right: auto; }
  .founder__sign { display: inline-block; text-align: left; }
  .founder__photo { order: -1; }
}

/* ---- Reduced motion: cloud scene is a calm static still ------------ */
@media (prefers-reduced-motion: reduce) {
  .sky__stage { height: 70vh; }
  .sky__plane { transform: translate(-50%, -50%) scale(1); }
}
