/* ==========================================================================
   Russell County Airport (K24) — Design system
   Instrument-panel dark hero/bands + warm daylight body. Beacon-red identity.
   ========================================================================== */

:root {
  /* ---- Light (body) ---- */
  --ink:        oklch(0.20 0.012 250);
  --ink-soft:   oklch(0.44 0.012 250);
  --bg:         oklch(0.995 0 0);
  --surface:    oklch(0.975 0.004 250);
  --surface-2:  oklch(0.955 0.006 250);
  --line:       oklch(0.90 0.006 250);

  /* ---- Dark (instrument panel) ---- */
  --night:        oklch(0.185 0.014 255);
  --night-2:      oklch(0.235 0.016 255);
  --night-3:      oklch(0.285 0.016 255);
  --night-line:   oklch(0.34 0.014 255);
  --on-night:     oklch(0.965 0.006 250);
  --on-night-soft:oklch(0.76 0.010 250);

  /* ---- Brand ---- */
  --beacon:      oklch(0.585 0.205 25);
  --beacon-deep: oklch(0.485 0.170 25);
  --beacon-glow: oklch(0.66 0.205 28);
  --taxi:        oklch(0.72 0.115 225);
  --taxi-ink:    oklch(0.52 0.10 235);
  --tungsten:    oklch(0.80 0.105 78);

  /* ---- Type ---- */
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
  --font-mono: 'Overpass Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* ---- Space & shape ---- */
  --pad-x: clamp(1.15rem, 5vw, 4rem);
  --section-y: clamp(3.75rem, 9vw, 8rem);
  --maxw: 1180px;
  --radius: 12px;
  --radius-sm: 9px;

  /* ---- Z-scale ---- */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-toast: 300;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo-ish */
}

/* ---- Reset-ish ---- */
*, *::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(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; text-wrap: balance; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
:focus-visible {
  outline: 3px solid var(--taxi);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: var(--z-toast);
  background: var(--night); color: var(--on-night); padding: .75rem 1.1rem; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .7rem var(--pad-x);
  color: var(--on-night);
  transition: background .35s var(--ease-out), backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--night) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--night-line);
  padding-block: .5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.brand__sub { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; color: var(--on-night-soft); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; color: var(--on-night-soft); font-weight: 500; font-size: .93rem;
  padding: .5rem .75rem; border-radius: 8px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--on-night); background: color-mix(in oklab, var(--on-night) 8%, transparent); }
.nav__cta {
  margin-left: .4rem; padding: .58rem 1.05rem !important; border-radius: 9px;
  background: var(--beacon); color: #fff !important; font-weight: 600;
}
.nav__cta:hover { background: var(--beacon-deep) !important; }

