
/* =========================================================================
   Gate Guides — site.css
   One stylesheet for gateguides.com. Custom properties, mobile-first,
   no frameworks, no JS required for layout. Palette derived from the
   existing Gate Guides theme (navy board + amber gate-sign accent).
   ========================================================================= */

:root {
  /* 3-tone brand palette from the inherited theme colour (navy + amber) */
  --deep: #0c1730;          /* deep board navy — header, footer, headings */
  --mid: #1f3a8a;           /* mid navy — links, section accents */
  --tint: #eef1f9;          /* navy tint — hero bands, chips, zebra rows */
  --amber: #f0a830;         /* gate-sign amber — marks, rules, focus */
  --amber-deep: #8a5806;    /* amber, dark enough for text on light (4.6:1) */
  --amber-tint: #fdf3df;    /* amber tint band */

  /* neutrals */
  --ink: #16203a;
  --ink-soft: #3a4560;      /* 9.4:1 on white */
  --muted: #59627a;         /* 6.3:1 on white */
  --rule: #d9dde8;
  --rule-soft: #e7eaf2;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --on-deep: #f3f5fb;
  --on-deep-soft: #c5cee4;

  /* type scale */
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --fs-h1: 2.15rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.15rem;
  --fs-body: 1.0125rem;
  --fs-small: 0.85rem;
  --fs-micro: 0.76rem;
  --lh-body: 1.62;

  /* spacing tokens */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;

  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(12, 23, 48, 0.06), 0 6px 18px rgba(12, 23, 48, 0.05);
  --shadow-soft: 0 1px 2px rgba(12, 23, 48, 0.05);
  --wrap: 1180px;
  --topbar-h: 34px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--fs-body)/var(--lh-body) var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--mid); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--deep); text-decoration-thickness: 2px; }
strong { color: var(--ink); }
code {
  font-family: var(--f-mono);
  font-size: 0.92em;
  background: var(--tint);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 0.05em 0.3em;
}
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--sp-6) 0; }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 3px;
}
::selection { background: var(--amber-tint); color: var(--deep); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
.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: -999px; top: 0; z-index: 100;
  background: var(--deep); color: #fff; padding: var(--sp-2) var(--sp-4);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  color: var(--deep);
  line-height: 1.22;
  letter-spacing: -0.011em;
  margin: 0 0 var(--sp-3);
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.018em; }
h2 { font-size: var(--fs-h2); margin-top: var(--sp-7); }
h3 { font-size: var(--fs-h3); margin-top: var(--sp-6); }
h4 { font-size: 1rem; margin-top: var(--sp-5); }
p { margin: 0 0 var(--sp-4); color: var(--ink-soft); }
.small { font-size: var(--fs-small); }
.muted { color: var(--muted); }
.lede {
  font-size: 1.13rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}
.kicker {
  display: inline-block;
  font: 600 var(--fs-micro)/1.3 var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 var(--sp-3);
}

