/* Short Final website: one stylesheet for every page (served at /assets/site/site.css).
   Order: font faces, tokens (light, then dark), base, layout, components, utilities. Colours are tokens only. */

@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/fredoka-latin-700-normal.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  /* raw palette: the game's teal night, cream, gold and the plane orange */
  --night-950: #0b2026; --night-800: #16323a; --night-700: #1f4650;
  --teal: #1f6f78; --cream: #fff6e3; --cream-2: #f3e6c8; --ink: #1d2b30; --ink-soft: #4b5c62;
  --gold: #f2c14e; --gold-dark: #c9922a; --orange: #ef8a2f; --orange-text: #a8520f;
  --red: #e5533d; --phosphor: #8ff0cf;

  /* semantic tokens, light */
  --bg: var(--cream);
  --surface: #fffaf0;
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --accent: var(--orange-text);
  --link: #17606a;
  --line: rgba(29, 43, 48, .14);
  --hero-bg: var(--night-800);
  --hero-text: var(--cream);
  --hero-soft: #b8cacd;
  --cta: var(--gold);
  --cta-ink: var(--ink);
  --cta-edge: var(--gold-dark);
  --focus: #1f6f78;
  --shadow: 0 2px 0 rgba(29, 43, 48, .06), 0 18px 40px -22px rgba(22, 50, 58, .45);

  --radius: 22px;
  --radius-s: 12px;
  --pill: 999px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --font: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", "Noto Sans KR", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--night-950);
    --surface: var(--night-800);
    --text: var(--cream);
    --text-soft: #b8cacd;
    --accent: #ffab5c;
    --link: #ffc27f;
    --line: rgba(255, 246, 227, .14);
    --hero-bg: #0f2a31;
    --cta-edge: #b57c1f;
    --focus: var(--phosphor);
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--night-950);
  --surface: var(--night-800);
  --text: var(--cream);
  --text-soft: #b8cacd;
  --accent: #ffab5c;
  --link: #ffc27f;
  --line: rgba(255, 246, 227, .14);
  --hero-bg: #0f2a31;
  --cta-edge: #b57c1f;
  --focus: var(--phosphor);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.35rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1em; }
p { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 700; }
code, kbd { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--cta); color: var(--cta-ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(40px, 6vw, 88px) 0; }
.section--tight { padding: clamp(28px, 4vw, 52px) 0; }
.section--band { background: var(--surface); border-block: 1px solid var(--line); }
.section--hero { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.center { text-align: center; }
.stack > * + * { margin-top: 1em; }
/* The classroom lesson cards: one column on a phone, three across from 1024px (the grid sits outside the reading column). */
.lessons { display: grid; gap: 18px; }
.lessons > * + * { margin-top: 0; }
@media (min-width: 1024px) { .lessons { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }

/* ---------- header and footer ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text); text-decoration: none; font: 700 1.25rem/1 var(--font); }
.brand img { width: 40px; height: 40px; }
.brand:hover { text-decoration: none; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--pill); border: 2px solid var(--line); font-weight: 600; color: var(--text); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.nav-links { position: absolute; right: 0; top: calc(100% + 10px); min-width: min(86vw, 300px); display: grid; gap: 4px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); }
.nav-links a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.nav-links .nav-cta { background: var(--cta); color: var(--cta-ink); justify-content: center; margin-bottom: 6px; }
.nav-links .nav-cta:hover { background: var(--cta); filter: brightness(1.05); }
.site-header .header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 419px) {
  .brand { gap: 0; }
  .brand-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .header-cta { padding: 8px 10px; font-size: .9rem; }
  .menu > summary { padding: 0 10px; }
}
@media (min-width: 980px) {
  .menu > summary { display: none; }
  .menu { display: flex; align-items: center; }
  .nav-links { position: static; display: flex; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; gap: 4px; }
  .nav-links a { min-height: 40px; }
  .nav-links .nav-cta { display: none; }
  .bar { justify-content: flex-start; }
  .site-header .header-cta { margin-left: auto; }
}
details.menu:not([open]) > .nav-links { display: none; }
@media (min-width: 980px) { details.menu > .nav-links { display: flex !important; } }

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--text-soft); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin-bottom: 28px; }
.footer-grid h2 { font-size: 1rem; color: var(--text); margin-bottom: .5em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--text-soft); }
.footer-legal p { margin: 4px 0; font-size: .88rem; }
.footer-legal p:last-child { margin-bottom: 0; }
.lang-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* ---------- buttons ---------- */
.btn {
  --edge: var(--cta-edge);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: var(--pill); border: 0;
  background: var(--cta); color: var(--cta-ink);
  font: 700 1.125rem/1.1 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 5px 0 var(--edge), 0 14px 26px -12px rgba(0, 0, 0, .45);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.04); text-decoration: none; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge), 0 6px 12px -8px rgba(0, 0, 0, .45); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: none; border: 2px solid currentColor; }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn--ghost:active { transform: none; box-shadow: none; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.on-dark { color: var(--hero-text); }
.section--hero .btn--ghost { color: var(--hero-text); }
.price-note, .free-note { font-size: .95rem; color: var(--hero-soft); margin: 10px 0 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(44px, 6vw, 84px); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.hero h1 { color: var(--hero-text); }
.hero .lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--hero-soft); max-width: 36ch; margin-bottom: 1.6em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: var(--pill); background: color-mix(in srgb, var(--orange) 22%, transparent); color: #6b2f00; font-weight: 600; font-size: .9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: #ffd3a4; } }
:root[data-theme="dark"] .eyebrow, .hero .eyebrow { color: #ffd3a4; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--phosphor); box-shadow: 0 0 0 4px color-mix(in srgb, var(--phosphor) 25%, transparent); }
.radar { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1; }
.radar svg { width: 100%; height: 100%; }
.radar-sweep { transform-origin: 50% 50%; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.stat-strip { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip li { background: var(--surface); padding: 18px 16px; margin: 0; }
.stat-strip b { display: block; font: 700 clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem)/1.1 var(--font); color: var(--text); }
.stat-strip span { font-size: .92rem; color: var(--text-soft); }

/* ---------- cards and figures ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); min-width: 0; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 18%, transparent); margin-bottom: 14px; font-size: 1.4rem; }
.figure { margin: 0; }
.figure img { border-radius: var(--radius-s); border: 1px solid var(--line); width: 100%; height: auto; }
.figure figcaption { margin-top: 8px; font-size: .95rem; color: var(--text-soft); line-height: 1.45; }
.shots { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: .92rem; font-weight: 600; color: var(--text); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 599px) { .chip, .langs-list a, .brand { min-height: 44px; } }
.badge-free { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: var(--pill); background: var(--phosphor); color: #06262c; font-weight: 700; font-size: .85rem; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface); }
/* Phones: each row becomes a card, label above value, so nothing is clipped or scrolled sideways. */
@media (max-width: 599px) {
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wrap tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap th, .table-wrap td { border: 0; padding: 3px 0; white-space: normal; }
  .table-wrap th { color: var(--text); font-weight: 700; }
  .table-wrap td[data-label]::before { content: attr(data-label); display: block; font-size: .8rem; color: var(--text-soft); }
  .table-wrap caption { display: block; width: 100%; }
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--text); white-space: nowrap; }
td { color: var(--text-soft); }
tr:last-child td { border-bottom: 0; }
caption { caption-side: bottom; text-align: left; padding: 10px 14px; color: var(--text-soft); font-size: .9rem; }
.facts { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; margin: 0; }
.facts div { background: var(--surface); padding: 14px 16px; margin: 0; }
.facts dt { font-size: .85rem; color: var(--text-soft); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--text); font-size: 1.08rem; }

/* ---------- breadcrumbs, articles, search ---------- */
.crumbs { font-size: .92rem; color: var(--text-soft); margin: 18px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--text-soft); }
/* Touch targets: the link box is at least 44px tall; the negative margin keeps the layout unchanged. */
.crumbs a, .footer-grid ul a, .rows a { padding-block: 12px; margin-block: -12px; }
.lang-list a { display: inline-flex; align-items: center; min-height: 44px; }
.langs .chip, .langs summary { min-height: 44px; }
.page-head { padding: 12px 0 28px; }
.page-head p { color: var(--text-soft); font-size: 1.12rem; max-width: 60ch; }
.note { border-left: 4px solid var(--accent); background: var(--surface); padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--text); }
.search { position: relative; }
.search label { display: block; font-weight: 700; margin-bottom: 8px; }
.search input { width: 100%; min-height: 52px; padding: 12px 18px; font: 500 1.0625rem var(--font); color: var(--text); background: var(--surface); border: 2px solid var(--line); border-radius: var(--pill); }
.search input:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 25%, transparent); }
.search input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.results { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.results a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 16px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.results a:hover { border-color: var(--accent); }
.results small { color: var(--text-soft); }

/* ---------- consent banner (only when analytics is configured) ---------- */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 560px; margin-inline: auto; display: grid; gap: 12px; padding: 16px 18px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .95rem; }
.consent p { margin: 0; }
.consent .btn-row { gap: 10px; }
.consent .btn { min-height: 44px; font-size: 1rem; padding: 8px 18px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .radar-sweep { animation: none !important; }
}

