/* ==========================================================================
   Skywalker Flight Training: design system
   One stylesheet for the whole site. Tokens first, then components.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand (from skywalkerflighttraining.je): teal-black #122023, off-white #EFEFEF,
     lime #E1FF01, purple #7D35B9 (the logo colour), pale sky #ADDCEC. */

  /* Ink & surfaces */
  --ink: #122023;           /* Skywalker teal-black */
  --ink-2: #44575B;
  --ink-3: #66787C;
  --sand: #F6F6F3;          /* page */
  --white: #FFFFFF;
  --hairline: #E1E4E1;
  --glacier: #E7F4F9;       /* pale sky tint */
  --sky-1: #ADDCEC;         /* Skywalker pale sky */
  --sky-2: #E4F2F8;
  --granite: #D9C3EE;       /* purple tint (class names kept from the shared design system) */
  --granite-2: #F1E8F9;
  --seaglass: #E1FF01;      /* Skywalker lime: use on dark backgrounds only */
  --seaglass-2: #F5FCC8;
  --gold: #B9CF00;

  /* Action */
  --cta: #7D35B9;           /* Skywalker purple */
  --cta-hover: #652A97;
  --sunset: #E1FF01;
  --sunset-ink: #5E6B00;

  /* Dark */
  --night: #122023;
  --night-2: #1B3135;
  --on-night: #EFEFEF;
  --on-night-2: #A7B9BC;
  --sky-on-night: #ADDCEC;

  /* Flight categories */
  --vfr: #0E7C66; --mvfr: #1F4FD8; --ifr: #B4232A; --lifr: #9D2BB5;

  --cloud-band: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sand) 100%);
  --dusk: radial-gradient(120% 80% at 85% 0%, #7D35B940 0%, transparent 60%),
          radial-gradient(80% 60% at 0% 100%, #E1FF0114 0%, transparent 60%),
          linear-gradient(180deg, #1B3135 0%, #122023 100%);

  /* Type */
  --f-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-xl: clamp(3rem, 6.4vw + 1rem, 6.75rem);
  --t-l: clamp(2.5rem, 4.4vw + 1rem, 4.75rem);
  --t-h2: clamp(2.1rem, 3vw + 1rem, 3.5rem);
  --t-h3: clamp(1.25rem, 0.9vw + 1rem, 1.625rem);
  --t-lead: clamp(1.125rem, 0.5vw + 1rem, 1.375rem);

  /* Space & shape */
  --gutter: 16px;
  --container: 1240px;
  --section: clamp(72px, 10vw, 144px);
  --gap: 16px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgb(18 32 35 / .06), 0 12px 32px -12px rgb(18 32 35 / .18);
  --shadow-lg: 0 2px 4px rgb(18 32 35 / .05), 0 30px 60px -20px rgb(18 32 35 / .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --gap: 24px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cta); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--cta-hover); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); text-wrap: balance; color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--sky-on-night); }
::selection { background: var(--sky-1); color: var(--ink); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: var(--r-pill); }
.skip:focus { top: 16px; color: var(--white); }
.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; }

/* ---------- Typography ---------- */
.display-xl { font-size: var(--t-xl); font-weight: 400; line-height: .93; letter-spacing: -.035em; }
.display-l  { font-size: var(--t-l);  font-weight: 400; line-height: .96; letter-spacing: -.03em; }
.h2 { font-size: var(--t-h2); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; }
.h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: var(--t-lead); font-weight: 500; line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.dark .lead { color: var(--on-night-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .6; }
.dark .eyebrow { color: var(--on-night-2); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero"; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); font-weight: 400; letter-spacing: -.02em; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r-lg); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--granite);
  font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; line-height: 1.4; color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 88px); }
.band-sky { background: var(--cloud-band); }
.band-white { background: var(--white); }
.dark { background: var(--dusk); color: var(--on-night); }
.dark .muted { color: var(--on-night-2); }
.dark a:not(.btn) { color: var(--sky-on-night); }
.inset { margin-inline: 12px; border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 768px) { .inset { margin-inline: 16px; } }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; }
  .section-head.split .lead { justify-self: end; }
}

.grid { display: grid; gap: var(--gap); }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Buttons & chips ---------- */
.btn {
  --b: var(--cta); --c: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  background: var(--b); color: var(--c); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: -.005em; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
  cursor: pointer;
}
.btn:hover { --b: var(--cta-hover); color: var(--c); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(125 53 185 / .6); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { --b: transparent; --c: var(--ink); border-color: rgb(18 32 35 / .18); }
.btn.ghost:hover { --b: var(--white); box-shadow: none; border-color: rgb(18 32 35 / .3); }
.btn.light { --b: var(--white); --c: var(--ink); }
.btn.light:hover { --b: var(--sand); box-shadow: 0 10px 24px -10px rgb(0 0 0 / .4); }
.dark .btn.ghost, .on-photo .btn.ghost { --c: var(--on-night); border-color: rgb(255 255 255 / .28); }
.dark .btn.ghost:hover, .on-photo .btn.ghost:hover { --b: rgb(255 255 255 / .1); }
/* On dark backgrounds the main button is Skywalker lime with dark text, as on the brand site */
.dark .btn:not(.ghost):not(.light), .btn.lime { --b: var(--seaglass); --c: var(--ink); }
.dark .btn:not(.ghost):not(.light):hover, .btn.lime:hover { --b: #EEFF5C; box-shadow: 0 10px 24px -10px rgb(225 255 1 / .45); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-pill); background: rgb(255 255 255 / .75); border: 1px solid var(--hairline);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem;
  backdrop-filter: blur(10px); transition: background .2s, transform .2s var(--ease), border-color .2s;
}
.chip:hover { background: var(--white); color: var(--ink); transform: translateY(-1px); border-color: rgb(18 32 35 / .25); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--seaglass); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill); background: var(--glacier); color: var(--ink); }
.tag.warm { background: var(--granite-2); }
.tag.sea { background: var(--seaglass-2); }

