/* THE WEBSITE'S PAGES (templates/site/*.html).  The header and footer are chrome.css; the
   colors and the two typefaces are /static/tokens.css (Barlow + Barlow Condensed, the dark
   "blueprint" palette).  The website is dark only: <html data-theme="dark">.

   One idea runs through it: the pages show REAL output, as a drawing set would -- a screen or a
   sheet with numbered KEYNOTES on it and the legend beside it.  Paper (the report, the sheets,
   the agencies' documents) stays white; screens keep the app's own dark. */
:root{
  --wrap:1240px; --gutter:28px; --measure:54ch;      /* ~70 characters of Barlow: 45-75 is the target */
  --band:clamp(64px,8.5vw,128px);                /* between the page's bands */
  --paper:#fbfcfd; --paper-line:#c9d3df;         /* a sheet of paper, in either theme */
  --key:#0a1320; --key-ring:#6cc4f0;             /* a keynote bubble */
  --rule:#2a4262;                                /* THE LOT LINE: long dash, two dots -- a drawing's linetype
                                                    for a property line; the rule above every section */
  --lotline:repeating-linear-gradient(90deg,var(--rule) 0 34px,transparent 34px 41px,var(--rule) 41px 45px,transparent 45px 52px,var(--rule) 52px 56px,transparent 56px 63px);
}
*,*::before,*::after{box-sizing:border-box}
/* the header stays at the top of the screen (chrome.css): an in-page link and the skip link
   land BELOW it, never under it */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body.site{margin:0;background:var(--bg);color:var(--ink-2);font:400 17.5px/1.62 var(--font-ui);
  text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.site main{display:block}
:where(.site) img{max-width:100%;height:auto;display:block}
:where(.site main) a{color:var(--accent);text-underline-offset:.2em;text-decoration-thickness:1px}
:where(.site main) a:hover{text-decoration-thickness:2px}
:where(.site main) a:focus-visible,:where(.site) button:focus-visible,:where(.site) input:focus-visible,:where(.site) video:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
:where(.site) strong,:where(.site) b{font-weight:600;color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:100%;max-width:calc(var(--wrap) + 2 * var(--gutter));margin-inline:auto;padding-inline:var(--gutter)}

/* ---------- type ---------- */
:where(.site) h1,:where(.site) h2,:where(.site) h3{font-family:var(--font-display);color:var(--ink);margin:0;text-wrap:balance}
:where(.site) h1{font-weight:700;font-size:clamp(38px,5.1vw,72px);line-height:.98;letter-spacing:.006em;text-transform:uppercase}
:where(.site) h2{font-weight:700;font-size:clamp(30px,2.2vw + 17px,46px);line-height:1.04;letter-spacing:.004em}
:where(.site) h3{font-weight:600;font-size:24px;line-height:1.15;letter-spacing:.01em}
.as-h3{font-weight:600;font-size:24px;line-height:1.15;letter-spacing:.01em;margin:0 0 8px}
:where(.site) p{margin:0 0 1em}
:where(.site) p:last-child{margin-bottom:0}
.lede{font-size:clamp(19px,1.55vw,22px);line-height:1.5;color:var(--ink);max-width:60ch}
.fine{font-size:15.5px;line-height:1.5;color:var(--muted)}
.measure{max-width:var(--measure)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border:0;border-radius:9px;
  font:700 19px/1 var(--font-display);letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap}
a.btn,.btn{color:#fff;background:#c8331b}        /* the app's red and radius (static/app.css .btn) */
a.btn:hover,.btn:hover{filter:brightness(1.08);text-decoration:none}
a.btn--line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--faint)}
a.btn--line:hover{background:var(--hover);box-shadow:inset 0 0 0 1px var(--ink)}
.more{display:inline-flex;align-items:center;min-height:48px;font-weight:600}

/* ---------- the property line: long dash, two dots -- a drawing's linetype for a lot line ---------- */
.pl{height:2px;border:0;margin:0;background:var(--lotline)}

/* ---------- HOME: the hero is the Reference Map itself ---------- */
.hero{position:relative;min-height:min(100vh,940px);display:flex;flex-direction:column;background:#070d16;color:#f6f4ef;
  isolation:isolate}
