/* Winnow site stylesheet (WEB-4, 2026-11-12). One file for index.html and about.html.

   Built from the approved WEB-3 mock-up V4 (mockups/web-3/v4.html): its five stylesheets were reduced to the rules the
   page uses, in their original order and wording, and proved to render identically (every element's computed style,
   in every top-bar and reveal state). Sections marked "from the WEB-3 mock-up's ..." are that build; LATER RULES
   OVERRIDE EARLIER ONES, so to change a colour edit the LAST definition of the token (the "c1-refine.css" section).
   The single class "site" on <html> stands in for the mock-up's page qualifiers, keeping every rule's specificity.
   Palette (WEB-4.1): ONE green, sage #a9cbb7, on every section (Deep Forest retired), tinted near-white / near-black
   neutrals, no pure #fff or #000 on screen. See CLAUDE.md. */

/* ---- from the WEB-3 mock-up's tokens.css ---- */
/* WEB-4.2 decision (owner, 2026-11-12): ONE family, Onest, for the whole site and the wordmark (option 12 of
   lab/fonts/compare.html, removed at WEB-6: git show f211626:lab/fonts/compare.html; SIL OFL 1.1, fonts/OFL-Onest.txt). One variable latin file, weights 400-700, 33 KB, preloaded.
   "Onest Fallback" is Arial resized to Onest's measured metrics (regular and bold separately), so nothing moves when
   Onest arrives (font-display: swap). Michroma is retired. */
