/* =========================================================================
   KEY BOLLARDS - styles.css
   Order: fonts → tokens → base → type → layout → components → reveal → motion
   ========================================================================= */

/* ---- Fonts (self-hosted, latin subset) --------------------------------- */
@font-face {
  font-family: "Barlow";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* Core */
  --ink:        #14161A;
  --ink-2:      #1E2126;
  --ink-3:      #2A2E34;
  --paper:      #F5F5F2;
  --paper-2:    #EBEAE5;
  --line:       #DDDCD5;

  /* Brand */
  --yellow:     #FFB800;
  --yellow-hot: #E5A500;
  --yellow-dim: rgba(255,184,0,.12);

  /* Text */
  --text-dark:  #14161A;
  --text-mute:  #5C6167;
  --text-light: #F5F5F2;
  --text-dim:   #9AA0A6;

  /* Feedback */
  --ok:  #2E7D46;
  --err: #C0392B;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out:    cubic-bezier(.2, .7, .2, 1);
  --ease-settle: cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --maxw: 1200px;
  --pad:  20px;
  --radius: 4px;

  /* Elevation (used sparingly; the resting state stays industrial-flat) */
  --shadow-sm: 0 1px 2px rgba(20,22,26,.05);
  --shadow-md: 0 14px 34px -14px rgba(20,22,26,.28);
}
@media (min-width: 1024px) { :root { --pad: 32px; } }

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--yellow); color: var(--ink);
  padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; font-weight: 700; text-wrap: balance; }
.h1, h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.01;
  text-transform: uppercase; letter-spacing: -.022em;
}
.h2, h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.018em; }
.h3, h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.15; letter-spacing: -.008em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--text-mute);
  display: inline-block;
}
.lede { font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.6; }
.small { font-size: .875rem; }
.muted { color: var(--text-mute); }
strong { font-weight: 600; }

/* Section heading rule (draws in on reveal) */
.rule {
  height: 3px; width: 56px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 900ms var(--ease-settle);
  margin-bottom: 16px;
}
.reveal.is-visible .rule, .rule.is-visible { transform: scaleX(1); }

/* ---- Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(56px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

/* Colour bands */
.band-ink   { background: var(--ink);   color: var(--text-light); }
.band-ink .eyebrow { color: var(--yellow); }
.band-ink .muted   { color: var(--text-dim); }
.band-paper { background: var(--paper);  color: var(--text-dark); }
.band-paper-2 { background: var(--paper-2); color: var(--text-dark); }

.grid { display: grid; gap: 24px; }
@media (min-width: 641px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.stack > * + * { margin-top: 1rem; }
.section-head { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
/* Section-head cadence: rule → eyebrow → heading on a deliberate spatial scale */
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2, .section-head .h2 { margin-top: 0; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-weight: 600; font-size: 1rem;
  border-radius: 2px; border: 1px solid transparent;
  transition: transform .15s var(--ease-out), background-color .15s var(--ease-out), border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
  text-align: center;
}
.btn-primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-hot); border-color: var(--yellow-hot); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(20,22,26,.5); }
.btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.band-ink .btn-ghost { border-color: var(--ink-3); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Cards ------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.band-ink .card { background: var(--ink-2); border-color: var(--ink-3); box-shadow: none; }
.card-body { padding: 22px 22px 26px; }

/* Icon chip */
.chip {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 6px;
  background: var(--yellow-dim);
  color: var(--yellow);
  flex: none;
}
.chip svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.75; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.trust li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.trust svg { width: 22px; height: 22px; stroke: var(--yellow); fill: none; stroke-width: 1.75; }

/* Media (with pending state) */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-pending {
  display: grid; place-items: center;
  background: var(--ink-2); color: var(--ink-3);
}
.media-pending svg { width: 30%; max-width: 90px; opacity: .5; stroke: currentColor; fill: none; stroke-width: 1.5; }
.ratio-4-5  { aspect-ratio: 4 / 5; }
.ratio-3-4  { aspect-ratio: 3 / 4; }
.ratio-3-2  { aspect-ratio: 3 / 2; }
.ratio-16-10{ aspect-ratio: 16 / 10; }

/* ---- Reveal engine (IO-driven; no-JS = final state) -------------------- */
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal-d1 { transition-delay: 60ms; }
.reveal-d2 { transition-delay: 120ms; }
.reveal-d3 { transition-delay: 180ms; }
.reveal-d4 { transition-delay: 240ms; }
.reveal-d5 { transition-delay: 300ms; }
.reveal-d6 { transition-delay: 360ms; }

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rule { transition: none; transform: scaleX(1); }
  .btn:hover, .sector-card:hover { transform: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---- Utilities --------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-yellow { color: var(--yellow); }
.nowrap { white-space: nowrap; }

/* =========================================================================
   SITE CHROME + HOME SECTIONS
   ========================================================================= */

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); color: var(--text-light);
  border-bottom: 1px solid var(--ink-3);
}
.nav { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .b-key { color: var(--yellow); }
.nav-links { display: none; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { position: relative; font-weight: 500; color: var(--text-dim); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-light); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--yellow);
}
.nav-actions { display: none; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; stroke: var(--yellow); fill: none; stroke-width: 2; }

