
    :root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#17263a;background:#f4f7f9;font-size:16px;line-height:1.5}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:inherit}button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d99a2b;outline-offset:3px}
    .wrap{max-width:1180px;margin:auto;padding:0 24px}.top{background:#102a43;color:#fff;border-bottom:4px solid #b98b4b}.top .wrap{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-weight:800;letter-spacing:.02em}.brand-badge{display:block;width:58px;height:58px;border-radius:50%;object-fit:cover;background:#fff;border:2px solid #e5c88b}.top nav{display:flex;gap:24px;flex-wrap:wrap}.top nav a{font-size:.93rem;text-decoration:none;color:#e7eef5}.top nav a:hover{text-decoration:underline}
    .hero{background:linear-gradient(100deg,rgba(12,35,57,.96) 0%,rgba(14,45,71,.90) 46%,rgba(14,45,71,.52) 100%),url('assets/nc-banner.jpg') center/cover no-repeat;color:#fff;padding:76px 0 69px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;color:#e9c47c;font-weight:800;font-size:.78rem}.hero h1{font-family:Georgia,serif;font-size:clamp(2.6rem,5.5vw,5rem);line-height:1.08;letter-spacing:-.035em;max-width:850px;margin:16px 0 20px}.hero p{max-width:730px;font-size:1.13rem;color:#e1eaf1}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-block;border-radius:8px;padding:12px 18px;text-decoration:none;font-weight:750;border:1px solid #c8d6df;background:#fff;color:#183552}.btn.gold{background:#d7a64f;border-color:#d7a64f;color:#152738}.btn.ghost{background:transparent;color:#fff;border-color:#abc1d1}.btn:hover{filter:brightness(.95)}
    .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:-28px;position:relative}.stat{background:#fff;padding:20px 24px;border-radius:10px;box-shadow:0 6px 24px #19334b16;border:1px solid #dfE6ea}.stat strong{display:block;font-family:Georgia,serif;font-size:1.8rem;color:#143b59}.stat span{font-size:.9rem;color:#526273}
    section{padding:58px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:23px}.section-head h2{font-family:Georgia,serif;font-size:clamp(1.8rem,3vw,2.6rem);margin:5px 0}.section-head p{margin:0;color:#5d6b78;max-width:640px}.kicker{font-size:.77rem;text-transform:uppercase;letter-spacing:.13em;color:#98692b;font-weight:800}
    .finder{display:grid;grid-template-columns:minmax(230px,320px) minmax(0,1fr);gap:20px;align-items:start}.sidebar,.panel,.card{background:#fff;border:1px solid #dbe4e9;border-radius:10px}.sidebar{overflow:hidden;position:sticky;top:15px}.searchbox{padding:16px;border-bottom:1px solid #e1e8ed}.searchbox label{display:block;font-weight:750;font-size:.88rem;margin-bottom:7px}.searchbox input{width:100%;padding:11px 12px;border:1px solid #aebeca;border-radius:6px;background:#fff;color:#17263a}.county-list{max-height:545px;overflow:auto;padding:8px}.county-list button{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:#fff;text-align:left;padding:10px 12px;color:#20374a;border-radius:6px}.county-list button:hover{background:#edf4f8}.county-list button[aria-current="true"]{background:#173d5b;color:#fff;font-weight:750}.county-list small{opacity:.7}.empty{padding:10px 12px;color:#6a7882}
    .panel{padding:26px}.county-top{display:flex;justify-content:space-between;gap:20px;align-items:start}.county-top h3{font-family:Georgia,serif;font-size:2rem;margin:0}.county-top p{margin:6px 0 0;color:#5a6875}.pill{display:inline-block;border-radius:100px;padding:5px 10px;background:#fff2d9;color:#7a4b0c;font-size:.8rem;font-weight:750;white-space:nowrap}.tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid #dce5ea;margin:24px 0}.tabs button{border:0;background:transparent;padding:10px 14px;color:#506172;white-space:nowrap;border-bottom:3px solid transparent}.tabs button[aria-selected="true"]{border-color:#b68039;color:#173d5b;font-weight:800}.tabpanel h4{margin:0 0 8px;font-size:1.15rem}.tabpanel p{color:#536575}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.source-card{padding:16px;border:1px solid #dbe4e9;border-radius:8px;background:#fafcfd}.source-card strong{display:block}.source-card p{font-size:.88rem;margin:7px 0 11px}.source-card a{color:#14537c;font-weight:750}.note{border-left:4px solid #d6a44f;background:#fff9ee;padding:13px 16px;color:#4c5560;margin-top:18px}.note strong{color:#5c3d16}.meta{color:#6a7985;font-size:.84rem}
    .band{background:#e8f0f4;border-top:1px solid #d7e3e9;border-bottom:1px solid #d7e3e9}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{padding:22px}.card .number{font-family:Georgia,serif;font-size:1.65rem;color:#173d5b}.card h3{margin:10px 0 7px}.card p{color:#5b6a76}.card a{color:#14537c;font-weight:750}.link-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.link-list a{display:block;background:white;border:1px solid #dbe4e9;border-radius:8px;padding:17px;text-decoration:none}.link-list a:hover{border-color:#7395aa}.link-list strong{display:block;color:#173d5b}.link-list span{color:#5c6b78;font-size:.9rem}
    .method{display:grid;grid-template-columns:1fr 1fr;gap:30px}.method h3{font-size:1.08rem}.method ul{padding-left:20px;color:#526372}.method li{margin:9px 0}.footer{background:#102a43;color:#cfdee7;padding:38px 0}.footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer strong{color:white}.footer p{max-width:700px;margin:7px 0;color:#b9ccd8}.footer a{color:#e9c47c}
    .mapbox{background:#fff;border:1px solid #dbe4e9;border-radius:10px;padding:18px;margin-bottom:20px}.mapbar{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}.mapbar h3{font-family:Georgia,serif;font-size:1.35rem;margin:0}.mapmodes{display:flex;gap:6px;flex-wrap:wrap}.mapmodes button{border:1px solid #bdccd6;border-radius:6px;background:#fff;padding:8px 12px;color:#25435a}.mapmodes button[aria-pressed="true"]{background:#173d5b;color:#fff;border-color:#173d5b}.mapcanvas{display:grid;place-items:center;min-height:250px;margin:12px 0}.mapcanvas svg{display:block;width:100%;height:auto;max-height:570px}.mapcanvas path{fill:#c9dce7;stroke:#fff;stroke-width:1.35;cursor:pointer;transition:fill .15s}.mapcanvas path:hover,.mapcanvas path:focus{fill:#d7a64f!important;outline:none}.mapcanvas path.selected{stroke:#12334f;stroke-width:3}.mapcanvas .map-label{pointer-events:none;text-anchor:middle;dominant-baseline:middle;font-size:9px;font-weight:800;fill:#102a43;stroke:#fff;stroke-width:2px;paint-order:stroke}.mapcanvas .map-label.small{font-size:7px}.maplegend{display:flex;gap:18px;flex-wrap:wrap;color:#526575;font-size:.86rem}.maplegend span{display:inline-flex;align-items:center;gap:6px}.swatch{width:14px;height:14px;border-radius:3px;background:#c9dce7}.mapstatus{font-size:.9rem;color:#496075}
    @media(max-width:800px){.finder{grid-template-columns:1fr}.sidebar{position:static}.county-list{max-height:220px}.stats,.three{grid-template-columns:1fr}.method,.link-list{grid-template-columns:1fr}.top .wrap{padding-top:12px;padding-bottom:12px;align-items:start;flex-direction:column}.top nav{gap:14px}.source-grid{grid-template-columns:1fr}.county-top{flex-direction:column}}
  #counties{padding-top:14px}.atlas-banner{background:linear-gradient(90deg,#102a43f5,#102a4370),url('assets/nc-banner.jpg') center 48%/cover;color:white;padding:14px 22px;border-radius:9px;margin-bottom:12px}.atlas-banner h1{font:700 clamp(1.65rem,4vw,2.35rem)/1.12 Georgia,serif;margin:0}.atlas-banner p{margin:5px 0 0}.mapbar h2{font:700 1.25rem Georgia,serif;margin:0}.drilldown{display:inline-block;background:#163f60;color:white;padding:9px 14px;border-radius:5px;margin:0 0 8px;text-decoration:none}.drilldown:hover{text-decoration:underline}
   .top .site-nav{align-items:center;gap:.25rem 1rem}.site-nav>a,.site-nav summary{display:block;padding:.65rem .3rem;color:white;font-size:.95rem;cursor:pointer}.site-nav details{position:relative}.site-nav summary{display:list-item}.site-nav details>div{position:absolute;right:0;z-index:5;min-width:14rem;padding:.4rem;background:#102a43;border:1px solid #8299a8;box-shadow:0 5px 14px #102a4330}.site-nav details a{display:block;padding:.55rem .7rem}.skip-link{position:absolute;left:1rem;top:-8rem;z-index:9;background:white;color:#173950;padding:.65rem}.skip-link:focus{top:.5rem}.map-search-link{display:inline-block;margin:.25rem 0 .5rem;color:#20577b}.tabs{flex-wrap:wrap}summary:focus-visible{outline:3px solid #d99a2b;outline-offset:2px}@media(max-width:800px){.top .site-nav{width:100%;align-items:start}.site-nav details>div{position:static;min-width:0;border:none;box-shadow:none}.site-nav details[open]{width:100%}}
@media(max-width:800px){.finder,.source-grid,.three,.method,.link-list{grid-template-columns:minmax(0,1fr)}.finder>*,.searchbox,.tabs,.panel,.source-card,.mapbox{min-width:0}.finder input,.finder select{max-width:100%;box-sizing:border-box}.panel,.source-card,.card{overflow-wrap:anywhere}.top .wrap{gap:.2rem}.top .site-nav{gap:.1rem .65rem}.site-nav>a,.site-nav summary{padding:.4rem .1rem}}

.todo{border-left:4px solid #d6a44f;background:#fff9ee;padding:16px 18px;margin:18px 0;color:#4c5560}
.todo strong{color:#5c3d16}
.phase-note{font-size:.9rem;color:#526273}

.brand [data-site-brand-label]{display:inline-block;line-height:1.15;text-wrap:balance}
@media(max-width:800px){.brand{min-width:0;max-width:100%}.brand [data-site-brand-label]{font-size:.92rem}}

/* ==========================================================================
   Shared site theme (the home page look). Used by every page except the War Map.
   Palette: navy #102a43, gold #b98b4b / #d7a64f, page #f4f7f9, band #e8f0f4.
   Type: Georgia for headings, system sans for body.
   ========================================================================== */
body{background:#f4f7f9;color:#17324a}
.page-hero,.hp-hero{background:linear-gradient(100deg,rgba(12,35,57,.96) 0%,rgba(14,45,71,.9) 50%,rgba(14,45,71,.6) 100%),url('assets/nc-banner.jpg') center/cover no-repeat;color:#fff}
.page-hero{padding:54px 0 48px}
.page-hero .eyebrow{margin:0}
.page-hero h1{font-family:Georgia,serif;font-size:clamp(2rem,4.6vw,3.5rem);line-height:1.1;margin:.4rem 0 .8rem;max-width:24ch;text-wrap:balance;color:#fff}
.page-hero .hero-lede{font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.55;max-width:50rem;color:#e6eef4;margin:0}
.page-hero a{color:#e9c47c}
.page-hero + main,.page-hero + .research-main{margin-top:0}
/* Cards, buttons, pills share one look */
.card,.panel,.sidebar,.mapbox,.stat{border-radius:12px}
.card{border-top:4px solid #b98b4b}
.card h3,.stat strong{color:#102a43}
.btn,.drilldown{border-radius:8px;font-weight:750}
.drilldown{background:#d7a64f;color:#152738;padding:10px 16px;border:1px solid #d7a64f}
.drilldown:hover{filter:brightness(.95);text-decoration:none}
.mapmodes button,.campaign-filters button{border-radius:999px;padding:.4rem 1rem;font-weight:600}
.mapmodes button[aria-pressed="true"]{background:#102a43;border-color:#102a43}
.tabs button[aria-selected="true"]{border-color:#b98b4b}
.kicker{color:#8a5a1e}
.section-head h2,.panel h3,.county-top h3{font-family:Georgia,serif;color:#102a43}
.band{background:#e8f0f4}
.stats{margin-top:8px;margin-bottom:8px}
#counties{padding-top:40px}
.page-hero ~ main #counties{padding-top:40px}
/* "Related pages" strip at the bottom of content pages */
.atlas-explore{margin:0;max-width:none;padding:44px max(24px,calc((100% - 1132px)/2));background:#e8f0f4;border-top:1px solid #d7e3e9;border-bottom:1px solid #d7e3e9;color:#17324a}
.atlas-explore h2{font:700 clamp(1.4rem,2.4vw,1.8rem)/1.2 Georgia,serif;color:#102a43;margin:0 0 .9rem}
.atlas-explore ul{gap:.5rem .7rem}
.atlas-explore a{background:#fff;border:1px solid #c6d4dd;border-radius:999px;padding:.4rem 1rem;color:#155578;text-decoration:none;font-weight:600}
.atlas-explore a:hover{background:#eef4f7}

/* ---- Home page ---- */
.hp{color:#17324a}
.hp section{padding:0}
.hp a{color:#155578}
.hp .btn{color:#183552}.hp .btn.gold{color:#152738}.hp .btn.ghost{color:#fff}
.hp-hero{background:linear-gradient(100deg,rgba(12,35,57,.96) 0%,rgba(14,45,71,.9) 50%,rgba(14,45,71,.6) 100%),url('assets/nc-banner.jpg') center/cover no-repeat;color:#fff;padding:84px 0 76px!important}
.hp-hero h1{font-family:Georgia,serif;font-size:clamp(2.3rem,5.4vw,4.4rem);line-height:1.08;margin:.4rem 0 1rem;max-width:18ch;text-wrap:balance}
.hp-hero .hero-lede{font-size:clamp(1.05rem,1.8vw,1.28rem);line-height:1.55;max-width:46rem;color:#e6eef4;margin:0 0 1.6rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem}
.hp-hero .eyebrow{margin:0}
.hp-section{padding:60px 0!important}
.hp-section.alt{background:#e8f0f4;border-top:1px solid #d7e3e9;border-bottom:1px solid #d7e3e9}
.hp-section.dark{background:#102a43;color:#e3edf3}
.hp-section.dark a{color:#e9c47c}
.hp-section.dark .btn.gold{color:#152738}
.hp-section h2{font-family:Georgia,serif;font-size:clamp(1.7rem,3.2vw,2.5rem);line-height:1.18;color:#102a43;margin:.2rem 0 .7rem}
.hp-section.dark h2{color:#fff}
.hp .kicker{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:#8a5a1e;font-weight:800;margin:0}
.hp .kicker.light{color:#e9c47c}
.section-lede{font-size:1.1rem;line-height:1.55;max-width:48rem;margin:0 0 1.4rem;color:#35495c}
.hp-cards{display:grid;gap:1rem;margin-top:1.2rem}
.three-up{grid-template-columns:repeat(3,minmax(0,1fr))}
.four-up{grid-template-columns:repeat(4,minmax(0,1fr))}
.hp-card{background:#fff;border:1px solid #dbe4e9;border-top:4px solid #b98b4b;border-radius:10px;padding:1.2rem 1.25rem;display:block;position:relative}
.hp-card h3{font-family:Georgia,serif;font-size:1.25rem;line-height:1.25;margin:.1rem 0 .5rem;color:#102a43}
.hp-card p{margin:0;line-height:1.55;color:#3d4f61}
.hp-card .step-num{position:absolute;right:1rem;top:.7rem;font:800 2rem Georgia,serif;color:#e4d3b3}
.link-card{text-decoration:none;color:inherit!important}
.link-card:hover{box-shadow:0 8px 24px #19334b22;transform:translateY(-1px)}
.link-card .go{display:block;margin-top:.8rem;font-weight:700;color:#155578}
.ladder{list-style:none;margin:1.4rem 0 0;padding:0;counter-reset:rung;display:grid;gap:1rem}
.rung{background:#fff;border:1px solid #dbe4e9;border-left:6px solid #b98b4b;border-radius:10px;padding:1.1rem 1.3rem}
.rung:nth-child(2){margin-left:1.2rem}.rung:nth-child(3){margin-left:2.4rem}.rung:nth-child(4){margin-left:3.6rem}
.rung-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1rem;margin-bottom:.4rem}
.rung-level{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#8a5a1e}
.rung h3{font-family:Georgia,serif;font-size:1.45rem;margin:0;color:#102a43}
.rung-when{margin-left:auto;background:#102a43;color:#fff;border-radius:999px;padding:.2rem .8rem;font-size:.82rem;font-weight:700}
.rung ul{margin:.3rem 0 0;padding-left:1.2rem}.rung li{margin:.4rem 0;line-height:1.55}
.fineprint{font-size:.9rem;color:#566879;line-height:1.5;margin-top:1.1rem}
.fineprint.light{color:#b9ccd8}
.two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:2rem;align-items:center}
.two-col p{line-height:1.6}
.cta-box{background:#fff;border:1px solid #cfdbe3;border-radius:12px;padding:1.4rem;text-align:center}
.cta-box .btn{margin:.4rem 0}
.cta-box.on-dark{background:#17385a;border-color:#2c5178;color:#fff}
.placeholder{background:#fff3cd;color:#5b4a08;border:1px dashed #c7a73c;border-radius:6px;padding:.3rem .6rem;display:inline-block;font-size:.88rem}
.map-wrap{background:#fff;border:1px solid #dbe4e9;border-radius:12px;padding:12px;margin-top:1rem}
.map-bar{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;align-items:center;justify-content:space-between;padding:2px 2px 10px}
.map-buttons{display:flex;gap:.4rem}
.map-buttons button{border:1px solid #c6d4dd;background:#fff;color:#17324a;border-radius:999px;padding:.4rem 1rem;font-weight:600}
.map-buttons button[aria-pressed="true"]{background:#102a43;border-color:#102a43;color:#fff}
.map-legend{display:flex;flex-wrap:wrap;gap:.3rem 1rem;font-size:.88rem;color:#3d4f61}
.pin{display:inline-block;width:.8rem;height:.8rem;border-radius:50%;vertical-align:-1px;margin-right:.25rem;border:2px solid #b3262e}
.pin-active{background:#b3262e}
#chapter-map{height:520px;border-radius:8px;overflow:hidden;background:#e8eef2}
.map-status{margin:.5rem 2px 0;font-size:.9rem;color:#566879}
.maplibregl-popup-content{font:.95rem/1.4 system-ui,sans-serif;color:#17324a}
.maplibregl-popup-content a{color:#155578;font-weight:700}
.quick-links{display:flex;flex-wrap:wrap;gap:.3rem 1.5rem;list-style:none;padding:0;margin:1.3rem 0 0}
.quick-links a{display:inline-block;padding:.35rem 0}
@media(max-width:900px){.four-up{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  .three-up,.four-up,.two-col{grid-template-columns:minmax(0,1fr)}
  .hp-hero{padding:52px 0 48px!important}.hp-section{padding:42px 0!important}
  .rung:nth-child(n){margin-left:0}
  .rung-when{margin-left:0}
  #chapter-map{height:420px}
}

.hp-section.dark a.btn{color:#183552}
.hp-section.dark a.btn.gold{color:#152738}