.nav__toggle {
  display: none; position: relative; z-index: 2;
  background: color-mix(in oklab, var(--night-2) 45%, transparent);
  border: 1px solid var(--night-line); color: var(--on-night);
  width: 46px; height: 46px; border-radius: 13px; cursor: pointer;
  align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;
  transition: background .2s, border-color .2s, transform .1s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav__toggle:active { transform: scale(.94); }
.nav__burger { position: relative; width: 20px; height: 13px; display: block; }
.nav__burger span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .4s var(--ease-out), opacity .2s var(--ease-out), top .4s var(--ease-out), width .4s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 5.5px; width: 78%; }
.nav__burger span:nth-child(3) { top: 11px; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(1) { top: 5.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(2) { opacity: 0; width: 0; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(3) { top: 5.5px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .nav__burger span { transition: none; } }

/* Mobile-only menu chrome — hidden at desktop widths */
.nav__mtitle, .nav__mcall-li, .nav__chev { display: none; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }

  /* Full-screen iOS-style overlay menu */
  .nav__links {
    position: fixed; inset: 0; z-index: 95;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; list-style: none;
    padding: calc(env(safe-area-inset-top) + 4.6rem) clamp(1.25rem, 6vw, 2.25rem) calc(env(safe-area-inset-bottom) + 1.6rem);
    background: color-mix(in oklab, var(--night) 90%, transparent);
    backdrop-filter: saturate(1.35) blur(26px); -webkit-backdrop-filter: saturate(1.35) blur(26px);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .32s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

  .nav__mtitle { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--on-night-soft); padding: 0 .3rem .5rem; }

  .nav__links > li { opacity: 0; transform: translateY(10px); }
  .nav__links.open > li { opacity: 1; transform: none; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
  .nav__links.open > li:nth-child(1){transition-delay:.03s}
  .nav__links.open > li:nth-child(2){transition-delay:.07s}
  .nav__links.open > li:nth-child(3){transition-delay:.11s}
  .nav__links.open > li:nth-child(4){transition-delay:.15s}
  .nav__links.open > li:nth-child(5){transition-delay:.19s}
  .nav__links.open > li:nth-child(6){transition-delay:.23s}
  .nav__links.open > li:nth-child(7){transition-delay:.27s}
  .nav__links.open > li:nth-child(8){transition-delay:.31s}
  .nav__links.open > li:nth-child(9){transition-delay:.35s}
  @media (prefers-reduced-motion: reduce) {
    .nav__links { transition: opacity .2s, visibility 0s; transform: none; }
    .nav__links > li, .nav__links.open > li { opacity: 1; transform: none; transition: none; }
  }

  .nav__links a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 2vw, 1.7rem); font-weight: 700; letter-spacing: -.01em;
    color: var(--on-night); text-decoration: none; background: none;
    padding: 1.05rem .3rem; border-radius: 0; border-bottom: 1px solid var(--night-line);
  }
  .nav__links a:hover { background: none; }
  .nav__links a[aria-current="page"] { color: var(--taxi); }
  .nav__links a:active { opacity: .6; }
  .nav__chev { display: block; width: 20px; height: 20px; color: var(--on-night-soft); flex: none; }

  .nav__cta-li { margin-top: 1.7rem; }
  .nav__links .nav__cta {
    display: flex; align-items: center; justify-content: center; margin: 0;
    padding: 1.05rem 1.2rem !important; font-size: 1.05rem; border-radius: 14px;
    box-shadow: 0 12px 30px -12px color-mix(in oklab, var(--beacon) 80%, black);
  }
  .nav__mcall-li { display: block; margin-top: .8rem; }
  .nav__mcall {
    display: flex; align-items: center; gap: .85rem; text-decoration: none;
    padding: .95rem 1.15rem; border-radius: 14px; border: 1px solid var(--night-line);
    background: color-mix(in oklab, var(--night-2) 55%, transparent); color: var(--on-night);
  }
  .nav__mcall svg { width: 22px; height: 22px; color: var(--taxi); flex: none; }
  .nav__mcall span { font-size: .95rem; color: var(--on-night-soft); line-height: 1.25; }
  .nav__mcall b { display: block; font-family: var(--font-mono); color: var(--taxi); font-weight: 600; font-size: 1rem; margin-top: 1px; }

  /* keep the top bar (brand + weather + toggle) above the overlay */
  .nav { z-index: 100; }
  .nav.scrolled, .nav { background: color-mix(in oklab, var(--night) 55%, transparent); }
  .brand, .nav__right { position: relative; z-index: 96; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; color: var(--on-night); background: var(--night); overflow: clip; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--night) 82%, transparent) 0%, transparent 26%, transparent 52%, color-mix(in oklab, var(--night) 72%, transparent) 82%, var(--night) 100%),
    linear-gradient(90deg, color-mix(in oklab, var(--night) 78%, transparent) 0%, transparent 58%);
}
.hero__inner {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(8rem, 16vh, 12rem) var(--pad-x) clamp(3rem, 6vh, 5rem);
  min-height: clamp(560px, 92svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5rem;
}
.hero__tag {
  display: inline-block; align-self: flex-start; white-space: nowrap;
  font-family: var(--font-mono); font-size: clamp(.66rem, .6rem + .3vw, .78rem); letter-spacing: .08em;
  color: var(--on-night); background: color-mix(in oklab, var(--night-2) 70%, transparent);
  border: 1px solid var(--night-line); padding: .45rem .85rem; border-radius: 999px;
  backdrop-filter: blur(6px); max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.hero__tag b { color: var(--tungsten); font-weight: 600; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.1rem + 5.1vw, 5.6rem);
  letter-spacing: -.03em; max-width: 16ch;
}
.hero h1 .accent { color: var(--beacon-glow); }
.hero__lede {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.4rem); color: var(--on-night-soft);
  max-width: 52ch; line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .35rem; }