.nav-toggle {
  margin-left: auto; display: inline-grid; place-items: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--ink-3); border-radius: 3px;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--text-light); fill: none; stroke-width: 2; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

.nav-menu {
  position: fixed; inset: 68px 0 0; z-index: 99;
  background: var(--ink);
  display: flex; flex-direction: column;
  padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .28s var(--ease-out);
  overflow-y: auto;
}
.nav-menu.is-open { transform: none; }
.nav-menu a.m-link { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--ink-3); }
.nav-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
body.nav-locked { overflow: hidden; }

@media (min-width: 1024px) {
  .nav-toggle, .nav-menu { display: none; }
  .nav-links, .nav-actions { display: flex; }
}

/* ---- Hero (product video, subject weighted to the side) ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--text-light);
  min-height: clamp(560px, calc(100svh - 68px), 900px);
  display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; filter: brightness(.84) contrast(1.05) saturate(1.03); }
/* Mobile: full-bleed video, dark enough for legible left-anchored copy */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,26,.5) 0%, rgba(20,22,26,.72) 55%, var(--ink) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(52px, 9vh, 104px); }
.hero-copy { max-width: 40rem; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { margin-bottom: 18px; }
.hero .hero-sub { color: var(--text-light); opacity: .9; font-size: 1rem; line-height: 1.55; max-width: 30rem; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 28px; }
.hero .trust svg { stroke: var(--yellow); }
.hero-scroll { position: absolute; z-index: 2; left: var(--pad); bottom: 22px; display: none; flex-direction: column; align-items: center; gap: 12px; }
.hero-scroll span { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-dim); writing-mode: vertical-rl; }
.hero-scrollline { width: 1px; height: 60px; background: var(--ink-3); position: relative; overflow: hidden; }
.hero-scrollline::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: translateY(-100%); }
@media (min-width: 1024px) {
  /* Desktop: video inset to the right so it reads off-centre and fades in from the side */
  .hero-media { left: auto; right: 0; width: 62%; }
  /* Moody grade + a gradient that stays dark all the way across, so the driveway's
     concrete control joints never read as a hard line. Kept uniform (no positioned
     vignette) so it holds wherever a joint sits. Paired with the zoom being removed
     below: a static seam reads as "just a driveway", a drifting one reads as a glitch. */
  .hero-video { object-position: center; filter: brightness(.5) contrast(1.08) saturate(.9); }
  .hero-media::after {
    background: linear-gradient(90deg, var(--ink) 0%, rgba(20,22,26,.92) 30%, rgba(20,22,26,.6) 70%, rgba(20,22,26,.5) 100%);
  }
  .hero .hero-sub { font-size: 1.0625rem; }
  .hero-scroll { display: flex; }
}

/* ---- Stats band -------------------------------------------------------- */
.stats { border-top: 1px solid var(--ink-3); background: var(--ink); color: var(--text-light); }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--ink-3); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat { background: var(--ink); padding: 26px var(--pad); text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,2.75rem); color: var(--yellow); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.stat .l { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-top: 10px; }

