/* ==========================================================================
   KalCon Environmental & Materials
   Every colour here is sampled from the client's logo. Every ratio is
   measured in _dev/contrast-report.txt (28 pairs, 0 below floor). That
   arithmetic is a design-time aid; the evidence is axe-core over the
   rendered deployed pages.
   ========================================================================== */

/* --- Fonts: self-hosted, never a runtime CDN ---------------------------- */

@font-face {
  font-family: 'Barlow';
  src: url('/assets/fonts/barlow-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/assets/fonts/barlow-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/assets/fonts/barlow-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/assets/fonts/barlow-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/barlow-condensed-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* Metric-matched fallbacks. The swap must move NOTHING: a 72px headline
   swapping mid-load is the single most likely thing to break CLS 0, and it
   breaks it worse at every size the scale adds (Stage 4 item 15). */
@font-face {
  font-family: 'Barlow Fallback';
  src: local('Helvetica Neue'), local('Arial');
  size-adjust: 97.5%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial Narrow'), local('Helvetica Neue'), local('Arial');
  size-adjust: 86%; ascent-override: 104%; descent-override: 27%; line-gap-override: 0%;
}

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Ground: the logo's own black field, lifted one step so photographs do
     not disappear into it. */
  --ground:        #0C0C0D;
  --ground-raised: #17171A;
  --rule-faint:    #2E2E33;   /* decorative divider on dark, NOT a UI boundary */
  --field-line:    #6B6B71;   /* input borders on dark: 3.38 on raised, 3.69 on ground */

  /* Amber: sampled off the ring, the K diagonal and CON. */
  --amber:        #F9B208;
  --amber-bright: #FDCC12;    /* hover only */
  --amber-deep:   #785300;    /* the ONLY amber-family colour allowed as text on light */

  /* Concrete: the textured white of KAL and the subline. */
  --concrete-50:  #F5F4F2;
  --concrete-100: #E8E6E3;
  --concrete-200: #DDDBD9;
  --concrete-400: #B2AFAB;
  --concrete-500: #8C8984;
  --concrete-600: #636059;
  --steel-700:    #4A4A4E;
  --ink:          #131315;

  /* Layout. Nothing is full-bleed body content. */
  --container: 1180px;
  /* The centring inset: how far the container's edge sits from the viewport
     edge once the width is capped. Absolute, so it can be used in margins
     and paddings on grid items, where a percentage would resolve against
     the grid AREA and give every column a different answer. */
  --bleed: max(0px, calc((100vw - 1180px) / 2));
  --gutter: clamp(16px, 4vw, 28px);
  /* A RHYTHM SCALE, not one number. Measured at 1440 on production, every
     dark band got the same 104px above and below whatever it held, and what
     they hold varies by five times: the About process spine carries 1010px
     of ink, the closing band carries 204px. The same air around both means
     the long one reads tight and the short one reads as a black field, which
     is the review's phrase for it. Three steps, chosen by what a band holds:
       s  a single row: a closing band, a strip band
       m  the default: a head and a grid
       l  long-form: a spine, a timeline, a long list
     checks_band_rhythm enforces the relationship rather than the numbers:
     no band may be less than 55% content at 1440. */
  --section-pad-s: clamp(40px, 6vw, 68px);
  --section-pad:   clamp(56px, 9vw, 104px);
  --section-pad-l: clamp(68px, 11vw, 126px);
  --card-pad: clamp(22px, 2.4vw, 28px);
  --grid-gap: clamp(18px, 2vw, 24px);

  /* Two shadow tiers only: resting and lifted. No third ad-hoc shadow. */
  --shadow:      0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.07);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.14);
  --shadow-dark:      0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.45);
  --shadow-dark-lift: 0 2px 6px rgba(0,0,0,.5), 0 18px 44px rgba(0,0,0,.6);

  --radius: 10px;
  --radius-sm: 6px;

  /* ONE easing curve, used everywhere. A different easing per section is how
     a site stops feeling designed. */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur-fast: .18s;
  --dur-entry: .72s;

  /* ONE fluid type scale. No page sets a font-size.
     The ratio widens as the viewport grows: the ratio that reads as
     hierarchy at 1440 reads as shouting at 390. */
  --fs-display: clamp(2.5rem, 1.3rem + 5.2vw, 4.75rem);
  --fs-h1:      clamp(2.15rem, 1.25rem + 3.9vw, 3.9rem);
  --fs-h2:      clamp(1.72rem, 1.18rem + 2.3vw, 2.75rem);
  --fs-h3:      clamp(1.28rem, 1.06rem + 0.9vw, 1.6rem);
  --fs-h4:      clamp(1.1rem, 1.02rem + 0.34vw, 1.25rem);
  --fs-lead:    clamp(1.09rem, 1.0rem + 0.42vw, 1.3rem);
  --fs-body:    clamp(1.0rem, 0.97rem + 0.16vw, 1.075rem);
  --fs-small:   clamp(0.92rem, 0.9rem + 0.1vw, 0.95rem);
  --fs-eyebrow: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  /* M6: inputs have a FLOOR of 16px and never follow the body size down.
     Below 16px iOS Safari zooms on focus and does not zoom back. */
  --fs-input:   1rem;

  /* Display sizes tighten their line height. */
  --lh-display: 1.02;
  --lh-head:    1.1;
  --lh-body:    1.6;

  --font-body: 'Barlow', 'Barlow Fallback', system-ui, -apple-system, sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Barlow', system-ui, sans-serif;
}

/* --- Reset and base ----------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* Stage 4.9: an author display rule silently defeated the UA's [hidden]
   rule and a visibility test stayed green through four bars. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  /* NOT scroll-behavior: smooth. It animates every programmatic scroll,
     which poisons tests and captures (Stage 4.10). Honoured only for users
     who have not asked for reduced motion, and never on the root. */
}
@media (prefers-reduced-motion: no-preference) {
  :has(:target) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--concrete-50);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-head);
  margin: 0 0 .5em;
  text-wrap: balance;
  letter-spacing: -0.005em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

/* Focus: a two-ring indicator, white inner plus amber outer, so it survives
   both grounds. E2 requires it measured against the REAL ground it lands on,
   not against the page background. */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 7px rgba(249,178,8,.35);
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: var(--amber); color: var(--ink);
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Layout ------------------------------------------------------------- */

/* Nothing is full-bleed body content. Backgrounds may span full width; the
   CONTENT inside them may not. Full-bleed columns are the #1 cause of the
   "spread out" look. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
/* A band whose whole content is one list or one short block takes the small
   step of the rhythm scale. Applied in the generator, where what the band
   holds is known, rather than inferred here from a selector. */
.section--tight { padding-block: var(--section-pad-s); }
.section--dark  { background: var(--ground); color: var(--concrete-50); }
.section--light { background: var(--concrete-50); color: var(--ink); }
.section--alt   { background: var(--concrete-100); color: var(--ink); }
.section--band  { background: var(--concrete-200); color: var(--ink); }

/* Section intros are constrained. A paragraph running the full 1180px is a
   defect. */
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 .7em;
  display: flex; align-items: center; gap: .6em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; flex: none;
  background: var(--amber);
}
.section--light .eyebrow,
.section--alt .eyebrow,
.section--band .eyebrow { color: var(--amber-deep); }
.section--dark .eyebrow { color: var(--amber); }
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: var(--fs-lead); }
.section--dark .lead  { color: var(--concrete-200); }
.section--light .lead,
.section--alt .lead,
.section--band .lead  { color: var(--steel-700); }

.muted { font-size: var(--fs-small); }
.section--dark .muted { color: var(--concrete-400); }
.section--light .muted,
.section--alt .muted,
.section--band .muted { color: var(--concrete-600); }
/* The card is a surface of its own and overrides whatever section it sits in.
   Specificity beats both section rules above. */
.card .muted, .card.card-link .muted { color: var(--concrete-600); }
.card--dark .muted, .card--dark.card-link .muted { color: var(--concrete-400); }
.card .lead { color: var(--steel-700); }
.card--dark .lead { color: var(--concrete-200); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em;
  min-height: 48px;            /* M3: 44px floor, with margin */
  padding: .7em 1.45em;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}

/* Amber fill takes near-black text, NEVER white. ink on amber is 10.07:1;
   white on amber would be 1.84:1, the same failure inverted. */
.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--primary:hover { background: var(--amber-bright); border-color: var(--amber-bright); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--concrete-50); border-color: var(--field-line); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

.section--light .btn--ghost,
.section--alt .btn--ghost,
.section--band .btn--ghost { color: var(--ink); border-color: var(--steel-700); }
.section--light .btn--ghost:hover,
.section--alt .btn--ghost:hover,
.section--band .btn--ghost:hover { border-color: var(--amber-deep); color: var(--amber-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Cards: containers, never loose text -------------------------------- */

.card {
  background: var(--concrete-50);
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--card-pad);
  color: var(--ink);
}
.card--dark {
  background: var(--ground-raised);
  border-color: var(--rule-faint);
  box-shadow: var(--shadow-dark);
  color: var(--concrete-50);
}
.card h3 { margin-bottom: .45em; }

/* ONE shared hover matrix for every card group. Per-component one-off
   hovers are drift. */
.card-link {
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--amber); }
.card-link.card--dark:hover { box-shadow: var(--shadow-dark-lift); }

