/* Horizon Outdoor Works: site styles.
   Concept: a landscape construction drawing set. Granite and pine inks on pale stone,
   Georgia red clay for anything underground, survey flagging-tape pink for actions. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --stone: #eef0ea;
  --paper: #f8f9f5;
  --granite: #1f2624;
  --granite-2: #4a5451;
  --line: #c9cec6;
  --grid: #e2e6de;
  --pine: #1d3a31;
  --pine-2: #2c5446;
  --pine-ink: #d6e2db;
  --clay: #a8461f;
  --clay-tint: #ebcdbb;
  --tape: #c8245a;
  --tape-dark: #a11c48;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(56px, 8vw, 104px);
  --radius: 3px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--stone);
  color: var(--granite);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tape); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 112%; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 800; font-stretch: 125%; letter-spacing: -.02em; font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.04; }
h2 { font-weight: 750; letter-spacing: -.01em; font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--granite); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 .9rem;
}
.eyebrow--light { color: #f2b9a0; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--granite-2); max-width: 40ch; }
.section-intro { color: var(--granite-2); max-width: 62ch; margin-bottom: 2.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn-tape { background: var(--tape); color: #fff; }
.btn-tape:hover { background: var(--tape-dark); color: #fff; }
.btn-tape .icon-arrow { transition: transform .15s; }
.btn-tape:hover .icon-arrow { transform: translateX(3px); }
.btn-ghost { border-color: var(--granite); color: var(--granite); background: transparent; }
.btn-ghost:hover { background: var(--granite); color: var(--stone); }
.btn-ghost-light { border-color: var(--pine-ink); color: #fff; background: transparent; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; }
.link-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-phone .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--stone) 94%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin: 0; white-space: nowrap; flex: none; }
.brand__name { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: 1rem; letter-spacing: .01em; text-transform: uppercase; }
.brand:hover { color: inherit; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; white-space: nowrap; padding: 10px 12px; text-decoration: none; font-weight: 700; font-size: .98rem; border-radius: var(--radius); }
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: var(--paper);
  border: 1.5px solid var(--granite);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(31, 38, 36, .12);
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.submenu a { font-weight: 400; padding: 8px 10px; white-space: normal; }
.submenu a:hover { background: var(--stone); color: var(--granite); }
.submenu--cols { display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); min-width: 380px; }
.has-menu:hover > .submenu, .has-menu:focus-within > .submenu { visibility: visible; opacity: 1; transform: none; }
.site-header__actions { display: flex; gap: 10px; align-items: center; }
.btn-phone { min-height: 44px; padding: 8px 14px; }
.btn-header { min-height: 44px; padding: 8px 16px; }
.mobile-nav { display: none; }

@media (max-width: 1280px) {
  .primary-nav, .btn-phone { display: none; }
  .site-header__actions { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--granite); border-radius: var(--radius); font-weight: 700; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon { width: 20px; height: 20px; }
  .mobile-nav__panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--paper); border-bottom: 1.5px solid var(--granite); padding: 12px var(--gutter) 28px; }
  .mobile-nav__panel ul { list-style: none; padding: 0; margin: 0 0 8px; }
  .mobile-nav__panel li a { display: block; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--grid); }
  .mobile-nav__head { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); margin: 18px 0 4px; }
  .mobile-nav__head a { text-decoration: none; }
  .mobile-nav__cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (max-width: 520px) {
  .site-header__bar { gap: 12px; }
  .site-header__actions { display: none; }
  .mobile-nav { margin-left: auto; }
  .brand img { width: 34px; height: 34px; }
  .brand__name { font-size: .82rem; font-stretch: 112%; }
}
@media (max-width: 400px) {
  .brand__name { font-size: .76rem; font-stretch: 106%; letter-spacing: 0; }
  .mobile-nav summary span { display: none; }
}

/* ---------- Homepage hero (the drawing sheet) ---------- */
.hero {
  padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 72px);
  background-color: var(--stone);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.25rem); font-stretch: 118%; }
.hero .lead { max-width: 36ch; }
.section-drawing { margin: 0; background: var(--paper); border: 1.5px solid var(--granite); border-radius: var(--radius); padding: clamp(10px, 1.6vw, 18px); box-shadow: 8px 8px 0 rgba(31, 38, 36, .1); }
.section-drawing svg { display: block; width: 100%; }
.section-drawing figcaption { font-size: .85rem; color: var(--granite-2); border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; }
.section-drawing figcaption span { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--clay); margin-right: 8px; }

