﻿/* ==========================================================================
   Burton Concrete Company â€” approved design "F: Marked Out" (refined)
   Static reference implementation. Port these tokens + components into the
   WordPress theme (see README.md â†’ WordPress build plan).
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face{font-family:"Oswald";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/oswald-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Oswald";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/oswald-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Oswald";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/oswald-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Libre Franklin";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/libre-franklin-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Libre Franklin";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/libre-franklin-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Libre Franklin";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/libre-franklin-latin-600-normal.woff2") format("woff2")}

/* ---------- Tokens ---------- */
:root {
  /* scroll-craft engine tokens mapped to the brand (engine CSS loads first) */
  --sc-canvas: #111111; --sc-surface: #181818; --sc-ink: #F3F2EE; --sc-ink-soft: #C9C7C1;
  --sc-accent: #E32636; --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Oswald", "Arial Narrow", sans-serif; --sc-font-text: "Libre Franklin", "Franklin Gothic Book", Arial, sans-serif;

  /* Brand palette (client-supplied) */
  --red: #E32636;          /* action, key info, brand. Use surgically. */
  --red-dark: #B81D2B;     /* red text on light bg / error text (AA) */
  --black: #111111;        /* charcoal / near-black */
  --charcoal: #181818;     /* deep charcoal bands */
  --gray: #A7A7A3;         /* concrete gray: rules, secondary on dark */
  --offwhite: #F3F2EE;     /* default light ground */
  --white: #FFFFFF;

  /* Derived neutrals */
  --ink-2: #3A3A37;        /* body text on light */
  --ink-3: #5C5C58;        /* captions on light */
  --line: #C9C7C1;         /* hairlines on light */
  --line-soft: #D9D8D3;
  --on-dark-2: #C9C7C1;    /* body text on dark */
  --stake: #8A6A48;        /* wooden survey stake */

  /* Type */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Libre Franklin", "Franklin Gothic Book", Arial, sans-serif;

  --fs-hero: clamp(2.5rem, 7vw, 6.25rem);    /* 40 â†’ 100px */
  --fs-h2: clamp(2.6rem, 7vw, 6.75rem);      /* 42 â†’ 108px */
  --fs-h2-sm: clamp(2.2rem, 5.2vw, 5.25rem); /* 35 â†’ 84px  */
  --fs-h3: clamp(1.5rem, 2.2vw, 1.875rem);   /* 24 â†’ 30px  */
  --fs-lead: clamp(1.1rem, 1.4vw, 1.25rem);
  --fs-body: 1.0625rem;                      /* 17px */
  --fs-small: 0.9375rem;
  --measure: 54ch;                           /* reading width for long text (~68-72 characters in Libre Franklin) */
  --para-gap: 1.35em;                        /* space between body paragraphs */

  /* Space (4px base) */
  --gutter: clamp(16px, 5vw, 72px);
  --section-y: clamp(72px, 9vw, 120px);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--black);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 0; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 12px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { padding-inline: var(--gutter); }

/* Film grain over everything (premium-frontend-ui: 0.02â€“0.05 opacity) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Display type */
.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .93; letter-spacing: -0.005em; margin: 0; }
.h2 { font-size: var(--fs-h2); }
.h2-sm { font-size: var(--fs-h2-sm); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 18px 28px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1;
  transition: background-color 200ms, color 200ms, border-color 200ms, transform 200ms var(--ease);
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--black { background: var(--black); color: #fff; }
.btn--black:hover { background: var(--red); color: #fff; }
.btn--ghost-light { border-color: var(--offwhite); color: var(--offwhite); }
.btn--ghost-light:hover { background: var(--offwhite); color: var(--black); }
.btn--block { width: 100%; }

/* Spray-paint underline (the one bold motif â€” used 3x only) */
.spray-under { position: relative; display: inline-block; }
.spray-under > svg { position: absolute; left: -6px; right: 0; bottom: -0.2em; width: calc(100% + 6px); height: .32em; overflow: visible; pointer-events: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: clamp(16px, 4vw, 56px);
  color: var(--offwhite); border-bottom: 1px solid rgba(243,242,238,.12);
  transition: transform 350ms var(--ease), background-color 250ms;
}
.site-header.is-solid { background: var(--black); border-bottom-color: #2A2A28; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .logo img { height: 42px; width: auto; }
.nav { height: 100%; }
.nav__list { display: flex; align-items: center; gap: 4px; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link, .nav__toggle {
  height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--offwhite); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link[aria-current="page"] { color: var(--red); }
.nav__link:hover, .nav__toggle:hover { color: var(--red); }
.nav__toggle svg { transition: transform 200ms; }
.nav__toggle[aria-expanded="true"] { background: var(--charcoal); color: var(--red); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: 100%; left: 0; width: 300px; margin: 0; padding: 10px 0; list-style: none;
  background: var(--charcoal); border-top: 3px solid var(--red); box-shadow: 0 30px 50px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 180ms, transform 180ms, visibility 0s 180ms;
}
.nav__menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms, transform 180ms; }
.nav__menu a {
  display: block; padding: 13px 22px; color: var(--offwhite); text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
}
.nav__menu a:hover { background: #232321; color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: .03em; text-decoration: none; color: var(--offwhite); }
.header-cta .btn { padding: 14px 22px; font-size: 1.0625rem; }
.menu-btn { display: none; width: 48px; height: 48px; background: none; border: 1.5px solid currentColor; color: inherit; align-items: center; justify-content: center; cursor: pointer; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--black); color: var(--offwhite); padding: 96px 24px 120px; overflow-y: auto; display: none; }
.drawer.is-open { display: block; }
.drawer__close { position: absolute; top: 22px; right: 16px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > nav > ul > li { border-bottom: 1px solid #2A2A28; }
.drawer a, .drawer button.drawer__sub {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0; min-height: 56px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--offwhite); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
}
.drawer .drawer__services a { font-size: 1.125rem; font-weight: 500; padding: 12px 0 12px 16px; min-height: 48px; color: var(--on-dark-2); }
.drawer .drawer__services[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 980px; }
.hero h1 { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__kicker { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 500; color: var(--on-dark-2); }
.hero__slogan { font-size: var(--fs-hero); }
.hero__sub { margin: 0; max-width: 600px; font-size: var(--fs-lead); color: #E4E2DC; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-bar {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 48px;
  padding: 22px var(--gutter); border-top: 1px solid rgba(243,242,238,.2); background: rgba(17,17,17,.6);
  font-size: var(--fs-small); color: var(--on-dark-2);
}
.trust-bar b { color: #fff; }
.trust-google { color: inherit; text-decoration: none; }
.trust-google:hover, .trust-google:focus-visible { color: #fff; }
.trust-star { margin-left: 3px; color: var(--red); }
.phero .trust-bar--page { grid-column: 1 / -1; margin: clamp(8px, 2vw, 24px) calc(var(--gutter) * -1) calc(clamp(48px, 6vw, 88px) * -1); }

/* Job ticket (hero quote) */
.ticket {
  position: relative; background: var(--offwhite); color: var(--black); padding: 44px 30px 30px;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); display: flex; flex-direction: column; gap: 16px;
}
.ticket::before { content: ""; position: absolute; top: -22px; left: 50%; width: 80px; height: 36px; margin-left: -40px; background: #1A1A1A; border-radius: 4px 4px 10px 10px; box-shadow: inset 0 -4px 0 #333; }
.ticket__head { border-bottom: 2px dashed var(--black); padding-bottom: 12px; }
.ticket__title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; text-transform: uppercase; line-height: 1.1; margin: 0; }
.ticket__head p { margin: 4px 0 0; font-size: .875rem; color: var(--ink-3); }
/* Fields in pairs (name|phone, email|service, place|photos); the message runs full width */
.ticket__body { display: flex; flex-direction: column; gap: 12px; }
.ticket__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; align-items: start; }
.ticket .field textarea { min-height: 64px; }
.ticket { padding: 38px 28px 26px; gap: 12px; }
.ticket .upload--compact { margin-top: 0; }
.ticket .upload--compact .upload__label { margin: 0 0 4px; }
.ticket .upload--compact .upload__drop { flex-direction: row; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; }
.ticket .upload--compact .upload__drop svg { width: 18px; height: 18px; flex: none; }
.ticket .upload--compact .upload__cta { font-size: .9375rem; }
.ticket .upload--compact .upload__hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ticket .upload--compact .upload__list { gap: 8px; margin-top: 8px; }
.ticket .upload--compact .upload__list li, .ticket .upload--compact .upload__list img { width: 44px; height: 44px; }
.ticket .upload--compact .upload__list span { display: none; }
.ticket .upload--compact .upload__list button { top: -6px; right: -6px; width: 22px; height: 22px; font-size: .875rem; }

/* Form fields (shared) */
.field { display: flex; flex-direction: column; gap: 4px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1.5px solid var(--black); background: transparent; padding: 8px 0; min-height: 44px;
  font: 400 1.125rem/1.4 var(--font-body); color: var(--black); border-radius: 0;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 3px solid var(--red); }
.field .error { display: none; font-weight: 500; font-size: .875rem; color: var(--red-dark); }
.field.is-invalid { color: var(--red-dark); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom: 3px solid var(--red); }
.field.is-invalid .error { display: block; }
.form-success { display: none; }
.form.is-sent .form-body { display: none; }
.form.is-sent .form-success { display: block; }

/* ---------- Service area ---------- */
.area { --area-overlay: rgba(243, 242, 238, .4); background: linear-gradient(var(--area-overlay), var(--area-overlay)), var(--offwhite) url("../img/placeholders/topo-contours.png") center/cover; padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px); gap: 56px; align-items: center; }
.area__copy { display: flex; flex-direction: column; gap: 26px; }
.area__primary { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.375rem); line-height: 1.12; text-transform: uppercase; }
.area__primary small { font: 600 1rem var(--font-body); text-transform: none; color: var(--red-dark); vertical-align: middle; margin-left: 8px; }
.area__secondary { margin: 0; max-width: 540px; font-size: 1.125rem; color: var(--ink-2); }
.area__callout { margin: 0; max-width: 520px; font-size: 1.25rem; line-height: 1.5; font-weight: 600; border-left: 4px solid var(--red); padding-left: 18px; }
.area__map { width: 100%; height: auto; }

/* ---------- Stats banner ---------- */
.stats { position: relative; color: var(--offwhite); background: var(--charcoal) url("../img/placeholders/stats-bg.jpg") center/cover; }
.stats::before { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.78); }
.stats__row { position: relative; margin: 0; padding: 52px clamp(16px, 3vw, 40px); display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; align-items: center; }
.stat { display: flex; align-items: baseline; gap: 16px; padding: 0 32px; }
.stat + .stat { border-left: 1px solid rgba(243,242,238,.22); }
.stat dt { order: 2; font-size: var(--fs-small); line-height: 1.35; color: var(--on-dark-2); }
.stat dd { order: 1; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5.8vw, 5.25rem); line-height: .9; }
.stat .red { color: var(--red); }

/* ---------- Services ---------- */
.services { background: var(--white); padding: clamp(56px, 7vw, 96px) var(--gutter); display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 440px; font-size: 1.125rem; color: var(--ink-2); }
.services--offwhite { background: var(--offwhite); }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; margin: 0; padding: 0; list-style: none; }
.svc { display: flex; flex-direction: column; gap: 16px; height: 100%; text-decoration: none; color: var(--black); }
.svc__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #CFCDC7; }
.svc__img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.svc__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 1.8vw, 1.625rem); line-height: 1.02; text-transform: uppercase; margin: 0; }
.svc__text { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.svc__more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .9375rem; color: var(--red-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.svc:hover { color: var(--black); }
.svc:hover .svc__img::after, .svc:focus-visible .svc__img::after { transform: scaleX(1); }
.svc-help { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; background: var(--black); color: var(--offwhite); padding: 28px 26px; min-height: 100%; }
.svc-help .svc__title { font-size: clamp(1.5rem, 2vw, 1.875rem); }
.svc-help p { margin: 0; font-size: 1rem; color: var(--on-dark-2); }
.svc-help .phone { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; text-decoration: none; color: #fff; }
.svc-help .btn { align-self: flex-start; }

/* ---------- Shared controls ---------- */
.icon-btn { width: 56px; height: 56px; border: 2px solid var(--black); background: transparent; color: var(--black); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 200ms, color 200ms, opacity 200ms; }
.icon-btn:hover { background: var(--black); color: #fff; }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--black); }
.icon-btn--light { border-color: var(--offwhite); color: var(--offwhite); }
.icon-btn--light:hover { background: var(--offwhite); color: var(--black); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 18px; border: 2px solid var(--line); background: transparent; color: var(--black); font: 600 .9375rem var(--font-body); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--black); color: var(--black); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--black); border-color: var(--black); color: #fff; }
.chip span { opacity: .6; font-weight: 500; margin-left: 6px; }
.gallery__count { font: 600 1.25rem var(--font-display); }

/* ---------- Lightbox (one, global) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(12,12,12,.97); color: var(--offwhite); display: flex; flex-direction: column; gap: 18px; padding: 24px var(--gutter) 32px; }
.lightbox[hidden] { display: none; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lightbox__caption { margin: 0; font: 600 clamp(1.125rem, 2vw, 1.5rem) var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.lightbox__right { display: flex; align-items: center; gap: 20px; }
.lightbox__right .gallery__count { color: var(--gray); }
.lightbox__stage { flex: 1; min-height: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 20px; align-items: center; }
.lightbox__stage img { width: 100%; height: 100%; max-height: calc(100svh - 140px); object-fit: contain; }

/* ---------- Process ---------- */
.process { background: var(--charcoal); color: var(--offwhite); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 48px; }
.process .section-head p { color: var(--on-dark-2); }
.process__line { width: 100%; height: 60px; }
.process__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; margin: -30px 0 0; padding: 0; list-style: none; }
.process__steps li { display: flex; flex-direction: column; gap: 12px; }
.process__num { font: 600 1.375rem var(--font-display); color: var(--red); }
.process__steps h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); text-transform: uppercase; line-height: 1; }
.process__steps p { margin: 0; color: var(--on-dark-2); }