@font-face { font-family: "Onest"; src: url("fonts/onest-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400 500; size-adjust: 105.27%; ascent-override: 92.14%; descent-override: 28.5%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 100.47%; ascent-override: 96.54%; descent-override: 29.86%; line-gap-override: 0%; }
/* Tabular figures only where numbers are data (the card's values, the map's count): in running text Onest's tabular "1"
   sits in a full-width box and "13" reads as "1 3". */
.card .fact-v, .card .row-v, .card .mk-v, .fund b, .map-count { font-variant-numeric: tabular-nums; }
:root { color-scheme: light; --bg:          #ffffff; --bg-2:        #f5f5f7; --surface:     #ffffff; --surface-2:   #f5f5f7; --label:       #1d1d1f; --body:        #3a3a3c; --label-2:     #57575c; --label-3:     #8e8e93; --separator:   rgba(60, 60, 67, .18); --separator-2: rgba(60, 60, 67, .32); --control-border: #86868b; --fill:        rgba(118, 118, 128, .12); --accent:      #1b4332; --accent-hover:#133325; --on-accent:   #ffffff; --mark:        #2f6b52; --map-high:    #2fa06a; --wash:        rgba(27, 67, 50, .08); --caution:     #8f5c0e; --unknown:     var(--label-2); --map-bg:      #f2f3f1; --map-line:    #b7bbb6; --map-water:   #dfe6ea; --font:        "Onest", "Onest Fallback", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --font-id:     var(--font);   /* WEB-4.2: one family everywhere, codes included (no mono) */ --font-brand:  var(--font); --fs-display:  clamp(2.5rem, 1.55rem + 3.9vw, 4.5rem); --fs-h2:       clamp(2rem, 1.45rem + 2.2vw, 3.25rem); --fs-h3:       1.375rem; --fs-lead:     clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); --fs-body:     1.0625rem; --fs-small:    .9375rem; --fs-caption:  .8125rem; --lh-tight:    1.06; --lh-head: 1.12; --lh-body: 1.55; --track-display: -.03em; --track-head: -.02em; --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --section-y:   clamp(64px, 3rem + 4.5vw, 128px); --gutter:      clamp(16px, 4vw, 48px); --max:         1200px; --measure:     66ch; --r-chip: 6px; --r-control: 8px; --r-card: 12px; --r-media: 16px; --r-frame: 20px; --tap: 44px; --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.06); --shadow-2: 0 2px 6px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.10); --shadow-3: 0 8px 24px rgba(0,0,0,.14), 0 24px 64px rgba(0,0,0,.16); --material: rgba(255,255,255,.92); --ease-spring: linear(0, 0.049, 0.157, 0.285, 0.411, 0.526, 0.624, 0.706, 0.772, 0.825, 0.867, 0.899, 0.924, 0.943, 0.957, 0.968, 0.976, 0.982, 0.987, 0.99, 0.993, 0.995, 0.996, 0.997, 1); --dur-press: 80ms; --dur-release: 240ms; --dur-fade: 150ms; --dur-reveal: 470ms; --dur-sheet: 540ms; }
.tone-dark { color-scheme: dark; --bg: #000000; --bg-2: #111113; --surface: #1c1c1e; --surface-2: #2c2c2e; --label: #f5f5f7; --body: #d1d1d6; --label-2: #b0b0b5; --label-3: #6e6e73; --separator: rgba(84,84,88,.6); --separator-2: rgba(120,120,128,.7); --control-border: #7c7c82; --fill: rgba(118,118,128,.24); --accent: #a9cbb7; --accent-hover: #bcd7c7; --on-accent: #10241a; --mark: #8fd0aa; --wash: rgba(169,203,183,.12); --caution: #e0a951; --shadow-1: 0 1px 2px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4); --shadow-2: 0 2px 6px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.5); --shadow-3: 0 8px 24px rgba(0,0,0,.55), 0 24px 64px rgba(0,0,0,.6); --material: rgba(17,17,19,.92); background: var(--bg); color: var(--body); }
.tone-light { color-scheme: light; --bg: #ffffff; --bg-2: #f5f5f7; --surface: #ffffff; --surface-2: #f5f5f7; --label: #1d1d1f; --body: #3a3a3c; --label-2: #57575c; --label-3: #8e8e93; --separator: rgba(60,60,67,.18); --separator-2: rgba(60,60,67,.32); --control-border: #86868b; --fill: rgba(118,118,128,.12); --accent: #1b4332; --accent-hover: #133325; --on-accent: #ffffff; --mark: #2f6b52; --wash: rgba(27,67,50,.08); --caution: #8f5c0e; --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.06); --shadow-2: 0 2px 6px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.10); --shadow-3: 0 8px 24px rgba(0,0,0,.14), 0 24px 64px rgba(0,0,0,.16); --material: rgba(255,255,255,.92); background: var(--bg); color: var(--body); }
.tone-light.alt { background: var(--bg-2); }
@media (prefers-contrast: more) {
  :root { --label-2: var(--body); --separator: var(--separator-2); }
}

/* ---- from the WEB-3 mock-up's site.css ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 var(--fs-body)/var(--lh-body) var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color 250ms ease-out, color 250ms ease-out; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
input, textarea, select { caret-color: var(--accent); }
a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 50; padding: var(--s3) var(--s4); background: var(--accent); color: var(--on-accent); border-radius: var(--r-control); }
.skip:focus { top: var(--s3); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--section-y) 0; }
.display { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--track-display); font-weight: 600; color: var(--label); text-wrap: balance; max-width: 16ch; }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); font-weight: 600; color: var(--label); text-wrap: balance; max-width: 20ch; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; color: var(--label); }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--body); max-width: 40ch; text-wrap: pretty; }
.copy { max-width: var(--measure); text-wrap: pretty; }
.small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); line-height: 1.4; color: var(--label-2); }
.head-block { display: grid; gap: var(--s5); margin-bottom: var(--s8); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: var(--r-chip); font-size: var(--fs-caption); font-weight: 500; line-height: 1.6; color: var(--label-2); background: var(--fill); white-space: nowrap; }
.tag-real { color: var(--accent); background: var(--wash); }
.tag-real::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mark); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--tap); padding: 0 20px; border-radius: var(--r-control); border: 1px solid transparent; font: 500 var(--fs-body)/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--dur-release) var(--ease-spring), background-color var(--dur-fade) ease-out, border-color var(--dur-fade) ease-out; }
.btn:active { transform: scale(.97); transition-duration: var(--dur-press); transition-timing-function: ease-out; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--label); border-color: var(--control-border); }
.btn-secondary:hover { background: var(--fill); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.nav { position: sticky; top: 0; z-index: 40; background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px); border-bottom: 1px solid var(--separator); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: var(--bg); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.nav-in { display: flex; align-items: center; gap: var(--s6); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--label); text-decoration: none; }
.brand-mark { width: 40px; height: 21px; }
.brand-word { font-family: var(--font-brand); font-size: 1rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--label); line-height: 1; }
.nav-links { display: flex; gap: var(--s5); margin-left: auto; }
.nav-links a { color: var(--label); text-decoration: none; font-size: var(--fs-small); padding: 10px 2px; }
.nav-links a:hover { text-decoration: underline; }
.nav-act { display: flex; align-items: center; gap: var(--s3); }
.nav-act .btn { min-height: 40px; padding: 0 16px; font-size: var(--fs-small); }
.nav-login { color: var(--label); text-decoration: none; font-size: var(--fs-small); padding: 10px 8px; }
.nav-login:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-act { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand-word { display: none; }
  .nav-act .btn { padding: 0 12px; }
}
.hero { padding: clamp(48px, 3rem + 4vw, 112px) 0 var(--section-y); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s7); align-items: center; }
.hero-text { display: grid; gap: var(--s5); }
.hero-text .btn-row { margin-top: var(--s3); }
.anim-slot { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-media); border: 1.5px dashed var(--separator-2); background: var(--bg-2); overflow: hidden; }
.anim-slot svg { width: 100%; height: 100%; }
.anim-slot .slot-label { position: absolute; left: var(--s3); bottom: var(--s3); right: var(--s3); }
.dot { fill: var(--label-3); opacity: .55; }
.dot-hi { fill: var(--map-high); opacity: 1; }
@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; }
  .anim-slot { aspect-ratio: 16 / 9; }
}
.out-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; }
.out-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.out-row.flip .out-text { order: 2; }
.out-text { display: grid; gap: var(--s4); }
@media (max-width: 860px) {
  .out-row, .out-row.flip { grid-template-columns: 1fr; gap: var(--s6); }
  .out-row.flip .out-text { order: 0; }
}
.map { position: relative; border-radius: var(--r-media); overflow: hidden; background: var(--map-bg); border: 1px solid var(--separator); box-shadow: var(--shadow-2); aspect-ratio: 1200 / 760; }
.map .map-svg svg { width: 100%; height: 100%; }
.map .map-svg svg path { vector-effect: non-scaling-stroke; stroke-width: .6px; stroke: var(--map-line); fill: #fbfbfa; transition: opacity 600ms ease-out; }
.map .map-svg svg path.sel, .map .map-svg svg path.hi { fill: var(--map-high); stroke: #1b4332; stroke-width: 2px; }
.map-legend { position: absolute; left: var(--s3); bottom: var(--s3); display: flex; align-items: center; gap: var(--s2); padding: 6px 10px; border-radius: var(--r-control); background: rgba(255,255,255,.94); color: #1d1d1f; font-size: var(--fs-caption); box-shadow: var(--shadow-1); }
.map-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--map-high); border: 1.5px solid #1b4332; }
.map-count { position: absolute; right: var(--s3); top: var(--s3); padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: #1d1d1f; font-size: var(--fs-caption); font-weight: 500; box-shadow: var(--shadow-1); }
.js .map:not(.in) .map-svg svg path.sel { fill: #fbfbfa; stroke: var(--map-line); stroke-width: .6px; }
.js .map.in .map-svg svg path.p { opacity: .55; transition-delay: 300ms; }
.js .map .map-svg svg path.sel { transition: fill 500ms ease-out 700ms, stroke 500ms ease-out 700ms; }
.card { background: var(--surface); border: 1px solid var(--separator); border-radius: var(--r-media); box-shadow: var(--shadow-3); padding: var(--s5); display: grid; gap: var(--s5); max-width: 460px; justify-self: center; width: 100%; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
.card-title { font-size: 1.0625rem; font-weight: 600; color: var(--label); line-height: 1.3; }
.card-sub { font-size: var(--fs-caption); color: var(--label-2); margin-top: 2px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.fact { background: var(--surface-2); border-radius: var(--r-card); padding: 10px 12px; }
.fact-k { display: block; font-size: var(--fs-caption); color: var(--label-2); }
.fact-v { display: block; font-size: 1.25rem; font-weight: 500; color: var(--label); line-height: 1.3; }
.fact-v small { font-size: .8125rem; font-weight: 400; color: var(--label-2); }
.qual { font-size: .75rem; color: var(--label-2); font-weight: 400; margin-left: 3px; }
.grp-h { font-size: var(--fs-small); font-weight: 600; color: var(--label); margin-bottom: var(--s2); }
.rows { background: var(--surface-2); border-radius: var(--r-card); padding: 2px 12px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 8px 0; font-size: var(--fs-small); }
.row + .row { border-top: 1px solid var(--separator); }
.row-k { color: var(--label-2); }
.row-v { color: var(--label); font-weight: 500; text-align: right; }
.row-v.unk { color: var(--unknown); font-weight: 400; }
.code { font-family: var(--font-id); font-size: .875rem; }
.marks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mk { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: var(--r-card); background: var(--surface-2); text-align: center; }
.mk-k { font-size: .75rem; color: var(--label-2); line-height: 1.2; }
.mk-v { font-size: var(--fs-caption); font-weight: 600; color: var(--label); }
.mk-v.ok { color: var(--mark); }
.card-foot { font-size: .75rem; color: var(--label-2); line-height: 1.45; }
.js .card [data-step] { opacity: 0; transform: translateY(8px); transition: opacity 360ms ease-out, transform var(--dur-reveal) var(--ease-spring); transition-delay: calc(var(--step, 0) * 90ms); }
.js .card.in [data-step] { opacity: 1; transform: none; }
@media (max-width: 420px) {
  .card { padding: var(--s4); }
  .marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.searchbox { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 360px; height: 44px; padding: 0 14px; border-radius: var(--r-control); background: var(--surface); border: 1px solid var(--control-border); color: var(--label-2); font-size: var(--fs-small); }
.searchbox svg { width: 16px; height: 16px; flex: none; }
.lihtc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.l-list { border-top: 1px solid var(--separator); }
.l-item { display: grid; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--separator); }
.l-item-h { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: baseline; }
.l-item p { color: var(--body); max-width: 60ch; }
.l-item .h3 { font-size: 1.1875rem; }
.where { margin-top: var(--s6); display: grid; gap: var(--s2); }
@media (max-width: 860px) {
  .lihtc { grid-template-columns: 1fr; }
}
.who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.people { display: flex; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s5); }
.person { display: flex; align-items: center; gap: var(--s3); }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.person b { display: block; color: var(--label); font-weight: 600; font-size: var(--fs-small); }
.person span { font-size: var(--fs-caption); color: var(--label-2); }
@media (max-width: 860px) {
  .who { grid-template-columns: 1fr; }
}
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 500; color: var(--label); }
.field label span { font-weight: 400; color: var(--label-2); }
.field input, .field select, .field textarea { width: 100%; min-height: var(--tap); padding: 10px 12px; border-radius: var(--r-control); border: 1px solid var(--separator-2); background: var(--surface); color: var(--label); font: 400 1rem/1.4 var(--font); border-color: var(--control-border); }
.field textarea { min-height: 96px; resize: vertical; }
.field ::placeholder { color: var(--label-2); opacity: 1; }
.form .btn { justify-self: start; }
.contact-aside { display: grid; gap: var(--s4); align-content: start; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}
.foot { border-top: 1px solid var(--separator); padding: var(--s7) 0; font-size: var(--fs-small); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s5); align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.foot-links a { color: var(--label); display: inline-block; padding: 10px 0; }
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 400ms ease-out, transform var(--dur-reveal) var(--ease-spring); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .card [data-step] { transform: none; transition: opacity var(--dur-fade) ease-out; transition-delay: 0ms; }
  .btn, .btn:active { transform: none; transition: background-color var(--dur-fade) ease-out; }
  .map .map-svg svg path, .js .map .map-svg svg path.sel { transition-duration: var(--dur-fade); transition-delay: 0ms; }
  body { transition: none; }
}

/* ---- from the WEB-3 mock-up's c.css ---- */
.site .nav.tone-dark { background: rgba(0,0,0,.86); border-bottom-color: rgba(84,84,88,.45); }
@media (prefers-reduced-transparency: reduce) {
  .site .nav.tone-dark { background: #000; }
}
.site .hero { padding-bottom: clamp(56px, 6vw, 112px); }
.site .display { max-width: 13ch; }
.site .hero .lead { max-width: 44ch; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: var(--fs-small); color: var(--label); background: var(--fill); border: 1px solid var(--separator); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--map-high); box-shadow: 0 0 0 1px #1b4332; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.way { display: grid; gap: var(--s4); align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-media); background: var(--surface-2); }
.way .h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
@media (max-width: 860px) {
  .ways { grid-template-columns: 1fr; }
}
.key { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; }
.key .head-block { margin-bottom: 0; }
.key .map { box-shadow: 0 24px 64px rgba(0,0,0,.6); border-color: rgba(255,255,255,.08); aspect-ratio: 1200 / 762; }
.screen-list { display: grid; gap: var(--s2); }
.screen-list .caption { margin-bottom: 2px; }
@media (max-width: 860px) {
  .key { grid-template-columns: 1fr; }
}
.card-sea .marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-v.warn { color: var(--caution); }
.fund { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.fund li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: 9px 12px; border-radius: var(--r-card); background: var(--surface-2); font-size: var(--fs-small); }
.fund span { color: var(--label-2); }
.fund b { font-weight: 600; color: var(--mark); }
.row-v small { display: block; font-weight: 400; color: var(--label-2); font-size: var(--fs-caption); }
.row-v.warn { color: var(--caution); }
.card-sea .card-sub .beta { margin-left: 6px; }
@media (max-width: 420px) {
  .fund { grid-template-columns: 1fr; }
}
.credits { display: grid; gap: var(--s2); max-width: 90ch; font-size: var(--fs-caption); line-height: 1.5; color: var(--label-2); }
.credits b { color: var(--label); font-weight: 600; }
.site .foot.tone-dark { border-top: 0; padding: var(--s8) 0 var(--s7); }
.site .foot-in { align-items: flex-start; }
.foot-stack { display: grid; gap: var(--s5); width: 100%; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); align-items: center; }

/* ---- from the WEB-3 mock-up's c-soft.css ---- */
html.site { --v-light-bg: #f6f8f7; --v-light-bg2: #edf1ef; --v-dark-bg: #0f1513; --v-dark-bg2: #151c19; --v-forest-bg: #132a20; --v-forest-bg2: #173328; --shade: #0f1513; --map-bg: #eef2ef; --map-line: #b4bcb7; --map-paper: #f8faf9; }
html.site, html.site .tone-light { color-scheme: light; --bg: #f6f8f7; --bg-2: #edf1ef; --surface: #fbfcfb; --surface-2: #eef2f0; --label: #141a17; --body: #323a36; --label-2: #515b56; --control-border: #7f8984; --accent: #1b4332; --on-accent: #f2f6f3; --mark: #2f6b52; --caution: #8f5c0e; --separator: rgba(20,26,23,.14); --separator-2: rgba(20,26,23,.26); --fill: rgba(20,26,23,.06); --wash: rgba(47,107,82,.14); --material: rgba(246,248,247,.92); background: var(--bg); color: var(--body); }
html.site, html.site .tone-light { --accent-hover: #133325; }
html.site .tone-light.alt { background: var(--bg-2); }
html.site .tone-dark { color-scheme: dark; --bg: #0f1513; --bg-2: #151c19; --surface: #1c2421; --surface-2: #26302c; --label: #eef2f0; --body: #cdd6d1; --label-2: #a9b4ae; --control-border: #7a8681; --accent: #a9cbb7; --on-accent: #10241a; --mark: #8fd0aa; --caution: #e0a951; --separator: rgba(238,242,240,.16); --separator-2: rgba(238,242,240,.3); --fill: rgba(238,242,240,.09); --wash: rgba(143,208,170,.14); --material: rgba(15,21,19,.92); background: var(--bg); color: var(--body); }
html.site .tone-dark { --accent-hover: #bcd7c7; }
html.site, html.site .tone-light { --shadow-1: 0 1px 2px rgba(8,24,17,.07), 0 2px 8px rgba(8,24,17,.07); --shadow-2: 0 2px 6px rgba(8,24,17,.09), 0 12px 32px rgba(8,24,17,.11); --shadow-3: 0 8px 24px rgba(8,24,17,.14), 0 24px 64px rgba(8,24,17,.16); }
html.site .tone-dark { --shadow-1: 0 1px 2px rgba(3,10,7,.45), 0 2px 8px rgba(3,10,7,.35); --shadow-2: 0 2px 6px rgba(3,10,7,.45), 0 12px 32px rgba(3,10,7,.45); --shadow-3: 0 8px 24px rgba(3,10,7,.5), 0 24px 64px rgba(3,10,7,.55); }
html.site .map .map-svg svg path { fill: var(--map-paper); }
html.site .map .map-svg svg path.sel, html.site .map .map-svg svg path.hi { fill: var(--map-high); }
html.site .map-legend, html.site .map-count { background: rgba(248,250,249,.95); color: #141a17; }
html.site .key .map { box-shadow: var(--shadow-3); border-color: rgba(238,243,240,.10); }
html.site .nav.tone-dark { background: var(--material); border-bottom-color: var(--separator); }
@media (prefers-reduced-transparency: reduce) {
  html.site .nav.tone-dark { background: var(--bg); }
}
html.site main > section, html.site .foot { position: relative; isolation: isolate; }
html.site [class*="from-"]::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: calc(var(--fade-h) + 1px);    z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--from) 0%, color-mix(in srgb, var(--from) 97.2%, transparent) 10%, color-mix(in srgb, var(--from) 89.6%, transparent) 20%, color-mix(in srgb, var(--from) 78.4%, transparent) 30%, color-mix(in srgb, var(--from) 64.8%, transparent) 40%, color-mix(in srgb, var(--from) 50%, transparent) 50%, color-mix(in srgb, var(--from) 35.2%, transparent) 60%, color-mix(in srgb, var(--from) 21.6%, transparent) 70%, color-mix(in srgb, var(--from) 10.4%, transparent) 80%, color-mix(in srgb, var(--from) 2.8%, transparent) 90%, transparent 100%); }
html.site .from-dark { --from: var(--v-dark-bg2); }
html.site .from-light { --from: var(--v-light-bg); }
html.site .from-light2 { --from: var(--v-light-bg2); }
html.site .from-forest { --from: var(--v-forest-bg); }
html.site .tone-light.alt { background: var(--bg-2); }
html.site .foot[class*="from-"] { padding-top: calc(var(--fade-h) + var(--s5)); }
html.site { --fade-h: min(clamp(48px, 2rem + 5vw, 120px), calc(var(--section-y) - 12px)); }
html.site .hero.tone-dark { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 55%, var(--bg-2) 100%); }

/* ---- from the WEB-3 mock-up's c1-refine.css ---- */
html.site { --v-dark-bg: #0b100e; --v-dark-bg2: #111714; --shade: #0b100e; }
html.site .tone-dark { --bg: #0b100e; --bg-2: #111714; --surface: #18201c; --surface-2: #212a26; --material: rgba(11,16,14,.88); }
html.site, html.site body { background-color: var(--v-dark-bg); }
html.site .nav { --nav-ink: #eef2f0; background: color-mix(in srgb, var(--v-dark-bg) 86%, transparent); border-bottom: 1px solid transparent; transition: background-color 280ms ease-out, border-color 280ms ease-out, color 280ms ease-out; }
html.site .nav .brand-word, html.site .nav .nav-links a, html.site .nav a.nav-login { color: var(--nav-ink); transition: color 280ms ease-out; }
html.site .nav[data-over="light"] { --nav-ink: #141a17; background: color-mix(in srgb, var(--v-light-bg) 84%, transparent); border-bottom-color: rgba(20,26,23,.12); }
html.site .nav[data-over="sage"] { --nav-ink: #0f1513; background: color-mix(in srgb, #a9cbb7 86%, transparent); border-bottom-color: rgba(15,21,19,.14); }
html.site .nav[data-over="light"] .btn-primary, html.site .nav[data-over="sage"] .btn-primary { color: #141a17; }
@media (prefers-reduced-transparency: reduce) {
  html.site .nav { background: var(--v-dark-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.site .nav[data-over="light"] { background: var(--v-light-bg); }
  html.site .nav[data-over="sage"] { background: #a9cbb7; }
}
@media (prefers-reduced-motion: reduce) {
  html.site .nav, html.site .nav .brand-word, html.site .nav .nav-links a, html.site .nav .nav-login { transition-duration: 120ms; }
}
/* WEB-4.1 (owner, 2026-11-12): ONE green, sage #a9cbb7 (the first-screen green), on every section. Deep Forest #1b4332
   and its Increase Contrast shades (#133325 / #c3dccd) are retired. Where sage would fail a use on a light background, the
   text or weight changes, never the green (WEB-3.3's V1 rules, docs/WEB_3_FINDINGS.md §12): buttons are sage with dark ink;
   links are ink with a 2px sage underline; "ok" / "yes" words are ink, weight 600, beside a sage dot; focus is a 3px sage
   ring with a 2px ink ring inside it (it clears 3:1 on light and dark); chips, tags and map parcels are sage with an ink
   outline. The demo video and the tool screenshots inside it stay as captured. */
html.site, html.site .tone-light { --accent: #a9cbb7; --accent-hover: #a9cbb7; --on-accent: #141a17; --mark: #141a17; --map-high: #a9cbb7; --wash: rgba(20,26,23,.07); }
html.site .tone-dark { --accent: #a9cbb7; --accent-hover: #a9cbb7; --on-accent: var(--bg); --mark: #a9cbb7; --map-high: #a9cbb7; --wash: rgba(238,242,240,.09); }
html.site { --v-forest-bg: #a9cbb7; --v-forest-bg2: #a9cbb7; }
html.site .tone-sage { color-scheme: light; --bg: #a9cbb7; --bg-2: #a9cbb7; --surface: #f8faf9; --surface-2: rgba(15,21,19,.08); --label: #0f1513; --body: #1c2420; --label-2: #26302b; --control-border: #2b3530; --separator: rgba(15,21,19,.16); --separator-2: rgba(15,21,19,.3); --fill: rgba(15,21,19,.08); --wash: rgba(15,21,19,.08); --accent: #0f1513; --on-accent: #a9cbb7; --mark: #0f1513; --caution: #6a4408; --map-high: #a9cbb7; background: var(--bg); color: var(--body); }
html.site .key .map { box-shadow: 0 2px 6px rgba(8,24,17,.12), 0 18px 40px rgba(8,24,17,.18); border-color: rgba(15,21,19,.14); }
html.site .btn-primary { background: #a9cbb7; color: var(--on-accent); }
html.site .btn-primary:hover { background: #a9cbb7; box-shadow: inset 0 0 0 1.5px var(--on-accent); }
html.site a:not(.btn):not(.brand) { color: var(--label); text-decoration-color: #a9cbb7; text-decoration-thickness: 2px; }
html.site a:not(.btn):not(.brand):hover { text-decoration-thickness: 3px; }
html.site :focus-visible { outline: 3px solid #a9cbb7; outline-offset: 3px; box-shadow: 0 0 0 2px var(--label); }
html.site input, html.site textarea, html.site select { caret-color: var(--label); }
html.site .mk-v.ok, html.site .fund b { color: var(--label); font-weight: 600; }
html.site .mk-v.ok::before, html.site .fund b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #a9cbb7; box-shadow: 0 0 0 1px var(--label); margin-right: 5px; vertical-align: 1px; }
html.site .tag-real { color: var(--label); background: var(--fill); }
html.site .tag-real::before { background: #a9cbb7; box-shadow: 0 0 0 1px var(--label); }
html.site .chip::before { background: #a9cbb7; box-shadow: 0 0 0 1px var(--label); }
html.site .tone-sage .tag-real::before { background: #0f1513; box-shadow: none; }
html.site .tone-sage .chip::before { background: #f8faf9; box-shadow: 0 0 0 1px #0f1513; }
html.site .map .map-svg svg path.sel, html.site .map .map-svg svg path.hi { fill: #a9cbb7; stroke: #141a17; }
html.site .map-legend i { background: #a9cbb7; border-color: #141a17; }
html.site .nav[data-over="light"] .btn-primary, html.site .nav[data-over="sage"] .btn-primary { background: #a9cbb7; color: #141a17; }
html.site .nav .btn-primary { transition: background-color 280ms ease-out, color 280ms ease-out; }
html.site .nav .brand-mark polygon:not(:first-child) { fill: #a9cbb7; }
@media (prefers-reduced-motion: reduce) {
  html.site .nav .btn-primary { transition-duration: 120ms; }
}
html.site.site .nav, html.site.site .nav[data-over] { background-color: var(--nav-bg, var(--v-dark-bg)); border-bottom: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color 280ms ease-out, transform 260ms cubic-bezier(.2,.7,.2,1); }
html.site .nav[data-hidden]:not(:focus-within) { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  html.site .nav[data-hidden]:not(:focus-within) { transform: none; }
  html.site.site .nav { transition-duration: 120ms; }
}


/* ---- WEB-4 additions ---- */

/* ---- WEB-4.1: the hero is 3a's hero.html, dark (owner, 2026-11-12) ----
   michael-anim-1 at 5eaddfa, lab/anim/3a-map-winnowing/hero.html, measured at 1440x900, 1280x800, 1024x768 and 390x844:
   the first screen is the viewport; the map animation fills it and floats on the hero's own background (no box, edge or
   tint change; the canvas is transparent); the text sits at 100 px / 180 px whatever the width (72 px headline, 22 px
   lead, 24 px gaps, 48-50 px buttons with 12 px corners); the credit 16 px from the bottom-left, pause / play 16 px from
   the bottom-right. Under 600 px the text comes first (120 px from the top, 20 px sides, 40 / 19 px type) and the
   animation follows it, full width and 1.78 widths tall (the phone composition, wa.js fit). V4's dark colour, sage the
   one green. The kit reads its colours from the stage's --dk-* tokens, so they follow the section (always dark here). */
html.site body.home .hero.tone-dark { padding: 0; background: var(--bg); }   /* flat under the map: the gradient moved below */
html.site .hero-more { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 40%, var(--bg-2) 100%); padding-bottom: clamp(56px, 6vw, 112px); }
.hero-first { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
html.site .hero-first .anim-slot { --dk-bg: var(--bg); --dk-ink: var(--label); --dk-kept: #a9cbb7; --dk-accent: #a9cbb7; --dk-phone: 0;
  position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.anim-slot .dk-still, .anim-slot .dk-still img, .anim-slot .dk-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.anim-slot .dk-still img { object-fit: cover; object-position: right center; }
.anim-slot .dk-canvas { visibility: hidden; }
.anim-slot[data-dk-live] .dk-canvas { visibility: visible; }
.anim-slot[data-dk-live] .dk-still { visibility: hidden; }
/* WEB-6.1 (owner, 2026-11-13): the map's bottom edge fades out the way its right edge does. The right edge is the kit's
   own fade (wa.js streetLook: a smoothstep over the last 7% of the map's width = 5.7% of the stage's height on a desktop,
   4.7% on a phone's 1.78-widths stage); the bottom gets the same smoothstep over the same distance, as a mask on the
   canvas and the still (not the credit), so the shores, roads, drifting dots and the reduced-motion still all fade. */
html.site .hero-first .anim-slot { --dk-fade: 5.7%; }
html.site .hero-first .anim-slot .dk-canvas, html.site .hero-first .anim-slot .dk-still {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--dk-fade)), rgb(0 0 0 / .844) calc(100% - var(--dk-fade) * .75),
    rgb(0 0 0 / .5) calc(100% - var(--dk-fade) * .5), rgb(0 0 0 / .156) calc(100% - var(--dk-fade) * .25), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--dk-fade)), rgb(0 0 0 / .844) calc(100% - var(--dk-fade) * .75),
    rgb(0 0 0 / .5) calc(100% - var(--dk-fade) * .5), rgb(0 0 0 / .156) calc(100% - var(--dk-fade) * .25), transparent 100%); }
/* WEB-4.2: the text's left edge is the top bar's logo edge (the .wrap content edge) at every width: 120 px at 1440,
   48 at 1280, 41 at 1024, 16 at 390 (hero.html used a fixed 100 px). --edge is that edge, shared with the corners. */
.hero-first { --edge: max(var(--gutter), (100% - var(--max)) / 2); }
.hero-first .hero-text { position: absolute; z-index: 1; left: var(--edge); top: 180px; width: min(640px, calc(100% - 140px)); display: grid; gap: 24px; }
html.site .hero-first .display { margin: 0; font-size: 72px; line-height: 1.05; letter-spacing: -.02em; font-weight: 600; color: var(--label); max-width: 13ch; text-wrap: wrap; }
html.site .hero-first .lead { margin: 0; font-size: 22px; line-height: 1.45; color: var(--body); max-width: 44ch; text-wrap: wrap; }
html.site .hero-first .btn-row { margin-top: 8px; gap: 12px; }
html.site .hero-first .btn { min-height: 48px; padding: 0 22px; border-radius: 12px; font: 500 17px/1 var(--font); }
html.site .hero-first .btn-primary { border-width: 0; }
html.site .hero-first .btn-secondary { min-height: 50px; }
/* where the text crosses the map (narrower desktops), a halo of the hero's own colour keeps every glyph on the background
   (invisible where there are no dots); the outline button gets the hero colour behind its label for the same reason */
html.site .hero-first .display, html.site .hero-first .lead, .hero-credit, html.site .hero-corners a {
  text-shadow: 0 0 1px var(--bg), 0 0 3px var(--bg), 0 0 6px var(--bg), 0 0 12px var(--bg); }
html.site .hero-first .btn-secondary { background: var(--bg); }
html.site .hero-first .btn-secondary:hover { background: color-mix(in srgb, var(--label) 9%, var(--bg)); }
.hero-credit { position: absolute; z-index: 1; left: 16px; bottom: 16px; margin: 0; max-width: calc(100% - 88px);
  font-size: 11px; line-height: 1.4; color: var(--label-2); }
/* the corners: a small wordmark top-left and a quiet "Log in" top-right, floating on the hero (no bar). They repeat the top
   bar's own links, so they are hidden from assistive tech and skipped by Tab: keyboard focus goes to the bar, which
   then appears at once. */
.hero-corners { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--edge); pointer-events: none; }   /* the bar's height and edges: the logo sits where the bar's will */
.hero-corners a { pointer-events: auto; }
html.site .hero-brand { gap: 8px; }
html.site .hero-brand .brand-mark { width: 32px; height: 17px; }
html.site .hero-brand .brand-word { display: inline; font-size: .8125rem; color: var(--label); }
html.site .hero-corners a.hero-login { color: var(--label); text-decoration: none; font-size: var(--fs-small); padding: 10px 4px; }
html.site .hero-corners a.hero-login:hover { text-decoration: underline; text-decoration-color: #a9cbb7; text-decoration-thickness: 2px; }
@media (max-width: 599.98px) {
  .hero-first { height: auto; min-height: 0; }
  .hero-first .hero-text { position: static; width: auto; padding: 120px var(--edge) 32px; }
  html.site .hero-first .display { font-size: 40px; }
  html.site .hero-first .lead { font-size: 19px; }
  html.site .hero-first .anim-slot { --dk-phone: 1; position: relative; inset: auto; width: 100%; height: calc(100vw * 1.78); --dk-fade: 4.7%; }
}
/* the top bar on the home page: fixed, and hidden over the first part of the hero (data-top, set by site.js) — it slides
   in (transform + opacity, so a reversal retargets) once the visitor scrolls past 12% of the first screen, then follows
   V4. Keyboard focus inside it shows it at once; under reduced motion it fades in without sliding. Without JS it stays. */
body.home .nav { position: fixed; top: 0; left: 0; right: 0; }
html.js body.home .nav[data-top]:not(:focus-within) { transform: translateY(-100%); opacity: 0; pointer-events: none; }
html.site.site body.home .nav { transition: background-color 280ms ease-out, transform 260ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease-out; }
html.site.site body.home .nav:focus-within { transition-duration: 0s; }
@media (prefers-reduced-motion: reduce) {
  html.js body.home .nav[data-top]:not(:focus-within) { transform: none; }
  html.site.site body.home .nav { transition: background-color 120ms ease-out, opacity 120ms ease-out; }
}

/* the contact form: an error message per field (aria-describedby), an invalid state that is not colour alone (a
   thicker border plus the message), the spam trap, the status line and the thank-you */
html.site .tone-light { --danger: #9b2c22; }   /* 6.64:1 on the grey band, 7.35:1 on a field */
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.field { align-content: start; }   /* a neighbour's error message must not push this field's box down */
.field-err { font-size: var(--fs-caption); line-height: 1.4; color: var(--danger); font-weight: 500; }
.field-err:empty { display: none; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: var(--fs-small); color: var(--danger); }
.form-status:empty { display: none; }
.form-actions { grid-column: 1 / -1; display: grid; gap: var(--s3); justify-items: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hp input { color: inherit; background: transparent; }
.form-done { display: grid; gap: var(--s3); align-content: start; padding: var(--s6); border-radius: var(--r-card, 16px);
  background: var(--surface); box-shadow: var(--shadow-1); }
.form-done:focus { outline: none; }
.form-done:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* the About page */
.about-hero .display { max-width: 14ch; }
.bios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7); }
.bio { display: grid; gap: var(--s4); align-content: start; }
.bio-head { display: flex; align-items: center; gap: var(--s4); }
.bio-head img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.bio-head .h3 { margin: 0; }
.bio-role { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--label-2); }
.bio .copy { max-width: 60ch; }
.data-band .lead { max-width: 52ch; }
.cta-band { display: grid; gap: var(--s5); justify-items: start; }
@media (max-width: 900px) {
  .bios { grid-template-columns: 1fr; gap: var(--s6); }
}
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }

/* print: everything visible, no reveal states, no fixed bar */
@media print {
  .js .rv, .js .card [data-step] { opacity: 1 !important; transform: none !important; }
  .nav { position: static !important; transform: none !important; }
}

/* ---- WEB-4.3 (2026-11-12): section 2's two uses + "What you learn"; the sage band's clickable map and site card ---- */
.way-uses { align-content: center; }
.uses { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
.uses li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); align-items: center; color: var(--label);
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.uses svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #a9cbb7; fill: none; stroke: #141a17;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.learn { display: grid; gap: 10px; margin: 0; }
.learn > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s3); align-items: baseline; padding-top: 10px;
  border-top: 1px solid var(--separator); }
.learn > div:first-child { border-top: 0; padding-top: 0; }
.learn dt { font-size: var(--fs-small); font-weight: 600; color: var(--label); }
.learn dd { margin: 0; font-size: var(--fs-small); line-height: 1.45; color: var(--body); }
@media (max-width: 599.98px) {
  .learn > div { grid-template-columns: 1fr; gap: 2px; }
  .uses li { grid-template-columns: 40px minmax(0, 1fr); font-size: 1.25rem; }
  .uses svg { width: 40px; height: 40px; padding: 9px; }
}

/* The sage band: the words and the map on the left, the card beside them from 1000 px; below that the card is a bottom
   sheet. Site buttons: an <ol> over the map, one transparent button per parcel (its box, never under 24 px). */
.key.key-sites { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--s6); }
.key-main { display: grid; gap: var(--s5); min-width: 0; }
.key-sites .map { touch-action: manipulation; }
.site-list { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.site-btn { position: absolute; width: max(24px, var(--w)); height: max(24px, var(--h)); padding: 0; border: 0; border-radius: 6px;
  left: clamp(4px, calc(var(--x) - max(12px, var(--w) / 2)), calc(100% - max(24px, var(--w)) - 4px));
  top: clamp(4px, calc(var(--y) - max(12px, var(--h) / 2)), calc(100% - max(24px, var(--h)) - 4px));
  background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.site .site-btn:focus-visible { outline-offset: 2px; }
html.site .map .map-svg svg path.hi { transition: fill 120ms ease-out, stroke-width 120ms ease-out; }
html.site .map .map-svg svg path.hi.is-hover { stroke-width: 3.5px; }
html.site .map .map-svg svg path.hi.is-press, html.site .map .map-svg svg path.hi.is-on { fill: #141a17; stroke: #141a17; stroke-width: 3px; }
.site-tip { position: absolute; z-index: 2; padding: 4px 8px; border-radius: 6px; background: #141a17; color: #f8faf9; pointer-events: none;
  font-size: var(--fs-caption); font-weight: 500; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums;
  transform: translate(-50%, calc(-100% - 8px)); opacity: 0; transition: opacity 120ms ease-out; }
.site-tip.is-below { transform: translate(-50%, 8px); }
.site-tip.is-shown { opacity: 1; }
.legend-on { display: none; align-items: center; gap: var(--s2); margin-left: var(--s3); }
.key-sites.card-open .legend-on { display: inline-flex; }
html.site .map-legend .legend-on i { background: #141a17; }
.sites-hint { display: none; margin: 0; font-size: var(--fs-small); color: var(--label-2); }
.js .key-sites.is-live .sites-hint { display: block; }
.sites-browse { display: none; }
.link-btn { min-height: 24px; padding: 0; border: 0; background: none; color: var(--label); font: inherit; font-weight: 500; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.sc-empty { display: none; }

/* The card: the tool's card trimmed (same sections, labels and order), in the site's tokens. */
.sc { --sc-bad: #9b2c22; margin: 0; padding: 0; width: auto; max-width: none; height: auto; max-height: none; inset: auto;
  border: 1px solid var(--separator); border-radius: var(--r-media); background: var(--surface); color: var(--body); box-shadow: var(--shadow-3); }
.sc[open] { display: block; }
.sc:not(:modal) { position: relative; }
.sc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3); align-items: start; padding: var(--s5) var(--s5) 0; }
.sc-grab { display: none; }
.sc .card-title { margin: 0; font-size: 1.25rem; }
.sc-of { font-weight: 400; color: var(--label-2); }
.sc .card-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; }
.sc-ctl { display: flex; gap: 4px; }
.sc-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: var(--surface-2); color: var(--label); cursor: pointer; transition: background-color 120ms ease-out, transform 80ms ease-out; }
.sc-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-btn:hover { background: rgba(15,21,19,.14); }
.sc-btn:active { transform: scale(.94); }
.sc-body { display: grid; gap: var(--s5); padding: var(--s4) var(--s5) var(--s5); }
.sc-body.is-swap { animation: sc-swap 200ms ease-out; }
@keyframes sc-swap { from { opacity: .2; } to { opacity: 1; } }
.sc .fact-v, .sc .row-v, .sc .mk-v, .sc-line { font-variant-numeric: tabular-nums; }
.sc .fact-v { font-size: 1.125rem; }
.sc .fact-v small { font-size: .8125rem; font-weight: 400; color: var(--label-2); }
.sc .fact-v .fact-2 { display: block; }
.sc .fact-v.unk, .sc .row-v .unk, .sc-line .unk { color: var(--label-2); font-weight: 400; }
.sc .row-v .sub, .sc-line .sub { display: block; margin-top: 2px; font-size: var(--fs-caption); font-weight: 400; color: var(--label-2); }
.sc .row-v .sub.warn { color: var(--caution); }
.sc .row-stack { display: grid; gap: 2px; }
.sc .row-stack .row-v { text-align: left; }
.sc .grp-h { margin: 0 0 var(--s2); }
.sc .marks { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.sc .mk svg { width: 18px; height: 18px; fill: none; stroke: var(--label-2); stroke-width: 1.5; }
.sc .mk-v.warn { color: var(--caution); }
.sc .mk-v.bad { color: var(--sc-bad); }
.sc .mk-v.unk { color: var(--label-2); font-weight: 400; }
.sc .fund { margin: 0; padding: 0; list-style: none; }
html.site .sc .fund b.no { color: var(--label-2); }
html.site .sc .fund b.no::before { background: transparent; }
.sc-line { margin: 0; font-size: var(--fs-small); font-weight: 500; color: var(--label); }
.sc .card-foot { margin: 0; }

@media (min-width: 1000px) {
  .key.key-sites { grid-template-columns: minmax(0, 1fr) clamp(360px, 34vw, 448px); gap: var(--s7); }
  .js .key-sites.is-live:not(.card-open) .sc-empty { display: grid; place-items: center; align-self: stretch; min-height: 320px;
    padding: var(--s6); border: 1.5px dashed rgba(15,21,19,.32); border-radius: var(--r-media); text-align: center;
    font-size: var(--fs-small); color: var(--label-2); }
}
@media (max-width: 999.98px) {
  .js .key-sites.is-live .sites-browse { display: inline; }
}
/* The bottom sheet (phones and narrow windows): a modal dialog that rises from the bottom edge and leaves the same way;
   the grabber row can be dragged down to dismiss. Curve ~ the iOS sheet (no overshoot: a tap, not a flick, opened it). */
.sc:modal { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 640px; max-height: min(88dvh, calc(100% - 24px));
  overflow: auto; overscroll-behavior: contain; border-bottom: 0; border-radius: 20px 20px 0 0;
  padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); transition: transform 420ms cubic-bezier(.32, .72, 0, 1); }
.sc:modal.is-up { transform: none; }
.sc:modal.is-drag { transition: none; }
.sc:modal::backdrop { background: rgba(8, 12, 10, .45); opacity: 0; transition: opacity 300ms ease-out; }
.sc:modal.is-up::backdrop { opacity: 1; }
.sc:modal .sc-head { position: sticky; top: 0; z-index: 1; padding-top: 22px; padding-bottom: var(--s2); background: var(--surface);
  border-radius: 20px 20px 0 0; touch-action: none; cursor: grab; }
.sc:modal .sc-grab { display: block; position: absolute; top: 8px; left: 50%; width: 36px; height: 5px; margin-left: -18px;
  border-radius: 3px; background: rgba(15,21,19,.3); }
.sc:modal .sc-body { padding-top: var(--s2); }
html.sheet-open { overflow: hidden; }
@media (max-width: 420px) {
  .sc-head { padding-left: var(--s4); padding-right: var(--s4); }
  .sc-body { padding-left: var(--s4); padding-right: var(--s4); }
  .sc .fund { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sc:modal { transform: none; opacity: 0; transition: opacity 160ms ease-out; }
  .sc:modal.is-up { opacity: 1; }
  .sc-body.is-swap { animation: none; }
  .sc-btn:active { transform: none; }
  html.site .map .map-svg svg path.hi, .site-tip { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .sc:modal::backdrop { background: rgba(8, 12, 10, .62); }
}
@media print {
  .site-list, .site-tip, .sites-hint, .sc-ctl { display: none !important; }
}
.sc .sc-ir { margin-top: 6px; }
.key-sites .map-count, .key-sites .map-legend { pointer-events: none; }
/* WEB-4.3 polish: section 2 keeps its height (the list gets the wider half, one line per item at 1440); the Lot keeps its
   figure on one line; a funding word keeps its dot; from 1000 px the map stays in view beside the card as you scroll. */
.ways.ways-learn { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ways-learn .way { padding: clamp(24px, 2.6vw, 36px); }
.ways-learn .learn { gap: 8px; }
.ways-learn .learn > div { grid-template-columns: 8.75rem minmax(0, 1fr); padding-top: 8px; }
.ways-learn .h3 { margin: 0; }
.sc .facts { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.sc .fact { padding: 10px 12px; }
.sc .fact-v { white-space: nowrap; }
.sc .fact-v .fact-2 { margin-top: 2px; }
.sc .fund li { align-items: flex-start; }
.sc .fund b { white-space: nowrap; }
.sc .mk { padding: 8px 4px; gap: 3px; }
.map-stick { display: grid; gap: var(--s4); min-width: 0; }
@media (min-width: 1000px) {
  .key-sites .key-main { align-self: stretch; align-content: start; }
  .key-sites .map-stick { position: sticky; top: 80px; align-self: start; }
}
@media (max-width: 860px) {
  .ways.ways-learn { grid-template-columns: 1fr; }
}
.ways-learn .learn { gap: 7px; }
.ways-learn .learn > div { padding-top: 0; border-top: 0; }
.ways-learn .way { padding: clamp(24px, 2.4vw, 34px); gap: var(--s3); }
.ways-learn .h3 { text-wrap: balance; }
@media (max-width: 599.98px) {
  .ways-learn .learn { gap: 10px; }
  .ways-learn .learn > div { grid-template-columns: 1fr; gap: 1px; }
}
.sc .fact-v { white-space: normal; }
.sc .nw { white-space: nowrap; }

/* ---- WEB-4.3 addendum (owner, 2026-11-12; the app's docs/SITE_MATCH_1.md, "Aligning the site"): on LIGHT surfaces the
   green is the app's deeper sage #456452 (hover #375544) with near-white ink #fbfcfb — buttons, link underlines, focus
   rings, the card's check and tag dots. Sage #a9cbb7 stays on dark surfaces, as the sage band's background and in the
   logo tiles. Map sites take the app's High pair: fill #72927f, outline #456452. Text selection is the browser's own. */
html.site .tone-light .btn-primary,
html.site .nav[data-over="light"] .btn-primary, html.site .nav[data-over="sage"] .btn-primary { background: #456452; color: #fbfcfb; }
html.site .tone-light .btn-primary:hover,
html.site .nav[data-over="light"] .btn-primary:hover, html.site .nav[data-over="sage"] .btn-primary:hover { background: #375544; box-shadow: none; }
html.site .tone-light a:not(.btn):not(.brand) { text-decoration-color: #456452; }
html.site .tone-light :focus-visible, html.site .nav[data-over="light"] :focus-visible,
html.site .nav[data-over="sage"] :focus-visible { outline: 3px solid #456452; outline-offset: 3px; box-shadow: none; }
html.site .tone-sage :focus-visible { outline: 3px solid #141a17; outline-offset: 3px; box-shadow: none; }      /* on sage itself: ink */
html.site .tone-sage .map :focus-visible, html.site .tone-sage .sc :focus-visible { outline-color: #456452; }    /* the light map and card */
html.site .tone-sage .site-btn:focus-visible { outline-offset: 2px; }
html.site .tone-light .mk-v.ok::before, html.site .tone-light .fund b::before,
html.site .sc .mk-v.ok::before, html.site .sc .fund b.yes::before { background: #456452; box-shadow: none; }
html.site .sc .fund b.no::before { background: transparent; box-shadow: 0 0 0 1px var(--label-2); }
html.site .tone-light .tag-real::before, html.site .tone-light .chip::before { background: #456452; box-shadow: none; }
.uses svg { background: rgba(69, 100, 82, .14); stroke: #456452; }
html.site .map .map-svg svg path.hi { fill: #72927f; stroke: #456452; }
html.site .map-legend i { background: #72927f; border-color: #456452; }
html.site .map-legend .legend-on i { background: #141a17; border-color: #141a17; }
@media (max-width: 420px) {                     /* phones: the Lot on its own row, so a zone code never breaks */
  .sc .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sc .fact:first-child { grid-column: 1 / -1; }
  .sc .fact:first-child .fact-2 { display: inline; margin-left: 8px; }
}
.site-btn { color: var(--label); }                         /* never rendered (no text), kept off pure black for the colour scan */
html.site .map .map-svg svg { fill: var(--map-paper); }
.js .key-sites.is-live .sites-browse { display: inline; }   /* the larger equivalent of the map's small targets, at every width */
.sc .fact-v { font-size: 1rem; }
.sc .fact-v.unk { white-space: nowrap; }

/* ---- WEB-5.1: the product film (version D, no captions) under the hero (owner, 2026-11-13; addendum the same day) ----
   It sits where the old demo did, on the hero's dark lower band (.hero-more), whose colour stays as it was (owner).
   Framing: the film's edges were sampled at 11 moments in both crops: light neutral greys that vary along every edge
   (map buildings #d7d7d7, map paper #ececec, the rail and card #f9f9f9, each about 7% of edge pixels; the export
   dialog's scrim darkens them to ~#a8aead for 2 s), so no background could match them. Two seamless versions were
   tried and turned down by the owner (2026-11-13): a grey band in the film's own colour (the band stays dark) and an
   eased edge feather into the dark (owner: no fade). So the light film keeps a clean edge on the dark band: no border,
   no shadow (invisible on #0b100e anyway), the map's and cards' 16 px radius. The poster is a <picture> over the video
   that cross-fades out when the film first plays.
   The control (addendum 2): a 36 px circle 16 px from the corner (a 44 px hit area), the hero kit's old look; it is
   hidden by default: it fades in on hover (pointer devices), on keyboard focus, and for 3 s after a tap (site.js sets
   data-ctl); it stays visible while the film waits for a press ("Play") or rests at its end ("Replay"). Opacity only,
   always in the accessibility tree. Its focus ring is the light-surface ring with a near-white halo (it sits over the
   light film). */
/* breathing room (apple-design: layout rhythm): the film used to sit flush under the first screen, the hero's credit and
   pause button on its top edge; now there is clear dark space between the first screen and the film (owner) */
html.site .hero-more { padding-top: clamp(80px, 10vw, 160px); }
html.site .film { margin: 0; }
/* the entrance (apple-fluid-design §12, "materialize, don't just fade"): it arrives as a surface, scale and opacity together
   on the site's critically damped spring (a larger surface, so a longer response than the 470 ms text reveal), from just
   below its resting place; reduced motion keeps the site's opacity-only reveal */
.js .film.rv { transform: translateY(24px) scale(.965); transform-origin: 50% 0;
  transition: opacity 500ms ease-out, transform 760ms var(--ease-spring); }
.js .film.rv.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .film.rv { transform: none; transition: opacity var(--dur-fade) ease-out; } }
.film-stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-media); overflow: hidden; background: transparent; isolation: isolate; }
.film-stage video, .film-poster, .film-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.film-poster { z-index: 1; transition: opacity 600ms cubic-bezier(.2,.7,.2,1), visibility 0s linear 600ms; }
.film[data-started] .film-poster { opacity: 0; visibility: hidden; }
.film-ctl { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 36px; height: 36px; padding: 0; margin: 0; border-radius: 18px; border: 1px solid rgba(238,242,240,.3); color: #eef2f0;
  background: rgba(28,36,33,.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font: 500 14px/1 var(--font); letter-spacing: .01em; cursor: pointer;
  opacity: 0; transition: opacity 280ms cubic-bezier(.4,0,.6,1) 500ms, transform 240ms cubic-bezier(.2,.7,.2,1); }
.film[data-ctl] .film-ctl, .film-ctl:focus-visible, .film[data-state="waiting"] .film-ctl, .film[data-state="ended"] .film-ctl {
  opacity: 1; transition: opacity 160ms cubic-bezier(.2,.7,.2,1), transform 240ms cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) {
  .film-stage:hover .film-ctl { opacity: 1; transition: opacity 160ms cubic-bezier(.2,.7,.2,1), transform 240ms cubic-bezier(.2,.7,.2,1); }
}
.film-ctl[hidden] { display: none; }
.film-ctl.is-pill { padding: 0 14px 0 12px; }
.film-ctl::before { content: ""; position: absolute; inset: -5px; border-radius: 23px; }   /* 44+ px hit area */
.film-ctl:active { transform: scale(.97); transition-duration: 80ms; }
.film-ctl svg { flex: none; width: 14px; height: 14px; fill: currentColor; }
.film-ctl-t:empty { display: none; }
html.site .film-ctl:focus-visible { outline: 3px solid #456452; outline-offset: 2px; box-shadow: 0 0 0 2px #fbfcfb; }
.film-note { margin-top: var(--s4); }
@media (max-width: 599.98px) { .film-stage { aspect-ratio: 4 / 5; } }
@media (prefers-reduced-transparency: reduce) {
  .film-ctl { -webkit-backdrop-filter: none; backdrop-filter: none; background: #1c2421; }
}
@media print { .film-ctl { display: none; } }

/* ---- WEB-5.2 (owner, 2026-11-13): section 2's right half is "Signal, not noise." — a heading, a lead and two points in
   place of the five-row list. Same tokens and type as before; the lead takes body size, the two points keep the list's
   label / text columns with a hairline between them, and the extra air keeps the half level with the left one. ---- */
.way-signal { gap: var(--s4); }
.way-signal .signal-lead { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: var(--body); max-width: 58ch; text-wrap: pretty; }
.ways-learn .learn.signal { gap: 12px; }
.ways-learn .learn.signal > div { padding-top: 12px; border-top: 1px solid var(--separator); }
.ways-learn .learn.signal > div:first-child { padding-top: 0; border-top: 0; }
.learn.signal dd { text-wrap: pretty; }
@media (max-width: 599.98px) {
  .way-signal { gap: var(--s3); }
  .ways-learn .learn.signal > div { gap: 2px; }
}

/* ---- WEB-5.3 (owner, 2026-11-13): the map section's notes in one line. "Public records as of … · Screening only ·
   Sources" sits under the map; "Sources" opens a compact popover (a bottom sheet under 600 px) with each source on one
   row, "Screening indicators, not a survey." and the assessor edition — the credits the cards' footers used to carry.
   The card says the zone once (its row, named in plain English), so its tiles are the lot and units, side by side. ---- */
.map-notes { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--label-2); }
.map-notes .notes-btn { min-height: 24px; color: var(--label); }
.sources-pop { box-sizing: border-box; width: min(492px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  margin: auto; padding: var(--s4) var(--s5) var(--s5); border: 1px solid var(--separator); border-radius: var(--r-media);
  background: var(--surface); color: var(--body); box-shadow: var(--shadow-3); font-size: var(--fs-small); line-height: 1.45; }
.sources-pop::backdrop { background: transparent; }
.sources-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s2); }
.sources-title { margin: 0; font-size: 1.0625rem; font-weight: 600; color: var(--label); }
.sources-list { display: grid; margin: 0 0 var(--s3); }
.sources-list > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--s3); padding: 6px 0; font-size: .875rem;
  border-top: 1px solid var(--separator); }
.sources-list > div:first-child { border-top: 0; }
.sources-list dt { font-weight: 500; color: var(--label); }
.sources-list dd { margin: 0; color: var(--body); }
.sources-note { margin: 4px 0 0; font-size: var(--fs-caption); color: var(--label-2); font-variant-numeric: tabular-nums; }
html.site .tone-sage .sources-pop :focus-visible { outline-color: #456452; }    /* the light popover, like the card */
@media (max-width: 599.98px) {
  .sources-pop { inset: auto 0 0 0; width: 100%; max-width: none; max-height: min(88dvh, calc(100% - 24px)); margin: 0;
    border-bottom: 0; border-radius: 20px 20px 0 0; padding: var(--s4) var(--s4) calc(var(--s5) + env(safe-area-inset-bottom)); }
  .sources-pop::backdrop { background: rgba(8, 12, 10, .45); }
  .sources-list > div { grid-template-columns: 6.75rem minmax(0, 1fr); }
}
@media (prefers-reduced-transparency: reduce) {
  .sources-pop::backdrop { background: transparent; }
  @media (max-width: 599.98px) { .sources-pop::backdrop { background: rgba(8, 12, 10, .62); } }
}
.sc .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 420px) {
  .sc .fact:first-child { grid-column: auto; }
  .sc .fact:first-child .fact-2 { display: block; margin-left: 0; }
}

/* ---- WEB-6 (2026-11-13): final polish. The footer's credit line keeps a readable measure (it ran ~124 characters a
   line at 1440); running text avoids a lone last word ("pretty" wrapping, where the browser supports it). ---- */
.credits { max-width: 72ch; }
.l-item p, .signal-lead, .learn dd, .caption, .small, .bio .copy, .sources-note { text-wrap: pretty; }
/* The top bar's logo link: a 44 px tall target (the phone bar hides the wordmark, leaving a 40 x 21 mark). The mark itself
   does not move: the link is centred in the bar. */
html.site .nav .brand { min-height: 44px; }
/* The 404 page (404.html): its dark section fills the screen, so the footer sits at the bottom. */
body.nf { display: flex; flex-direction: column; min-height: 100dvh; }
body.nf main { display: flex; flex: 1; }
body.nf main > section { flex: 1; }