/* ---------- topbar ---------- */
.topbar {
  background: var(--deep);
  color: var(--on-deep-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-micro);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--topbar-h);
  padding-top: var(--sp-1); padding-bottom: var(--sp-1);
  flex-wrap: wrap;
}
.topbar-source { letter-spacing: 0.02em; }
.topbar-source a { color: var(--on-deep); text-decoration-color: rgba(255,255,255,.35); }
.topbar-nav { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.topbar-nav a { color: var(--on-deep-soft); text-decoration: none; }
.topbar-nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 40;
  box-shadow: var(--shadow-soft);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  text-decoration: none; color: var(--deep);
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; color: var(--deep); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--deep);
  box-shadow: inset 0 -3px 0 var(--amber);
}
.brand-mark svg { display: block; width: 26px; height: 26px; }
.brand-text strong {
  display: block; font-size: 1.12rem; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--deep);
}
.brand-text small {
  display: block; font: 600 var(--fs-micro)/1.2 var(--f-mono);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- primary nav: closed-by-default CSS-only menu under 860px --- */
.nav-toggle, #nav-toggle { display: none; }
.nav-toggle-label {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 40px; min-width: 44px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--deep);
  font: 600 var(--fs-small)/1 var(--f-body);
  cursor: pointer; user-select: none;
}
.nav-toggle-label:hover { border-color: var(--mid); }
.nav-toggle-icon { display: inline-block; width: 18px; height: 12px; position: relative; }
.nav-toggle-icon span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--deep);
  border-radius: 2px;
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 5px; }
.nav-toggle-icon span:nth-child(3) { top: 10px; }
.primary {
  display: none;
  flex: 1 1 100%;
  border-top: 1px solid var(--rule-soft);
  padding: var(--sp-2) 0 var(--sp-3);
}
#nav-toggle:checked ~ .primary { display: block; }
#nav-toggle:focus-visible ~ .nav-toggle-label { outline: 3px solid var(--amber); outline-offset: 2px; }
.primary ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.primary li { border-bottom: 1px solid var(--rule-soft); }
.primary li:last-child { border-bottom: 0; }
.primary a {
  display: block; padding: var(--sp-3) var(--sp-1);
  color: var(--deep); text-decoration: none; font-weight: 600;
  font-size: 0.97rem;
}
.primary a:hover, .primary a[aria-current="page"] { color: var(--mid); }
.primary a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); padding-left: var(--sp-3); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  background: var(--surface);
  border-bottom: 1px solid var(--rule-soft);
  font-size: var(--fs-small);
}
.breadcrumbs .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2);
  padding-top: var(--sp-2); padding-bottom: var(--sp-2);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--mid); text-decoration: underline; }