.sd-topsoil { fill: #8c5b3f; opacity: .5; }
.sd-sand { fill: #e8d7ae; }
.sd-pavers rect { fill: #b9bfb6; stroke: var(--granite); stroke-width: .8; }
.sd-edge { fill: var(--granite); }
.sd-wall rect { fill: #c9cdc4; stroke: var(--granite); stroke-width: 1.2; }
.sd-pipe { fill: var(--paper); stroke: var(--granite); stroke-width: 1.5; }
.sd-lines path, .sd-grass, .sd-tree path, .sd-dim path, .sd-grid path { fill: none; stroke: var(--granite); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sd-grass { stroke-width: 1.1; stroke: var(--pine-2); }
.sd-grid path { stroke-width: 1.2; stroke-dasharray: 6 4; }
.sd-tree .sd-dash { stroke: var(--clay); stroke-width: 1.3; stroke-dasharray: 4 4; }
.sd-dim path { stroke: var(--clay); stroke-width: 1.2; }
.sd-dimtext { font: 500 11px var(--f-mono); fill: var(--clay); }
.sd-stake path { stroke: var(--granite); stroke-width: 2; }
.sd-stake .sd-flag { fill: var(--tape); stroke: none; }
.sd-label text { font: 500 10.5px var(--f-mono); fill: var(--granite); letter-spacing: .02em; }
.sd-label line { stroke: var(--granite); stroke-width: .9; }
.sd-label circle { fill: var(--granite); }
.sd-label rect { fill: var(--paper); opacity: .92; }

@media (prefers-reduced-motion: no-preference) {
  .section-drawing .draw path:not(.sd-dash), .section-drawing path.draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: hz-draw 1.4s cubic-bezier(.6, .1, .2, 1) .15s forwards; }
  .sd-grid, .sd-tree .sd-dash, .sd-wall, .sd-pavers, .sd-pipe, .sd-stake { opacity: 0; animation: hz-fade .5s ease .9s forwards; }
  .sd-label { opacity: 0; animation: hz-fade .45s ease forwards; animation-delay: calc(1.3s + var(--d) * 110ms); }
  .sd-flag { transform-origin: 540px 265px; animation: hz-fade .4s ease 2.4s both, hz-flutter 3s ease-in-out 2.8s infinite; }
}
@keyframes hz-draw { to { stroke-dashoffset: 0; } }
@keyframes hz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hz-flutter { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-6deg) scaleX(.94); } }

.titleblock {
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--granite);
  border-radius: var(--radius);
  background: var(--paper);
}
.titleblock li { padding: 14px 18px; font-weight: 700; border-left: 1.5px solid var(--granite); }
.titleblock li:first-child { border-left: 0; }
.titleblock span { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--granite-2); margin-bottom: 2px; }

/* ---------- Inner-page hero ---------- */
.page-hero {
  padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
.page-hero--card .page-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); }
.page-hero .lead { max-width: 52ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--granite-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* The town "site notes" card is styled like a plan sheet's title block. */
.notes-card { background: var(--paper); border: 2px solid var(--granite); border-radius: var(--radius); box-shadow: 8px 8px 0 rgba(31, 38, 36, .1); }
.notes-card__title { margin: 0; padding: 10px 16px; background: var(--granite); color: var(--stone); font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.notes-card dl { margin: 0; }
.notes-card dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); }
.notes-card dl > div:first-child { border-top: 0; }
.notes-card dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); padding-top: 3px; }
.notes-card dd { margin: 0; font-size: .95rem; line-height: 1.45; }