/* ---------- About ---------- */
.about { background: var(--white); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.about__media { grid-column: span 5; margin: 0; }
.about__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #CFCDC7; }
.about__frame img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.about__media figcaption { margin-top: 12px; font-size: .875rem; color: var(--ink-3); }
.about__copy { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 24px; }
.about__copy p { margin: 0; font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); max-width: var(--measure); }
.about__copy p.lead { font-size: 1.25rem; font-weight: 500; color: var(--black); }
.about__ctas { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ---------- Reviews ---------- */
.reviews { background: var(--offwhite); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start; }
.reviews__head { position: sticky; top: calc(var(--header-h) + 24px); }
.reviews__note { margin: 16px 0 0; font-size: var(--fs-small); color: var(--ink-3); }
/* Overall score: the number, its stars, the count and the way to Google */
.reviews__score { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.reviews__num { margin: 0; font: 700 clamp(4rem, 7vw, 5.75rem)/.9 var(--font-display); letter-spacing: -.02em; color: var(--black); }
.reviews__stars { display: inline-flex; gap: 4px; margin-top: 10px; font-size: 1.6rem; line-height: 1; color: var(--red); }
.reviews__count { margin: 8px 0 0; font-size: 1.0625rem; color: var(--ink-2); }
.reviews__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
/* The reviews: white cards, two across */
.reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.reviews__list > li { display: flex; }
.review { margin: 0; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 22px; background: var(--white); border-top: 3px solid var(--black); box-shadow: 0 1px 0 var(--line-soft); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 300ms; }
.review .stars { display: inline-flex; gap: 3px; font-size: 1.15rem; line-height: 1; color: var(--red); }
.review p { margin: 0; flex: 1; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.review footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: var(--fs-small); }
.review footer b { color: var(--black); }
.review footer span { color: var(--ink-3); }
.review__src { font: 600 .75rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.stars i, .reviews__stars i { font-style: normal; display: inline-block; }
.stars i.is-empty, .reviews__stars i.is-empty { color: var(--line); }
@media (hover: hover) and (pointer: fine) {
  .review:hover { transform: translateY(-4px); border-top-color: var(--red); box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .4); }
}
/* Arrival: cards rise one by one (engine stagger); stars fill in left to right once each card lands */
.reviews__list .stars i, .reviews__stars i { transition: opacity 320ms ease, transform 520ms var(--ease); transition-delay: calc(var(--i, 0) * 110ms + var(--s, 0) * 70ms + 260ms); }
.reviews__stars i { --i: 0; }
.js .reviews__list > li:not(.sc-in) .stars i, .js .reviews__score:not(.sc-in) .reviews__stars i { opacity: .12; transform: scale(.55); }
@media (prefers-reduced-motion: reduce) {
  .reviews__list .stars i, .reviews__stars i { transition: none; }
  .js .reviews__list > li:not(.sc-in) .stars i, .js .reviews__score:not(.sc-in) .reviews__stars i { opacity: 1; transform: none; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; }
.faq__list { border-top: 2px solid var(--black); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.875rem); text-transform: uppercase; line-height: 1.15; color: var(--black); }
.faq__icon { flex: 0 0 44px; height: 44px; border: 2px solid var(--black); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1; transition: background 200ms, color 200ms; }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--red); border-color: var(--red); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0 0 26px; max-width: var(--measure); font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- Quote ---------- */
.quote { background: var(--offwhite) url("../img/placeholders/topo-contours.png") center/cover; border-top: 2px solid var(--black); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 80px; align-items: start; }
.quote__aside { display: flex; flex-direction: column; gap: 24px; }
.quote__aside ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 1.125rem; }
.quote__aside li::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red); margin-right: 12px; }
.quote__phone { font: 700 clamp(2rem, 3.4vw, 3rem) var(--font-display); text-decoration: none; border-top: 2px solid var(--black); padding-top: 18px; }
.quote__form { background: var(--white); border: 2px solid var(--black); padding: clamp(24px, 3.5vw, 48px); box-shadow: 14px 14px 0 var(--black); }
.quote__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin-bottom: 26px; }
.quote__form .btn { margin-top: 26px; }
.form-success h3 { font-family: var(--font-display); font-size: 2.5rem; text-transform: uppercase; margin: 0 0 12px; line-height: 1; }

