/* ==========================================================================
   mattheweverett.org: sectional-chart theme
   Colors borrowed from FAA VFR sectional charts:
   blue = towered airports / Class B & D, magenta = Class C & E / non-towered.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/public-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f3eedf;
  --paper-light: #faf7ee;
  --paper-deep: #e8dfc6;
  --terrain: #dfe4c6;
  --water: #cfe2ea;
  --ink: #1b2530;
  --ink-soft: #4b5661;
  --blue: #1d58a3;
  --blue-deep: #143d70;
  --blue-tint: rgba(29, 88, 163, 0.1);
  --magenta: #9b1b68;
  --magenta-deep: #7c1352;
  --magenta-tint: rgba(155, 27, 104, 0.1);
  --grid: rgba(29, 88, 163, 0.09);

  --f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(27, 37, 48, 0.06), 0 8px 24px -12px rgba(27, 37, 48, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* Lat/long grid, like the graticule on a chart */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 160px 160px;
  background-position: -1px -1px;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--f-label);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 99; }
.skip:focus { left: 0.5rem; }

/* ---------- Labels ---------- */
.eyebrow {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 0; border-top: 2px solid currentColor; }
.eyebrow-light { color: #f2b8d9; }

.freq {
  display: inline-block;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1.5px solid currentColor;
  padding: 0.05rem 0.45rem;
  border-radius: 2px;
  line-height: 1.4;
}
.freq-m { color: var(--magenta); }

.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--f-label); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  background: var(--magenta); color: #fff;
  border: 2px solid var(--magenta);
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--magenta-deep); border-color: var(--magenta-deep); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue-deep); border-color: #fff; }
.btn-light:hover { background: var(--paper); border-color: var(--paper); color: var(--magenta); }
.btn-small { font-size: 1rem; padding: 0.35rem 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; margin-top: 1.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 238, 223, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29, 88, 163, 0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.4rem; height: 2.4rem; flex: none; }
.brand-mark circle { fill: var(--blue); }
.brand-mark rect { fill: var(--paper); }
.brand-mark .brand-ticks line { stroke: var(--blue); stroke-width: 2.5; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-label); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-sub { font-family: var(--f-label); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--magenta); }
.brand:hover .brand-name { color: var(--blue); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.3rem; }
.nav-list a:not(.btn) {
  display: block; padding: 0.4rem 0.75rem;
  font-family: var(--f-label); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.nav-list a:not(.btn):hover { color: var(--blue); background: var(--blue-tint); }
.nav-list a[aria-current="page"]:not(.btn) { color: var(--blue); box-shadow: inset 0 -2px 0 var(--magenta); border-radius: 0; }
.nav-list .btn { margin-left: 0.5rem; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; background: none; border: 1.5px solid var(--blue); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 1.2rem; height: 2px; background: var(--blue); position: relative; content: "";
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-light); border-bottom: 1px solid rgba(29, 88, 163, 0.25); padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }
  .nav-list.open { display: flex; }
  .nav-list a:not(.btn) { padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--grid); }
  .nav-list .btn { margin: 1rem 0 0; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 1.2rem 0 0; margin: 0;
  font-family: var(--f-label); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 0.35rem; color: var(--magenta); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-alt { background: rgba(250, 247, 238, 0.75); border-block: 1px solid rgba(29, 88, 163, 0.15); }
/* Chart-margin tick scale on top edge of a section */
.ticked::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 9px;
  background:
    repeating-linear-gradient(90deg, var(--blue) 0 1.5px, transparent 1.5px 80px) top / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--blue) 0 1px, transparent 1px 16px) top / 100% 5px no-repeat;
  opacity: 0.45;
}
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.hero h1 { color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-coords {
  font-family: var(--f-label); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem;
}
.hero-coords span::before { content: "◆ "; color: var(--magenta); font-size: 0.7em; vertical-align: 0.15em; }
.hero-art { position: relative; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }

.page-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero .lede { font-size: 1.25rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center; }

@media (max-width: 860px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 26rem; margin-inline: auto; }
}