/* ---------- Header ---------- */
/* Tier 1: slim dark utility strip that scrolls away. Tier 2: solid main bar, pinned. */
.site-header { position: sticky; top: -40px; z-index: 50; }
.utility { height: 40px; background: var(--night); color: var(--on-night-2); font-size: .8125rem; }
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility a { color: var(--on-night); text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.u-left, .u-right { display: flex; align-items: center; gap: 22px; min-width: 0; }
.u-wx { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .02em; white-space: pre; }
.u-wx i, .wx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on-night-2); flex: none; }
.u-desk { display: none; align-items: center; gap: 8px; white-space: nowrap; }
.u-desk::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FFB38A; }
.u-desk.is-open::before { background: #2BD4A4; }
.u-hide-sm { display: none; }
@media (min-width: 720px) { .u-desk { display: inline-flex; } }
@media (min-width: 900px) { .u-hide-sm { display: inline; } }
@media (max-width: 480px) { .u-right a:first-child { font-family: var(--f-mono); font-size: .75rem; } }

.mainbar { position: relative; background: var(--sand); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.scrolled .mainbar, .mega-open .mainbar { background: rgb(251 248 243 / .96); border-bottom-color: var(--hairline); box-shadow: 0 10px 30px -24px rgb(18 32 35 / .45); }
@supports (backdrop-filter: blur(1px)) { .scrolled .mainbar { background: rgb(251 248 243 / .88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); } }
.mainbar-inner { height: 84px; display: flex; align-items: center; gap: 12px; transition: height .3s var(--ease); }
.scrolled .mainbar-inner { height: 72px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-right: auto; flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 52px; height: 52px; flex: none; transition: width .3s var(--ease), height .3s var(--ease); }
.scrolled .brand img { width: 44px; height: 44px; }
.brand b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.025em; line-height: 1; }
.brand small { display: block; margin-top: 6px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
@media (max-width: 400px) { .brand b { font-size: 1.08rem; } .brand small { letter-spacing: .1em; } .brand img { width: 44px; height: 44px; } }

.nav-links { display: none; align-items: center; height: 100%; }
.nav-top {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 15px;
  border: 0; background: none; cursor: pointer; color: var(--ink); text-decoration: none;
  font-family: var(--f-body); font-weight: 550; font-size: .9688rem; white-space: nowrap;
}
.nav-top svg { width: 14px; height: 14px; opacity: .5; transition: transform .3s var(--ease); }
.nav-top::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-top:hover, .nav-top[aria-expanded="true"] { color: var(--ink); }
.nav-top:hover::after, .nav-top[aria-expanded="true"]::after, .nav-top.is-current::after, .nav-top[aria-current="page"]::after { transform: scaleX(1); }
.nav-top.is-current::after, .nav-top[aria-current="page"]::after { background: var(--cta); }
.nav-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2BD4A4; box-shadow: 0 0 0 0 rgb(43 212 164 / .5); }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: live 2s ease-out infinite; } @keyframes live { 70% { box-shadow: 0 0 0 7px rgb(43 212 164 / 0); } 100% { box-shadow: 0 0 0 0 rgb(43 212 164 / 0); } } }

.nav-cta { display: none; min-height: 48px; padding: 0 22px; font-size: .9375rem; margin-left: 10px; --b: var(--ink); }
.nav-cta:hover { --b: var(--cta); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 16px; border-radius: var(--r-pill);
  border: 1px solid rgb(18 32 35 / .16); background: transparent; color: var(--ink); cursor: pointer; font-weight: 600; font-size: .9375rem;
}
.menu-btn em { font-style: normal; }
.menu-btn span { width: 16px; height: 1.5px; background: currentColor; display: block; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span::before { transform: translateY(-5px); } .menu-btn span::after { transform: translateY(5px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); } .menu-open .menu-btn span::after { transform: rotate(-45deg); }
@media (max-width: 400px) { .menu-btn em { display: none; } .menu-btn { width: 46px; padding: 0; justify-content: center; } }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1120px) { .nav-links { display: flex; } .menu-btn { display: none; } }
@media (min-width: 1120px) and (max-width: 1260px) { .nav-top { padding: 0 11px; } .nav-top::after { left: 11px; right: 11px; } .brand small { display: none; } }