/* ---------- Final CTA ---------- */
.final { position: relative; color: var(--offwhite); background: var(--charcoal) url("../img/placeholders/hero-bg.jpg") center/cover; padding: var(--section-y) var(--gutter) 90px; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.72); }
.final > * { position: relative; }
.final__phone { display: inline-block; margin-top: 22px; font: 700 clamp(3.25rem, 12.5vw, 11.25rem)/1 var(--font-display); color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.final__ctas .btn--ghost-light { text-transform: none; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--gray); font-size: var(--fs-small); }
.footer__main { padding: 72px var(--gutter) 56px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand img { height: 40px; width: auto; align-self: flex-start; }
.footer__brand p { margin: 0; max-width: 340px; }
.socials { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.socials a { width: 44px; height: 44px; border: 1.5px solid #555552; display: flex; align-items: center; justify-content: center; color: var(--offwhite); }
.socials a:hover { border-color: var(--red); color: var(--red); }
.footer__col h2 { margin: 0 0 16px; font: 600 1.25rem var(--font-display); text-transform: uppercase; color: #fff; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { text-decoration: none; color: var(--on-dark-2); }
.footer__phone { font: 700 1.875rem/1 var(--font-display); color: #fff !important; }
.footer__bottom { border-top: 1px solid #2A2A28; padding: 22px var(--gutter); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem; color: #8A8A85; }
.footer__bottom a { color: var(--gray); text-decoration: none; }

/* ---------- Sticky mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- Responsive ---------- */
@media (hover: hover) and (pointer: fine) {
  .svc:hover .svc__img img { transform: scale(1.05); }
}
@media (max-width: 1180px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 400px; }
  .hero--motion .hero__badge { right: 4vw; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews, .faq { grid-template-columns: 1fr; gap: 40px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .site-header .logo img { height: 30px; }
  .header-cta .btn { display: none; }
  .ticket, .ticket-wrap { display: none; } /* mobile: headline, CTA, phone first; the form lives in #quote */
  .trust-bar { gap: 8px 24px; padding-block: 16px; }
  .area { grid-template-columns: 1fr; }
  .stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-block: 36px; }
  .stat { padding: 0 16px; flex-direction: column; gap: 6px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(243,242,238,.22); }
  .process__line { display: none; }
  .process__steps { grid-template-columns: 1fr; margin: 0; gap: 28px; border-left: 2px solid var(--offwhite); padding-left: 24px; }
  .about { grid-template-columns: 1fr; row-gap: 40px; }
  .about__media, .about__copy { grid-column: 1 / -1; position: static; }
  .about__frame { aspect-ratio: 16 / 10; }
  .reviews__head { position: static; }
  .reviews__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 360px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .reviews__list > li { scroll-snap-align: start; }
  .quote { grid-template-columns: 1fr; gap: 40px; }
  .quote__grid { grid-template-columns: 1fr; }
  .quote__form { box-shadow: 8px 8px 0 var(--black); }
  body { padding-bottom: 68px; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 110; height: 68px;
    box-shadow: 0 -10px 30px rgba(0,0,0,.35); padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 1.0625rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff; }
  .action-bar a:first-child { background: var(--black); border-top: 1px solid #333; }
  .action-bar a:last-child { background: var(--red); }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; gap: 18px; }
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__ctas .btn--ghost-light { display: none; } /* the sticky bar carries Call on phones */
  .final__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .site-header.is-hidden { transform: none; }
}


/* =========================================================================
   SCROLL PASS 1 (scroll-craft). Light motion: one hero moment, one peak
   (the scrubbed hero), a few quiet entrances. transform / opacity / stroke only.
   ========================================================================= */

/* No-JS: nothing stays hidden. The engine's [data-sc-in] pre-state only applies once JS has run. */
html:not(.js) [data-sc-in], html:not(.js) [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }

/* ---- Hero layers ---- */
.ticket-wrap { position: relative; }

/* ---- Hero: base = static composition (reduced motion, no JS). ---- */
.hero { position: relative; color: var(--offwhite); background: var(--black); }
.hero__stage { min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.hero__plate, .hero__film, .hero__marks, .hero__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero__plate { z-index: 0; background: #1d1d1c url("../img/hero/slab-plate.jpg") center/cover; display: none; }
.hero__film { z-index: 1; }
.hero__film picture, .hero__film img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__film .hero__poster, .hero__film .hero__video { display: none; }
.hero__marks { z-index: 3; width: 100%; height: 100%; }
.hero__badge { display: none; }
/* Scrim only where the copy sits: left column + bottom edge under the trust bar */
.hero__scrim { z-index: 4; background:
  linear-gradient(90deg, rgba(17,17,17,.86) 0%, rgba(17,17,17,.62) 34%, rgba(17,17,17,0) 62%),
  linear-gradient(0deg, rgba(17,17,17,.7) 0%, rgba(17,17,17,0) 26%),
  linear-gradient(180deg, rgba(17,17,17,.7) 0%, rgba(17,17,17,0) 22%); }
.hero__inner { position: relative; z-index: 5; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(400px, 36vw, 540px); gap: 48px; align-items: center; padding: calc(var(--header-h) + 48px) var(--gutter) 64px; }
.trust-bar { z-index: 5; }
.ticket-wrap { position: relative; }

/* ---- Hero: motion composition (JS adds .hero--motion unless reduced motion) ---- */
.hero--motion .hero__plate { display: block; transform-origin: 66% 50%; will-change: transform; }
.hero--motion .hero__film .hero__poster, .hero--motion .hero__film .hero__video { display: block; }
.hero--motion .hero__film { opacity: 0; will-change: opacity; }
.hero--motion .hero__marks { transform-origin: 66% 50%; will-change: transform, opacity; }
.hero--motion .hero__scrim { opacity: var(--hero-scrim, .55); }
.hero--motion .hero__badge {
  display: block; position: absolute; z-index: 2; top: 50%; right: 5vw;
  width: min(32vw, 520px); aspect-ratio: 1200 / 1164; margin-top: calc(min(32vw, 520px) * -0.485);
  transform-origin: 33.6% 50%; will-change: transform, opacity;
}
.hero__b { position: relative; width: 100%; height: auto; display: block; }
.hero__forms {
  position: absolute; left: 50.2%; top: 49.2%; width: 61%; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(29deg); will-change: transform;
}
.board {
  position: absolute; background: #6b5a45 url("../img/hero/form-board.jpg") center/cover;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.75), inset 0 -3px 0 rgba(0,0,0,.25);
}
.board--t, .board--b { left: -14%; right: -14%; height: 12%; }
.board--l, .board--r { top: -2%; bottom: -2%; width: 12%; background-size: auto 100%; }
.board--t { bottom: 100%; } .board--b { top: 100%; }
.board--l { right: 100%; } .board--r { left: 100%; }
.hero--motion .ticket-wrap { visibility: var(--ticket-vis, hidden); opacity: var(--ticket-o, 0); transform: translate3d(0, calc((1 - var(--ticket-o, 0)) * 28px), 0); }
.hero--motion .ticket-wrap:focus-within { visibility: visible; opacity: 1; transform: none; }

@media (min-width: 901px) {
  /* "Concrete done right" holds one line; the size follows the copy column */
  .hero__slogan { font-size: clamp(2.5rem, calc((100vw - 600px) / 9.4), 6rem); }
  .hero__slogan .line:first-child { white-space: nowrap; }
}

/* Load moment (under 1.5s): the slab lands, the forms release outward. */
.hero--motion .hero__b { animation: bc-slab 900ms var(--sc-ease-out) both; }
.hero--motion .board { animation: bc-release 820ms cubic-bezier(.5,0,.2,1) 520ms both; }
.hero--motion .board--t { --rx: 0; --ry: -55%; --rr: -1.4deg; }
.hero--motion .board--b { --rx: 0; --ry: 55%; --rr: 1.2deg; }
.hero--motion .board--l { --rx: -55%; --ry: 0; --rr: 1deg; }
.hero--motion .board--r { --rx: 55%; --ry: 0; --rr: -1.2deg; }
@keyframes bc-slab { from { opacity: 0; transform: scale(.96) translate3d(0, 14px, 0); } }
@keyframes bc-release { from { transform: none; } to { transform: translate(var(--rx), var(--ry)) rotate(var(--rr)); opacity: .92; } }

/* Hero load moment: lines land, then the paint sprays on. Once, on load. */
.hero__slogan .line { display: block; }
.hero__slogan .line.spray-under { width: fit-content; } /* the red underline ends with the words, not the column */
.js .hero__slogan .line, .js .hero__kicker, .js .hero__sub, .js .hero__ctas, .js .hero:not(.hero--motion) .ticket-wrap {
  animation: bc-rise 760ms var(--sc-ease-out) both;
}
.js .hero__kicker { animation-delay: 60ms; }
.js .hero__slogan .line:nth-child(1) { animation-delay: 140ms; }
.js .hero__slogan .line:nth-child(2) { animation-delay: 240ms; }
.js .hero__sub { animation-delay: 480ms; }
.js .hero__ctas { animation-delay: 560ms; }
.js .ticket-wrap { animation-delay: 640ms; animation-duration: 900ms; }
@keyframes bc-rise { from { opacity: 0; transform: translate3d(0, 0.5em, 0); } }
.ticket-wrap { will-change: transform; }

.spray-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .spray-draw { stroke-dashoffset: 1; animation: bc-spray 620ms cubic-bezier(.3,.7,.3,1) forwards; animation-delay: 700ms; }
.js .spray-draw--late { animation-delay: 900ms; }
.js .spray-draw--under { animation-delay: 1050ms; animation-duration: 700ms; }
.js .hero .overspray { animation: bc-fade 900ms ease-out both; animation-delay: 750ms; }
@keyframes bc-spray { to { stroke-dashoffset: 0; } }
@keyframes bc-fade { from { opacity: 0; } }
/* The closing underline sprays when the number arrives, not on load */
.js .spray-draw--close { animation: none; transition: stroke-dashoffset 800ms cubic-bezier(.3,.7,.3,1) 350ms; }
.js .final__phone.sc-in .spray-draw--close { stroke-dashoffset: 0; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; align-items: end; padding-top: calc(var(--header-h) + 32px); padding-bottom: 36px; }
  .hero__marks .string { display: none; }
  .hero__plate { background-image: url("../img/hero/slab-plate-m.jpg"); }
  .hero__scrim { background: linear-gradient(0deg, rgba(17,17,17,.9) 0%, rgba(17,17,17,.72) 46%, rgba(17,17,17,0) 72%), linear-gradient(180deg, rgba(17,17,17,.6) 0%, rgba(17,17,17,0) 18%); }
  .hero--motion .hero__plate, .hero--motion .hero__marks { transform-origin: 50% 30%; }
  .hero--motion .hero__badge { top: calc(var(--header-h) + 14px); right: auto; left: 50%; width: min(46vw, 230px); margin: 0 0 0 calc(min(46vw, 230px) * -0.5); }
}
@media (max-width: 900px) and (max-height: 700px) {
  .hero--motion .hero__badge { top: calc(var(--header-h) + 6px); left: auto; right: 6px; width: 62px; margin: 0; }
}

/* ---- Service area: rings open out from High Point, then the towns land ---- */
.area__map .ring { transform-origin: 360px 360px; transition: transform 1100ms var(--sc-ease-out), opacity 700ms ease-out; }
.area__map .towns, .area__map text { transition: opacity 600ms ease-out; }
.js .area__map:not(.sc-in) .ring { transform: scale(.35); opacity: 0; }
.js .area__map:not(.sc-in) .towns, .js .area__map:not(.sc-in) g text { opacity: 0; }
.area__map .ring--20 { transition-delay: 120ms; }
.area__map .ring--30 { transition-delay: 240ms; }
.area__map .towns, .area__map g text { transition-delay: 700ms; }

/* ---- Process: the string pulls taut, the stakes drop ---- */
.process__line .string-line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms cubic-bezier(.3,.7,.3,1) 200ms; }
.js .process__line:not(.sc-in) .string-line { stroke-dashoffset: 1; }
.process__line .stakes rect { transition: transform 600ms var(--sc-ease-out), opacity 400ms ease-out; }
.js .process__line:not(.sc-in) .stakes rect { transform: translateY(-40px); opacity: 0; }
.process__line .stakes rect:nth-child(2) { transition-delay: 90ms; }
.process__line .stakes rect:nth-child(3) { transition-delay: 180ms; }
.process__line .stakes rect:nth-child(4) { transition-delay: 270ms; }

@media (max-width: 900px) {
}

@media (prefers-reduced-motion: reduce) {
  .js .spray-draw { animation: none; stroke-dashoffset: 0; }
  .js .spray-draw--close { transition: none; stroke-dashoffset: 0; }
  .js .area__map:not(.sc-in) .ring { transform: none; }
  .js .process__line:not(.sc-in) .stakes rect { transform: none; }
}

/* =========================================================================
   SITE PASS: shared components for every template (see docs/architecture.md).
   Class names = Burton block / template-part markup. Same tokens as above.
   ========================================================================= */
.h3-display { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.text-link { font-weight: 600; color: var(--red-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.btn--ghost-dark { border-color: var(--black); color: var(--black); }
.btn--ghost-dark:hover { background: var(--black); color: #fff; }
.nav__link.is-section, .nav__toggle.is-section { color: var(--red); }
.nav__menu-all a { font-weight: 700; border-bottom: 1px solid #2A2A28; margin-bottom: 6px; }
.nav__menu a[aria-current="page"] { color: var(--red); }
.drawer__foot { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: .875rem; color: var(--ink-3); }
.form-note a { color: var(--ink-2); }
.footer__bottom nav a { color: var(--gray); }

/* ---- Breadcrumbs ---- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--gray); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #6A6A66; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--gray); }

/* ---- Page hero (every inner page; the page's only H1) ---- */
.phero { position: relative; color: var(--offwhite); background: var(--charcoal); padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) var(--gutter) clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/hero/slab-plate.jpg") center/cover; opacity: .55; }
.phero__copy { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.phero__kicker { margin: 8px 0 -6px; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--on-dark-2); }
.phero__kicker::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.phero__title { font-size: clamp(2.5rem, 5.2vw, 5rem); }
.phero__intro { margin: 0; max-width: 60ch; font-size: var(--fs-lead); line-height: 1.55; color: #E4E2DC; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.phero__media { position: relative; margin: 0; }
.phero__frame { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #2A2A28; box-shadow: 0 40px 60px -30px rgba(0,0,0,.8); }
.phero__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
/* Layout marks: crisp survey ticks at two corners (not the spray motif) */
.phero__mark { position: absolute; width: 34px; height: 34px; border-color: var(--red); border-style: solid; pointer-events: none; }
.phero__mark--tl { left: -14px; top: -14px; border-width: 3px 0 0 3px; }
.phero__mark--br { right: -14px; bottom: -14px; border-width: 0 3px 3px 0; }
.phero--slim, .phero--noimg { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(44px, 5vw, 72px); }
.phero--slim .phero__copy { max-width: 900px; }
.phero--slim .phero__title { font-size: clamp(2.5rem, 6vw, 5.5rem); }

/* ---- Rich content (Rich text / core blocks): the reading type scale ----
   Body 19px / 1.72 on desktop, 17px on phones. Measure capped at ~68 characters. */
.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.85rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.003em; margin: 1.9em 0 .55em; }
.prose h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.1; margin: 1.6em 0 .45em; }
.prose h2 + h3 { margin-top: .8em; }
.prose p, .prose li { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.72; color: var(--ink-2); }
.prose p { margin: 0 0 var(--para-gap); }
.prose strong { color: var(--black); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose ul li::marker { color: var(--red); }
.prose ol li::marker { color: var(--red-dark); font-weight: 600; font-family: var(--font-display); }
.prose a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--black); }
.prose blockquote, .pull { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--red); }
.prose blockquote p, .pull p { font: 600 clamp(1.35rem, 2.1vw, 1.75rem)/1.35 var(--font-body); color: var(--black); margin: 0; }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; height: auto; }
.prose figcaption, .post__hero figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-3); }
.prose .table-wrap { margin: 2em 0; }
.callout { margin: 2em 0; padding: 22px 26px; background: var(--offwhite); border: 2px solid var(--black); box-shadow: 8px 8px 0 var(--red); }
.callout__title { margin: 0 0 6px !important; font: 700 1rem/1 var(--font-display) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--red-dark) !important; }
.callout p:last-child { margin: 0; color: var(--black); }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1rem; }
.table-wrap caption { text-align: left; font: 700 1.125rem var(--font-display); text-transform: uppercase; margin-bottom: 10px; }
.table-wrap thead th, .table-wrap thead td { text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--black); font: 600 .9375rem var(--font-body); color: var(--black); }
.table-wrap tbody th { text-align: left; padding: 14px 16px; font: 700 1.0625rem var(--font-display); text-transform: uppercase; white-space: nowrap; }
.table-wrap td { padding: 14px 16px; color: var(--ink-2); }
.table-wrap tbody tr { border-bottom: 1px solid var(--line); }
.table-wrap tbody tr:nth-child(odd) { background: rgba(17,17,17,.025); }

/* ---- Service page body ---- */
.svc-content { background: var(--white); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.included { border: 2px solid var(--black); padding: 28px; background: var(--offwhite); }
.included__title { margin: 0 0 18px; font: 700 1.5rem/1 var(--font-display); text-transform: uppercase; }
.included ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.included li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 1rem; line-height: 1.45; }
.included li svg { color: var(--red); margin-top: 2px; }
.included__note { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .875rem; color: var(--ink-3); }
.aside-cta { background: var(--black); color: var(--offwhite); padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.aside-cta p { margin: 0; color: var(--on-dark-2); font-size: .9375rem; }
.aside-cta__phone { font: 700 2rem/1 var(--font-display); color: #fff; text-decoration: none; margin-bottom: 6px; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0 8px; }
.option { border-top: 3px solid var(--black); padding-top: 14px; }
.option h3 { margin: 0 0 6px; }
.option p { margin: 0; font-size: 1rem; }

/* ---- Project slider (burton/project-slider) ---- */
.slider { background: var(--offwhite); padding: var(--section-y) 0 var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 28px; overflow: hidden; }
.slider--white { background: var(--white); }
.slider__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-right: var(--gutter); }
.slider__intro { margin: 14px 0 0; max-width: 520px; font-size: 1.125rem; color: var(--ink-2); }
.slider__controls { display: flex; gap: 10px; flex-shrink: 0; }
.slider__track { display: flex; gap: clamp(14px, 1.6vw, 22px); margin: 0; padding: 4px var(--gutter) 8px 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; cursor: grab; outline-offset: -3px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider__track.is-dragging .slider__card { pointer-events: none; }
.slider__slide { flex: 0 0 clamp(280px, 38vw, 580px); scroll-snap-align: start; }
.slider__card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10.5; padding: 0; border: 0; background: #CFCDC7; overflow: hidden; cursor: zoom-in; }
.slider__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); user-select: none; }
.slider__cap { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 96px); background: var(--offwhite); color: var(--black); padding: 8px 12px; font: 600 .9375rem/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; text-align: left; }
.slider__zoom { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity 250ms, transform 250ms var(--ease); }
.slider__card:hover .slider__zoom, .slider__card:focus-visible .slider__zoom { opacity: 1; transform: none; }
.slider__foot { display: flex; align-items: center; gap: 24px; padding-right: var(--gutter); }
.slider__bar { flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.slider__bar span { position: absolute; inset: 0 auto 0 0; width: var(--w, 20%); background: var(--red); transform: translateX(var(--x, 0)); transition: transform 200ms linear; }
.slider__status { margin: 0; font: 600 1.125rem var(--font-display); min-width: 64px; text-align: right; }
.slider__cta { font-weight: 600; color: var(--black); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; white-space: nowrap; }

/* ---- Projects page library (burton/project-library) ---- */
.lib { background: var(--offwhite); padding: clamp(40px, 5vw, 64px) var(--gutter) var(--section-y); display: flex; flex-direction: column; gap: 20px; }
.lib__status { margin: 0; font-size: .9375rem; color: var(--ink-3); }
.lib__grid { columns: 3 320px; column-gap: 18px; margin: 0; padding: 0; list-style: none; }
.lib__item { break-inside: avoid; margin-bottom: 18px; }
.lib__item[hidden] { display: none; }
.lib__card { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #CFCDC7; overflow: hidden; cursor: zoom-in; }
.lib__card img { width: 100%; height: auto; transition: transform 900ms var(--ease); }
.lib__cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; text-align: left; color: #fff; font: 600 1rem var(--font-display); letter-spacing: .03em; text-transform: uppercase; background: linear-gradient(0deg, rgba(17,17,17,.78), rgba(17,17,17,0)); opacity: 0; transform: translateY(8px); transition: opacity 300ms, transform 300ms var(--ease); }
.lib__card:hover .lib__cap, .lib__card:focus-visible .lib__cap { opacity: 1; transform: none; }
.lib__item.is-in { animation: bc-rise 520ms var(--sc-ease-out) both; }
.lib__more { display: flex; justify-content: center; }

/* ---- CTA band ---- */
.cta-band { background: var(--black); color: var(--offwhite); padding: clamp(56px, 7vw, 96px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: end; border-top: 4px solid var(--red); }
.cta-band__copy { display: flex; flex-direction: column; gap: 16px; }
.cta-band__copy p { margin: 0; max-width: 52ch; font-size: 1.125rem; color: var(--on-dark-2); }
.cta-band__actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-band__phone { font: 700 clamp(2.5rem, 5vw, 4.25rem)/1 var(--font-display); color: #fff; text-decoration: none; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Areas + related ---- */
.areas { background: var(--white); padding: clamp(56px, 6vw, 88px) var(--gutter); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px 72px; align-items: start; border-top: 1px solid var(--line-soft); }
.areas p { margin: 12px 0 0; color: var(--ink-2); }
.areas__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.areas__list li > * { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 2px solid var(--line); font-weight: 600; text-decoration: none; color: var(--black); }
.areas__list li > a:hover { border-color: var(--black); }
.areas__list .areas__all { background: var(--black); border-color: var(--black); color: #fff; }
.related { background: var(--offwhite); padding: clamp(56px, 6vw, 88px) var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.rel { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--black); }
.rel img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; }
.rel__title { font: 700 1.5rem/1 var(--font-display); text-transform: uppercase; }
.rel__text { color: var(--ink-2); font-size: 1rem; }
.rel:hover .rel__title { color: var(--red-dark); }

/* ---- About page ---- */
.values { background: var(--offwhite); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.values__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.values__list li { border-top: 3px solid var(--black); padding-top: 20px; }
.values__list h3 { margin: 0 0 10px; font: 700 clamp(1.5rem, 2.2vw, 2rem)/1.02 var(--font-display); text-transform: uppercase; }
.values__list p { margin: 0; font-size: 1.0625rem; color: var(--ink-2); }
.follow { background: var(--white); padding: clamp(48px, 5vw, 72px) var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line-soft); }
.follow p { margin: 8px 0 0; color: var(--ink-2); }
.socials--labelled { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.socials--labelled a { width: auto; height: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 2px solid var(--black); color: var(--black); text-decoration: none; font-weight: 600; }
.socials--labelled a:hover { background: var(--black); color: #fff; }
.socials__title { margin: 0 0 10px; font: 600 .875rem var(--font-body); color: var(--ink-3); text-transform: none; }
.drawer .socials a, .site-footer .socials a { color: var(--offwhite); }

/* ---- Service Area hub ---- */
.area--hub { align-items: start; }
.towns-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.town { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: rgba(255,255,255,.86); border: 2px solid var(--black); text-decoration: none; color: var(--black); }
.town__name { font: 700 1.5rem/1 var(--font-display); text-transform: uppercase; }
.town__meta { font-size: .875rem; color: var(--ink-3); }
.town__go { margin-top: 6px; font-weight: 600; font-size: .9375rem; color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.town--link:hover { background: var(--black); color: #fff; }
.town--link:hover .town__meta, .town--link:hover .town__go { color: #fff; }
.area__map .m-main { font: 700 20px var(--font-display); fill: #111; }
.area__map .m-town { font: 500 12.5px var(--font-body); fill: #3A3A37; }
.area__map .m-base { font: 700 26px var(--font-display); fill: #111; }
.area__map .m-dist text { font: 13px var(--font-body); fill: #5C5C58; }
.counties { background: var(--white); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 36px; }
.counties__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.county h3 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--black); font: 700 1.375rem var(--font-display); text-transform: uppercase; }
.county ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.county li { padding: 5px 0; font-size: 1.0625rem; }
.county a { color: var(--red-dark); font-weight: 600; }
.counties__farther { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: var(--measure); font-size: 1.0625rem; line-height: 1.7; color: #3A3A37; }

/* ---- Location page ---- */
.loc-intro { background: var(--white); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 64px; align-items: start; }
.loc-checklist { border: 2px dashed var(--red); padding: 22px 24px; background: #FFF7F6; }
.loc-checklist__title { margin: 0 0 10px; font: 700 1.125rem var(--font-display); text-transform: uppercase; }
.loc-checklist ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; }
.loc-checklist__note { margin: 14px 0 0; font-size: .8125rem; color: var(--ink-3); }
.offered { background: var(--offwhite); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.offered__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--black); }
.offered__list a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--black); height: 100%; }
.offered__list span { font: 700 1.375rem/1.05 var(--font-display); text-transform: uppercase; }
.offered__list small { font-size: .9375rem; color: var(--ink-2); }
.offered__list a:hover span { color: var(--red-dark); }

/* ---- Contact ---- */
.contact { background: var(--offwhite); padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__details { display: flex; flex-direction: column; }
.contact__row { padding: 22px 0; border-top: 1px solid var(--line); }
.contact__row:first-child { border-top: 2px solid var(--black); }
.contact__row h2 { margin: 0 0 8px; font: 600 .875rem var(--font-body); color: var(--ink-3); }
.contact__row p { margin: 0; font-size: 1.0625rem; }
.contact__row a { font-weight: 600; }
.contact__phone { font: 700 clamp(2.25rem, 4vw, 3.25rem)/1 var(--font-display); text-decoration: none; }
.contact__quote { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; background: var(--black); color: #fff; text-decoration: none; }
.contact__quote span { color: var(--on-dark-2); font-size: .9375rem; }
.contact__quote b { font: 700 1.5rem var(--font-display); text-transform: uppercase; }
.contact__quote:hover { background: var(--red); color: #fff; }
.form__title { margin: 0 0 22px; font: 700 clamp(1.75rem, 3vw, 2.25rem)/1 var(--font-display); text-transform: uppercase; }
.contact .quote__form .form-body > .field { margin-top: 22px; }
.contact .quote__form .btn { margin-top: 26px; }

/* ---- Free Quote (focused) ---- */
.fq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 100svh; }
.fq__aside { background: var(--charcoal); color: var(--offwhite); padding: calc(var(--header-h) + 40px) var(--gutter) 64px; display: flex; flex-direction: column; gap: 20px; }
.fq__title { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.fq__intro { margin: 0; font-size: var(--fs-lead); color: #E4E2DC; max-width: 46ch; }
.fq__h { margin: 16px 0 0; font: 600 .9375rem var(--font-body); color: var(--gray); }
.fq__steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.fq__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.fq__n { width: 44px; height: 44px; border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; font: 700 1.25rem var(--font-display); color: #fff; }
.fq__steps h3 { margin: 0 0 2px; font: 700 1.25rem var(--font-display); text-transform: uppercase; }
.fq__steps p { margin: 0; color: var(--on-dark-2); }
.fq__call { margin: 12px 0 0; font-size: 1.125rem; }
.fq__call a { font: 700 1.75rem var(--font-display); color: #fff; text-decoration: none; margin-left: 6px; }
.fq__trust { margin: auto 0 0; padding: 18px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid #333; font-size: .9375rem; color: var(--on-dark-2); }
.fq__trust li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red); margin-right: 10px; }
.fq__form { background: var(--offwhite) url("../img/placeholders/topo-contours.png") center/cover; padding: calc(var(--header-h) + 40px) var(--gutter) 64px; display: flex; align-items: flex-start; }
.fq__form .quote__form { width: 100%; max-width: 760px; }

/* ---- Blog ---- */
.blog { background: var(--offwhite); padding: clamp(40px, 5vw, 64px) var(--gutter) var(--section-y); display: flex; flex-direction: column; gap: 36px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #CFCDC7; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; }
.post-card__meta { margin: 0; display: flex; gap: 14px; font-size: .875rem; color: var(--ink-3); }
.post-card__meta span { color: var(--red-dark); font-weight: 600; }
.post-card__title { margin: 0; font: 700 clamp(1.375rem, 1.9vw, 1.75rem)/1.08 var(--font-display); text-transform: uppercase; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { margin: 0; color: var(--ink-2); }
.post-card--big { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 2px solid var(--black); }
.post-card--big .post-card__title { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1; }
.post-card--big .post-card__excerpt { font-size: 1.1875rem; }
.pager { display: flex; gap: 10px; }
.pager > * { min-width: 48px; min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--line); font-weight: 600; text-decoration: none; }
.pager [aria-current] { background: var(--black); border-color: var(--black); color: #fff; }
.post__head { background: var(--charcoal); color: var(--offwhite); padding: calc(var(--header-h) + 40px) var(--gutter) 56px; display: flex; flex-direction: column; gap: 18px; }
.post__head > * { max-width: 980px; }
.post__meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: var(--gray); }
.post__meta a { color: #fff; font-weight: 600; }
.post__title { font-size: clamp(2.25rem, 4.8vw, 4.5rem); }
.post__lede { margin: 0; font-size: var(--fs-lead); color: #E4E2DC; max-width: 62ch; }
.post__hero { margin: 0; background: var(--white); padding: 40px var(--gutter) 0; }
.post__hero img { width: 100%; max-height: 72vh; object-fit: cover; }
.post__layout { background: var(--white); padding: 48px var(--gutter) var(--section-y); display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(32px, 6vw, 96px); justify-content: center; }
.post__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.post__toc p { margin: 0 0 10px; font-size: .875rem; font-weight: 600; color: var(--ink-3); }
.post__toc ol { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; }
.post__toc a { color: var(--black); text-decoration: none; }
.post__toc a:hover { color: var(--red-dark); text-decoration: underline; }
.post__service { background: var(--white); padding: 0 var(--gutter) var(--section-y); display: grid; grid-template-columns: 280px minmax(0, 560px); gap: 28px; align-items: center; justify-content: center; }
.post__service img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.post__service-kicker { margin: 0 0 6px; font-size: .875rem; font-weight: 600; color: var(--red-dark); }
.post__service h2 { margin: 0 0 8px; font: 700 1.875rem/1 var(--font-display); text-transform: uppercase; }
.post__service h2 a { text-decoration: none; }
.post__service p { margin: 0; color: var(--ink-2); }
.related-posts { background: var(--offwhite); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.page-body { background: var(--white); padding: var(--section-y) var(--gutter); }

/* ---- 404 ---- */
.nf { min-height: 100svh; background: var(--charcoal); color: var(--offwhite); padding: calc(var(--header-h) + 48px) var(--gutter) 80px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.nf__code { margin: 0; font: 700 clamp(5rem, 16vw, 13rem)/.85 var(--font-display); color: var(--red); }
.nf__title { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.nf > p { margin: 0; font-size: 1.125rem; color: var(--on-dark-2); }
.nf__search { display: flex; gap: 10px; max-width: 520px; }
.nf__search input { flex: 1; min-height: 52px; padding: 0 16px; border: 2px solid var(--gray); background: transparent; color: #fff; font: 1.0625rem var(--font-body); }
.nf__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.nf__links a { color: var(--on-dark-2); }
.nf__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (hover: hover) and (pointer: fine) {
  .svc:hover .svc__img img, .slider__card:hover img, .lib__card:hover img, .post-card:hover .post-card__img img { transform: scale(1.04); }
}
@media (max-width: 1180px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counties__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__layout { grid-template-columns: minmax(0, 68ch); }
  .post__toc { position: static; border: 1px solid var(--line); padding: 18px 20px; }
}
@media (max-width: 1000px) {
  .svc-content, .loc-intro { grid-template-columns: minmax(0, 1fr); }
  .svc-aside { position: static; }
  .blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .phero { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--header-h) + 28px); }
  .phero__media { order: 2; }
  .cta-band, .areas, .contact, .fq { grid-template-columns: minmax(0, 1fr); }
  .fq__form { padding-top: 40px; }
  .related__list, .values__list, .offered__list { grid-template-columns: minmax(0, 1fr); }
  .post-card--big { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .post__service { grid-template-columns: minmax(0, 1fr); }
  .slider__controls { display: none; }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .svc { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .svc__img { aspect-ratio: 1; }
  .svc__text { font-size: .9375rem; }
  .svc__more { display: none; }
  .slider__slide { flex-basis: 84vw; }
  .lib__grid { columns: 2; column-gap: 10px; }
  .lib__item { margin-bottom: 10px; }
  .lib__cap { opacity: 1; transform: none; font-size: .8125rem; padding: 28px 10px 8px; }
  .blog__grid, .counties__grid, .towns-grid { grid-template-columns: minmax(0, 1fr); }
  .county ul { columns: 2; }
  .phero__mark { display: none; }
  .phero__ctas .btn, .cta-band__btns .btn { flex: 1 1 100%; }
  .nf__search { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .lib__item.is-in { animation: none; }
}

/* =========================================================================
   COPY PASS: long-form sections for SEO copy (each is a Burton block)
   ========================================================================= */
.section-head--stack { flex-direction: column; align-items: flex-start; gap: 14px; }
.section-head--stack p { max-width: 60ch; }
.faq__head { display: flex; flex-direction: column; gap: 16px; }
.faq__intro { margin: 0; max-width: 34ch; font-size: 1.125rem; color: var(--ink-2); }
.lib__intro { margin: 0 0 8px; max-width: var(--measure); font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }

/* Intro band: the page's first real SEO paragraph */
.intro { padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 112px); align-items: start; }
.intro--white { background: var(--white); }
.intro--offwhite { background: var(--offwhite); }
.intro__head { position: relative; padding-top: 22px; }
.intro__head::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 4px; background: var(--red); }
.intro__body { max-width: var(--measure); display: flex; flex-direction: column; gap: var(--para-gap); }
.intro__body > p.intro__lead + p { margin-top: .4em; } /* the lead stands apart from the body below it */
.intro__lead { margin: 0; font: 500 clamp(1.3rem, 2vw, 1.65rem)/1.45 var(--font-body); color: var(--black); }
.intro__body > p:not(.intro__lead) { margin: 0; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.72; color: var(--ink-2); }
.intro__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 8px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.intro__links a { font-weight: 600; color: var(--black); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Editorial split: heading pinned left, long copy right */
.ed { padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 112px); }
.ed--white { background: var(--white); } .ed--offwhite { background: var(--offwhite); }
.ed__sticky { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 22px; }
.ed__kicker { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--red-dark); }
.ed__kicker::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.ed__body { padding-top: 6px; }

/* Photo + text rows */
.mrows { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.mrows--offwhite { background: var(--offwhite); } .mrows--white { background: var(--white); }
.mrows__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.mrow { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.mrow--flip .mrow__img { order: 2; }
.mrow__img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #CFCDC7; }
.mrow__img img { width: 100%; height: 100%; object-fit: cover; }
.mrow__text { max-width: 52ch; }
.mrow__text h3 { margin: 0 0 14px; font: 700 clamp(1.6rem, 2.6vw, 2.25rem)/1.02 var(--font-display); text-transform: uppercase; }
.mrow__text p { margin: 0; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.72; color: var(--ink-2); }

/* Cost factors */
.factors { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.factors--white { background: var(--white); } .factors--offwhite { background: var(--offwhite); }
.factors__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.factor { border-top: 2px solid var(--black); padding-top: 16px; }
.factor__n { display: block; font: 600 1rem var(--font-display); color: var(--red); margin-bottom: 8px; }
.factor h3 { margin: 0 0 8px; font: 700 clamp(1.3rem, 1.8vw, 1.6rem)/1.05 var(--font-display); text-transform: uppercase; }
.factor p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }

/* Comparison table section */
.compare { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.compare--offwhite { background: var(--offwhite); } .compare--white { background: var(--white); }
.compare .table-wrap { background: var(--white); border: 2px solid var(--black); }
.compare--white .table-wrap { background: var(--offwhite); }
.compare__foot { margin: 0; max-width: 70ch; font-size: .9375rem; color: var(--ink-3); }

/* Detailed steps (a real sequence) */
.dsteps { padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 112px); }
.dsteps--white { background: var(--white); } .dsteps--offwhite { background: var(--offwhite); }
.dsteps .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.dsteps__list { margin: 0; padding: 0; list-style: none; position: relative; }
.dsteps__list::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.dsteps__list li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding-bottom: 36px; }
.dsteps__list li:last-child { padding-bottom: 0; }
.dstep__n { position: relative; width: 48px; height: 48px; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 1.375rem var(--font-display); }
.dsteps__list h3 { margin: 8px 0 8px; font: 700 clamp(1.4rem, 2vw, 1.75rem)/1.05 var(--font-display); text-transform: uppercase; }
.dsteps__list p { margin: 0; max-width: 60ch; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.72; color: var(--ink-2); }

/* Text band (closing SEO paragraphs, category descriptions) */
.tband { padding: var(--section-y) var(--gutter); }
.tband--white { background: var(--white); } .tband--offwhite { background: var(--offwhite); }
.tband__inner h2 { margin-top: 0; }
.tband--center .tband__inner { margin-inline: auto; }

/* Media + long text (About story) */
.story { padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 112px); align-items: start; }
.story--white { background: var(--white); }
.story__media { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.story__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #CFCDC7; }
.story__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.story__media figcaption { margin-top: 12px; font-size: .875rem; color: var(--ink-3); }
.story__copy h2.display { margin: 0 0 .6em; font-size: var(--fs-h2-sm); line-height: .95; }

/* Service Area: one real paragraph per main area */
.tnotes { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.tnotes--white { background: var(--white); }
.tnotes__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.tnote { border-top: 2px solid var(--black); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.tnote h3 { margin: 0; font: 700 clamp(1.5rem, 2.2vw, 1.9rem)/1 var(--font-display); text-transform: uppercase; }
.tnote__meta { margin: 0; font-size: .875rem; color: var(--ink-3); }
.tnote p:not(.tnote__meta) { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }

/* Free quote extras, blog listing extras */
.fq__tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--on-dark-2); }
.fq__tips li::marker { color: var(--red); }
.blog__top { display: flex; flex-direction: column; gap: 18px; }
.blog__desc { margin: 0; max-width: 70ch; font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }
.post-card--big .text-link { align-self: flex-start; margin-top: 6px; }

/* Blog post */
.post__byline { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.post__byline img { width: 44px; height: 44px; background: #fff; border-radius: 50%; padding: 6px; }
.post__byline b { display: block; color: #fff; }
.post__byline span { font-size: .875rem; color: var(--gray); }
.post__layout { grid-template-columns: 240px minmax(0, 72ch); }
.post__main { display: flex; flex-direction: column; gap: 36px; }
.post__toc ol { counter-reset: toc; list-style: none; padding: 0; border-left: 2px solid var(--line); }
.post__toc li { padding-left: 14px; }
.post__toc-cta { margin-top: 28px; padding: 16px; background: var(--black); color: #fff; }
.post__toc-cta p { margin: 0 0 4px !important; color: var(--on-dark-2) !important; font-weight: 500 !important; }
.post__toc-cta a { font: 700 1.25rem var(--font-display); color: #fff; text-decoration: none; }
.takeaways { border: 2px solid var(--black); padding: 22px 26px; background: var(--offwhite); }
.takeaways__title { margin: 0 0 10px; font: 700 1.125rem var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.takeaways ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.takeaways li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; font-size: 1.0625rem; line-height: 1.5; }
.takeaways li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--red); }
.post-cta { margin: 2.2em 0; padding: 24px 28px; background: var(--black); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.post-cta p { margin: 0 !important; color: var(--on-dark-2) !important; font-size: 1rem !important; }
.post-cta .post-cta__title { font: 700 1.5rem/1.1 var(--font-display) !important; text-transform: uppercase; color: #fff !important; margin-bottom: 4px !important; }
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-top: 28px; border-top: 2px solid var(--black); }
.author img { width: 64px; height: 64px; border-radius: 50%; background: var(--black); padding: 10px; }
.author__name { margin: 0 0 4px; font: 700 1.125rem var(--font-display); text-transform: uppercase; }
.author p:not(.author__name) { margin: 0; color: var(--ink-2); }

/* Reference-only: copy slot overlay (toggle bottom-left). Not part of the theme. */
.slot-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 170; min-height: 40px; padding: 8px 14px; border: 2px solid var(--black); background: #FFEB3B; color: var(--black); font: 600 .8125rem var(--font-body); cursor: pointer; box-shadow: 4px 4px 0 var(--black); }
html.show-slots [data-slot] { outline: 2px dashed var(--red); outline-offset: 3px; position: relative; }
html.show-slots [data-slot]::before { content: attr(data-slot) "  " attr(data-slot-info); position: absolute; left: 0; top: -22px; z-index: 6; padding: 3px 7px; background: var(--red); color: #fff; font: 600 11px/1.3 var(--font-body); letter-spacing: 0; text-transform: none; white-space: nowrap; pointer-events: none; }

@media (max-width: 1000px) {
  .intro, .ed, .dsteps, .story { grid-template-columns: minmax(0, 1fr); }
  .ed__sticky, .dsteps .section-head, .story__media { position: static; }
  .factors__list, .tnotes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post__layout { grid-template-columns: minmax(0, 72ch); }
}
@media (max-width: 760px) {
  .mrow, .mrow--flip { grid-template-columns: minmax(0, 1fr); }
  .mrow--flip .mrow__img { order: 0; }
}
@media (max-width: 560px) {
  .factors__list, .tnotes__list { grid-template-columns: minmax(0, 1fr); }
  .callout { box-shadow: 5px 5px 0 var(--red); padding: 18px 20px; }
  .slot-toggle { bottom: 80px; }
  .post-cta .btn { width: 100%; }
}

/* Reference-only copy deck page */
.deck { background: var(--offwhite); padding: 48px var(--gutter) var(--section-y); display: flex; flex-direction: column; gap: 56px; }
.deck__page h2 { margin: 0 0 4px; font: 700 clamp(1.6rem, 2.6vw, 2.25rem) var(--font-display); text-transform: uppercase; }
.deck__meta { margin: 0 0 14px; color: var(--ink-3); font-size: .9375rem; }
.deck .table-wrap { background: var(--white); border: 2px solid var(--black); }
.deck table { font-size: .9375rem; min-width: 820px; }
.deck tbody th { font: 600 .875rem var(--font-body); text-transform: none; }
.deck code { background: #FFEB3B; padding: 2px 6px; font-size: .8125rem; }
.deck__draft { color: var(--ink-3); max-width: 46ch; }

/* Copy pass fixes */
.intro__head .display, .ed__sticky .display, .dsteps .section-head .display { font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: .98; }
.prose .btn, .prose .btn:hover { color: #fff; text-decoration: none; }
.post__hero img { width: 100%; height: auto; aspect-ratio: 21 / 9; max-height: none; object-fit: cover; }
.tnotes__list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---- Radar sweep on the service-area map: scroll-driven, no running loop ----
   main.js sets the beam's rotation from scroll position (one full turn as the map
   crosses the screen). Nothing animates when the page is still. */
.radar__sweep { transform-box: view-box; transform-origin: 360px 360px; transform: rotate(var(--radar-a, 0deg)); will-change: transform; }
.radar__pings .ping { fill: none; stroke: #E32636; stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.radar__pings .ping.is-ping { animation: bc-ping 900ms ease-out 1 both; }
@keyframes bc-ping { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
html:not(.js) .radar, .area__map:not(.sc-in) .radar { opacity: 0; }
.radar { transition: opacity 600ms ease-out 300ms; }
@media (prefers-reduced-motion: reduce) {
  .radar__pings { display: none; }
  .radar__sweep { transform: rotate(40deg); }
}

/* ---- Social bar (burton/social-bar): "Follow the work" tiles ---- */
.social-band { background: var(--offwhite); padding: clamp(52px, 5.5vw, 84px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 64px; border-top: 1px solid var(--line-soft); }
.social-band__title { margin: 0; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: .95; }
.social-band__copy p { margin: 12px 0 0; max-width: 38ch; font-size: 1.125rem; color: var(--ink-2); }
.socials--tiles { display: flex; flex-wrap: wrap; gap: 18px 22px; margin: 0; padding: 0 14px 14px 0; list-style: none; }
.socials--tiles a {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  width: auto; height: auto; min-width: 270px; padding: 20px 22px; background: var(--white); border: 2px solid var(--black); color: var(--black); text-decoration: none;
  box-shadow: 8px 8px 0 var(--black); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), color 220ms;
}
.socials--tiles a::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--red); transform: translate3d(0, 102%, 0); transition: transform 460ms cubic-bezier(.16, 1, .3, 1); }
.socials--tiles a:hover, .socials--tiles a:focus-visible { color: #fff; transform: translate3d(-3px, -3px, 0); box-shadow: 11px 11px 0 var(--black); }
.socials--tiles a:hover::before, .socials--tiles a:focus-visible::before { transform: none; }
/* Brand-coloured marks: Facebook's blue circle "f", Instagram's gradient square */
.social-tile__icon { display: grid; place-items: center; width: 50px; height: 50px; color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); transition: transform 320ms cubic-bezier(.16, 1, .3, 1); }
.social-tile__icon svg { width: 28px; height: 28px; }
.social-tile__icon--facebook { background: #1877F2; border-radius: 50%; overflow: hidden; }
.social-tile__icon--facebook svg { width: 30px; height: 30px; transform: translateY(2px); }
.social-tile__icon--instagram { border-radius: 14px; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social-tile__icon--google-business { border-radius: 50%; background: #fff; color: #4285F4; box-shadow: inset 0 0 0 1px var(--line); }
.socials--tiles a:hover .social-tile__icon, .socials--tiles a:focus-visible .social-tile__icon { transform: translate3d(0, -2px, 0) rotate(-8deg) scale(1.08); }
.social-tile__name { display: block; font: 700 1.3rem/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.social-tile__handle { display: block; margin-top: 5px; font-size: .9375rem; color: var(--ink-3); transition: color 220ms; }
.socials--tiles a:hover .social-tile__handle, .socials--tiles a:focus-visible .social-tile__handle { color: rgba(255, 255, 255, .88); }
.social-tile__arrow { transition: transform 320ms cubic-bezier(.16, 1, .3, 1); }
.socials--tiles a:hover .social-tile__arrow { transform: translate3d(3px, -3px, 0); }
@media (max-width: 900px) {
  .social-band { grid-template-columns: 1fr; }
  .socials--tiles li { flex: 1 1 100%; }
  .socials--tiles a { min-width: 0; }
}

/* ---- Optional photo upload in quote forms ---- */
.upload { margin-top: 26px; }
.upload__label { margin: 0 0 8px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.upload__label span { font-weight: 400; color: var(--ink-3); }
.upload__drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; border: 2px dashed var(--line); background: var(--offwhite); text-align: center; cursor: pointer; transition: border-color 200ms, background-color 200ms; }
.upload__drop svg { color: var(--ink-3); }
.upload__drop:hover, .upload.is-over .upload__drop { border-color: var(--black); background: #fff; }
.upload__cta { font-size: 1rem; color: var(--black); }
.upload__cta b { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.upload__hint { font-size: .8125rem; color: var(--ink-3); }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload__input:focus-visible + .upload__list, .upload:focus-within .upload__drop { outline: 3px solid var(--red); outline-offset: 3px; }
.upload__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.upload__list:empty { display: none; }
.upload__list li { position: relative; width: 84px; }
.upload__list img { width: 84px; height: 84px; object-fit: cover; background: #CFCDC7; display: block; }
.upload__list span { display: block; margin-top: 4px; font-size: .75rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload__list button { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--black); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.upload__list button:hover { background: var(--red); }
.upload__error { margin: 8px 0 0; font-size: .875rem; font-weight: 500; color: var(--red-dark); }
.upload__error:empty { display: none; }

/* WordPress theme additions */
.form-error { margin: 0; color: var(--red-dark); font-weight: 600; }
.wp-site-blocks > * + *, .wp-block-post-content > * + * { margin-block-start: 0; }

/* =========================================================================
   HOMEPAGE HERO, "jobsite" film (inc/hero-jobsite.php, burton.js heroReel).
   The B lands, then the film fades in, plays once and holds on the finished site.
   Static path (no JS / reduced motion / no film): the finished site + ticket.
   ========================================================================= */
.hero__film--reel .hero__reel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.hero--reel .hero__reel { display: block; }
.hero--reel.is-fallback .hero__reel { display: none; }
.hero--reel .hero__film { transition: opacity 900ms ease; }
.hero--reel.is-playing .hero__film { opacity: 1; }
.hero--reel.is-playing { --hero-scrim: 1; }
.hero--reel .hero__scrim { transition: opacity 900ms ease; }
.hero--reel .hero__badge, .hero--reel .hero__marks { transition: opacity 700ms ease; }
.hero--reel.is-playing .hero__badge, .hero--reel.is-playing .hero__marks { opacity: 0; }
.hero--reel .ticket-wrap { transition: opacity 700ms var(--sc-ease-out), transform 700ms var(--sc-ease-out); }

/* Where the job is up to (follows the film) */
.hero__steps { display: none; }
.hero--reel .hero__steps {
  display: flex; flex-direction: column; gap: 8px; position: absolute; z-index: 5; right: var(--gutter); bottom: 112px;
  margin: 0; padding: 0; list-style: none; text-align: right; opacity: 0; transition: opacity 600ms ease;
  font: 600 .875rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 242, 238, .45);
}
.hero--reel.is-playing:not(.is-ended) .hero__steps { opacity: 1; }
.hero__steps li { transition: color 300ms, transform 300ms var(--sc-ease-out); }
.hero__steps li.is-on { color: #fff; transform: translateX(-6px); }
.hero__steps li.is-on::after { content: ""; display: inline-block; width: 18px; height: 3px; margin-left: 10px; vertical-align: middle; background: var(--red); }

/* Pause / play / replay */
.hero__playctl {
  position: absolute; z-index: 6; top: calc(var(--header-h) + 20px); right: var(--gutter); width: 44px; height: 44px;
  display: grid; place-items: center; padding: 0; cursor: pointer; color: #fff;
  background: rgba(17, 17, 17, .45); border: 1px solid rgba(243, 242, 238, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 200ms, border-color 200ms;
}
.hero__playctl[hidden] { display: none; }
.hero__playctl:hover { background: var(--red); border-color: var(--red); }
.hero__playctl svg { display: none; width: 18px; height: 18px; fill: currentColor; }
.hero__playctl[data-state="playing"] .i-pause, .hero__playctl[data-state="paused"] .i-play, .hero__playctl[data-state="ended"] .i-replay { display: block; }

@media (max-width: 900px) {
  .hero--reel .hero__steps { display: none; }
  .hero__film--reel .hero__reel, .hero__film--reel .hero__end { object-position: 62% 50%; }
}

/* The big scroll hero on an inner page (Driveways): the page title is longer than the slogan */
.hero--page .hero__slogan { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
.hero--page .hero__slogan .line:first-child { white-space: normal; }
.hero--page .crumbs { margin-bottom: 18px; }

/* No hairline under the menu while it floats over a hero */
.site-header:not(.is-solid) { border-bottom-color: transparent; }

/* =========================================================================
   BUSINESS PARTNERS logo strip (inc/partners.php)
   ========================================================================= */
.partners { background: var(--white); padding: clamp(44px, 5vw, 72px) 0; display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 34px); overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.partners--offwhite { background: var(--offwhite); }
.partners__title { margin: 0; padding-inline: var(--gutter); text-align: center; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; }
.partners__rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.partners__track { display: flex; width: max-content; animation: partners-drift 42s linear infinite; }
.partners__rail:hover .partners__track, .partners__rail:focus-within .partners__track { animation-play-state: paused; }
@keyframes partners-drift { to { transform: translate3d(-50%, 0, 0); } }
.partners__list { --g: clamp(44px, 5.5vw, 88px); display: flex; align-items: center; gap: var(--g); padding: 0 var(--g) 0 0; margin: 0; list-style: none; }
.partners__rail--static { -webkit-mask-image: none; mask-image: none; }
.partners__rail--static .partners__list { justify-content: center; flex-wrap: wrap; padding: 0 var(--gutter); row-gap: 28px; }
.partner { flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: clamp(52px, 5vw, 70px); }
.partner a { display: flex; height: 100%; align-items: center; }
.partner img { height: 100%; width: auto; max-width: 190px; object-fit: contain; transition: transform 300ms var(--ease); }
.partner:hover img, .partner a:focus-visible img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; width: auto; }
  .partners__track .partners__list[aria-hidden] { display: none; }
  .partners__track .partners__list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 28px; }
  .partners__rail { -webkit-mask-image: none; mask-image: none; }
}