/* Buttons */
.btn {
  --_bg: var(--beacon); --_fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 10px; border: 1px solid transparent;
  background: var(--_bg); color: var(--_fg);
  transition: transform .18s var(--ease-out), background .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 8px 24px -12px color-mix(in oklab, var(--beacon) 80%, black);
}
.btn:hover { background: var(--beacon-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --_bg: transparent; --_fg: var(--on-night);
  border-color: color-mix(in oklab, var(--on-night) 40%, transparent);
  box-shadow: none; backdrop-filter: blur(4px);
}
.btn--ghost:hover { --_bg: color-mix(in oklab, var(--on-night) 12%, transparent); border-color: var(--on-night); }
.btn--dark { --_bg: var(--ink); --_fg: var(--bg); box-shadow: none; }
.btn--dark:hover { --_bg: var(--night); }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Field at a glance — instrument data band (signature element)
   ========================================================================== */
.field {
  background: var(--night-2); color: var(--on-night);
  border-block: 1px solid var(--night-line);
  position: relative; z-index: var(--z-base);
}
.field__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  max-width: var(--maxw); margin-inline: auto;
}
.field__cell {
  padding: clamp(1.1rem, 2.4vw, 1.8rem) clamp(.9rem, 1.8vw, 1.4rem);
  border-left: 1px solid var(--night-line);
  display: flex; flex-direction: column; gap: .35rem;
}
.field__cell:first-child { border-left: none; }
.field__k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; color: var(--on-night-soft); }
.field__v { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); letter-spacing: -.01em; }
.field__v small { display: block; font-size: .7rem; font-weight: 400; color: var(--on-night-soft); letter-spacing: .02em; margin-top: 2px; }
.field__v.is-live { color: var(--tungsten); }
.field__v.is-freq { color: var(--taxi); }
@media (max-width: 900px) { .field__grid { grid-template-columns: repeat(3, 1fr); }
  .field__cell:nth-child(3n+1) { border-left: none; }
  .field__cell:nth-child(n+4) { border-top: 1px solid var(--night-line); } }
@media (max-width: 520px) { .field__grid { grid-template-columns: repeat(2, 1fr); }
  .field__cell { border-left: 1px solid var(--night-line); }
  .field__cell:nth-child(odd) { border-left: none; }
  .field__cell:nth-child(n+3) { border-top: 1px solid var(--night-line); } }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.s-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.s-head__title { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -.025em; }
.s-head__title .accent { color: var(--beacon); }
.s-head__intro { margin-top: 1rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-soft); line-height: 1.55; }
.wp { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--taxi-ink); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .5rem; }
.wp::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---- About ---- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__body p + p { margin-top: 1.1rem; }
.about__figure { position: relative; border-radius: var(--radius); overflow: clip; box-shadow: 0 40px 80px -40px rgba(20,30,45,.4); }
.about__figure img { aspect-ratio: 4 / 3.1; object-fit: cover; }
.about__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: color-mix(in oklab, var(--night) 82%, transparent); color: var(--on-night);
  backdrop-filter: blur(8px); border: 1px solid var(--night-line);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
  padding: .55rem .8rem; border-radius: 8px;
}
.about__badge b { color: var(--tungsten); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about__figure { order: -1; } }

