/* 605 Lab Time Observatory: feature-owned Review 3 styles. */
:root {
  --ink:#151715; --paper:#f6f5f1; --green:#5b6f3a; --line:#d9d9d2;
  --muted:#62655d; --pale:#ebede5; --white:#fff; --max:1240px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { margin:0; background:var(--paper); color:var(--ink); font:1rem/1.65 Arial,Helvetica,sans-serif; -webkit-text-size-adjust:100%; }
[hidden] { display:none!important; }
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
button,a,input,summary,select { -webkit-tap-highlight-color:transparent; }
button,summary { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.5; }
:is(button,a,input,summary,select):focus-visible { outline:3px solid #819b53; outline-offset:4px; }
h1,h2,h3,h4,p { margin:0; }
h1,h2,h3 { text-wrap:balance; }
h2 { font-size:clamp(1.8rem,3.2vw,2.5rem); line-height:1.18; letter-spacing:-.04em; }
h3 { font-size:1.3rem; line-height:1.3; letter-spacing:-.025em; }
p + p { margin-top:1em; }
.wrap { width:100%; max-width:var(--max); margin-inline:auto; padding-inline:32px; }
.skip { position:fixed; top:-100px; left:20px; z-index:100; padding:12px; background:var(--ink); color:white; }
.skip:focus { top:12px; }
.hero > *, .status-layout > *, .method-grid > *, .two-column > *, .project-context > *, .archive-band > * { min-width:0; }

/* Navigation and opening context. */
.site-header { position:sticky; top:0; z-index:20; border-bottom:1px solid var(--line); background:rgba(246,245,241,.98); }
.site-nav { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.logo { width:207px; max-width:100%; height:auto; display:block; }
.site-nav nav { display:flex; align-items:center; gap:24px; font-size:.875rem; }
.site-nav nav a { display:block; padding:10px 0; border-bottom:2px solid transparent; white-space:nowrap; line-height:1.5; }
.site-nav nav a[aria-current="page"] { border-bottom-color:var(--green); color:var(--ink); }
.site-nav nav a:hover { color:var(--green); }
.menu-toggle { display:none; }
.hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(340px,1fr); gap:70px; padding-block:64px 54px; align-items:start; }
.eyebrow { color:var(--green); font-size:.75rem; font-weight:700; letter-spacing:.15em; line-height:1.6; text-transform:uppercase; margin-bottom:16px; }
.hero h1 { font-size:clamp(3.5rem,7.1vw,5.75rem); line-height:1.03; letter-spacing:-.06em; text-wrap:initial; margin-bottom:28px; }
.hero h1 span { color:var(--green); }
.intro { max-width:43ch; font-size:1.125rem; line-height:1.65; color:#4c4e45; text-wrap:pretty; }
.intro-question { max-width:none; color:var(--ink); }
.intro + .intro { margin-top:.65em; }
.hero-tags { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:26px; font-size:.8125rem; color:var(--muted); }
.hero-tags span + span { border-left:1px solid #b5b6ad; padding-left:22px; }
.clock-panel { min-width:0; margin-top:35px; padding:24px 28px 25px; text-align:center; background:#e9ebe3; }
.panel-top { display:flex; justify-content:space-between; align-items:baseline; gap:15px; }
.panel-top .eyebrow { font-size:.6875rem; margin:0; }
.clock-zone { font-size:.8125rem; color:var(--green); }
.clock-face { width:min(100%,250px); margin:15px auto 10px; }
.clock-face svg { display:block; width:100%; overflow:hidden; }
.dial-outer { fill:none; stroke:#b7bda9; stroke-width:.7; }
.dial-inner { fill:none; stroke:#c9cebf; stroke-width:.6; }
.tick { stroke:#8f9780; stroke-width:1; }
.tick.major { stroke:#5b6f3a; stroke-width:2; }
/* The SVG rotate attribute supplies the only dial-centre pivot. */
.hand { stroke-linecap:round; transform-origin:0 0; transform-box:view-box; }
.hour { stroke:#303a25; stroke-width:4; }
.minute { stroke:#303a25; stroke-width:2.5; }
.second { stroke:#758c47; stroke-width:1; }
.pivot { fill:#5b6f3a; }
.dial-label { font-size:8px; letter-spacing:3px; fill:#6f785e; }
.clock-time { font-family:Consolas,'Courier New',monospace; font-size:1.9rem; line-height:1.2; letter-spacing:.06em; font-variant-numeric:tabular-nums; }
.clock-date { font-size:.875rem; color:var(--muted); margin-top:8px; }
.clock-caveat { font-size:.8125rem; color:#626b56; line-height:1.5; margin:14px auto 0; max-width:34ch; }
.project-context { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:70px; padding-block:36px 40px; border-top:1px solid var(--line); }
.project-context h2 { max-width:18ch; font-size:2rem; }
.project-context .eyebrow { margin-bottom:12px; }
.project-context p:not(.eyebrow) { max-width:63ch; color:var(--muted); text-wrap:pretty; }
.study-strip { display:flex; flex-wrap:wrap; align-items:center; gap:14px 28px; border-block:1px solid var(--line); padding-block:20px; }
.study-caption { font-size:.75rem; font-weight:700; letter-spacing:.13em; color:var(--green); }
.study-strip p { flex:1; min-width:240px; margin:0; font-size:.9375rem; }
.pill { display:inline-flex; align-items:center; gap:7px; border:1px solid #b8bfab; background:#e9ede2; color:#42532a; padding:4px 10px; font-size:.8125rem; font-weight:600; line-height:1.5; max-width:100%; }
.pill.stale { background:#f2e9d9; color:#765421; border-color:#d7c09b; }
.pill.error { background:#f6e6df; color:#7c3e29; border-color:#d9b4a4; }
.pill.neutral { background:transparent; color:var(--muted); border-color:var(--line); }

/* Dashboard sections and measurements. */
.observatory { padding-bottom:56px; }
.section-tabs { display:flex; gap:30px; border-bottom:1px solid var(--line); margin-bottom:36px; overflow-x:auto; overscroll-behavior-inline:contain; }
.section-tabs button { padding:24px 0 17px; background:none; border:0; border-bottom:3px solid transparent; color:var(--muted); white-space:nowrap; font-size:.9375rem; line-height:1.5; }
.section-tabs [aria-selected=true] { border-bottom-color:var(--green); color:var(--ink); font-weight:700; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:18px 28px; margin-bottom:25px; }
.section-head > div { min-width:0; }
.section-head .eyebrow { margin-bottom:10px; }
.section-head h2,.section-head h3 { margin:0; }
.section-head > :is(.button,.text-button,.pill) { flex-shrink:0; }
.section-head > .meta-note { max-width:46ch; text-align:right; }
.section-head.compact { margin-top:38px; margin-bottom:20px; }
.section-head.compact h2 { font-size:1.875rem; }
.text-button,.inline-link,.metric-help { border:0; border-bottom:1px solid #a9b39b; padding:2px 0; background:none; color:var(--green); font-size:.875rem; line-height:1.5; }
.text-button:hover,.inline-link:hover,.metric-help:hover { color:var(--ink); border-color:var(--ink); }
.text-button { white-space:nowrap; }
.status-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
.station-card { background:var(--pale); padding:26px; }
.station-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:10px 16px; margin-bottom:14px; }
.station-heading h3 { font-size:1.25rem; }
.station-card > p { max-width:57ch; font-size:.9375rem; color:var(--muted); }
.station-details { margin:22px 0 18px; }
.station-details > div { display:grid; grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr); gap:10px 16px; padding:9px 0; border-top:1px solid #d6dbcc; font-size:.875rem; }
.station-details dt { color:var(--muted); }
.station-details dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.metric-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.metric { display:flex; flex-direction:column; align-items:flex-start; gap:13px; min-width:0; padding:24px 22px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(255,255,255,.35); }
.metric p { font-size:.875rem; line-height:1.5; }
.metric strong { font-size:1.75rem; font-weight:500; letter-spacing:-.035em; line-height:1.25; font-variant-numeric:tabular-nums; }
.metric small { font-size:.8125rem; line-height:1.5; color:var(--muted); max-width:31ch; }
.metric-help { margin-top:auto; text-align:left; }
.meta-note { color:var(--muted); font-size:.8125rem!important; line-height:1.6; }
.context-note { display:flex; align-items:flex-start; gap:18px; padding-block:20px; border-bottom:1px solid var(--line); }
.context-note p { flex:1; font-size:.875rem; color:var(--muted); }
.context-note .text-button { align-self:center; }
.note-mark { width:23px; height:23px; flex-shrink:0; border:1px solid #9eaa8d; border-radius:50%; text-align:center; line-height:21px; font-family:Georgia,serif; font-style:italic; color:var(--green); }
.measurement-guide { margin-top:24px; border-block:1px solid var(--line); }
.measurement-guide + .measurement-guide { border-top:0; margin-top:0; }
.measurement-guide > summary { padding:17px 0; color:var(--green); font-size:1rem; line-height:1.5; }
.guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 48px; padding:12px 0 28px; }
.guide-item { min-width:0; }
.guide-item h3 { font-size:1.1875rem; margin-bottom:12px; text-wrap:pretty; }
.guide-item p { color:var(--muted); font-size:1rem; line-height:1.65; max-width:62ch; text-wrap:pretty; }
.guide-item p + p { margin-top:.85em; }
.guide-intro { max-width:75ch; margin:12px 0 24px; color:var(--muted); }
.measurement-guide code { font-family:Consolas,monospace; color:var(--ink); font-size:.95em; }
.source-guide { grid-column:1/-1; padding:0 0 26px; }
.source-guide h3 { margin-bottom:14px; font-size:1.1875rem; }
.source-guide > p { color:var(--muted); max-width:75ch; margin-top:18px; }
.source-key { margin:0; }
.source-key > div { display:grid; grid-template-columns:90px minmax(0,1fr); gap:18px; border-top:1px solid var(--line); padding:14px 0; }
.source-key dt { font-family:Consolas,monospace; color:var(--green); }
.source-key dd { margin:0; max-width:75ch; color:var(--muted); }

/* Charts and period controls. */
.chart-container { position:relative; min-height:245px; border:1px solid var(--line); background:#fbfbf8; overflow:hidden; }
.chart-container.large { min-height:310px; }
.chart-container svg { display:block; width:100%; height:auto; }
.chart-container:has(> svg) { min-height:0; }
.chart-container .chart-empty { min-height:245px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 24px; background-image:linear-gradient(#d9d9d233 1px,transparent 1px),linear-gradient(90deg,#d9d9d233 1px,transparent 1px); background-size:100% 48px,90px 100%; }
.large .chart-empty { min-height:310px; }
.chart-empty h3 { font-size:1.25rem; margin-bottom:9px; }
.chart-empty p { font-size:.9375rem; color:var(--muted); max-width:45ch; }
.chart-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:9px 24px; color:var(--muted); font-size:.8125rem; margin-top:12px; }
.study-note { display:grid; grid-template-columns:180px minmax(0,1fr); gap:14px 28px; border-top:1px solid var(--line); margin-top:34px; padding-top:26px; }
.study-note h3 { font-size:1.5rem; }
.study-note p { font-size:.9375rem; color:var(--muted); max-width:70ch; }
.study-note .pill { grid-column:2; justify-self:start; }
.section-copy { max-width:66ch; color:var(--muted); margin-bottom:28px; text-wrap:pretty; }
.history-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:20px 28px; margin:24px 0 20px; }
.range-buttons,.segmented { display:flex; flex-wrap:wrap; gap:4px; }
.range-buttons button { border:1px solid var(--line); background:transparent; padding:9px 13px; font-size:.875rem; line-height:1.5; }
.range-buttons [aria-pressed=true] { background:var(--ink); border-color:var(--ink); color:white; }
.select-label { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; font-size:.875rem; color:var(--muted); min-width:0; max-width:100%; }
select { width:auto; max-width:100%; min-height:43px; appearance:none; background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%235b6f3a' stroke-width='1.4'/%3E%3C/svg%3E") right 13px center no-repeat; padding:9px 40px 9px 13px; border:1px solid var(--line); border-radius:0; font-size:.875rem; line-height:1.5; color:var(--ink); }
#hardware { min-width:17.5rem; }
#compare-hardware { min-width:15rem; }
.button { display:inline-flex; justify-content:center; align-items:center; background:var(--ink); color:white; border:1px solid var(--ink); padding:10px 17px; font-size:.875rem; line-height:1.5; }
.button:hover { background:var(--green); border-color:var(--green); }
.button.secondary { background:transparent; color:var(--ink); border-color:var(--line); }
.button.secondary:hover { border-color:var(--green); }
.chart-controls { display:flex; align-items:center; flex-wrap:wrap; gap:16px 24px; margin-bottom:17px; }
.segmented { gap:18px; }
.segmented button { padding:7px 0; border:0; border-bottom:2px solid transparent; background:none; color:var(--muted); font-size:.875rem; line-height:1.5; }
.segmented [aria-pressed=true] { border-color:var(--green); color:var(--green); }
.check-label { display:flex; align-items:center; gap:8px; font-size:.875rem; color:var(--muted); }
input[type=checkbox] { accent-color:var(--green); width:17px; height:17px; margin:0; }
.resolution { margin-left:auto; color:var(--muted); font-size:.8125rem; }
.stats-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-block:1px solid var(--line); margin:26px 0 16px; }
.stats-row > div { display:flex; flex-direction:column; gap:12px; padding:22px 20px; border-right:1px solid var(--line); min-width:0; }
.stats-row > div:first-child { padding-left:0; }
.stats-row > div:last-child { border-right:0; }
.stats-row span { display:block; color:var(--muted); font-size:.875rem; line-height:1.5; }
.stats-row strong { display:block; margin-top:auto; font-size:1.6rem; line-height:1.3; font-weight:500; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.two-column { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:24px; align-items:start; }
.outlined { min-width:0; border:1px solid var(--line); padding:25px; }
.outlined h3 { font-size:1.2rem; margin-bottom:14px; }
.outlined p { font-size:.9375rem; color:var(--muted); max-width:64ch; text-wrap:pretty; }
.medium-value { display:block; font-size:1.875rem; line-height:1.3; font-weight:500; letter-spacing:-.035em; margin:17px 0; font-variant-numeric:tabular-nums; }
.coverage-detail { color:var(--muted); font-size:.9375rem; line-height:1.65; }
.coverage-detail p + p { margin-top:.8em; }
.custom-form { display:flex; flex-wrap:wrap; align-items:flex-end; gap:16px; background:var(--pale); padding:20px; margin:12px 0 20px; }
.custom-form label { display:flex; flex-direction:column; gap:6px; font-size:.875rem; }
.custom-form input { max-width:100%; padding:9px; border:1px solid var(--line); background:var(--paper); font-size:.9375rem; }
.custom-form [role=alert] { color:#8b3c26; font-size:.875rem; }
.data-note,.notice { background:#f0eadc; border-left:3px solid #b89b5d; color:#66522d; padding:15px 18px; font-size:.9375rem; line-height:1.6; margin:20px 0; }
.comparison { margin-top:28px; padding:24px; background:var(--pale); }
.comparison h3 { margin-bottom:14px; }
.small-chart { min-height:180px; }
.table-scroll { overflow:auto; max-height:440px; }
table { border-collapse:collapse; width:100%; font-size:.875rem; text-align:left; white-space:nowrap; }
th { position:sticky; top:0; padding:12px 18px 12px 0; background:var(--paper); font-size:.8125rem; font-weight:600; color:var(--muted); }
td { padding:11px 18px 11px 0; border-top:1px solid var(--line); font-variant-numeric:tabular-nums; }
.comparison th { background:var(--pale); }
.data-details { margin-top:24px; }
.data-details summary { padding:14px 0; font-size:.9375rem; }
.stratum-row { display:grid; grid-template-columns:75px minmax(0,1fr) 65px; gap:12px; align-items:center; margin-bottom:12px; font-size:.875rem; }
.stratum-bar { height:6px; background:#dbe1d1; }
.stratum-bar > span { display:block; height:100%; background:var(--green); }
.stratum-bar svg { display:block; }
.event { border-left:2px solid #a7b491; padding:0 0 18px 17px; margin-top:12px; }
.event time { font-size:.8125rem; color:var(--muted); }
.event h4 { font-size:1rem; margin:5px 0 7px; }
.event p { font-size:.9375rem; }
.dns-chart { min-height:180px; padding:24px; border:1px solid var(--line); margin-bottom:20px; }
.dns-bars { height:150px; display:flex; gap:4px; align-items:flex-end; overflow:hidden; }
.dns-bar { flex:1; min-width:2px; background:var(--green); opacity:.8; }
.dns-bar:hover { opacity:1; }
.dns-labels { display:flex; justify-content:space-between; color:var(--muted); font-size:.8125rem; margin-top:12px; }

/* Method, contacts and footer. */
.learning-summary { margin-top:28px; padding:26px 28px; background:var(--pale); }
.learning-summary h3 { margin-bottom:12px; }
.learning-summary p { max-width:78ch; color:var(--muted); }
.method-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:56px; margin-top:32px; align-items:start; }
.method-grid details { border-top:1px solid var(--line); padding:18px 0; }
.method-grid summary { font-size:1.1875rem; line-height:1.5; letter-spacing:-.02em; }
.method-grid details p { margin-top:17px; max-width:64ch; color:var(--muted); text-wrap:pretty; }
.trial-questions { padding-left:22px; margin:18px 0; max-width:62ch; color:var(--muted); }
.trial-questions li + li { margin-top:9px; }
.journal { padding:28px; background:var(--pale); min-width:0; }
.journal h3 { font-size:1.8rem; margin-bottom:14px; }
.journal-date { color:var(--muted); font-size:.875rem; }
.journal dl { font-size:.9375rem; margin:22px 0; }
.journal dt { color:var(--muted); font-size:.8125rem; margin-top:14px; }
.journal dd { margin:3px 0 0; }
.journal-events { padding:24px; border-top:1px solid var(--line); font-size:.9375rem; color:var(--muted); }
.archive-band { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; background:#e3e7d9; padding:34px; margin-top:28px; align-items:start; }
.archive-band h3 { font-size:2.25rem; letter-spacing:-.04em; }
.archive-band > p { color:#59624c; max-width:52ch; }
.contact-section { border-top:1px solid var(--line); padding-block:38px 50px; }
.contact-section > .section-head { margin-bottom:24px; }
.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 56px; }
.contact-card { min-width:0; }
.contact-card h3 { font-size:1.2rem; margin-bottom:8px; }
.contact-card p { color:var(--muted); max-width:58ch; text-wrap:pretty; }
.contact-email { display:inline-block; margin:0 0 16px; color:var(--green); border-bottom:1px solid #a9b39b; font-size:1.0625rem; overflow-wrap:anywhere; }
footer { background:var(--ink); color:var(--paper); }
.footer-main { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:start; gap:28px 48px; padding-block:40px 32px; }
.footer-main > div:nth-child(2) { margin-left:auto; }
.footer-logo { display:block; width:160px; filter:invert(1); margin-bottom:14px; }
.footer-main p { font-size:.875rem; color:#b5b9ae; max-width:42ch; }
.footer-main .eyebrow { font-size:.6875rem; color:#b5c19e; }
.footer-main > a { font-size:.875rem; align-self:center; }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 28px; border-top:1px solid #3b3e36; padding-block:18px 24px; font-size:.8125rem; color:#b5b9ae; }
.simulation-banner { padding:10px 20px; background:#634518; color:white; text-align:center; font-size:.875rem; }
.simulation-banner a { border-bottom:1px solid currentColor; margin-left:15px; }
.chart-tooltip { background:var(--ink); color:white; padding:7px 11px; font-size:.8125rem; max-width:270px; pointer-events:none; }
.chart-legend { display:flex; flex-wrap:wrap; gap:14px 18px; margin:12px 0; font-size:.8125rem; color:var(--muted); }
.legend-item { display:flex; align-items:center; gap:8px; }
.legend-swatch { display:inline-block; width:20px; height:3px; }
.chart-point:focus { outline:none; fill-opacity:1; stroke:#151715; stroke-width:2; }
.chart-point:hover { fill-opacity:1; }
.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; }

/* Responsive layouts also respond to the reduced CSS viewport at browser zoom. */
@media (max-width:1100px) {
  .site-nav { gap:20px; }
  .logo { width:175px; }
  .site-nav nav { gap:17px; }
  .hero { gap:40px; grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr); }
  .hero h1 { font-size:clamp(3.5rem,7.3vw,5rem); }
  .project-context { gap:45px; }
  .metric { padding:22px 18px; }
  .metric strong { font-size:1.6rem; }
  .method-grid { gap:34px; }
}
@media (max-width:920px) {
  .site-nav { min-height:73px; }
  .menu-toggle { display:block; padding:7px 12px; background:transparent; border:1px solid var(--line); font-size:.875rem; }
  .site-nav nav { display:none; position:absolute; top:73px; left:0; right:0; padding:12px 32px 20px; background:var(--paper); border-bottom:1px solid var(--line); flex-direction:column; align-items:flex-start; gap:4px; font-size:1rem; }
  .site-nav nav.open { display:flex; }
  .hero { padding-block:42px; gap:30px; grid-template-columns:minmax(0,1.2fr) minmax(255px,1fr); }
  .hero h1 { font-size:clamp(3.2rem,7.1vw,4.25rem); }
  .hero .eyebrow { font-size:.6875rem; letter-spacing:.12em; }
  .intro { font-size:1rem; }
  .clock-panel { padding:20px; margin-top:33px; }
  .clock-face { width:210px; margin-block:14px 10px; }
  .clock-time { font-size:1.65rem; }
  .panel-top .eyebrow { font-size:.625rem; }
  .clock-zone { display:none; }
  .panel-top { justify-content:center; }
  .hero-tags { gap:9px; }
  .hero-tags span + span { border:0; padding:0; }
  .hero-tags span { flex-basis:100%; }
  .project-context { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:32px; }
  .project-context h2 { font-size:1.8rem; }
  .status-layout { grid-template-columns:1fr; }
  .metric-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .metric { padding:20px 14px; gap:11px; }
  .metric p { min-height:3em; }
  .metric strong { font-size:1.4rem; }
  .section-tabs { gap:25px; }
  .section-tabs button { font-size:.875rem; }
  .history-toolbar { gap:18px; }
  .history-toolbar .select-label { width:100%; }
  .resolution { flex-basis:100%; margin:0; }
  .guide-grid { column-gap:30px; }
  .method-grid { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:28px; }
  .journal { padding:24px; }
}
@media (max-width:700px) {
  .wrap { padding-inline:24px; }
  .hero { grid-template-columns:1fr; gap:28px; padding-block:34px 36px; }
  .hero h1 { font-size:clamp(3.1rem,10.8vw,4.5rem); margin-bottom:24px; }
  .intro { font-size:1.0625rem; max-width:48ch; }
  .hero-tags { gap:10px 20px; margin-top:22px; }
  .hero-tags span { flex-basis:auto; }
  .hero-tags span + span { border-left:1px solid #b5b6ad; padding-left:20px; }
  .clock-panel { display:grid; grid-template-columns:160px minmax(0,1fr); grid-template-rows:auto auto auto; column-gap:18px; row-gap:8px; align-items:center; margin-top:0; padding:20px; }
  .clock-face { grid-column:1; grid-row:1/5; width:160px; margin:0; }
  .panel-top { grid-column:2; grid-row:1; align-self:end; }
  .panel-top .eyebrow { font-size:.6875rem; }
  .clock-time { grid-column:2; font-size:1.65rem; }
  .clock-date { grid-column:2; font-size:.8125rem; margin:0; }
  .clock-caveat { grid-column:2; margin:3px 0 0; font-size:.8125rem; }
  .clock-caveat br { display:none; }
  .project-context { grid-template-columns:1fr; gap:22px; padding-block:30px 34px; }
  .project-context h2 { max-width:25ch; }
  .project-context p:not(.eyebrow) { max-width:65ch; }
  .study-strip { gap:10px 20px; }
  .study-caption { flex-basis:100%; }
  .study-strip p { min-width:0; flex-basis:100%; }
  .section-head { gap:16px; }
  .section-head > .meta-note { text-align:left; }
  .section-head h2 { max-width:24ch; }
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .metric { padding:22px 18px; }
  .metric p { min-height:0; }
  .metric strong { font-size:1.7rem; }
  .context-note { gap:12px; flex-wrap:wrap; }
  .context-note .text-button { margin-left:35px; }
  .guide-grid { grid-template-columns:1fr; gap:24px; padding-top:10px; }
  .guide-item + .guide-item { border-top:1px solid var(--line); padding-top:22px; }
  .study-note { grid-template-columns:1fr; gap:14px; }
  .study-note .pill { grid-column:1; }
  .stats-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stats-row > div { padding:20px 18px; }
  .stats-row > div:nth-child(2) { border-right:0; }
  .stats-row > div:nth-child(n+3) { border-top:1px solid var(--line); }
  .stats-row > div:nth-child(3) { padding-left:0; }
  .two-column { grid-template-columns:1fr; gap:20px; margin-top:20px; }
  .method-grid { grid-template-columns:1fr; gap:26px; }
  .archive-band { grid-template-columns:1fr; gap:20px; padding:26px; }
  .archive-band h3 { font-size:2rem; }
  .contact-grid { grid-template-columns:1fr; gap:28px; }
  .contact-card + .contact-card { border-top:1px solid var(--line); padding-top:28px; }
  .footer-main { gap:26px; }
  .footer-main > div:nth-child(2) { margin-left:0; }
  .footer-main > a { flex-basis:100%; }
}
@media (max-width:420px) {
  .wrap { padding-inline:20px; }
  .hero h1 { font-size:clamp(2.9rem,13.6vw,3.6rem); }
  .hero .eyebrow { font-size:.625rem; }
  .intro { font-size:1rem; }
  .hero-tags { font-size:.8125rem; gap:8px; }
  .hero-tags span + span { border:0; padding:0; }
  .hero-tags span { flex-basis:100%; }
  .clock-panel { grid-template-columns:120px minmax(0,1fr); column-gap:10px; row-gap:7px; padding:16px 14px; }
  .clock-face { width:120px; grid-row:1/4; }
  .panel-top .eyebrow { font-size:.625rem; letter-spacing:.08em; }
  .clock-time { font-size:1.4rem; letter-spacing:.02em; }
  .clock-date { font-size:.8125rem; }
  .clock-caveat { grid-column:1/-1; max-width:none; margin-top:4px; }
  .station-card,.outlined { padding:21px; }
  .station-details > div { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); font-size:.8125rem; }
  .metric { padding:20px 14px; gap:12px; }
  .metric strong { font-size:clamp(1.1875rem,5.6vw,1.4rem); }
  .select-label { flex-direction:column; align-items:stretch; width:100%; gap:7px; }
  #hardware,#compare-hardware { width:100%; min-width:0; max-width:100%; }
  .chart-controls { gap:16px; }
  .range-buttons button { padding:8px 10px; font-size:.875rem; }
  .custom-form { padding:18px; }
  .custom-form label { width:100%; }
  .custom-form input { width:100%; min-width:0; }
  .stats-row > div { padding:18px 12px; }
  .stats-row strong { font-size:1.4rem; }
  .comparison { padding:18px; }
  .learning-summary { padding:23px; }
  .stratum-row { grid-template-columns:65px minmax(0,1fr) 48px; gap:9px; font-size:.8125rem; }
  .source-key > div { grid-template-columns:74px minmax(0,1fr); gap:12px; }
  .dns-chart { padding:18px; }
  .chart-container.large,.large .chart-empty { min-height:230px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print {
  .site-header,.clock-panel,.section-tabs,button,.history-toolbar,.chart-controls,.simulation-banner { display:none!important; }
  [role=tabpanel] { display:block!important; break-before:page; }
  .hero { display:block; }
  .hero h1 { font-size:3rem; }
  footer { background:white; color:var(--ink); }
  .chart-container,.outlined,.metric { break-inside:avoid; }
  .wrap { padding:0; max-width:none; }
}