/* Drop-down panels: full width, directly under the bar */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--hairline); box-shadow: 0 30px 60px -30px rgb(18 32 35 / .35); }
.mega:not([hidden]) { animation: megaIn .3s var(--ease) both; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding-top: 36px; padding-bottom: 40px; }
.mega-title { margin: 0 0 18px; font-family: var(--f-display); font-weight: 300; font-size: 2rem; letter-spacing: -.03em; }
.mega-title a { color: var(--ink); text-decoration: none; }
.mega-title a:hover { color: var(--cta); }
.mega-links { list-style: none; margin: 0 -14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
.mega-links a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .2s; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--sand); color: var(--ink); }
.mega-links b { display: block; font-weight: 600; font-size: 1rem; }
.mega-links small { display: block; color: var(--ink-2); font-size: .875rem; margin-top: 2px; }
.mi { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--glacier); color: var(--cta); transition: background .2s, color .2s; }
.mi svg { width: 20px; height: 20px; }
.mega-links a:hover .mi { background: var(--cta); color: #fff; }
.mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; border-radius: var(--r-md); overflow: hidden; color: #fff; text-decoration: none; background: var(--night); isolation: isolate; }
.mega-feature:hover { color: #fff; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(18 32 35 / .85)); }
.mega-feature.is-wx { background: var(--dusk); }
.mega-feature.is-wx::after { display: none; }
.mf-wx { position: absolute; top: 22px; left: 22px; right: 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.mf-wx i { width: 10px; height: 10px; border-radius: 50%; background: var(--on-night-2); }
.mf-wx b { font-family: var(--f-mono); font-weight: 500; letter-spacing: .04em; }
.mf-wx span { grid-column: 2; font-family: var(--f-mono); font-size: .8rem; color: var(--on-night-2); }
.mf-body { padding: 22px; display: grid; gap: 6px; }
.mf-eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
.mf-title { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.12; letter-spacing: -.02em; }
.mf-note { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: rgb(255 255 255 / .85); }
.mf-note svg { width: 15px; height: 15px; }
.mega-scrim { position: fixed; inset: 0; z-index: 40; background: rgb(18 32 35 / .25); }
.mega-scrim:not([hidden]) { animation: fadeIn .25s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mega:not([hidden]), .mega-scrim:not([hidden]) { animation: none; } }

/* Mobile menu */
.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--sand); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.drawer-inner { padding: 136px var(--gutter) 0; display: grid; gap: 28px; max-width: 720px; margin-inline: auto; }
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open .site-header { z-index: 60; top: 0; }
.drawer-group .eyebrow { margin-bottom: 4px; }
.drawer a.big { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hairline); color: var(--ink); text-decoration: none; }
.drawer a.big span { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.2; }
.drawer a.big small { font-size: .8rem; color: var(--ink-3); font-weight: 500; text-align: right; }
@media (max-width: 480px) { .drawer a.big small { display: none; } }
.drawer-foot { position: sticky; bottom: 0; margin: 0 calc(var(--gutter) * -1); padding: 16px var(--gutter) max(20px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgb(251 248 243 / 0), var(--sand) 25%); }
.drawer-foot .btn { flex: 1; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: 4px; }
.hero-media {
  position: relative; min-height: min(calc(100svh - 136px), 860px); border-radius: var(--r-xl); overflow: hidden;
  margin-inline: 12px; display: flex; align-items: flex-end; isolation: isolate; background: var(--night);
}
@media (min-width: 768px) { .hero-media { margin-inline: 16px; } }
.hero-media > img, .hero-media > video, .hero-media > picture img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(18 32 35 / .4) 0%, rgb(18 32 35 / .1) 30%, rgb(18 32 35 / .35) 55%, rgb(18 32 35 / .85) 100%);
}
.hero-inner { width: 100%; padding: clamp(28px, 5vw, 72px); color: var(--white); }
.hero h1 { max-width: 13ch; color: var(--white); }
.hero .lead { color: rgb(255 255 255 / .86); margin-top: 24px; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero .chips .chip { background: rgb(255 255 255 / .14); color: var(--white); border-color: rgb(255 255 255 / .22); }
.hero .chips .chip:hover { background: rgb(255 255 255 / .24); }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.coord { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: rgb(255 255 255 / .7); line-height: 1.7; text-align: right; }
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.page-hero .display-l { max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero.with-media .hero-media { min-height: min(72svh, 720px); }

/* ---------- Fact strip ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hairline); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 28px 0 8px; padding-right: 16px; }
.fact b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); letter-spacing: -.035em; line-height: 1; }
.fact span { display: block; margin-top: 10px; color: var(--ink-2); font-size: .9375rem; font-weight: 500; }
.dark .facts { border-color: rgb(255 255 255 / .12); }
.dark .fact span { color: var(--on-night-2); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: clamp(24px, 2.4vw, 36px); color: var(--ink); text-decoration: none; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: transparent; }
.card.glacier { background: var(--glacier); border-color: transparent; }
.card.granite { background: var(--granite-2); border-color: transparent; }
.card.sea { background: var(--seaglass-2); border-color: transparent; }
.card.ink { background: var(--night); color: var(--on-night); border-color: transparent; }
.card.ink .muted { color: var(--on-night-2); }
.dark .card { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .09); color: var(--on-night); }
.card .h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.card.ink p, .dark .card p { color: var(--on-night-2); }
.card .foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); flex: none; transition: background .3s, transform .3s var(--ease); }
.card .arrow svg { width: 18px; height: 18px; }
a.card:hover .arrow { background: var(--cta); color: var(--white); transform: rotate(-45deg); }
.card.ink .arrow, .dark .card .arrow { background: rgb(255 255 255 / .08); }
.card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); margin-bottom: 28px; }
.card .icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.card.glacier .icon, .card.granite .icon, .card.sea .icon { background: rgb(255 255 255 / .7); }
.card.ink .icon, .dark .card .icon { background: rgb(255 255 255 / .08); color: var(--seaglass); }

/* SkySim brand: logo artwork from Skywalker (December 2026) */
.brand-panel { background: var(--night); border-radius: var(--r-xl); display: grid; place-items: center; padding: clamp(36px, 6vw, 72px); }
.brand-panel img { width: min(100%, 400px); height: auto; }
.brand-logo { display: block; width: min(100%, 400px); height: auto; }
.brand-badge { display: block; width: clamp(140px, 18vw, 200px); height: auto; margin-top: 32px; }
.card .price { font-family: var(--f-display); font-weight: 300; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; }
.card .price small { font-family: var(--f-body); font-size: .9rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }

.media-card { padding: 0; }
.media-card .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--glacier); }
.media-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.media-card:hover .img img { transform: scale(1.04); }
.media-card .body { padding: clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; flex: 1; }