/* ---- Sector cards ------------------------------------------------------ */
.sector-card { transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), border-color .18s var(--ease-out); }
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #CFCEC6; }
.sector-card:hover .card-link svg { transform: translateX(3px); }
.sector-card .card-body { display: flex; flex-direction: column; }
.sector-card h3 { margin-bottom: 12px; }
.sector-card ul { display: grid; gap: 8px; margin-bottom: 18px; }
.sector-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-mute); }
.sector-card li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; stroke: var(--yellow); fill: none; stroke-width: 2; }
.card-link { margin-top: auto; font-weight: 600; color: var(--text-dark); display: inline-flex; align-items: center; gap: 8px; }
.card-link svg { width: 18px; height: 18px; stroke: var(--yellow); fill: none; stroke-width: 2; transition: transform .15s; }
.card-link:hover svg { transform: translateX(3px); }

/* ---- Before / after slider -------------------------------------------- */
.ba-wrap { max-width: 820px; margin-inline: auto; }
.ba { position: relative; --ba-pos: 50%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); touch-action: pan-y; }
.ba .ba-after, .ba .ba-before { position: absolute; inset: 0; display: block; }
.ba img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba .ba-after { z-index: 1; }
.ba .ba-before { z-index: 2; }  /* clipped from the right */
.ba-tag { position: absolute; bottom: 12px; z-index: 3; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .05em; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }
.ba-tag.is-before { left: 14px; } .ba-tag.is-after { right: 14px; }
.ba-seam { position: absolute; top: 0; bottom: 0; z-index: 4; left: var(--ba-pos); width: 3px; margin-left: -1.5px; background: var(--yellow); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--ba-pos); z-index: 5; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); border: 2px solid rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.4); pointer-events: none; }
.ba-handle svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2.25; }
.ba-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
html.no-js .ba-range, html.no-js .ba-seam, html.no-js .ba-handle { display: none; }
html.no-js .ba { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: auto; }
html.no-js .ba .ba-after, html.no-js .ba .ba-before { position: relative; inset: auto; clip-path: none !important; }

/* ---- Feature blocks (why-us) ------------------------------------------ */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--text-dim); }
.why-media { margin-top: 28px; }
@media (min-width: 1024px) {
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .why-media { margin-top: 0; }
  .why-feats { display: grid; gap: 30px; }
}

/* ---- How it works ------------------------------------------------------ */
.steps { display: grid; gap: 30px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3,1fr); } }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--yellow); margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-mute); }
@media (min-width: 1024px) {
  .how-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
}

/* ---- Service-area chips ------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-chip { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .9375rem; transition: border-color .15s, color .15s; }
.area-chip:hover { border-color: var(--yellow); color: var(--yellow-hot); }

/* ---- Closing CTA ------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--text-light); text-align: center; }
.cta-band .container { position: relative; z-index: 2; }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) contrast(1.05) grayscale(.2); }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,.82), rgba(20,22,26,.7) 50%, rgba(20,22,26,.86)); }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }
.cta-band p { color: var(--text-light); opacity: .9; max-width: 44rem; margin-inline: auto; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--text-dim); border-top: 1px solid var(--ink-3); }
.footer-grid { display: grid; gap: 34px; padding-block: clamp(44px,6vw,72px); }
@media (min-width: 641px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-col h4 { font-family: var(--font-body); font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-light); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a:hover { color: var(--text-light); }
.footer-brand .brand { color: var(--text-light); margin-bottom: 14px; }
.footer-brand p { max-width: 30ch; }
/* Client's slogan, set as a tagline rather than more body copy. Carried in the
   hero, the closing CTA band and the footer, so the shared look lives in .slogan. */