.grid { display: grid; gap: var(--grid-gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Atomic data never breaks across lines mid-value. nowrap protects the VALUE
   ONLY: never force a whole sentence onto one line, which overflows at 390. */
.atomic { white-space: nowrap; }

/* --- Motion system: built ONCE, never per section ------------------------
   Animated elements are VISIBLE BY DEFAULT in CSS. Every hidden-start rule
   is scoped under .motion-armed, which a tiny inline head script adds to
   <html> only when reduced motion is off. If the script never runs the page
   reads normally BY CONSTRUCTION.
   NOTHING ABOVE THE FOLD IS HIDDEN AT FIRST PAINT. The LCP element animates
   with transform only, from full opacity: an element at opacity 0 is not an
   LCP candidate at all, so hiding it hands the measurement to something
   else (B12).
   ------------------------------------------------------------------------ */

.motion-armed [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-entry) var(--ease),
              transform var(--dur-entry) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-armed [data-reveal].is-revealed { opacity: 1; transform: none; }

/* Transform-only: for anything that is or could be an LCP candidate. Starts
   at FULL opacity, so it stays a candidate and the subject cannot move. */
.motion-armed [data-reveal-shift] {
  transform: translateY(14px);
  transition: transform var(--dur-entry) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-armed [data-reveal-shift].is-revealed { transform: none; }

/* The reduced-motion override sits OUTSIDE the arming class. A real build
   shipped it scoped UNDER that class, which the script never adds under
   reduced motion, so the override could never match and what shipped was a
   global transition-duration of .001ms: motion SHORTENED, not off, behind a
   guard with no reachable input. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-shift] { opacity: 1 !important; transform: none !important; }
  .card-link:hover { transform: none; }
}

/* --- Header ------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  border-bottom: 1px solid var(--rule-faint);
  font-size: var(--fs-small);
  /* Fold-coupled: a DECLARED height, asserted against the rendered box.
     This strip used to wrap from 43px to 110px between desktop and 390,
     which put the fold 112px out at the narrow end. A height that is
     inferred from content drifts; a height that is declared does not. */
  height: var(--topbar-h);
  overflow: hidden;
}
.topbar__inner {
  height: 100%;
  display: flex; align-items: center;
  color: var(--concrete-400);
}
/* One row, one type size, one baseline, evenly distributed, with a single
   consistent separator. It previously ran four items at two clumps with an
   empty middle, and the email was an address that was not a link. */
.topbar__list {
  display: flex; flex-wrap: nowrap; align-items: center;
  justify-content: space-between;
  width: 100%; margin: 0; padding: 0; list-style: none;
  white-space: nowrap;
  font-size: var(--fs-small);
}
.topbar__list li { flex: 0 1 auto; }
/* The separator is a real left border on the item it precedes, so it always
   sits between two things. Absolutely positioning it against a flex item's
   box put it wherever the flex algorithm happened to leave an edge. */
.topbar__list li + li {
  border-left: 1px solid var(--steel-700);
  padding-left: clamp(14px, 2.2vw, 30px);
  margin-left: clamp(14px, 2.2vw, 30px);
}
.topbar li { display: flex; align-items: center; min-height: 44px; }
.topbar a { color: var(--concrete-200); text-decoration: none;
  display: flex; align-items: center; min-height: 44px; }
.topbar a:hover { color: var(--amber); }

.header {
  position: sticky; top: 0;
  z-index: 1200;               /* above any map (2f NAV ABOVE MAPS) */
  background: var(--ground);
  border-bottom: 1px solid var(--rule-faint);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  /* Declared, not inferred. The border is the 1px the token accounts for. */
  height: calc(var(--header-h) - 1px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand > span { min-width: 0; }
/* The mark is transparent artwork at its own landscape aspect, cropped to
   its measured bounding box. No radius: it is not a tile, and the old square
   crop carried the top of the KALCON wordmark as a grey band under the K. */
.brand img { height: 46px; width: auto; }
.brand__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.32rem; letter-spacing: .02em; line-height: 1;
  color: var(--concrete-50); text-transform: uppercase;
}
.brand__sub {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--amber); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 400px) {
  .brand img { height: 38px; }
  .brand__sub { font-size: .6rem; letter-spacing: .07em; }
  .brand { gap: 9px; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }

.nav__link {
  display: flex; align-items: center;
  min-height: 44px; padding: 6px 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--concrete-200); text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav__link:hover { color: var(--amber); }
.nav__link[aria-current="page"] { color: var(--amber); }

/* A dropdown parent reads as ONE control: the label navigates, the caret
   toggles, and they share a hover surface with no visible seam. Two adjacent
   controls that highlight separately look broken even when they work. */
.nav__parent {
  display: flex; align-items: stretch;
  border-radius: var(--radius-sm);
}
.nav__parent:hover,
.nav__parent:focus-within { background: var(--ground-raised); }
.nav__parent:hover .nav__link,
.nav__parent:hover .nav__caret { color: var(--amber); }
.nav__caret {
  display: flex; align-items: center; justify-content: center;
  width: 44px; min-height: 44px;
  background: none; border: 0; cursor: pointer;
  color: var(--concrete-200);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.nav__caret svg { width: 12px; height: 12px; transition: transform var(--dur-fast) var(--ease); }
.nav__caret[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 290px;
  background: var(--ground-raised);
  border: 1px solid var(--rule-faint);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark-lift);
  padding: 8px;
  margin: 0; list-style: none;
  z-index: 20;
}
/* A forgiving hit area covering the gap between trigger and panel, so the
   pointer can travel without once leaving the path. */
.nav__panel::before {
  content: ""; position: absolute; inset: -10px -10px auto -10px; height: 16px;
}
.nav__panel a {
  display: block; padding: 10px 14px; min-height: 44px;
  display: flex; align-items: center;
  color: var(--concrete-200); text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
}
.nav__panel a:hover { background: var(--ground); color: var(--amber); }
.nav__panel li + li { margin-top: 1px; }

.nav__toggle {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; min-width: 46px; padding: 0 12px;
  background: transparent; border: 1px solid var(--field-line);
  border-radius: var(--radius-sm);
  color: var(--concrete-50); cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}

.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.btn--compact { font-size: .95rem; padding: .5em 1.1em; min-height: 44px; }
.header__cta .btn--ghost { border-color: var(--amber); color: var(--amber); }
.header__cta .btn--ghost:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.header__phone {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.14rem; letter-spacing: .02em;
  color: var(--concrete-50); text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--amber); }

/* Desktop nav switches on with headroom above the width it actually needs.
   C4: a boundary set at the measured minimum is correct only for the font
   that has not loaded yet. */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open {
    display: block;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ground);
    border-bottom: 1px solid var(--rule-faint);
    padding: 12px var(--gutter) 22px;
    /* M2: dvh, not vh. An open panel anchored to a sticky header with no
       internal scrolling puts its last items past the viewport bottom. */
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.is-open .nav__panel {
    position: static; min-width: 0; box-shadow: none;
    background: var(--ground-raised); margin: 4px 0 8px;
  }
  .nav.is-open .nav__parent { justify-content: space-between; }
  .nav.is-open .nav__link { flex: 1; }
  .header__phone { display: none; }
}
/* THE DEFECT THIS REPLACES, and it survived three review passes because
   every one of them measured the box. The optional items needed a shown/
   hidden toggle, the author reached for `display`, and `list-item` quietly
   overrode `.topbar li { display: flex; align-items: center }` 150 lines
   above. A list-item box lays its text out in a line box at the TOP of the
   44px item, so "Mon to Fri, 7am to 5pm" painted 10px high while its li rect,
   its height, its align-items and its font metrics were all identical to its
   neighbours'. Nothing short of a glyph-box measurement could see it.
   ("8 Gulf Coast counties" escaped because its text is inside an <a>, and
   `.topbar a` is itself a 44px centred flex box. One of the two optional
   items was broken and one was not, which is why it read as a quirk.)
   Third instance of the same shape on this site, after `.brand img` and the
   145-line `.chain` block: A RULE ADDED LATER, FAR FROM THE COMPONENT,
   SILENTLY OVERRIDING THE COMPONENT'S OWN. The toggle keeps the component's
   display instead of replacing it. */
.topbar__list li.topbar__opt { display: flex; }
@media (max-width: 1100px) { .topbar__list li.topbar__opt { display: none; } }

@media (max-width: 620px) {
  .brand__name { font-size: 1.1rem; }
  /* This rule used to read `width: 44px; height: 44px`, left over from the
     square circular lockup. The mark is landscape now, so it squashed it
     into a square below 620px and nowhere else, which is why the desktop
     captures looked right. 2a: grep the stylesheet for every OTHER rule on
     the same selector before calling a change done. */
  .brand img { height: 40px; width: auto; }
  .header__cta .btn { display: none; }
}

/* --- Footer ------------------------------------------------------------- */

.footer { background: var(--ink); color: var(--concrete-200); border-top: 3px solid var(--amber); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;   /* weighted, never equal */
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(48px, 7vw, 72px);
}
.footer h3 {
  font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--concrete-50); margin-bottom: 1em;
}
/* The spacing between list items was INFERRED from a 44px min-height
   centring an 18px line, which works until an item wraps. Four of the five
   Hours entries sit 36px apart; the fifth wraps to two lines, its leading
   vanishes, and the rhythm collapses to 23px exactly where the column is
   hardest to read. 13px of padding is the leading a single line already
   gets, made explicit, so a one-line item stays 44px and a wrapped one
   keeps the same air above and below its text. */
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { display: flex; align-items: center; min-height: 44px; }
/* Only the items that are NOT links: a link already carries its own 44px tap
   target below, and padding on top of that would stretch the Services and
   Counties columns to 70px a row. */
