:root {
  --navy-950: #211915;
  --navy-900: #30231d;
  --navy-800: #493126;
  --sky-500: #ff6a00;
  --sky-100: #fff0e4;
  --orange: #ff6a00;
  --orange-dark: #d95100;
  --orange-soft: #fff0e4;
  --orange-pale: #fff8f2;
  --charcoal: #2c211b;
  --ink: #2c211b;
  --ink-soft: #4f4038;
  --muted: #75675e;
  --bg: #f5efe9;
  --surface: #ffffff;
  --surface-soft: #fbf6f2;
  --line: #e5d8cf;
  --line-strong: #d3c0b3;
  --shadow-sm: 0 1px 2px rgba(44, 33, 27, 0.05), 0 8px 22px rgba(44, 33, 27, 0.035);
  --shadow-md: 0 12px 32px rgba(44, 33, 27, 0.08);
  --shadow-lg: 0 28px 70px rgba(44, 33, 27, 0.14);
  --radius-sm: 13px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 106, 0, 0.15), transparent 27rem),
    radial-gradient(circle at 88% 5%, rgba(217, 81, 0, 0.10), transparent 24rem),
    linear-gradient(180deg, #f8ede5 0, #fbf8f5 36rem, #f3ece7 100%);
}

main {
  width: min(100%, 1420px);
  max-width: 1420px;
  padding: 28px 22px 48px;
}

.site-shell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-top: 0;
  border-radius: var(--radius-lg);
  background: rgba(251, 247, 243, 0.97);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange) 48%, #ffad70);
  pointer-events: none;
}

.topbar {
  position: relative;
  isolation: isolate;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 12% 22%, rgba(44, 18, 8, 0.24), transparent 22rem),
    radial-gradient(circle at 86% -50%, rgba(255, 227, 204, 0.34), transparent 26rem),
    linear-gradient(118deg, #7f2a00 0%, #a93800 42%, #ed5f00 70%, #ff8733 100%);
  overflow: hidden;
}

.topbar::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}

.brand-lockup,
.brand {
  position: relative;
  z-index: 1;
  color: #fff8f1;
}

.site-logo,
.brand img {
  flex: 0 0 auto;
  aspect-ratio: 1;
  padding: 3px;
  border: 2px solid rgba(255, 201, 150, 0.92);
  border-radius: 23px;
  background: #fff0e3;
  box-shadow:
    0 0 0 1px rgba(255, 247, 237, 0.58),
    0 12px 26px rgba(61, 20, 3, 0.34);
  object-fit: cover;
  object-position: center;
  filter: sepia(0.12) saturate(1.08) contrast(1.03) brightness(0.98);
}

.site-logo {
  width: 104px;
  height: 104px;
}

.brand img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

.brand-text h1,
.brand-text h1 small,
.brand-text .site-title,
.brand-text .site-title small,
.brand-name {
  color: #fff8f1;
  text-shadow: 0 2px 12px rgba(52, 16, 2, 0.3);
}

.brand-text .site-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.brand-text .site-title small {
  font-size: 0.72em;
  letter-spacing: -0.035em;
}

.brand-name small {
  margin-left: 0.04em;
  color: inherit;
  font-size: 0.72em;
}