.slogan { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
.slogan .b-key { color: var(--yellow); }
.footer-slogan {
  margin-top: 14px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; letter-spacing: .02em; color: var(--text-light);
}
.footer-slogan .b-key { color: var(--yellow); }
.hero-slogan { margin-top: 22px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-light); }
.footer-contact a { display: block; color: var(--text-light); font-weight: 500; }
.footer-contact .small { color: var(--text-dim); font-weight: 400; margin-top: 4px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--text-dim); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bar { border-top: 1px solid var(--ink-3); padding-block: 20px; font-size: .8125rem; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* ---- Breadcrumbs ------------------------------------------------------- */
.crumbs { font-size: .875rem; color: var(--text-dim); padding-top: 22px; }
.crumbs a:hover { color: var(--text-light); }
.crumbs [aria-current] { color: var(--text-dim); }

/* ---- Keyed system (product video) -------------------------------------- */
.keyed-system .ks-grid { display: grid; gap: 30px; }
@media (min-width: 900px) {
  /* Media column is the narrower one: the install footage is shot vertical (9:16). */
  .keyed-system .ks-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
}
.ks-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border: 1px solid var(--ink-3); border-radius: var(--radius);
  background: #000;
}
.ks-media img, .ks-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-callouts { display: grid; gap: 22px; }
.ks-callout { display: flex; gap: 16px; align-items: flex-start; }
.ks-index {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--yellow);
  flex: none; min-width: 2ch; font-variant-numeric: tabular-nums;
}
.ks-callout h3 { margin-bottom: 5px; }
.ks-callout p { color: var(--text-dim); }

/* ---- Sticky mobile action bar (retired: removed on all viewports) ------- */
.sticky-bar {
  display: none !important;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: var(--ink); border-top: 1px solid var(--ink-3);
}
.sticky-bar .btn { min-height: 46px; }

/* ---- Hero visual: static resting state (Phase 4 animates) -------------- */
.kb-draw { stroke: var(--text-light); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.kb-draw-accent { stroke: var(--yellow); }
.kb-fill-accent { fill: var(--yellow); }
.kb-watermark { position: absolute; pointer-events: none; opacity: .5; }

/* =========================================================================
   INNER PAGES (sector, about, faq, service-areas, contact)
   ========================================================================= */

/* ---- Compact page hero ------------------------------------------------- */
.page-hero { background: var(--ink); color: var(--text-light); overflow: hidden; position: relative; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { display: grid; gap: 26px; padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); align-items: center; }
.page-hero h1 { margin: 14px 0 18px; }
.page-hero .lede { color: var(--text-dim); max-width: 40rem; }
.page-hero .btn-row { margin-top: 28px; }
/* Shown on mobile too. Full-width but capped so the portrait clip doesn't
   overwhelm the compact hero on a phone; on desktop it sits in the side column. */
.page-hero-media video {
  width: 100%; height: auto; max-height: 62vh; aspect-ratio: 4 / 5; object-fit: cover;
  display: block; border-radius: var(--radius); border: 1px solid var(--ink-3);
}
@media (min-width: 900px) {
  .page-hero-inner { grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .page-hero-media video { max-height: none; }
}

/* ---- Prose / body sections -------------------------------------------- */
.prose { max-width: 62ch; }
.prose h2 { margin-bottom: 14px; }
.prose h2:not(:first-child) { margin-top: 8px; }
.prose p { margin-bottom: 1rem; color: var(--text-mute); }
.prose p:last-child { margin-bottom: 0; }
.band-ink .prose p { color: var(--text-dim); }

.split { display: grid; gap: 32px; align-items: center; }
.split .media { align-self: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split.split-media-left > .media { order: -1; }
}

/* ---- Checklist (two-col) ---------------------------------------------- */
.checklist { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 560px) { .checklist { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--yellow); fill: none; stroke-width: 2; }

/* ---- FAQ accordion (native details) ----------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.band-ink .faq details { border-color: var(--ink-3); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow);
  transform: rotate(45deg); transition: transform .2s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-a { padding: 0 4px 22px; color: var(--text-mute); max-width: 68ch; }
.band-ink .faq .faq-a { color: var(--text-dim); }

/* ---- Mini-FAQ within sector pages ------------------------------------- */
.mini-faq { max-width: 760px; }

/* =========================================================================
   FORMS (contact page)
   ========================================================================= */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr .7fr; gap: 56px; } }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 7px; }
