/* West Knox School Zones guide: shared page styles. Header and footer live in chrome.css. */
:root {
  --paper: #f7f6f1; --sheet: #fffefa; --ink: #172a2b; --muted: #56675f; --rule: #d3dbd2;
  --accent: #1f6a60; --accent-soft: #e1ede6; --deep: #14292b; --deep-2: #1b3a3c; --lime: #d7e8b9;
  --clay: #a8481f; --clay-soft: #f6e4d9; --gold: #8a6a12; --gold-soft: #f5ecd0;
  --c-farragut: #4f8c81; --c-hardin: #b17a40; --c-northshore: #527fa7; --c-lotts: #9a7395; --c-new: #1d3f41;
  --m-farragut: #31796e; --m-hardin: #b55b34; --m-westvalley: #596daa;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2a8fa8; outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--deep); padding: 8px 12px; z-index: 2000; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.narrow { max-width: 780px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 21px; line-height: 1.2; }
h4 { font: 650 15px var(--body); margin: 0 0 6px; }
p { margin: 0 0 14px; }
.eyebrow { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.lede { font-size: 18px; line-height: 1.55; color: #33474a; max-width: 68ch; margin: 12px 0 0; }
.measure { max-width: 72ch; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Page hero */
.hero { color: #f3f5ee; padding: clamp(36px, 6vw, 72px) 0 clamp(34px, 5vw, 60px);
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(215, 232, 185, .16), transparent 62%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .055) 1px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(165deg, #1f4446 0%, #17302f 100%); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .eyebrow { color: #a9c3b9; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { color: #d9e3dc; }
.hero a { color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-compact { padding: clamp(30px, 4.5vw, 54px) 0 clamp(28px, 4vw, 46px); }
.hero-compact h1 { font-size: clamp(32px, 4.4vw, 50px); max-width: 22ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 24px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 15px var(--body); padding: 11px 18px; border-radius: 10px;
  border: 1.5px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 41, 43, .12); transition: transform .12s, background-color .12s, border-color .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:hover { background: #175248; border-color: #175248; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }
.hero .btn { background: var(--lime); border-color: var(--lime); color: var(--deep); }
.hero .btn:hover { background: #e6f2cf; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: #6d918a; }
.hero .btn.ghost:hover { background: #24494b; }

/* Decision panel in the hero */
.decision { border: 1px solid #3a5c5c; border-radius: 12px; padding: 22px 24px; background: #183335; }
.decision h2 { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a9c3b9; margin-bottom: 12px; }
.decision dl { margin: 0; }
.decision dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid #2f5051; }
.decision dl div:first-child { border-top: 0; padding-top: 0; }
.decision dt { font-weight: 700; color: var(--lime); white-space: nowrap; }
.decision dd { margin: 0; color: #e4ebe5; }
.decision .big { font: 500 30px/1.1 var(--serif); color: #fff; margin: 14px 0 4px; }
.decision p { color: #c4d2cb; font-size: 14.5px; margin: 0; }

/* Sections */
.section { padding: clamp(40px, 6vw, 72px) 0 0; }
.section-head { margin-bottom: 24px; }
.section.tint { background: #eff1e9; padding-bottom: clamp(40px, 6vw, 72px); margin-top: clamp(40px, 6vw, 72px); border-block: 1px solid var(--rule); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.stack > * + * { margin-top: 14px; }

.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(18px, 2.4vw, 28px); min-width: 0;
  box-shadow: 0 1px 2px rgba(20, 41, 43, .04), 0 10px 26px -20px rgba(20, 41, 43, .28); }
.card > h3 { margin-bottom: 10px; }
.card > :last-child { margin-bottom: 0; }
.card.flush { padding: 0; overflow: hidden; }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 41, 43, .05), 0 18px 34px -20px rgba(20, 41, 43, .4); }
a.card .more { color: var(--accent); font-weight: 650; font-size: 15px; }
a.card p { color: #3b4f50; font-size: 15px; }
.card .kicker { font: 600 12px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }

/* Numbers */
.stat { min-width: 0; }
.stat .n { font: 500 clamp(32px, 4.4vw, 50px)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 28px; }

/* Labels that say where a number comes from */
.tag { display: inline-block; font: 600 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; vertical-align: 2px; white-space: nowrap; }
.tag.kcs { background: var(--accent-soft); color: #164e46; }
.tag.est { background: var(--gold-soft); color: #6b5007; }
.tag.ask { background: var(--clay-soft); color: #7c3414; }
.src { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.src a { color: #33625b; }

.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; padding: 16px 20px; }
.callout.warn { border-left-color: var(--clay); background: var(--clay-soft); }
.callout.fair { border-left-color: var(--gold); background: var(--gold-soft); }
.callout > :last-child { margin-bottom: 0; }
.callout h3, .callout h4 { margin-bottom: 6px; }
.pull { font: 500 clamp(24px, 3vw, 34px)/1.2 var(--serif); letter-spacing: -.02em; max-width: 24ch; margin: 0; }

/* Segmented scenario picker */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #e6eae1; border-radius: 10px; }
.seg button { font: 600 14.5px var(--body); color: var(--ink); background: transparent; border: 0; border-radius: 7px; padding: 8px 16px; cursor: pointer; }
.seg button:hover { background: #d9dfd3; }
.seg button[aria-pressed="true"] { background: var(--deep-2); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
select, input[type="number"], input[type="search"] { font: inherit; color: inherit; background: var(--sheet); border: 1px solid #9fb0a5; border-radius: 6px; padding: 6px 8px; max-width: 100%; }

/* Scenario summary cards */
.scen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scen .card { display: flex; flex-direction: column; }
.scen .card.pick { border: 2px solid var(--accent); box-shadow: 0 6px 22px rgba(20, 41, 43, .10); }
.pick-badge { align-self: flex-start; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff;
  font: 650 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.scen h3 { font: 700 15px var(--body); letter-spacing: 0; margin-bottom: 2px; }
.scen .tagline { color: var(--muted); font-size: 14px; margin-bottom: 14px; min-height: 2.8em; }
.scen ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14.5px; }
.scen li { padding: 7px 0 7px 22px; border-top: 1px solid var(--rule); position: relative; }
.scen li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.scen li.con::before { background: var(--clay); }
/* Each draft keeps one color everywhere: cards, charts and the explainer video. */
.scen .card { --sc: #17675e; border-top: 5px solid var(--sc); }
.scen .card:nth-child(2) { --sc: #35687d; }
.scen .card:nth-child(3) { --sc: #a04630; }
.scen .stat .n { color: var(--sc); }
.scen .meter { height: 8px; border-radius: 4px; background: #e5e9df; margin: 12px 0 2px; overflow: hidden; }
.scen .meter::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--sc); border-radius: 4px; }

/* Flow ribbons */
.flow { width: 100%; display: block; }
.flow .name { font: 650 13px var(--body); fill: var(--ink); }
@media (max-width: 560px) { .flow .name { font-size: 12px; } }
.flow .count { font: 12px var(--mono); fill: var(--muted); }
.flow .colhead { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.flow path.ribbon { transition: opacity .15s; cursor: default; }
.flow path.ribbon:hover { opacity: .95; }
.flowlist { list-style: none; margin: 0; padding: 0; }
.flowlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 10px 0 12px; border-top: 1px solid var(--rule); position: relative; font-size: 15px; }
.flowlist li:first-child { border-top: 0; }
.flowlist li b { font-variant-numeric: tabular-nums; }
.flowlist li small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.flowlist li i { position: absolute; left: 0; bottom: 4px; height: 3px; border-radius: 2px; }
.arrow { color: var(--muted); padding: 0 2px; }

/* Capacity bars */
.cap { display: grid; gap: 14px; }
.cap-row { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 96px; gap: 12px; align-items: center; font-size: 14.5px; }
.cap-row .who { font-weight: 600; line-height: 1.25; }
.cap-row .who small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.cap-track { position: relative; height: 22px; background: #e5e9df; border-radius: 4px; }
.cap-track i { position: absolute; inset: 0 auto 0 0; border-radius: 4px 0 0 4px; background: var(--accent); max-width: 100%; }
.cap-track i.over { background: var(--clay); }
.cap-track i.none { display: none; }
.cap-track::after { content: ""; position: absolute; left: 80%; top: -5px; bottom: -5px; border-left: 2px dashed var(--ink); }
.cap-row .val { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cap-row .val small { display: block; color: var(--muted); font-size: 12.5px; }
.cap-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); margin-top: 14px; }
.cap-key span::before { content: ""; display: inline-block; width: 12px; height: 10px; margin-right: 6px; background: var(--accent); border-radius: 2px; vertical-align: -1px; }
.cap-key .k-over::before { background: var(--clay); }
.cap-key .k-line::before { background: none; border-left: 2px dashed var(--ink); width: 0; height: 13px; vertical-align: -3px; }
.cap-key .k-na::before { background: #e5e9df; }

/* Tables */
.tscroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
th { font: 600 11.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: left; vertical-align: bottom; border-bottom: 1.5px solid var(--ink); padding: 8px 10px 8px 0; }
td { border-bottom: 1px solid var(--rule); padding: 10px 10px 10px 0; vertical-align: top; }
tbody th { padding: 10px 10px 10px 0; font: 600 14.5px var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); border-bottom: 1px solid var(--rule); vertical-align: top; }
th small, td small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; letter-spacing: 0; text-transform: none; font-family: var(--body); }
td.r, th.r { text-align: right; padding-right: 0; padding-left: 10px; }
tr.total td, tr.total th { font-weight: 700; border-top: 1.5px solid var(--ink); }
td.best { background: var(--accent-soft); }

/* Definition-style rows */
.rows { margin: 0; display: grid; grid-template-columns: minmax(150px, .5fr) minmax(0, 2fr); }
.rows dt, .rows dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--rule); }
.rows dt { font-weight: 650; padding-right: 18px; }
.rows dd > :last-child { margin-bottom: 0; }

details.fold { border-top: 1px solid var(--rule); padding: 12px 0; }
details.fold:last-of-type { border-bottom: 1px solid var(--rule); }
details.fold summary { font-weight: 650; cursor: pointer; }
details.fold[open] summary { margin-bottom: 10px; }
ul.clean { margin: 0; padding-left: 20px; }
ul.clean li { margin: 0 0 8px; }
ul.links { list-style: none; margin: 0; padding: 0; }
ul.links li { padding: 9px 0; border-top: 1px solid var(--rule); }
ul.links li:first-child { border-top: 0; padding-top: 0; }

/* Numbered asks */
.asks { counter-reset: ask; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.asks li { counter-increment: ask; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 20px 20px 18px; }
.asks li::before { content: counter(ask); display: block; font: 500 34px/1 var(--serif); color: var(--accent); margin-bottom: 10px; }
.asks h3 { font: 700 16px var(--body); letter-spacing: 0; margin-bottom: 6px; }
.asks p { font-size: 14.5px; color: #3b4f50; margin: 0; }

/* Calendar strip */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 13px; }
.cal .dow { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 0 4px 6px; }
.cal .d { min-height: 62px; border-radius: 6px; background: #eceee6; padding: 5px 6px; line-height: 1.25; color: var(--muted); }
.cal .d b { display: block; font: 600 12px var(--mono); color: inherit; }
.cal .d.off { background: transparent; border: 1px dashed var(--rule); }
.cal .d.meet { background: var(--accent-soft); color: #164e46; }
.cal .d.hol { background: var(--gold-soft); color: #6b5007; }
.cal .d.pub { background: var(--deep-2); color: #fff; }
.cal .d.read { background: var(--lime); color: var(--deep); font-weight: 600; }
.cal .d.vote { background: var(--clay); color: #fff; }
.cal-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.cal-key span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c, #ccc); }

/* Corridor chain */
.chain { width: 100%; height: auto; display: block; }
.chain text { font-family: var(--body); }

/* Traffic sparklines */
.sparks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.spark { background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; padding: 14px 16px 10px; }
.spark h4 { margin: 0; }
.spark p { font-size: 13px; color: var(--muted); margin: 2px 0 4px; }
.spark svg { display: block; width: 100%; height: auto; }
.spark svg text { font: 9.5px var(--mono); fill: var(--muted); }

/* Meeting recap */
.concerns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.concerns article { background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 0 0 12px 12px; padding: 20px 22px; }
.concerns h3 { margin-bottom: 8px; }
.concerns article > :last-child { margin-bottom: 0; font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid, .split, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .scen { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scen .tagline { min-height: 0; }
  .concerns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .rows dt { padding-bottom: 0; }
  .rows dd { border-top: 0; padding-top: 6px; }
  .cap-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cap-row .cap-track { grid-column: 1 / -1; grid-row: 2; }
  .cal { font-size: 11px; gap: 3px; }
  .cal .d { min-height: 54px; padding: 4px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .seg button { padding: 8px 12px; }
}
@media print { .hero { background: none; color: #000; } .hero h1 { color: #000; } .btn { display: none; } }

/* Long-form pages built from headings and rows */
.prose > h2 { margin: 56px 0 18px; scroll-margin-top: 20px; }
.prose > h2:first-of-type { margin-top: 36px; }
.prose > p { max-width: 80ch; }
.prose .concerns { margin-top: 8px; }

/* Scorecard */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.results div { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: clamp(12px, 2vw, 24px); }
.results .leading { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.results span, .results strong { display: block; }
.results span { font-weight: 650; font-size: 15px; }
.results strong { font: 500 clamp(30px, 5vw, 54px)/1.1 var(--serif); letter-spacing: -.03em; }
.settings { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 8px; }
.settings label { font-weight: 650; font-size: 14.5px; }
.settings select { display: block; margin-top: 4px; font-weight: 400; }
#criteria input { width: 4.6em; }
#criteria td strong { font-weight: 650; }
@media (max-width: 600px) { .results span { font-size: 13.5px; } #criteria { min-width: 500px; } }

.card .kicker.two { min-height: 2.5em; }
.concerns a { font-size: 14px; }

.chain-list { display: none; list-style: none; margin: 0; padding: 0; }
.chain-list li { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 14px; text-align: center; background: var(--sheet); }
.chain-list li b, .chain-list li span { display: block; }
.chain-list li span { font-size: 13.5px; color: var(--muted); }
.chain-list li span.over { color: #a8481f; font-weight: 650; }
.chain-list li.new { background: #1d3f41; border-color: #1d3f41; color: #fff; }
.chain-list li.ns { background: #527fa7; border-color: #527fa7; color: #fff; }
.chain-list li.new span, .chain-list li.ns span { color: #e3ece8; }
.chain-list li.step { border: 0; background: none; padding: 4px 0 6px; }
.chain-list li.step::before { content: "\25B2"; display: block; font-size: 15px; line-height: 1.5; }
.chain-list li.one, .chain-list li.one b { color: #1f6a60; }
.chain-list li.two, .chain-list li.two b { color: #a8481f; }
.chain-list li.step span { color: var(--muted); }
@media (max-width: 700px) { .chain-list { display: block; } .chain-wide { display: none; } }

/* Quotation and issue list */
.quote { margin: 0; padding: 22px 26px; background: var(--sheet); border: 1px solid var(--rule); border-left: 5px solid var(--accent); border-radius: 12px; }
.quote p { font: 500 clamp(20px, 2.4vw, 27px)/1.3 var(--serif); letter-spacing: -.015em; margin: 0 0 10px; max-width: 40ch; }
.quote footer { font-size: 14px; color: var(--muted); margin-top: 14px; }
.issues { list-style: none; counter-reset: issue; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.issues li { counter-increment: issue; display: grid; grid-template-columns: 44px minmax(0, 5fr) minmax(0, 7fr) 190px; gap: 6px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.issues li::before { content: counter(issue); font: 500 30px/1 var(--serif); color: var(--accent); }
.issues h3 { margin: 0; font: 650 17px/1.35 var(--body); letter-spacing: 0; }
.issues p { margin: 0; font-size: 15.5px; }
.issues a { font-size: 14px; font-weight: 650; }
@media (max-width: 860px) { .issues li { grid-template-columns: 34px minmax(0, 1fr); } .issues li > * { grid-column: 2; } }

/* Project timeline, drawn to scale */
.tl { position: relative; padding-top: 50px; }
.tl-flag { position: absolute; right: 0; top: 0; font: 650 13px var(--body); color: var(--clay); }
.tl-bar { position: relative; height: 16px; border-radius: 8px; background: #c9d8d0; margin-bottom: 0; }
.tl-yr { position: absolute; top: -20px; height: 36px; border-left: 1px solid #b9c7bf; padding: 0 0 0 5px; font: 11px/1 var(--mono); color: var(--muted); }
.tl-tail { position: absolute; top: -5px; right: 0; height: 26px; min-width: 4px; background: var(--clay); border-radius: 2px; }
.tl-dot { position: absolute; top: -4px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--deep); color: #fff; font: 650 12px/24px var(--body); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--paper); }
.tl-dot:first-of-type { margin-left: 0; }
.tl-dot:nth-of-type(5) { margin-left: -26px; }
.tl-funnel { height: 44px; margin-top: 5px; background: var(--clay-soft); clip-path: polygon(98.86% 0, 100% 0, 100% 100%, 0 100%); }
.tl-zoom { display: flex; gap: 2px; height: 46px; }
.tl-zoom span { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 0 6px; font: 650 13.5px var(--body); white-space: nowrap; overflow: hidden; color: #fff; }
.tl-zoom span:first-child { border-radius: 6px 0 0 6px; } .tl-zoom span:last-child { border-radius: 0 6px 6px 0; }
.tl .z-meet { background: #6f9d95; } .tl .z-work { background: #8a968f; } .tl .z-pub { background: var(--deep); }
.tl .z-read { background: var(--lime); color: var(--deep); } .tl .z-vote { background: var(--clay); }
.tl-key, .tl-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px 26px; font-size: 14px; color: var(--muted); }
.tl-key { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tl-key li { background: none !important; color: var(--muted) !important; padding-left: 20px; position: relative; }
.tl-key li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 3px; background: currentColor; }
.tl-key li.z-meet::before { background: #6f9d95; } .tl-key li.z-work::before { background: #8a968f; } .tl-key li.z-pub::before { background: var(--deep); }
.tl-key li.z-read::before { background: var(--lime); box-shadow: inset 0 0 0 1px #9db577; } .tl-key li.z-vote::before { background: var(--clay); }
.tl-key b, .tl-list b { color: var(--ink); font-weight: 650; }
.tl-list { counter-reset: tl; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.tl-list li { counter-increment: tl; padding-left: 30px; position: relative; }
.tl-list li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--deep); color: #fff; font: 650 11.5px/21px var(--body); text-align: center; }
.clockline { font: 500 clamp(22px, 2.8vw, 32px)/1.25 var(--serif); letter-spacing: -.02em; max-width: 30ch; margin: 0; }
@media (max-width: 620px) { .tl-zoom span { font-size: 11.5px; padding: 0 2px; } .tl-zoom .z-meet { font-size: 0; } .tl-yr { font-size: 10px; } .tl-flag { font-size: 12px; } }

/* Scenario 2: how the moves connect */
.dom { display: grid; gap: 14px; }
.dom-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--rule); }
.dom-row > h4 { margin: 0; font: 650 15px var(--body); }
.dom-row > h4 small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.dom-chain { display: flex; align-items: stretch; gap: 0; min-width: 0; }
.dom-node { flex: 0 1 170px; min-width: 0; border: 1px solid var(--rule); background: var(--sheet); border-radius: 10px; padding: 10px 12px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.dom-node b { font-size: 14.5px; line-height: 1.25; } .dom-node span { font-size: 12.5px; color: var(--muted); }
.dom-node.hv { background: #b17a40; border-color: #b17a40; color: #fff; } .dom-node.fa { background: #4f8c81; border-color: #4f8c81; color: #fff; }
.dom-node.ns { background: #527fa7; border-color: #527fa7; color: #fff; } .dom-node.nw { background: #1d3f41; border-color: #1d3f41; color: #fff; }
.dom-node.hv span, .dom-node.fa span, .dom-node.ns span, .dom-node.nw span { color: #eef3f0; }
.dom-move { flex: 1 1 110px; min-width: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 6px; text-align: center; position: relative; }
.dom-move b { font: 500 22px/1 var(--serif); } .dom-move span { font-size: 12px; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.dom-move::after { content: ""; display: block; width: 100%; height: 12px; margin-top: 6px; background: currentColor; clip-path: polygon(0 35%, calc(100% - 12px) 35%, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, calc(100% - 12px) 65%, 0 65%); }
.dom-move.relief { color: var(--accent); } .dom-move.knock { color: var(--clay); }
.dom-move b { color: inherit; }
@media (max-width: 860px) {
  .dom-row { grid-template-columns: minmax(0, 1fr); }
  .dom-chain { flex-direction: column; align-items: stretch; }
  .dom-node { flex: none; } .dom-move { flex: none; padding: 8px 0; }
  .dom-move::after { width: 14px; height: 22px; clip-path: polygon(35% 0, 65% 0, 65% calc(100% - 10px), 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px), 35% calc(100% - 10px)); }
}
@media (max-width: 620px) { .tl-dot { width: 18px; height: 18px; line-height: 18px; margin-left: -9px; top: -1px; font-size: 10.5px; } .tl-dot:nth-of-type(5) { margin-left: -20px; } }

/* Section labels carry a short accent rule */
.section-head .eyebrow::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); margin-right: 10px; vertical-align: 3px; }

/* Home: neighborhood finder in the hero */
.finder { margin-top: 26px; max-width: 560px; }
.finder label { display: block; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a9c3b9; margin-bottom: 8px; }
.finder div { display: flex; gap: 8px; }
.finder input { flex: 1 1 auto; min-width: 0; font: 16px var(--body); color: var(--ink); background: #fff; border: 0; border-radius: 10px; padding: 12px 14px; }
.finder input:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.finder .btn { flex: none; }
.finder p { font-size: 14px; color: #b9cbc3; margin: 8px 0 0; }

/* Home: three ways in, overlapping the hero */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(-44px, -3vw, -24px); position: relative; }
.paths a { display: grid; align-content: start; gap: 6px; background: var(--sheet); border: 1px solid var(--rule); border-top: 5px solid var(--pc, var(--accent)); border-radius: 14px;
  padding: 20px 22px 18px; color: inherit; text-decoration: none; box-shadow: 0 14px 34px -22px rgba(20, 41, 43, .55); transition: transform .15s, box-shadow .15s; }
.paths a:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(20, 41, 43, .6); }
.paths a:nth-child(2) { --pc: #35687d; } .paths a:nth-child(3) { --pc: #a04630; }
.paths h2 { font: 600 23px/1.2 var(--serif); letter-spacing: -.02em; margin: 0; }
.paths p { font-size: 15px; color: #3b4f50; margin: 2px 0 6px; }

/* Home: the featured tool card */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: linear-gradient(165deg, #1f4446, #17302f); color: #f3f5ee;
  border-radius: 16px; padding: clamp(22px, 3.4vw, 40px); text-decoration: none; margin-bottom: 20px; box-shadow: 0 18px 40px -26px rgba(20, 41, 43, .7); transition: transform .15s; }
.feature:hover { transform: translateY(-3px); }
.feature .kicker { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin: 0 0 10px; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); color: #fff; margin-bottom: 10px; }
.feature p { color: #d9e3dc; font-size: 16.5px; max-width: 46ch; }
.feature .btn { background: var(--lime); border-color: var(--lime); color: var(--deep); margin-top: 6px; }
.feature img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #3a5c5c; }
@media (max-width: 900px) { .paths, .feature { grid-template-columns: minmax(0, 1fr); } .paths { margin-top: 20px; } }
@media (max-width: 480px) { .finder div { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .btn, a.card, .paths a, .feature { transition: none; } .btn:hover, a.card:hover, .paths a:hover, .feature:hover { transform: none; } html { scroll-behavior: auto; } }
