
/* Layout concept: airport signage and a flight-ops board.
   Ink navy ground, runway yellow as the single signal, mono type for IATA codes and times.
   Hero = pitch + price tool. Then the network map, services, a flight cut-off planner, run sheet, prices, paperwork, policy. */
:root {
  --bg: #F2F5F9;
  --surface: #FFFFFF;
  --surface-2: #E6ECF3;
  --panel: #0A2540;
  --on-panel: #E8EEF5;
  --panel-muted: #9BB0C6;
  --fg: #0A2540;
  --muted: #4A5E75;
  --line: #CBD5E1;
  --signal: #F2B705;
  --on-signal: #0A2540;
  --link: #1550B8;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07111C; --surface: #0E1D2D; --surface-2: #14283D; --panel: #0B1A2A; --on-panel: #E8EEF5; --panel-muted: #9BB0C6;
    --fg: #E8EEF5; --muted: #9BB0C6; --line: #223850; --signal: #F2B705; --on-signal: #0A2540; --link: #7FB0FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07111C; --surface: #0E1D2D; --surface-2: #14283D; --panel: #0B1A2A; --on-panel: #E8EEF5; --panel-muted: #9BB0C6;
  --fg: #E8EEF5; --muted: #9BB0C6; --line: #223850; --signal: #F2B705; --on-signal: #0A2540; --link: #7FB0FF;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
section { scroll-margin-top: 8px; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
.wrap { max-width: 1120px; margin: 0 auto; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-display); line-height: 0.98; margin: 0; text-wrap: balance; text-transform: uppercase; letter-spacing: 0.005em; }
h1 { font-size: clamp(44px, 9vw, 96px); font-weight: 900; }
h2 { font-size: clamp(32px, 5.5vw, 54px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 800; }
p { margin: 0; }
.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 30px; letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; color: var(--fg); }
.mark svg { width: 36px; height: 36px; flex: none; }
.mark b { color: var(--signal); font-weight: 900; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a.l { color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a.l:hover { text-decoration: underline; }
@media (max-width: 860px) { .nav a.l { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--signal); color: var(--on-signal); border: 0; border-radius: 4px;
  font: 600 15px/1 var(--font-body); padding: 14px 20px; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn.small { padding: 10px 14px; font-size: 14px; }
.btn:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-block: 36px 56px; align-items: start; }
.hero > * { min-width: 0; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 48ch; margin-top: 20px; }
.hero h1 .y { color: var(--on-signal); background: var(--signal); padding: 0 8px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.facts div { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.facts strong { color: var(--fg); font-weight: 500; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 24px 40px; } }

/* quote tool */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.row > * { min-width: 0; }
.quote label, .tool label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
select, input[type=number], input[type=text], input[type=time] {
  width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 4px;
  font: 500 16px var(--font-body); padding: 12px; min-height: 46px;
}
.result { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.price { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1; }
.price small { font-family: var(--font-mono); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.tier { margin-top: 6px; color: var(--muted); font-size: 14px; }
.note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.quote .btn { width: 100%; margin-top: 16px; }


/* flight picker inside the quote card */
.fp { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.fp .head { display: flex; gap: 12px; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.fp select { width: auto; min-width: 160px; }
.frow { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; width: 100%; text-align: left; margin-top: 8px; padding: 12px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; font: inherit; cursor: pointer; }
.frow > * { min-width: 0; }
.frow .tm { font-family: var(--font-mono); font-weight: 500; font-size: 20px; }
.frow .fl { font-size: 14px; }
.frow .sub { grid-column: 2 / 4; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.frow .tag { font-family: var(--font-mono); font-size: 11px; padding: 3px 7px; border-radius: 3px; background: var(--surface-2); white-space: nowrap; }
.frow[aria-pressed="true"] { border-color: var(--signal); box-shadow: 0 0 0 2px var(--signal); }
.frow[disabled] { opacity: .5; cursor: not-allowed; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* live departures */
#live { padding-top: 40px; }
.ticker { overflow: hidden; background: var(--panel); color: var(--on-panel); border-radius: 6px; margin-bottom: 20px; }
.ticker .tk { display: inline-flex; gap: 40px; padding: 10px 0; white-space: nowrap; font-family: var(--font-mono); font-size: 13px; animation: tk 40s linear infinite; }
.ticker:hover .tk { animation-play-state: paused; }
@keyframes tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .tk { animation: none; } .rv { transition: none !important; } }
.orig { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.orig button { font-family: var(--font-mono); font-size: 14px; padding: 8px 12px; min-height: 40px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.orig button[aria-pressed="true"] { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.brow { display: grid; grid-template-columns: 78px 1fr auto; gap: 4px 14px; padding: 14px 16px; border-top: 1px solid var(--line); align-items: center; }
.brow:first-child { border-top: 0; }
.brow > * { min-width: 0; }
.brow .tm { font-family: var(--font-mono); font-size: 22px; font-weight: 500; }
.brow .rt { font-weight: 600; }
.brow .sub { font-family: var(--font-mono); font-size: 12px; color: var(--muted); grid-column: 2 / 4; }
.badge { font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; border-radius: 3px; background: var(--surface-2); white-space: nowrap; }
.badge.ok { background: var(--signal); color: var(--on-signal); }
.badge.bad { background: #B3261E; color: #fff; }
.src { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* scroll journey */
#run .sheet { position: relative; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.rv.on { opacity: 1; transform: none; }
.runbar { position: sticky; top: 0; height: 4px; background: var(--surface-2); z-index: 5; margin-bottom: 14px; border-radius: 2px; }
.runbar i { display: block; height: 100%; width: 0; background: var(--signal); border-radius: 2px; }
.step .t::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--line); margin-right: 8px; transition: background .4s; }
.step.on .t::before { background: var(--signal); }
.step .clk { font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }

.logo{display:block;height:56px;width:auto}
footer .logo{height:80px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .logo{filter:brightness(0) invert(1)}}
:root[data-theme="dark"] .logo{filter:brightness(0) invert(1)}
.menu { display: none; font: 500 14px var(--font-mono); background: var(--signal); color: var(--on-signal); border: 0; border-radius: 4px; padding: 0 16px; min-height: 44px; cursor: pointer; }
.drawer { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.drawer[hidden] { display: none; }
.dcol { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drawer a:not(.btn) { color: var(--fg); text-decoration: none; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.drawer a small { font-family: var(--font-mono); color: var(--muted); font-size: 11px; }
@media (max-width: 860px) { .menu { display: inline-block; } }
@media (max-width: 520px) { .drawer { grid-template-columns: 1fr; } }
.top .logo, .nav .logo { height: 64px; }
.topnews { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; background: var(--panel); color: var(--on-panel); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 0 12px; min-height: 36px; overflow: hidden; font-family: var(--font-mono); font-size: 12.5px; }
.topnews .tn-label { flex: none; background: var(--signal); color: var(--on-signal); padding: 3px 8px; border-radius: 3px; font-weight: 500; letter-spacing: .06em; }
.topnews .tn-track { overflow: hidden; flex: 1; min-width: 0; }
.tn-inner { display: inline-flex; white-space: nowrap; animation: tn linear infinite; animation-duration: 60s; }
.tn-inner > span { padding-right: 60px; }
.tn-inner b { color: var(--signal); font-weight: 500; } .tn-inner .tn-bad { color: #FF8A80; }
.tn-sep { color: var(--panel-muted); font-style: normal; }
.topnews:hover .tn-inner { animation-play-state: paused; }
@keyframes tn { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tn-inner { animation: none; } .topnews .tn-track { overflow-x: auto; } }
/* sections */
section { padding-block: 60px; border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.sec-head p { color: var(--muted); max-width: 62ch; }

/* network */
.net { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .net { grid-template-columns: 1fr; } }
.mapbox { background: var(--panel); border-radius: 8px; padding: 12px; }
.mapbox svg { display: block; width: 100%; height: auto; max-height: 640px; }
.mapbox .meshline { stroke: var(--panel-muted); stroke-opacity: 0.35; stroke-width: 1; fill: none; }
.mapbox .intlline { stroke: var(--signal); stroke-opacity: 0.8; stroke-width: 1.2; stroke-dasharray: 4 4; fill: none; }
.mapbox .dot-m { fill: var(--signal); }
.mapbox .dot-r { fill: var(--on-panel); }
.mapbox .ring { fill: none; stroke: var(--signal); stroke-opacity: 0.5; }
.mapbox text { font-family: var(--font-mono); font-size: 12px; fill: var(--on-panel); }
.mapbox text.sm { font-size: 10.5px; fill: var(--panel-muted); }
.mapbox text.intl { fill: var(--signal); font-size: 12px; }
.mapbox g.ap { cursor: pointer; }
.mapbox g.ap:hover text { fill: var(--signal); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--panel-muted); padding-inline: 4px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.chips { display: flex; flex-direction: column; gap: 18px; }
.chipgroup .label { margin-bottom: 10px; display: block; }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 4px;
  padding: 8px 10px; font: 500 14px var(--font-body); cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline;
}
.chip .c { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--signal); }
.chip.hub { border-color: var(--signal); }
.chip.intl { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.chip.intl .c { color: var(--on-signal); }

/* services */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card .tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--surface-2); color: var(--fg); padding: 4px 8px; border-radius: 3px; }
.card.feat { background: var(--panel); border-color: var(--panel); }
.card.feat h3, .card.feat p { color: var(--on-panel); }
.card.feat p { color: var(--panel-muted); }
.card.feat .tag { background: var(--signal); color: var(--on-signal); }
.card p { color: var(--muted); font-size: 15px; }
.card .meta { font-family: var(--font-mono); font-size: 13px; color: var(--fg); margin-top: auto; padding-top: 6px; }
.card.feat .meta { color: var(--on-panel); }

/* planner */
.planner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.planner > * { min-width: 0; }
@media (max-width: 760px) { .planner { grid-template-columns: 1fr; } }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.tool h3 { margin-bottom: 12px; }
.big { font-family: var(--font-display); font-weight: 900; font-size: 48px; line-height: 1; margin-top: 16px; }
.big small { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); margin-top: 8px; text-transform: none; }

/* run sheet */
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.step { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; padding: 16px 20px; align-items: baseline; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step > * { min-width: 0; }
.step .t { font-family: var(--font-mono); font-size: 14px; }
.step .d { color: var(--muted); font-size: 15px; }
.step .d b { color: var(--fg); font-weight: 600; }
.step .lim { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); padding: 4px 8px; border-radius: 3px; white-space: nowrap; }
.step.total { background: var(--signal); }
.step.total .t, .step.total .d, .step.total .d b, .step.total .lim { color: var(--on-signal); }
.step.total .lim { background: rgba(10,37,64,0.14); }
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: 4px; } .step .lim { justify-self: start; margin-top: 4px; } }

/* who */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }

/* prices */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tcard .cap { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.tcard .amt { font-family: var(--font-display); font-weight: 900; font-size: 46px; line-height: 1; }
.tcard p { color: var(--muted); font-size: 15px; }
.sub { margin: 28px 0 12px; display: block; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two > * { min-width: 0; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.box h3 { margin-bottom: 10px; }
.box p, .box li { color: var(--muted); font-size: 15px; }
.box ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.box b { color: var(--fg); font-weight: 600; }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; }
details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

.cta-band { background: var(--panel); border-radius: 8px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--on-panel); }
.cta-band p { color: var(--panel-muted); margin-top: 8px; }

footer { border-top: 1px solid var(--line); padding-block: 36px 52px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; margin-top: 60px; }
footer p { color: var(--muted); font-size: 14px; }
.num { font-family: var(--font-mono); font-size: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.trackbox { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px; margin: 0 0 24px; }
.trackbox form { display: flex; gap: 10px; flex-wrap: wrap; }
.trackbox input { flex: 1 1 220px; min-width: 0; padding: 12px 14px; font: 16px var(--font-mono); background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; }
.trackbox .out { margin-top: 14px; font-size: 15px; color: var(--fg); }
.trackbox .out ol { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.trackbox .out li { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.trackbox .out li b { color: var(--fg); }

.nav{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;justify-content:space-between;padding-block:14px;border-bottom:1px solid var(--line)}
.nav a{font-family:var(--font-mono);font-size:13px;color:var(--fg);text-decoration:none}
.nav .links{display:flex;flex-wrap:wrap;gap:6px 16px}
.nav .mark{font-family:var(--font-display);font-weight:900;font-size:28px;text-transform:uppercase;text-decoration:none}
.nav .mark b{color:var(--signal)}
.home{background:var(--signal);color:var(--on-signal)!important;padding:8px 12px;border-radius:4px;font-weight:500}
.crumb{font-family:var(--font-mono);font-size:12px;color:var(--muted);margin:22px 0 10px}
.crumb a{color:var(--muted)}
.page h1{font-size:clamp(36px,7vw,68px)}
.page section{padding-block:34px;border-top:1px solid var(--line)}
.page .lead{font-size:18px;color:var(--muted);max-width:64ch;margin-top:14px}
.linkgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}
.linkgrid a{display:block;padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:4px;text-decoration:none;color:var(--fg);font-size:15px}
.linkgrid a small{display:block;font-family:var(--font-mono);font-size:11px;color:var(--muted)}
.ptable{width:100%;border-collapse:collapse;font-size:15px}.ptable td,.ptable th{border-top:1px solid var(--line);padding:10px 8px;text-align:left}
.ptable th{font-family:var(--font-mono);font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.tablewrap{overflow-x:auto}
