/* Home (handoff README §5.3). Loaded after explorer.css, whose tokens, fonts, header
   and tooltip it shares. */

.home { display: flex; flex-direction: column; }
.home-nav { display: flex; align-items: baseline; gap: 24px; font-size: 14px; }
.home-navlink { text-decoration: none; display: flex; align-items: baseline; gap: 6px; }
.home-pdf { font: 400 11px var(--mono); color: var(--muted-2); }
.off { cursor: default; }
.home-navlink.off { color: var(--muted-2); }

/* ---------- row 1: the report */
.home-report { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; justify-content: space-between; padding: 56px 0 64px; }
.home-report-text { flex: 1 1 420px; max-width: 640px; display: flex; flex-direction: column; gap: 28px; }
.home-h1 { margin: 0; font-weight: 500; font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
/* The brand half of the official name, on its own line as on the report's cover. */
.home-h1 > span { display: block; color: var(--brand); }
.home-lede { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.home-lede p { margin: 0; }
.home-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.home-btn { display: flex; align-items: center; gap: 10px; border-radius: 6px; font-size: 16px; font-weight: 500; text-decoration: none; }
.home-btn.primary { padding: 15px 24px; background: var(--ink); color: var(--page); }
.home-btn.primary .home-pdf { font-size: 11.5px; color: oklch(0.80 0.02 165); }
.home-btn.primary:hover { background: var(--brand); color: var(--page); }
.home-btn.primary.off, .home-btn.primary.off:hover { background: oklch(0.55 0.02 165); }
.home-btn.secondary { padding: 14px 23px; border: 1px solid var(--ink); color: var(--ink); }
.home-btn.secondary:hover { background: var(--tab-bg); color: var(--ink); }
.home-cover { flex: none; width: clamp(220px, 26vw, 340px); aspect-ratio: 210 / 297; box-sizing: border-box; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; background: var(--brand); color: var(--page); text-decoration: none; box-shadow: 0 1px 2px oklch(0.3 0.03 165 / 0.10), 0 30px 60px -26px oklch(0.3 0.03 165 / 0.40); }
.home-cover:hover { color: var(--page); }
.home-cover-brand { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.home-cover-title { display: flex; flex-direction: column; gap: 12px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; font-weight: 500; letter-spacing: -0.015em; }
.home-cover-sub { font-size: 12.5px; line-height: 1.45; font-weight: 400; letter-spacing: 0; color: oklch(0.88 0.03 162); }

/* ---------- row 2: explore the data */
.home-explore { display: flex; flex-direction: column; gap: 28px; padding-top: 44px; border-top: 1px solid var(--rule); }
.home-explore-head { max-width: 680px; display: flex; flex-direction: column; gap: 12px; }
.home-h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; }
.home-explore-head p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2b); text-wrap: pretty; }
.home-explore-head b { font-weight: 600; color: var(--ink); }
/* The taller column sets the row and the other stretches to it, so the figures and the
   map always end level. */
.home-explore-body { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: stretch; }

.home-figs { flex: 1 1 240px; display: flex; flex-direction: column; }
.home-figs-head { padding-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1.5px solid var(--ink); }
.home-fig { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 13px 0 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); }
.home-fig:hover { color: var(--link); }
.home-fig-l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.home-fig-label { font-size: 14.5px; }
.home-fig-n { font-size: 12px; color: var(--muted-3); }
.home-fig-r { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.home-fig-v { font: 500 30px/1 var(--mono); letter-spacing: -0.03em; }
.home-fig-d { display: flex; align-items: baseline; gap: 5px; font: 400 12.5px var(--mono); white-space: nowrap; }

/* The map box is sized from both axes: it grows with the row up to ~620px tall, and the
   3:2 map inside takes whichever of the box's width or height binds first. */
.home-mapcol { flex: 3 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; container-type: inline-size; }
.home-maparea { flex: 1 1 auto; height: max(320px, min(66.6cqw, 620px)); container-type: size; }
.home-map { width: min(100cqw, 150cqh); aspect-ratio: 3 / 2; }
.home-map svg.chart { height: 100%; }
.tip-st { font: 400 11px var(--mono); color: oklch(0.80 0.02 165); }
.tip-cta { font-size: 11.5px; color: oklch(0.78 0.02 165); }
.home-legend { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; }
.home-legend-keys { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.home-ramp { display: flex; gap: 2px; }
.home-ramp > div, .home-hatch { display: flex; flex-direction: column; gap: 4px; width: 64px; }
.home-ramp span:first-child, .home-hatch span:first-child { height: 10px; }
.home-ramp span:last-child { font: 400 11px var(--mono); color: oklch(0.40 0.02 165); }
.home-hatch { width: 96px; }
.home-hatch span:first-child { background: repeating-linear-gradient(-45deg, oklch(0.66 0.03 165) 0 1.1px, oklch(0.965 0.006 165) 1.1px 5px); }
.home-hatch span:last-child { font-size: 11.5px; color: oklch(0.42 0.02 165); }

.home-foot { margin-top: 72px; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 11px/1.55 var(--mono); color: var(--muted-1); }
.home-foot-r { display: flex; gap: 20px; }

/* ---------- press */
.press { display: flex; flex-direction: column; gap: 36px; padding: 56px 0 0; max-width: 760px; }
.press-head { display: flex; flex-direction: column; gap: 14px; }
.press-head p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.press-docs { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.press-doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0 17px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
a.press-doc:hover .press-doc-title { color: var(--link); }
.press-doc-title { font-size: 17px; font-weight: 500; }
.press-doc-desc { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--muted-3); }
.press-doc.off .press-doc-title { color: var(--muted-2); }
.press-contact { display: flex; flex-direction: column; gap: 8px; font-size: 17px; }

@media (max-width: 640px) {
  .home-report { padding: 36px 0 44px; }
  .home-cover { width: min(100%, 260px); }
  .home-maparea { height: auto; container-type: normal; }
  .home-map { width: 100%; }
}