.footer li:not(:has(a)) { padding-block: 13px; }
.footer li a { display: flex; align-items: center; width: 100%; min-height: 44px; }
.footer a:not(.btn) { color: var(--concrete-400); text-decoration: none; font-size: var(--fs-small); }
.footer a:not(.btn):hover { color: var(--amber); }
.footer__bottom {
  border-top: 1px solid var(--rule-faint);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: space-between; align-items: center;
  font-size: var(--fs-small); color: var(--concrete-500);
}
/* The base paragraph margin was leaking into this flex row: the first <p>
   carried margin-bottom 16.72px and the last did not, and a flex item's
   margin is part of the box align-items centres, so the copyright line
   painted 8.4px above the links it sits beside on every one of 35 pages.
   Found by the glyph check once the flex-wrap exclusion was removed. */
.footer__bottom p { margin: 0; }
.footer__credit { color: var(--concrete-400); text-decoration: none; }
.footer__credit:hover { color: var(--amber); }

@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* --- Forms -------------------------------------------------------------- */

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: var(--fs-small); }
.field .req { color: var(--amber); }

.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: var(--fs-input);          /* 16px floor, M6 */
  line-height: 1.45;
  padding: 12px 14px;
  min-height: 48px;
  color: var(--concrete-50);
  background: var(--ground);
  border: 1px solid var(--field-line);
  border-radius: var(--radius-sm);
  width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--concrete-500); }

.field--error input, .field--error textarea { border-color: #FF8A7A; }
.field__error { color: #FF8A7A; font-size: var(--fs-small); }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 18px; }
.consent input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--amber); }
.consent label { font-size: var(--fs-small); color: var(--concrete-400); font-weight: 400; line-height: 1.5; }

/* --- Utilities ---------------------------------------------------------- */

.stack > * + * { margin-top: var(--flow, 1rem); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: 11px;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  transform: rotate(-45deg);
}
.section--light .checklist li::before,
.section--alt .checklist li::before,
.section--band .checklist li::before { border-color: var(--amber-deep); }

/* ==========================================================================
   Home page components
   ========================================================================== */

/* --- The arrival -------------------------------------------------------- */

/* Fold-coupled dimensions are DECLARED tokens, never inferred from padding
   plus a line box. Inferring drifted a real fold 3px on desktop and 67px on
   mobile. Every consumer reads the token; no literal is repeated in a calc. */
:root {
  --topbar-h: 46px;
  --header-h: 80px;
  --fold-band-h: 168px;
}
@media (max-width: 1100px) { :root { --fold-band-h: 196px; } }
@media (max-width: 820px)  { :root { --topbar-h: 46px; } }
@media (max-width: 760px)  { :root { --fold-band-h: 248px; } }
@media (max-width: 620px)  { :root { --header-h: 72px; } }

.hero {
  position: relative;
  background: var(--ground);
  /* svh is the correct unit for a fold that must be complete at first paint.
     Not vh: on a phone vh ignores the address bar, so the section is cut off
     on load and then CHANGES HEIGHT as the bar hides (M2). */
  /* The fold edge IS the band's bottom edge. A fixed height, not a minimum,
     with a floor for genuinely short viewports where the content cannot fit
     and flowing past the fold is the honest outcome. */
  height: calc(100svh - var(--topbar-h) - var(--header-h));
  min-height: calc(var(--fold-band-h) + 420px);
  display: flex; flex-direction: column; justify-content: center;
  isolation: isolate;
  padding-bottom: var(--fold-band-h);
}

.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
/* A very slow continuous scale over the loop. The eye tracks continuous
   movement, so a wrap interrupts far less when something is always moving.
   TRANSFORM ONLY, no layout property, so CLS stays 0 and the LCP subject
   neither moves nor is delayed: the element paints at full opacity and the
   transform starts from scale(1). Armed by the same class the rest of the
   motion system uses, so no-JS gets a still frame. */
.motion-armed .hero__video {
  animation: hero-drift 24s linear infinite alternate;
  transform-origin: 58% 45%;
  will-change: transform;
}
@keyframes hero-drift {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .motion-armed .hero__video, .hero__video { animation: none; transform: none; }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    /* Graded to protect the text on the left and let the right side of the
       frame stay visible. The previous ramp sat at .26 across the whole
       right-hand side, which turned the footage nearly grey. */
    linear-gradient(to right, rgba(12,12,13,.92) 0%, rgba(12,12,13,.74) 34%, rgba(12,12,13,.30) 62%, rgba(12,12,13,.06) 100%),
    linear-gradient(to top, rgba(12,12,13,.90) 0%, rgba(12,12,13,.10) 46%);
}

.hero__inner { padding-block: clamp(20px, 3.2svh, 48px); }
.hero__eyebrow { color: var(--amber); }
.hero__title {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 16ch;
  margin-bottom: clamp(.22em, 1.6svh, .4em);
  color: #FFFFFF;
  text-transform: uppercase;
}
.hero__line { display: block; }
.hero__title-accent { color: var(--amber); }
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--concrete-200);
  max-width: 52ch;
  margin-bottom: clamp(1em, 2.4svh, 1.5em);
}
.hero__actions { gap: 14px; }

/* The fold edge. Geometrically complete at first paint: the surface itself
   never translates. */
.hero__band {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--fold-band-h);
  background: var(--ground-raised);
  border-top: 3px solid var(--amber);
}
.hero__band-inner {
  height: 100%;
  display: grid; gap: 0;
}
/* THE TWO DOORS. Pass 1 fixed their alignment and left them visually
   IDENTICAL: same eyebrow, same type, same rule, same chevron, mirrored. A
   fork that presents two identical doors has not forked anything, and asking
   a visitor to choose between two things that look the same is slower than
   not asking.

   They are now different PLACES: a different photograph behind each, an
   audience eyebrow naming who it is for, and deliberate asymmetry. The
   property side is wider, because it is the larger audience by volume and
   the photograph (an oak-lined drive) carries depth that wants room; the
   project side is tighter and reads as scale.

   The whole panel is the target, not the chevron.

   THEY WERE FLOATING IN A DARK GUTTER, and the cause was that the amber rule
   above them is full-bleed while the doors sat inside .container: the band
   promised an edge-to-edge surface and the content stopped 130px short on
   each side, against a ground the same darkness as the photographs. The
   outer edges now BLEED to the viewport while the text stays on the page
   gutter, so the band is one surface and the first door's eyebrow still
   lines up with the logo above it.

   THE FIRST ATTEMPT USED `50vw - 50%` AND IT WAS WRONG IN A WAY THAT ONLY
   PIXELS SHOW. A percentage in a margin or padding resolves against the
   element's CONTAINING BLOCK, and the containing block of a grid item is
   its GRID AREA, not the grid container. The two doors have different area
   widths, so they received different offsets: 415.8px and 462.2px.
   Door one landed at x = -258 and door two ran 304px past the right edge of
   a 1440px viewport. Measured, not inferred.

   `--bleed` is an absolute length computed once from the viewport, so both
   doors get the same number and no percentage is resolved against anything
   unexpected. */
.hero__band-inner { grid-template-columns: 1.18fr 1fr; }
/* clip, not hidden: `hidden` clips to the PADDING box and would cut the
   travelling light, which sits at top:-3px over the amber border. clip
   leaves the unclipped axis visible. */
.hero__band { overflow-x: clip; overflow-y: visible; }
.hero__door:first-child {
  margin-left: calc(-1 * (var(--bleed) + var(--gutter)));
  padding-left: calc(var(--bleed) + var(--gutter));
}
.hero__door:last-child {
  margin-right: calc(-1 * (var(--bleed) + var(--gutter)));
  padding-right: calc(var(--bleed) + var(--gutter));
}

.hero__door {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 2vw, 26px);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.hero__door + .hero__door { border-left: 1px solid var(--steel-700); }

.hero__door-bg { position: absolute; inset: 0; z-index: -1; display: block; }
.hero__door-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
/* Each ground is graded for its own photograph, so the two read as
   different places rather than one treatment applied twice. */
.hero__door--property .hero__door-bg::after,
.hero__door--project .hero__door-bg::after {
  content: ""; position: absolute; inset: 0;
}
.hero__door--property .hero__door-bg::after {
  background: linear-gradient(100deg, rgba(12,12,13,.93) 34%, rgba(12,12,13,.62) 100%);
}
.hero__door--project .hero__door-bg::after {
  background: linear-gradient(100deg, rgba(12,12,13,.95) 30%, rgba(12,12,13,.70) 100%);
}
.hero__door--project .hero__door-label { color: #FFFFFF; }
.hero__door--project .hero__door-eyebrow { color: var(--amber); }
.hero__door:hover .hero__door-bg img { transform: scale(1.05); }
.hero__door:hover { background: transparent; }
.hero__door:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }

.hero__door-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero__door-eyebrow {
  font-family: var(--font-body); font-weight: 600;
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--concrete-400);
}
.hero__door-go {
  width: 26px; height: 26px; flex: none;
  color: var(--amber);
  transition: transform var(--dur-fast) var(--ease);
}
.hero__door:hover .hero__door-go { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) {
  .hero__door:hover .hero__door-go { transform: none; }
  .hero__door:hover .hero__door-bg img { transform: none; }
}

.hero__door-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.18rem, 1.02rem + .5vw, 1.46rem);
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--amber); line-height: 1.1;
}
.hero__door-text { font-size: var(--fs-small); color: var(--concrete-200); line-height: 1.4; }

/* DECLARED RELEASE, not an exemption: below 560px of viewport height there
   is not enough room for a headline, a lead, two actions and the two-door
   band, and cramming them in would be unreadable. The fold coupling is
   deliberately released here and the hero flows at its natural height. The
   fold check asserts this branch rather than skipping the viewport. */
@media (max-height: 560px) {
  .hero { height: auto; min-height: 0; }
  .hero__inner { padding-block: 28px; }
}

@media (max-width: 760px) {
  /* Stacked, so each door is its OWN row and has to bleed on BOTH edges.
     The two-column rules bleed the outer edge of each, which is right
     beside each other and wrong above each other: measured at 430 and 390,
     door one finished 17px short of the right edge and door two started
     17px in from the left. Equal rows too, because 112px above 133px for
     two halves of the same fork reads as an accident. */
  .hero__door:first-child, .hero__door:last-child {
    margin-inline: calc(-1 * (var(--bleed) + var(--gutter)));
    padding-inline: calc(var(--bleed) + var(--gutter));
  }
  .hero__band-inner { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .hero__door + .hero__door { border-left: 0; border-top: 1px solid var(--steel-700); }
  .hero__door { padding-block: 11px; }
  .hero__door-eyebrow { font-size: .64rem; }
  .hero__door-label { font-size: 1.06rem; }
  .hero__door-go { width: 22px; height: 22px; }
  .hero__title { max-width: none; }
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(12,12,13,.97) 0%, rgba(12,12,13,.86) 50%, rgba(12,12,13,.64) 100%);
  }
}

.chain--process { grid-template-columns: repeat(4, 1fr); row-gap: 48px; }
@media (max-width: 1020px) { .chain--process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .chain--process { grid-template-columns: 1fr; } }
.section--dark .chain__step { background: var(--ground-raised); border-color: var(--rule-faint);
  box-shadow: var(--shadow-dark); color: var(--concrete-50); }
.section--dark .chain__step p { color: var(--concrete-400); }
.section--dark .chain__num { border-color: var(--ground); }

.media-figure { margin: 0; }
.media-figure video {
  width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--ground-raised); border: 1px solid var(--rule-faint);
}
.media-figure figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--concrete-400); }

/* Gallery: the component runs its REAL count. Six cleared clips, no padding,
   no placeholder tile. */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery__tile { margin: 0; }
.gallery__tile video {
  width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--ground-raised); border: 1px solid var(--rule-faint);
}
.gallery__tile figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--concrete-400); }
.gallery__tile strong { color: var(--amber); font-family: var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; }

.faq { max-width: 860px; }
.faq__item {
  border: 1px solid var(--concrete-200); border-radius: var(--radius);
  background: var(--concrete-50); margin-bottom: 10px;
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 16px 20px; min-height: 56px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4);
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 11px; height: 11px;
  border-right: 3px solid var(--amber-deep); border-bottom: 3px solid var(--amber-deep);
  transform: rotate(45deg); transition: transform var(--dur-fast) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 20px 18px; color: var(--steel-700); }

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h4 { font-family: var(--font-display); letter-spacing: .06em;
  text-transform: uppercase; font-size: 1rem; margin-bottom: .6em; }
.quote-form { margin-top: 22px; max-width: 640px; }
.quote-form .field input, .quote-form .field textarea {
  background: #FFFFFF; color: var(--ink); border-color: var(--steel-700);
}
.quote-form .field input::placeholder, .quote-form .field textarea::placeholder { color: var(--concrete-600); }
.quote-form .field label { color: var(--ink); }
.quote-form .req { color: var(--amber-deep); }
.quote-form .consent label { color: var(--steel-700); }
.quote-form .field__error:empty { display: none; }
.field__error { color: #9B1C0B; font-weight: 600; }

/* ONE interactive map per site, and it belongs on the contact page. Every
   other geography is a static picture of a place (2e map standard). */
.map-section { display: block; }
.map-embed { position: relative; width: 100%; height: 430px; background: var(--ground-raised); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.72) contrast(1.04); }
@media (max-width: 620px) { .map-embed { height: 340px; } }

.legal-draft {
  border: 2px solid var(--amber-deep); background: #FFF6E0;
  color: var(--ink); padding: 14px 18px; border-radius: var(--radius);
  margin-bottom: 28px; font-size: var(--fs-small);
}

/* ==========================================================================
   CLIPS: one component for every piece of moving footage on the site.
   Visually a GIF, at 1/100th of the bytes (measured: 0.61 MB as MP4 against
   61.24 MB as GIF for the same five seconds of this site's own footage).
   No play button, no progress bar, no kebab menu: an older visitor reads
   that chrome as "broken" or "not loaded" and never presses play.
   ========================================================================== */

.clip {
  position: relative;
  margin: 0;
  background: var(--ground-raised);
  border: 1px solid var(--rule-faint);
  border-radius: var(--radius);
  overflow: hidden;
}
.clip video {
  display: block;
  width: 100%;
  /* The media box takes the footage's own aspect. object-fit: cover would
     convert an aspect mismatch into a silent crop. */
  aspect-ratio: 16 / 9;
  background: var(--ground-raised);
}
/* Controls are OFF by default and only exist once the expand button is
   pressed. The attribute is what the browser reads, so this is belt and
   braces for the moment between markup and script. */
.clip video:not([controls])::-webkit-media-controls { display: none !important; }

/* The expand button was removed: it promised an enlarge and delivered a
   controls toggle, and it sat in the caption strip covering the text. The
   whole tile is the target now (see .is-zoomable), which is the honest
   version of the affordance. */

.clip figcaption,
.clip__caption {
  padding: 12px 14px;
  font-size: var(--fs-small);
  color: var(--concrete-400);
  background: var(--ground-raised);
  border-top: 1px solid var(--rule-faint);
}
.clip__caption strong {
  display: block;
  color: var(--amber);
  font-family: var(--font-display);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .9em;
  margin-bottom: 2px;
}

/* Under reduced motion nothing plays, so the poster is the whole experience
   and it must look finished. A thin amber rule reads as deliberate rather
   than as a video that failed to start. */
@media (prefers-reduced-motion: reduce) {
  .clip { border-color: var(--rule-faint); }
  .clip::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--amber);
  }
}

/* ==========================================================================
   THE CHAIN. Four beats of ONE argument, not four items in a grid. The grid
   presentation actively hid the sequence, which is the whole point of the
   section: break it down, make the material, move it, place it.
   Form: ARGUMENT. No card box, no shadow. The rail is the content.
   ========================================================================== */

/* VERTICAL AT EVERY WIDTH. The horizontal bar was tied to VERTICAL scroll,
   so for most of the time the section was on screen it sat in a PARTIAL
   state: filled through step 2, grey through 3 and 4. A visitor does not
   read that as a progression, they read it as a STATUS, which on a page
   about a process looks like two of four are done. That is structural, not
   a tuning problem, and vertical fixes it because the fill then tracks the
   thing the visitor is actually doing. */

.chain {
  position: relative;
  list-style: none; margin: 0; padding: 0 0 0 68px;
  max-width: 760px;
  counter-reset: chain;
}
.chain__rail {
  position: absolute; left: 21px; top: 22px; bottom: 22px;
  width: 3px; height: auto;
  background: var(--concrete-200);
  z-index: 0;
}
.chain__rail-fill {
  display: block; width: 100%; height: 100%;
  background: var(--amber);
  transform: scaleY(var(--rail, 0));
  transform-origin: center top;
}

.chain__step {
  position: relative; z-index: 1;
  background: none; border: 0; box-shadow: none; border-radius: 0;
  padding: 0 0 26px 0;
}
.chain__step:last-child { padding-bottom: 0; }
.chain__num {
  position: absolute; left: -68px; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--concrete-200); color: var(--steel-700);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  border: 3px solid var(--concrete-50);
  margin-bottom: 0;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.chain__step.is-reached .chain__num { background: var(--amber); color: var(--ink); }
.chain__step h3 { margin-bottom: .3em; }
/* Tight: this is a sequence, not four essays. */
.chain__step p { color: var(--steel-700); font-size: var(--fs-small); margin-bottom: .5em; max-width: 56ch; }
.chain__link {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 44px;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-small); letter-spacing: .04em; text-transform: uppercase;
  color: var(--amber-deep); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.chain__link svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.chain__link:hover { border-bottom-color: var(--amber-deep); }