/* Compass rose */
.rose .rose-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.rose .rose-ticks line { stroke: var(--blue); stroke-width: 1.2; }
.rose .rose-labels text { fill: var(--blue); font-family: var(--f-label); font-weight: 600; font-size: 17px; text-anchor: middle; dominant-baseline: middle; }
.rose .rose-needle { fill: var(--blue); opacity: 0.85; }
.rose .rose-hub { fill: var(--paper); stroke: var(--blue); stroke-width: 2; }
.rose .rose-var { fill: var(--blue); font-family: var(--f-label); font-size: 14px; text-anchor: middle; letter-spacing: 0.05em; }

/* Airport data block */
.data-block {
  font-family: var(--f-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--blue); line-height: 1.15; font-size: 1.05rem;
}
.data-block .db-name { font-size: 1.3rem; font-weight: 700; }
.data-block-m { color: var(--magenta); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem; }
.card {
  position: relative;
  background: var(--paper-light);
  border: 1.5px solid rgba(29, 88, 163, 0.35);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card .freq { align-self: flex-start; margin-top: 1rem; }
.card h3 { margin-top: 0.7rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover { border-color: var(--magenta); }
.card:hover h3 a { color: var(--blue); }
.card p { color: var(--ink-soft); }
.card .more { margin-top: auto; font-family: var(--f-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--magenta); }
.card-icon { width: 3.25rem; height: 3.25rem; }
.card ul { color: var(--ink-soft); padding-left: 1.1em; margin: 0 0 1.2rem; }
.card ul li { margin-bottom: 0.3rem; }
.card-plain { box-shadow: none; }
.card-plain:hover { border-color: rgba(29, 88, 163, 0.35); }

/* ---------- Airway / process ---------- */
.airway { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: wp; }
.airway::before {
  content: ""; position: absolute; top: 15px; left: 1rem; right: 1rem; height: 0;
  border-top: 3px solid var(--magenta);
}
.airway li { position: relative; padding-top: 3.2rem; counter-increment: wp; }
/* Waypoint symbol: hollow triangle = reporting point; last one filled */
.airway li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 30px;
  background: var(--blue);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.airway li::after {
  content: ""; position: absolute; top: 11px; left: 8px; width: 18px; height: 15.5px;
  background: var(--paper);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.airway li:last-child::after { background: var(--blue); }
.airway .wp-id { font-family: var(--f-label); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--magenta); display: block; }
.airway h3 { margin: 0.2rem 0 0.4rem; font-size: 1.45rem; }
.airway p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
@media (max-width: 860px) {
  .airway { grid-template-columns: 1fr; gap: 2rem; }
  .airway::before { top: 1rem; bottom: 1rem; left: 16px; right: auto; height: auto; border-top: 0; border-left: 3px solid var(--magenta); }
  .airway li { padding: 0 0 0 3.5rem; }
}

/* ---------- Two-column & lists ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split-wide { grid-template-columns: 1.25fr 0.75fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem;
  border: 2px solid var(--blue); border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0 3px, transparent 3.5px);
}
.checks strong { color: var(--ink); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  font-family: var(--f-label); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid var(--blue); color: var(--blue); padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--paper-light);
}
.chips-m li { border-color: var(--magenta); color: var(--magenta); }

/* Callout / NOTAM box */
.notam {
  border: 1.5px dashed var(--magenta);
  background: var(--magenta-tint);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
}
.notam .freq { margin-bottom: 0.6rem; }
.notam p:last-child { margin-bottom: 0; }

/* Panel with airspace ring decoration */
.ring-panel {
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: var(--paper-light); border: 1.5px solid rgba(29, 88, 163, 0.35); overflow: hidden;
}
.ring-panel::after {
  content: ""; position: absolute; width: 22rem; height: 22rem; right: -14rem; bottom: -15rem; border-radius: 50%;
  border: 2px dashed var(--blue); opacity: 0.35; pointer-events: none;
}
.ring-panel > * { position: relative; z-index: 1; }

/* Logbook table (About page) */
.logbook { width: 100%; border-collapse: collapse; background: var(--paper-light); border: 1.5px solid rgba(29, 88, 163, 0.4); font-size: 1rem; }
.logbook caption { text-align: left; font-family: var(--f-label); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); padding-bottom: 0.5rem; }
.logbook th, .logbook td { padding: 0.65rem 0.9rem; border: 1px solid rgba(29, 88, 163, 0.25); text-align: left; vertical-align: top; }
.logbook th { font-family: var(--f-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); }
.logbook td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .logbook td:first-child { white-space: normal; } }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid rgba(29, 88, 163, 0.25); }
.faq-item:last-of-type { border-bottom: 1px solid rgba(29, 88, 163, 0.25); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--f-label); font-weight: 700; font-size: 1.35rem; line-height: 1.2;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; display: grid; place-items: center;
  border: 1.5px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: 1.2rem; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; color: var(--magenta); border-color: var(--magenta); }