.breadcrumbs .sep { color: #a9b1c4; }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); font-weight: 600; }

/* ---------- main ---------- */
.site-main { padding: var(--sp-6) 0 var(--sp-8); }
.site-main > .wrap > h1:first-child { margin-top: var(--sp-2); }

/* ---------- hero band (home + hub pages) ---------- */
.hero {
  position: relative;
  overflow: visible;
  background: rgba(0, 0, 0, 0);
  background-color: var(--tint);
  background-image: linear-gradient(160deg, #0c1730 0%, #16305f 62%, #1f3a8a 100%);
  color: var(--on-deep);
  border-radius: var(--radius);
  margin: var(--sp-4) 0 var(--sp-7);
  box-shadow: var(--shadow);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
}
.hero-text { min-width: 0; }
.hero h1, .hero .hero-title { color: #fff; margin-bottom: var(--sp-3); }
.hero .lede { color: #dde3f1; }
.hero .kicker {
  color: #ffd27a;
  background: rgba(240, 168, 48, 0.14);
  border: 1px solid rgba(240, 168, 48, 0.4);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
}
.hero-figure { margin: 0; }
.hero-figure img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-figure figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-micro);
  color: var(--on-deep-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

/* stat chips */
.stat-chips {
  list-style: none; margin: 0 0 var(--sp-3); padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
}
.stat-chips li {
  display: inline-flex; align-items: baseline; gap: var(--sp-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  color: #eef2fb;
  font-size: var(--fs-small);
  line-height: 1.2;
}
.stat-chips strong {
  color: #ffd27a;
  font: 700 1.05rem/1 var(--f-mono);
}
/* compact hub hero (max 260px media band) */
.hero-hero { margin-bottom: var(--sp-6); }
@media (max-width: 767px) {
  .hero-hero .hero-figure img { max-height: 200px; object-fit: cover; object-position: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  min-height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-small);
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--amber); color: var(--deep); border-color: #d9961f; }
.btn-primary:hover { background: #ffc05a; color: var(--deep); text-decoration: none; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #eef2fb; border-color: rgba(255, 255, 255, 0.34);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; text-decoration: none; }

/* ---------- sections ---------- */
.section { margin: 0 0 var(--sp-7); }
.section > h2:first-child { margin-top: 0; }
.section-lede { max-width: 66ch; color: var(--ink-soft); }

/* ---------- cards + grids ---------- */
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
}
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: #c3cbdc; }
.card > a {
  display: block;
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  text-decoration: none;
  color: var(--ink);
}
.card > a:hover { text-decoration: none; }
.card h2, .card h3 {
  margin: 0 0 var(--sp-1);
  font-size: 1.06rem;
  color: var(--deep);
}
.card > a:hover h3 { color: var(--mid); }
.card p { margin: 0 0 var(--sp-1); font-size: var(--fs-small); color: var(--ink-soft); }
.card-name { color: var(--ink-soft); }
.card-rank {
  display: inline-block;
  font: 700 var(--fs-micro)/1 var(--f-mono);
  color: var(--amber-deep);
  background: var(--amber-tint);
  border: 1px solid #f2dcb2;
  border-radius: var(--radius-pill);
  padding: 3px 8px;
  margin-bottom: var(--sp-2);
}
.card ul.meta {
  list-style: none; margin: var(--sp-3) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3);
  font-size: var(--fs-micro); color: var(--muted);
  font-family: var(--f-mono);
}
.card ul.meta li { white-space: nowrap; }
.airport-grid, .region-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .airport-grid, .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .airport-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .region-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* category cards on the home page (illustration once, per category) */
.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.cat-card > a {
  display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-3) var(--sp-4);
  align-items: center; padding: var(--sp-3) var(--sp-4);
}
.cat-card .cat-thumb {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  object-fit: cover; display: block;
  border: 1px solid var(--rule);
}
.cat-card h3 { font-size: 1rem; margin: 0; }
.cat-card p { margin: 2px 0 0; font-size: var(--fs-micro); color: var(--muted); }
@media (min-width: 900px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
  .cat-card > a { grid-template-columns: 1fr; align-items: start; padding: var(--sp-4); }
  .cat-card .cat-thumb { width: 100%; height: 120px; }
}

/* ---------- two/three column prose blocks ---------- */
.cols {
  display: grid; gap: var(--sp-5) var(--sp-6);
  grid-template-columns: 1fr;
}
.cols h3 { margin-top: 0; }
@media (min-width: 768px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cols.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- airport (record detail) page ---------- */
.airport-page { display: block; }
.airport-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin: 0 0 var(--sp-5);
  padding: 0 0 var(--sp-5);
  border-bottom: 1px solid var(--rule);
}
.airport-header h1 { margin: 0 0 var(--sp-2); }
.airport-header .lede { font-size: 1.02rem; margin: 0 0 var(--sp-3); }
/* compact scene-of-use banner: <=220px desktop, <=140px mobile */
.airport-figure {
  margin: var(--sp-4) 0 0;
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.airport-figure img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
}
.airport-figure figcaption {
  font-size: var(--fs-micro);
  color: var(--muted);
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface);
  border-top: 1px solid var(--rule-soft);
}
@media (min-width: 768px) {
  .airport-header { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: var(--sp-5) var(--sp-6); }
  .airport-figure { margin: 0; }
  .airport-figure img { height: 200px; }
}
@media (min-width: 1100px) {
  .airport-figure img { height: 220px; }
}
/* stat tiles from the Fast facts list */
.stat-tiles {
  list-style: none; margin: 0 0 var(--sp-5); padding: 0;
  display: grid; gap: var(--sp-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat-tiles li {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
}
.stat-tiles .tile-k {
  display: block;
  font: 600 var(--fs-micro)/1.2 var(--f-mono);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.stat-tiles .tile-v {
  display: block; margin-top: 2px;
  font-size: 1rem; font-weight: 700; color: var(--deep);
}
@media (min-width: 640px) {
  .stat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .stat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* section tabs: horizontal inline list from 768px, wraps gently, never a
   vertical block above content */
.section-tabs {
  display: flex; flex-wrap: wrap; gap: var(--sp-1);
  margin: 0 0 var(--sp-5); padding: var(--sp-2);
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow-x: auto;
}
.section-tabs li { display: inline-flex; }
.section-tabs a, .section-tabs li > a {
  display: inline-block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small); font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  white-space: nowrap;
}
.section-tabs a:hover { background: var(--tint); color: var(--deep); }
.section-tabs a.active, .section-tabs a[aria-current="page"] {
  background: var(--deep); color: #fff;
}
@media (max-width: 767px) {
  .section-tabs { flex-wrap: nowrap; }
}
/* body + sidebar */
.airport-body, .cols-with-side {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-6);
}
@media (min-width: 1024px) {
  .airport-body, .cols-with-side { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .cols-with-side .sidebar, .airport-body .sidebar { position: sticky; top: 84px; }
}
.content { min-width: 0; }
.content > h2:first-child { margin-top: 0; }
.content h2 { padding-top: var(--sp-2); }
.content h3 { margin-top: var(--sp-5); }
.sourced {
  background: var(--tint);
  border-left: 3px solid var(--mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.sidebar { display: grid; gap: var(--sp-4); }
.fact-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-soft);
}
.fact-card h3 {
  margin: 0 0 var(--sp-3);
  font: 700 var(--fs-micro)/1.2 var(--f-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.fact-card dl {
  margin: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--sp-1) var(--sp-3);
  font-size: var(--fs-small);
}
.fact-card dt { color: var(--muted); }
.fact-card dd { margin: 0; color: var(--deep); font-weight: 600; text-align: right; }
.fact-card dd a { color: var(--mid); }
.link-list { list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); }
.link-list li { border-bottom: 1px solid var(--rule-soft); }
.link-list li:last-child { border-bottom: 0; }
.link-list a {
  display: block; padding: var(--sp-2) 0;
  color: var(--mid); text-decoration: none;
}
.link-list a:hover { color: var(--deep); text-decoration: underline; }
.fact-card p.muted { margin: var(--sp-2) 0 var(--sp-1); }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 0 0 var(--sp-5);
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  min-width: 640px;
}
.data-table thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--deep); color: #fff;
  text-align: left;
  font: 600 var(--fs-micro)/1.25 var(--f-mono);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: var(--sp-2) var(--sp-3);
  white-space: nowrap;
}
.data-table tbody td {
  padding: var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  vertical-align: top;
}
.data-table tbody tr:nth-child(even) { background: var(--tint); }
.data-table tbody tr:hover { background: var(--amber-tint); }
.data-table tbody td:first-child {
  position: sticky; left: 0;
  background: inherit;
  box-shadow: 1px 0 0 var(--rule-soft);
  font-family: var(--f-mono);
  color: var(--deep);
}
.data-table thead th:first-child { left: 0; z-index: 2; }
.data-table strong { color: var(--deep); font-family: var(--f-mono); }

/* ---------- lists ---------- */
.content ul, .content ol { padding-left: 1.25em; color: var(--ink-soft); }
.content li { margin-bottom: var(--sp-2); }
.airline-list {
  list-style: none; padding: 0; margin: 0 0 var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
}
.content .airline-list li {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-small); color: var(--deep); font-weight: 600;
}
.badge {
  display: inline-block; margin-left: var(--sp-2);
  font: 700 var(--fs-micro)/1 var(--f-mono);
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--amber-deep); background: var(--amber-tint);
  border: 1px solid #f2dcb2; border-radius: var(--radius-pill);
  padding: 3px 7px;
}

