@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-35e4cf28.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-e7c41142.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic-1dea96c7.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #1a3731;
  --quiet: #53615b;
  --line: #d6d9cc;
  --rule: #8a9a88;
  --leaf: #245648;
  --paper: #f8f7f1;
  --white: #fffefa;
  --gold: #e7b85c;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 400 2rem/1.05 var(--serif); }
a { color: inherit; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid #996517; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - clamp(48px, 10vw, 160px))); margin-inline: auto; }
.skip-link { position: absolute; z-index: 12; top: -100px; background: white; padding: 10px; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* The masthead and landscape caption share the narrow measure of a local paper. */
.masthead { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 73px; }
.identity, .foot-identity { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-symbol { display: block; width: 43px; height: 43px; flex-shrink: 0; }
.wordmark { font: 400 1.86rem/.88 var(--serif); letter-spacing: -.035em; }
.wordmark span { display: block; font: 700 .63rem/1.1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 6px 0 0 2px; }
.main-nav { align-self: stretch; display: flex; gap: 27px; align-items: stretch; }
.main-nav a { display: flex; align-items: center; position: relative; color: #52615a; text-decoration: none; font-size: .9rem; font-weight: 550; }
.main-nav a.selected { color: var(--ink); font-weight: 700; }
.main-nav a.selected::after { content: ""; position: absolute; inset: auto 0 16px; height: 2px; background: #b48a3a; }
.main-nav a:hover, .source-link:hover { color: var(--leaf); }
.source-link, .text-link, .guide-link { display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; }
.source-link { border: 1px solid #a9b4aa; padding: 7px 12px; font-size: .84rem; border-radius: 4px; white-space: nowrap; }
.source-link:hover { border-color: var(--leaf); background: #ebefe5; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-items: center; gap: clamp(26px,5vw,86px); padding-block: clamp(23px,2.4vw,38px) clamp(19px,2vw,31px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #4c6152; font: 700 .73rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .14em; }
.hero-loc::before { content: ""; width: 26px; height: 2px; background: #ae7f2d; }
.hero h1 { margin: 13px 0 14px; font-size: clamp(3.35rem, 6.1vw, 6.2rem); line-height: .94; letter-spacing: -.036em; }
.hero h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--leaf); }
.hero p { max-width: 440px; color: #40554a; font-size: clamp(.97rem,1.25vw,1.1rem); line-height: 1.55; }
.hero-landscape { min-width: 0; }
.hero-landscape img { width: 100%; height: clamp(155px,15vw,229px); display: block; object-fit: cover; object-position: 50% 55%; border-radius: 3px; }
.hero-landscape figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; color: #55645a; font-size: .75rem; line-height: 1.4; }
.hero-landscape figcaption span { display: inline-flex; align-items: center; gap: 4px; }
.hero-landscape figcaption a { text-underline-offset: 2px; text-decoration-color: #a1aa99; }
#station-readings { display: block; }
.dashboard { padding-bottom: 54px; }
.station-section { margin-top: clamp(22px,2.3vw,34px); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.section-head h2 { font-size: clamp(2.22rem,3vw,2.95rem); letter-spacing: -.032em; }
.station-stamp, .chart-foot, .data-note { font-size: .81rem; color: var(--quiet); }
.station-stamp, .chart-foot span { display: inline-flex; gap: 6px; align-items: center; }

/* A single ruled row makes the three observations read as a set. */
.reading-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 19px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.metric { min-width: 0; padding-inline: clamp(18px,2.6vw,38px); }
.metric:first-child { padding-left: 0; }
.metric + .metric { border-left: 1px solid #c9cfbf; }
.metric-label { display: flex; align-items: center; gap: 7px; font-size: .91rem; font-weight: 650; color: #395b50; }
.metric-label svg { flex-shrink: 0; color: #5a7763; }
.peak .metric-label svg { color: #90702b; }
.metric-value { display: flex; align-items: baseline; gap: 9px; margin: 5px 0 7px; font: 400 clamp(3.35rem,4.6vw,4.85rem)/.96 var(--serif); letter-spacing: -.038em; font-variant-numeric: lining-nums tabular-nums; }
.metric-value small { font: 500 .98rem var(--sans); color: #5d6b61; letter-spacing: 0; }
.metric p { color: var(--quiet); font-size: .83rem; line-height: 1.4; }
.analysis-row { display: grid; grid-template-columns: minmax(0,2.35fr) minmax(255px,1fr); gap: clamp(14px,1.65vw,25px); margin-top: 24px; align-items: stretch; }
.chart-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 5px; min-width: 0; padding: clamp(18px,2vw,28px); }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chart-head h2, .guide h2 { font-size: clamp(1.9rem,2.65vw,2.5rem); letter-spacing: -.025em; }
.chart-head p, .guide p { color: var(--quiet); font-size: .92rem; line-height: 1.55; }
.chart-head p { margin-top: 5px; }
.middot { padding-inline: 3px; }
.range-switch { display: inline-flex; gap: 1px; border: 1px solid #d0d6c9; padding: 3px; border-radius: 5px; background: #f2f3eb; white-space: nowrap; }
.range-switch a { text-decoration: none; text-align: center; padding: 5px 10px; border-radius: 3px; font: 650 .78rem/1.3 var(--sans); color: #42594b; }
.range-switch a:hover { background: #e2e8dc; }
.range-switch a.on { background: #244e41; color: white; }
.plot-description { margin: 22px 0 15px; display: flex; align-items: center; gap: 6px; font-size: .8rem; color: #43564a; font-weight: 550; }
.line-key { width: 23px; height: 3px; background: #396b56; }
.muted { color: #657067; font-weight: 400; }
.chart-box { --axis: 38px; position: relative; }
.axis-space { height: 186px; position: relative; margin-left: var(--axis); }
.grid-line { left: 0; right: 0; position: absolute; border-top: 1px dashed #d5ddce; }
.grid-line span { position: absolute; left: calc(-1 * var(--axis)); width: calc(var(--axis) - 7px); transform: translateY(-50%); font-size: .76rem; color: #5e6e61; }
.plot { position: absolute; inset: 0; touch-action: pan-y; cursor: crosshair; }
.plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-x { display: flex; justify-content: space-between; margin: 7px 0 0 var(--axis); font-size: .76rem; color: #5e6e61; }
.crosshair { position: absolute; pointer-events: none; top: 0; bottom: 0; border-left: 1px dashed #56755f; }
.plot-tip { position: absolute; top: 0; z-index: 1; color: white; background: #234638; padding: 6px 9px; border-radius: 4px; font-size: .77rem; white-space: nowrap; pointer-events: none; }
.chart-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 17px; padding-top: 12px; border-top: 1px solid #dce1d5; }
.empty-chart { padding: 65px 10px; color: var(--quiet); }
.guide { background: #f0eddf; border: 1px solid #d9d3bd; border-top: 3px solid #bb914a; border-radius: 4px; padding: 20px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.guide-icon { display: flex; color: #716435; margin-bottom: 10px; }
.guide p { margin-top: 9px; color: #485949; }
.standards { width: 100%; margin-top: 17px; padding: 12px 0; border-block: 1px solid #cfcdb7; }
.standards h3, .about-side h3 { font-size: .9rem; font-weight: 650; margin-bottom: 6px; }
.standards div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: .88rem; line-height: 1.85; }
.standards strong { font-weight: 700; color: #2a4b38; font-variant-numeric: tabular-nums; }
.standards small { font-size: .77rem; font-weight: 500; }
.guide-link, .text-link { color: #315b46; text-underline-offset: 4px; font-size: .87rem; }
.guide-link { margin-top: auto; padding-top: 13px; }
.guide-link:hover, .text-link:hover { text-decoration: underline; }
.recent-section { margin-top: 35px; }
.recent-table { border-block: 1px solid #869984; overflow-x: auto; }
.recent-table table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: .92rem; }
.recent-table td, .recent-table th { padding: 11px 15px; font-weight: 400; }
.recent-table :is(td,th):first-child { padding-left: 10px; }
.recent-table thead th { font-weight: 650; color: #506252; background: #eaeedf; font-size: .82rem; }
.recent-table tbody tr + tr { border-top: 1px solid #d9dece; }
.recent-table tbody tr:hover { background: #f0f2e9; }
.recent-table a { font-weight: 650; text-decoration: underline; text-decoration-color: #a4b49f; text-underline-offset: 3px; }
.recent-table td span { color: #5c685d; font-size: .8rem; }
.data-note { margin-top: 10px; }
.footer { border-top: 1px solid var(--rule); background: #ecefe4; color: #42574b; padding: 22px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .83rem; }
.foot-identity { color: #274739; font: 400 1.35rem var(--serif); }
.foot-identity .brand-symbol { width: 31px; height: 31px; }
.footer a { text-underline-offset: 3px; }
.about-page { padding: 42px 0 54px; }
.about-intro h1 { font-size: clamp(3.3rem,5.8vw,5.6rem); margin: 11px 0 9px; letter-spacing: -.035em; }
.about-intro p { color: var(--quiet); font-size: 1.1rem; }
.about-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(240px,.85fr); gap: clamp(24px,5vw,70px); margin-top: 31px; padding-top: 26px; border-top: 2px solid var(--ink); align-items: start; }
.about-copy section { padding: 0 0 23px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.about-copy h2, .about-side h2 { font-size: 2.35rem; margin-bottom: 10px; letter-spacing: -.025em; }
.about-copy p { line-height: 1.7; margin-top: 10px; max-width: 75ch; }
.about-copy a, .about-side a { color: #2c5946; text-decoration: underline; text-underline-offset: 3px; }
.about-side { border-top: 3px solid #bd944e; background: #f0eddf; border-radius: 4px; padding: 23px; }
.about-side h2 { font-size: 1.9rem; margin-top: 10px; }
.about-side > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .93rem; margin: 14px 0; }
.about-side h3 { border-top: 1px solid #cfcdb7; padding-top: 16px; margin-top: 18px; }
.about-side p { font-size: .88rem; margin: 8px 0; color: #49584a; }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .main-nav { gap: 20px; }
  .hero { gap: 30px; }
  .hero h1 em { display: block; }
  .analysis-row { grid-template-columns: minmax(0,1.95fr) minmax(220px,.95fr); gap: 14px; }
  .chart-head { flex-wrap: wrap; }
  .guide { padding: 18px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .nav-shell { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 10px; }
  .brand-symbol { width: 36px; height: 36px; }
  .wordmark { font-size: 1.55rem; }
  .wordmark span { font-size: .57rem; margin-top: 4px; }
  .source-link { margin-left: auto; font-size: .77rem; padding: 6px 9px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 23px; margin-top: 7px; }
  .main-nav a { padding-block: 5px 9px; font-size: .83rem; }
  .main-nav a.selected::after { bottom: 0; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-block: 23px 19px; }
  .hero-loc { font-size: .67rem; }
  .hero h1 { margin: 9px 0; font-size: clamp(2.9rem,8.3vw,3.8rem); }
  .hero h1 em { display: inline; }
  .hero p { max-width: 55ch; font-size: .94rem; }
  .hero-landscape img { height: clamp(105px,23vw,150px); }
  .hero-landscape figcaption { font-size: .68rem; }
  .section-head { align-items: flex-start; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
  .section-head h2 { font-size: 2rem; }
  .station-stamp { align-self: center; font-size: .75rem; }
  .reading-grid { padding-block: 14px; }
  .metric { padding-inline: clamp(6px,1.7vw,12px); }
  .metric-label { font-size: .76rem; line-height: 1.3; gap: 4px; }
  .metric-label svg { display: none; }
  .metric-value { font-size: clamp(2.35rem,7.3vw,3.4rem); gap: 4px; margin: 8px 0 6px; }
  .metric-value small { font-size: .72rem; }
  .metric p { font-size: .74rem; }
  .analysis-row { grid-template-columns: 1fr; margin-top: 17px; }
  .chart-card { padding: 17px 14px; }
  .guide { padding: 17px 20px; }
  .guide-icon { margin-bottom: 6px; }
  .standards { margin-top: 11px; }
  .recent-section { margin-top: 24px; }
  .recent-table td, .recent-table th { padding: 10px; }
  .footer .wrap { flex-wrap: wrap; justify-content: flex-start; gap: 6px 20px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-page { padding-top: 28px; }
}
@media (max-width: 455px) {
  .station-stamp { flex-basis: 100%; }
  .metric-label { min-height: 2em; align-items: flex-start; }
  .metric p { line-height: 1.45; }
  .chart-head { gap: 10px; }
  .chart-head > div:first-child { flex-basis: 100%; }
  .range-switch a { padding: 5px 12px; }
  .axis-space { height: 150px; }
  .chart-foot { flex-wrap: wrap; }
  .chart-x { font-size: .7rem; }
  .text-link { font-size: .81rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
