/*
Theme Name: For a Working Democracy
Description: An Ohio civic publication with a shared editorial design, tracker, and atlas.
Version: 1.1.1
Requires PHP: 7.4
Text Domain: fwd-publication
*/
@font-face{font-family:Instrument Serif;src:url(assets/instrument-serif.woff2) format("woff2");font-display:swap}
@font-face{font-family:Instrument Sans;src:url(assets/instrument-sans.woff2) format("woff2");font-weight:400 700;font-display:swap}
:root{--paper:#f7f6ed;--white:#fffef8;--ink:#17362e;--muted:#475e52;--line:#c3cbb9;--sage:#e6ebdc;--lime:#e1e8a1;--serif:"Instrument Serif",Georgia,serif;--sans:"Instrument Sans",system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding:4rem}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.6 var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid #9c5123;outline-offset:4px}
button,input,select{font:inherit;color:inherit}
[hidden]{display:none!important}
.shell{width:min(1264px,calc(100% - 100px));margin-inline:auto}
.visually-hidden,.skip:not(:focus){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.skip:focus{position:fixed;top:1rem;left:1rem;z-index:100000;background:var(--white);padding:.8rem 1rem}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.02;margin:0 0 .35em;letter-spacing:-.019em}
h1{font-size:clamp(3.5rem,7.2vw,7rem)}
h2{font-size:clamp(2.4rem,4.2vw,4.15rem)}
h3{font-size:clamp(1.8rem,3vw,2.6rem)}
p{margin:0 0 1rem}
.eyebrow{display:block;font:700 .75rem/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase}
.site-head{background:var(--paper);border-top:5px solid var(--ink);border-bottom:1px solid var(--line)}
.masthead{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}
.brand-name{font:400 clamp(1.6rem,3.8vw,2.3rem)/1 var(--serif);letter-spacing:-.015em}
.brand-mark{display:grid;place-items:center;background:var(--ink);color:var(--lime);width:37px;height:37px;flex:0 0 37px;font:600 .72rem/1 var(--sans);letter-spacing:.08em}
.mast-edition{color:var(--muted);text-align:right}
.holding-main{background:#18372f;color:var(--paper)}
.holding-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-height:clamp(540px,70vh,735px);align-items:center}
.holding-copy{padding:60px 36px 65px 0}
.holding-copy .eyebrow{display:flex;align-items:center;gap:10px;color:var(--lime);margin-bottom:28px}
.holding-copy .eyebrow:before{content:"";width:9px;height:9px;background:var(--lime);border-radius:50%}
.holding-copy h1{font-size:clamp(4rem,8.8vw,9.3rem);line-height:.87;letter-spacing:-.028em;margin-bottom:28px}
.holding-copy h1 em{color:var(--lime);font-weight:400}
.holding-copy p{font-size:clamp(1.03rem,1.45vw,1.3rem);max-width:39ch;color:#e0e8da;line-height:1.63}
.holding-art{margin:0;border-left:1px solid #587267;padding:26px 0 23px 28px}
.art-top,.holding-art figcaption{display:flex;justify-content:space-between;color:#c7d5be}
.holding-art svg{width:100%;height:auto;display:block;margin:13px 0}
.map-dark .land{fill:#28483e}.map-dark .county{fill:none;stroke:#789084;stroke-width:.43}.map-dark .outline{fill:none;stroke:#bfcea9;stroke-width:.8}.map-dark .city{fill:var(--lime)}.map-dark text{fill:#f1f3df;font:5.8px var(--sans);paint-order:stroke;stroke:#18372f;stroke-width:1.4px}
.holding-art figcaption{border-top:1px solid #587267;padding-top:13px;font-size:.76rem}
.site-foot{border-top:1px solid var(--line);padding:28px 0;background:var(--paper)}
.foot-inner{display:flex;justify-content:space-between;align-items:center;gap:12px 30px;flex-wrap:wrap;color:var(--muted);font-size:.87rem}
.foot-inner strong{font-weight:700;color:var(--ink)}
@media(max-width:820px){.shell{width:calc(100% - 48px)}.holding-copy h1{font-size:clamp(4rem,10vw,7rem)}}
@media(max-width:640px){.shell{width:calc(100% - 36px)}.masthead{min-height:67px;gap:14px}.mast-edition{font-size:.63rem;letter-spacing:.1em}.brand-mark{width:30px;height:30px;flex-basis:30px;font-size:.65rem}.brand{gap:8px}.holding-grid{grid-template-columns:1fr}.holding-copy{padding:45px 0 27px}.holding-copy h1{font-size:clamp(4rem,15vw,6.8rem)}.holding-copy .eyebrow{margin-bottom:21px}.holding-art{border-left:0;border-top:1px solid #587267;padding:18px 0 24px}.holding-art svg{max-height:260px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@font-face{font-family:Instrument Serif;src:url(assets/instrument-serif-italic.woff2) format("woff2");font-style:italic;font-display:swap}

/* Shared publication layouts */
.site-nav,.section-nav .shell{display:flex;flex-wrap:wrap;align-items:center;gap:6px 25px}
.site-nav a,.section-nav a{font-size:.93rem;font-weight:600;text-decoration:none;padding:10px 0;border-bottom:2px solid transparent}
.site-nav a:hover,.section-nav a:hover,.site-nav a[aria-current],.section-nav a[aria-current]{border-bottom-color:currentColor}
.section-nav{background:var(--sage);border-bottom:1px solid var(--line)}
.section-nav .shell{min-height:49px}
.page-intro{padding:clamp(42px,6vw,88px) 0 37px}
.page-intro .eyebrow,.reading .eyebrow{color:var(--muted);margin-bottom:17px}
.page-intro h1{font-size:clamp(3.5rem,7vw,6.5rem)}
.lede{font-size:clamp(1.12rem,1.8vw,1.48rem);line-height:1.48;max-width:57ch;color:var(--muted)}
.reading{max-width:850px;padding:clamp(40px,7vw,94px) 0}
.reading h1{font-size:clamp(3.4rem,7vw,6rem)}
.reading h2{margin-top:1em}
.reading .article-body{font-size:1.12rem;line-height:1.72}
.reading .article-body img{max-width:100%;height:auto}
.reading .article-body figure{max-width:100%;margin-inline:0}
.reading .article-body a{overflow-wrap:anywhere}
.back-link{display:inline-block;font-weight:700;margin-bottom:24px;min-height:30px}
.civic-links{display:flex;gap:12px 26px;flex-wrap:wrap;border-top:1px solid var(--line);padding:16px 0}
.edition-lead{position:relative;background:var(--ink);color:var(--paper);overflow:hidden}
.edition-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:stretch;min-height:540px}
.edition-copy{padding:clamp(48px,7vw,100px) 35px clamp(45px,6vw,80px) 0}
.edition-copy .eyebrow{color:var(--lime);margin-bottom:23px}
.edition-copy h1{font-size:clamp(4rem,9vw,9.1rem);line-height:.86}
.edition-copy h1 em{color:var(--lime);font-weight:400}
.edition-copy p:not(.eyebrow),.edition-side p:not(.eyebrow){color:#e0e8da;font-size:1.1rem;max-width:38ch}
.edition-side{align-self:stretch;display:flex;flex-direction:column;justify-content:end;border-left:1px solid #6b8374;padding:35px 26px;background:linear-gradient(0deg,#17362e 0%,#17362e00 83%),url(assets/ohio-hero.svg) center 5% / min(110%,460px) auto no-repeat}
.edition-side .eyebrow{color:var(--lime)}
.edition-side a,.edition-copy .button{align-self:start}
.button{display:inline-flex;min-height:44px;align-items:center;gap:.75rem;padding:.55rem .95rem;text-decoration:none;font-weight:700;border:1px solid currentColor}
.action{background:var(--lime);color:var(--ink);border-color:var(--lime)}
.action:hover{background:#f0f1bc}
.edition-lead :focus-visible,.holding-main :focus-visible{outline-color:var(--lime)}
.work-section{padding-block:45px 65px}
.section-rule{border-bottom:1px solid var(--ink);margin-bottom:0}
.section-rule h2{font-size:clamp(2rem,3.8vw,3.2rem);margin-bottom:.38em}
.work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line)}
.work-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--ink)}
.work-link{padding:24px 25px 26px;display:flex;flex-direction:column;text-decoration:none;gap:8px;min-width:0}
.work-link:hover{background:var(--sage)}
.work-link+.work-link{border-left:1px solid var(--line)}
.work-link h2,.work-link h3{margin:7px 0}
.work-link p{color:var(--muted);max-width:45ch;margin-bottom:.5rem}
.work-link>span:last-child{margin-top:auto;text-decoration:underline;font-weight:700}
.work-link .eyebrow{text-decoration:none;color:var(--muted)}
.power-work{padding-block:0 45px}
.secondary-reading{padding-top:12px}
.article-index{padding-bottom:80px}
.article-row{display:grid;grid-template-columns:125px minmax(0,1fr);gap:22px;border-top:1px solid var(--line);padding:20px 0 25px}
.article-row:first-child{border-top-color:var(--ink)}
.article-row h2{font-size:clamp(2.05rem,3.3vw,3.2rem);margin:0}
.article-row time{color:var(--muted);padding-top:7px}

/* Tools, controls, and records */
.tool-section{padding-bottom:clamp(45px,7vw,90px)}
.tool-intro{padding-bottom:24px}
.tool-bar,.tools-meta{display:flex;justify-content:space-between;align-items:center;gap:8px 18px;flex-wrap:wrap}
.tool-bar{border-block:1px solid var(--line);padding:6px 0}
.view-nav{display:flex;flex-wrap:wrap;gap:5px}
.view-nav button,.map-controls button{cursor:pointer;border:1px solid transparent;background:transparent;padding:.5rem .78rem;min-height:44px;font-weight:700}
.view-nav button[aria-pressed=true]{background:var(--ink);color:var(--white)}
.view-nav button:hover:not([aria-pressed=true]),.map-controls button:hover{background:var(--sage)}
.utility-link,.tools-meta a{font-weight:700;font-size:.92rem}
.filter-panel{background:var(--sage);padding:18px 20px;margin-top:12px}
.filter-panel label,.compare-form label,.results-order{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:.91rem;min-width:0}
.filter-panel input:not([type=checkbox]),.filter-panel select,.compare-form select,.compare-form input,.results-order select{width:100%;min-width:0;background:var(--white);border:1px solid #788b79;padding:10px 11px;min-height:45px;font-weight:400;font-size:1rem;border-radius:0}
.filter-panel input::placeholder{color:#55675d}
.filter-more{margin-top:11px}
.filter-more summary,.coverage summary{cursor:pointer;font-size:.93rem;font-weight:700;padding:8px 0;min-height:42px}
.filter-grid,.atlas-controls,.atlas-extra,.compare-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.atlas-controls,.compare-form{grid-template-columns:repeat(3,minmax(0,1fr))}
.atlas-extra{grid-template-columns:1fr 2fr;align-items:end}
.filter-panel .check-label{flex-direction:row;align-items:center;min-height:45px}
.check-label input{width:19px;height:19px;accent-color:var(--ink)}
.tools-meta{justify-content:start;border-bottom:1px solid var(--line);padding:6px 0}
.tools-meta p{margin:0 auto 0 0;font-weight:600}
.text-button{font-weight:700;background:none;border:0;cursor:pointer;min-height:44px;padding:5px;text-decoration:underline;text-underline-offset:.2em}
.record-grid{max-width:940px;margin-inline:auto}
.result-options{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0}
.result-options h2{margin:0;font-size:clamp(2rem,4vw,3.2rem)}
.record-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:clamp(14px,3vw,34px);border-top:1px solid var(--line);padding:23px 0}
.record-card time{font-size:.88rem;font-weight:700}
.record-card time span{display:block;font-weight:400;color:var(--muted)}
.record-card h3{max-width:30ch;margin:9px 0 11px}
.record-card h3 a,.facility-name{font-family:var(--serif);font-weight:400;text-decoration:none}
.record-card a:hover,.facility-name:hover{text-decoration:underline}
.record-card p{max-width:68ch;color:var(--muted)}
.meta{font-size:.87rem;color:var(--muted)}
.stage{display:inline-flex;align-items:center;gap:6px;background:#e2ecdf;color:#214939;font-weight:700;font-size:.79rem;line-height:1.35;padding:4px 8px;border:1px solid #adc0ad}
.stage.planned,.stage.proposal{color:#523473;background:#efe6f6;border-color:#cbbad8}
.stage.construction,.stage.pilot,.stage.procurement-approved{color:#684503;background:#f5eacb;border-color:#d9bd7d}
.stage.unknown,.stage.announced{color:#464e46;background:#eeeee7;border-color:#aab4a6}
.stage.denied,.stage.cancelled,.stage.paused,.stage.discontinued{color:#713e2b;background:#f3e5db;border-color:#d4b6a7}
.timeline-month{font-size:1.65rem;font-family:var(--serif);font-weight:400;background:var(--sage);padding:8px 12px;margin-bottom:0}
.empty-results{padding:28px 0}
.compare-form{margin:12px 0 18px}
.compare-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:25px}
.compare-card{border:1px solid var(--line);background:var(--white);padding:22px;min-width:0}
.compare-card h3{margin-top:13px}
.compare-card dt,.fact-list dt{font-weight:700;margin-top:15px}
.compare-card dd,.fact-list dd{margin:2px 0 12px;color:var(--muted)}
.record-dialog{inset:auto;margin:auto;width:min(820px,calc(100% - 34px));max-height:88dvh;overflow:auto;border:1px solid var(--line);padding:0;background:var(--white);color:var(--ink)}
.record-dialog::backdrop{background:#15342dc2}
.dialog-head{position:sticky;z-index:2;top:0;display:flex;justify-content:space-between;align-items:center;gap:17px;padding:7px 18px;background:var(--sage);border-bottom:1px solid var(--line)}
.dialog-body{padding:clamp(19px,4vw,40px)}
.dialog-body h2{font-size:clamp(2.4rem,5vw,4rem);margin:12px 0}
.dialog-body h3,.profile-body h2{margin-top:1em}
.source-list{padding-left:1.35em}
.source-list li{margin:9px 0;overflow-wrap:anywhere}
.source-list a{font-weight:700}
.source-list small{display:block;color:var(--muted)}

/* Atlas and full project profiles */
.atlas-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);border:1px solid var(--line);margin-top:18px;background:var(--white)}
.atlas-map-figure{margin:0;background:#e8eee0;min-width:0}
.atlas-map{position:relative;isolation:isolate;min-width:0;overflow:hidden;border-bottom:1px solid var(--line)}
.atlas-map svg{display:block;width:100%;height:clamp(380px,44vw,550px);touch-action:pan-y;user-select:none}
.atlas-map svg.can-pan{cursor:grab}
.atlas-map .land,.profile-map .land{fill:#f8faf0}
.atlas-map .county,.profile-map .county{fill:transparent;stroke:#8a9b87;stroke-width:.5;stroke-linejoin:round}
.atlas-map .county{cursor:pointer}
.atlas-map .county:hover,.atlas-map .county.selected,.profile-map .county.selected{fill:#d2dfb8;stroke:#5c764f;stroke-width:1}
.atlas-map .outline,.profile-map .outline{fill:none;pointer-events:none;stroke:#637b62;stroke-width:.85}
.atlas-map .city{fill:#465f51;pointer-events:none}
.atlas-map .city-label{fill:#2b4236;font:5px var(--sans);paint-order:stroke;stroke:#f8faf0;stroke-width:1.6;pointer-events:none}
.marker{cursor:pointer;outline:none}
.marker-shape{fill:#315d49;stroke:#fffef8;stroke-width:1.7;vector-effect:non-scaling-stroke}
.marker.construction .marker-shape{fill:#9b651d}
.marker.planned .marker-shape{fill:#71518d}
.marker.unknown .marker-shape{fill:#fffef8;stroke:#526158}
.marker.denied .marker-shape,.marker.cancelled .marker-shape,.marker.paused .marker-shape{fill:#904e37}
.marker.approximate .marker-shape{stroke:#273f33;stroke-dasharray:2 2}
.marker:focus-visible .marker-shape,.marker:hover .marker-shape,.marker.is-selected .marker-shape{stroke:#9b4c22;stroke-width:3}
.marker text{fill:white;pointer-events:none;font-family:var(--sans);font-weight:700;text-anchor:middle;dominant-baseline:central}
.map-controls{position:absolute;z-index:2;top:12px;left:12px;display:flex;flex-direction:column;background:var(--white);border:1px solid #788b79}
.map-controls button{font-size:1.3rem;width:44px;padding:0;border:0}
.map-controls button+button{border-top:1px solid var(--line)}
.map-tip{position:absolute;z-index:3;max-width:min(250px,75%);background:var(--white);border:1px solid #788b79;box-shadow:0 6px 20px #17362e32;padding:10px 13px;font-size:.85rem;line-height:1.4}
.map-tip strong{font-family:var(--serif);display:block;font-size:1.35rem;font-weight:400}
.atlas-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 18px;padding:9px 13px;font-size:.81rem;color:var(--muted)}
.atlas-side{min-width:0;border-left:1px solid var(--line);max-height:clamp(425px,48vw,620px);overflow:auto}
.spotlight{background:var(--sage);padding:21px 23px;border-bottom:1px solid var(--line)}
.spotlight h2{font-size:clamp(2.1rem,3.4vw,3.35rem);margin:8px 0 12px}
.spotlight p{margin:8px 0;color:var(--muted)}
.spotlight a:not(.button){font-weight:700}
.spotlight-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
#atlas-list{padding:19px 22px}
#atlas-list h2{font-size:2.1rem}
.facility-row{border-top:1px solid var(--line);padding:9px 0 11px}
.facility-name{display:inline-block;font-size:1.55rem;line-height:1.1;padding:8px 0;min-height:44px;overflow-wrap:anywhere}
.facility-row .stage{margin-left:7px}
.coverage{padding:14px 0;max-width:75ch}
.project-profile{padding:40px 0 80px}
.profile-head{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(215px,1fr);gap:34px;align-items:center;padding:22px 0 30px;border-bottom:1px solid var(--line)}
.profile-head h1{font-size:clamp(3rem,7vw,6rem);overflow-wrap:anywhere}
.profile-map{margin:0;background:var(--sage);text-align:center;padding:14px}
.profile-map svg{width:100%;max-height:240px;display:block}
.profile-map .site-point{fill:#9c5123;stroke:var(--white);stroke-width:1.1}
.profile-map figcaption{font-size:.86rem}
.profile-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin:20px 0}
.profile-metrics>div{padding:14px;background:var(--white)}
.profile-metrics strong{display:block;font:400 1.9rem/1.07 var(--serif)}
.profile-metrics a,.fact-list a,.project-event a{font-weight:700;font-size:.86rem}
.profile-nav{display:flex;gap:9px 19px;flex-wrap:wrap;border-block:1px solid var(--line);padding:11px 0;font-weight:700}
.profile-body{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr);gap:34px}
.profile-body aside{min-width:0}
.profile-body aside>section{background:var(--sage);padding:10px 18px 15px;margin-top:23px}
.profile-body aside h2{font-size:2rem;margin-top:6px}
.project-event{padding:13px 0;border-top:1px solid var(--line)}
.project-event h3{font-size:1.9rem;margin:4px 0 7px}
.project-event p{margin-bottom:6px}
.project-sources{border-top:1px solid var(--line);margin-top:27px;padding-top:18px}
@media(max-width:850px){
 .masthead{gap:10px}.site-nav,.section-nav .shell{gap:2px 17px}
 .edition-grid{grid-template-columns:minmax(0,1.3fr) minmax(245px,1fr)}
 .filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .atlas-layout{grid-template-columns:minmax(0,1.15fr) minmax(260px,1fr)}
}
@media(max-width:640px){
 .masthead:has(.site-nav){display:block;padding:13px 0 5px}
 .site-nav{margin-top:6px}
 .site-nav a,.section-nav a{font-size:.85rem;padding:8px 0}
 .section-nav .shell{gap:1px 11px;min-height:38px}.section-nav a{font-size:.79rem}
 .edition-grid,.work-grid,.work-grid.two,.atlas-layout,.profile-head,.profile-body,.compare-columns{grid-template-columns:1fr}
 .edition-copy{padding:42px 0 29px}.edition-copy h1{font-size:clamp(4.15rem,17vw,7rem)}
 .edition-side{min-height:310px;border-left:0;border-top:1px solid #6b8374;padding:23px 0 32px;background-position:center,right top;background-size:auto, min(90%,350px) auto}
 .work-link{padding:18px 3px}
 .work-link+.work-link{border-left:0;border-top:1px solid var(--line)}
 .article-row{grid-template-columns:1fr;gap:4px;padding:18px 0}
 .filter-panel{padding:13px 12px}
 .filter-grid,.atlas-controls,.atlas-extra,.compare-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .atlas-controls label:first-child,.compare-form label:first-child{grid-column:1/-1}
 .atlas-layout{margin-top:10px}
 .atlas-map svg{height:300px}
 .atlas-side{border-left:0;border-top:1px solid var(--line);max-height:none}
 .atlas-side .spotlight,#atlas-list{padding:13px}
 .map-controls{left:7px;top:7px}
 .tools-meta p{flex:1 0 100%}
 .record-card{grid-template-columns:1fr;gap:9px}
 .record-card time span{display:inline;margin-left:7px}
 .view-nav button{padding:6px 8px;font-size:.88rem}
 .profile-head,.profile-body{gap:14px}
 .profile-head .profile-map{max-width:340px}
 .profile-metrics{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))}
}

.map-legend{display:flex;gap:5px 13px;flex-wrap:wrap;padding:9px 13px 0;color:var(--muted);font-size:.78rem}
.map-legend>span{display:inline-flex;align-items:center;gap:5px}
.legend-mark{display:inline-block;background:#315d49;width:10px;height:10px;border-radius:50%}
.legend-mark.building{background:#9b651d;border-radius:0}
.legend-mark.proposed{background:#71518d;clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0}
.legend-mark.unconfirmed{background:white;border:1px solid #526158}
.legend-mark.other{background:#904e37}
button:disabled{cursor:default}

.atlas-map svg:focus-visible{outline-offset:-4px}