/* ---------- small screens: nothing scrolls sideways ---------- */
@media (max-width: 359px) {
  body { font-size: 1rem; }
  .btn { font-size: 1.02rem; padding-inline: 18px; }
}

@media print {
  .site-header, .site-footer, .consent, .skip-link, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- brand pages: home, localized homes, press, events, 404 (tools/site/pages, lib/brand.mjs) ---------- */
.hero { isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .85; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-grid > .phone { position: relative; z-index: 1; }
.hero .btn-row { margin-top: 2px; }
.hero .btn--ghost { color: var(--hero-text); }
.langs { margin: 22px 0 0; max-width: 100%; }
.langs > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 16px; border-radius: var(--pill); border: 1px solid rgba(255, 246, 227, .28); color: var(--hero-soft); font-size: .95rem; cursor: pointer; list-style: none; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary b { color: var(--hero-text); }
.langs > summary::after { content: "\25BE"; margin-left: 4px; color: var(--hero-soft); }
.langs[open] > summary::after { content: "\25B4"; }
.langs-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; max-width: 620px; }
.langs-list a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: var(--pill); border: 1px solid rgba(255, 246, 227, .24); color: var(--hero-soft); font-size: .92rem; font-weight: 600; text-decoration: none; }
.langs-list a:hover { color: var(--hero-text); border-color: currentColor; }
.langs-list a[aria-current="true"] { background: var(--cta); color: var(--cta-ink); border-color: var(--cta); }
.phone { position: relative; margin: 0; justify-self: center; width: min(100%, 540px); padding: 12px; border-radius: 30px; background: #04151b; box-shadow: inset 0 0 0 2px #2c4f58, 0 40px 70px -36px rgba(0, 0, 0, .75); transform: rotate(-1.2deg); }
.phone::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 60px; margin-top: -30px; border-radius: 6px; background: #2c4f58; }
.phone-screen { border-radius: 20px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: auto; }
.free-note { margin-bottom: 0; }
.steps { list-style: none; counter-reset: step; display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); padding: 0; margin: 0; }
.steps li { counter-increment: step; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--cta); color: var(--cta-ink); font: 700 1.1rem/1 var(--font); box-shadow: 0 4px 0 var(--cta-edge); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--text-soft); }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check li { position: relative; min-width: 0; padding-left: 34px; }
.check li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.card .icon { color: var(--accent); }
.card .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.proof { margin: 0; padding: 0; }
.center-row { justify-content: center; }
.final .lead { margin-inline: auto; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.band > div { max-width: 60ch; min-width: 0; }
.band h2 { margin-bottom: .3em; }
.band p { margin: 0; color: var(--text-soft); }
.trailer { min-width: 0; }
.trailer-poster { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--night-950); box-shadow: var(--shadow); text-decoration: none; }
.trailer-poster img { width: 100%; height: 100%; object-fit: cover; }
.trailer-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--cta); box-shadow: 0 6px 0 var(--cta-edge), 0 14px 26px -10px rgba(0, 0, 0, .6); }
.trailer-play::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--cta-ink); }
.trailer-label { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 8px 16px; border-radius: var(--pill); background: var(--cta); color: var(--cta-ink); font-weight: 700; font-size: .95rem; text-decoration: none; }
.trailer-label:hover { filter: brightness(1.05); text-decoration: none; }
@media (min-width: 1024px) { .grid--features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trailer-frame { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); background: #000; }
.pick { display: grid; gap: clamp(22px, 3vw, 40px); }
@media (min-width: 900px) { .pick { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.pick-status { min-height: 1.4em; margin: 10px 2px 0; color: var(--text-soft); font-size: .95rem; }
.pick-busiest h3 { font-size: 1.1rem; margin-bottom: .6em; }
.pick-busiest .chips { margin-bottom: 14px; }
.pick-busiest .chip b { color: var(--accent); margin-right: 4px; }
.pick-all { margin: 0; }
.results b { margin-right: 8px; font-weight: 700; color: var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-weight: 700; font-size: 1.12rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--text-soft); }
.status { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; margin: 0 0 12px; border-radius: var(--pill); font-weight: 700; font-size: .92rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.status--live { background: var(--phosphor); color: #06262c; }
.status.status--coming { border: 2px solid var(--accent); color: var(--accent); }
.event-card h2 { font-size: 1.5rem; }
.event-dates { color: var(--text-soft); }
.logo-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.logo-card { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 18px; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.logo-card img { width: 100%; height: auto; max-height: 240px; object-fit: contain; border-radius: var(--radius-s); }
.logo-card figcaption { margin-top: auto; }
.logo-card figcaption a { font-weight: 700; }
.logo-card.on-night { background: var(--hero-bg); color: var(--hero-text); }
.logo-card.on-night figcaption a { color: var(--cta); }
@media (min-width: 900px) { .logo-card.wide { grid-column: span 2; } }
.long-desc { margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.long-desc summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; }
.long-desc[open] summary { margin-bottom: 12px; }
.press-short { font-size: 1.12rem; }
.store-copy h2 { margin-top: 1.5em; }
.credit { font-size: .92rem; color: var(--text-soft); }
.notfound-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .notfound-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.radar-404 { margin: 0; width: min(100%, 420px); justify-self: center; aspect-ratio: 1; }
.radar-404 svg { width: 100%; height: 100%; }
.fine { margin: 18px 0 0; color: var(--hero-soft); font-size: .95rem; }

/* ---------- the airport top-controllers panel (boardpanel.mjs); hidden until its script finds a board ---------- */
.board-panel [hidden] { display: none !important; }
.board-intro { color: var(--text-soft); max-width: 62ch; margin: 8px 0 0; }
.board-levels { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.board-level { min-height: 44px; padding: 6px 16px; border-radius: var(--pill); border: 2px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.board-level:hover { border-color: var(--link); }
.board-level[aria-pressed="true"] { background: var(--cta); color: var(--cta-ink); border-color: var(--cta-edge); }
.board-caption { color: var(--text-soft); font-weight: 600; margin: 14px 0 0; }
.board-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.board-row { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); min-width: 0; }
.board-rank { font-weight: 700; color: var(--accent); }
.board-name { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.board-score { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-empty { margin: 14px 0 0; font-weight: 600; font-size: 1.05rem; max-width: 62ch; }
.board-cta { margin-top: 22px; }
.board-panel .sources { margin-top: 16px; }
