@font-face { font-family: "Libre Bodoni"; font-style: normal;
    font-weight: 400 700; font-display: swap;
    src: url(assets/fonts/LibreBodoni-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Libre Bodoni"; font-style: normal;
    font-weight: 400 700; font-display: swap;
    src: url(assets/fonts/LibreBodoni-latin-ext.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: "DM Sans"; font-style: normal;
    font-weight: 300 700; font-display: swap;
    src: url(assets/fonts/DMSans-latin.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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal;
    font-weight: 300 700; font-display: swap;
    src: url(assets/fonts/DMSans-latin-ext.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; }

:root {
  color-scheme: light;
  --ink: #0D1826;
  --navy: #021C48;
  --navy-deep: #01142F;
  --muted: #5C6577;
  --paper: #FBFAF7;
  --card: #FFFEFB;
  --line: #D6D7DA;
  --gold: #AB904F;
  --green: #25644e;
  --rust: #a65a24;
  --display: "Libre Bodoni", Didot, "Bodoni 72", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font: 100%/1.5 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-behavior: smooth; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 3px solid #be771f; outline-offset: 3px; }
section[id] { scroll-margin-top: 20px; }
.wrap { width: min(1260px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: 12px; padding: 12px; z-index: 1100; background: var(--card); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.topbar { background: var(--card); border-bottom: 1px solid #dbd9ce; }
.topbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 145px; height: auto; max-height: 58px; object-fit: contain; }
.topbar nav { display: flex; gap: clamp(18px, 3vw, 42px); font-weight: 600; color: #263A5D; }
.topbar nav a, .header-contact, footer a { text-decoration: none; }
.topbar nav a:hover, .header-contact:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-contact { font-size: .88rem; font-weight: 700; padding: 10px 15px; border: 1px solid var(--line); border-radius: 3px; }
.header-contact span { margin-left: 9px; color: var(--rust); }
.hero { background: var(--navy-deep); color: #FBFAF7; }
.hero-grid { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; min-height: 470px; }
.hero-copy { padding: clamp(34px, 5vw, 76px) 25px clamp(35px, 5vw, 76px) 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #715A2D; font-size: .72rem; font-weight: 750; letter-spacing: .14em; }
.hero .eyebrow { color: #D7C18E; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.049em; line-height: 1.05; }
h1 { font-size: clamp(2.25rem, 4.9vw, 5.5rem); margin-top: 17px; }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.55rem); }
h3 { font-family: var(--display); font-weight: 600; font-size: 1.48rem; letter-spacing: -.025em; line-height: 1.16; }
.hero-intro { color: #E5EAF2; font-size: clamp(.98rem, 1.35vw, 1.12rem); max-width: 36ch; margin: 21px 0 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 10px 15px; border-radius: 4px; border: 1px solid transparent; font-weight: 700; font-size: .88rem; text-decoration: none; line-height: 1.22; text-align: center; }
.button span { font-size: 1.07rem; }
.primary { background: var(--gold); color: #021C48; }
.primary:hover { background: #C9B279; }
.dark { background: var(--navy); color: white; }
.dark:hover { background: #16305C; }
.outline { border-color: #AAB5C6; color: var(--navy); background: var(--card); }
.outline:hover:enabled { background: #edeee6; }
.base-address { margin-top: 20px; color: #D2D9E5; font-size: .79rem; }
.hero-media { border-left: 1px solid #AB904F66; position: relative; align-self: stretch; overflow: hidden; min-width: 0; isolation: isolate; }
.hero-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 53% 47%; }
.hero-media figcaption { position: absolute; z-index: 1; inset: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; padding: 26px 24px 16px; color: white; font-size: .76rem; background: linear-gradient(transparent, #01142FDB); }
.hero-media figcaption span:first-child { font-weight: 750; letter-spacing: .15em; }
.planning { padding-block: clamp(42px, 6vw, 77px); }
.section-intro { display: flex; justify-content: space-between; gap: 15px; align-items: end; margin-bottom: 26px; }
.section-intro h2, .charts h2, .gallery h2 { margin-top: 10px; }
.modebox { display: flex; flex-direction: column; flex: none; align-items: start; border-left: 2px solid #AB904F; padding: 4px 0 4px 12px; color: #554623; font-size: .79rem; }
.text-button { color: #6B5426; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 3px 0; }
.planner-grid { display: grid; grid-template-columns: minmax(296px, .75fr) minmax(0, 1.52fr); gap: 19px; align-items: start; }
.inputs { display: grid; gap: 16px; min-width: 0; }
.panel { border: 1px solid var(--line); background: var(--card); border-radius: 6px; min-width: 0; }
.inputs-panel, .quote { padding: 23px; }
.inputs-panel h3 { margin-bottom: 16px; }
label { display: block; font-size: .86rem; font-weight: 700; }
input, select { width: 100%; min-width: 0; border: 1px solid #bfc7bd; background: #fff; color: var(--ink); border-radius: 4px; min-height: 44px; padding: 8px 10px; }
input::placeholder { color: #666b65; }
input[type=number] { appearance: textfield; }
input[type=number]::-webkit-inner-spin-button { appearance: none; }
.address-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-top: 6px; }
.hint { font-size: .77rem; line-height: 1.42; color: var(--muted); margin-top: 7px; }
.address-results { display: grid; gap: 5px; }
.address-results:not(:empty) { margin-top: 7px; }
.address-results button { text-align: left; padding: 7px 9px; border: 1px solid var(--line); border-radius: 3px; background: #f1f3eb; color: var(--ink); font-size: .82rem; }
.rule { height: 1px; background: var(--line); margin-block: 16px; }
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 13px; }
.stepper, .with-unit { display: flex; align-items: center; border: 1px solid #bfc7bd; border-radius: 4px; margin-top: 6px; background: white; }
.stepper input, .with-unit input { border: 0; width: 100%; background: transparent; padding: 6px; }
.stepper input { text-align: center; }
.stepper span, .with-unit span { padding-right: 6px; font-size: .76rem; color: var(--muted); }
.stepper button { background: #F5F3ED; min-height: 42px; border: 0; color: var(--navy); flex: 0 0 29px; font-size: 1.05rem; }
.with-unit input { padding-left: 10px; }
#setup { margin-top: 6px; }
.departure { margin-bottom: 13px; }
.departure small { color: var(--muted); font-weight: 500; }
.departure input { margin-top: 6px; }
#setup-note { margin-top: 10px; }
.quote { background: var(--navy); color: #FBFAF7; border-color: var(--navy); }
.quote-heading { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.quote-heading span { color: #E7D5A6; font-size: .63rem; font-weight: 750; letter-spacing: .1em; }
.quote-total { font-family: var(--display); line-height: 1; font-size: clamp(2.25rem, 4.4vw, 3.9rem); margin: 14px 0 12px; font-variant-numeric: lining-nums tabular-nums; }
.quote-lines div { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-top: 1px solid #D2DCEC66; font-size: .85rem; }
.quote-lines dd { flex-shrink: 0; }
.quote-note { color: #E5EAF2; font-size: .75rem; margin-block: 9px 13px; }
.inquiry { width: 100%; }
.map-panel { overflow: hidden; }
.map-header { padding: 19px 20px 13px; display: flex; justify-content: space-between; align-items: start; gap: 9px; }
.map-header p { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.map-options { display: flex; flex-wrap: wrap; gap: 9px; justify-content: space-between; padding: 0 20px 13px; }
.segmented { display: inline-flex; align-items: stretch; border-radius: 4px; border: 1px solid #c8cec2; padding: 2px; background: #F3F2EF; }
.segmented button { color: #304261; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 3px; background: transparent; padding: 6px 10px; min-height: 34px; font-size: .77rem; font-weight: 700; white-space: nowrap; }
.segmented button[aria-pressed=true] { background: var(--navy); color: white; }
.segmented button:not([aria-pressed=true]):hover { background: #E6E1D5; }
.swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--spot); box-shadow: 0 0 0 1px #221e1659; flex: none; }
.driveway { --spot: #419979; }
.road { --spot: #dd9a53; }
.map-frame { position: relative; background: #e5ebde; border-block: 1px solid var(--line); }
#map { scroll-margin-top: 16px; z-index: 0; height: clamp(330px, 38vw, 480px); background-color: #e6ebe1; background-image: linear-gradient(90deg,#c4ccbe55 1px,transparent 1px),linear-gradient(#c4ccbe55 1px,transparent 1px); background-size: 32px 32px; }
#map.leaflet-container { font-family: var(--sans); cursor: crosshair; }
.map-crosshair { position: absolute; pointer-events: none; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 401; line-height: 1; font-size: 25px; font-weight: 750; color: #fff; text-shadow: 1px 1px 2px #01142F, -1px -1px 2px #01142F; }
.map-label { position: absolute; z-index: 402; right: 10px; top: 10px; max-width: calc(100% - 65px); border-radius: 3px; padding: 6px 9px; background: #fffef6ed; color: var(--navy); font-size: .73rem; font-weight: 700; pointer-events: none; }
.map-tools { position: absolute; z-index: 402; left: 10px; top: 83px; display: grid; gap: 5px; }
.map-tools button { height: 33px; width: 33px; border-radius: 4px; border: 1px solid #a5ae9f; background: white; color: var(--navy); font-size: 1.1rem; }
.reach-circle { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px #fff); }
.pin { display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 1px #222b22, 0 2px 5px #19241a77; color: white; font-size: 12px; font-weight: 750; }
.pin.road-pin { --pin: #9e571f; }
.pin.driveway-pin { --pin: #25644e; }
.pin.drop-pin { --pin: #435474; }
.pin.start-pin { --pin: #374038; }
.pin.address-pin { --pin: #021C48; font-size: 22px; }
.map-info { padding: 15px 20px 18px; }
.map-routing { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.quote-jump { display: none; }
.map-routing strong { display: block; font-size: 1.36rem; letter-spacing: -.035em; line-height: 1.2; }
.map-routing span { display: block; color: var(--muted); font-size: .76rem; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.compare-item { border: 1px solid var(--line); border-radius: 4px; padding: 8px 9px; background: #F6F5F2; min-width: 0; }
.compare-item.active { border-color: #8999B2; }
.compare-item strong { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.compare-item p { color: var(--muted); font-size: .75rem; margin-top: 4px; }
.compare-item p + p { margin-top: 2px; }
.site-note { color: #4F5A6D; font-size: .77rem; margin-top: 8px; }
.estimate-note { padding-top: 8px; border-top: 1px solid #e7e8df; }
.coordinate-tools { margin-top: 9px; font-size: .76rem; color: #515c51; }
.coordinate-tools summary { cursor: pointer; }
.coordinate-tools form { display: flex; gap: 6px; align-items: end; margin-top: 6px; }
.coordinate-tools label { flex: 1; min-width: 0; font-size: .73rem; }
.coordinate-tools input { display: block; }
.notice { border-left: 3px solid var(--rust); padding: 8px 12px; margin-block: 10px; background: #fff4df; }
.charts { background: #F2EEE6; border-block: 1px solid var(--line); padding-block: clamp(38px, 6vw, 69px); }
.chart-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(22px, 5vw, 72px); align-items: start; }
.chart-intro { max-width: 40ch; color: var(--muted); margin: 16px 0; }
.chart-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.chart-tabs button { background: var(--card); border: 1px solid #B7C0D0; border-radius: 3px; padding: 8px 10px; color: #394a3b; font-size: .8rem; font-weight: 700; }
.chart-tabs button[aria-pressed=true] { color: white; background: var(--navy); border-color: var(--navy); }
.chart-body { display: grid; grid-template-columns: 1fr .9fr; gap: 22px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.chart-body h3 { font-size: 1.17rem; margin-bottom: 8px; }
.chart-body table { border-collapse: collapse; width: 100%; text-align: left; font-size: .83rem; font-variant-numeric: tabular-nums; }
.chart-body th, .chart-body td { border-bottom: 1px solid var(--line); padding: 5px; }
.chart-body th:last-child, .chart-body td:last-child { text-align: right; }
.chart-body tr.selected { background: #E8DFCA; font-weight: 750; }
.chart-image { display: grid; gap: 5px; color: var(--navy); font-size: .76rem; text-underline-offset: 3px; }
.chart-image img { width: 100%; max-height: 330px; height: auto; object-fit: contain; border: 1px solid #ebebe3; }
.gallery { padding-block: clamp(36px, 6vw, 75px); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.gallery-grid figcaption { color: var(--muted); font-size: .79rem; margin-top: 7px; }
footer { background: var(--navy-deep); color: #FBFAF7; padding-block: 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-inner p { color: #D2D9E5; font-size: .84rem; margin-top: 3px; }
.footer-inner a { font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px 20px; }
.footer-privacy { margin-top: 15px; border-top: 1px solid #D2DCEC42; padding-top: 10px; color: #D2D9E5; font-size: .79rem; }
.footer-privacy summary { cursor: pointer; width: fit-content; }
.footer-privacy p { max-width: 76ch; margin-top: 7px; }
@media (max-width: 1070px) {
  .wrap { width: min(1260px, calc(100% - 48px)); }
  .planner-grid { gap: 13px; }
  .inputs-panel, .quote { padding: 17px; }
  .hero-grid { min-height: 415px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-links { justify-content: start; }
  .topbar-inner { min-height: 65px; }
  .topbar nav { display: none; }
  .hero-grid, .planner-grid, .chart-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 0 28px; }
  h1 { font-size: clamp(2.45rem, 8.5vw, 3.9rem); }
  .hero-media { min-height: 270px; margin-inline: -16px; border-left: 0; border-top: 1px solid #AB904F66; }
  .section-intro { align-items: start; flex-direction: column; }
  .planner-grid { gap: 12px; }
  .inputs { display: contents; }
  .inputs-panel { grid-row: 1; }
  .map-panel { grid-row: 2; }
  .quote { grid-row: 3; }
  .quote-jump { display: inline-block; margin-top: 8px; color: var(--navy); font-size: .8rem; font-weight: 700; text-underline-offset: 3px; }
  .map-header { flex-wrap: wrap; padding-inline: 13px; }
  .layer-control { max-width: 100%; }
  .map-options, .map-info { padding-inline: 13px; }
}
@media (max-width: 405px) {
  .map-header h3 { font-size: 1.18rem; }
  .segmented button { padding-inline: 7px; }
  .chart-body { gap: 10px; padding: 11px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