/* ---------- Bands ---------- */
.band { padding-block: var(--band); }
.band--paper { background: var(--paper); border-block: 1px solid var(--line); }
.band--pine { background: var(--pine); color: var(--pine-ink); }
.band--pine h2, .band--pine h3 { color: #fff; }
.intro { padding-bottom: calc(var(--band) * .7); }

/* ---------- Prose (editable page content) ---------- */
.prose { max-width: 70ch; }
.prose > * + h2 { margin-top: 2.2em; }
.prose > * + h3 { margin-top: 1.6em; }
.prose h2 { padding-top: .6em; border-top: 1.5px solid var(--granite); }
.prose > h2:first-child { border-top: 0; padding-top: 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul > li { position: relative; padding-left: 1.4em; margin-bottom: .5em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55em; height: .55em; background: var(--clay); border-radius: 1px; }
.prose ol { padding-left: 1.3em; }
.prose ol > li { margin-bottom: .5em; padding-left: .3em; }
.prose ol > li::marker { font-family: var(--f-mono); color: var(--clay); font-weight: 500; }
.prose strong { font-weight: 700; }
.prose a { color: var(--pine-2); font-weight: 700; }
.prose a:hover { color: var(--tape); }
.prose .hz-callout { background: var(--paper); border: 1.5px solid var(--granite); border-left: 6px solid var(--clay); border-radius: var(--radius); padding: 18px 22px; margin: 1.6em 0; }
.prose .hz-callout > :last-child, .prose .hz-callout .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.prose .hz-callout h3 { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-weight: 500; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--granite-2); border-bottom: 1.5px solid var(--granite); }
.wp-block-table { margin: 0; overflow-x: auto; }
.wp-block-image img { border-radius: var(--radius); }
figure { margin: 0 0 1.4em; }

/* ---------- Location and service layout ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); padding-block: var(--band); align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { background: var(--paper); border: 1.5px solid var(--granite); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.side-card p { margin: 0; }
.side-card__title { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 1.15rem; line-height: 1.2; }
.side-map { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.side-nav { border-top: 1.5px solid var(--granite); padding-top: 14px; }
.side-nav__title { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.side-nav__title a { text-decoration: none; color: var(--clay); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav li a { display: block; padding: 7px 0; text-decoration: none; border-bottom: 1px solid var(--grid); }
.side-nav a[aria-current="page"] { font-weight: 700; color: var(--tape); }

/* ---------- Services grid ---------- */
.services-grid__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.service-group:last-child:nth-child(odd) { grid-column: 1 / -1; }
.service-group h3 { font-size: .8rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.service-group h3 a { color: var(--clay); text-decoration: none; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--granite); }
.service-list a { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-list__name { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 1.1rem; }
.service-list__text { color: var(--granite-2); font-size: .98rem; }
.service-list a:hover .service-list__name { color: var(--tape); }

/* ---------- Process ---------- */
.process__steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0; margin: 2rem 0 0; border-top: 1.5px solid var(--pine-ink); }
.process__steps li { counter-increment: step; padding: 22px 22px 0 0; }
.process__steps li + li { padding-left: 22px; border-left: 1px solid rgba(214, 226, 219, .25); }
.process__steps li::before { content: counter(step); display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: #f2b9a0; margin-bottom: 14px; }
.process__steps h3 { font-size: 1.1rem; }
.process__steps p { font-size: 1rem; margin: 0; }

/* ---------- Areas + map ---------- */
.areas__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.areas__list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--granite); }
.areas__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.areas__list li:nth-child(odd) a { margin-right: 16px; }
.areas__map { background: var(--paper); border: 1.5px solid var(--granite); border-radius: var(--radius); padding: 10px; }
.area-map { display: block; width: 100%; }
.area-map__rings circle { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.area-map__rings text { font: 500 10px var(--f-mono); fill: var(--granite-2); letter-spacing: .06em; }
.area-map__center path { stroke: var(--clay); stroke-width: 2; }
.area-map__center text { font: 500 10.5px var(--f-mono); fill: var(--clay); text-transform: uppercase; letter-spacing: .04em; }
.area-map__pt circle { fill: var(--granite); transition: fill .15s; }
.area-map__pt text { font: 700 12.5px var(--f-body); fill: var(--granite); }
.area-map__pt:hover circle { fill: var(--tape); }
.area-map__pt:hover text { fill: var(--tape); }
.area-map__pt.is-current circle { fill: var(--tape); stroke: var(--paper); stroke-width: 2; }
.area-map__pt.is-current text { fill: var(--tape); font-size: 14px; }
.side-map .area-map__pt text { font-size: 17px; }
.side-map .area-map__pt.is-current text { font-size: 19px; }
.side-map .area-map__rings text, .side-map .area-map__center text { font-size: 14px; }

/* ---------- Cards (hub pages) ---------- */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card a { display: flex; flex-direction: column; height: 100%; padding: 22px; background: var(--stone); border: 1.5px solid var(--granite); border-radius: var(--radius); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card a:hover { color: inherit; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(31, 38, 36, .14); }
.card__title { font-size: 1.3rem; margin-bottom: .4em; }
.card p { color: var(--granite-2); font-size: 1rem; }
.card .eyebrow { margin-bottom: .4rem; font-size: .7rem; }
.card .link-arrow { margin-top: auto; color: var(--tape); }

/* ---------- FAQ (core Details blocks) ---------- */
.faq { background: var(--paper); border-block: 1px solid var(--line); }
.wp-block-details { border-top: 1.5px solid var(--granite); padding: 0; }
.wp-block-details:last-child { border-bottom: 1.5px solid var(--granite); }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.4rem; line-height: 1; color: var(--clay); flex: none; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin: 0 0 1em; max-width: 66ch; }
.wp-block-details > :last-child { padding-bottom: 8px; }
.prose .wp-block-details summary { font-size: 1.05rem; }

/* ---------- Nearby ---------- */
.nearby { padding-block: calc(var(--band) * .75); }
.nearby__list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nearby__list a { display: grid; gap: 2px; padding: 16px 18px; border: 1.5px solid var(--granite); border-radius: var(--radius); text-decoration: none; background: var(--paper); }
.nearby__name { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 1.1rem; }
.nearby__dist { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--granite-2); }
.nearby__list a:hover .nearby__name { color: var(--tape); }