.photo-card { min-height: 420px; padding: 0; justify-content: flex-end; color: var(--white); border: 0; background: var(--night); }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(18 32 35 / .82)); }
.photo-card .body { position: relative; z-index: 1; padding: clamp(24px, 2.6vw, 36px); }
.photo-card p { color: rgb(255 255 255 / .82); }
a.photo-card:hover { color: var(--white); }
a.photo-card:hover > img { transform: scale(1.04); }
.photo-card .arrow { background: rgb(255 255 255 / .16); color: var(--white); }

/* Bento */
.bento { display: grid; gap: var(--gap); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento .b-hero { grid-column: span 3; grid-row: span 2; }
  .bento .b-3 { grid-column: span 3; }
  .bento .b-2 { grid-column: span 2; }
  .bento .b-4 { grid-column: span 4; }
  .bento .b-6 { grid-column: span 6; }
}

/* Split feature */
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.split-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--glacier); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.wide { aspect-ratio: 5 / 4; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--seaglass-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230E7C66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.dark .ticks li::before { background-color: rgb(127 209 196 / .15); }

/* ---------- Data panel (visiting pilots) ---------- */
.data-panel { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--hairline); overflow: hidden; }
.dark .data-panel { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); }
.data-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--hairline); }
.data-row:first-child { border-top: 0; }
.dark .data-row { border-color: rgb(255 255 255 / .08); }
.data-row dt { font-size: .8125rem; color: var(--ink-2); font-weight: 600; letter-spacing: .02em; }
.dark .data-row dt { color: var(--on-night-2); }
.data-row dd { margin: 0; font-family: var(--f-mono); font-size: .9375rem; text-align: right; }
.copy { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 4px 8px; margin: -4px -8px; border-radius: 8px; }
.copy:hover { background: rgb(18 32 35 / .06); }
.dark .copy:hover { background: rgb(255 255 255 / .08); }
.copy.copied::after { content: " ✓ copied"; font-family: var(--f-body); font-size: .75rem; color: var(--vfr); }
.dark .copy.copied::after { color: var(--seaglass); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: var(--gap); }
@media (min-width: 640px) { .steps.h { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps.h { grid-template-columns: repeat(var(--n, 5), 1fr); } }
.step { counter-increment: s; position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--hairline); }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); display: block; margin-bottom: 36px; }
.dark .step { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .09); }
.dark .step::before { color: var(--on-night-2); }
.step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.dark .step p { color: var(--on-night-2); }
.step .meta { margin-top: 18px; font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }

/* Timeline (heritage) */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 1fr; gap: 8px 48px; padding: 40px 0; border-top: 1px solid var(--hairline); }
@media (min-width: 900px) { .tl-item { grid-template-columns: 220px 1fr 1fr; align-items: start; } }
.tl-year { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 3vw + 1rem, 4rem); letter-spacing: -.04em; line-height: .9; }
.tl-item h3, .tl-item .tl-h { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.tl-item p { color: var(--ink-2); margin: 0; }
.tl-item img { border-radius: var(--r-md); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.dark .tl-item { border-color: rgb(255 255 255 / .1); }
.dark .tl-item p { color: var(--on-night-2); }

/* FAQ */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--glacier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%230B1B33' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/28px; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 70ch; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th, .price-table td { text-align: left; padding: 18px 20px; border-top: 1px solid var(--hairline); vertical-align: top; }
.price-table thead th { border-top: 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.price-table td.n { font-family: var(--f-mono); text-align: right; white-space: nowrap; }
.price-table th.n { text-align: right; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--hairline); }

/* Callout / notice */
.notice { display: flex; gap: 14px; padding: 18px 22px; border-radius: var(--r-md); background: var(--granite-2); color: var(--ink); font-size: .9375rem; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.notice.sky { background: var(--glacier); }
.dark .notice { background: rgb(255 255 255 / .06); color: var(--on-night); }

/* ---------- Sky widget ---------- */
.sky { display: grid; gap: var(--gap); }
@media (min-width: 1200px) { .sky { grid-template-columns: 1.45fr 1fr; } }
@media (min-width: 720px) and (max-width: 1199px) { .sky-side { grid-template-columns: 1fr 1fr; } }
.sky-main { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); display: grid; gap: 28px; }
@media (min-width: 720px) { .sky-main { grid-template-columns: 1fr 260px; } }
.sky-side { display: grid; gap: var(--gap); }
.cat-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: var(--r-pill); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; background: rgb(255 255 255 / .08); }
.cat-badge i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); box-shadow: 0 0 0 4px rgb(255 255 255 / .06); }
.cat-VFR i { background: #2BD4A4; } .cat-MVFR i { background: #6E9BFF; } .cat-IFR i { background: #FF6B6B; } .cat-LIFR i { background: #D77BFF; }
.wx-big { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; margin-top: 28px; }
@media (min-width: 560px) { .wx-big { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .wx-big { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .wx-big { grid-template-columns: repeat(4, 1fr); } }
.wx-big div b { display: block; white-space: nowrap; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.5rem, 1vw + 1rem, 2rem); letter-spacing: -.03em; line-height: 1.05; }
.wx-big div span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-night-2); font-weight: 600; }
.wind-line { margin-top: 24px; font-size: 1.0625rem; color: var(--on-night); }
.wind-line strong { color: var(--seaglass); font-weight: 600; }
.raw { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-sm); background: rgb(0 0 0 / .22); font-family: var(--f-mono); font-size: .8125rem; color: var(--on-night-2); word-break: break-word; line-height: 1.6; }
.raw-toggle { margin-top: 10px; background: none; border: 0; color: var(--sky-on-night); cursor: pointer; font-size: .875rem; padding: 4px 0; }
.wx-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: .78rem; color: var(--on-night-2); }

