@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=DM+Mono:wght@400;500&display=swap');
:root{--paper:#f8f5e9;--ink:#253d32;--green:#285b45;--muted:#5a695a;--rule:#dedccc;--orange:#b95f3c;font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif;color:var(--ink);background:var(--paper);font-weight:700;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#7b67400d .7px,transparent .8px);background-size:5px 5px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #bc6c41;outline-offset:4px}.wrap{width:min(1216px,calc(100% - 88px));margin-inline:auto}header{border-bottom:1px solid var(--rule);background:#fcfaef}.bar{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:9px;align-items:center;text-decoration:none;font-size:20px;font-weight:900;letter-spacing:.04em}.brand small{font-size:12px;margin-left:-8px}.emblem{display:grid;place-items:center;border-radius:50%;width:32px;height:32px;background:#e9edda;color:var(--green);font:900 25px/1 sans-serif}.help,.secondary{background:#fffdf4;border:1px solid #d6dac5;border-radius:99px;padding:10px 17px;color:var(--green)}.help span{display:inline-grid;place-items:center;border:1px solid;border-radius:50%;width:18px;height:18px;font:700 12px sans-serif}.hero{position:relative;isolation:isolate;min-height:610px;margin-top:27px;display:flex;align-items:center;overflow:hidden;border-radius:25px;background:#70abac;box-shadow:0 7px 0 #e9e4d2}.hero>img,.scene>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;z-index:-1}.hero>img{object-position:center 54%}.poster{position:relative;margin:34px clamp(28px,5vw,69px);width:min(425px,100%);padding:33px 37px 34px;border:1px solid #fdf9e5;border-radius:21px;background:#fff9eaf5;box-shadow:0 8px 35px #233e392c}.poster:before{content:"";position:absolute;inset:8px;border:1px solid #dcdcc5;border-radius:15px;pointer-events:none}.kicker{font-size:13px;letter-spacing:.14em;color:var(--green);display:flex;align-items:center;gap:8px;margin:0 0 15px}.kicker:before{content:"✦";color:#ad6a36}.poster h1{font-size:clamp(53px,7vw,87px);line-height:.97;letter-spacing:-.07em;font-weight:900;margin:0 0 18px}.poster h1 span{display:block;color:#35704f}.poster h1 small{font-size:.2em;letter-spacing:0;margin-left:8px;color:#7c644a;white-space:nowrap}.poster h2{font-size:20px;margin:0 0 7px;font-weight:900}.desc{color:var(--muted);line-height:1.75;margin:0 0 22px;font-size:15px}.primary{background:var(--green);border:0;border-radius:12px;color:#fffbed;padding:14px 23px;box-shadow:0 4px 0 #183d30;font-size:17px;font-weight:900}.poster .primary{width:100%}.primary:hover{background:#377257}.secondary:hover,.help:hover{background:#e9edda}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #183d30}.primary:disabled{opacity:.45;cursor:default;transform:none}.hero-note{position:absolute;right:23px;bottom:20px;background:#fbf6e9e8;color:#395745;border-radius:8px;padding:8px 12px;font-size:13px}.features{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--rule);background:#fffdf3;border-radius:16px;margin:27px 0 32px;padding:17px 0}.feature{display:flex;justify-content:center;align-items:center;gap:12px;padding:0 15px}.feature+ .feature{border-left:1px solid var(--rule)}.feature b{display:block;font-size:15px;font-weight:900}.feature small{color:var(--muted);font-size:13px}.feature i{font:normal 21px sans-serif;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:#edf0db;color:var(--green);flex:none}.feature:nth-child(2) i{background:#e9f0eb}.feature:nth-child(3) i{background:#f5ead6;color:#9a6736}
footer{border-top:1px solid var(--rule);display:flex;justify-content:space-between;gap:10px;padding:17px 0 22px;color:#596659;font:12px "DM Mono",monospace}h1,h2{line-height:1.25}h1{font-weight:900}dialog{width:min(450px,calc(100% - 32px));border:1px solid var(--rule);border-radius:20px;background:#fffaf0;color:var(--ink);padding:26px}dialog::backdrop{background:#233b36a8}dialog ol{padding-left:1.35em;line-height:1.7}dialog li+li{margin-top:8px}.layout{margin-block:30px 35px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:23px;align-items:start}.scene{border-radius:20px;position:relative;isolation:isolate;min-height:490px;overflow:hidden;background:#81b6ad;display:flex;align-items:end}.scene-label{width:100%;background:linear-gradient(transparent,#152c23eb);padding:42px 24px 23px;color:#fffbe9}.scene-label strong{font-size:31px;display:block}.scene-label small{text-shadow:0 1px 3px #111}.panel{border:1px solid var(--rule);border-radius:19px;padding:clamp(20px,4vw,37px);background:#fffdf4;box-shadow:0 4px 0 #e9e4d2}.panel h1{font-size:clamp(26px,4vw,41px);margin:0 0 14px}.panel p:not(.kicker){line-height:1.7}.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:23px}.choices{display:grid;gap:11px}.choice{padding:12px 15px;text-align:left;border:1px solid var(--rule);color:var(--ink);background:#fffaf0;border-radius:11px;min-height:50px}.choice:hover,.choice[aria-pressed=true]{background:#eef2df;border-color:#648367}.choice small{display:block;color:var(--muted);font-size:14px}.budget-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rule)}.stepper{display:flex;align-items:center;gap:9px}.stepper button{border-radius:8px;border:1px solid var(--rule);min-width:42px;min-height:42px;background:#edf1df;color:var(--green)}.stepper button:disabled{opacity:.4;cursor:default}.stepper output{min-width:4ch;text-align:center}.pill{background:#eef1df;border-radius:9px;padding:9px 13px;display:inline-block}.news{border-left:3px solid #a4744e;padding:8px 12px;background:#f7ecd8;margin-block:15px}.news b{display:block;font-size:13px;color:#754727}table{width:100%;border-collapse:collapse;font-size:14px;text-align:right;font-variant-numeric:tabular-nums}th,td{padding:8px 3px;border-bottom:1px solid var(--rule)}th:first-child{text-align:left}thead{background:#edf0df}.notice{color:var(--muted);font-size:14px}.badge{position:absolute;top:15px;left:15px;background:#fff9e9;color:var(--green);padding:7px 11px;border-radius:8px;font-size:14px}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}.hero{min-height:570px}.layout{grid-template-columns:1fr}.scene{min-height:250px}.poster{margin:28px}}
@media(max-width:560px){.wrap{width:calc(100% - 24px)}.bar{height:58px}.brand{font-size:17px}.help{padding:7px 10px}.hero{display:block;min-height:0;padding:175px 12px 13px;margin-top:12px;border-radius:17px}.hero>img{height:330px;object-position:center top}.poster{margin:0 auto;width:100%;padding:23px 21px 25px;background:#fff9ec}.poster h1{font-size:57px;margin-bottom:14px}.poster h2{font-size:17px}.poster .kicker{margin-bottom:10px}.desc{margin-bottom:17px}.hero-note{top:12px;bottom:auto;right:12px;font-size:12px}.features{margin:17px 0 22px;padding:12px 0}.feature{display:grid;justify-items:center;text-align:center;gap:5px;padding:0 3px}.feature i{width:31px;height:31px;font-size:16px}.feature b{font-size:13px}.feature small{display:none}.layout{margin-top:13px;gap:13px}.scene{min-height:200px}.scene-label{padding:34px 16px 12px}.scene-label strong{font-size:24px}footer{font-size:10px}}
.story-stage{margin:26px auto 32px;max-width:1030px;border-radius:22px;overflow:hidden;background:#fffaf0;border:1px solid var(--rule);box-shadow:0 5px 0 #e9e4d2}
.story-view{height:clamp(250px,43vw,465px);position:relative;overflow:hidden;background:#78b3ba}
.landscape{display:block;width:100%;height:100%;object-fit:cover;object-position:center 59%}
.story-location{position:absolute;top:18px;left:19px;padding:12px 16px;background:#fff9eeeF;border:1px solid #fffaf0;border-radius:12px;box-shadow:0 3px 15px #1d3f4330}
.story-location span,.speaker{font-size:14px;font-weight:900;color:var(--green)}
.story-location h1{margin:1px 0;font-size:clamp(25px,4vw,40px)}
.story-location p{margin:3px 0 0;font-size:14px}
.conversation{padding:22px 28px 28px;display:flex;position:relative;gap:21px;align-items:end}
.speech{min-width:0;flex:1}
.speaker{margin:0 0 8px}
.line{font-size:clamp(16px,2vw,20px);margin:0 0 16px;line-height:1.6}
.story-choices .choice{text-align:left;font-size:16px;background:#f2f0df}
.story-choices .choice:hover{background:#e4ecd7}
.clerk{width:clamp(74px,13vw,143px);max-height:320px;height:auto;object-fit:contain;object-position:bottom;image-rendering:pixelated;align-self:end;flex:none;margin-top:-99px;z-index:1;filter:drop-shadow(1px 2px 0 #fff8ea)}
.story-report{padding:15px 25px 24px}
.story-report .news{margin:0 0 16px}
.story-report .news strong{font-size:clamp(17px,3vw,24px)}
.story-report .news div{margin-top:5px}
.timeskip{position:fixed;inset:0;z-index:20;background:#172d2a;color:#fff8e9;border:0;width:100%;display:grid;place-content:center;gap:10px;animation:time-in .3s ease both;text-align:center}
.timeskip strong{font-size:clamp(30px,7vw,67px);letter-spacing:.19em}
.timeskip span{font-size:14px;color:#d9e0cf}
.reveal .landscape{animation:scene-in .6s ease both}
@keyframes time-in{from{opacity:0}to{opacity:1}}
@keyframes scene-in{from{opacity:.5}to{opacity:1}}
@media(max-width:560px){.story-stage{margin:13px auto 23px;border-radius:15px}.story-view{height:235px}.story-location{top:10px;left:10px;padding:7px 10px}.story-location p{font-size:12px}.conversation{padding:14px;gap:9px}.with-clerk{display:block}.with-clerk .clerk{float:left;margin:-88px 9px 0 0;height:155px;width:auto}.with-clerk .story-choices{clear:both}.story-report{padding:13px}.story-choices .choice{font-size:15px}}
@media(prefers-reduced-motion:reduce){.reveal .landscape,.timeskip{animation:none}}
.consultation-topic{margin:0 0 9px;color:var(--muted);font-size:14px;font-weight:900}
.consultation-updates{padding:0;margin:0 0 17px;list-style:none;display:grid;gap:7px}
.consultation-updates li{display:grid;grid-template-columns:minmax(7em,auto) 1fr;gap:8px 16px;padding:8px 11px;border-radius:8px;background:#f2f0e3}
.consultation-updates li strong{color:var(--green);font-size:15px}
.consultation-updates li span{font-size:15px;line-height:1.4}
@media(max-width:560px){.consultation-updates li{grid-template-columns:1fr;gap:3px}}
.budget-meter{display:flex;gap:5px 9px;align-items:baseline;flex-wrap:wrap;margin:0 0 13px;padding:8px 12px;background:#e9eedc;border-radius:9px}
.budget-meter strong{font-size:1.25rem;color:var(--green)}
.budget-meter span{font-size:.875rem;color:var(--muted)}
.funded-choice{display:flex;gap:8px;justify-content:space-between;align-items:center}
.funded-choice>strong{white-space:nowrap;font-size:.875rem;color:var(--green)}
.funded-choice:disabled{cursor:default;background:#efede5;color:#605d50;border-color:#d8d4c7}
.funded-choice:disabled>strong,.funded-choice small{color:#79503c}
.budget-slider{display:flex;justify-content:space-between;gap:10px}
#services{width:100%;accent-color:var(--green);min-height:38px}
.outcome-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 16px}
.outcome-overview>div{padding:10px 12px;border-radius:10px;background:#ebefdf;display:grid;gap:2px}
.outcome-overview>div+div{background:#f4ead7}
.outcome-overview span{font-size:.875rem;color:var(--muted)}
.outcome-overview b{font-size:1.65rem;color:var(--ink);line-height:1.2}
.outcome-overview b small{font-size:.8rem}
.funded-choice .choice-detail{color:var(--muted);margin-top:3px}
.news p{margin:8px 0 0}
.finale{text-align:center;padding:19px 16px 28px;background:radial-gradient(ellipse at top,#faedcc,#fffaf0 68%);animation:finale-in .6s ease-out both}
.finale-intro{margin:0;color:#8c552f;font-size:clamp(18px,3vw,27px);font-weight:900}
.finale h2{margin:4px 0 10px;font-size:clamp(32px,6vw,58px);color:var(--green);font-weight:900}
.finale-caption{max-width:36em;margin:0 auto 12px;line-height:1.55}
.finale-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 18px;margin-bottom:16px;color:var(--muted)}
.finale-stats strong{font-size:1.25em;color:var(--ink)}
@keyframes finale-in{from{opacity:.5}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.finale{animation:none}}
.town-picker,.paper-page{max-width:1030px;margin:26px auto 32px;padding:clamp(15px,4vw,36px);background:#fffaf0;border:1px solid var(--rule);border-radius:20px}
.town-picker h1,.paper-page h1{margin:0 0 8px;font-size:clamp(26px,4vw,42px)}
.town-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.town-card{display:grid;gap:5px;padding:12px 14px}
.town-name,.town-facts{display:flex;align-items:baseline;justify-content:space-between;gap:6px 12px;flex-wrap:wrap}
.town-name strong{font-size:1.25em}.town-name small{padding:3px 9px;border-radius:20px;background:#e9eedc;color:var(--green)}
.town-facts{font-size:.875rem;margin-top:4px}
.paper-page{max-width:820px;animation:paper-in .42s ease-out both}
@keyframes paper-in{from{opacity:.65}to{opacity:1}}
.town-map{position:relative;aspect-ratio:3/2;overflow:hidden;border-radius:13px;background:#e5e8bd}
.town-map img,.pin-layer{position:absolute;inset:0;width:100%;height:100%}
.town-map img{object-fit:cover}
.map-pin{position:absolute;display:grid;place-items:center;width:clamp(35px,7vw,53px);aspect-ratio:1;transform:translate(-50%,-50%);border:2px solid #fffaec;border-radius:50%;box-shadow:0 2px 9px #23372988;background:#316749;color:white;font-size:1.25em;animation:pin-in .4s ease-out both}
.map-pin:nth-child(1){left:31%;top:36%}.map-pin:nth-child(2){left:67%;top:32%;animation-delay:.22s}.map-pin:nth-child(3){left:51%;top:54%;animation-delay:.44s}.map-pin:nth-child(4){left:69%;top:75%;animation-delay:.66s}
.map-pin.attention{background:#a84e30}.map-pin[aria-pressed=true]{outline:3px solid #273e32;outline-offset:2px}.map-pin:focus-visible{outline:3px solid #24190f;outline-offset:5px}
@keyframes pin-in{from{opacity:0}to{opacity:1}}
.map-key{font-size:.875em;color:var(--muted)}
.map-note,.resident-voices blockquote{padding:11px 14px;background:#f1efdd;border-radius:10px;margin:0}
.map-note p,.resident-voices p{margin:4px 0;line-height:1.55}
.resident-voices{display:grid;gap:9px;margin:14px 0}
.resident-voices footer{display:block;padding:6px 0 0;font-family:inherit;font-size:.825rem}
@media(prefers-reduced-motion:reduce){.paper-page,.map-pin{animation:none}}
.story-stage{animation:paper-in .32s ease-out both}
@media(prefers-reduced-motion:reduce){.story-stage{animation:none}}
.election-card{padding:12px 16px;margin-bottom:13px;background:#e8edd8;border-radius:11px}
.election-card h2{margin:4px 0 0}.election-card span{font-size:.9rem;color:var(--green)}
.report-table{overflow:auto}.report-table th,.report-table td{white-space:nowrap;padding-inline:7px}

.town-card .town-preview{display:block;width:100%;aspect-ratio:16/8;object-fit:cover;object-position:center 58%;border-radius:7px;margin-bottom:3px;background:#d3dfc8}
.map-intro{margin:7px 0 13px}.map-pin.neutral{background:#5c654c}
.resident-name{display:flex;align-items:center;gap:10px;text-align:left;margin-bottom:8px}
.resident-portrait{width:58px;height:58px;object-fit:cover;flex:none;border-radius:10px;border:1px solid #e0d9b9;background:#f4ebce;image-rendering:pixelated}
.resident-name strong,.resident-name span{display:block}
.resident-name strong{font-size:1.06rem;color:var(--green)}
.resident-name span{color:var(--muted);font-size:.875rem}
.resident-voices blockquote{display:grid;grid-template-columns:minmax(115px,auto) 1fr;align-items:center;column-gap:14px}
.resident-voices blockquote .resident-name{margin-bottom:0}
.resident-voices blockquote footer{grid-column:2}
@media(max-width:560px){.resident-voices blockquote{display:block}.resident-voices blockquote .resident-name{margin-bottom:7px}}
