/* AvGeekWire v3: "Ramp". Photo-led news site, sky-blue identity. See notes/direction.md */

@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-600.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-cond-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-cond-700.woff2') format('woff2'); font-weight: 700 800; font-display: swap; }

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --bg: #111214;
  --panel: #1a1c1f;
  --panel-2: #23262a;
  --line: #2d3035;
  --text: #f2f2ef;
  --soft: #a7abb2;       /* 7.9:1 on bg */
  --accent: #5aa9ff;     /* sky blue: links, labels, small marks on dark (7.6:1) */
  --accent-fill: #1f6fd6; /* sky blue for filled buttons and the logo, white text on it (5.0:1) */
  --accent-hover: #2b7fea;
  --red: #ff4b3e;        /* 7700 */
  --ochre: #ff9d2e;      /* 7600 */
  --violet: #b59cff;     /* spotter */
  --ended: #80858d;
  --mark: rgba(90, 169, 255, 0.14);

  --sans: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;

  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.375rem;
  --t-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  --t-xxl: clamp(2.125rem, 1.4rem + 2.8vw, 3.25rem);

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2.5rem; --s7: 4rem;
  --r: 6px;
  --max: 80rem;
  --tone: var(--red);
  color-scheme: dark;
}
.tone--emergency { --tone: var(--red); }
.tone--hijack { --tone: var(--text); }
.tone--nordo { --tone: var(--ochre); }
.tone--spotter { --tone: var(--violet); }
.tone--ended { --tone: var(--ended); }

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: var(--t-m); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.prose a, .article a, .lede a, .page-note a, ul.plain a, .explainer a, .foot a, .board-clear a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: var(--t-xxl); }
h2 { font-size: var(--t-l); }
p { margin: 0 0 var(--s4); }
.muted { color: var(--soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 30; background: var(--accent-fill); color: #fff; padding: var(--s2) var(--s4); font-weight: 600; }
.skip:focus { top: var(--s2); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--s4); }
@media (min-width: 48rem) { .wrap { padding-inline: var(--s5); } }
.narrow { max-width: 42rem; }
.lede { font-size: var(--t-l); line-height: 1.4; color: var(--soft); }
.page-note { color: var(--soft); max-width: 44rem; }
.kicker { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-size: var(--t-s); margin-bottom: var(--s2); }

/* ---- Header -------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: #0b0c0d; border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: var(--s3) var(--s5); min-height: 64px; flex-wrap: wrap; padding-block: var(--s2); }

/* Logo: a jet sending out its ADS-B signal, which is what the detector listens to. */
.logo { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; min-height: 44px; }
.logo__mark { width: 40px; height: 40px; }
.logo__jet { fill: var(--text); }
.logo__signal { stroke: var(--accent); }
.logo__word { font-family: var(--cond); font-weight: 700; font-size: 1.875rem; line-height: 1; letter-spacing: 0.005em; }
.logo__word span { color: var(--accent); }
.logo:hover .logo__signal { stroke: var(--text); }

.nav { display: flex; gap: var(--s5); }
.nav a { font-weight: 600; font-size: var(--t-m); color: var(--text); min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; padding-top: 3px; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current='page'] { border-bottom-color: var(--accent); }

.top__status { margin-left: auto; display: inline-flex; gap: var(--s3); font-size: var(--t-xs); color: var(--soft); font-variant-numeric: tabular-nums; }
.top__status [data-utc-clock] { color: var(--text); font-weight: 600; }
.top__scan.is-down { color: var(--ochre); }
.top__alerts {
  background: var(--accent-fill); color: #fff; font-weight: 700; font-size: var(--t-s);
  padding: 0 var(--s4); min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px;
}
.top__alerts:hover { background: var(--accent-hover); }
@media (max-width: 47.99rem) {
  .top__bar { gap: 0 var(--s4); }
  .top__status { display: none; }
  .top__alerts { margin-left: auto; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; gap: var(--s5); }
  .nav::-webkit-scrollbar { display: none; }
}

main { padding-block: var(--s5) var(--s7); }

/* ---- Section heads ------------------------------------------------------- */
.section-head { display: flex; align-items: baseline; gap: var(--s4); margin: var(--s6) 0 var(--s4); }
.section-head h1, .section-head h2 { font-size: var(--t-xl); text-transform: none; }
.section-head h2 { font-size: 1.75rem; }
.section-head__link { margin-left: auto; font-weight: 700; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); white-space: nowrap; }
.section-head__link::after { content: ' →'; color: var(--accent); }
.section-head__link:hover { color: var(--text); }
main > .section-head:first-child, .home__board > .section-head:first-child, .home__latest > .section-head:first-child { margin-top: 0; }