.pillrow { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.pill { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .02em; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.pill b { color: var(--beacon); }

/* ---- Services ---- */
.svc { background: var(--surface); border-block: 1px solid var(--line); }
.svc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.svc__item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  display: flex; flex-direction: column; gap: .6rem;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.svc__item:hover { transform: translateY(-4px); box-shadow: 0 30px 55px -34px rgba(20,30,45,.5); border-color: color-mix(in oklab, var(--beacon) 40%, var(--line)); }
.svc__ico { width: 40px; height: 40px; color: var(--beacon); }
.svc__item h3 { font-family: var(--font-display); font-size: 1.18rem; letter-spacing: -.01em; font-weight: 700; }
.svc__item p { color: var(--ink-soft); font-size: .97rem; }
.svc__item .tag { margin-top: auto; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--taxi-ink); }
.svc__item .tag.fuel { color: color-mix(in oklab, var(--tungsten) 78%, var(--ink)); }

/* ---- Pilot info (dark) ---- */
.pilot { position: relative; background: var(--night); color: var(--on-night); overflow: clip; isolation: isolate; }
.pilot__media { position: absolute; inset: 0; z-index: -2; }
.pilot__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.pilot__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--night) 0%, color-mix(in oklab, var(--night) 64%, transparent) 20%, color-mix(in oklab, var(--night) 58%, transparent) 62%, var(--night) 100%); }
.pilot .s-head__title { color: var(--on-night); }
.pilot .s-head__intro { color: var(--on-night-soft); }
.pilot .wp { color: var(--taxi); }
.pilot__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
.spec { border-top: 1px solid var(--night-line); }
.spec__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--night-line); align-items: baseline; }
.spec__k { color: var(--on-night-soft); font-size: .95rem; }
.spec__v { font-family: var(--font-mono); font-weight: 600; font-size: 1.02rem; text-align: right; }
.spec__v.freq { color: var(--taxi); }
.spec__v.fuel { color: var(--tungsten); }
.pilot__aside { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.pilot__aside h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1rem; }
.linklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.linklist a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--night-line); text-decoration: none; color: var(--on-night); font-weight: 500; transition: color .2s, transform .2s var(--ease-out); }
.linklist li:first-child a { border-top: none; }
.linklist a:hover { color: var(--taxi); transform: translateX(4px); }
.linklist a span { font-family: var(--font-mono); font-size: .74rem; color: var(--on-night-soft); }
.linklist a svg { width: 16px; height: 16px; opacity: .7; }
.disclaimer { margin-top: 1.4rem; font-size: .82rem; color: var(--on-night-soft); font-family: var(--font-mono); line-height: 1.5; }
@media (max-width: 820px) { .pilot__grid { grid-template-columns: 1fr; } }

/* ---- Gateway (Lake Cumberland) ---- */
.gateway { position: relative; color: var(--on-night); background: var(--night); overflow: clip; isolation: isolate; }
.gateway__media { position: absolute; inset: 0; z-index: -2; }
.gateway__media img { width: 100%; height: 100%; object-fit: cover; }
.gateway__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklab, var(--night) 90%, transparent), color-mix(in oklab, var(--night) 55%, transparent) 60%, color-mix(in oklab, var(--night) 30%, transparent)); }
.gateway__inner { max-width: 48ch; }
.gateway h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -.025em; }
.gateway p { margin-top: 1.1rem; color: var(--on-night-soft); font-size: 1.12rem; line-height: 1.55; }
.gateway .statline { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.8rem; }
.gateway .statline div { display: flex; flex-direction: column; }
.gateway .statline b { font-family: var(--font-mono); font-size: 1.55rem; color: var(--tungsten); font-weight: 600; }
.gateway .statline span { font-size: .85rem; color: var(--on-night-soft); }

