/* DOBJob public records desk — light editorial surface, precise controls.
   No runtime CSS framework. All layout is intentionally responsive. */
:root {
  color-scheme: light;
  --paper: #f3f2ed;
  --paper-muted: #e9e8e2;
  --white: #fffefa;
  --ink: #1b292f;
  --ink-muted: #526269;
  --ink-soft: #718087;
  --line: #d5d9d6;
  --blue: #235ea8;
  --blue-deep: #15487e;
  --blue-pale: #e3eef9;
  --navy: #142631;
  --navy-raised: #1c343f;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body.public-site { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #6aafe6; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: -80px; left: 14px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; border-radius: 5px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { background: rgba(255,254,250,.95); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header-inner { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-icon { display: grid; width: 33px; height: 33px; padding: 7px; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); gap: 3px; background: var(--blue); border-radius: 7px; transform: rotate(-5deg); }
.brand-icon span { background: #f8fbfb; border-radius: 1px; }
.brand-icon span:nth-child(2) { opacity: .5; }
.brand-icon span:nth-child(3) { opacity: .75; }
.brand-word { color: var(--ink); font-size: 25px; font-weight: 700; letter-spacing: -.075em; line-height: 1; }
.brand-word > span:first-child { color: var(--blue); }
.brand-stop { color: #a2bd6a; }
.header-descriptor { color: var(--ink-soft); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .035em; border-left: 1px solid var(--line); padding-left: 25px; }
.descriptor-separator { color: #a6b2b1; padding-inline: 5px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 27px; }
.header-link { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.header-link:hover { color: var(--blue); }
.header-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 17px; border-radius: 5px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .16s ease, transform .16s ease; }
.header-button:hover { background: var(--blue-deep); transform: translateY(-1px); }
.header-button span { font-size: 16px; line-height: 1; }

/* Hero: editorial typography and a single primary search */
.hero-section { padding: 26px 0 0; overflow: hidden; background: var(--paper); }
.hero-meta { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 21px; font-family: var(--mono); color: var(--ink-muted); font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.live-indicator { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5b8e71; margin-right: 10px; vertical-align: 1px; }
.hero-issue { color: var(--ink-soft); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .7fr); gap: 52px; padding-block: 66px 35px; align-items: end; }
.eyebrow, .section-overline { margin: 0; color: var(--blue); text-transform: uppercase; letter-spacing: .145em; font: 600 11px/1.5 var(--mono); }
.hero-copy h1 { margin: 20px 0 20px; max-width: 850px; font-size: clamp(52px, 6vw, 86px); font-weight: 600; letter-spacing: -.075em; line-height: 1.065; }
.hero-copy h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.065em; color: var(--blue-deep); }
.hero-lead { margin: 0 0 12px; font-weight: 700; font-size: 19px; letter-spacing: -.025em; }
.hero-subcopy { margin: 0; max-width: 605px; color: var(--ink-muted); font-size: 16px; line-height: 1.8; }
.hero-aside { position: relative; min-height: 215px; border-top: 1px solid var(--ink); padding: 18px 0 0 24px; align-self: stretch; }
.aside-index { display: block; font: 500 10px var(--mono); letter-spacing: .11em; color: var(--ink-muted); }
.aside-diagram { position: absolute; top: 23px; right: 0; width: 148px; height: 101px; border: 1px solid #aeb9b6; border-radius: 2px; transform: skewY(-8deg); }
.diagram-block { position: absolute; border: 1.5px solid var(--blue); background: var(--blue-pale); }
.diagram-block-a { left: 15px; top: 18px; width: 40px; height: 60px; }
.diagram-block-b { left: 56px; top: 35px; width: 42px; height: 43px; }
.diagram-block-c { right: 12px; top: 13px; width: 23px; height: 65px; }
.diagram-line { position: absolute; width: 153px; height: 1px; background: #b5bcb5; top: 84px; left: -16px; }
.diagram-cross { position: absolute; top: -16px; right: -9px; color: var(--blue); font: 24px var(--mono); }
.aside-label { position: relative; margin: 100px 0 7px; font-size: 20px; line-height: 1.28; font-weight: 600; letter-spacing: -.035em; }
.aside-note { margin: 0; max-width: 260px; color: var(--ink-muted); font-size: 13px; line-height: 1.65; }

.search-stage { position: relative; z-index: 3; margin-top: 21px; padding: 27px 29px 25px; background: var(--white); border: 1px solid #c6cfcb; box-shadow: 0 24px 48px rgba(24,47,54,.055); border-radius: 8px; }
.search-stage-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.search-availability { font: 500 10px/1.5 var(--mono); letter-spacing: .025em; color: var(--ink-soft); }
.search-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 12px; position: relative; }
.search-control { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 18px; border: 1px solid #b4c3c2; border-radius: 5px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.search-control:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35,94,168,.12); }
.search-control svg { flex: 0 0 22px; width: 22px; color: #6c8587; }
.search-control input { flex: 1; min-width: 0; width: 100%; color: var(--ink); font-size: 17px; font-weight: 500; background: transparent; border: 0; outline: none; appearance: none; }
.search-control input::placeholder { color: #82908d; font-weight: 400; }
.search-control input::-webkit-search-cancel-button { cursor: pointer; }
.search-submit, .result-action, .cta-button { background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 5px; font-size: 15px; font-weight: 700; transition: background .15s ease, border-color .15s ease; }
.search-submit { min-height: 64px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; white-space: nowrap; }
.search-submit:hover, .result-action:hover, .cta-button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.search-submit span { font-size: 20px; font-weight: 400; }
.search-examples { display: flex; gap: 11px 19px; align-items: center; flex-wrap: wrap; margin-top: 17px; color: var(--ink-muted); }
.search-examples > span { font: 500 10px var(--mono); letter-spacing: .1em; color: var(--ink-soft); }
.search-examples a { font-size: 12px; font-weight: 600; text-underline-offset: 3px; text-decoration-color: #b2c1c7; }
.search-examples a span { color: var(--blue); }
.search-examples a:hover { color: var(--blue-deep); text-decoration: underline; }
.search-suggestions { position: relative; grid-column: 1 / -1; margin-top: 6px; padding: 4px; max-height: 270px; overflow-y: auto; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 18px rgba(10,20,30,.07); border-radius: 4px; }
.search-suggestion { display: block; width: 100%; border: 0; background: transparent; color: var(--ink); padding: 13px 16px; text-align: left; cursor: pointer; font-size: 14px; border-bottom: 1px solid #edf0ee; }
.search-suggestion:last-child { border-bottom: 0; }
.search-suggestion:hover, .search-suggestion:focus { background: #edf4fa; }
.search-suggestion.is-selected { background: var(--blue-pale); }
.search-api-state { grid-column: 1 / -1; padding: 12px 14px; margin-top: 8px; border-left: 3px solid var(--blue); background: #edf4fa; color: var(--ink); font-size: 13px; }
.universal-search-candidate-prompt { padding: 9px 16px; font: 600 11px var(--mono); color: var(--blue); text-transform: uppercase; }
.form-error { margin: 13px 0 0; font-size: 13px; color: #a3342e; }
.search-result { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.search-result-found { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.result-label { margin: 0 0 6px; color: var(--blue); text-transform: uppercase; letter-spacing: .085em; font: 600 10px var(--mono); }
.search-result h2 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.03em; }
.result-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.result-chips span { border: 1px solid var(--line); border-radius: 3px; padding: 4px 8px; font: 11px var(--mono); }
.result-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 10px 14px; white-space: nowrap; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 15px 0; }
.result-row > div { display: grid; gap: 3px; }
.result-row strong { font-size: 14px; }
.result-row span { color: var(--ink-soft); font-size: 12px; }
.hero-footnote { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 32px; color: var(--ink-muted); font-size: 12px; }
.hero-footnote a { color: var(--blue); font-weight: 700; }
.hero-footnote a span { padding-left: 5px; }

/* Editorial workflow, one thin rule instead of boxes */
.workflow-section { padding: 93px 0 98px; background: #eaece7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: minmax(140px, .55fr) 2fr; gap: 30px; align-items: baseline; margin-bottom: 45px; }
.section-intro h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.055em; font-weight: 600; line-height: 1.18; }
.workflow-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #b9c5c0; }
.workflow-item { display: flex; gap: 18px; min-height: 190px; padding: 30px 27px 5px 0; border-right: 1px solid #c4d0c9; }
.workflow-item:last-child { border-right: 0; }
.workflow-item:not(:first-child) { padding-left: 25px; }
.workflow-number { flex: 0 0 27px; color: var(--blue); font: 500 13px var(--mono); }
.workflow-item h3 { margin: 0 0 14px; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.workflow-item p { margin: 0; max-width: 280px; color: var(--ink-muted); font-size: 14px; line-height: 1.8; }

/* Property dossier — no invented permit status counts */
.dossier-section { padding: 94px 0 102px; background: var(--paper); }
.dossier-intro { grid-template-columns: minmax(140px,.55fr) 1.25fr 1fr; margin-bottom: 35px; }
.dossier-intro p { color: var(--ink-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.dossier { border: 1px solid #2d4853; background: var(--navy); color: #f6f4eb; border-radius: 5px; overflow: hidden; }
.dossier-topline { display: flex; justify-content: space-between; gap: 20px; padding: 19px 31px; border-bottom: 1px solid #344b54; color: #bed0d6; letter-spacing: .07em; font: 500 11px var(--mono); }
.dossier-main { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 40px 31px 42px; }
.dossier-eyebrow { margin: 0 0 13px; color: #b3c6c4; text-transform: uppercase; letter-spacing: .1em; font: 500 10px var(--mono); }
.dossier-main h3 { margin: 0; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.12; letter-spacing: -.065em; font-weight: 600; }
.dossier-main h3 span { display: block; color: #adc1c5; font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.035em; font-size: .69em; margin-top: 4px; }
.dossier-identifiers { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 25px; }
.dossier-identifiers span { color: #a2bdc7; font: 12px var(--mono); }
.dossier-identifiers strong { color: #f6f6ef; font-weight: 500; margin-left: 5px; }
.dossier-link { align-self: end; flex: 0 0 auto; padding: 14px 18px; border-radius: 4px; background: #eef1eb; color: var(--navy); font-size: 13px; font-weight: 700; }
.dossier-link:hover { background: #d4e7f8; }
.dossier-link span { padding-left: 9px; }
.dossier-table { margin: 0 31px; border-top: 1px solid #435a60; border-bottom: 1px solid #435a60; }
.dossier-table > div { display: grid; grid-template-columns: 1fr 1.6fr 20px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid #374e56; }
.dossier-table > div:last-child { border-bottom: 0; }
.dossier-table > div > span:first-child { color: #91abb8; font: 500 10px var(--mono); letter-spacing: .1em; }
.dossier-table strong { font-size: 17px; font-weight: 500; letter-spacing: -.03em; }
.dossier-table > div > span:last-child { color: #9ebbc9; font-size: 18px; }
.dossier-caption { display: flex; justify-content: space-between; gap: 12px; padding: 18px 31px 23px; color: #aec1c5; font: 10px/1.6 var(--mono); }

/* Single conversion section: no repeating the entire hero */
.cta-section { background: #dfe7e2; border-top: 1px solid #cad4cd; border-bottom: 1px solid #cad4cd; padding: 99px 0; }
.cta-layout { display: grid; grid-template-columns: 1.25fr .55fr; align-items: center; gap: min(12vw,140px); }
.cta-layout h2 { margin: 19px 0 17px; font-size: clamp(31px, 3.7vw, 50px); line-height: 1.19; letter-spacing: -.06em; font-weight: 600; }
.cta-layout h2 em { font: italic 400 1em/1.2 var(--serif); color: var(--blue-deep); letter-spacing: -.05em; }
.cta-layout p:not(.cta-label):not(.cta-fineprint) { margin: 0; color: var(--ink-muted); font-size: 15px; max-width: 550px; line-height: 1.8; }
.cta-actions { display: flex; flex-direction: column; gap: 11px; padding: 24px 0; }
.cta-label { margin: 0; color: var(--ink-muted); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.cta-actions input { min-height: 53px; padding: 11px 14px; border: 1px solid #acbbb5; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 15px; }
.cta-actions input:focus { outline: 3px solid rgba(35,94,168,.15); border-color: var(--blue); }
.cta-button { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 53px; padding: 11px 17px; }
.cta-secondary { display: block; padding: 8px 0; text-align: center; color: var(--blue-deep); font-size: 13px; font-weight: 600; }
.cta-secondary:hover { text-decoration: underline; }
.cta-fineprint { margin: 0; color: #6d7e7c; font-size: 11px; line-height: 1.5; }

/* Footer */
.site-footer { background: #f5f5f0; padding: 37px 0 21px; }
.footer-top { display: flex; justify-content: space-between; gap: 25px; padding-bottom: 33px; border-bottom: 1px solid var(--line); }
.brand-footer .brand-word { font-size: 22px; }
.brand-footer .brand-icon { width: 29px; height: 29px; }
.footer-top p { margin: 12px 0 0; font-size: 12px; color: var(--ink-muted); }
.footer-top nav { display: flex; gap: 25px; align-items: start; flex-wrap: wrap; }
.footer-top nav a { font-size: 12px; font-weight: 600; }
.footer-top nav a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: #788784; font: 10px/1.6 var(--mono); }

@media(max-width: 1080px) {
 .shell { width: min(100% - 48px, 980px); }
 .hero-layout { gap: 28px; grid-template-columns: minmax(0,1.4fr) minmax(210px,.6fr); }
 .hero-copy h1 { font-size: clamp(50px, 6.2vw, 70px); }
 .header-descriptor { display: none; }
 .workflow-item { padding-right: 16px; gap: 9px; }
 .workflow-item:not(:first-child) { padding-left: 16px; }
 .dossier-intro { grid-template-columns: minmax(0, .5fr) minmax(0,1.4fr); }
 .dossier-intro p { grid-column: 2; }
}
@media(max-width: 720px) {
 .shell { width: calc(100% - 36px); }
 .site-header-inner { min-height: 68px; gap: 10px; }
 .brand-icon { width: 28px; height: 28px; padding: 6px; }
 .brand-word { font-size: 23px; }
 .site-nav { gap: 13px; }
 .site-nav .header-link:first-child { display: none; }
 .header-link { font-size: 12px; }
 .header-button { padding: 10px 11px; gap: 6px; font-size: 11px; }
 .header-button span { display: none; }
 .hero-section { padding-top: 17px; }
 .hero-meta { padding-bottom: 14px; font-size: 8px; }
 .hero-issue { display: none; }
 .hero-layout { display: block; padding: 43px 0 4px; }
 .hero-copy h1 { margin: 13px 0 17px; font-size: clamp(40px, 9vw, 56px); line-height: 1.075; letter-spacing: -.068em; }
 .hero-lead { font-size: 16px; margin-bottom: 8px; }
 .hero-subcopy { font-size: 14px; line-height: 1.7; }
 .hero-aside { display: none; }
 .search-stage { margin-top: 29px; padding: 17px; }
 .search-stage-top { margin-bottom: 12px; }
 .search-availability { font-size: 9px; }
 .search-form { grid-template-columns: 1fr; gap: 9px; }
 .search-control { min-height: 54px; gap: 10px; padding: 0 12px; }
 .search-control svg { width: 19px; flex-basis: 19px; }
 .search-control input { font-size: 14px; }
 .search-submit { min-height: 50px; width: 100%; justify-content: space-between; padding-inline: 15px; font-size: 14px; }
 .search-examples { gap: 9px 14px; margin-top: 13px; }
 .search-examples > span { width: 100%; }
 .search-examples a { font-size: 11px; }
 .search-result-found { display: grid; }
 .result-action { white-space: normal; width: 100%; }
 .result-row { display: grid; gap: 10px; }
 .hero-footnote { padding: 18px 0 28px; display: grid; gap: 8px; }
 .workflow-section { padding: 66px 0 69px; }
 .section-intro { display: block; margin-bottom: 28px; }
 .section-intro h2 { margin-top: 16px; font-size: 30px; }
 .workflow-grid { display: block; }
 .workflow-item, .workflow-item:not(:first-child) { padding: 23px 0; border-right: 0; border-bottom: 1px solid #c6d0cc; min-height: 0; gap: 15px; }
 .workflow-item h3 { font-size: 18px; margin-bottom: 6px; }
 .workflow-item p { max-width: none; font-size: 13px; }
 .dossier-section { padding: 66px 0 69px; }
 .dossier-intro p { margin-top: 12px; }
 .dossier-topline { padding: 13px 15px; font-size: 9px; gap: 8px; }
 .dossier-main { display: block; padding: 26px 17px 24px; }
 .dossier-main h3 { font-size: 34px; }
 .dossier-identifiers { gap: 9px; margin-top: 19px; }
 .dossier-link { display: inline-flex; margin-top: 26px; align-items: center; justify-content: center; width: 100%; font-size: 12px; }
 .dossier-table { margin: 0 17px; }
 .dossier-table > div { grid-template-columns: 1fr 20px; gap: 5px 15px; padding: 17px 0; }
 .dossier-table > div > span:first-child { grid-column: 1; }
 .dossier-table strong { grid-column: 1; font-size: 15px; }
 .dossier-table > div > span:last-child { grid-row: 1 / 3; grid-column: 2; }
 .dossier-caption { padding: 15px 17px 21px; display: block; }
 .dossier-caption span { display: block; margin-bottom: 4px; }
 .cta-section { padding: 64px 0; }
 .cta-layout { display: block; }
 .cta-layout h2 { font-size: 35px; }
 .cta-actions { padding: 30px 0 0; }
 .footer-top { display: block; }
 .footer-top nav { margin-top: 25px; gap: 10px 20px; }
 .footer-bottom { display: block; }
 .footer-bottom span { display: block; margin-bottom: 8px; }
}
@media(max-width: 360px) {
 .shell { width: calc(100% - 28px); }
 .header-button { padding: 9px; }
 .site-nav { gap: 8px; }
 .search-stage { padding: 14px; }
 .hero-copy h1 { font-size: 38px; }
}
@media(prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