.field .req { color: var(--yellow-hot); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px;
  background: #fff; color: var(--text-dark);
  border: 1px solid var(--line); border-radius: 3px;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--yellow); outline: 2px solid var(--yellow-dim); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.4em; margin-top: 4px; font-size: .9375rem; font-weight: 500; }
.form-status.is-error { color: var(--err); }

.form-success {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success a { color: var(--yellow-hot); font-weight: 600; }

/* Contact info card */
.contact-card { background: var(--ink); color: var(--text-light); border-radius: var(--radius); padding: 30px 28px; }
.contact-card h3 { margin-bottom: 20px; }
.contact-card dl { display: grid; gap: 18px; }
.contact-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 3px; }
.contact-card dd { font-weight: 500; }
.contact-card dd a { color: var(--text-light); }
.contact-card dd a:hover { color: var(--yellow); }
.contact-card .cc-social { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); }
.contact-card .cc-social svg { width: 20px; height: 20px; }

/* =========================================================================
   ANIMATIONS (Phase 4) - all gated behind html.js; reduced-motion resets
   ========================================================================= */

/* ---- Hero bollard line-draw ------------------------------------------- */
html.js .hero-draw .kb-draw {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: kb-draw-on var(--t, 900ms) var(--ease-settle) var(--d, 0ms) forwards;
}
@keyframes kb-draw-on { to { stroke-dashoffset: 0; } }
html.js .hero-draw .kb-fade {
  opacity: 0;
  animation: kb-fade-in 500ms var(--ease-out) var(--d, 0ms) forwards;
}
@keyframes kb-fade-in { to { opacity: .18; } }

/* ---- Hero video: entrance, line trace, ken-burns, scroll cue ---------- */
@keyframes kb-hero-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.js .hero-copy .eyebrow  { animation: kb-hero-up .8s var(--ease-out) .12s both; }
html.js .hero-copy h1        { animation: kb-hero-up .9s var(--ease-out) .26s both; }
html.js .hero-copy .hero-sub { animation: kb-hero-up .9s var(--ease-out) .44s both; }
html.js .hero-copy .btn-row  { animation: kb-hero-up .9s var(--ease-out) .58s both; }
html.js .hero-copy .trust    { animation: kb-hero-up .9s var(--ease-out) .70s both; }

@keyframes kb-scrollhint { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }
html.js .hero-scrollline::after { animation: kb-scrollhint 2.2s cubic-bezier(.6,0,.4,1) infinite; }