.chain__link:hover svg { transform: translateX(3px); }

@media (max-width: 560px) {
  .chain { padding-left: 58px; }
  .chain__num { left: -58px; width: 38px; height: 38px; font-size: 1.1rem; }
  .chain__rail { left: 18px; }
}

/* UNDER REDUCED MOTION THE RAIL IS STATIC AND FULL, and this gets its own
   assertion rather than borrowing the reveal check: the rail carries no
   reveal class, so that check passes whether the rail runs or not, which
   would make it a check that cannot fail for this component. */

/* ==========================================================================
   FORM 3: INDEX (navigate, fast). A dense typographic list with a rule
   between rows. No boxes, no shadows, nothing to read twice. Used on the
   homepage, where the question is "what does this company do".
   ========================================================================== */

.svc-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--concrete-200); }
.svc-index li { border-bottom: 1px solid var(--concrete-200); }
.svc-index a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
  align-items: baseline;
  gap: 6px clamp(16px, 3vw, 44px);
  padding: 18px 2px;
  min-height: 44px;
  text-decoration: none; color: var(--ink);
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.svc-index a::after {
  content: ""; align-self: center;
  width: 22px; height: 10px; flex: none;
  background: currentColor;
  clip-path: polygon(0 40%, 62% 40%, 62% 0, 100% 50%, 62% 100%, 62% 60%, 0 60%);
  opacity: .34;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.svc-index a:hover { color: var(--amber-deep); padding-left: 10px; }
.svc-index a:hover::after { opacity: 1; transform: translateX(4px); }
.svc-index__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.14rem, 1rem + .55vw, 1.42rem);
  line-height: 1.2;
}
.svc-index__note { color: var(--concrete-600); font-size: var(--fs-small); }
/* The seventh is the one that makes the rest cheaper, so it is promoted
   rather than left as a stranded card in a 3-3-1 grid. */
.svc-index__lead a { background: var(--ground); color: var(--concrete-50); padding-inline: clamp(14px, 2vw, 22px); }
.svc-index__lead .svc-index__name { color: var(--amber); }
.svc-index__lead .svc-index__note { color: var(--concrete-400); }
.svc-index__lead a:hover { color: var(--concrete-50); }
.svc-index__more { margin-top: 26px; }

@media (max-width: 760px) {
  .svc-index a { grid-template-columns: minmax(0,1fr) auto; }
  .svc-index__note { grid-column: 1 / -1; }
}

/* ==========================================================================
   FORM 4: CHOOSE (navigate, considered). Media-led tiles where the image
   does the work and the text is a label. The site is media-rich and the
   services grid carried no imagery at all, which was a choice nobody made.
   ========================================================================== */

.svc-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 980px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: 1fr; } }

.svc-tile {
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ground);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.svc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc-tile__media { display: block; position: relative; overflow: hidden; }
.svc-tile__media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .45s var(--ease);
}
.svc-tile:hover .svc-tile__media img { transform: scale(1.035); }
.svc-tile__body {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px 22px;
  background: var(--ground); color: var(--concrete-50);
  flex: 1;
}
.svc-tile__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.12rem, 1rem + .5vw, 1.34rem); line-height: 1.15;
  color: #FFFFFF;
}
.svc-tile__note { font-size: var(--fs-small); color: var(--concrete-400); }

/* The seventh does not strand in a 3-3-1 grid: it leads, at full width,
   because it is the service the other six prices rest on. */
.svc-tile--feature {
  display: grid; grid-template-columns: 1.35fr 1fr;
  margin-bottom: var(--grid-gap);
  border: 1px solid var(--rule-faint);
}
.svc-tile--feature .svc-tile__media { height: 100%; }
.svc-tile--feature .svc-tile__media img { height: 100%; aspect-ratio: auto; min-height: 280px; }
.svc-tile--feature .svc-tile__body {
  justify-content: center; gap: 10px;
  padding: clamp(24px, 3vw, 40px);
}
.svc-tile__flag {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
}
.svc-tile--feature .svc-tile__name { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); }
.svc-tile--feature .svc-tile__note { font-size: var(--fs-lead); color: var(--concrete-200); }
.svc-tile__go {
  margin-top: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-small); letter-spacing: .05em; text-transform: uppercase;
  color: var(--amber);
}
.svc-tile--feature:hover .svc-tile__go { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .svc-tile--feature { grid-template-columns: 1fr; }
  .svc-tile--feature .svc-tile__media img { min-height: 0; aspect-ratio: 16/9; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-tile:hover { transform: none; }
  .svc-tile:hover .svc-tile__media img { transform: none; }
}

/* ==========================================================================
   FORM 5: REFERENCE (inform). A material list is read row against row and
   compared, which is a table. Seven cards made it look like seven products
   to browse; it is one list to scan.
   ========================================================================== */

.mat-figure { margin: 0 0 clamp(26px, 3vw, 40px); }
.mat-figure img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius);
}
.mat-figure figcaption {
  margin-top: 10px; font-size: var(--fs-small); color: var(--concrete-600);
}

/* Wide content scrolls inside its own container; the page body never does. */
.mat-table-wrap { overflow-x: auto; }
.mat-table {
  width: 100%; border-collapse: collapse;
  font-size: var(--fs-body);
}
.mat-table th, .mat-table td {
  text-align: left; vertical-align: top;
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--concrete-200);
}
.mat-table thead th {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-deep);
  border-bottom-width: 2px; border-bottom-color: var(--steel-700);
  padding-bottom: 10px;
}
.mat-table tbody th {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.12rem; color: var(--ink);
  white-space: nowrap; padding-right: 28px;
}
.mat-table td { color: var(--steel-700); }
.mat-table tbody tr:last-child th, .mat-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 680px) {
  .mat-table, .mat-table tbody, .mat-table tr, .mat-table th, .mat-table td { display: block; }
  .mat-table thead { display: none; }
  .mat-table tbody tr { border-bottom: 1px solid var(--concrete-200); padding-block: 12px; }
  .mat-table tbody tr:last-child { border-bottom: 0; }
  .mat-table th, .mat-table td { border: 0; padding: 2px 0; white-space: normal; }
  .mat-table td:last-child { color: var(--concrete-600); font-size: var(--fs-small); }
}

/* The pulled sentence. It was two paragraphs of narrow body copy floating in
   a wide dark field, ending on "and we will quote it" with no way to quote. */
.pricing__pull { margin: 0 0 clamp(22px, 3vw, 36px); max-width: 20ch; }
.pricing__pull p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.5rem);
  line-height: 1.04; letter-spacing: -0.01em;
  color: #FFFFFF; margin: 0;
  text-wrap: balance;
}
.pricing__support { max-width: 62ch; }
.pricing__support p { color: var(--concrete-200); font-size: var(--fs-lead); }
.pricing__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
@media (min-width: 1000px) {
  .pricing .container {
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: clamp(32px, 5vw, 72px); align-items: start;
  }
  .pricing .eyebrow { grid-column: 1 / -1; }
  .pricing__pull { margin-bottom: 0; max-width: none; }
}

/* ==========================================================================
   THE SERVICE-AREA MAP. Real geometry, drawn inline, zero third-party
   requests. The keyless Google embed stays on the contact page, which is the
   one interactive map the site is allowed.
   ========================================================================== */

.areamap-wrap {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.areamap-figure { min-width: 0; }
.areamap { width: 100%; height: auto; display: block; }
.areamap__radius {
  fill: rgba(249,178,8,.10);
  stroke: var(--amber); stroke-width: 2; stroke-dasharray: 7 6;
}
.areamap__county path {
  fill: var(--concrete-200);
  stroke: var(--concrete-50); stroke-width: 2.5;
  transition: fill var(--dur-fast) var(--ease);
}
.areamap__county:hover path,
.areamap__county:focus-visible path,
.areamap__county.is-hot path { fill: var(--amber); }
/* An SVG anchor gets NO useful default focus ring from the browser, so it is
   authored explicitly or the link is keyboard reachable and invisibly
   focused. */
.areamap__county:focus-visible path { outline: none; stroke: var(--ink); stroke-width: 4; }
.areamap__county:focus { outline: none; }
.areamap__label {
  font-family: var(--font-body); font-weight: 600;
  /* The label size steps UP as the SVG scales down. A 1000-unit viewBox
     rendered at about 520px scales type by 0.52, so 15px arrived at an
     unreadable 7.8px. 25px lands at about 13px, which reads. */
  font-size: 25px;
  fill: var(--steel-700); text-anchor: middle;
  paint-order: stroke; stroke: var(--concrete-50); stroke-width: 4;
  pointer-events: none;
}
/* The dot layer never takes a pointer event: the county shapes underneath
   are real anchors, and a 4px circle swallowing the hover over Brazoria
   would break the one interaction the map has. */
.areamap__towns { pointer-events: none; }
/* The towns. Dots carry the COVERAGE, which is the argument the section is
   making; the list under the map carries the names. Fifty labels would
   compete with the eight county names and win, and the map would stop being
   readable at the scale that matters. */
.areamap__town { fill: var(--concrete-600); opacity: .75; }
.areamap__town.is-page { fill: var(--ink); opacity: 1; }

.areamap__origin circle { fill: var(--ink); }
.areamap__origin-dot { fill: var(--amber); }
.areamap__origin-label {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  fill: var(--ink); text-anchor: middle;
  paint-order: stroke; stroke: var(--concrete-50); stroke-width: 4;
}
.areamap-credit {
  margin-top: 16px; font-size: var(--fs-small); color: var(--concrete-600);
}

.arealist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--concrete-200); }
.arealist li { border-bottom: 1px solid var(--concrete-200); }
.arealist a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 2px; min-height: 44px; justify-content: center;
  text-decoration: none; color: var(--ink);
}
.arealist a:hover,
.arealist a.is-hot { color: var(--amber-deep); }
.arealist a.is-hot .arealist__name { text-decoration: underline; text-underline-offset: 4px; }
.arealist__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.15;
}
.arealist__note { font-size: var(--fs-small); color: var(--concrete-600); }