/* ---- Announcements / Notices ---- */
.notices { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(1rem, 2.2vw, 1.5rem); }
.notice {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.notice:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(20,30,45,.5); border-color: color-mix(in oklab, var(--ink) 12%, var(--line)); }
.notice__chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .42rem .8rem; border-radius: 999px;
}
.notice__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.notice__title { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); font-weight: 700; letter-spacing: -.01em; }
.notice__text { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
.notice--notice .notice__chip { background: color-mix(in oklab, var(--taxi) 18%, var(--bg)); color: oklch(0.44 0.10 235); }
.notice--notice .notice__dot { background: var(--taxi); }
.notice--event .notice__chip { background: color-mix(in oklab, var(--tungsten) 26%, var(--bg)); color: oklch(0.44 0.085 72); }
.notice--event .notice__dot { background: var(--tungsten); }
.notice--alert .notice__chip { background: color-mix(in oklab, var(--beacon) 14%, var(--bg)); color: var(--beacon-deep); }
.notice--alert .notice__dot { background: var(--beacon); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__aside h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -.025em; }
.contact__aside > p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.coord { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.coord__item { display: flex; gap: .9rem; align-items: flex-start; }
.coord__item svg { width: 22px; height: 22px; color: var(--beacon); flex: none; margin-top: 2px; }
.coord__item a, .coord__item span { text-decoration: none; color: var(--ink); }
.coord__item a:hover { color: var(--beacon); }
.coord__item .lbl { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 2px; }
.coord__item .val { font-weight: 600; }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-group { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field-group label { font-weight: 600; font-size: .9rem; }
.field-group label .req { color: var(--beacon); }
.field-group input, .field-group select, .field-group textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field-group textarea { resize: vertical; min-height: 130px; }
.field-group input::placeholder, .field-group textarea::placeholder { color: color-mix(in oklab, var(--ink-soft) 82%, var(--bg)); }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none; border-color: var(--beacon); background: var(--bg);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--beacon) 22%, transparent);
}
.field-group[data-invalid="true"] input,
.field-group[data-invalid="true"] select,
.field-group[data-invalid="true"] textarea { border-color: var(--beacon); }
.field-error { font-size: .8rem; color: var(--beacon-deep); font-weight: 500; min-height: 0; }
.form__actions { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; flex-wrap: wrap; }
.form__note { font-size: .82rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status { border-radius: var(--radius-sm); padding: .9rem 1.05rem; font-weight: 500; font-size: .95rem; display: none; }
.form__status.show { display: block; }
.form__status.ok { background: color-mix(in oklab, var(--taxi) 15%, var(--bg)); color: var(--taxi-ink); border: 1px solid color-mix(in oklab, var(--taxi) 40%, var(--bg)); }
.form__status.err { background: color-mix(in oklab, var(--beacon) 12%, var(--bg)); color: var(--beacon-deep); border: 1px solid color-mix(in oklab, var(--beacon) 35%, var(--bg)); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--night); color: var(--on-night-soft); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--night-line); }
.footer__brand .brand__name { color: var(--on-night); }
.footer__brand p { margin-top: 1rem; max-width: 34ch; font-size: .92rem; }
.footer h4 { color: var(--on-night); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; margin-bottom: 1rem; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer a { text-decoration: none; color: var(--on-night-soft); transition: color .2s; }
.footer a:hover { color: var(--taxi); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; padding-top: 1.6rem; font-size: .82rem; }
.footer__legal .mono { font-family: var(--font-mono); letter-spacing: .04em; }
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Reveal motion (progressive, content visible by default)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal[data-d="1"] { transition-delay: .08s; }
  .js .reveal[data-d="2"] { transition-delay: .16s; }
  .js .reveal[data-d="3"] { transition-delay: .24s; }
}

/* Beacon pulse on the header mark */
@media (prefers-reduced-motion: no-preference) {
  .brand__mark .pulse { animation: beacon 3.4s var(--ease-out) infinite; transform-origin: center; }
  @keyframes beacon { 0%, 62%, 100% { opacity: .25; } 72% { opacity: 1; } 82% { opacity: .35; } }
}

/* ==========================================================================
   Nav right cluster + live weather chip
   ========================================================================== */
