:root {
  color-scheme: light;
  --ink: #122832;
  --blue: #07526b;
  --sky: #f1f7f9;
  --gold: #f3bc52;
  --rule: #c9dce2;
  --muted: #3a5660;
  --page: 76rem;
  --type: 'Segoe UI', system-ui, sans-serif;
  font: 100%/1.6 var(--type);
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: .075em; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 5vw, 4.9rem); letter-spacing: -.055em; max-width: 18ch; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.17rem; }
p { margin: .55rem 0 1.2rem; }
li + li { margin-top: .5em; }
.wrap { width: min(var(--page), calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-160%); z-index: 1; background: white; padding: 1rem; }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; padding-block: .9rem; }
.brand { display: inline-flex; gap: .55rem; align-items: center; text-decoration: none; color: var(--ink); font-size: 1.17rem; font-weight: 750; white-space: nowrap; }
.nav { display: flex; gap: clamp(.8rem, 2.2vw, 2.25rem); align-items: center; flex-wrap: wrap; }
.nav a { font-weight: 650; }
.nav a:not(.button) { text-decoration: none; }
.nav a:not(.button):hover, .nav a[aria-current] { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.8rem; padding: .62rem 1rem; background: var(--blue); color: white; border: 0; border-radius: .24rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); }
.breadcrumb { display: flex; gap: .55rem; flex-wrap: wrap; margin: 0 0 2rem; font-size: .9rem; color: var(--muted); }
.hero { background: var(--sky); padding-block: clamp(2rem, 5vw, 4.85rem); }
.hero .lead { max-width: 61ch; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .57fr); gap: clamp(2rem, 5vw, 5.2rem); align-items: center; }
.start-panel { border: 1px solid #aac9d4; border-top: 6px solid var(--gold); border-radius: .4rem; padding: clamp(1.3rem, 2.7vw, 2.1rem); background: white; }
.start-panel h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 0 0 .5rem; }
.start-panel ul { margin: 0; list-style: none; padding: 0; }
.start-panel li { margin: 0; border-bottom: 1px solid var(--rule); }
.start-panel li:last-child { border-bottom: 0; }
.start-panel a { display: block; padding-block: .67rem; font-weight: 650; }
.body-content { padding-block: clamp(2.4rem, 5vw, 4.5rem); }
.body-content > section { margin-bottom: clamp(2.4rem, 4vw, 3.8rem); }
.body-content > section:last-child { margin-bottom: 0; }
.body-content p, .body-content li { max-width: 72ch; }
.body-content ol, .body-content ul { padding-inline-start: 1.4rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; }
.project { padding-block: .9rem; border-top: 1px solid var(--rule); }
.project h3 { margin-block: .25rem .4rem; }
.project p { margin: 0; color: var(--muted); }
.bridge { padding: clamp(1.3rem, 3vw, 2.4rem); border-left: .35rem solid var(--gold); background: var(--sky); }
.bridge p:last-child { margin-bottom: 0; }
.bridge a { font-weight: 650; }
.footer { background: var(--ink); color: #e8f4f7; padding-block: 2.3rem; }
.footer a { color: #fff; }
.footer .wrap { display: grid; grid-template-columns: 1.05fr 1fr 1fr .8fr; gap: 1.4rem 1.6rem; }
.footer .brand { white-space: normal; }
.footer-label { margin: 0 0 .55em; font: 700 1rem/1.4 var(--type); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-top: .38rem; }
.footer :focus-visible { outline-color: var(--gold); }
.controls { display: flex; align-items: end; gap: .85rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.controls label { display: grid; gap: .35rem; min-width: 0; max-width: 100%; font-weight: 700; }
.controls select { min-width: 0; max-width: 100%; padding: .6rem .8rem; min-height: 2.8rem; color: var(--ink); background: white; border: 1px solid #6f929e; border-radius: .24rem; }
.checklist { background: var(--sky); padding: clamp(1.3rem, 3vw, 2.4rem); max-width: 55rem; margin-block: 1rem; }
summary { cursor: pointer; font-size: 1.15rem; font-weight: 700; color: var(--blue); }
details { border-bottom: 1px solid var(--rule); padding-block: .8rem; max-width: 45rem; }
.recovery { display: flex; flex-wrap: wrap; gap: .8rem 1.65rem; }
.cookie-banner { background: white; border-bottom: 1px solid var(--rule); }
.cookie-banner-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem 1.5rem; padding-block: 1rem; }
.cookie-banner-inner p { margin: 0; max-width: 56ch; }
.cookie-notice:not(:empty) { padding-block-start: .7rem; }
.cookie-notice:empty { margin-block: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-choice { min-height: 2.75rem; padding: .5rem .76rem; border: 1px solid var(--blue); border-radius: .24rem; background: white; color: var(--blue); font-weight: 650; text-align: left; }
.cookie-choice:hover { background: var(--sky); }
.cookie-settings { display: inline-block; min-height: 2.75rem; margin-top: .5rem; padding: .35rem 0; border: 0; background: transparent; color: white; text-align: left; text-decoration: underline; cursor: pointer; }
.cookie-dialog { width: min(34rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: clamp(1rem, 3vw, 1.7rem); border: 1px solid var(--rule); border-radius: .45rem; color: var(--ink); overflow: auto; }
.cookie-dialog::backdrop { background: #102430b3; }
.cookie-dialog-title { margin: 0; font-size: 1.35rem; font-weight: 740; }
.cookie-option { display: flex; align-items: start; gap: .7rem; margin-block: 1rem; }
.cookie-option input { margin-top: .28rem; flex-shrink: 0; }
.cookie-option strong, .cookie-option span span { display: block; }
.cookie-option span span { color: var(--muted); }
.guide-table { width: 100%; max-width: 46rem; margin-block: 1.3rem; border-collapse: collapse; }
.guide-table caption { margin-block-end: .55rem; color: var(--muted); font-weight: 650; text-align: left; }
.guide-table th, .guide-table td { padding: .65rem clamp(.35rem, 1.8vw, .95rem); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.guide-table thead th { background: var(--ink); color: white; }
.guide-table tbody th { width: 44%; background: var(--sky); }
#quote-lines td { font-variant-numeric: tabular-nums; }
#quote-lines tbody tr:last-child { background: var(--sky); font-weight: 700; }
.body-content ol.permit-steps { max-width: 47rem; margin-block: 1.4rem; padding-inline-start: 1.8rem; }
.permit-steps li::marker { color: var(--blue); font-weight: 750; }
.permit-steps li > div { padding: .85rem 1rem; border-inline-start: .25rem solid var(--rule); background: var(--sky); }
.permit-steps h3 { margin: 0 0 .4rem; }
.permit-steps p { margin: 0; }
.intake-shell { max-width: 46rem; }
#intake-fields { min-inline-size: 0; border: 0; padding: 0; margin: 0; }
#intake-fields legend { font-weight: 720; margin-block-end: 1.2rem; }
.intake-field { display: grid; gap: .35rem; min-width: 0; margin-block-end: 1.25rem; }
.intake-field label { font-weight: 700; }
.intake-field input, .intake-field textarea { width: 100%; min-width: 0; min-height: 2.8rem; padding: .6rem .75rem; background: white; color: var(--ink); border: 1px solid #6f929e; border-radius: .24rem; }
.intake-field textarea { resize: vertical; }
.intake-field [aria-invalid="true"] { border-color: #9c2828; }
.intake-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 1rem; }
.intake-hint { color: var(--muted); font-size: .94rem; margin: 0; }
.intake-hint:empty, #intake-status:empty { margin: 0; }
.intake-disclosure { margin-block: .25rem 1rem; }
.intake-consent { display: flex; align-items: flex-start; gap: .6rem; padding-block: .25rem; }
.intake-consent input { min-width: 1.15rem; min-height: 1.15rem; margin: .15rem 0 0; accent-color: var(--blue); }
#intake-send { margin-top: 1rem; }
#intake-send:disabled { opacity: .7; }
.intake-error { border-inline-start: .25rem solid #9c2828; color: #7d1717; padding: .6rem .8rem; }
#address-results { border: 1px solid var(--rule); border-radius: .24rem; background: white; }
.body-content ul.address-options { list-style: none; margin: 0; padding: 0; }
#address-options li { margin: 0; border-bottom: 1px solid var(--rule); }
.address-options button { width: 100%; min-height: 2.8rem; padding: .55rem .75rem; background: white; color: var(--blue); border: 0; text-align: left; overflow-wrap: anywhere; }
.address-options button:hover, .address-options button:focus-visible { background: var(--sky); }
.maps-attribution { display: block; margin: 10px 10px 5px auto; }
[hidden] { display: none !important; }
@media (max-width: 56rem) {
  .masthead .wrap { align-items: start; }
  .nav { gap: .8rem 1.15rem; }
  .footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 39rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead .wrap { flex-direction: column; gap: .7rem; }
  .nav { font-size: .93rem; }
  .home-hero .wrap, .grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .home-hero .wrap { gap: 1.65rem; }
  .footer .wrap { column-gap: .85rem; }
}
@media print {
  .masthead, .footer, .controls, .bridge, .breadcrumb, .skip { display: none; }
  .wrap { width: 100%; }
  .hero, .checklist { padding: .5rem 0; background: white; }
  .body-content { padding-block: 1rem; }
}