@media (max-width: 900px) {
  .areamap-wrap { grid-template-columns: 1fr; }
  .areamap__label { font-size: 34px; stroke-width: 7; }
  .areamap__town { r: 5; }
  .areamap__town.is-page { r: 7; }
  .areamap__origin-label { font-size: 38px; stroke-width: 7; }
}
/* Below the width where a county shape cannot hold a 44px target, the map
   stops being the route and the list carries it. EXACTLY ONE of the two is
   in the accessibility tree at any width: two routes is the role="img"
   defect inverted, the same destination announced twice. */
@media (max-width: 620px) {
  .areamap-figure { display: none; }
}

/* Towns, grouped by county so the county is said ONCE rather than on six of
   seven cards. */
.towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.towns__group h3 {
  font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: .6em;
  padding-bottom: 8px; border-bottom: 2px solid var(--steel-700);
}
.towns__list { list-style: none; margin: 0; padding: 0; }
.towns__list li { border-bottom: 1px solid var(--concrete-200); }
.towns__list li:last-child { border-bottom: 0; }
.towns__list a {
  display: flex; align-items: center; min-height: 44px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.towns__list a:hover { color: var(--amber-deep); }

/* ==========================================================================
   FORM: TIMELINE (reassure). Eight equal cards said "this is long", which is
   the opposite of the job. Two groups of four read as half as long, and the
   detail is available rather than displayed.
   ========================================================================== */

/* ONE continuous sequence. The phase change is a break IN the spine, so
   the order is never interrupted and the two halves are plainly sequential
   rather than parallel. Two type levels only. */
.tl { max-width: 760px; }
.tl__list { list-style: none; margin: 0; padding: 0 0 0 52px; position: relative; }
/* THE SPINE FILLS, like the homepage chain. It was a static grey line: the
   same component, the same --rail variable, and the script that drives it
   named `.chain__step` explicitly, so this one was never wired. A progress
   line that does not progress reads as a broken feature rather than as a
   rule, which is why it is worth either filling or removing, and this one is
   worth filling: it is an eight-step process and the length is the point. */
.tl__list::before {
  content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px;
  width: 2px; background: var(--rule-faint);
}
/* z-index 0, and the discs sit above it. A pseudo-element is the LAST
   child of its element, so an absolutely positioned ::after paints after
   every positioned descendant with no z-index of its own: this 2px amber
   bar ran straight down the middle of each disc, across a dark numeral on
   an amber ground. It took 2px of a 5px glyph box on the "1", which is
   almost entirely a vertical stroke, and very nearly erased it.
   Both colours were correct, in both states, and measured 10.6:1 from the
   rendered pixels. No contrast check in any state could have seen it.
   The homepage chain already had this z-index pair; the timeline was given
   the fill without it. */
.tl__list::before, .tl__list::after { z-index: 0; }
.tl__step { z-index: 1; }
.tl__list::after {
  content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px;
  width: 2px; background: var(--amber);
  transform: scaleY(var(--rail, 0)); transform-origin: center top;
}
.tl__step .tl__num {
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.tl__step.is-reached .tl__num {
  background: var(--amber); color: var(--ink); border-color: var(--amber);
}
.tl__step {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 32px minmax(0, 1fr); gap: 16px;
  padding-bottom: 20px;
}
.tl__step:last-child { padding-bottom: 0; }
.tl__num {
  position: absolute; left: -52px; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ground-raised); color: var(--amber);
  border: 2px solid var(--rule-faint);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .98rem;
}
.tl__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; grid-column: 1 / -1; }
.tl__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.16rem; color: #FFFFFF; line-height: 1.2;
}
/* ONE detail level, at the body colour rather than the lightest grey on the
   site. If it is worth printing it is worth reading. */
.tl__say { color: var(--concrete-200); font-size: var(--fs-small); }

/* The phase change: a visible break in the spine. */
.tl__break {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding: 4px 0 16px;
}
.tl__break:not(:first-child) { padding-top: 22px; margin-top: 10px; }
.tl__break::before {
  content: ""; position: absolute; left: -52px; top: 50%;
  width: 32px; height: 2px; background: var(--amber);
}
.tl__break-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.04rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber);
}
.tl__break-note { font-size: var(--fs-small); color: var(--concrete-500); }
@media (max-width: 560px) {
  .tl__list { padding-left: 44px; }
  .tl__num { left: -44px; width: 28px; height: 28px; font-size: .9rem; }
  .tl__break::before { left: -44px; width: 26px; }
}

/* Gallery: a mixed grid of motion and stills. The photographs carry the
   finished work; the clips carry the process. */
.gallery__tile img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.gallery__tile--photo { background: var(--ground-raised); }

/* About: the argument beside the evidence. The page previously ran five
   paragraphs with nothing else on it, for a company whose whole case is
   physical. */
.about-story__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.about-story__copy > p { font-size: var(--fs-lead); color: var(--steel-700); }
.about-story__copy > p.lead { color: var(--ink); font-weight: 500; }
.about-story__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.about-story__media { display: grid; gap: var(--grid-gap); }
.about-story__media figure { margin: 0; }
.about-story__media img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
}
.about-story__media figcaption {
  margin-top: 8px; font-size: var(--fs-small); color: var(--concrete-600);
}
@media (max-width: 900px) { .about-story__grid { grid-template-columns: 1fr; } }

/* FAQ: the first answer is open, five show, the rest are revealed by a real
   button. A page of eight closed bars gave the visitor nothing. */
.faq__more {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 48px; padding: .6em 1.3em;
  background: transparent; color: var(--ink);
  border: 2px solid var(--steel-700); border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; font-size: .98rem;
  cursor: pointer;
}
.faq__more:hover { border-color: var(--amber-deep); color: var(--amber-deep); }
.faq__more::after {
  content: ""; width: 10px; height: 10px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur-fast) var(--ease);
}
.faq__more[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-3px, -3px); }

/* The probe class the SVG-link check uses to measure a focus indicator
   without depending on :focus-visible heuristics, which programmatic focus
   does not trigger. It paints the same indicator the real rule does. */
.arealist a.focus-visible-probe {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 7px rgba(249,178,8,.35);
}

/* ==========================================================================
   LIGHTBOX. The tile is the target. The class and the cursor are added BY
   JS, so a no-script page shows plain figures that never claim to be
   interactive.
   ========================================================================== */

.clip.is-zoomable { cursor: zoom-in; }
.clip.is-zoomable:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 8px rgba(249,178,8,.35);
}
/* A quiet hint that the tile opens, on the media rather than over the text. */
.clip.is-zoomable .clip__hint {
  position: absolute; right: 10px; top: 10px;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(12,12,13,.68); border-radius: var(--radius-sm);
  color: var(--concrete-50); opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  pointer-events: none;
}
.clip.is-zoomable:hover .clip__hint,
.clip.is-zoomable:focus-visible .clip__hint { opacity: 1; }
@media (hover: none) { .clip.is-zoomable .clip__hint { opacity: 1; } }

.lb { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(8,8,9,.92); }
.lb__panel {
  position: relative; z-index: 1;
  width: min(1180px, 94vw); max-height: 92vh;
  display: flex; flex-direction: column; gap: 12px;
}
.lb__media { display: flex; justify-content: center; }
.lb__media video, .lb__media img {
  display: block; width: 100%; height: auto;
  max-height: 78vh; object-fit: contain;
  border-radius: var(--radius); background: #000;
}
.lb__caption { margin: 0; color: var(--concrete-200); font-size: var(--fs-small); }
.lb__close {
  position: absolute; top: -52px; right: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; color: var(--concrete-50);
  border: 1px solid var(--field-line); border-radius: var(--radius-sm);
  cursor: pointer;
}
.lb__close:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.lb__close svg { width: 20px; height: 20px; }
@media (max-width: 620px) { .lb__close { top: auto; bottom: -52px; right: 50%; transform: translateX(50%); } }
/* The page behind a modal does not scroll. */
.lb-open, .lb-open body { overflow: hidden; }