.nav__right { display: flex; align-items: center; gap: .6rem; }
.wx {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  padding: .4rem .7rem; border-radius: 999px;
  border: 1px solid var(--night-line);
  background: color-mix(in oklab, var(--night-2) 60%, transparent);
  color: var(--on-night); line-height: 1;
  transition: border-color .2s, background .2s;
}
.wx:hover { border-color: color-mix(in oklab, var(--on-night) 35%, transparent); }
.wx__dot { width: 10px; height: 10px; border-radius: 50%; background: #8895a7; flex: none; transition: background .4s, box-shadow .4s; }
.wx__cat { font-family: var(--font-mono); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.wx__detail { font-family: var(--font-mono); font-size: .74rem; color: var(--on-night-soft); letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 1080px) { .wx__detail { display: none; } }
@media (max-width: 620px) { .wx { padding: .38rem .55rem; } .wx__cat { font-size: .78rem; } }

.nav__scrim { position: fixed; inset: 0; z-index: 90; background: rgba(8,14,20,.5); backdrop-filter: blur(2px); }

/* Hero live-weather inline line */
.hero__wx { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .82rem; color: var(--on-night-soft); }
.hero__wx b { color: var(--tungsten); font-weight: 600; }

/* ==========================================================================
   Live weather panel (EFB-style) — lives in #field
   ========================================================================== */
.wxpanel { --cat: #8895a7; background: color-mix(in oklab, var(--night-2) 88%, transparent); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: clip; backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); box-shadow: 0 24px 60px -30px rgba(0,0,0,.7); }
.wxpanel__head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--night-line); background: linear-gradient(90deg, color-mix(in oklab, var(--cat) 20%, transparent), transparent 70%); }
.wxpanel__cat { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.wxpanel__cat > span { min-width: 0; }
.wxpanel__cat .beam { flex: none; width: 13px; height: 13px; aspect-ratio: 1; border-radius: 50%; background: var(--cat); box-shadow: 0 0 0 4px color-mix(in oklab, var(--cat) 20%, transparent), 0 0 14px color-mix(in oklab, var(--cat) 85%, transparent); }
.wxpanel__cat .txt { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; color: var(--cat); }
.wxpanel__catdesc { font-size: .82rem; color: var(--on-night-soft); }
.wxpanel__station { margin-left: auto; text-align: right; font-family: var(--font-mono); font-size: .72rem; color: var(--on-night-soft); line-height: 1.4; }
.wxpanel__body { padding: clamp(1.1rem, 2.5vw, 1.4rem); }
.windrose { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--night-line); flex: none; display: grid; place-items: center; }
.windrose::before { content: "N"; position: absolute; top: 4px; font-family: var(--font-mono); font-size: .6rem; color: var(--on-night-soft); }
.windrose__arrow { width: 16px; height: 34px; background: var(--taxi); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: center; transition: transform .8s var(--ease-out), opacity .4s; filter: drop-shadow(0 0 6px color-mix(in oklab, var(--taxi) 60%, transparent)); }
.wxmetrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .1rem 1.2rem; }
.wxmetric { padding: .35rem 0; }
.wxmetric .k { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; color: var(--on-night-soft); text-transform: uppercase; }
.wxmetric .v { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; margin-top: 2px; }
.wxpanel__raw { padding: .9rem 1.3rem; border-top: 1px solid var(--night-line); font-family: var(--font-mono); font-size: .74rem; color: var(--on-night-soft); word-break: break-word; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wxpanel__raw .obs { color: var(--tungsten); white-space: nowrap; }
@media (max-width: 560px) { .wxmetrics { grid-template-columns: repeat(2, 1fr); } .wxpanel__body { grid-template-columns: 1fr; justify-items: start; } }

/* Field intro layout (dark) two-col: band data + weather panel */
.fieldwrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
@media (max-width: 900px) { .fieldwrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   Gallery (real photos)
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.8rem, 1.6vw, 1.1rem); }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: clip; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2 / 1; transition: transform .8s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: .8rem; bottom: .7rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; color: #fff; background: color-mix(in oklab, var(--night) 72%, transparent); padding: .35rem .6rem; border-radius: 6px; backdrop-filter: blur(6px); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child img { aspect-ratio: 21 / 8; }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

/* ==========================================================================
   Courtesy cars kiosk
   ========================================================================== */