/* ---------- figures / content images ---------- */
.content-img {
  display: block; width: 100%; height: auto;
  max-width: 720px;
  margin: var(--sp-4) 0 var(--sp-5);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}

/* ---------- compare tool ---------- */
.compare-picker {
  display: grid; gap: var(--sp-3);
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin: 0 0 var(--sp-5);
  box-shadow: var(--shadow-soft);
}
.compare-picker-field label {
  display: block; font: 600 var(--fs-micro)/1.2 var(--f-mono);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: var(--sp-1);
}
.compare-picker select {
  width: 100%; min-height: 44px;
  font: inherit; font-size: var(--fs-small);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
}
.compare-picker-swap { display: flex; align-items: flex-end; }
.compare-picker .btn-ghost { background: var(--tint); color: var(--deep); border-color: var(--rule); }
.compare-picker .btn-ghost:hover { background: #e2e8f6; }
@media (min-width: 768px) {
  .compare-picker { grid-template-columns: 1fr auto 1fr; align-items: end; }
}
#compare-result:not(:empty) { margin: 0 0 var(--sp-5); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--deep);
  color: var(--on-deep-soft);
  margin-top: var(--sp-7);
  border-top: 4px solid var(--amber);
  padding: var(--sp-6) 0 var(--sp-5);
}
.site-footer h4 {
  color: #fff; margin: 0 0 var(--sp-3);
  font: 700 var(--fs-micro)/1.2 var(--f-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.site-footer .cols { gap: var(--sp-5) var(--sp-6); }
.site-footer .cols > div:first-child strong {
  display: block; color: #fff; font-size: 1.06rem; margin-bottom: var(--sp-2);
}
.site-footer p { color: var(--on-deep-soft); margin: 0 0 var(--sp-3); font-size: var(--fs-small); }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); }
.site-footer li { margin-bottom: var(--sp-2); }
.site-footer a { color: #dfe5f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: var(--sp-6); padding-top: var(--sp-4);
  font-size: var(--fs-micro); color: #aab4cc;
}
.site-footer .legal a { color: #cfd8ec; }
.site-footer .data-stamp { color: #aab4cc; }
@media (min-width: 768px) {
  .site-footer .cols { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ---------- notice / disclaimer ---------- */
.notice {
  background: var(--amber-tint);
  border: 1px solid #f2dcb2;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-small);
  color: #4a3a12;
  margin: 0 0 var(--sp-5);
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- pagination (styled for future lists) ---------- */
.pagination {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  list-style: none; margin: var(--sp-5) 0; padding: 0;
  font-size: var(--fs-small);
}
.pagination li a, .pagination li span {
  display: inline-block; min-width: 40px; text-align: center;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--mid); text-decoration: none;
}
.pagination li [aria-current="page"] { background: var(--deep); color: #fff; border-color: var(--deep); }

/* ---------- responsive typography ---------- */
@media (min-width: 768px) {
  :root { --fs-h1: 2.3rem; --fs-h2: 1.55rem; }
  .wrap { padding: 0 var(--sp-5); }
  .site-main { padding: var(--sp-7) 0 var(--sp-8); }
  .hero-inner { padding: var(--sp-6) var(--sp-6) var(--sp-7); }
}
@media (min-width: 860px) {
  .nav-toggle-label { display: none; }
  .primary {
    display: flex; flex: 0 1 auto; flex-wrap: wrap;
    border-top: 0; padding: 0;
    justify-content: flex-end;
  }
  .primary ul { flex-direction: row; align-items: center; gap: 0; }
  .primary li { border-bottom: 0; }
  .primary a { padding: var(--sp-2) var(--sp-3); font-size: var(--fs-small); border-radius: var(--radius-sm); }
  .primary a:hover { background: var(--tint); }
  .primary a[aria-current="page"] { box-shadow: none; padding-left: var(--sp-3); background: var(--tint); }
}
@media (min-width: 980px) {
  :root { --fs-h1: 2.4rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: var(--sp-6); }
  .hero-hero .hero-inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
}

/* ---------- print ---------- */

/* ---------- visible focus (keyboard only) ---------- */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible,
input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

@media print {
  :root { --bg: #fff; --ink: #000; --ink-soft: #111; --muted: #333; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .topbar, .site-header, .breadcrumbs, .site-footer, .hero-actions,
  .nav-toggle-label, .skip-link, .compare-picker { display: none !important; }
  .hero { background: none !important; color: #000; border: 1px solid #999; box-shadow: none; }
  .hero h1, .hero .hero-title, .hero .lede { color: #000 !important; }
  .hero-figure, .airport-figure { display: none; }
  a { color: #000; text-decoration: underline; }
  .wrap { max-width: none; padding: 0; }
  .table-wrap { overflow: visible; border: 0; }
  .data-table { min-width: 0; font-size: 9pt; }
  .data-table thead th { background: #eee !important; color: #000 !important; position: static; }
  .data-table tbody td:first-child { position: static; box-shadow: none; }
  .data-table tbody tr:nth-child(even) { background: #f4f4f4 !important; }
  .card, .fact-card { box-shadow: none; break-inside: avoid; }
  .cols-with-side, .airport-body { display: block; }
  .section-tabs { display: none; }
  table { page-break-inside: auto; }
  tr { page-break-inside: avoid; }
}