/* ==========================================================================
   THE MARQUEE. Chrome, not content: it belongs to the band the way a footer
   rule does, which is why it repeats across pages by design. Short, quiet,
   and the amber is a hairline rather than a field.

   Spacing lives in the items' own PADDING, never in a flex gap: a gap makes
   the doubled track measure more than twice one set, so the
   translateX(-50%) loop jolts at the seam.
   ========================================================================== */

.mq {
  overflow: hidden;
  border-block: 1px solid var(--rule-faint);
  background: var(--ink);
}
.mq__track { display: flex; width: max-content; }
/* THE DURATION IS DERIVED FROM THE DISTANCE, not fixed. When the travel
   was a flat translateX(-50%) a fixed 48s gave every strip the same speed.
   Pass 3 made the travel one measured SET so the loop would stop running
   out of content, and left the 48s alone: set widths range from 694px to
   1648px across this site, so the strips ended up running between 14.5 and
   34.3 pixels a second. Measured on production. The slowest one reads as
   stopped, because it is: 14.5px/s is under half a character width a
   second. --mq-dur is set by the script beside --mq-set, from one declared
   speed. */
.motion-armed .mq__track { animation: mq-scroll var(--mq-dur, 48s) linear infinite; }
.mq__set { display: flex; flex: none; }
.mq__item {
  display: inline-flex; align-items: center;
  /* padding, NOT gap */
  padding: 11px 26px;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: .18em; text-transform: uppercase;
  color: var(--concrete-400);
  white-space: nowrap;
}
.mq__item::after {
  content: ""; width: 5px; height: 5px; margin-left: 26px;
  background: var(--amber); border-radius: 50%; flex: none;
}
/* The travel is one SET, measured by JS into --mq-set, not a fixed -50%:
   -50% is only correct when the track holds exactly two sets, and the track
   now holds as many as the viewport needs. The 50% fallback keeps the old
   behaviour if the script never runs. */
@keyframes mq-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--mq-set, 50%))); }
}

/* Pauses on hover AND on focus-within: nothing moves while it is being read. */
.mq:hover .mq__track,
.mq:focus-within .mq__track { animation-play-state: paused; }
/* Paused by JS while a clip is playing in the same viewport, so two motions
   never compete. */
.mq.is-held .mq__track { animation-play-state: paused; }

/* Under reduced motion it STOPS, and what is visible is readable and
   complete: the track stops translating and the first set reads as a static
   row of labels. */
@media (prefers-reduced-motion: reduce) {
  .mq__track { animation: none !important; transform: none !important; }
  .mq { overflow-x: auto; }
}

.cta-band .mq { border-top: 0; margin-bottom: clamp(28px, 4vw, 48px); }

/* The chain is an ARGUMENT about material, so the evidence beside it is the
   material. A constrained column in a full-width container leaves structural
   emptiness, which is the dead-column defect; pairing it with a real-content
   anchor is the documented fix. */
.chain-wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.chain-aside { display: grid; gap: var(--grid-gap); position: sticky; top: calc(var(--header-h) + 20px); }
.chain-aside__fig { margin: 0; }
.chain-aside__fig img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius);
}
.chain-aside__fig figcaption {
  margin-top: 8px; font-size: var(--fs-small); color: var(--concrete-600);
}
@media (max-width: 900px) {
  .chain-wrap { grid-template-columns: 1fr; }
  .chain-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .chain-aside { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .chain__rail-fill { transform: none !important; }
  /* Reduced motion: the spine is full and static, never empty. */
  .tl__list::after { transform: none !important; }
  .tl__step .tl__num { background: var(--amber); color: var(--ink); border-color: var(--amber); }
  /* The rail is full under reduced motion, so the discs must be too:
     a full rail beside grey discs reads as an inconsistent state, which is
     the same "status indicator" defect that made the horizontal version
     wrong. Stated with the same specificity as the default and declared
     AFTER it, since the vertical block redefines .chain__num. */
  .chain__step .chain__num,
  .chain .chain__step .chain__num { background: var(--amber); color: var(--ink); }
  .chain__link:hover svg { transform: none; }
}

/* The audience-door intro: argument beside evidence, with a route onward. */
.door-intro {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.door-intro__copy > p { font-size: var(--fs-lead); color: var(--steel-700); }
.door-intro__copy > p.lead { color: var(--ink); font-weight: 500; }
.door-intro__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.door-intro__fig { margin: 0; }
.door-intro__fig img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius);
}
.door-intro__fig figcaption { margin-top: 8px; font-size: var(--fs-small); color: var(--concrete-600); }
@media (max-width: 900px) { .door-intro { grid-template-columns: 1fr; } }

/* ==========================================================================
   THE COMPONENTS THE MARKUP NAMED AND THIS STYLESHEET HAD NEVER HEARD OF

   Found 2026-10-30 by the visual baseline, by looking at a screenshot. The
   review reported two defects, a breadcrumb rendering as "1. Home / 2.
   Service Areas" and a county list rendering with browser bullets, and asked
   whether they were collateral from the 145-line `.chain` block removed in
   pass 2. They were not. A grep of every class in the built HTML against
   every rule in this file returned FOURTEEN classes with no rule at all, and
   nine of them are components carrying layout:

     .breadcrumb        32 pages   rendered as a default <ol>
     .page-hero         34 pages   no padding, no measure; its buttons sat
                                   2px off the bottom of the band, which the
                                   review reported separately as its own item
     .page-hero__lead   34 pages   a lead running the full 1180px
     .prose-split       22 pages   meant to be two columns, stacked
     .prose-aside       22 pages   the card in that second column
     .prose-wide        11 pages   legal and 404 prose, unmeasured
     .cta-band__inner   30 pages   meant to be a row, stacked, which is where
                                   the empty right half of every closing band
                                   came from
     .link-list         17 pages   default bullets
     .area-links        27 pages   default bullets, four short links adrift
                                   in a 1180px band

   THE OTHER FIVE ARE HEALTHY AND ARE NOT GIVEN RULES HERE: .about-story,
   .proof, .proof__grid, .faq__item--extra and .gallery__tile--clip are block
   names and modifiers whose elements, section modifiers or data attributes
   do the work. Styling them to satisfy a checker would be inventing design
   to make a number go green.

   WHY NO CHECK CAUGHT THIS. There was no check. Every existing assertion
   measures something the markup HAS: a ratio, an attribute, a landmark, a
   computed style. A class with no rule behind it is a thing the markup
   LACKS, and the page still parses, still passes axe, still has correct
   contrast, still scores 99. It just does not look like the design.
   checks_orphan_classes.py now asks the question mechanically.
   ========================================================================== */

/* --- Breadcrumb ---------------------------------------------------------- */
/* One line, small, on the dark ground above the page hero. The separator is
   generated rather than typed, so it cannot be read out by a screen reader
   and cannot be left behind on the last item. */
.breadcrumb {
  background: var(--ground);
  padding-block: clamp(14px, 2vw, 20px) 0;
  font-size: var(--fs-small);
}
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0; margin: 0; padding: 0; list-style: none;
  color: var(--concrete-500);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: ""; flex: none;
  width: 5px; height: 5px; margin: 0 12px;
  border-right: 1px solid var(--steel-700);
  border-top: 1px solid var(--steel-700);
  transform: rotate(45deg);
}
.breadcrumb a {
  color: var(--concrete-400);
  text-decoration: underline;
  text-decoration-color: var(--steel-700);
  text-underline-offset: 3px;
}
.breadcrumb a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.breadcrumb [aria-current="page"] { color: var(--concrete-200); }

/* --- The page hero on every page that is not the homepage ---------------- */
/* It had no padding of its own at all. The band's height was whatever the
   container and the button row happened to add up to, which is why the
   buttons finished 2px above the edge of the band on the area pages: there
   was nothing below them. A declared rhythm, with more below than above,
   because the eye reads the gap under a control as the end of the band. */
/* A hero with no lead and no buttons (404, Terms, Privacy) is a heading in
   a band, and at the full pad it measured 147px of ink inside 290px. The
   modifier is applied by the generator when the hero has no actions, so the
   decision is made where the content is known rather than guessed in CSS. */
.page-hero {
  background: var(--ground);
  color: var(--concrete-50);
  padding-block: clamp(26px, 4vw, 44px) clamp(48px, 7.5vw, 92px);
  border-bottom: 1px solid var(--rule-faint);
}
.page-hero h1 { max-width: 17ch; margin: 10px 0 0; }
.page-hero__lead {
  max-width: 54ch;
  margin-top: clamp(14px, 2vw, 20px);
  color: var(--concrete-200);
}
.page-hero .btn-row { margin-top: clamp(24px, 3.4vw, 36px); }
/* AFTER .page-hero, not before it. The first version of this modifier was
   written above the block it modifies, same specificity, so .page-hero won
   on source order and the tightened padding did nothing at all: the band
   re-measured at exactly the same 290px. The band check caught it, which is
   the first time a cascade-order mistake on this project was found by a
   check rather than by looking. */
.page-hero--bare { padding-block: clamp(20px, 2.6vw, 30px) clamp(24px, 3.4vw, 40px); }

/* --- Prose beside an aside ----------------------------------------------- */
/* Two columns, and the aside is the narrower one. It was stacking, so the
   body copy ran the full 1180px and the card sat underneath it at full
   width: the single most common cause of the flat, spread-out look this
   site was reviewed for. */