/* ---- Live bar ------------------------------------------------------------ */
.livebar {
  display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5);
  background: var(--panel); border-radius: var(--r); padding: var(--s2) var(--s3) var(--s2) var(--s2); min-height: 48px;
}
.livebar__flag {
  background: var(--tone); color: #111; font-family: var(--cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.2em 0.55em; border-radius: 3px; font-size: var(--t-s); flex: none;
}
.livebar__text { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.livebar__ago { margin-left: auto; color: var(--soft); font-size: var(--t-s); white-space: nowrap; }
.livebar:hover .livebar__text { text-decoration: underline; }
@media (max-width: 34rem) { .livebar__ago { display: none; } .livebar__text { white-space: normal; } }

/* ---- Home layout --------------------------------------------------------- */
.home__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
@media (min-width: 64rem) { .home__top { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--s6); } }
.home__logs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s6); }
@media (min-width: 56rem) { .home__logs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Photos -------------------------------------------------------------- */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #000; border-radius: var(--r); }
.photo figcaption { font-size: 0.75rem; color: var(--soft); margin-top: 0.35rem; }
.photo figcaption a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--line); }
.photo figcaption a:hover { color: var(--text); }
.photo--none {
  aspect-ratio: 3 / 2; border-radius: var(--r); background: var(--panel-2);
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s4);
  border-top: 4px solid var(--tone);
}
.photo__code { font-family: var(--cond); font-weight: 800; color: var(--tone); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 0.85; font-variant-numeric: tabular-nums; }
.photo__type { color: var(--soft); font-weight: 600; margin-top: var(--s2); }

/* ---- Tags ---------------------------------------------------------------- */
.tag { display: inline-block; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; font-size: var(--t-s); color: var(--tone, var(--red)); }
.tag--emergency { color: var(--red); }
.tag--nordo { color: var(--ochre); }
.tag--spotter { color: var(--violet); }
.tag--hijack { color: var(--text); }
.tag--ended { color: var(--ended); }

/* ---- Lead story ---------------------------------------------------------- */
.lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4) var(--s5); align-items: start; }
@media (min-width: 46rem) { .lead { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.lead__head { font-size: var(--t-xl); margin: var(--s1) 0 var(--s3); line-height: 1.05; }
.lead__head a:hover { text-decoration: underline; text-decoration-color: var(--tone); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.facts-line { color: var(--text); font-weight: 500; margin-bottom: var(--s2); font-variant-numeric: tabular-nums; }
.lead__when { color: var(--soft); font-size: var(--t-s); }
.lead__more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent); }
.lead__more::after { content: ' →'; white-space: pre; }
.lead__more:hover { text-decoration: underline; }

/* ---- Event cards --------------------------------------------------------- */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
@media (min-width: 34rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .home .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card .photo { margin-bottom: var(--s3); }
.card__head { font-size: 1.5rem; margin: var(--s1) 0 var(--s2); line-height: 1.08; }
.card__head a:hover { text-decoration: underline; text-decoration-color: var(--tone); }
.card__when { color: var(--soft); font-size: var(--t-s); margin: 0; }

.story.is-new { background: var(--mark); box-shadow: 0 0 0 var(--s3) var(--mark); border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .story.is-new { animation: settle 2.5s ease-out 2s forwards; }
}
@keyframes settle { to { background: transparent; box-shadow: 0 0 0 var(--s3) transparent; } }

.board-clear { border-left: 3px solid var(--accent); padding: var(--s1) 0 var(--s1) var(--s4); }
.board-clear__line { font-weight: 700; font-size: var(--t-l); line-height: 1.2; margin-bottom: var(--s1); }
.board-clear__sub { color: var(--soft); margin: 0; }

/* ---- Latest (timeline river) --------------------------------------------- */
.river { list-style: none; margin: 0; padding: 0 0 0 var(--s5); position: relative; }
.river::before { content: ''; position: absolute; left: 4px; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--line); }
.river li { position: relative; padding-bottom: var(--s4); margin-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.river li:last-child { border-bottom: 0; margin-bottom: 0; }
.river li::before { content: ''; position: absolute; left: calc(-1 * var(--s5) + 0px); top: 0.42rem; width: 10px; height: 10px; border-radius: 50%; background: var(--soft); box-shadow: 0 0 0 3px var(--bg); }
.river li:first-child::before { background: var(--accent); }
.river__when { display: block; font-size: var(--t-xs); color: var(--soft); margin-bottom: 0.2rem; }
.river__title { font-weight: 700; font-size: var(--t-m); line-height: 1.25; display: block; }
.river__title:hover { text-decoration: underline; }

/* ---- Alerts row --------------------------------------------------------- */
.alerts-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s4) 0; margin-top: var(--s6);
}
.alerts-row p { margin: 0; color: var(--soft); }
.alerts-row strong { color: var(--text); }
.alerts-row a { margin-left: auto; }