.brand-text h1 span,
.brand-text .site-title span,
.brand-name span {
  display: inline-block;
  margin-left: 0.035em;
  padding: 0.055em 0.2em 0.095em;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.28em;
  color: #2c160c;
  background: linear-gradient(180deg, #fff7ed, #ffc996);
  box-shadow: 0 5px 14px rgba(65, 21, 3, 0.22);
  line-height: 0.9;
  text-shadow: none;
}

.brand-subtitle {
  color: #fff2e8;
}

.brand-meta {
  color: #ffe0cc;
}

nav {
  gap: 6px;
}

.topbar nav {
  padding: 5px;
  border: 1px solid rgba(255, 240, 228, 0.24);
  border-radius: 999px;
  background: rgba(54, 20, 7, 0.7);
  box-shadow: 0 8px 20px rgba(63, 21, 4, 0.18);
  backdrop-filter: blur(10px);
}

nav a {
  padding: 9px 13px;
  color: #fff4eb;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

nav a:hover,
nav a:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

nav a:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #1f6feb;
  outline-offset: 3px;
}

nav a.active,
nav a.nav-active {
  color: #8e3000;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.content {
  padding: 26px 28px 30px;
}

.panel {
  min-width: 0;
  border-color: rgba(211, 192, 179, 0.78);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.panel-header {
  padding: 17px 19px;
  background: linear-gradient(180deg, #ffffff, #fff8f3);
}

.panel-header h2,
.panel-header h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.panel-header .meta {
  color: var(--muted);
}

.live-hero,
.page-hero,
.intro-copy {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 106, 0, 0.38), transparent 18rem),
    radial-gradient(circle at 8% 110%, rgba(255, 255, 255, 0.09), transparent 20rem),
    linear-gradient(128deg, #251e1a, #35271f 62%, #4b2a19);
  box-shadow: 0 18px 42px rgba(14, 32, 49, 0.16);
}

.live-hero::after,
.page-hero::after,
.intro-copy::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -105px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(255, 255, 255, 0.035),
    0 0 0 86px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.live-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  align-items: stretch;
  gap: 22px;
  margin: 0 0 16px;
  padding: 27px 29px;
}

.live-hero-copy,
.live-hero-readout {
  position: relative;
  z-index: 1;
}

.live-hero .eyebrow,
.page-hero .eyebrow {
  margin-bottom: 8px;
  color: #ffb47d;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.live-hero h1,
.live-hero h2,
.page-hero h1,
.page-hero h2,
.intro-copy h1,
.intro-copy h2 {
  max-width: 800px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.live-hero p,
.page-hero p,
.intro-copy p {
  max-width: 800px;
  margin: 11px 0 0;
  color: #f4d9c9;
  font-size: 0.96rem;
  line-height: 1.58;
}

.live-hero-readout {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(52, 22, 8, 0.30);
  backdrop-filter: blur(8px);
}

.hero-readout-label {
  color: #f0c6ad;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-readout-value {
  margin-top: 4px;
  color: #ffffff;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.07em;
}

.hero-readout-detail {
  margin-top: 10px;
  color: #f6dfd2;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.4;
}

.status {
  margin-bottom: 16px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 106, 0, 0.20);
  border-left: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.status span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.14);
  vertical-align: 0.05em;
}

.status.is-delayed {
  border-color: rgba(180, 83, 9, 0.30);
  background: #fff7ed;
}

.status.is-delayed span::before {
  background: #b45309;
  box-shadow: 0 0 0 5px rgba(180, 83, 9, 0.14);
}

.status.is-stale,
.status.is-unavailable {
  border-color: rgba(185, 28, 28, 0.28);
  background: #fff1f2;
}

.status.is-stale span::before,
.status.is-unavailable span::before {
  background: #b91c1c;
  box-shadow: 0 0 0 5px rgba(185, 28, 28, 0.13);
}

.capability-panel {
  margin-bottom: 16px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 15px;
}

.capability-link {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 106, 0, 0.11), transparent 8rem),
    linear-gradient(145deg, #ffffff, #fcf8f5);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.capability-link:hover,
.capability-link:focus-visible {
  border-color: rgba(255, 106, 0, 0.48);
  box-shadow: 0 10px 24px rgba(79, 32, 8, 0.10);
  transform: translateY(-2px);
}

.capability-link strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.92rem;
  line-height: 1.25;
}

.capability-link span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.layout-primary {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.65fr);
  gap: 16px;
}

.layout-primary,
.layout-secondary,
.feeds-grid,
.feed-tile {
  min-width: 0;
}

.station-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 15px;
}

.metric-card {
  position: relative;
  min-height: 104px;
  padding: 14px;
  border-color: #eadfd7;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #fcf9f6);
  box-shadow: none;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.18), rgba(217, 81, 0, 0.58));
}

.metric-card:nth-child(-n + 4) {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 106, 0, 0.14), transparent 8rem),
    linear-gradient(145deg, #ffffff, var(--orange-pale));
}

.metric-card:nth-child(-n + 4) .metric-value {
  font-size: clamp(1.55rem, 2.25vw, 2rem);
}

.metric-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.metric-value {
  color: var(--charcoal);
  font-weight: 800;
}

