/* =========================================================
   GQ Aviation — site stylesheet
   Brand: logo red #FD0601, logo lime #76D902, night-sky navy.
   No build step. Edit tokens in :root to re-theme.
   ========================================================= */

:root {
  /* Color */
  --ink: #0a1626;          /* night sky / primary text */
  --ink-2: #13243a;
  --ink-3: #1d3352;
  --paper: #f7f5f0;        /* page background */
  --paper-2: #eeeae1;
  --white: #ffffff;
  --muted: #566173;
  --muted-on-dark: #a9b5c6;
  --line: rgba(10, 22, 38, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --red: #e3140c;          /* UI red, AA on white text */
  --red-deep: #b30f08;
  --red-logo: #fd0601;
  --lime: #76d902;         /* logo lime, use on dark only */
  --green-ink: #2f7a00;    /* lime's accessible sibling for light bg */
  --amber: #f2b33d;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.6vw, 5rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 22, 38, 0.06), 0 8px 24px -12px rgba(10, 22, 38, 0.18);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); text-transform: uppercase; }
h2 { font-size: var(--step-3); text-transform: uppercase; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lede, .section--dark p { color: var(--muted-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 62ch; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; } .split--even { grid-template-columns: 1fr 1fr; } }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--lime); }
.mono { font-family: var(--font-mono); font-size: 0.85em; letter-spacing: 0.02em; }
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px;
  background: var(--ink); color: #fff;
}
.tag--red { background: var(--red); }
.tag--lime { background: var(--lime); color: var(--ink); }
.tag--ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { --btn-bg: var(--red-deep); --btn-bd: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--lime); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--ink);
  padding: 8px 12px; border-radius: 999px; transition: background-color .15s;
}
.nav a:not(.btn):hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  /* Collapsed menu only when JavaScript is running (the .js class is set in each page's <head>) */
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(10,22,38,.35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .js .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .js .nav a:not(.btn) { padding: 14px 12px; font-size: 1.08rem; border-radius: 10px; }
  .js .nav .btn { margin: 10px 0 0; }
  /* Without JavaScript: show the links as a wrapped row under the logo */
  html:not(.js) .site-header .container { height: auto; flex-wrap: wrap; padding-block: 10px; gap: 8px; }
  html:not(.js) .nav { width: 100%; margin-left: 0; flex-wrap: wrap; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero__art { position: absolute; inset: 0; z-index: -1; }
.hero__art svg { width: 100%; height: 100%; }
.hero__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,38,.92) 0%, rgba(10,22,38,.7) 38%, rgba(10,22,38,0) 70%);
}
@media (max-width: 760px) {
  /* Keep the runway (right of the artwork's centre) in view on narrow screens */
  .hero__art svg { position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; aspect-ratio: 16 / 9; transform: translateX(-66%); }
  .hero__art::after { background: linear-gradient(180deg, rgba(10,22,38,.5) 0%, rgba(10,22,38,.78) 50%, rgba(10,22,38,.86) 100%); }
}
.hero .container { min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(72px, 12vw, 140px) clamp(56px, 8vw, 96px); }
.hero__content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { color: #d5deea; margin-bottom: 32px; }
.hero__meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-dark); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* Page hero (interior pages) */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .container { padding-block: clamp(64px, 9vw, 112px) clamp(48px, 7vw, 80px); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lede { color: #d5deea; }
.page-hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
}
.page-hero__glow { position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(118,217,2,.18), transparent 65%); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted-on-dark); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Stats strip ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.stats__item { padding: 28px 20px; border-left: 1px solid var(--line); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__num { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1; display: block; }
.stats__num small { font-size: .5em; color: var(--red); margin-left: 2px; }
.stats__label { display: block; margin-top: 6px; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 760px) {
  .stats__list { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 20px 14px; }
  .stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow);
}
.card > .tag, .card > .eyebrow { align-self: flex-start; }
.card h3 { margin: 0; padding-right: 64px; }
.card p { color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card--link { text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card--link:hover { transform: translateY(-3px); border-color: rgba(227,20,12,.35); box-shadow: 0 2px 4px rgba(10,22,38,.06), 0 18px 36px -18px rgba(10,22,38,.35); }
.card__code {
  font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: .9;
  color: var(--paper-2); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke;
  position: absolute; right: 22px; top: 18px; letter-spacing: .02em;
}
.card--dark { background: var(--ink-2); border-color: var(--line-on-dark); color: #fff; box-shadow: none; }
.card--dark p { color: var(--muted-on-dark); }
.card--dark .card__code { color: transparent; -webkit-text-stroke-color: rgba(255,255,255,.35); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 28px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.section--dark .checklist li, .card--dark .checklist li { color: #e4ebf3; }
.section--dark .checklist li::before, .card--dark .checklist li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230a1626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Flight path (training progression) ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; counter-reset: wp; }
.route::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 0;
  border-top: 2px dashed rgba(255,255,255,.28);
}
.route li { position: relative; text-align: center; padding: 0 8px; counter-increment: wp; }
.route__dot {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); border: 2px solid rgba(255,255,255,.35);
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: #fff; position: relative; z-index: 1;
}
.route li:first-child .route__dot { border-color: var(--lime); color: var(--lime); }
.route li:last-child .route__dot { border-color: var(--red-logo); background: var(--red); }
.route h3 { font-size: 1.15rem; margin-bottom: 6px; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.route p { font-size: .92rem; margin: 0; color: var(--muted-on-dark); }
@media (max-width: 900px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 27px; right: auto; top: 28px; bottom: 28px; border-top: 0; border-left: 2px dashed rgba(255,255,255,.28); }
  .route li { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; padding: 0 0 26px; }
  .route li:last-child { padding-bottom: 0; }
  .route__dot { margin: 0; grid-row: span 2; }
  .route h3 { align-self: end; margin: 6px 0 2px; }
}

/* ---------- Fleet ---------- */
.fleet-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; }
.fleet-card__type {
  grid-row: span 3; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1;
  min-width: 108px; padding: 16px 14px; border-radius: 10px; text-align: center;
  background: var(--ink); color: #fff;
}
.fleet-card__type small { display: block; margin-top: 6px; font-family: var(--font-mono); font-weight: 500; font-size: .66rem; letter-spacing: .1em; color: var(--lime); text-transform: uppercase; }
.fleet-card h3 { font-size: 1.5rem; margin: 2px 0 0; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.specs li { font-family: var(--font-mono); font-size: .74rem; padding: 4px 8px; border-radius: 4px; background: var(--paper-2); color: var(--ink); }
@media (max-width: 520px) { .fleet-card { grid-template-columns: 1fr; } .fleet-card__type { grid-row: auto; justify-self: start; } }

/* ---------- Proof / recognition ---------- */
.recognition {
  position: relative; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.recognition::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--red-logo), var(--red-logo) 50%, var(--lime) 50%); }