/* ---- Watermark K tracer (home why-us + about hero) -------------------- */
.kb-watermark { overflow: visible; }
.kb-watermark svg path { stroke-linecap: butt; stroke-linejoin: miter; }
.kb-tracer { fill: none; stroke: var(--yellow); stroke-width: 1.6; opacity: 0; stroke-linecap: butt; stroke-linejoin: miter; }
html.js .kb-tracer { opacity: .9; stroke-dasharray: .14 .86; }
@keyframes kb-run { to { stroke-dashoffset: -1; } }
html.js .kb-trace-1 { animation: kb-run 8s linear infinite; }
html.js .kb-trace-2 { animation: kb-run 11s linear infinite; }
@keyframes kb-float { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
html.js .kb-watermark svg { animation: kb-float 9s ease-in-out infinite alternate; }

#why-us { position: relative; overflow: hidden; }
.why-grid { position: relative; z-index: 1; }

/* ---- Reduced motion: freeze at resting state -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.js .hero-draw .kb-draw { animation: none; stroke-dashoffset: 0; }
  html.js .hero-draw .kb-fade { animation: none; opacity: .18; }
  html.js .kb-tracer { animation: none; opacity: 0; }
  html.js .kb-watermark svg { animation: none; transform: none; }
  html.js .hero-copy .eyebrow, html.js .hero-copy h1, html.js .hero-copy .hero-sub,
  html.js .hero-copy .btn-row, html.js .hero-copy .trust { animation: none; opacity: 1; transform: none; }
  html.js .hero-video { animation: none; }
  html.js .hero-scrollline::after { animation: none; }
}

/* ---- Stepped quote form ------------------------------------------------ */
/* No-JS: every step is visible and it reads as one plain form.
   JS adds [data-enhanced] and turns it into a Meta-style lead flow. */

.qf-progress { margin-bottom: 26px; }
.qf-bar { height: 4px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.qf-bar i { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 999px;
  transition: width .45s var(--ease-settle); }
.qf-count { display: block; margin-top: 9px; font-size: .8125rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }

.qf-q { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); line-height: 1.15; margin-bottom: 8px; }
.qf-hint { color: var(--text-mute); font-size: .9375rem; margin-bottom: 22px; }

[data-enhanced] .qf-step { display: none; }
[data-enhanced] .qf-step.is-active { display: block; animation: qfIn .35s var(--ease-out) both; }
@keyframes qfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* The photos drift in from the right, one after another. */
[data-enhanced] .qf-step.is-active .opt-img {
  animation: optImgIn .7s var(--ease-settle) both;
}
[data-enhanced] .qf-step.is-active .opt:nth-child(1) .opt-img { animation-delay: .10s; }
[data-enhanced] .qf-step.is-active .opt:nth-child(2) .opt-img { animation-delay: .19s; }
[data-enhanced] .qf-step.is-active .opt:nth-child(3) .opt-img { animation-delay: .28s; }
[data-enhanced] .qf-step.is-active .opt:nth-child(4) .opt-img { animation-delay: .37s; }
@keyframes optImgIn {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: none; }
}

/* Big tappable choice cards */
.opt-grid { display: grid; gap: 12px; margin-bottom: 4px; }
@media (min-width: 560px) { .opt-grid { grid-template-columns: 1fr 1fr; } }
.opt-grid-sm { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opt-grid-sm { grid-template-columns: 1fr 1fr; } }

.opt {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 14px; row-gap: 2px; padding: 16px 18px; min-height: 84px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out),
              transform .18s var(--ease-out);
}
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt svg { grid-row: 1 / span 2; width: 26px; height: 26px; stroke: var(--text-mute);
  fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .18s var(--ease-out); }
.opt-t { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.opt-d { font-size: .8125rem; color: var(--text-mute); line-height: 1.3; }
.opt:hover { border-color: var(--yellow); transform: translateY(-1px); }

/* Photo bleeding in from the right edge, dissolved into the card so the
   copy stays readable over it. Decorative: alt="" and aria-hidden. */
.opt { overflow: hidden; }
.opt-t, .opt-d { position: relative; z-index: 1; }
.opt-img { position: absolute; top: 0; right: 0; bottom: 0; width: 46%;
  pointer-events: none; z-index: 0; }
.opt-img picture, .opt-img img { display: block; width: 100%; height: 100%; }
.opt-img img {
  object-fit: cover; opacity: .85; transition: opacity .25s var(--ease-out);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 70%);
          mask-image: linear-gradient(to right, transparent 0%, #000 70%);
}
.opt:hover .opt-img img,
.opt:has(input:checked) .opt-img img { opacity: 1; }
/* Reserve the right of the card for the photo so text never sits on it. */
.opt:has(.opt-img) { padding-right: 34%; }
.opt:has(input:checked) { border-color: var(--yellow); background: var(--yellow-dim); }
.opt:has(input:checked) svg { stroke: var(--yellow-hot); }
.opt:has(input:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 2px; }
/* Compact variant with no description line */
.opt-grid-sm .opt { min-height: 56px; grid-template-columns: 1fr; }

.qf-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.qf-nav .qf-back { flex: 0 0 auto; }
.qf-nav .qf-next { flex: 1 1 auto; justify-content: center; }
[data-enhanced] .qf-nav .btn-block { width: auto; flex: 1 1 auto; }
[data-quote-form] [hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-enhanced] .qf-step.is-active { animation: none; }
  [data-enhanced] .qf-step.is-active .opt-img { animation: none; }
  .qf-bar i { transition: none; }
  .opt:hover { transform: none; }
}