.cars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.car {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; background: var(--bg);
  display: flex; flex-direction: column;
}
.car__head { padding: 1.3rem 1.4rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.car__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.car__sub { color: var(--ink-soft); font-size: .9rem; margin-top: .2rem; }
.car__status { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: .4rem .7rem; border-radius: 999px; white-space: nowrap; }
.car__status .d { width: 9px; height: 9px; border-radius: 50%; }
.car__status.avail { background: color-mix(in oklab, #37b24d 15%, var(--bg)); color: #237a33; }
.car__status.avail .d { background: #37b24d; box-shadow: 0 0 0 4px color-mix(in oklab, #37b24d 22%, transparent); }
.car__status.out { background: color-mix(in oklab, var(--beacon) 13%, var(--bg)); color: var(--beacon-deep); }
.car__status.out .d { background: var(--beacon); }
.car__body { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.car__meta { display: flex; flex-direction: column; gap: .5rem; }
.car__meta .row { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.car__meta .row .k { color: var(--ink-soft); }
.car__meta .row .v { font-family: var(--font-mono); font-weight: 600; }
.car__meta .row .v[data-until] { color: var(--beacon-deep); }
.car__foot { margin-top: auto; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); }
.car__foot .btn { width: 100%; justify-content: center; }
.car__note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: .6rem; }

.kioskbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 2.2rem; }
.kioskbar .live { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); }
.kioskbar .live .d { width: 8px; height: 8px; border-radius: 50%; background: #37b24d; box-shadow: 0 0 0 4px color-mix(in oklab, #37b24d 22%, transparent); animation: livep 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .kioskbar .live .d { animation: none; } }
@keyframes livep { 50% { opacity: .45; } }
.kioskbar b { font-family: var(--font-mono); color: var(--ink); }

/* Modal for sign-out */
dialog.sheet { border: none; border-radius: 16px 16px 0 0; padding: 0; max-width: 560px; width: 100%; margin: auto auto 0; background: var(--bg); color: var(--ink); box-shadow: 0 -20px 60px -20px rgba(15,25,40,.5); }
@media (min-width: 640px) { dialog.sheet { border-radius: 16px; margin: auto; } }
dialog.sheet::backdrop { background: rgba(10,16,24,.55); backdrop-filter: blur(3px); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.sheet__head h3 { font-family: var(--font-display); font-size: 1.25rem; }
.sheet__close { background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; color: var(--ink); font-size: 1.2rem; }
.sheet__body { padding: 1.5rem; }

/* ==========================================================================
   Interior page hero (History / Cars sub-pages)
   ========================================================================== */
.subhero { position: relative; color: var(--on-night); background: var(--night); overflow: clip; isolation: isolate; }
.subhero__media { position: absolute; inset: 0; z-index: -2; }
.subhero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.subhero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in oklab, var(--night) 78%, transparent), var(--night)); }
.subhero__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(7rem, 15vh, 10rem) var(--pad-x) clamp(2.5rem, 6vh, 4rem); }
.subhero__crumb { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--taxi); margin-bottom: 1rem; }
.subhero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 3.5vw, 4.2rem); letter-spacing: -.03em; max-width: 18ch; }
.subhero p { margin-top: 1.1rem; max-width: 56ch; color: var(--on-night-soft); font-size: 1.12rem; }

/* ==========================================================================
   History timeline
   ========================================================================== */
.timeline { position: relative; max-width: 820px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--beacon), var(--line)); }
.tl { position: relative; padding: 0 0 2.4rem 3.2rem; }
.tl::before { content: ""; position: absolute; left: 5px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--beacon); }
.tl__year { font-family: var(--font-mono); font-weight: 700; font-size: .82rem; letter-spacing: .06em; color: var(--taxi-ink); }
.tl h3 { font-family: var(--font-display); font-size: 1.25rem; margin-top: .3rem; }
.tl p { margin-top: .5rem; color: var(--ink-soft); }
.tl:last-child { padding-bottom: 0; }

.prose { max-width: 68ch; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); letter-spacing: -.02em; margin-top: 2.6rem; }
.prose p { margin-top: 1.1rem; font-size: 1.08rem; line-height: 1.7; color: var(--ink); }
.prose p.lede { font-size: 1.25rem; color: var(--ink); }