.hero>picture{position:absolute;inset:0;z-index:-2}
.hero-img{width:100%;height:100%;object-fit:cover;object-position:68% center}
/* the veil follows the container, so the words keep the same cover at any width */
.hero::before{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(98deg,rgba(6,12,21,.95) 0,rgba(6,12,21,.86) calc(50% - 260px),rgba(6,12,21,.4) calc(50% + 150px),
             rgba(6,12,21,.04) calc(50% + 470px)),linear-gradient(0deg,rgba(6,12,21,.9) 0,rgba(6,12,21,0) 24%)}
.hero-copy{flex:1;display:flex;flex-direction:column;justify-content:center;padding-block:112px 28px}
.hero h1{color:#fff;max-width:13.5em;text-shadow:0 2px 18px rgba(0,0,0,.5)}
.hero .sub{margin:22px 0 0;max-width:35em;font-size:clamp(17.5px,1.4vw,20px);line-height:1.5;color:#e8ecf2;
  text-shadow:0 1px 10px rgba(0,0,0,.6)}
.hero .sub b{color:#fff}
.addr-form{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 0;max-width:860px}
.addr-form input{flex:1 1 380px;min-width:0;min-height:54px;padding:0 16px;border-radius:9px;font:400 17px/1.2 var(--font-ui);
  text-overflow:ellipsis;border:1px solid rgba(246,244,239,.4);background:rgba(6,12,21,.78);color:#f6f4ef}
.addr-form input::placeholder{color:#a9b6c8}
.addr-form input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px rgba(108,196,240,.35)}
.addr-form .btn{min-height:54px}
.cta-note{margin:12px 0 0;font-size:15.5px;color:#c3cedc}
.cta-note{overflow:hidden}
.cta-note span{display:inline-block;position:relative;margin-right:1.05em}
.cta-note span:last-child{margin-right:0}
.cta-note i{position:absolute;left:-.82em;font-style:normal}
.nb{white-space:nowrap}
.cta-where{margin-top:4px}
.site main .cta-where a{color:#e8ecf2;display:inline-block;padding-block:10px}
.lede-actions{display:flex;flex-wrap:wrap;gap:6px 24px;align-items:center;margin:26px 0 0}
a.tap{display:inline-block;padding-block:13px;margin-block:-13px}
.hero-caption{padding-block:18px 22px}
.hero-caption p{margin:0;font-size:14.5px;line-height:1.45;color:#c3cedc;max-width:62ch}

/* ---------- bands ---------- */
.band{padding-block:var(--band)}
:where(.band) + .band:not(.band--panel){padding-top:0}
.band--panel{background:var(--panel);border-block:1px solid var(--line);padding-block:var(--band)}
.band--panel + .band:not(.band--panel){padding-top:var(--band)}
/* the band a page ends on: the address box, on a rule of its own */
.band.band--close{padding-block:clamp(52px,6.5vw,92px);border-top:1px solid var(--line)}
.band-head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:18px clamp(24px,5vw,72px);align-items:end;
  margin-bottom:clamp(28px,4vw,52px);padding-top:clamp(22px,2.6vw,34px);background:var(--lotline) 0 0 / auto 2px repeat-x}
.band-head p{margin:0;max-width:var(--measure)}
.band-head--stack{display:block}
.band-head--stack h2{margin-bottom:16px}

/* ---------- a PLATE: real output with numbered keynotes, the legend beside it ---------- */
.plate{margin:0;display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:clamp(20px,3vw,44px);align-items:start}
.plate--flip{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}
.plate--flip .plate-pan{order:2}
.plate-pan{min-width:0}
.plate-hint{display:none}
.plate-img{position:relative;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--sunken);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.plate-img a{display:block}
.key{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:var(--key);color:#fff;font:700 17px/1 var(--font-display);box-shadow:0 0 0 2px var(--key-ring),0 2px 10px rgba(0,0,0,.6);
  pointer-events:none}
.keys{margin:0;padding:0;list-style:none;counter-reset:k}
.keys li{counter-increment:k;position:relative;padding:2px 0 16px 44px;font-size:16.5px;line-height:1.5}
.keys li::before{content:counter(k);position:absolute;left:0;top:2px;display:grid;place-items:center;width:28px;height:28px;
  border-radius:50%;background:var(--key);color:#fff;font:700 16px/1 var(--font-display);box-shadow:0 0 0 2px var(--key-ring)}
.keys b{display:block}
.plate figcaption .fine{margin-top:6px}
.article .plate figcaption{margin-top:0;font-size:inherit;line-height:inherit;color:inherit}
/* a wide plate: the image at the page's full width, the legend in three columns under it */
.plate--wide{grid-template-columns:1fr}
.plate--wide .keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px clamp(24px,3.4vw,48px)}
.plate-cta{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;margin-top:14px}
.plate-cta .fine{margin:0;max-width:52ch}
/* the legend under the image whatever the column: a tall document beside its definitions */
.plate--under{grid-template-columns:1fr}
.plate--under .keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.plate-title{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin:0 0 14px}
.plate-title span{font-size:15px;color:var(--muted);white-space:nowrap}

/* ---------- the package: a mosaic of what is in the zip ---------- */
.pkg{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(36px,4.5vw,64px) clamp(24px,3.4vw,48px)}
.pkg>article{grid-column:span 6;min-width:0}
.pkg>.pkg-wide{grid-column:span 7}
.pkg>.pkg-narrow{grid-column:span 5}
.pkg>.pkg-full{grid-column:1 / -1}
.pkg h3{margin:18px 0 8px;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
/* the file's format, as a tag beside its name */
.pkg h3 small{font:500 13.5px/1.2 var(--font-ui);letter-spacing:.01em;color:var(--ink-2);padding:3px 8px;border:1px solid var(--line);
  border-radius:3px;white-space:nowrap}
.pkg p{font-size:16.5px;max-width:52ch}
.screen{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--sunken)}
.paper{background:var(--paper);border:1px solid var(--paper-line);box-shadow:0 22px 44px -26px rgba(0,0,0,.75)}
/* two details of one screen: the map, and a part of it at reading size laid over its corner */
.inset{position:relative;padding-bottom:11%}
.inset>.screen:first-child{margin-right:14%}
.inset>.screen + .screen{position:absolute;right:0;bottom:0;width:44%;box-shadow:0 0 0 1px var(--line),0 22px 44px -16px rgba(0,0,0,.9)}
/* two sheets of the same document, one laid over the other's foot */
.stack{display:grid}
.stack .paper{grid-area:1 / 1}
.stack .paper:nth-child(1){margin:0 12% 22% 0}
.stack .paper:nth-child(2){margin:34% 0 0 12%}
/* the three sheets, side by side at one scale: 8.5 in, 17 in and 36 in wide */
/* ...the two small sheets stand at the big one's foot, and their words fill the space above them */
.sheets-row{display:grid;grid-template-columns:8.5fr 17fr 36fr;grid-template-rows:1fr auto;column-gap:clamp(12px,2.2vw,28px)}
.sheets-row .sheets{display:contents}
.sheets-row .sheets-text{grid-column:1 / 3;grid-row:1;padding:0 12px 28px 0}
.sheets-row .sheets-text h3{margin-top:0}
.sheets-row figure:nth-child(1){grid-column:1;grid-row:2;align-self:end}
.sheets-row figure:nth-child(2){grid-column:2;grid-row:2;align-self:end}
.sheets-row figure:nth-child(3){grid-column:3;grid-row:1 / 3;align-self:end}
.sheets{display:grid;grid-template-columns:8.5fr 17fr 36fr;gap:clamp(12px,2.2vw,28px);align-items:end}
.sheets figure{margin:0}
.sheets figcaption{margin-top:10px;font-size:15px;color:var(--muted)}
.docs{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:start}
.docs .paper:nth-child(2){margin-top:16%}
/* "also in every package" / "in every one of the ten": a heading, then a ruled list -- a schedule */
.also{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:14px clamp(24px,5vw,72px);
  padding-top:clamp(22px,2.6vw,34px);background:var(--lotline) 0 0 / auto 2px repeat-x}
.also ul,.extras ul{margin:0;padding:0;list-style:none}
.also ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,3.4vw,48px);border-bottom:1px solid var(--line)}
.also li,.extras li{padding:13px 0 13px 22px;position:relative;font-size:16.5px;line-height:1.5;border-top:1px solid var(--line)}
.also li::before,.extras li::before{content:"";position:absolute;left:0;top:1.55em;width:9px;height:1px;background:var(--accent)}
.extras{margin:clamp(40px,5vw,68px) 0 0;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);
  gap:18px clamp(24px,5vw,72px);align-items:start}
.extras h3{grid-column:1 / -1;padding-top:22px;background:var(--lotline) 0 0 / auto 2px repeat-x}
.extras .screen{max-width:380px}
.extras li:last-child{border-bottom:1px solid var(--line)}
.extras .fine{margin:18px 0 0;max-width:62ch}

/* ---------- see it work: the loop, in a box its own size (no shift when it loads) ---------- */
.film{position:relative;display:block;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#05090f;aspect-ratio:16 / 9}
.film video{width:100%;height:100%;display:block;object-fit:contain;background:#05090f}
.film--still{aspect-ratio:auto}
.film--still img{width:100%;height:auto}
.film-foot{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:space-between;margin-top:16px}
.film-foot .fine{margin:0;max-width:62ch}

/* ---------- how it works: three steps, in order ---------- */
/* three STATIONS on one line, left to right: the bubbles are the plates' keynote bubbles */
.steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,3.4vw,48px);margin:0;padding:0;
  list-style:none;counter-reset:s}
.steps::before{content:"";position:absolute;left:0;right:0;top:20px;height:1px;background:var(--rule)}
.steps li{counter-increment:s;position:relative;padding-top:64px}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:var(--key);color:#fff;font:700 22px/1 var(--font-display);box-shadow:0 0 0 2px var(--key-ring),0 0 0 10px var(--bg)}
.steps h3{margin-bottom:8px}
.steps p{font-size:16.5px;max-width:44ch}

/* ---------- who it is for ---------- */
/* a SCHEDULE: who | how they use it, two to a row, every row ruled */
.aud{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,5vw,72px);border-bottom:1px solid var(--line)}
.aud>div{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:6px 20px;align-items:baseline;align-content:start;
  border-top:1px solid var(--line);padding:18px 0 20px}
.aud h3{font-size:22px}
.aud p{margin:0;font-size:16.5px;line-height:1.55}

/* ---------- price + coverage, side by side on the home page ---------- */
/* the price | where it works: the words, the ten counties as links, and the schematic of them */
.duo{display:grid;grid-template-columns:minmax(0,3.5fr) minmax(0,8.5fr);gap:clamp(32px,5vw,72px)}
.duo h2{margin-bottom:16px}
.duo p{max-width:var(--measure)}
.duo>div + div{border-left:1px solid var(--line);padding-left:clamp(28px,5vw,72px)}
.where{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:24px clamp(24px,3.4vw,48px);align-items:start}
.price{font:700 clamp(64px,8vw,112px)/.9 var(--font-display);color:var(--ink);letter-spacing:.01em;margin:0 0 14px}
.price small{font:500 18px/1.3 var(--font-ui);letter-spacing:0;color:var(--muted);margin-left:10px}
.counties{margin:0 0 16px;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;
  border-top:1px solid var(--line)}
.counties li{font-size:16.5px;border-bottom:1px solid var(--line)}
.site main .counties a{display:flex;align-items:center;min-height:40px;color:var(--accent);text-decoration:none}
.site main .counties a:hover{text-decoration:underline}
.cmap--home .la{fill:#3596d4}.cmap--home .co{fill:#1c4263}
.cmap--home text{font-size:24px}
.cmap--home + p{margin-top:16px;font-size:16.5px}
.plain-list{margin:0 0 18px;padding:0;list-style:none;columns:5 150px;column-gap:28px;color:var(--ink);font-size:17px}
.plain-list li{padding:3px 0;break-inside:avoid}

/* ---------- the closing band ---------- */
.close{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px clamp(24px,5vw,72px);align-items:center}
.close .addr-form{margin-top:0}
.close .addr-form input{flex-basis:260px;background:var(--field);border-color:var(--line);color:var(--ink)}
.close .cta-note{color:var(--muted)}

/* ---------- TOPIC PAGES ---------- */
.crumbs{margin:0 0 22px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px 10px;font-size:15.5px;color:var(--muted)}
.crumbs li + li::before{content:"/";margin-right:10px;color:var(--faint)}
.crumbs a{color:var(--ink-2);text-decoration:none;display:inline-block;padding-block:12px}
.crumbs a:hover{text-decoration:underline}
.crumbs li{display:flex;align-items:center}
.page-head{padding-block:clamp(28px,4vw,56px) clamp(36px,5vw,64px)}
.page-head h1{font-size:clamp(38px,2.4vw + 28px,62px);max-width:18em}
.page-head .lede{margin-top:24px}
.page-head--split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:32px clamp(24px,5vw,72px);align-items:end}
.article{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(40px,5vw,72px) clamp(24px,5vw,72px);align-items:start}
.article>section,.article>.wide{grid-column:1 / -1}
.article>section{display:grid;grid-template-columns:subgrid;row-gap:0;align-items:start}
.article>section>*{grid-column:1;min-width:0}
.article>section>h2{grid-column:1 / -1;max-width:20em;margin-bottom:24px}
.article>section>figure,.article>section>aside{grid-column:2;grid-row:2 / span 12;margin:0}
.article>section>.wide{grid-column:1 / -1;grid-row:auto;margin-bottom:28px}
.article p,.article li{max-width:var(--measure)}
.article section + section{padding-top:clamp(40px,5vw,72px);background:var(--lotline) 0 0 / auto 2px repeat-x}
.article h3{margin:22px 0 6px}
.article h3:first-child{margin-top:0}
.article aside p{font-size:16.5px}
.article ul{margin:0 0 1em;padding-left:1.15em}
.article li{margin-bottom:.45em}
.article figure figcaption,.cap{margin-top:10px;font-size:15px;line-height:1.45;color:var(--muted)}
/* the record of survey beside the six definitions; then two more documents side by side */
.rs{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:28px clamp(24px,5vw,72px);align-items:start}
.defs>div + div{margin-top:20px}
.article .defs h3{margin:0 0 6px}
.defs p{font-size:16.5px;margin:0}
.pair{display:grid;grid-template-columns:var(--cols,1fr 1fr);gap:28px clamp(24px,5vw,72px);align-items:start}
.pair figure{margin:0}
.facts-title{margin:0 0 10px;font:600 16px/1.35 var(--font-ui);color:var(--ink)}
.facts{margin:0;border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:8px 22px}
.facts div{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:14px;padding:13px 0;border-bottom:1px solid var(--line);font-size:16px}
.facts div:last-child{border-bottom:0}
.facts dt{color:var(--muted)}
.facts dd{margin:0;color:var(--ink)}
.callout{border-left:2px solid var(--red);padding:4px 0 4px 20px;color:var(--ink);font-size:18.5px;line-height:1.5;max-width:52ch}

/* ON THIS PAGE: a long page's own section headings, in order -- a set's sheet index */
.toc{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,10fr);gap:6px clamp(24px,5vw,72px);align-items:start;
  margin:0 0 clamp(36px,5vw,64px);padding:14px 0 6px;border-block:1px solid var(--line)}