/* ---- News grid ----------------------------------------------------------- */
.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--s5); }
@media (min-width: 34rem) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .news { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.news a { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; }
.news img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--panel-2); margin-bottom: var(--s2); }
.news__photo { margin: 0 0 var(--s2); }
.news__photo img { display: block; margin-bottom: 0.3rem; }
.news__photo a { display: block; }
.news__photo figcaption { font-size: 0.6875rem; line-height: 1.35; color: var(--soft); }
.news__photo figcaption a { display: inline; color: inherit; text-decoration: underline; text-decoration-color: var(--line); }
.news__photo figcaption a:hover { color: var(--text); }
.news__source { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--t-xs); color: var(--accent); }
.news__title { font-weight: 700; line-height: 1.25; font-size: var(--t-m); }
.news a:hover .news__title { text-decoration: underline; }
.news__when { font-size: var(--t-xs); color: var(--soft); }
.news__item--text a { border-top: 2px solid var(--line); padding-top: var(--s3); }
/* Home: stories lead the page. The newest story is the big one; on wide screens it takes two columns and two rows. */
.home__stories { margin-bottom: var(--s6); }
.home__stories > .section-head:first-child { margin-top: 0; }
.news--lead > li:first-child .news__title { font-family: var(--cond); font-size: var(--t-xl); line-height: 1.05; }
@media (min-width: 64rem) {
  .news--lead > li:first-child { grid-column: span 2; grid-row: span 2; }
  .news--lead > li:first-child img { aspect-ratio: 16 / 9; }
}