.prose-split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.prose-split > :first-child > p { max-width: 62ch; }
.prose-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: clamp(22px, 2.6vw, 30px);
}
.prose-aside h3 { margin: 0 0 16px; }
@media (max-width: 920px) {
  .prose-split { grid-template-columns: 1fr; }
  .prose-aside { position: static; }
}

/* Legal and 404 prose. A line of text 1180px wide is unreadable and it was
   shipping that way on eleven pages. */
.prose-wide { max-width: 72ch; }
.prose-wide h2 { margin-top: clamp(32px, 4vw, 48px); }

/* --- The closing band ---------------------------------------------------- */
/* The ask on the left, the controls on the right, on one baseline. It was
   stacking, which left the right half of the band empty on thirty pages and
   read as a dead column. */
/* A closing band is one row of ink. At the default pad it was 429px tall
   around 204px of content, less than half of it anything at all. */
.cta-band { padding-block: var(--section-pad-s); }
.cta-band__inner {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
}
.cta-band__inner > :first-child { max-width: 46ch; }
.cta-band__inner h2 { margin: 0; }
.cta-band__inner .lead { margin: 14px 0 0; }
.cta-band__inner .btn-row { margin: 0; flex: none; }
@media (max-width: 760px) { .cta-band__inner { align-items: flex-start; } }

/* --- Lists of links ------------------------------------------------------ */
/* A list of links is a list, not a paragraph, so it keeps an underline: the
   underline is the only non-colour signal that these are links, and taking
   it away to make the list look tidier is taking away the affordance. What
   goes is the browser's bullet and the cramped line box. */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li + li { margin-top: 2px; }
.link-list a {
  display: block;
  padding: 9px 0 9px 18px;
  position: relative;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--concrete-200);
  text-underline-offset: 3px;
}
.link-list a::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 8px; height: 1px; background: var(--amber-deep);
  transform: translateY(-50%) scaleX(.6); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease, ease);
}
.link-list a:hover { color: var(--amber-deep); text-decoration-color: currentColor; }
.link-list a:hover::before { transform: translateY(-50%) scaleX(1); }
.section--dark .link-list a::before { background: var(--amber); }
.section--dark .link-list a { text-decoration-color: var(--steel-700); }
.section--dark .link-list a:hover { color: var(--amber); }

/* Neighbouring counties and nearby towns. Four short links were sitting in a
   1180px band with nothing to their right: a dead column, from the review's
   own list. They now fill the band as a row of rules. */
.area-links {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
}
/* The rule is on the ITEM at both ends, so it breaks at the column gap the
   same way top and bottom. The first capture had a continuous rule across
   the container with segmented rules under it, which reads as a mistake.
   The negative margin collapses the doubled rule when the grid drops to one
   column and the items stack. */
.area-links li { border-block: 1px solid var(--concrete-200); margin-top: -1px; }
.area-links a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 60px; padding: 10px 2px;
  color: inherit; text-decoration: none;
  font-family: var(--font-display, inherit);
  font-size: var(--fs-h4);
}
.area-links a::after {
  content: "";
  width: 8px; height: 8px; flex: none;
  border-right: 2px solid var(--amber-deep);
  border-top: 2px solid var(--amber-deep);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease, ease);
}
.area-links a:hover { color: var(--amber-deep); }
.area-links a:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.section--dark .area-links,
.section--dark .area-links li { border-color: var(--rule-faint); }
.section--dark .area-links a::after { border-color: var(--amber); }
.section--dark .area-links a:hover { color: var(--amber); }

/* --- The forty-three towns that were only ever prose ---------------------
   Fifty towns are named across the eight county pages, one sentence at the
   bottom of each. Seven had a page. The other forty-three existed in that
   sentence and nowhere else: nothing showed where they are, and nothing
   showed that the coverage reaches them. They are dots on the map now and
   names in this list. A town that is only ever a word in a paragraph is a
   town the visitor from it never finds.

   THIS EXTENDS .towns__list RATHER THAN DECLARING A SECOND COMPONENT. The
   first version of this change appended a fresh `.towns` block 500 lines
   below the existing one, which is the same shape as `.topbar__opt`,
   `.brand img` and the 145-line `.chain` block: a rule added later, far
   from the component, quietly overriding it. Three of those were found on
   this site today. */
/* The county page lists one county's towns, so it runs as columns rather
   than a single tall stack. */
.towns__list--wide {
  columns: 3; column-gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 860px) { .towns__list--wide { columns: 2; } }
@media (max-width: 520px) { .towns__list--wide { columns: 1; } }
.towns__list--wide li { break-inside: avoid; }

/* A town without a page of its own is a name, not a link, and it says so by
   weight rather than by being faint. --concrete-600 clears 4.5:1 on both
   light grounds; --concrete-400 does not, and an earlier edit spliced a
   block into the middle of this rule's selector, which left the DARK
   variant applying everywhere and put forty-eight contrast failures on the
   site at 1.75:1. axe over the rendered pages caught it; the token table
   could not have, because both colours are in it and both are correct
   somewhere. */
.towns__list li.is-plain {
  display: flex; align-items: center; min-height: 36px;
  color: var(--concrete-600);
  font-size: var(--fs-small);
}
.section--dark .towns__list li.is-plain { color: var(--concrete-400); }

.towns__count {
  margin-top: clamp(22px, 3vw, 32px);
  max-width: 62ch;
}

/* ==========================================================================
   THE TRAVELLING LIGHT, and the restraint rules are the component

   THE INVENTORY FIRST, because "every amber rule" is not what should carry
   this. Grepping the stylesheet for amber returns twenty-one hits. Most are
   not rules at all: button fills, focus outlines, the checklist tick, the
   eyebrow dash, the marquee bullet, the rail fill, a numbered marker. Two
   are STRUCTURAL RULES, full-bleed, 3px, marking where the page changes
   register:

     .hero__band   the fold edge, under the hero
     .footer       the end of the document

   Those two carry it. Nothing else does, and that is the first restraint.

   THE RESTRAINT RULES, written down because a highlight that sweeps is one
   decision away from being the thing people remember instead of the work:

     1. ONCE. Not a loop. A looping highlight on a 1400px rule is an
        attention sink competing with the page for the rest of the visit.
     2. ONLY WHEN THE RULE IS IN VIEW, so it is never spent off-screen and
        never arrives mid-sweep.
     3. NEVER under reduced motion. The rule is a solid 3px amber line with
        or without this; the sweep adds nothing a reader needs.
     4. TRANSFORM AND OPACITY ONLY, on a layer that already exists. No
        layout, no paint of anything underneath, CLS stays 0.
     5. AT MOST TWO PER PAGE, which falls out of rule 1 rather than being a
        separate cap.

   A SIXTH RULE WAS WRITTEN AND THEN REMOVED BY MEASUREMENT: "never while a
   clip is playing in the same viewport", copied from the marquee hold.
   Measured on production it meant one of the two rules lit and the other
   never did, because the hero clip is ambient and plays directly above the
   fold rule for the whole visit. A restraint that deletes the feature
   rather than restraining it is the same mistake as a narrowing that
   excludes the case a check exists for.

   THE COST, measured on production and not estimated: CLS 0 with both
   sweeps run, no change to LCP, and the animation count returns to zero
   after the sweep because it is `forwards` on a single iteration rather
   than an infinite keyframe left running.
   ========================================================================== */
/* ONLY THE FOOTER. `.hero__band` is already position:absolute and is
   therefore already a containing block for the sweep's ::before; adding it
   to this rule overrode that absolute with relative, and the whole fold
   band collapsed. It left its slot at the bottom of the hero, became a
   flex child that FLEX-SHRANK from its declared 132px to 84px, and the
   hero's padding-bottom, which had been reserved for it, was left behind as
   a dark field belonging to nothing. One property, two visible defects, and
   the page-level baseline recorded both without anybody reading them.
   Neither was in the review until a human looked. */
.footer { position: relative; }
.hero__band::before,
.footer::before {
  content: "";
  position: absolute; top: -3px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,
    rgba(253,204,18,0) 0%, rgba(253,204,18,0) 36%,
    rgba(255,255,255,.92) 50%,
    rgba(253,204,18,0) 64%, rgba(253,204,18,0) 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
}
.motion-armed .hero__band.is-lit::before,
.motion-armed .footer.is-lit::before {
  /* No `forwards`: the keyframe ends where the base state already is,
     invisible and parked left, so a fill mode would only leave an animation
     pinned on the element for the rest of the visit. */
  animation: rule-sweep 1.15s var(--ease) 1;
}
@keyframes rule-sweep {
  from { opacity: 0; transform: translateX(-100%); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  to   { opacity: 0; transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__band::before, .footer::before { animation: none !important; opacity: 0 !important; }
}

/* The gallery's two groups. Clips and stills were interleaved in one grid,
   which read as a single undifferentiated wall where half the tiles happen
   to move. They are different things and the page says so. */
.gallery__group {
  font-size: var(--fs-eyebrow);
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-faint);
}
.gallery + .gallery__group { margin-top: clamp(40px, 5vw, 64px); }
