@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --navy: #003087;
  --blue: #006eb5;
  --ink: #202e43;
  --muted: #495b70;
  --pale: #f1f6fc;
  --line: #ced9e5;
  --white: #fff;
  --focus: #005ea8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font: 400 16px/1.55 Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: white; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 300; line-height: 1.18; }
h2 { font-size: clamp(28px, 3vw, 36px); }
h3 { font-size: 23px; }
p { overflow-wrap: break-word; }
p + p { margin-top: 12px; }
a { color: var(--navy); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: var(--blue); }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button { background: none; border: 0; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 10; background: white; padding: 10px 18px; }
.skip:focus { top: 10px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.sitehead { background: white; border-top: 6px solid var(--navy); border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 25px; font-weight: 650; line-height: 1; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--blue); font-weight: 400; }
.brand i { position: relative; display: block; flex: none; width: 35px; height: 35px; border-radius: 7px; background: var(--navy); }
.brand i::before, .brand i::after { position: absolute; content: ""; left: 8px; top: 10px; width: 19px; height: 5px; transform: skewY(-22deg); background: white; }
.brand i::after { top: 20px; background: #84d1fa; }
.nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(14px, 2.4vw, 32px); }
.nav a { display: inline-flex; align-items: center; font-weight: 700; color: var(--navy); position: relative; text-decoration: none; }
.nav a.on::after, .nav a:hover::after { content: ""; position: absolute; height: 3px; background: var(--blue); bottom: 0; left: 0; right: 0; }
.hero, .subhero { background: var(--pale); border-bottom: 1px solid var(--line); }
.herogrid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(36px,6vw,84px); align-items: center; padding-block: clamp(36px,4vw,64px); }
.herocopy { min-width: 0; }
.hero h1 { font-size: clamp(42px,4.7vw,64px); letter-spacing: -.025em; line-height: 1.06; }
.hero h1 em { font: inherit; font-weight: 500; }
.intro, .subhero .lead { max-width: 69ch; color: #36485f; font-size: 18px; line-height: 1.55; }
.intro { margin: 16px 0 22px; max-width: 50ch; }
.finder { position: relative; max-width: 620px; }
.searchbox { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #8398ae; padding: 4px 4px 4px 19px; border-radius: 30px; }
.glass { width: 15px; height: 15px; flex: none; position: relative; border: 2px solid var(--navy); border-radius: 50%; }
.glass::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; background: var(--navy); transform: rotate(45deg); }
.searchbox input { flex: 1; min-width: 0; border: 0; border-radius: 0; padding: 8px 1px; background: transparent; font-size: 16px; }
.searchbox input:focus-visible { outline: 0; }
.searchbox:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn, .more { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border-radius: 24px; padding: 10px 23px; font-size: 15px; line-height: 1.3; font-weight: 600; }
.btn { background: var(--blue); color: white; text-decoration: none; }
.btn:hover { background: var(--navy); color: white; }
.examples { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 13px; font-size: 14px; color: var(--muted); }
.suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 5; overflow: auto; max-height: 340px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 8px 24px #162d551a; }
.hit { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #e5ecf2; text-decoration: none; }
.hit:hover, .hit:focus, .hit.active { background: #e5f1fb; color: var(--navy); }
.hit small, .listnote { display: block; font-size: 13px; color: var(--muted); }
.listnote { padding: 12px 16px; }

.blueprint { overflow: hidden; border-radius: 8px; background: #093b82; color: white; }
.draft { position: relative; overflow: hidden; height: clamp(210px,17vw,258px); background-color: #093b82; background-image: linear-gradient(#c9e5ff17 1px,transparent 1px),linear-gradient(90deg,#c9e5ff17 1px,transparent 1px); background-size: 22px 22px; }
.draft::after { content: ""; height: 1px; background: #89b6d7; position: absolute; bottom: 10%; left: 10%; right: 10%; }
.drawing { position: absolute; width: 54%; aspect-ratio: 2 / 1; left: 25%; top: 44%; transform: translateY(-50%); }
.poster { position: absolute; inset: 0; border: 3px solid white; outline: 1px solid #91c9ee; outline-offset: 3px; background: repeating-linear-gradient(-48deg,#d9ecfb 0 13%,#c0e1f8 13% 25%,#add7f5 25% 37%); box-shadow: 4px 4px 0 #00204e; display: grid; place-items: center; z-index: 1; }
.poster span { color: var(--navy); font-size: clamp(36px,4vw,60px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.post { position: absolute; top: 102%; width: 3%; height: 36%; border: 1px solid #b9ddf4; background: #6397c2; }
.post.left { left: 15%; } .post.right { right: 15%; }
.hmeasure, .vmeasure { position: absolute; display: flex; align-items: center; justify-content: center; color: white; font-size: 12px; font-variant-numeric: tabular-nums; }
.hmeasure { left: 0; right: 0; top: -24px; height: 9px; border-inline: 1px solid; }
.vmeasure { left: -25px; top: 0; bottom: 0; width: 8px; border-block: 1px solid; }
.hmeasure::before, .vmeasure::before { content: ""; position: absolute; background: #a5cceb; }
.hmeasure::before { left: 0; right: 0; top: 4px; height: 1px; }
.vmeasure::before { top: 0; bottom: 0; left: 3px; width: 1px; }
.hmeasure span, .vmeasure span { background: #093b82; padding: 0 6px; position: relative; }
.vmeasure span { transform: rotate(-90deg); white-space: nowrap; }
.drawingcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; padding: 12px 18px; background: #062d68; font-size: 14px; }
.drawingcaption span { color: #d6eaff; font-size: 13px; }

.section { padding: 38px 0 54px; }
.sectionbar { margin-bottom: 18px; }
.sectionbar h2 { margin-bottom: 6px; }
.sectionbar p, .muted, .county, .results-count, .smallmeta, .lawset li small { color: var(--muted); }
.filterrow, .fields { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.filterrow { margin-bottom: 14px; }
.filterrow label, .fields label, .calcchoose { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 500; }
select, .fields input { min-height: 42px; border: 1px solid #8398ae; border-radius: 5px; padding: 7px 12px; background: white; font-size: 16px; max-width: 100%; }
.results-count { margin-left: auto; align-self: end; padding-bottom: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.directory { border-top: 2px solid var(--navy); }
.dirrow { display: grid; grid-template-columns: minmax(150px,1.1fr) minmax(115px,.7fr) minmax(145px,.8fr) 22px; align-items: center; gap: 12px; padding: 14px 10px; border-bottom: 1px solid var(--line); text-decoration: none; }
.dirrow:hover { background: var(--pale); }
.dirrow strong { font-size: 17px; }
.county { font-size: 15px; }
.arrow { font-size: 21px; line-height: 1; }
.status { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; color: #475565; font-weight: 500; }
.status::before { content: ""; width: 8px; height: 8px; background: #718193; border-radius: 50%; flex: none; }
.status.listed { color: #17613d; } .status.listed::before { background: #288457; }
.status.partial, .status.check { color: #854800; } .status.partial::before, .status.check::before { background: #b26503; }
.status.no { color: #265680; } .status.no::before { background: #3779a6; }
.more { display: block; margin: 20px auto 0; border: 1px solid var(--blue); color: var(--navy); background: white; }
.more:hover { background: var(--pale); }
.empty { padding: 20px 6px; }
.foot { border-top: 3px solid var(--blue); background: var(--navy); color: white; padding: 23px 0; font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px 18px; }
.foot a { color: white; }

.subhero { padding: 22px 0 32px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 19px; }
.subhero h1 { margin: 6px 0 12px; font-size: clamp(34px,4vw,48px); }
.subhero .lead + p { margin-top: 14px; }
.context, .calcpane .scope { padding: 12px 16px; background: #e5f1fb; border-left: 3px solid var(--blue); }
.context { max-width: 78ch; margin-top: 16px; }
.articlegrid { display: grid; grid-template-columns: minmax(0,1.52fr) minmax(260px,.7fr); gap: clamp(32px,6vw,82px); align-items: start; }
.topic, .guideitem, .lawset { border-bottom: 1px solid var(--line); }
.topic { padding-bottom: 20px; margin-bottom: 22px; }
.topic h2, .sourcebox h2, .calcpane h2, .guideitem h2 { margin-bottom: 9px; font-size: 26px; }
.topic p, .guideitem p { max-width: 76ch; line-height: 1.62; }
.sourcebox, .calcpane { background: var(--pale); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.sourcebox { border-top: 3px solid var(--blue); }
.sourcebox ul, .lawset ul { list-style: none; padding: 0; margin: 8px 0; }
.sourcebox li + li { border-top: 1px solid var(--line); }
.sourcebox a { display: block; padding: 8px 0; }
.asidetools { margin-top: 16px; }
.smallmeta { margin-top: 12px; font-size: 13px; }
.calcpane { margin-bottom: 22px; }
.calcpane .scope { font-size: 15px; margin: 14px 0 20px; }
.fields input { width: 170px; }
.calcchoose select { width: fit-content; margin-bottom: 14px; }
.calcform .btn { margin: 18px 0; }
.answer { border-top: 1px solid var(--line); padding-top: 14px; }
.answer strong { display: block; color: var(--navy); font-size: 32px; line-height: 1.25; font-weight: 500; }
.answer small { display: block; margin-top: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.guideitem { padding: 18px 0; }
.guideitem:first-child { padding-top: 0; }
.lawset:first-child { border-top: 2px solid var(--navy); }
.lawset summary { color: var(--navy); padding: 17px 4px; font-size: 19px; font-weight: 500; }
.lawset li { padding: 8px 4px; }
.lawset li small { display: block; font-size: 14px; }
.guideaction { margin-top: 24px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.calcpage { max-width: 800px; }
.quietlink { display: inline-block; margin-top: 12px; }
.narrow { max-width: 850px; }
.print { color: var(--navy); text-decoration: underline; text-underline-offset: .2em; padding: 6px 0; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .herogrid { gap: 30px; }
  .articlegrid { gap: 28px; grid-template-columns: minmax(0,1.3fr) minmax(230px,.75fr); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .sitehead { border-top-width: 4px; }
  .top { flex-wrap: wrap; min-height: 0; gap: 0; padding-top: 12px; }
  .brand { font-size: 22px; }
  .brand i { width: 32px; height: 32px; }
  .nav { margin-top: 8px; width: 100%; justify-content: space-between; gap: 6px; }
  .nav a { font-size: 14px; min-height: 44px; }
  .herogrid { display: block; padding: 26px 0 24px; }
  .hero h1 { font-size: clamp(36px,8vw,46px); }
  .intro, .subhero .lead { font-size: 17px; }
  .intro { margin: 12px 0 17px; }
  .searchbox { gap: 8px; padding-left: 14px; }
  .btn { padding-inline: 16px; }
  .examples { gap: 4px 12px; }
  .blueprint { display: grid; grid-template-columns: minmax(115px,.85fr) minmax(0,1fr); margin-top: 20px; }
  .draft { height: 100px; background-size: 13px 13px; }
  .drawing { width: 49%; max-width: 107px; left: 30%; top: 46%; }
  .hmeasure, .vmeasure { font-size: 9px; }
  .hmeasure { top: -15px; } .vmeasure { left: -15px; }
  .poster { border-width: 1px; outline-offset: 1px; box-shadow: 2px 2px 0 #00204e; } .poster span { font-size: 24px; }
  .drawingcaption { flex-direction: column; align-items: flex-start; justify-content: center; padding: 10px 13px; line-height: 1.35; }
  .section { padding: 27px 0 38px; }
  .filterrow { gap: 7px 10px; }
  .filterrow label { max-width: 100%; } .filterrow select { padding-inline: 6px; font-size: 15px; }
  .results-count { flex-basis: 100%; margin: 4px 0 0; padding: 0; }
  .dirrow { grid-template-columns: minmax(0,1fr) minmax(90px,auto) 14px; gap: 2px 6px; padding: 12px 2px; }
  .dirrow .county { grid-column: 1; grid-row: 2; font-size: 13px; }
  .dirrow .status { grid-column: 2; grid-row: 1 / 3; font-size: 12px; max-width: 134px; }
  .dirrow .arrow { grid-column: 3; grid-row: 1 / 3; }
  .dirrow strong { font-size: 16px; }
  .articlegrid { display: block; } .sourcebox { margin-top: 20px; }
  .fields label { flex: 1; min-width: 100px; } .fields input { width: 100%; }
  .calcpane, .sourcebox { padding: 17px; }
  .subhero { padding: 18px 0 24px; } .crumb { margin-bottom: 13px; }
}
@media (max-width: 365px) {
  .wrap { width: calc(100% - 24px); }
  .nav a { font-size: 13px; } .filterrow { gap: 7px; } .dirrow .status { max-width: 109px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .sitehead, .foot, .asidetools, .crumb, .finder, .examples, .calcform button, .guideaction, .skip, .print { display: none; }
  .wrap { width: 100%; } .subhero, .sourcebox, .calcpane, .hero { background: white; }
  .articlegrid { display: block; } .section { padding: 18px 0; } .sourcebox { margin-top: 18px; }
  .topic, .calcpane, .guideitem { break-inside: avoid; }
  .sourcebox a::after { content: " (" attr(href) ")"; font-size: 10px; }
}