/* ---- Log ----------------------------------------------------------------- */
.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.log a { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; gap: var(--s3); align-items: baseline; padding: var(--s3) 0; border-bottom: 1px solid var(--line); min-height: 44px; }
.log__code { font-family: var(--cond); font-weight: 800; color: var(--tone); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.log__head { font-weight: 600; line-height: 1.3; }
.log__time { font-size: var(--t-xs); color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.log a:hover .log__head { text-decoration: underline; }
@media (max-width: 30rem) {
  .log a { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .log__time { grid-column: 2; }
}

/* ---- Tabs ---------------------------------------------------------------- */
.tabs { display: flex; gap: var(--s2); margin-bottom: var(--s5); flex-wrap: wrap; }
.tabs a { background: var(--panel); border-radius: 999px; padding: 0 var(--s4); min-height: 40px; display: inline-flex; align-items: center; font-weight: 600; color: var(--soft); }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current='true'] { background: var(--text); color: #111; }

/* ---- Event page ---------------------------------------------------------- */
.event__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--s6); align-items: start; }
@media (min-width: 56rem) { .event__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.event__h { margin: var(--s2) 0 var(--s3); max-width: 22ch; line-height: 1.02; }
.event__when { color: var(--soft); font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.event__lede { font-size: var(--t-l); line-height: 1.45; max-width: 40rem; }
.event__grid { display: grid; gap: 0 var(--s6); }
@media (min-width: 64rem) { .event__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.map { height: 24rem; background: var(--panel); border-radius: var(--r); overflow: hidden; }
@media (max-width: 30rem) { .map { height: 16rem; } }
.map-fallback { padding: var(--s4); color: var(--soft); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 0; background: var(--panel); border-radius: var(--r); padding: var(--s2) var(--s4); }
.facts dt, .facts dd { padding: var(--s2) 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt:nth-last-of-type(1), .facts dd:last-of-type { border-bottom: 0; }
.facts dt { color: var(--soft); font-size: var(--t-s); padding-right: var(--s4); }
.facts dd { font-weight: 600; font-size: var(--t-s); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

.profile { margin: var(--s4) 0 0; }
.profile svg { width: 100%; height: auto; background: var(--panel); border-radius: var(--r); }
.profile__grid { stroke: var(--line); stroke-width: 1; }
.profile__tick { fill: var(--soft); font-family: var(--sans); font-size: 12px; }
.profile__line { fill: none; stroke: var(--tone); stroke-width: 2.5; stroke-linejoin: round; }
.profile figcaption { font-size: var(--t-xs); color: var(--soft); margin-top: var(--s2); }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.timeline__t { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline__live { color: var(--soft); }

.explainer { margin-top: var(--s6); background: var(--panel); border-radius: var(--r); padding: var(--s4) var(--s5); border-left: 0; }
.explainer h2 { font-size: var(--t-l); margin-bottom: var(--s2); }
.explainer p { margin: 0; color: var(--soft); }

.banner { background: var(--panel); border: 1px solid var(--ochre); padding: var(--s3) var(--s4); border-radius: var(--r); }

/* ---- Article / prose ----------------------------------------------------- */
.article h1, .prose h1 { margin-bottom: var(--s4); }
.article__stand { font-size: var(--t-l); line-height: 1.4; color: var(--soft); }
.article__by { font-size: var(--t-s); color: var(--soft); border-block: 1px solid var(--line); padding-block: var(--s2); }
.article p, .prose p, .prose li { font-size: 1.125rem; line-height: 1.65; max-width: 40rem; }
.prose h2 { margin: var(--s6) 0 var(--s3); font-size: 1.75rem; }
.prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: var(--s2); }
ul.plain { padding-left: 1.1rem; }
ul.plain li { margin-bottom: var(--s2); }

/* ---- Forms / buttons ----------------------------------------------------- */
.btn {
  font: inherit; font-weight: 700; cursor: pointer; background: var(--accent-fill); color: #fff; border: 0;
  border-radius: 999px; padding: 0 var(--s5); min-height: 44px; display: inline-flex; align-items: center;
}
.btn[hidden] { display: none; }
.btn:hover { background: var(--accent-hover); }
.btn--quiet { background: var(--panel-2); color: var(--text); }
.btn--quiet:hover { background: var(--line); }
.btn--small { padding: 0 var(--s3); min-height: 36px; font-size: var(--t-s); }
.alerts-form fieldset { border: 0; background: var(--panel); border-radius: var(--r); padding: var(--s2) var(--s4); margin: var(--s5) 0 var(--s4); }
.alerts-form legend { font-family: var(--cond); font-weight: 700; font-size: var(--t-l); padding: var(--s3) 0 0; float: left; width: 100%; }
.check { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; cursor: pointer; clear: both; }
.check + .check { border-top: 1px solid var(--line); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check .muted { display: block; font-size: var(--t-s); }
.alerts-form__actions { display: flex; gap: var(--s3); flex-wrap: wrap; }
.alerts-form__status { margin-top: var(--s3); min-height: 1.5em; font-weight: 600; }
.login { display: grid; gap: var(--s3); max-width: 22rem; }
.login input { font: inherit; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--text); min-height: 44px; }
.error { color: var(--red); font-weight: 600; margin: 0; }

/* ---- Editor desk --------------------------------------------------------- */
.admin-list { list-style: none; padding: 0; margin: 0 0 var(--s5); }
.admin-row { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.admin-row__actions { display: flex; gap: var(--s2); margin-left: auto; }
a.btn { text-decoration: none; }
.btn--danger { background: var(--red); }
.btn--danger:hover { background: var(--red); filter: brightness(1.12); }
.edit-form { display: grid; gap: var(--s2); margin-bottom: var(--s6); }
.edit-form label { font-weight: 700; margin-top: var(--s3); }
.edit-form .hint { margin: 0; font-size: var(--t-s); }
.edit-form input, .edit-form textarea {
  font: inherit; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); color: var(--text); min-height: 44px; width: 100%; box-sizing: border-box;
}
.edit-form textarea { line-height: 1.55; resize: vertical; }
.edit-form__actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); }
.delete-box { border: 1px solid var(--red); border-radius: var(--r); padding: var(--s4); display: grid; gap: var(--s2); justify-items: start; }
.delete-box h2 { margin: 0; }
.delete-box p { margin: 0; }
main > h2 { margin: var(--s6) 0 var(--s3); }

/* ---- Footer -------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding-block: var(--s5) var(--s6); font-size: var(--t-s); color: var(--soft); }
.foot strong { color: var(--text); }
.foot p { max-width: 46rem; }
.foot__small { font-size: var(--t-xs); }

/* ---- Leaflet ------------------------------------------------------------- */
.leaflet-container { font-family: var(--sans); background: var(--panel); }
.map .leaflet-tile-pane { filter: grayscale(1) invert(0.92) brightness(0.85) contrast(0.9); }

/* ---- Most recent (shown when nothing is live) ---------------------------- */
.previous { margin-top: var(--s5); }
.previous__label { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; font-size: var(--t-xs); color: var(--soft); margin-bottom: var(--s3); }

.foot__links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s3); }
.foot__links a { color: var(--text); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.prose ul { padding-left: 1.25rem; }
.prose code { font-size: 0.92em; background: var(--panel-2); padding: 0.05em 0.35em; border-radius: 4px; }

/* An article's aircraft photo (Planespotters.net): shown whole, at about its real size. */
.article__photo { margin: 1.25rem 0 1.5rem; max-width: 34rem; }
.article__photo > a { display: block; }
/* A Commons photo is freely licensed, so it can run across the whole column. */
.article__photo--wide { max-width: none; }
.article__photo--wide img { aspect-ratio: auto; background: none; }