/* ---------- Estimate ---------- */
.estimate { background: var(--pine); color: var(--pine-ink); padding-block: var(--band); }
.estimate__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.estimate h2 { color: #fff; }
.estimate__steps { list-style: none; counter-reset: es; padding: 0; margin: 1.6rem 0; }
.estimate__steps li { counter-increment: es; position: relative; padding: 0 0 14px 44px; }
.estimate__steps li::before { content: counter(es); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--pine-ink); border-radius: 50%; font-family: var(--f-mono); font-size: .85rem; }
.estimate__steps strong { color: #fff; }
.estimate__call a { color: #fff; }
/* The form itself comes from the Lead Hub (embed.js). These variables make it match the site. */
.estimate__form {
  --hlh-accent: var(--tape);
  --hlh-bg: var(--paper);
  --hlh-text: var(--granite);
  --hlh-muted: var(--granite-2);
  --hlh-border: var(--granite-2);
  --hlh-error: #a3141f;
  --hlh-radius: var(--radius);
  --hlh-shadow: 10px 10px 0 rgba(0, 0, 0, .18);
  --hlh-font: var(--f-body);
  --hlh-size: 1rem;
  min-width: 0;
}
.estimate__fallback { background: var(--paper); color: var(--granite); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: 10px 10px 0 rgba(0, 0, 0, .18); display: grid; gap: 12px; }
.estimate__fallback p { margin: 0; }
.estimate__fallback-title { font-family: var(--f-display); font-weight: 750; font-size: 1.2rem; }
.estimate__fallback .link-phone { color: var(--granite); font-weight: 700; }
.hz-ref { display: block; padding: 12px 16px; border-left: 4px solid var(--tape); background: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--granite); color: #c3cac5; padding-top: clamp(48px, 6vw, 80px); font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f7a7c1; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr 1.4fr; gap: 32px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__head { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__head a { color: #f2b9a0; }
.site-footer__license { font-size: .9rem; }
.brand--footer .brand__name { color: #fff; }
.cols-2 { columns: 2; column-gap: 20px; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-block: 20px; border-top: 1px solid #3a4441; font-size: .9rem; }
.site-footer__legal p { margin: 0; }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__steps li, .process__steps li + li { padding: 22px 22px 22px 0; border-left: 0; border-bottom: 1px solid rgba(214, 226, 219, .25); }
  .nearby__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid, .page-hero--card .page-hero__grid, .areas__grid, .estimate__grid, .services-grid__groups { grid-template-columns: minmax(0, 1fr); }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock li:nth-child(3) { border-left: 0; }
  .titleblock li:nth-child(n+3) { border-top: 1.5px solid var(--granite); }
  .service-list a { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--pine); border-top: 1px solid rgba(255, 255, 255, .15); }
  .mobile-bar .btn { min-height: 48px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .process__steps { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .notes-card dl > div { grid-template-columns: 96px 1fr; }
}
@media (max-width: 480px) {
  .nearby__list, .areas__list { grid-template-columns: minmax(0, 1fr); }
  .areas__list li:nth-child(odd) a { margin-right: 0; }
  .actions .btn { width: 100%; }
}
@media print {
  .site-header, .mobile-bar, .estimate, .side { display: none; }
}