/* Board / people grid */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.person { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; background: var(--surface); }
.person .nm { font-weight: 700; font-family: var(--font-display); }
.person .rl { font-size: .88rem; color: var(--ink-soft); margin-top: .2rem; }

/* Utility */
.center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }

.person .tm { font-family: var(--font-mono); font-size: .72rem; color: var(--taxi-ink); margin-top: .45rem; letter-spacing: .01em; }
.person .tm a { color: inherit; text-decoration: none; }
.person .tm a:hover { text-decoration: underline; }

/* ==========================================================================
   #field — EFB dashboard (background image + translucent panels)
   ========================================================================== */
.efb { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.4rem); align-items: stretch; }
.efb > .wxpanel { grid-column: 1 / -1; }
@media (max-width: 860px) { .efb { grid-template-columns: 1fr; } }

.panel {
  background: color-mix(in oklab, var(--night-2) 88%, transparent);
  border: 1px solid var(--night-line); border-radius: var(--radius);
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
  backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
  display: flex; flex-direction: column;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.panel__head h3 { font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; }
.panel__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: var(--on-night-soft);
  border: 1px solid var(--night-line); padding: .3rem .62rem; border-radius: 999px; white-space: nowrap; }

.panel .spec { border-top: none; }
.panel .spec .spec__row:first-child { padding-top: 0; }
.panel .spec .spec__row:last-child { border-bottom: none; padding-bottom: 0; }

.approaches { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-bottom: 1.3rem; }
.approach {
  display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--on-night);
  padding: .85rem 1rem; border-radius: 11px; border: 1px solid var(--night-line);
  background: color-mix(in oklab, var(--night-3) 55%, transparent);
  transition: transform .25s var(--ease-out), border-color .2s, background .2s;
}
.approach:hover { transform: translateX(3px); border-color: var(--taxi); background: color-mix(in oklab, var(--taxi) 12%, var(--night-3)); }
.approach__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
  background: color-mix(in oklab, var(--taxi) 16%, transparent); color: var(--taxi); }
.approach__ico svg { width: 19px; height: 19px; }
.approach__txt { display: flex; flex-direction: column; min-width: 0; }
.approach__txt b { font-weight: 600; font-size: .98rem; }
.approach__txt small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; color: var(--on-night-soft); margin-top: 1px; }
.approach__go { margin-left: auto; width: 17px; height: 17px; color: var(--on-night-soft); flex: none; transition: color .2s; }
.approach:hover .approach__go { color: var(--taxi); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chip { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; text-decoration: none;
  color: var(--on-night-soft); padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--night-line);
  background: color-mix(in oklab, var(--night-3) 45%, transparent); transition: color .2s, border-color .2s, background .2s; }
.chip:hover { color: var(--on-night); border-color: var(--taxi); background: color-mix(in oklab, var(--taxi) 10%, transparent); }

.panel__note { margin-top: auto; font-family: var(--font-mono); font-size: .72rem; line-height: 1.55; color: var(--on-night-soft); }

/* ==========================================================================
   Small-screen header refinements (brand fits one line each)
   ========================================================================== */
@media (max-width: 560px) {
  .nav { padding-inline: 1rem; gap: .5rem; }
  .brand { gap: .55rem; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: .85rem; white-space: nowrap; }
  .brand__sub { font-size: .55rem; letter-spacing: .05em; white-space: nowrap; margin-top: 2px; }
  .nav__right { gap: .45rem; }

  /* Field-data spec: stack label over value so long values (e.g. Asphalt · MIRL · PAPI · REIL) get a full line */
  .spec__row { grid-template-columns: 1fr; gap: .28rem; padding: .8rem 0; align-items: start; }
  .spec__k { font-size: .78rem; letter-spacing: .01em; }
  .spec__v { text-align: left; font-size: .92rem; }

  /* Weather panel header wraps: station name drops below the category */
  .wxpanel__head { flex-wrap: wrap; gap: .5rem 1rem; }
  .wxpanel__station { margin-left: 0; text-align: left; width: 100%; }
}
@media (max-width: 380px) {
  .brand__name { font-size: .8rem; }
  .brand__sub { font-size: .52rem; }
}