.recognition blockquote { margin: 0 0 16px; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.15; }
.recognition cite { font-style: normal; color: var(--muted); font-size: var(--step--1); }

.rating { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rating__score { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .85; }
.rating__stars { color: var(--amber); font-size: 1.4rem; letter-spacing: 3px; }
.rating__meta { color: var(--muted-on-dark); }

/* ---------- Feature list ---------- */
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; }
.feature__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(227,20,12,.08); color: var(--red); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.3rem; margin: 2px 0 0; }
.feature p { margin: 0; color: var(--muted); }
.section--dark .feature__icon { background: rgba(118,217,2,.12); color: var(--lime); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255,255,255,.5) 22px 24px);
  mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { margin: 0; font-size: var(--step-3); max-width: 20ch; }
.cta-band p { margin: 8px 0 0; color: #ffe1df; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.cta-band .btn:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.cta-band .btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.7); }

/* ---------- Program detail ---------- */
.program { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.program:first-of-type { border-top: 0; padding-top: 0; }
.program__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-bottom: 14px; }
.program__head h2 { margin: 0; font-size: var(--step-3); }
.reqs { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.reqs h3 { font-size: 1rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.reqs dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.reqs dt { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.reqs dd { margin: 0; color: var(--muted); align-self: center; }
.note { font-size: var(--step--1); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(10,22,38,.28); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 22px; font-weight: 600; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--red); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__body p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: var(--step-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid rgba(10,22,38,.22); background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10,22,38,.12); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: #e9f7dc; color: #1f4f00; }
.form-status.is-err { display: block; background: #fde6e5; color: #8a0c06; }

.info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 22px; }
.info-card h2, .info-card h3 { color: #fff; }
.info-row { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.info-row svg { width: 22px; height: 22px; color: var(--lime); margin-top: 2px; }
.info-row strong { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 2px; }
.info-row a { color: #fff; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.info-row a:hover { text-decoration-color: var(--lime); }

/* Airport mark */
.airport-mark { border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-on-dark); padding: 18px; }
.airport-mark svg { width: 100%; height: auto; }
.airport-mark figcaption { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); margin-top: 10px; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; text-transform: none; }
.prose h3 { font-size: var(--step-1); margin-top: 1.4em; }
.prose p, .prose li { color: #2c3747; }
.prose a { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: .01em; color: #fff; text-transform: uppercase; line-height: 1; }
.footer-brand .wordmark b { color: var(--lime); font-weight: 700; }
.footer-brand .wordmark i { color: var(--red-logo); font-style: normal; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.site-footer h2 { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-on-dark); transition: background-color .15s, border-color .15s; }
.socials a:hover { background: var(--ink-3); border-color: rgba(255,255,255,.3); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); padding-block: 22px; border-top: 1px solid var(--line-on-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .85rem; }
.footer-bottom .mono { color: #7f8ea3; }
.has-host-badge .footer-bottom { padding-bottom: 72px; } /* room for Netlify's free-plan badge */

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .mobile-cta .btn { min-height: 46px; padding: 10px 12px; font-size: .95rem; }
  body { padding-bottom: 72px; }
  /* Netlify's free-plan badge sits in the bottom 64px on the right (main.js adds .has-host-badge) */
  .has-host-badge .mobile-cta { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .has-host-badge body { padding-bottom: 130px; }
}

/* ---------- Promo bar ---------- */
.promo-bar { background: var(--ink); color: #fff; font-size: .92rem; }
.promo-bar .container { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; min-height: 42px; padding-block: 8px; text-align: center; }
.promo-bar strong { color: var(--lime); font-weight: 600; }
.promo-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--red-logo); }
.promo-bar a:hover { color: var(--lime); }

/* ---------- Store ---------- */
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 700; line-height: 1; }
.price__amount { font-size: 2.6rem; color: var(--ink); }
.price__amount sup { font-size: .45em; vertical-align: top; position: relative; top: .35em; margin-right: 1px; }
.price__unit { font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--muted); }
.section--dark .price__amount, .card--dark .price__amount { color: #fff; }

.product { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.product__media { aspect-ratio: 3 / 2; background: var(--ink); overflow: hidden; position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media--art { display: grid; place-items: center; background:
  radial-gradient(120% 90% at 80% 110%, rgba(231,154,92,.55), transparent 55%),
  linear-gradient(180deg, #081322 0%, #13243a 70%, #2e3f62 100%); }
.product__media--art .art-label { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: .95; text-align: center; }
.product__media--art .art-label em { font-style: normal; color: var(--lime); display: block; }
.product__badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.product__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.6vw, 28px); flex: 1; }
.product__body h3 { margin: 0; font-size: 1.7rem; }
.product__body p { margin: 0; color: var(--muted); }
.product__body .checklist { margin: 4px 0 6px; font-size: .97rem; }
.product__actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.product__actions .btn { flex: 1 1 auto; }
.product--compact .product__media { aspect-ratio: 16 / 10; }

.featured { display: grid; grid-template-columns: 1fr; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: 0 2px 4px rgba(10,22,38,.06), 0 24px 48px -24px rgba(10,22,38,.35); overflow: hidden; }
@media (min-width: 900px) { .featured { grid-template-columns: 1fr 1.05fr; } }
.featured__art { position: relative; min-height: 200px; background:
  radial-gradient(90% 70% at 70% 105%, rgba(231,154,92,.6), transparent 60%),
  linear-gradient(180deg, #060f1c 0%, #11243f 60%, #2e3f62 100%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 40px); overflow: hidden; isolation: isolate; }
.featured__art::before { content: ""; position: absolute; inset: auto -10% -2px -10%; height: 55%; z-index: -1;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(42,52,70,.95) 168deg 192deg, transparent 200deg); }
.featured__art .eyebrow { margin-bottom: 8px; }
.featured__art h2 { color: #fff; margin: 0; font-size: var(--step-4); }
.featured__art h2 em { font-style: normal; color: var(--lime); }
.featured__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.option-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.option { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.option--best { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,20,12,.08); }
.option h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; margin: 0; }
.option .price__amount { font-size: 2.2rem; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 18px; height: 18px; color: var(--green-ink); flex: none; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: st; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: st; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: "0" counter(st); display: block; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--red); margin-bottom: 10px; }
.steps h3 { font-size: 1.3rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

.package-price { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Aircraft documents (fleet page). Add <ul class="docs"> inside a fleet card when files are ready. */
.docs { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.docs a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; background: var(--paper-2); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; }
.docs a::before { content: "PDF"; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .06em; padding: 2px 4px; border-radius: 3px; background: var(--red); color: #fff; }
.docs a:hover { background: var(--ink); color: #fff; }

/* Photo figure */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: .85rem; color: var(--muted-on-dark); padding: 10px 14px; background: var(--ink); }

/* YouTube videos. The preview is a plain link to YouTube; main.js swaps in the player on click,
   so nothing loads from YouTube until someone presses play. Previews live in /assets/img/videos/. */
.video { margin: 0; }
.video__frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.video__frame img, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 12px; background: rgba(10,22,38,.82); display: grid; place-items: center; transition: background-color .15s; }
.video__play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video__frame:hover .video__play, .video__frame:focus-visible .video__play { background: var(--red); }
.video__time { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(10,22,38,.85); color: #fff; font-family: var(--font-mono); font-size: .72rem; }
.video figcaption { margin-top: 12px; }
.video h3 { font-size: 1.3rem; margin: 0 0 4px; }
.video p { margin: 0; color: var(--muted); font-size: .97rem; }
.section--dark .video p { color: var(--muted-on-dark); }
.video-grid { display: grid; gap: clamp(24px, 3vw, 36px) clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.divider-dots { height: 2px; background-image: linear-gradient(90deg, var(--line) 50%, transparent 50%); background-size: 10px 2px; margin-block: 32px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font-size: .92rem; }

/* Reveal on scroll (JS adds .is-visible). Content stays visible without JS. */
.reveal-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Runway light twinkle in hero */
@keyframes strobe { 0%, 92%, 100% { opacity: .25; } 95% { opacity: 1; } }
.strobe { animation: strobe 2.4s infinite; }
.strobe--b { animation-delay: .12s; } .strobe--c { animation-delay: .24s; } .strobe--d { animation-delay: .36s; } .strobe--e { animation-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .cta-band, .site-footer .socials { display: none; }
  .hero, .page-hero, .section--dark { background: #fff; color: #000; }
}