.runway-svg { width: 100%; max-width: 280px; margin-inline: auto; aspect-ratio: 1; }
.runway-svg .wind { transform-origin: 140px 140px; transform: rotate(var(--wdir, 0deg)); transition: transform 1.6s var(--ease); }
.runway-svg .rose text { font-family: var(--f-mono); font-size: 10px; fill: var(--on-night-2); }
.runway-svg .rwy-num { font-family: var(--f-mono); font-size: 13px; font-weight: 500; fill: var(--on-night); }
.runway-svg .active-end { fill: var(--seaglass); opacity: 0; transition: opacity .6s; }
.runway-svg .active-end.on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .runway-svg .centre { animation: dash 6s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -64; } }
}

.mini { padding: 24px; border-radius: var(--r-lg); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); }
.mini h3 { font-family: var(--f-body); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); font-weight: 700; margin-bottom: 16px; }
.sun-arc { width: 100%; height: auto; }
.sun-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.sun-times div b { display: block; font-family: var(--f-mono); font-size: 1rem; font-weight: 500; }
.sun-times div span { font-size: .72rem; color: var(--on-night-2); }
.tide-line { stroke: var(--seaglass); stroke-width: 2; fill: none; }
.tide-fill { fill: url(#tideGrad); }

/* ---------- Range rings ---------- */
.range { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--white); border: 1px solid var(--hairline); }
.range svg { width: 100%; height: auto; }
.range .ring { fill: none; stroke: var(--cta); stroke-opacity: .25; stroke-dasharray: 3 6; }
.range .land { fill: #EDE7DC; stroke: #D9D1C2; stroke-width: 1; }
.range .jersey { fill: var(--granite); stroke: #E2A891; }
.range .dest circle { fill: var(--ink); }
.range .dest text { font-family: var(--f-body); font-size: 16px; font-weight: 600; fill: var(--ink); }
.range .dest .t { font-family: var(--f-mono); font-size: 12.5px; font-weight: 400; fill: var(--ink-2); }
.range .ring-label { font-family: var(--f-mono); font-size: 13px; fill: var(--cta); }
.range .legend { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) { .range .legend { position: static; padding: 12px; } }

/* ---------- Voucher (boarding pass) ---------- */
.pass {
  --notch: 18px;
  position: relative; display: grid; grid-template-columns: 1fr; background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); max-width: 560px;
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 150px) 0, transparent 98%, #000) top/100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - 150px) 100%, transparent 98%, #000) bottom/100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - 150px) 0, transparent 98%, #000) top/100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - 150px) 100%, transparent 98%, #000) bottom/100% 51% no-repeat;
}
@media (min-width: 520px) { .pass { grid-template-columns: 1fr 150px; } }
.pass-main { padding: 26px 28px; }
.pass-stub { padding: 26px 22px; border-left: 2px dashed var(--hairline); background: var(--glacier); display: none; flex-direction: column; justify-content: space-between; }
@media (min-width: 520px) { .pass-stub { display: flex; } }
.pass .lbl { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.pass .route { display: flex; align-items: center; gap: 14px; margin: 14px 0 18px; }
.pass .route b { font-family: var(--f-display); font-weight: 300; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; }
.pass .route .line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 8px); position: relative; }
.pass .route .line svg { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%) rotate(90deg); background: var(--white); padding: 2px; }
.pass .name { font-family: var(--f-display); font-weight: 500; font-size: 1.75rem; line-height: 1.1; min-height: 1.1em; }
.pass .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.pass .row div b { display: block; font-family: var(--f-mono); font-size: .85rem; font-weight: 500; margin-top: 2px; }
.pass .sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .55) 45%, rgb(207 227 250 / .4) 50%, transparent 65%); transform: translateX(-100%); }
@media (prefers-reduced-motion: no-preference) { .pass:hover .sheen { transition: transform 1.2s var(--ease); transform: translateX(100%); } }
.barcode { height: 54px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); border-radius: 2px; }

