.atlas-shell, .state-shell { padding-bottom: clamp(3rem, 6vw, 6rem); }
.atlas-shell .breadcrumb, .state-shell .breadcrumb { margin: 1.5rem 0; }
.atlas-hero, .state-lead {
  display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
  align-items: center; gap: clamp(2rem,5vw,5.5rem); padding: 1rem 0 clamp(2.8rem,5vw,5rem);
}
.atlas-kicker { display: inline-block; margin-bottom: 1.1rem; color: var(--accent); font-size: .88rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.atlas-hero h1, .state-lead h1 { font-size: clamp(3.75rem,6.6vw,6.6rem); line-height: .93; }
.atlas-hero h1 em, .state-lead h1 em { color: var(--accent); font-style: normal; }
.atlas-intro { max-width: 42ch; margin-top: 1.25rem; font-size: clamp(1.04rem,1.45vw,1.22rem); color: var(--muted); }
.atlas-jump, .source-link, .state-steps a, .state-reads a { display: inline-block; font-weight: 750; text-underline-offset: .24em; text-decoration-thickness: 1px; }
.atlas-jump { margin-top: 1.2rem; }
.atlas-map { padding: clamp(1.25rem,2.8vw,2.8rem); background: #20372c; color: var(--white); border-radius: .45rem; }
.atlas-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(7,1fr); gap: 3px; }
.atlas-tile { grid-column: var(--col); grid-row: var(--row); display: grid; place-items: center; aspect-ratio: 1; background: var(--swatch); color: #172921; border-radius: .16rem; font-size: clamp(.7rem,1.04vw,1rem); font-weight: 780; text-decoration: none; }
.tone-west { --swatch:#c3ce95; }
.tone-midwest { --swatch:#f1e1bd; }
.tone-south { --swatch:#f19b73; }
.tone-northeast { --swatch:#a4c8bd; }
.atlas-tile:hover, .atlas-tile:focus-visible { background: #fff; outline: 2px solid white; z-index:1; }
.map-legend { display: flex; flex-wrap:wrap; justify-content: center; gap: .5rem 1rem; border-top: 1px solid #54665b; margin-top: 1.3rem; padding-top: 1rem; }
.map-legend a { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; font-size: .88rem; }
.map-legend a:hover { text-decoration: underline; }
.map-legend i, .region-block i { width: .65rem; height: .65rem; border-radius: 1px; background: var(--swatch); }
.atlas-index { border-top: 2px solid var(--green); padding-top: clamp(1.7rem,3.5vw,3.5rem); }
.atlas-index-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.atlas-index h2 { scroll-margin-top: 1rem; }
.atlas-search { width: min(100%,24rem); }
.atlas-search label { display: block; margin-bottom: .35rem; color: var(--muted); font-weight: 650; font-size: .9rem; }
.atlas-search input { width: 100%; border: 1px solid var(--line); border-bottom-color: var(--ink); color: var(--ink); background: var(--white); padding: .72rem .85rem; border-radius: .2rem; }
.atlas-status:not(:empty) { margin: 1rem 0; }
.region-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3rem clamp(2rem,6vw,6rem); margin-top: 2rem; }
.region-block { scroll-margin-top: 1rem; }
.region-block h3 { display: flex; align-items:center; gap:.65rem; font: 800 2.15rem/1.15 var(--display); border-bottom: 2px solid var(--green); padding-bottom:.5rem; }
.region-block i { width:1rem;height:1rem;border:1px solid #50604b; }
.region-block ul { list-style: none; margin: 0; padding: 0; }
.region-block li { border-bottom:1px solid var(--line); }
.region-block li a { display: flex; align-items: center; gap: .8rem; text-decoration: none; min-height: 3.2rem; padding:.45rem .15rem; font-weight: 700; }
.region-block li a:hover, .region-block li a:focus-visible { background: var(--white); color: var(--accent); }
.state-code { width: 2.3rem; text-align:center; font: 600 .83rem/1.6 ui-monospace,monospace; color:var(--muted); border:1px solid var(--line); }
.sample-city { margin-left: auto; color:var(--muted); text-align:right; font-size:.88rem; font-weight: 450; }
.atlas-reset { border: 0; padding: .65rem 0; background: transparent; color:var(--accent); font-weight: 700; text-decoration: underline; cursor: pointer; }
.state-lead { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); }
.region-link { text-underline-offset: .2em; }
.municipal-note { min-width:0; background: var(--green); color: var(--white); padding: clamp(1.3rem,3.6vw,3.1rem); border-radius: .4rem; align-self: stretch; display:flex; flex-direction:column; justify-content:center; }
.note-band { color:#f4d5b0; border-bottom:1px solid #829085; padding-bottom:.75rem; margin-bottom:1.1rem; font-size:.95rem; font-weight:700; }
.municipal-note h2 { font: 650 clamp(1.8rem,3vw,3rem)/1.14 "DM Sans", sans-serif; letter-spacing: 0; text-wrap: balance; }
.municipal-note p { margin:1rem 0; line-height:1.6; }
.source-link { font-weight: 650; color:#ffd5ac; align-self:flex-start; overflow-wrap:anywhere; }
.state-steps { display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.6rem,7vw,7rem); border-top:1px solid var(--line); padding:clamp(1.8rem,4vw,4rem) 0; }
.state-steps h2, .state-request h2 { font: 650 clamp(1.55rem,2.1vw,2.15rem)/1.22 "DM Sans", sans-serif; }
.state-steps p, .state-request p { margin:.9rem 0; max-width: 54ch; }
.state-request { background:#e4e6d5; padding:clamp(1.25rem,3vw,2.75rem); border-radius:.4rem; display:flex; justify-content:space-between; align-items:center; gap:1.3rem 2.25rem; }
.state-request p { margin-bottom:0; }
.state-request .button { flex-shrink:0; }
.state-reads { display:flex; flex-wrap:wrap; gap:.7rem 1.7rem; padding-top:1.5rem; font-size:.92rem; }
@media(max-width:820px) {
  .atlas-hero, .state-lead { grid-template-columns: 1fr; gap:1.5rem; }
  .atlas-hero h1 br { display:none; }
  .atlas-map { max-width: 38rem; width:100%; }
  .region-columns { gap:2rem; }
  .state-request { align-items:flex-start; flex-direction:column; }
}
@media(max-width:590px) {
  .atlas-hero h1, .state-lead h1 { font-size:clamp(3rem,12vw,4.4rem); }
  .region-columns, .state-steps { grid-template-columns: 1fr; }
  .atlas-search { width:100%; }
}
@media(max-width:425px) {
  .atlas-map { padding: .8rem; }
  .atlas-grid { gap:2px; }
  .atlas-tile { font-size:.66rem; }
  .map-legend { justify-content: start; gap:.35rem .85rem; }
}
@media(max-width:399px) {
  .atlas-map { display:none; }
  .atlas-hero { padding-bottom:1.7rem; }
}
.source-date { margin-top:1.4rem; color:var(--muted); font-size:.9rem; }