.toc-h{margin:0;padding-top:12px;font-size:15.5px;color:var(--muted)}
.toc ol{margin:0;padding:0;list-style:none;counter-reset:t;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(20px,3vw,40px)}
.toc li{counter-increment:t}
/* the section right under the index needs no rule of its own: the index's foot is one */
.toc + section .band-head{padding-top:0;background:none}
.site main .toc a{display:flex;gap:12px;align-items:baseline;min-height:48px;padding:11px 0;color:var(--ink);text-decoration:none;
  font-size:16.5px;line-height:1.35}
.toc a::before{content:counter(t);flex:none;min-width:1.1em;font:700 18px/1 var(--font-display);color:var(--accent)}
.site main .toc a:hover{text-decoration:underline;text-decoration-thickness:1px}

/* tables: the layer list and the coverage table */
.tbl-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:6px;background:var(--panel)}
.tbl{width:100%;border-collapse:collapse;font-size:16px;line-height:1.4}
.tbl caption{caption-side:top;text-align:left;padding:16px 18px;font-size:15.5px;color:var(--muted);border-bottom:1px solid var(--line)}
.tbl th,.tbl td{padding:11px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.tbl thead th{font-weight:600;color:var(--ink);font-size:15.5px;white-space:nowrap;background:var(--chrome)}
.tbl tbody tr:last-child>*{border-bottom:0}
.tbl tbody th{font-weight:500;color:var(--ink);white-space:nowrap}
.tbl tbody th a{display:inline-block;padding-block:10px;margin-block:-10px}
.tbl .num{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}
.tbl .grp th{background:var(--chrome);color:var(--ink);font:600 19px/1.2 var(--font-display);letter-spacing:.02em;padding-top:16px}
.lyr{display:inline-flex;align-items:center;gap:10px;font-weight:500;color:var(--ink);white-space:nowrap}
.lyr i{width:14px;height:14px;border-radius:2px;flex:none;border:1px solid rgba(255,255,255,.28)}
/* a coverage cell: a mark and its words */
.st{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start;font-size:15.5px;line-height:1.35}
.st i{width:14px;height:14px;margin-top:3px;border-radius:50%;border:2px solid var(--accent)}
.st--docs i{background:var(--accent)}
.st--links i{background:linear-gradient(90deg,var(--accent) 50%,transparent 50%)}
.st--index i{background:transparent}
.st--none i{border-color:var(--faint);border-radius:0;height:2px;margin-top:9px;border-width:1px 0 0}
.st--none{color:var(--muted)}
.st--down i{border-color:var(--amber);background:repeating-linear-gradient(135deg,var(--amber) 0 2px,transparent 2px 4px)}
.st--down{color:var(--amber-ink)}
.tbl--matrix .st span{white-space:nowrap}
.tbl--matrix th,.tbl--matrix td{padding-inline:14px}
.tbl-note{margin:0 0 14px;max-width:74ch}
.tbl-hint{display:none}
.also h2{margin-bottom:14px}
/* the schematic of the ten counties */
.cmap{margin:0}
.cmap svg{display:block;width:100%;height:auto}
.cmap polygon{stroke:var(--bg);stroke-width:2;stroke-linejoin:round}
.cmap a:hover polygon,.cmap a:focus polygon{stroke:var(--ink);stroke-width:2}
.cmap text{font:600 19px var(--font-ui);fill:var(--ink);text-anchor:middle;dominant-baseline:middle;pointer-events:none;paint-order:stroke;stroke:rgba(6,12,21,.7);stroke-width:3px}
.cmap .d0{fill:#16263b}.cmap .d1{fill:#1a3a55}.cmap .d2{fill:#1f4f72}.cmap .d3{fill:#256592}.cmap .d4{fill:#2c7db3}.cmap .d5{fill:#3596d4}
.cmap figcaption{margin-top:12px;font-size:15px;line-height:1.45;color:var(--muted)}
.cmap-key{display:inline-flex;gap:3px;margin-right:10px;vertical-align:-2px}
.cmap-key i{width:18px;height:14px;border-radius:2px}
.cmap-key .d0{background:#16263b}.cmap-key .d1{background:#1a3a55}.cmap-key .d2{background:#1f4f72}.cmap-key .d3{background:#256592}.cmap-key .d4{background:#2c7db3}.cmap-key .d5{background:#3596d4}
.legend{display:flex;flex-wrap:wrap;gap:10px 28px;margin:0 0 18px;padding:0;list-style:none}
.county{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:12px clamp(24px,5vw,72px);padding-block:30px;border-top:1px solid var(--line)}
.county h3{font-size:28px}
.county dl{margin:0;display:grid;grid-template-columns:minmax(120px,11em) 1fr;gap:10px 22px;font-size:16.5px}
.county dt{color:var(--muted)}
.county dd{margin:0}
.packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--panel)}
.packs div{padding:26px 26px 24px;border-left:1px solid var(--line)}
.packs div:first-child{border-left:0}
.packs b{display:block;font:700 54px/1 var(--font-display);color:var(--ink);letter-spacing:.01em}
.packs span{display:block;margin-top:8px;color:var(--ink-2)}

/* ---------- widths ---------- */
@media (max-width:1000px){
  /* the words run the full width here, so nothing of the map sits behind them: the copy stands
     on the page's own dark, and the map is a strip of its own under the form -- the lot in view */
  .hero{min-height:0}
  .hero::before{display:none}
  .hero>picture{position:relative;inset:auto;z-index:0;order:2;height:clamp(250px,44vw,400px)}
  .hero-img{object-position:center}
  .hero-copy{order:1;flex:0 0 auto;padding-block:clamp(36px,6vw,56px) 28px}
  .hero-caption{order:3;padding-block:12px 4px}
  :root{--measure:58ch}
  .rs{grid-template-columns:1fr}
  .defs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px clamp(24px,5vw,44px)}
  .defs>div + div{margin-top:0}
  .plate,.plate--flip{grid-template-columns:1fr}
  .toc{grid-template-columns:1fr}
  .toc-h{padding-top:0}
  .toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plate--flip .plate-pan{order:0}
  .keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}
  .plate--wide .keys{grid-template-columns:repeat(2,minmax(0,1fr))}
  .band-head,.also,.extras,.close,.county,.page-head--split{grid-template-columns:1fr}
  .sheets-row{display:flex;flex-direction:column}
  .sheets-row .sheets{display:grid}
  .sheets-row .sheets-text{order:2;padding:18px 0 0}
  .duo{grid-template-columns:1fr}
  .duo>div + div{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:clamp(28px,5vw,44px)}
  .cmap{max-width:560px}
  /* a tablet: the drawing full width; the report beside its words; the model and the records side by side */
  .pkg>.pkg-wide,.pkg>.pkg-narrow{grid-column:1 / -1}
  .pkg>.pkg-narrow{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);grid-template-rows:1fr auto 1fr;column-gap:clamp(24px,4vw,44px)}
  .pkg>.pkg-narrow .stack{grid-row:1 / 4}
  .pkg>.pkg-narrow h3{grid-column:2;grid-row:2;margin-top:0}
  .pkg>.pkg-narrow p{grid-column:2;grid-row:3}
  .aud>div{grid-template-columns:1fr}
  .article{grid-template-columns:1fr}
  .article>section>figure,.article>section>aside{grid-column:1;grid-row:auto;margin-top:26px}
}
@media (max-width:760px){
  :root{--gutter:16px;--measure:54ch}
  .pair,.defs{grid-template-columns:1fr}
  body.site{font-size:17px}
  .inset>.screen:first-child{margin-right:10%}
  .inset>.screen + .screen{width:52%}
  .hero-copy{padding-block:32px 20px}
  .addr-form{flex-direction:column;flex-wrap:nowrap}
  .addr-form input,.close .addr-form input{flex:0 0 auto}   /* stacked: a basis would be a HEIGHT here */
  .keys,.plate--wide .keys,.plate--under .keys{grid-template-columns:1fr}
  .plate--wide .plate-pan{overflow-x:auto;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);
    scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .plate--wide .plate-img{width:210%}
  .plate--wide .plate-hint{display:block;margin:0 0 14px}
  .tbl-hint{display:block;margin:0 0 10px}
  .tbl--matrix tbody th a{display:inline-flex;align-items:center;min-height:48px;padding-block:0;margin-block:-6px}
  .tbl tbody th,.tbl thead th:first-child{position:sticky;left:0;z-index:1;background:var(--panel);box-shadow:1px 0 0 var(--line)}
  .tbl thead th:first-child{background:var(--chrome)}
  .toc ol{grid-template-columns:1fr}
  /* the stations run down the page, the line beside them */
  .steps{grid-template-columns:1fr;gap:30px}
  .steps::before{display:none}
  .steps li:not(:last-child)::after{content:"";position:absolute;left:20px;top:52px;bottom:-22px;width:1px;background:var(--rule)}
  .steps li{padding:6px 0 0 64px}
  .aud{grid-template-columns:1fr}
  .where{grid-template-columns:1fr}
  .site main .counties a{min-height:48px}
  .also ul{grid-template-columns:1fr}
  .pkg>article{grid-column:1 / -1}
  .pkg>.pkg-narrow{display:block}
  .pkg>.pkg-narrow h3{margin-top:18px}
  .film{margin-inline:calc(-1 * var(--gutter));border-radius:0;border-inline:0}
  .sheets{grid-template-columns:8.5fr 17fr}
  .sheets figure:last-child{grid-column:1 / -1;grid-row:1}
  .key{width:24px;height:24px;font-size:14px}
  .packs div{padding:18px 14px 16px}
  .packs b{font-size:40px}
  .packs span{font-size:15.5px}
  .county dl{grid-template-columns:1fr;gap:2px 0}
  .county dd{margin-bottom:10px}
  .facts div{grid-template-columns:1fr;gap:2px}
  .tbl th,.tbl td{padding:10px 12px}
  /* the layer list reads as a list here: the layer and its count on one line, what it holds under it */
  .tbl--stack thead{display:none}
  .tbl--stack tbody{display:block}
  .tbl--stack tr{display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--line)}
  .tbl--stack tbody tr:last-child{border-bottom:0}
  .tbl--stack th,.tbl--stack td{border-bottom:0}
  .tbl--stack tbody th{position:static;box-shadow:none;background:none;padding-bottom:2px;white-space:normal}
  .tbl--stack td:not(.num){grid-column:1 / -1;grid-row:2;padding-top:0;color:var(--ink-2)}
  .tbl--stack .grp{display:block}
  .tbl--stack .grp th{display:block;background:var(--chrome)}
}