/* Forms */
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--hairline); background: var(--white); color: var(--ink); min-height: 50px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgb(125 53 185 / .25); border-color: var(--cta); }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--glacier); gap: 4px; }
.seg button { border: 0; background: none; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 600; cursor: pointer; color: var(--ink-2); min-height: 42px; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgb(18 32 35 / .12); }

/* Tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs button { border: 1px solid var(--hairline); background: var(--white); color: var(--ink); padding: 0 20px; min-height: 46px; border-radius: var(--r-pill); font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
[role="tabpanel"][hidden] { display: none; }

/* Team */
.person .avatar { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--granite-2); color: var(--cta); display: grid; place-items: center;
  font-family: var(--f-display); font-size: 3rem; font-weight: 500; letter-spacing: -.03em; overflow: hidden; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .role { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cta); margin: 10px 0 6px; }
.quote { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 1.5vw + 1rem, 2.4rem); line-height: 1.25; letter-spacing: -.02em; }

/* News list */
.news-list { display: grid; gap: var(--gap); }
@media (min-width: 720px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-list { grid-template-columns: repeat(3, 1fr); } }
.news-card time { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }
.news-card .h3 { margin: 12px 0 10px; }
.article-head { padding: 48px 0 40px; }
.article-head .display-l { max-width: 20ch; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: 56px; background: var(--glacier); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band */
.cta-band { border-radius: var(--r-xl); padding: clamp(40px, 6vw, 96px); background: var(--cloud-band); position: relative; overflow: hidden; }
.cta-band .plane { position: absolute; right: -40px; bottom: -30px; width: min(520px, 60%); opacity: .9; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); margin-top: 16px; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: clamp(56px, 7vw, 96px) 0 32px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--sky-on-night); }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.foot-grid h4, .foot-grid .foot-h { font-family: var(--f-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); font-weight: 700; margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-logo { width: 200px; height: auto; margin-bottom: 24px; }
.foot-big { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.4rem, 4vw + 1rem, 4.8rem); letter-spacing: -.04em; line-height: .95; margin-bottom: 28px; }
.foot-big em { font-style: normal; color: var(--granite); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .8125rem; color: var(--on-night-2); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); display: grid; place-items: center; }
.socials a:hover { background: rgb(255 255 255 / .08); }
.socials svg { width: 18px; height: 18px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; gap: 8px; padding: 8px; border-radius: var(--r-pill);
  background: rgb(18 32 35 / .92); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .4s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 48px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: inset(6% 6% 6% 6% round var(--r-xl)); transform: scale(1.04); transition: clip-path 1.2s var(--ease), transform 1.4s var(--ease); }
  .js .reveal-img.is-in { clip-path: inset(0 0 0 0 round 0); transform: none; }
  .hero-media > img { animation: heroZoom 18s var(--ease) both; }
  @keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
  .float-plane { animation: drift 9s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate(0, 0) rotate(-2deg); } to { transform: translate(-18px, -10px) rotate(1deg); } }

}

