:root {
  --midnight: #101718;
  --deep: #0a1112;
  --slate: #1a2829;
  --slate-2: #263536;
  --amber: #e49a3b;
  --amber-hot: #ffc667;
  --cream: #f0e3c5;
  --muted: #b9ae95;
  --green: #112720;
  --line: rgba(240, 227, 197, .18);
  --mono: 'Space Mono', monospace;
  --serif: 'Crimson Pro', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); color-scheme: dark; scrollbar-color: var(--amber) var(--deep); scrollbar-width: thin; }
body { margin: 0; background: var(--midnight); color: var(--cream); font-family: var(--serif); font-size: 18px; font-optical-sizing: auto; overflow-x: hidden; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--deep); }
body::-webkit-scrollbar-thumb { background: linear-gradient(var(--amber-hot),#8d5726); border: 3px solid var(--deep); border-radius: 99px; }
button, input { font: inherit; }
a { color: inherit; }
button, a, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255,198,103,.18); }
p { text-wrap: pretty; }
h1,h2,h3 { text-wrap: balance; font-optical-sizing: auto; }
section[id] { scroll-margin-top: 24px; }
.sr-only { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.skip-link { position:absolute;z-index:100;left:18px;top:14px;transform:translateY(-160%);padding:12px 16px;background:var(--amber-hot);color:var(--deep);font:10px var(--mono);text-transform:uppercase;letter-spacing:.1em;text-decoration:none;box-shadow:0 12px 30px #000;transition:transform .2s ease; }
.skip-link:focus { transform:none; }
::selection { background: var(--amber-hot); color: #071010; text-shadow: none; }
.noise { position: fixed; inset: 0; z-index: 20; opacity: .055; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.site-header { height: 82px; padding: 0 clamp(22px,4vw,70px); display: flex; align-items: center; justify-content: space-between; position: absolute; z-index: 30; width: 100%; border-bottom: 1px solid rgba(240,227,197,.12); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.brand svg { width: 44px; fill: none; stroke: var(--amber); stroke-width: 1.8; }
.site-header nav { display: flex; gap: clamp(18px,3vw,48px); font-family: var(--mono); text-transform: uppercase; font-size: 10px; letter-spacing: .14em; }
.site-header nav a { min-height: 44px; display: flex; align-items: center; position:relative; text-decoration: none; color: var(--muted); transition: color .25s; }
.site-header nav a::after { content:'';position:absolute;left:0;right:100%;bottom:7px;height:1px;background:var(--amber);transition:right .35s cubic-bezier(.2,.8,.2,1); }
.site-header nav a:hover,.site-header nav a:focus-visible { color: var(--amber-hot); }
.site-header nav a:hover::after,.site-header nav a:focus-visible::after { right:0; }
.sound-toggle { min-height: 44px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10,17,18,.4); color: var(--cream); display: flex; align-items: center; gap: 9px; padding: 0 16px; cursor: pointer; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.sound-toggle { transition:color .25s,border-color .25s,background .25s,transform .25s cubic-bezier(.2,.8,.2,1); }
.sound-toggle:hover,.sound-toggle:focus-visible { color:var(--amber-hot);border-color:rgba(255,198,103,.65);background:rgba(228,154,59,.07);transform:translateY(-1px); }
.sound-dot { width: 7px; height: 7px; border-radius: 50%; background: #6c6960; box-shadow: 0 0 0 3px rgba(108,105,96,.12); }
.sound-toggle[aria-pressed="true"] .sound-dot { background: var(--amber-hot); box-shadow: 0 0 10px var(--amber); }

.hero { min-height: 900px; height: 100svh; max-height: 1100px; position: relative; display: grid; grid-template-columns: minmax(340px,.8fr) minmax(620px,1.2fr); overflow: hidden; background: radial-gradient(circle at 73% 44%, #223535 0, #152324 27%, transparent 52%), linear-gradient(115deg,#0a1112 0%,#111c1d 58%,#0d1516 100%); }
.hero::before { content: ''; position: absolute; left: 0; right: 0; top: 82px; height: 1px; background: linear-gradient(90deg,transparent,var(--amber),transparent); opacity: .18; }
.hero-copy { z-index: 3; align-self: center; padding: 100px 0 80px clamp(28px,7vw,120px); }
.eyebrow, .kicker { font-family: var(--mono); font-size: 10px; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-hot); }
.hero h1 { font-size: clamp(78px,9vw,150px); line-height: .72; letter-spacing: -.055em; font-weight: 300; margin: 40px 0 48px; white-space: nowrap; }
.hero h1 i { color: var(--amber); font-weight: 300; margin-left: .4em; }
.standfirst { max-width: 490px; color: #d3c8ae; line-height: 1.65; font-size: 20px; }
.field-link { display: inline-flex; gap: 35px; align-items: center; margin-top: 30px; min-height: 48px; text-decoration: none; border-bottom: 1px solid var(--amber); font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.field-link { transition:gap .35s cubic-bezier(.2,.8,.2,1),color .25s; }
.field-link:hover,.field-link:focus-visible { gap:48px;color:var(--amber-hot); }
.field-link b { color: var(--amber); font-size: 18px; animation: drift 2s ease-in-out infinite; }
.hero-map { min-width: 0; position: relative; align-self: stretch; border-left: 1px solid rgba(240,227,197,.12); display: grid; place-items: center; overflow: hidden; }
.hero-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,var(--midnight) 0%,transparent 18%,transparent 83%,rgba(228,154,59,.06)); }
.survey-live { position:absolute;z-index:4;left:30px;top:142px;display:flex;align-items:center;gap:8px;font:8px var(--mono);letter-spacing:.15em;text-transform:uppercase;color:var(--amber-hot); }
.survey-live i { width:7px;height:7px;border:1px solid var(--amber-hot);border-radius:50%;box-shadow:0 0 0 0 rgba(255,198,103,.4);animation:live-ring 2.2s ease-out infinite; }
.map-sweep { position:absolute;z-index:2;top:82px;bottom:0;width:23%;left:-30%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,198,103,.035) 45%,rgba(255,198,103,.2) 50%,rgba(255,198,103,.035) 55%,transparent);mix-blend-mode:screen;animation:map-sweep 7s 1.1s cubic-bezier(.55,.08,.35,.95) infinite; }
.map-meta { position: absolute; top: 113px; left: 30px; right: 30px; display: flex; justify-content: space-between; font: 9px var(--mono); letter-spacing: .14em; color: var(--muted); }
.city-svg { width: min(92%,830px); height: auto; overflow: visible; transform: rotate(-2deg); }
.blocks path { fill: #1e2b2c; stroke: rgba(240,227,197,.09); }
.roads path { fill: none; stroke: rgba(240,227,197,.18); stroke-width: 3; }
.roads .minor { stroke-width: 1; stroke-dasharray: 5 7; opacity: .65; }
.river { fill: none; stroke: url(#river); stroke-width: 40; }
.territory-lines path { fill: none; stroke: rgba(228,154,59,.24); stroke-dasharray: 4 6; }
.sonogram-sky path { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 4s 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
.city-svg text { font: 8px var(--mono); letter-spacing: .16em; fill: #877e6c; }
.hero-songposts circle { fill: var(--cream); stroke: var(--amber); stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: pulse 2.5s var(--delay) ease-in-out infinite; }
.hero-caption { position: absolute; bottom: 46px; left: 32px; right: 32px; display: flex; gap: 30px; font: 9px var(--mono); text-transform: uppercase; color: var(--muted); }
.hero-caption b { color: var(--cream); font-size: 13px; margin-right: 4px; }
.hero-index { position: absolute; right: -13px; bottom: 0; color: rgba(240,227,197,.08); font: 100px/.8 var(--mono); letter-spacing: -.1em; }
.hero-index span { font-size: 26px; }
.reveal { opacity: 0; transform: translateY(22px); animation: reveal .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-map.reveal { animation-delay: .22s; }

.band { display: grid; grid-template-columns: .45fr 1.3fr .75fr; gap: clamp(28px,5vw,90px); padding: 150px clamp(24px,7vw,120px); border-top: 1px solid var(--line); }
.section-number { font: 9px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.band h2, .section-head h2, .masking h2, .quiet-head h2, .notes-title h2, .dawn h2 { font-size: clamp(46px,5.5vw,88px); line-height: .94; letter-spacing: -.035em; font-weight: 300; margin: 14px 0 0; }
h2 em { color: var(--amber); font-weight: 300; }
.intro-note { padding-top: 30px; color: var(--muted); line-height: 1.6; }
.intro-note p:first-child::first-letter { float: left; color: var(--amber); font-size: 68px; line-height: .7; margin: 10px 10px 0 0; }

.atlas { padding: 125px clamp(20px,5vw,80px); background: #0a1213; border-top: 1px solid var(--line); }
.section-head { max-width: 1350px; margin: 0 auto 60px; display: grid; grid-template-columns: 1.1fr .65fr; align-items: end; gap: 70px; }
.section-head p:last-child { color: var(--muted); max-width: 530px; line-height: 1.6; }
.atlas-shell { max-width: 1480px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) 340px; border: 1px solid var(--line); min-height: 710px; background: #0d1617; box-shadow: 0 40px 100px rgba(0,0,0,.3); }
.atlas-map-wrap { min-width: 0; position: relative; overflow: hidden; border-right: 1px solid var(--line); background: radial-gradient(circle at 50% 45%,#172625,#0c1516 65%); }
#atlas-map { width: 100%; height: 100%; display: block; touch-action:none; }
.atlas-blocks path { fill: #182424; stroke: rgba(240,227,197,.065); }
.atlas-roads path { fill: none; stroke: rgba(240,227,197,.2); stroke-width: 3; }
.atlas-roads .thin { stroke-width: 1; stroke-dasharray: 3 7; }
.atlas-river { fill: none; stroke: #183431; stroke-width: 45; }
.district-labels text { font: 10px var(--mono); letter-spacing: .2em; fill: #a09782; }
.atlas-territories path { fill: rgba(228,154,59,.018); stroke: rgba(228,154,59,.32); stroke-width: 1.4; stroke-dasharray: 5 7; }
.atlas-posts .post-ring { fill: #0d1617; stroke: #e5dbbd; stroke-width: 2; }
.atlas-posts .post-core { fill: var(--amber); }
.atlas-posts g { cursor: pointer; outline: none; }
.atlas-posts g:hover .post-ring, .atlas-posts g.active .post-ring, .atlas-posts g:focus-visible .post-ring { stroke: var(--amber-hot); stroke-width: 4; }
.atlas-posts text { font: 9px var(--mono); fill: #c8bfa6; }
.atlas-traces path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; opacity: .32; cursor: ew-resize; pointer-events: stroke; transition: opacity .25s, stroke-width .25s; }
.atlas-traces .trace-hit { stroke: transparent; stroke-width: 34; opacity: 1; filter: none; }
.atlas-traces .trace-hit:hover { stroke: transparent; stroke-width: 34; opacity: 1; filter: none; }
.atlas-traces path:not(.trace-hit):hover, .atlas-traces path.active { opacity: 1; stroke-width: 5; filter: url(#atlas-glow); }
.atlas-traces path.playing { stroke-dasharray: var(--length); animation: trace-play 1.6s linear; }
.trace-marker { fill:var(--cream);stroke:var(--amber);stroke-width:3;filter:url(#atlas-glow);opacity:0;pointer-events:none;transition:opacity .2s ease; }
.trace-marker.visible { opacity:1; }
.trace-hud { position:absolute;z-index:4;right:23px;top:21px;display:flex;align-items:baseline;gap:16px;padding:9px 11px;border:1px solid rgba(255,198,103,.22);background:rgba(7,12,13,.72);backdrop-filter:blur(8px);font:8px var(--mono);letter-spacing:.11em;text-transform:uppercase;color:#c9bea4; }
.trace-hud b { color:var(--amber-hot);font-size:13px;font-weight:400;font-variant-numeric:tabular-nums; }
.map-scale { position: absolute; right: 25px; bottom: 20px; font: 8px var(--mono); color: var(--muted); letter-spacing: .1em; }
.map-scale span { width: 60px; height: 1px; background: var(--cream); display: inline-block; vertical-align: middle; margin-right: 8px; }
.scrub-instruction { position: absolute; left: 22px; bottom: 7px; font: 9px var(--mono); letter-spacing: .1em; color: var(--amber-hot); text-transform: uppercase; }
.scrub-instruction span { font-size: 18px; vertical-align: -2px; margin-right: 8px; }
.station-panel { padding: 28px; background: linear-gradient(180deg,#152020,#0c1415); }
.station-top { font: 8px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); display: flex; justify-content: space-between; }
.station-top b { color: var(--amber-hot); }
.station-panel h3 { font-size: 38px; font-weight: 400; line-height: 1; margin: 30px 0 5px; }
.station-panel > p { color: var(--muted); font-size: 16px; }
.mini-sonogram { height: 126px; position: relative; margin: 26px 0; border-block: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; background: repeating-linear-gradient(90deg,transparent 0 29px,rgba(240,227,197,.04) 30px); }
.mini-sonogram svg { width: 100%; }
.mini-sonogram path { fill: none; stroke: var(--amber); stroke-width: 2; }
.mini-sonogram i { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--cream); box-shadow: 0 0 12px var(--amber); opacity: 0; }
.mini-sonogram.play i { opacity: 1; animation: scan 1.6s linear; }
.station-panel dl { margin: 0; }
.station-panel dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 13px 0; font: 9px var(--mono); text-transform: uppercase; }
.station-panel dt { color: var(--muted); }
.station-panel dd { margin: 0; text-align: right; }
.station-note { line-height: 1.5; }
#replay-trace { width: 100%; min-height: 50px; border: 1px solid var(--amber); color: var(--cream); background: transparent; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; transition:background .28s,color .28s,letter-spacing .28s; }
#replay-trace:hover,#replay-trace:focus-visible { background: var(--amber); color: var(--deep); letter-spacing:.12em; }
.atlas-legend { max-width: 1480px; margin: 0 auto; min-height: 64px; border: 1px solid var(--line); border-top: 0; display: flex; align-items: center; gap: 35px; padding: 0 20px; font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.key { display: inline-block; vertical-align: middle; width: 18px; height: 8px; margin-right: 8px; }
.key.post { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.key.contour { border-top: 2px solid var(--amber); }
.key.boundary { border-top: 1px dashed var(--cream); }
.atlas-time { margin-left: auto; color: var(--amber-hot); }

.masking { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 840px; background: #172322; border-block: 1px solid var(--line); }
.masking-copy { padding: 120px clamp(26px,6vw,100px); border-right: 1px solid var(--line); }
.masking-copy > p:not(.eyebrow):not(.data-caveat) { color: var(--muted); max-width: 520px; line-height: 1.65; }
.noise-control { margin-top: 80px; }
.noise-control label { display: flex; justify-content: space-between; align-items: end; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.noise-control output { color: var(--amber-hot); font-size: 28px; letter-spacing: -.05em; }
input[type="range"] { width: 100%; height: 44px; appearance: none; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg,var(--amber) var(--progress,12%),rgba(240,227,197,.2) var(--progress,12%)); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--amber-hot); border: 6px solid #172322; box-shadow: 0 0 0 1px var(--amber); margin-top: -11px; }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(240,227,197,.2); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--amber); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--amber-hot); border: 6px solid #172322; }
.range-labels { display: flex; justify-content: space-between; font: 8px var(--mono); text-transform: uppercase; color: var(--muted); }
.data-caveat { margin-top: 55px; padding-left: 18px; border-left: 2px solid var(--amber); color: #c9bea4; font: 9px/1.7 var(--mono); }
.masking-stage { min-width: 0; position: relative; isolation:isolate; padding: 100px 6vw 50px; overflow: hidden; background: radial-gradient(circle at 50% 40%,#253b39 0,transparent 55%),#101b1b; }
.masking-stage::before { content:'';position:absolute;inset:auto -10% 0;height:calc(70px + var(--city-pressure, .12) * 230px);pointer-events:none;background:linear-gradient(180deg,transparent,rgba(228,115,35,.08) 25%,rgba(228,115,35,.2));filter:blur(18px);transition:height .22s cubic-bezier(.2,.7,.3,1); }
.masking-stage::after { content:'FREQUENCY / CIVIC RESPONSE';position:absolute;z-index:-1;right:-14px;top:50%;transform:rotate(90deg) translateX(50%);transform-origin:right bottom;font:7px var(--mono);letter-spacing:.23em;color:rgba(240,227,197,.25); }
.answer-field { position:absolute;z-index:5;inset:0;pointer-events:none;opacity:0;transform:scale(.82);background:repeating-radial-gradient(ellipse at 67% 45%,transparent 0 34px,rgba(255,198,103,.22) 35px,transparent 36px 70px);mix-blend-mode:screen; }
.answer-field i { position:absolute;width:8px;height:8px;border:1px solid var(--amber-hot);border-radius:50%;box-shadow:0 0 18px var(--amber); }
.answer-field i:nth-child(1){left:58%;top:24%}.answer-field i:nth-child(2){left:76%;top:37%}.answer-field i:nth-child(3){left:49%;top:54%}.answer-field i:nth-child(4){left:84%;top:65%}.answer-field i:nth-child(5){left:65%;top:77%}
.masking-stage.answering .answer-field { animation:city-answer-field 1.35s cubic-bezier(.12,.72,.18,1); }
.city-answer { position:absolute;z-index:7;left:50%;top:48%;width:min(380px,72%);padding:24px 28px;border-block:1px solid rgba(255,198,103,.55);background:rgba(7,12,13,.78);backdrop-filter:blur(12px);box-shadow:0 24px 80px rgba(0,0,0,.42);opacity:0;pointer-events:none;transform:translate(-42%,-50%) scale(.94); }
.city-answer span,.city-answer p { display:block;margin:0;font:8px/1.5 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#bdb39c; }
.city-answer b { display:block;margin:7px 0 4px;font:44px/.95 var(--serif);font-weight:300;letter-spacing:-.045em;color:var(--amber-hot);font-variant-numeric:tabular-nums; }
.masking-stage.answering .city-answer { animation:city-answer-card 1.35s cubic-bezier(.12,.72,.18,1); }
.stage-head,.stage-bottom { display: flex; justify-content: space-between; font: 8px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
#response-mode { color: var(--amber-hot); }
#masking-sonogram { width: 100%; height: 520px; overflow: visible; margin-top: 15px; }
.sono-grid path { fill: none; stroke: rgba(240,227,197,.08); stroke-width: 1; }
.noise-floor-shape { fill: url(#noise-fill); transition: d .25s ease; }
.adaptive-traces path { fill: none; stroke: var(--cream); stroke-width: 3; stroke-linecap: round; transition: transform .2s ease, stroke-width .2s ease; transform-origin: center; }
.adaptive-traces path.hot { stroke: var(--amber-hot); }
.adaptive-combs line { stroke: var(--amber); stroke-width: 2; }
.frequency-axis { position: absolute; top: 148px; bottom: 145px; left: 22px; display: flex; flex-direction: column; justify-content: space-between; font: 8px var(--mono); color: #8d8574; }
.stage-bottom { color: var(--cream); }
.response-rail { position:absolute;left:6vw;right:6vw;bottom:76px;display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line);background:rgba(7,12,13,.42);backdrop-filter:blur(6px); }
.response-rail div { min-width:0;padding:12px 14px;border-right:1px solid var(--line); }
.response-rail div:last-child { border-right:0; }
.response-rail span,.response-rail b { display:block;font:7px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted); }
.response-rail b { margin-top:4px;font-size:13px;color:var(--amber-hot);font-variant-numeric:tabular-nums; }
.city-silhouette { position: absolute; bottom: 0; left: 0; right: 0; height: 85px; display: flex; align-items: end; gap: 3px; opacity: .22; }
.city-silhouette i { display: block; flex: 1; background: #030707; height: 30px; }
.city-silhouette i:nth-child(2n) { height: 58px; }.city-silhouette i:nth-child(3n) { height: 44px; }.city-silhouette i:nth-child(5n) { height: 76px; }

.territories { position:relative;isolation:isolate;background:radial-gradient(circle at 58% 38%,rgba(228,154,59,.18),transparent 30%),linear-gradient(118deg,#f1e6ca 0,#e7d9b8 49%,#efe3c7 100%); color: #172120; grid-template-columns: .35fr .95fr 1fr; align-items: start; padding-block: 125px;overflow:hidden; }
.territories::before { content:'';position:absolute;z-index:-1;inset:0;opacity:.34;background-image:repeating-linear-gradient(0deg,transparent 0 31px,rgba(23,33,32,.08) 32px),repeating-linear-gradient(90deg,transparent 0 79px,rgba(158,86,34,.055) 80px),linear-gradient(90deg,transparent 49.92%,rgba(158,86,34,.24) 50%,transparent 50.08%);mask-image:linear-gradient(90deg,transparent,#000 20%,#000 86%,transparent); }
.territories::after { content:'COUNTERSONG / 71';position:absolute;z-index:-1;right:3vw;bottom:-.14em;font:clamp(70px,11vw,170px)/1 var(--mono);font-weight:700;letter-spacing:-.1em;color:rgba(120,70,35,.055);white-space:nowrap; }
.territories .section-number { color: #5e5d51; }
.territories h2 em { color: #9e5622; }
.territories .kicker { color: #8c4e24; }
.overlap-diagram { grid-column: 2; margin-top: 50px; border-top: 1px solid rgba(16,23,24,.25); padding-top: 25px; }
.overlap-diagram svg { width: 112%; margin-left: -6%; overflow: visible; }
.overlap-diagram .orb { fill: rgba(32,69,57,.11); stroke: #19382f; stroke-width: 1.4; stroke-dasharray: 4 5; }
.overlap-diagram .b { fill: rgba(180,102,35,.1); stroke: #a85e27; }
.overlap-diagram .pulse { fill: none; stroke: #b36128; stroke-width: 3; }
.overlap-diagram .pulse { transition:filter .4s,stroke-width .4s; }
.overlap-diagram:hover .pulse { stroke-width:4;filter:drop-shadow(0 0 8px rgba(179,97,40,.4)); }
.overlap-diagram text { font: 9px var(--mono); fill: #172120; letter-spacing: .1em; }
.overlap-diagram p { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.overlap-diagram p b { color: #a05423; font-size: 32px; }
.overlap-diagram p span { font-size: 8px; color: #5e5d51; }
.territory-facts { grid-column: 3; grid-row: 1 / span 2; border-top: 1px solid rgba(16,23,24,.28); }
.territory-facts article { padding: 35px 0; border-bottom: 1px solid rgba(16,23,24,.28); }
.territory-facts b { display: block; font-size: 60px; line-height: 1; font-weight: 300; color: #9e5622; }
.territory-facts span { font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.territory-facts p { color: #4f5651; line-height: 1.5; max-width: 390px; }

.quiet-window { padding: 130px clamp(24px,7vw,120px); background: linear-gradient(135deg,#0a1112,#13251f); }
.quiet-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; max-width: 1400px; margin: 0 auto 70px; }
.quiet-head > p { color: var(--muted); line-height: 1.6; }
.heat-layout { max-width: 1400px; margin: auto; display: grid; grid-template-columns: 1.5fr .5fr; gap: 50px; }
.heat-map { min-width: 0; display: grid; gap: 7px;position:relative;overflow:hidden;padding-bottom:30px; }
.heat-scan { position:absolute;z-index:3;top:0;bottom:30px;left:150px;width:calc((100% - 150px)/5);pointer-events:none;border-inline:1px solid rgba(255,198,103,.65);background:linear-gradient(90deg,transparent,rgba(255,198,103,.13),transparent);animation:heat-travel 8s cubic-bezier(.4,0,.2,1) infinite alternate;transition:transform .55s cubic-bezier(.18,.78,.25,1); }
.heat-map.exploring .heat-scan { animation:none;transform:translateX(calc(var(--scan-index,0) * 100%)); }
.heat-labels,.heat-row { display: grid; grid-template-columns: 150px repeat(5,1fr); gap: 7px; }
.heat-labels span { grid-column: auto; font: 8px var(--mono); color: #d4c8ac; text-align: center; }
.heat-labels span:first-child { grid-column: 2; }
.heat-row b { font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.heat-row div { height: 68px; border: 1px solid rgba(240,227,197,.08); background: color-mix(in srgb,var(--amber) calc(var(--heat) * 9%),#14201e); position: relative; overflow: hidden; cursor:crosshair;transition:transform .3s cubic-bezier(.18,.78,.25,1),border-color .25s,filter .25s; }
.heat-row div::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--cream); left: calc(var(--heat) * 8%); top: 50%; opacity: calc(var(--heat) / 10); box-shadow: 0 0 calc(var(--heat) * 2px) var(--amber-hot); }
.heat-row div:hover,.heat-row div:focus-visible,.heat-row div.selected { z-index:4;transform:translateY(-4px);border-color:var(--amber-hot);filter:brightness(1.18);outline:none; }
.heat-row div:focus-visible { box-shadow:0 0 0 2px var(--deep),0 0 0 4px var(--amber-hot); }
.heat-instruction { position:absolute;left:150px;bottom:0;margin:0;font:7px var(--mono);letter-spacing:.11em;text-transform:uppercase;color:#aca38e; }
[data-heat="2"]{--heat:2}[data-heat="3"]{--heat:3}[data-heat="4"]{--heat:4}[data-heat="5"]{--heat:5}[data-heat="6"]{--heat:6}[data-heat="7"]{--heat:7}[data-heat="8"]{--heat:8}[data-heat="9"]{--heat:9}
.quiet-callout { border-left: 1px solid var(--line); padding-left: 38px; }
.giant-time { font: clamp(45px,5vw,80px)/1 var(--mono); color: var(--amber-hot); letter-spacing: -.08em; }
.quiet-callout h3 { font-size: 32px; font-weight: 400; margin: 25px 0 5px; }
.quiet-callout p { color: var(--muted); line-height: 1.55; }
.meter { height: 2px; background: var(--line); margin: 35px 0 12px; }
.meter i { display: block; width: 84%; height: 100%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.quiet-callout small { font: 8px var(--mono); text-transform: uppercase; color: var(--muted); }

.field-notes { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; padding: 140px clamp(24px,7vw,120px); background: #162121; }
.notes-title { position: sticky; top: 50px; align-self: start; }
.notes-list { counter-reset: notes; }
.notes-list article { position: relative; padding: 45px 40px 45px 90px; border-top: 1px solid var(--line); counter-increment: notes; }
.notes-list article:nth-child(even) { margin-left:clamp(20px,5vw,80px); }
.notes-list article::after { content:''; position:absolute; inset:18px 0 18px auto; width:1px; background:linear-gradient(transparent,rgba(228,154,59,.45),transparent); opacity:0; transition:opacity .25s; }
.notes-list article:hover::after { opacity:1; }
.notes-list article::before { content: '0' counter(notes); position: absolute; left: 0; top: 44px; color: var(--amber); font: 26px var(--mono); }
.notes-list article span,.notes-list article b { font: 8px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--amber-hot); }
.notes-list article h3 { font-size: 35px; font-weight: 400; margin: 13px 0; }
.notes-list article p { color: var(--muted); line-height: 1.55; max-width: 640px; }
.notes-list article b { color: #8f8876; }

.dawn { min-height: 980px; position: relative; overflow: hidden; padding: 130px clamp(24px,7vw,120px) 80px; background: #121d1d; }
.dawn-sky { position: absolute; inset: 0; background: radial-gradient(circle at var(--dawn-x,90%) 65%,rgba(255,179,77,.38),transparent 25%),linear-gradient(180deg,#0b1517 0,#172b2b 50%,#8b593a 115%); transition: background .2s; }
.dawn::after { content:'';position:absolute;left:-10%;right:-10%;bottom:-150px;height:330px;background:#080d0d;border-radius:50% 50% 0 0;filter:blur(20px); }
.dawn-copy { position: relative; z-index: 2; max-width: 620px; }
.dawn-copy > p:last-child { color: #d4c6aa; line-height: 1.6; max-width: 490px; }
.dawn-map-wrap { position: relative; z-index: 2; margin: -130px 0 0 auto; width: 67%; }
#dawn-map { width: 100%; overflow: visible; }
.dawn-streets path { fill:none;stroke:rgba(240,227,197,.16);stroke-width:2; }
.dawn-river { fill:none;stroke:rgba(43,76,72,.8);stroke-width:30; }
#dawn-posts circle { fill: #706a5d; transition: fill .3s,filter .3s,transform .3s; transform-origin: center; transform-box: fill-box; }
#dawn-posts circle.awake { fill: var(--amber-hot); filter: drop-shadow(0 0 8px var(--amber)); transform: scale(1.8); }
.dawn-sweep { position:absolute;top:0;bottom:0;left:var(--sweep,92%);width:140px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(255,198,103,.11),transparent);filter:blur(10px); }
.dawn-control { position: relative; z-index: 3; width: min(800px,65%); margin: -40px 0 0 auto; }
.dawn-control label { display:flex;align-items:baseline;gap:20px; }
.dawn-control label span { font: 48px var(--mono); color: var(--amber-hot); }
.dawn-control label small { font: 8px var(--mono); text-transform: uppercase; color: var(--muted); }
.dawn-directions { display:flex;justify-content:space-between;font:8px var(--mono);color:var(--muted);letter-spacing:.12em; }
.dawn-closing { position:relative;z-index:3;font-size:clamp(22px,2.5vw,35px);font-style:italic;line-height:1.3;max-width:790px;margin:100px auto 0;text-align:center;color:#e6d8ba; }

footer { min-height: 120px; padding: 28px clamp(24px,5vw,80px); display:flex;align-items:center;justify-content:space-between;gap:30px;background:#070c0d;border-top:1px solid var(--line);font:8px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted); }
footer nav { display:flex;gap:30px; }
footer a { min-height:44px;display:flex;align-items:center;text-decoration:none; }
footer a { transition:color .25s,transform .25s; }
footer a:hover,footer a:focus-visible { color:var(--amber-hot);transform:translateY(-1px); }

:focus-visible { outline: 2px solid var(--amber-hot); outline-offset: 4px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes reveal { to { opacity:1;transform:none; } }
@keyframes drift { 50% { transform:translateY(5px); } }
@keyframes pulse { 50% { transform:scale(1.7);opacity:.55; } }
@keyframes trace-play { from { stroke-dashoffset: var(--length); } to { stroke-dashoffset: 0; } }
@keyframes scan { from { left:0 } to { left:100% } }
@keyframes map-sweep { 0%,12% { left:-30%;opacity:0 } 20% { opacity:1 } 66%,100% { left:112%;opacity:0 } }
@keyframes live-ring { 0% { box-shadow:0 0 0 0 rgba(255,198,103,.45) } 80%,100% { box-shadow:0 0 0 11px transparent } }
@keyframes heat-travel { from { transform:translateX(0) } to { transform:translateX(400%) } }
@keyframes city-answer-field { 0%{opacity:0;transform:scale(.78)} 24%{opacity:.82} 78%{opacity:.3} 100%{opacity:0;transform:scale(1.16)} }
@keyframes city-answer-card { 0%,8%{opacity:0;transform:translate(-42%,-45%) scale(.94)} 22%,70%{opacity:1;transform:translate(-50%,-50%) scale(1)} 100%{opacity:0;transform:translate(-56%,-54%) scale(1.015)} }

.js .band > *, .js .section-head > *, .js .quiet-head > *, .js .notes-list article, .js .atlas-shell, .js .masking-copy > *, .js .masking-stage { opacity:1;transform:translateY(20px); }
.js .band.in-view > *, .js .section-head.in-view > *, .js .quiet-head.in-view > *, .js .notes-list article.in-view, .js .atlas-shell.in-view, .js .masking.in-view .masking-copy > *, .js .masking.in-view .masking-stage { opacity:1;transform:none;transition:opacity .8s cubic-bezier(.18,.78,.25,1),transform .8s cubic-bezier(.18,.78,.25,1); }
.js .band.in-view > :nth-child(2), .js .section-head.in-view > :nth-child(2), .js .masking.in-view .masking-copy > :nth-child(2) { transition-delay:.09s; }
.js .band.in-view > :nth-child(3), .js .masking.in-view .masking-copy > :nth-child(3) { transition-delay:.18s; }
.hero-copy.reveal { opacity:1;transform:none;animation:none; }
.hero-copy.reveal > * { opacity:0;transform:translateY(22px);animation:reveal .9s cubic-bezier(.18,.78,.25,1) forwards; }
.hero-copy.reveal > :nth-child(1) { animation-delay:.12s; }
.hero-copy.reveal > :nth-child(2) { animation-delay:.25s; }
.hero-copy.reveal > :nth-child(3) { animation-delay:.42s; }
.hero-copy.reveal > :nth-child(4) { animation-delay:.58s; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: .9fr 1.1fr; min-height: 800px; }
  .hero h1 { font-size: 82px; }
  .hero-copy { padding-left: 45px; }
  .band { grid-template-columns: .3fr 1fr; }
  .band > :nth-child(3) { grid-column: 2; }
  .atlas-shell { grid-template-columns: 1fr; }
  .atlas-map-wrap { min-height: 610px; border-right: 0; border-bottom: 1px solid var(--line); }
  .station-panel { display:grid;grid-template-columns:1fr 1fr;gap:0 35px; }
  .station-top,.station-panel h3,.station-panel>p { grid-column:1; }
  .mini-sonogram { grid-column:2;grid-row:1 / span 3;margin:0; }
  .station-panel dl { grid-column:1; }
  .station-note,#replay-trace { grid-column:2; }
  .masking { grid-template-columns:1fr; }
  .masking-copy { border-right:0;border-bottom:1px solid var(--line); }
  .masking-stage { min-height:720px; }
  .territories { grid-template-columns:.25fr 1fr; }
  .territory-facts { grid-column:2;grid-row:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;border:0; }
  .territory-facts b { font-size:45px; }
  .heat-layout { grid-template-columns:1fr; }
  .quiet-callout { margin-left:150px; }
  .dawn-map-wrap { width:80%;margin-top:-60px; }
}

@media (min-width:701px) and (max-width:1000px) {
  .hero-map .city-svg { width: 108%; transform: translateY(-4%) rotate(-2deg); }
}

@media (max-width: 700px) {
  body { font-size:17px; }
  .site-header { height:68px;padding:0 16px;position:absolute; }
  .brand span { display:none; }
  .site-header nav { gap:6px; }
  .site-header nav a { padding:0 7px;font-size:9px;letter-spacing:.08em; }
  .sound-toggle { width:44px;padding:0;justify-content:center; }
  .sound-label { display:none; }
  .hero { height:auto;max-height:none;min-height:850px;display:block;padding-top:68px; }
  .hero-copy { padding:70px 20px 0;position:relative;z-index:5; }
  .hero h1 { font-size:clamp(67px,22vw,88px);margin:32px 0; }
  .hero h1 i { margin-left:.1em; }
  .standfirst { font-size:18px;max-width:350px; }
  .field-link { margin-top:12px; }
  .hero-map { height:420px;margin-top:-30px;border:0;opacity:.78; }
  .survey-live { top:58px;left:20px;font-size:7px; }
  .map-sweep { top:0; }
  .map-meta { top:34px;left:20px;right:20px; }
  .city-svg { width:115%;transform:translateX(5%) rotate(-3deg); }
  .hero-caption { bottom:18px;left:20px; }
  .hero-index { font-size:64px; }
  .band { display:block;padding:90px 20px; }
  .section-number { margin-bottom:42px; }
  .band h2,.section-head h2,.masking h2,.quiet-head h2,.notes-title h2,.dawn h2 { font-size:48px; }
  .intro-note { margin-top:45px; }
  .atlas { padding:85px 12px; }
  .section-head { display:block;margin:0 8px 40px; }
  .section-head>p { margin-top:30px; }
  .atlas-shell { min-height:auto; }
  .atlas-map-wrap { min-height:430px; }
  .trace-hud { top:10px;right:10px;gap:8px;font-size:6px;padding:7px; }
  .trace-hud b { font-size:10px; }
  #atlas-map { transform:scale(1.1); }
  .scrub-instruction { left:12px;bottom:3px;font-size:7px; }
  .map-scale { display:none; }
  .station-panel { display:block;padding:24px 20px; }
  .station-panel h3 { font-size:33px; }
  .mini-sonogram { margin:22px 0; }
  .atlas-legend { flex-wrap:wrap;gap:10px 18px;padding:15px; }
  .atlas-time { width:100%;margin:4px 0 0; }
  .masking-copy { padding:85px 20px; }
  .noise-control { margin-top:50px; }
  .noise-control output { font-size:22px; }
  .masking-stage { padding:70px 18px 40px;min-height:580px; }
  #masking-sonogram { height:380px; }
  .frequency-axis { display:none; }
  .stage-bottom { gap:10px;font-size:7px; }
  .response-rail { left:18px;right:18px;bottom:66px; }
  .response-rail div { padding:9px 6px; }
  .response-rail span { font-size:5px;letter-spacing:.03em; }
  .response-rail b { font-size:10px; }
  .territories { display:block; }
  .overlap-diagram { margin-top:45px;padding:28px 10px 0; }
  .overlap-diagram svg { width:100%;margin-left:0; }
  .overlap-diagram p { margin-top:22px; }
  .territory-facts { display:block;margin-top:55px; }
  .quiet-window { padding:90px 16px; }
  .quiet-head { display:block;margin-bottom:45px; }
  .quiet-head>p { margin-top:30px; }
  .heat-map { overflow:visible;padding-bottom:34px;gap:4px; }
  .heat-scan { left:74px;bottom:34px;width:calc((100% - 74px)/5); }
  .heat-labels,.heat-row { min-width:0;grid-template-columns:74px repeat(5,minmax(0,1fr));gap:3px; }
  .heat-labels span { font-size:6px;letter-spacing:-.04em; }
  .heat-row b { font-size:6px;line-height:1.25;letter-spacing:0; }
  .heat-row div { height:52px; }
  .heat-instruction { left:74px;max-width:calc(100% - 74px);font-size:6px;line-height:1.4; }
  .city-answer { left:50%;top:46%;width:82%;padding:20px; }
  .city-answer b { font-size:36px; }
  .quiet-callout { margin:20px 0 0;padding:30px 0 0;border-left:0;border-top:1px solid var(--line); }
  .field-notes { display:block;padding:90px 20px; }
  .notes-title { position:static;margin-bottom:50px; }
  .notes-list article { padding:38px 14px 38px 55px; }
  .notes-list article:nth-child(even) { margin-left:18px;border-left:1px solid rgba(228,154,59,.2);padding-left:45px; }
  .notes-list article h3 { font-size:29px; }
  .dawn { min-height:850px;padding:90px 20px 70px; }
  .dawn-map-wrap { width:125%;margin:30px -13% 0; }
  .dawn-control { width:100%;margin:-20px 0 0; }
  .dawn-control label span { font-size:36px; }
  .dawn-closing { margin-top:80px;font-size:22px; }
  footer { flex-direction:column;align-items:flex-start;padding:35px 20px; }
  footer nav { flex-wrap:wrap;gap:5px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important; }
  .js .band > *, .js .section-head > *, .js .quiet-head > *, .js .notes-list article, .js .atlas-shell, .js .masking-copy > *, .js .masking-stage { opacity:1;transform:none; }
  .masking-stage.answering .city-answer { opacity:1;transform:translate(-50%,-50%);animation:none; }
  .masking-stage.answering .answer-field { display:none; }
}