.metric-info-button {
  min-width: 44px;
  min-height: 44px;
  border-color: rgba(255, 106, 0, 0.24);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.metric-info-button:hover,
.metric-info-button:focus,
.metric-info-button[aria-expanded="true"] {
  border-color: var(--orange);
  background: var(--orange);
}

.layout-primary > .panel:last-child .feeds-grid {
  grid-template-columns: 1fr;
}

.feed-tile,
.trend-card,
.forecast-tile,
.metar-card {
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: none;
}

.feed-tile img {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #f0e7e0;
}

.feed-error {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(185, 28, 28, 0.24);
  border-radius: 10px;
  color: #7f1d1d;
  background: #fff1f2;
  font-size: 0.82rem;
  font-weight: 750;
}

.trends-panel,
.point-forecast-panel,
.feedback-card {
  margin-top: 16px;
}

.trend-card {
  padding: 15px;
}

.trend-range {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.trend-range.active,
.trend-range:hover,
.trend-range:focus {
  border-color: rgba(255, 106, 0, 0.38);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.point-forecast-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.forecast-tile {
  min-height: 190px;
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(255, 240, 228, 0.56), transparent 45%),
    #ffffff;
}

.forecast-temp {
  color: var(--charcoal);
}

.layout-secondary {
  gap: 16px;
  margin-top: 16px;
}

.archive-callout {
  border-radius: 18px;
  background: linear-gradient(135deg, #2c211b, #6f2f0e);
  color: #ffffff;
}

.archive-callout h2,
.archive-callout p,
.archive-callout-copy h2,
.archive-callout-copy p {
  color: inherit;
}

footer {
  color: #806e63;
}

.boundary-watch {
  --boundary-accent: #ffd1b3;
  --boundary-accent-soft: rgba(255, 209, 179, 0.20);
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% -20%, var(--boundary-accent-soft), transparent 24rem),
    linear-gradient(118deg, #682300, #a23a00 58%, #df5700);
  box-shadow: 0 13px 34px rgba(76, 27, 2, 0.20);
  overflow: hidden;
}

.boundary-watch::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--boundary-accent);
}

.boundary-state-outflow_boundary {
  --boundary-accent: #ffd1b3;
  --boundary-accent-soft: rgba(255, 209, 179, 0.24);
}

.boundary-state-cold_front {
  --boundary-accent: #ffb27d;
  --boundary-accent-soft: rgba(255, 178, 125, 0.25);
}

.boundary-state-warm_front {
  --boundary-accent: #f05e69;
  --boundary-accent-soft: rgba(240, 94, 105, 0.24);
}

.boundary-state-dryline {
  --boundary-accent: #e8a832;
  --boundary-accent-soft: rgba(232, 168, 50, 0.24);
}

.boundary-state-ambiguous_boundary {
  --boundary-accent: #e1bea8;
  --boundary-accent-soft: rgba(225, 190, 168, 0.24);
}

.boundary-state-no_clear_boundary {
  --boundary-accent: #ffd1b3;
  --boundary-accent-soft: rgba(255, 209, 179, 0.20);
}

.boundary-state-insufficient_data,
.boundary-state-loading {
  --boundary-accent: #d7b7a4;
  --boundary-accent-soft: rgba(215, 183, 164, 0.18);
}

.boundary-state-no_clear_boundary,
.boundary-state-insufficient_data {
  grid-template-columns: minmax(0, 1fr);
}

.boundary-state-no_clear_boundary .boundary-visual,
.boundary-state-insufficient_data .boundary-visual {
  display: none;
}

.boundary-state-no_clear_boundary .boundary-main,
.boundary-state-insufficient_data .boundary-main {
  padding-block: 14px;
}

.trend-data {
  margin: 0 14px 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.trend-data summary {
  cursor: pointer;
  color: var(--orange-dark);
  font-weight: 850;
}

.boundary-visual {
  position: relative;
  min-height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(73, 24, 2, 0.22);
  overflow: hidden;
}

.boundary-line {
  position: absolute;
  left: 22px;
  width: 72px;
  height: 72px;
  border: 2px solid var(--boundary-accent);
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.78;
  transform: rotate(-18deg);
}

.boundary-line-one {
  top: 28px;
}

.boundary-line-two {
  top: 66px;
  left: 35px;
  width: 46px;
  height: 46px;
  opacity: 0.38;
}

.boundary-dot {
  position: absolute;
  top: 78px;
  left: 49px;
  width: 14px;
  height: 14px;
  border: 3px solid #5a1e05;
  border-radius: 50%;
  background: var(--boundary-accent);
  box-shadow:
    0 0 0 7px var(--boundary-accent-soft),
    0 0 24px var(--boundary-accent);
}

.boundary-main {
  min-width: 0;
  padding: 20px 22px 18px;
}

.boundary-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.boundary-eyebrow {
  margin-bottom: 5px;
  color: var(--boundary-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.boundary-heading-row h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.boundary-confidence {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--boundary-accent) 56%, transparent);
  border-radius: 999px;
  color: #ffffff;
  background: var(--boundary-accent-soft);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.boundary-summary {
  max-width: 900px;
  margin: 10px 0 0;
  color: #ffe9dc;
  font-size: 0.92rem;
  line-height: 1.52;
}

.boundary-evidence {
  display: grid;
  grid-template-columns: repeat(6, minmax(105px, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.boundary-evidence[hidden] {
  display: none;
}

.boundary-evidence-card {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
}

.boundary-evidence-label {
  color: #ffd7be;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boundary-evidence-value {
  margin-top: 4px;
  color: #ffffff;
  font-size: 0.89rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.boundary-evidence-detail {
  margin-top: 3px;
  color: #f3cdb6;
  font-size: 0.7rem;
  line-height: 1.3;
}

.boundary-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  color: #f1c5ab;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .boundary-evidence {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 1100px) {
  .station-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  main {
    padding: 18px 14px 36px;
  }

  .layout-primary,
  .layout-secondary {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-hero {
    grid-template-columns: 1fr;
  }

  .live-hero-readout {
    min-height: 0;
  }

  .boundary-watch {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .boundary-line-one {
    left: 10px;
  }

  .boundary-line-two {
    left: 23px;
  }

  .boundary-dot {
    left: 37px;
  }

  .point-forecast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  main {
    padding: 0;
  }

  .site-shell {
    width: 100%;
    min-width: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .topbar {
    gap: 18px;
    padding: 22px 18px 19px;
  }

  .brand-lockup {
    gap: 14px;
  }

  .site-logo {
    width: 78px;
    height: 78px;
    border-radius: 19px;
  }

  .brand img {
    width: 70px;
    height: 70px;
    border-radius: 17px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    overflow: visible;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    display: inline-flex;
    min-height: 44px;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    font-size: 0.84rem;
  }

  .content {
    width: 100%;
    min-width: 0;
    padding: 15px 13px 24px;
  }

  .layout-primary,
  .layout-secondary,
  .layout-primary > .panel,
  .layout-secondary > .panel {
    width: 100%;
    min-width: 0;
  }

  .live-hero,
  .page-hero,
  .intro-copy {
    padding: 22px 19px;
    border-radius: 18px;
  }

  .live-hero h1,
  .live-hero h2,
  .page-hero h1,
  .page-hero h2,
  .intro-copy h1,
  .intro-copy h2 {
    font-size: 1.55rem;
  }

  .boundary-watch {
    grid-template-columns: 1fr;
  }

  .boundary-visual {
    display: none;
  }

  .boundary-main {
    padding: 18px 17px 16px;
  }

  .boundary-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .boundary-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boundary-meta {
    flex-direction: column;
    gap: 4px;
  }

  .station-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card {
    min-height: 98px;
  }

  .point-forecast-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .station-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .metric-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 72px;
    padding: 11px 13px;
  }

  .metric-label {
    min-width: 0;
    font-size: 0.78rem;
  }

  .metric-value,
  .metric-card:nth-child(-n + 4) .metric-value {
    max-width: 48vw;
    margin-top: 0;
    font-size: 1.38rem;
    text-align: right;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .brand-text h1,
  .brand-text .site-title {
    font-size: 1.62rem;
  }

  .brand-subtitle {
    font-size: 0.85rem;
  }

  .brand-meta {
    display: none;
  }

  .station-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .metric-card {
    min-height: 70px;
  }

  .metric-value,
  .metric-card:nth-child(-n + 4) .metric-value {
    font-size: 1.38rem;
  }
}