/* Utilities */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.hide-sm { display: none; } @media (min-width: 900px) { .hide-sm { display: initial; } }
.todo { background: #FFF4CC; outline: 1px dashed #C9A13B; border-radius: 4px; padding: 0 4px; }

[hidden] { display: none !important; }

/* ---------- Live airspace map ---------- */
.airspace { display: grid; border-radius: var(--r-xl); overflow: hidden; background: var(--white); border: 1px solid var(--hairline); }
@media (min-width: 1000px) { .airspace { grid-template-columns: 1fr 340px; } }
.as-map { min-height: 560px; height: 70svh; max-height: 760px; background: #E8EEF3; z-index: 0; }
[data-airspace="compact"] .as-map { height: 520px; min-height: 420px; }
@media (max-width: 999px) { .as-map { height: 62svh; min-height: 420px; } }
.as-panel { padding: 24px; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--hairline); }
@media (min-width: 1000px) { .as-panel { border-top: 0; border-left: 1px solid var(--hairline); } }
.as-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.as-live { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vfr); }
.as-live i { width: 8px; height: 8px; border-radius: 50%; background: #2BD4A4; }
@media (prefers-reduced-motion: no-preference) { .as-live i { animation: live 2s ease-out infinite; } }
.as-count { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-2); }
.as-wx { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-sm); background: var(--sand); font-size: .875rem; line-height: 1.45; min-height: 64px; }
.as-wx .cat { font-family: var(--f-mono); font-size: .8rem; padding: 6px 10px; border-radius: 8px; color: #fff; background: var(--ink-3); }
.as-wx .cat-VFR { background: var(--vfr); } .as-wx .cat-MVFR { background: var(--mvfr); } .as-wx .cat-IFR { background: var(--ifr); } .as-wx .cat-LIFR { background: var(--lifr); }
.as-controls { display: grid; gap: 8px; font-size: .9rem; }
.as-controls label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.as-controls input { width: 18px; height: 18px; accent-color: var(--cta); }
.as-sub { margin: 4px 0 -6px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.as-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .875rem; }
.as-list li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-family: var(--f-mono); font-size: .78rem; }
.as-list li b { font-weight: 500; color: var(--ink); }
.as-list li span { color: var(--ink-2); text-align: right; }
.as-list li.empty { display: block; font-family: var(--f-body); font-size: .875rem; color: var(--ink-2); }
.as-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .78rem; color: var(--ink-2); }
.as-legend span { display: inline-flex; align-items: center; gap: 6px; }
.as-legend i { width: 10px; height: 10px; border-radius: 50%; }
.as-note { margin: auto 0 0; font-size: .75rem; color: var(--ink-3); line-height: 1.5; }
.as-err { padding: 24px; }
svg.b-low { fill: #0E7C66; } svg.b-mid { fill: var(--cta); } svg.b-high, svg.b-cruise { fill: #6B7487; } svg.b-gnd { fill: #C2410C; } svg.b-unk { fill: #9AA3B5; }
.as-legend i.b-low { background: #0E7C66; } .as-legend i.b-mid { background: var(--cta); } .as-legend i.b-high { background: #6B7487; } .as-legend i.b-gnd { background: #C2410C; }
.as-ac { background: none; border: 0; }
.as-ac svg.ac { width: 22px; height: 22px; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / .35)); stroke: #fff; stroke-width: .8; }
.as-ac span { position: absolute; left: 22px; top: 2px; white-space: nowrap; font: 500 10.5px/1 var(--f-mono); color: var(--ink); background: rgb(255 255 255 / .85); padding: 2px 4px; border-radius: 4px; }
.as-ad { background: none; border: 0; }
.as-ad i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; vertical-align: middle; margin-right: 5px; }
.as-ad span { font: 600 12px/1 var(--f-body); color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff; white-space: nowrap; }
.as-ad small { font-family: var(--f-mono); font-weight: 400; color: var(--ink-2); }
.as-home span { display: inline-block; padding: 3px 7px; border-radius: 6px; background: var(--ink); color: #fff; text-shadow: none; font-family: var(--f-mono); font-size: 11px; }
.as-ring { background: none; border: 0; font: 500 10px/16px var(--f-mono); color: var(--cta); text-align: center; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.as-wind { background: none; border: 0; display: flex !important; align-items: center; gap: 4px; }
.as-wind svg { width: 26px; height: 26px; filter: drop-shadow(0 0 2px #fff); }
.as-wind span { font: 600 11px/1 var(--f-mono); color: #C2410C; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.as-pop { font-family: var(--f-body); font-size: .85rem; line-height: 1.5; }
.as-pop b { font-family: var(--f-mono); }
.leaflet-container { font-family: var(--f-body); }
.as-base { filter: saturate(.35) brightness(1.04) contrast(.95); }
.leaflet-popup-content-wrapper { border-radius: 12px; }

/* Site-wide notice (set in Admin → Site settings) */
.notice-bar { background: var(--sunset-ink); color: #fff; font-size: .875rem; font-weight: 600; text-align: center; padding: 9px 0; }
.notice-bar a { color: #fff; margin-left: 8px; }
.tab-link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--hairline); background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
.tab-link:hover { color: var(--ink); border-color: rgb(18 32 35 / .3); }
.tab-link[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; }
.u-right a { white-space: nowrap; }
.u-left { min-width: 0; flex: 1; }
.u-wx { min-width: 0; overflow: hidden; }
.u-wx span { overflow: hidden; text-overflow: ellipsis; }
.as-legend i.k-ctr { background: transparent; border: 2px solid var(--cta); border-radius: 3px; }
.as-legend i.k-cta { background: transparent; border: 2px dashed var(--cta); border-radius: 3px; }
.as-legend i.k-atz { background: rgb(194 65 12 / .12); border: 2px solid #C2410C; }
.as-label { background: none; border: 0; text-align: center; font: 700 10.5px/1.25 var(--f-body); letter-spacing: .08em; color: var(--cta); text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.as-label small { font: 500 10px var(--f-mono); letter-spacing: 0; }
.as-base { filter: saturate(.25) brightness(1.06) contrast(.9); }

/* ---------- Webcams ---------- */
.cam-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--night); aspect-ratio: 16 / 9; overflow: hidden; }
.cam-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cam-shot:hover img { transform: scale(1.03); }
.cam-play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: var(--r-pill); background: rgb(18 32 35 / .78); color: #fff; font-weight: 600; font-size: .875rem; backdrop-filter: blur(6px); }
.cam-play svg { width: 16px; height: 16px; }
.cam .body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cam-dialog { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--night); color: #fff; box-shadow: var(--shadow-lg); }
.cam-dialog::backdrop { background: rgb(18 32 35 / .7); }
.cam-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 22px; }
.cam-dialog-head .btn.ghost { --c: #fff; border-color: rgb(255 255 255 / .3); }
.cam-frame { aspect-ratio: 16 / 9; }
.cam-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cam-frame img { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.cam .body { align-items: center; }
.wx-met { display: inline-block; margin-top: 14px; font-size: .875rem; font-weight: 600; color: var(--sky-on-night) !important; }

.prose .btn { white-space: normal; text-align: center; max-width: 100%; }

/* Phones: keep tables and selects inside the screen */
@media (max-width: 600px) {
  .price-table { font-size: .875rem; }
  .price-table th, .price-table td { padding: 12px 8px; }
  .price-table th:first-child, .price-table td:first-child { padding-left: 14px; }
  .price-table th:last-child, .price-table td:last-child { padding-right: 14px; }
  .price-table thead th { font-size: .66rem; letter-spacing: .06em; }
  .field select { font-size: .9375rem; padding-left: 12px; padding-right: 28px; }
}
@media (max-width: 600px) { .price-table td.n { white-space: normal; } }

/* ---------- Fleet tracking ---------- */
svg.b-fleet { fill: var(--cta); stroke: var(--seaglass); stroke-width: 1.2; filter: drop-shadow(0 0 4px rgb(125 53 185 / .6)); }
.as-legend i.b-fleet { background: var(--cta); box-shadow: 0 0 0 2px var(--seaglass); }
.as-ac.is-fleet span { background: var(--ink); color: var(--seaglass); border-radius: var(--r-pill); padding: 1px 8px; font-weight: 700; text-shadow: none; }

/* "Flying now" pill and status line */
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: var(--r-pill);
  background: var(--seaglass); color: var(--ink); font-weight: 600; font-size: .875rem; text-decoration: none; line-height: 1.3; }
.live-pill:hover { color: var(--ink); background: #EEFF5C; }
.live-pill i, .fleet-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.live-pill i { background: var(--cta); box-shadow: 0 0 0 0 rgb(125 53 185 / .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(125 53 185 / 0); } 100% { box-shadow: 0 0 0 0 rgb(125 53 185 / 0); } }
@media (prefers-reduced-motion: reduce) { .live-pill i { animation: none; } }
.utility .live-pill { padding: 2px 10px 2px 8px; font-size: .75rem; }
.fleet-status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.fleet-status i { background: var(--ink-3); }
.fleet-status.is-live { color: var(--cta); }
.fleet-status.is-live i { background: var(--cta); animation: pulse 1.6s infinite; }

/* Home page banner */
.fleet-banner { position: relative; z-index: 3; margin: -36px auto 0; width: fit-content; max-width: calc(100% - 32px); }
.fleet-banner a { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--on-night); text-decoration: none; box-shadow: var(--shadow-lg); font-weight: 500; }
.fleet-banner a:hover { color: #fff; }
.fleet-banner b { color: var(--seaglass); font-weight: 700; }
.fleet-banner .go { color: var(--seaglass); font-weight: 600; white-space: nowrap; }

/* Aircraft page */
.flight-map { position: relative; height: clamp(360px, 60vh, 620px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); background: var(--glacier); }
.flight-map .as-map { position: absolute; inset: 0; }
.flight-map .fm-note { position: absolute; left: 12px; bottom: 12px; z-index: 500; background: rgb(255 255 255 / .92); border-radius: var(--r-sm);
  padding: 8px 12px; font-size: .8125rem; max-width: calc(100% - 24px); box-shadow: var(--shadow); }
.flight-map .fm-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); z-index: 400; pointer-events: none; }
.fm-empty span { background: rgb(255 255 255 / .92); padding: 14px 18px; border-radius: var(--r-md); max-width: 36ch; }
.flight-log td button { all: unset; cursor: pointer; color: var(--cta); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.flight-log tr.is-shown td { background: var(--granite-2); }
.as-track-end { width: 12px; height: 12px; border-radius: 50%; background: var(--seaglass); border: 2px solid var(--ink); }
.flight-log td.when, .flight-log td.n { white-space: nowrap; }
@media (max-width: 640px) { .flight-log th, .flight-log td { padding-inline: 12px; } }
@media (max-width: 640px) { .flight-log .col-alt { display: none; } }
.fleet-strip { display: grid; gap: 12px; margin-bottom: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.fleet-card { display: grid; gap: 8px; padding: 18px 22px; }
.fleet-card .fc-go { color: var(--cta); font-weight: 600; }

/* Clean map: monochrome base, light airspace, aircraft in ink (Skywalker in purple) */
.as-base { filter: saturate(.3) brightness(1.05) contrast(.92); }   /* OpenStreetMap fallback only */
.as-map { background: #EEF0F0; }
svg.b-other { fill: #122023; opacity: .7; }
svg.b-other.is-gnd { opacity: .35; }
.as-legend i.b-other { background: #122023; opacity: .7; }
.as-legend i.k-ctr { border: 1.5px solid rgb(18 32 35 / .5); background: rgb(125 53 185 / .06); border-radius: 3px; }
.as-legend i.k-atz { border: 1.5px solid var(--cta); background: rgb(125 53 185 / .1); }
/* Fleet card without a photo yet: the registration, as on the aircraft */
.reg-plate { height: 100%; min-height: 220px; display: grid; place-content: center; gap: 8px; text-align: center; background: var(--dusk); color: var(--on-night); }
.reg-plate b { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 4vw + 1rem, 4rem); letter-spacing: .02em; color: #fff; }
.reg-plate small { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--seaglass); }
.person .avatar.is-initials { width: 72px; aspect-ratio: 1; border-radius: 50%; font-size: 1.5rem; }
/* Follow us */
.follow-band { display: grid; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--hairline); }
@media (min-width: 900px) { .follow-band { grid-template-columns: 1fr auto; } }
.social-btns .btn svg { width: 18px; height: 18px; }
.social-btns .btn:hover svg { transform: none; }