.faq-item summary:hover { color: var(--blue); }
.faq-a { padding: 0 0 1.2rem; color: var(--ink-soft); }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background-color: var(--blue-deep);
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    radial-gradient(circle at 88% 50%, transparent 0 7rem, rgba(242,184,217,0.35) 7rem 7.15rem, transparent 7.2rem 11rem, rgba(242,184,217,0.2) 11rem 11.1rem, transparent 11.15rem);
  background-size: 80px 80px, 80px 80px, 100% 100%;
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-inner { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 40rem; margin-bottom: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.cta-alt { color: #fff; font-family: var(--f-label); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.cta-alt:hover { color: #f2b8d9; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--f-label); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.3rem; }
.field .opt { font-weight: 500; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(29, 88, 163, 0.45); border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px var(--magenta-tint); }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); }

.contact-methods { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-methods li { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; align-items: baseline; padding: 1rem 1.2rem; background: var(--paper-light); border: 1.5px solid rgba(29, 88, 163, 0.3); border-radius: var(--radius); }
.contact-methods .freq { grid-row: span 2; align-self: start; min-width: 4rem; text-align: center; }
.contact-methods a { font-weight: 600; font-size: 1.1rem; }
.contact-methods small { color: var(--ink-soft); grid-column: 2; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.2rem; font-size: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { margin-bottom: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-deep); border-top: 1px solid rgba(29, 88, 163, 0.3); padding: 3.5rem 0 1.5rem; font-size: 0.97rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-name { font-family: var(--f-label); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.footer-head { font-family: var(--f-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--magenta); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.coords { font-family: var(--f-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); font-size: 0.95rem; }
.legend-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-soft); font-size: 0.92rem; }
.lg { width: 1.6rem; height: 0.9rem; flex: none; display: inline-block; }
.lg-b { border: 3px solid var(--blue); border-radius: 2px; }
.lg-d { border: 2px dashed var(--blue); border-radius: 2px; }
.lg-e { background: linear-gradient(90deg, rgba(155,27,104,0.55), rgba(155,27,104,0)); border-left: 2px solid var(--magenta); }
.lg-route { height: 0; border-top: 3px solid var(--magenta); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(29, 88, 163, 0.2); color: var(--ink-soft); font-size: 0.88rem; }
.footer-base p { margin: 0; }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.stack-lg > * + * { margin-top: 2.5rem; }

/* Vertical airway variant (used in sidebars) */
.airway.airway-vertical { grid-template-columns: 1fr; gap: 2rem; }
.airway.airway-vertical::before { top: 1rem; bottom: 1rem; left: 16px; right: auto; height: auto; border-top: 0; border-left: 3px solid var(--magenta); }
.airway.airway-vertical li { padding: 0 0 0 3.5rem; }

.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }
.card > .freq:first-child { margin-top: 0; }
