/* =========================================================
   HOE — Tower Cranes • Industrial Design System
   ========================================================= */

/* ---------- 0. SELF-HOSTED FONTS (Latin subset) ----------
   Replaces fonts.googleapis.com / fonts.gstatic.com on every page load —
   one less DNS lookup, one less TLS handshake, no FOUT, immutable cache.
   Files copied from @fontsource / @fontsource-variable packages and live
   in public/assets/fonts/ (stable URLs so we can preload by name). */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/archivo-black-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/assets/fonts/space-grotesk-latin-var.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/assets/fonts/jetbrains-mono-latin-var.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 2. TOKENS ---------- */
:root {
  /* color */
  --ink: #0a0a0a;
  --ink-2: #161614;
  --steel: #242422;
  --concrete: #6c685f;
  --bone: #efebe2;
  --paper: #f7f4ec;
  --hi-vis: #f5c518;
  --hi-vis-deep: #d9aa00;
  --rust: #c4441a;
  --line: rgba(10,10,10,.12);
  --line-strong: rgba(10,10,10,.85);

  /* type */
  --font-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* sizing */
  --container: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --header-h: 84px;
  --radius: 2px;

  /* motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
}

/* ---------- 3. TYPOGRAPHY ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 11vw, 11rem); }
h2 { font-size: clamp(2.25rem, 6.5vw, 5.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); letter-spacing: -.01em; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; letter-spacing: .02em; }
p  { font-size: clamp(1rem, 1.1vw, 1.125rem); color: var(--steel); }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.45rem); line-height: 1.45; color: var(--ink-2); max-width: 56ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow.on-dark { color: var(--hi-vis); }

.mono { font-family: var(--font-mono); letter-spacing: .02em; }

/* ---------- 4. LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 10vw, 160px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--dark { background: var(--ink); color: var(--bone); }
.section--dark p { color: rgba(239,235,226,.7); }
.section--dark .eyebrow { color: var(--hi-vis); }

.grid { display: grid; gap: clamp(20px, 2.5vw, 40px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- 5. TEXTURE / DECORATIONS ---------- */
.grain {
  position: relative;
}
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hazard-stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--hi-vis) 0 22px,
    var(--ink) 22px 44px
  );
}

.hr-rule {
  height: 1px;
  background: var(--line);
  border: 0;
}
.hr-rule--dark { background: rgba(239,235,226,.14); }

/* ---------- 6. BUTTONS ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--bone);
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--bg);
  color: var(--fg);
  padding: 18px 28px;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--bg);
  transition: transform .35s var(--ease-out), background .35s, color .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.btn::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 0;
  transition: transform .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(6px); }

.btn--primary { --bg: var(--hi-vis); --fg: var(--ink); border-color: var(--hi-vis); }
.btn--primary:hover { --bg: var(--ink); --fg: var(--hi-vis); border-color: var(--ink); }

.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--bone); }

.btn--ghost-light { --bg: transparent; --fg: var(--bone); border-color: var(--bone); }
.btn--ghost-light:hover { --bg: var(--hi-vis); --fg: var(--ink); border-color: var(--hi-vis); }

/* ---------- 7. TOP UTILITY BAR ---------- */
.utility-bar {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.utility-bar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.utility-bar__left, .utility-bar__right { display: flex; gap: 1.5rem; align-items: center; }
.utility-bar__right a { color: rgba(239,235,226,.72); transition: color .25s; }
.utility-bar__right a:hover { color: var(--hi-vis); }
.utility-bar__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hi-vis);
  box-shadow: 0 0 0 0 rgba(245,197,24,.7);
  animation: pulse 2s infinite;
  display: inline-block;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,197,24,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(245,197,24,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); }
}

/* ---------- 8. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239,235,226,.55);
  border-bottom: 1px solid rgba(10,10,10,.06);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(239,235,226,.92);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -.02em;
}
.brand__mark {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .3s; }
.brand__mark-dark { opacity: 0; }
/* On dark backgrounds, use the white logo */
.utility-bar .brand__mark-light,
.site-footer .brand__mark-light { opacity: 0; }
.utility-bar .brand__mark-dark,
.site-footer .brand__mark-dark { opacity: 1; }
.brand__name { line-height: 1; }
.brand__sub {
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .25em;
  color: var(--concrete);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
  font-weight: 400;
}

.primary-nav { display: flex; gap: 2rem; align-items: center; }
.primary-nav a {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color .25s;
}
.primary-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 4px;
  height: 2px; background: var(--hi-vis);
  transition: right .35s var(--ease-out);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after { right: 0; }
.primary-nav a.is-active { color: var(--ink); }

/* Compact button for the nav header */
.primary-nav .btn {
  padding: 12px 22px;
  font-size: .72rem;
  letter-spacing: .16em;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--ink); color: var(--bone);
    flex-direction: column; align-items: flex-start;
    padding: 48px var(--gutter);
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    z-index: 40;
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a { color: var(--bone); font-size: 2rem; font-family: var(--font-display); letter-spacing: -.01em; text-transform: uppercase; }
  .primary-nav a::after { background: var(--hi-vis); height: 3px; bottom: -2px; }
  .primary-nav .btn { margin-top: 1.5rem; }
  .nav-toggle { display: flex; align-items: center; }
  .utility-bar__left .pill-hours { display: none; }
}

/* ---------- 9. HERO ---------- */
.hero {
  position: relative;
  --ground-offset: clamp(175px, 24vh, 240px);
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .82;
  transform: scale(1.08);
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 45%, rgba(245,197,24,.06) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(10,10,10,1) 0%, rgba(10,10,10,.92) 100%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(48px, 8vw, 120px) clamp(40px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
}
.hero__top {
  display: flex; flex-direction: row; flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: flex-start;
  max-width: 72%;
}
.hero__coord { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(239,235,226,.55); line-height: 1.8; }
.hero__coord strong { color: var(--bone); font-weight: 500; }

.hero h1 {
  color: var(--bone);
  /* One-word-per-line stack — smaller cap so the headline doesn't dominate
     the whole hero. Mobile floor (2.5rem) unchanged so the mobile layout
     the client signed off on stays put. */
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.025em;
}
.hero h1 span.line { display: block; overflow: hidden; }
.hero h1 span.line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) span { animation-delay: .24s; }
.hero h1 .accent { color: var(--hi-vis); }

@keyframes rise {
  to { transform: translateY(0); }
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  color: rgba(239,235,226,.85);
  max-width: 52ch;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .5s forwards;
}
.hero__cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .7s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 40px);
  padding-top: clamp(24px, 4vw, 56px);
  position: relative;
  z-index: 2;
}
.hero__stat { display: flex; flex-direction: column; gap: 6px; }
.hero__stat-num { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.75rem); color: var(--hi-vis); line-height: 1; }
.hero__stat-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(239,235,226,.6); }
@media (max-width: 720px) {
  .hero__bottom { grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 28px; }
  .hero { --ground-offset: 245px; }
  .hero__crane { width: 50vw; right: 12px; opacity: .5; }
  .hero__truck { width: 26vw; opacity: .7; }
  .hero__excavator { width: 32vw; opacity: .7; }
  .hero__inner { gap: clamp(24px, 5vw, 40px); padding-block: 40px 32px; }
  .hero__top { gap: 12px; }
  .hero__coord { font-size: .65rem; }
  .hero__stat-num { font-size: 1.6rem; }
  .hero__stat-label { font-size: .6rem; }
  .hero__sub { font-size: .95rem; }
  .hero__sub::before { width: 40px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { padding: 14px 18px; font-size: .72rem; }
  .scroll-cue { display: none; }
}

/* scroll cue */
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 24px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(239,235,226,.55);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(245,197,24,.8), rgba(245,197,24,0));
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.6); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* Decorative SVG crane in hero */
.hero__crane {
  position: absolute;
  right: clamp(0px, 3vw, 80px);
  bottom: var(--ground-offset);
  width: clamp(300px, 36vw, 520px);
  height: auto;
  z-index: 0;
  opacity: .92;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(245,197,24,.08));
  animation: crane-enter 1.4s var(--ease-out) .2s both;
}
@keyframes crane-enter {
  0%   { opacity: 0; transform: scaleX(-1) translateY(40px) scale(.94); }
  100% { opacity: .92; transform: scaleX(-1) translateY(0) scale(1); }
}

/* Slewing jib — anchored at slewing point (200,125) in viewBox space */
.hero__crane .crane-jib {
  transform-origin: 200px 125px;
  transform-box: view-box;
  animation: slew 22s ease-in-out infinite alternate;
}
@keyframes slew {
  0%   { transform: rotate(-4deg); }
  50%  { transform: rotate(0deg); }
  100% { transform: rotate(4deg); }
}

/* Trolley traveling along the jib */
.hero__crane .crane-trolley {
  transform-origin: 0 0;
  transform-box: view-box;
  animation: trolley 14s ease-in-out infinite alternate;
}
@keyframes trolley {
  0%   { transform: translateX(245px); }
  50%  { transform: translateX(310px); }
  100% { transform: translateX(360px); }
}

/* Red beacon at apex */
.hero__crane .crane-beacon {
  animation: beacon-core 1.6s ease-in-out infinite;
  transform-origin: 200px 55px;
  transform-box: view-box;
}
.hero__crane .crane-beacon-halo {
  fill: #c4441a;
  fill-opacity: .4;
  transform-origin: 200px 55px;
  transform-box: view-box;
  animation: beacon-halo 1.6s ease-out infinite;
}
@keyframes beacon-core {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}
@keyframes beacon-halo {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(4); opacity: 0; }
}

/* Worklight at base */
.hero__crane .crane-worklight {
  animation: worklight 2.4s ease-in-out infinite;
  transform-origin: 200px 172px;
  transform-box: view-box;
}
@keyframes worklight {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50%      { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 820px) { .hero__crane { opacity: .35; right: -40px; width: 70vw; } }
.hero__inner { position: relative; z-index: 1; }

/* ---------- Construction vehicles (excavator crosses first, then truck) ---------- */

/* Bulldozer */
.hero__excavator {
  position: absolute;
  bottom: var(--ground-offset);
  left: 0;
  width: clamp(150px, 15vw, 220px);
  height: auto;
  z-index: 1;
  opacity: .9;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
  animation: excavator-drive 30s linear infinite, excavator-bounce .55s ease-in-out infinite;
  will-change: transform;
}
@keyframes excavator-drive {
  0%   { transform: translateX(calc(100vw + 40px)); }
  60%  { transform: translateX(-300px); }
  100% { transform: translateX(-300px); }
}
@keyframes excavator-bounce {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -1.2px; }
}
.excavator-tread--top { animation: tread-flow .55s linear infinite; }
.excavator-tread--bot { animation: tread-flow .55s linear infinite reverse; }
@keyframes tread-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 9; }
}
.excavator-sprocket {
  transform-box: fill-box;
  transform-origin: center;
  animation: sprocket-spin .55s linear infinite;
}
@keyframes sprocket-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
.excavator-smoke {
  transform-box: fill-box;
  transform-origin: center;
  animation: smoke-puff 2.2s ease-out infinite;
}
@keyframes smoke-puff {
  0%   { opacity: .7; transform: translate(0,0) scale(.7); }
  100% { opacity: 0; transform: translate(-12px,-18px) scale(2.2); }
}

/* ---------- Construction truck driving past (second phase) ---------- */
.hero__truck {
  position: absolute;
  bottom: var(--ground-offset);
  left: 0;
  width: clamp(110px, 11vw, 170px);
  height: auto;
  z-index: 1;
  opacity: .9;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
  will-change: transform;
}
@keyframes truck-drive {
  0%, 60% { transform: translateX(calc(100vw + 40px)); }
  100%    { transform: translateX(-220px); }
}

/* Subtle suspension bounce on the truck body — applied to inner via offset-y wrapper */
.hero__truck { animation-name: truck-drive, truck-bounce; animation-duration: 30s, .35s; animation-timing-function: linear, ease-in-out; animation-iteration-count: infinite, infinite; }
@keyframes truck-bounce {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -1.5px; }
}

/* Wheel rotation */
.hero__truck .truck-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheel-spin .9s linear infinite;
}
.hero__truck .truck-wheel--rear  { animation-duration: .92s; }
.hero__truck .truck-wheel--rear2 { animation-duration: .91s; }
@keyframes wheel-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Dust trail behind truck */
.hero__dust {
  position: absolute;
  bottom: var(--ground-offset);
  left: 0;
  width: 80px;
  height: 40px;
  z-index: 0;
  pointer-events: none;
  animation: truck-drive 30s linear infinite;
}
.hero__dust--excavator { animation: excavator-drive 30s linear infinite; }
.hero__dust span {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(245,197,24,.18);
  animation: dust-puff 1.4s ease-out infinite;
}
.hero__dust span:nth-child(2) { animation-delay: .25s; right: 18px; width: 18px; height: 18px; }
.hero__dust span:nth-child(3) { animation-delay: .5s;  right: 36px; width: 22px; height: 22px; }
.hero__dust span:nth-child(4) { animation-delay: .75s; right: 56px; width: 16px; height: 16px; }
.hero__dust span:nth-child(5) { animation-delay: 1s;   right: 70px; width: 12px; height: 12px; }
@keyframes dust-puff {
  0%   { opacity: 0; transform: translate(0,0) scale(.4); }
  20%  { opacity: .55; }
  100% { opacity: 0; transform: translate(40px,-18px) scale(1.6); background: rgba(200,196,186,.05); }
}

@media (max-width: 820px) {
  .hero__truck, .hero__dust, .hero__excavator { opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__truck, .hero__dust, .hero__excavator { animation: none; display: none; }
}

/* Ground line beneath the scene */
.hero__ground {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--ground-offset) - 1px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245,197,24,.2) 15%,
    rgba(245,197,24,.55) 50%,
    rgba(245,197,24,.2) 85%,
    transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.hero__ground::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 1px;
  height: 80px;
  background: linear-gradient(180deg, rgba(245,197,24,.06) 0%, transparent 100%);
  pointer-events: none;
}
.hero__ground::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 1px;
  height: 24px;
  background: linear-gradient(0deg, rgba(245,197,24,.04) 0%, transparent 100%);
  pointer-events: none;
}

/* ---------- 10. MARQUEE ---------- */
.marquee {
  background: var(--ink);
  color: var(--bone);
  padding: 22px 0;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.marquee__track {
  display: flex; gap: clamp(40px, 6vw, 96px);
  animation: scroll 30s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex; align-items: center; gap: clamp(28px, 4vw, 56px);
  color: var(--bone);
}
.marquee__item small {
  font-family: var(--font-mono);
  font-size: .5em;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--hi-vis);
  align-self: center;
}
.marquee__item::after {
  content: "\\\\";
  color: var(--hi-vis);
  font-family: var(--font-mono);
  font-size: 1em;
  font-weight: 500;
  letter-spacing: -.08em;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 11. SECTION HEADERS ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.section-head__left { display: flex; flex-direction: column; gap: 1.25rem; }
.section-head__right { color: var(--steel); max-width: 48ch; }
.section--dark .section-head__right { color: rgba(239,235,226,.7); }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- 12. STATS BAND ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__cell {
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: background .35s;
}
.stats__cell:last-child { border-right: 0; }
.stats__cell:hover { background: var(--ink); color: var(--bone); }
.stats__cell:hover .stats__num { color: var(--hi-vis); }
.stats__cell:hover .stats__label { color: rgba(239,235,226,.7); }
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
  transition: color .35s;
}
.stats__num small { font-size: .5em; color: var(--hi-vis-deep); }
.stats__label {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--concrete);
  transition: color .35s;
}
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .stats__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- 13. SERVICE CARDS ---------- */
.service {
  padding: clamp(28px, 3vw, 44px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem;
  transition: background .4s var(--ease-out), color .4s, transform .4s;
  position: relative; overflow: hidden;
  min-height: 340px;
}
.service__icon {
  width: 48px; height: 48px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5;
  margin-bottom: .25rem;
  transition: color .4s, transform .5s var(--ease-out);
}
.service:hover .service__icon { color: var(--hi-vis); transform: rotate(-6deg) scale(1.08); }
.service__num {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; color: var(--concrete);
}
.service__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); }
.service:hover .service__title { color: var(--bone); }
.service__desc { color: var(--steel); font-size: .98rem; flex: 1; }
.section--dark .service .service__desc { color: var(--steel); }
.section--dark .service:hover .service__desc { color: rgba(239,235,226,.72); }
.service__arrow {
  align-self: flex-start;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid currentColor;
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: background .3s, color .3s, transform .3s;
}
.service:hover { background: var(--ink); color: var(--bone); transform: translateY(-4px); }
.service:hover .service__desc { color: rgba(239,235,226,.72); }
.service:hover .service__num { color: var(--hi-vis); }
.service:hover .service__arrow { background: var(--hi-vis); color: var(--ink); border-color: var(--hi-vis); transform: rotate(-45deg); }

/* ---------- 14. PROJECT CARDS ---------- */
.project {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}
.project img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), opacity .5s;
  opacity: .85;
}
.project:hover img { transform: scale(1.06); opacity: 1; }
.project__meta {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  z-index: 2;
  color: var(--bone);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(0);
  transition: transform .5s var(--ease-out);
}
.project::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.9) 100%);
  z-index: 1;
}
.project__cat { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hi-vis); }
.project__title { font-family: var(--font-display); font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.project__tag {
  position: absolute; top: 20px; left: 20px;
  background: var(--hi-vis); color: var(--ink);
  padding: 6px 12px;
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  z-index: 2;
}

/* ---------- 15. PRODUCTS / EQUIPMENT ---------- */
.product-row {
  display: grid;
  grid-template-columns: 80px 2fr 1.4fr 1.2fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: clamp(20px, 2.5vw, 32px) clamp(8px, 1vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s;
  cursor: pointer;
}
.product-row:hover { background: var(--ink); color: var(--bone); padding-left: clamp(20px, 3vw, 40px); }
.product-row:hover .product-row__sku { color: var(--hi-vis); }
.product-row:hover .product-row__cta { background: var(--hi-vis); color: var(--ink); border-color: var(--hi-vis); }
.product-row__sku { font-family: var(--font-mono); font-size: .82rem; color: var(--concrete); letter-spacing: .1em; }
.product-row__name { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.6rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.product-row__brand { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--concrete); margin-top: 4px; }
.product-row__spec { font-family: var(--font-mono); font-size: .82rem; color: inherit; }
.product-row__spec-label { display: block; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--concrete); margin-bottom: 4px; }
.product-row__cta {
  width: 48px; height: 48px;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background .3s, color .3s, border-color .3s;
}
@media (max-width: 820px) {
  .product-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "sku cta"
      "name name"
      "specs specs";
    row-gap: 12px;
  }
  .product-row__sku { grid-area: sku; }
  .product-row__name-wrap { grid-area: name; }
  .product-row__specs { grid-area: specs; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-row__cta { grid-area: cta; }
}

/* ---------- 16. CTA STRIP ---------- */
.cta-strip {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.cta-strip__bg {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: .25;
}
.cta-strip__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-strip__inner {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.cta-strip__inner h2 { color: var(--bone); }
.cta-strip__inner h2 .accent { color: var(--hi-vis); }
@media (max-width: 820px) {
  .cta-strip__inner { grid-template-columns: 1fr; }
}

/* hazard tape divider */
.tape {
  height: 14px;
  background-image: repeating-linear-gradient(-45deg, var(--hi-vis) 0 16px, var(--ink) 16px 32px);
}

/* ---------- 17. TESTIMONIALS ---------- */
.testimonial {
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.5rem;
  transition: background .3s, color .3s, transform .3s;
}
.testimonial:hover { background: var(--ink); color: var(--bone); transform: translateY(-4px); }
.testimonial:hover .testimonial__quote-mark { color: var(--hi-vis); }
.testimonial:hover .testimonial__role { color: rgba(239,235,226,.6); }
.testimonial__quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.5; color: var(--hi-vis); margin-bottom: -1rem; }
.testimonial__body { font-size: 1.05rem; line-height: 1.55; color: var(--steel); }
.section--dark .testimonial .testimonial__body { color: var(--steel); }
.section--dark .testimonial:hover .testimonial__body { color: rgba(239,235,226,.85); }
.testimonial__person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial__name { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: -.005em; line-height: 1; color: var(--ink); }
.testimonial:hover .testimonial__name { color: var(--bone); }
.testimonial__role { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--concrete); margin-top: 4px; }

/* ---------- 18. FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(64px, 8vw, 120px) 0 32px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hi-vis);
  margin-bottom: 1.5rem;
}
.site-footer ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer a { color: rgba(239,235,226,.72); transition: color .25s; }
.site-footer a:hover { color: var(--hi-vis); }
.site-footer__brand-block { display: flex; flex-direction: column; gap: 1rem; max-width: 36ch; }
.site-footer__brand-block .brand { color: var(--bone); font-size: 2.5rem; }
.site-footer__brand-block .brand__mark { /* logo SVG self-colors */ }
.site-footer__brand-block p { color: rgba(239,235,226,.6); font-size: .95rem; }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(239,235,226,.5);
}
.site-footer__socials { display: flex; gap: 8px; }
.site-footer__socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .3s, color .3s, border-color .3s;
}
.site-footer__socials a:hover { background: var(--hi-vis); color: var(--ink); border-color: var(--hi-vis); }
.newsletter {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid rgba(255,255,255,.18);
  margin-top: 4px;
}
.newsletter input {
  flex: 1; background: transparent; border: 0; padding: 14px 16px; color: var(--bone);
  font-family: var(--font-mono); font-size: .8rem; outline: none;
}
.newsletter input::placeholder { color: rgba(239,235,226,.4); letter-spacing: .1em; }
.newsletter button {
  padding: 14px 18px; background: var(--hi-vis); color: var(--ink);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  transition: background .3s;
}
.newsletter button:hover { background: var(--bone); }
@media (max-width: 820px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand-block { grid-column: 1 / -1; }
}

/* ---------- 19. PAGE HERO (for non-home pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 12vw, 200px) 0 clamp(56px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.95) 100%);
}
.page-hero h1 { font-size: clamp(3rem, 9vw, 8rem); color: var(--bone); }
.page-hero .accent { color: var(--hi-vis); }
.page-hero__crumbs {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(239,235,226,.55);
  margin-bottom: 24px;
}
.page-hero__crumbs a:hover { color: var(--hi-vis); }
.page-hero__crumbs span { color: var(--hi-vis); padding: 0 8px; }

/* ---------- 20. FAQ ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(20px, 2.5vw, 32px) 0;
  cursor: pointer;
  transition: padding .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { padding-left: 12px; }
.faq-item__num { font-family: var(--font-mono); font-size: .82rem; color: var(--hi-vis-deep); letter-spacing: .14em; }
.faq-item__q { font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.15; text-transform: uppercase; letter-spacing: -.005em; }
.faq-item__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  font-size: 1.3rem; line-height: 1;
  transition: background .3s, color .3s, transform .3s;
}
.faq-item[open] .faq-item__icon { background: var(--hi-vis); border-color: var(--hi-vis); transform: rotate(45deg); }
.faq-item__a {
  padding: 0 60px 32px 60px;
  color: var(--steel);
  font-size: 1rem;
  max-width: 70ch;
  animation: fadeUp .5s var(--ease-out);
}
@media (max-width: 600px) {
  .faq-item__a { padding: 0 0 24px 0; }
}

/* ---------- 21. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info__cell {
  padding: 28px 32px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper);
  transition: background .3s, color .3s;
}
.contact-info__cell:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.contact-info__cell:hover .contact-info__label { color: var(--hi-vis); }
.contact-info__label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--concrete); transition: color .3s; }
.contact-info__value { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.1; }

.contact-form {
  padding: clamp(28px, 4vw, 56px);
  background: var(--ink);
  color: var(--bone);
}
.contact-form h3 { color: var(--bone); margin-bottom: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .contact-form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.field label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(239,235,226,.6); }
.field input, .field textarea, .field select {
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(239,235,226,.25);
  padding: 12px 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--hi-vis);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select option { background: var(--ink); color: var(--bone); }

/* ---------- 22. REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"].is-revealed { transition-delay: .08s; }
[data-reveal-delay="2"].is-revealed { transition-delay: .16s; }
[data-reveal-delay="3"].is-revealed { transition-delay: .24s; }
[data-reveal-delay="4"].is-revealed { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__bg img { transform: none; }
}

/* ---------- 23. FEATURE BLOCKS (about) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.split__media:hover img { transform: scale(1.05); }
.split__badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--hi-vis); color: var(--ink);
  padding: 24px 32px;
  font-family: var(--font-display);
  text-transform: uppercase; line-height: 1;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: -20px 20px 0 var(--ink);
  animation: badge-in 1s var(--ease-out) .4s both;
}
@keyframes badge-in {
  from { transform: translate(40px, 40px) rotate(8deg); opacity: 0; }
  to { transform: translate(0,0) rotate(0); opacity: 1; }
}
.split__badge-num { font-size: 3rem; }
.split__badge-label { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em; font-weight: 400; }

.bullet-list { display: flex; flex-direction: column; gap: 14px; margin-top: 1.5rem; }
.bullet-list li {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.bullet-list li::before {
  content: "→";
  color: var(--hi-vis-deep);
  font-weight: 700;
}

/* ---------- 23b. SECTION INDEX RAIL ---------- */
.section-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex; flex-direction: column; gap: 14px;
  pointer-events: none;
  mix-blend-mode: difference;
}
.section-rail a {
  display: block;
  width: 28px; height: 18px;
  position: relative;
  pointer-events: auto;
}
.section-rail a::before {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 14px; height: 1px;
  background: rgba(255,255,255,.5);
  transform: translateY(-50%);
  transition: width .35s var(--ease-out), background .35s;
}
.section-rail a:hover::before,
.section-rail a.is-active::before {
  width: 28px;
  background: var(--hi-vis);
}
.section-rail a span {
  position: absolute; right: 36px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  opacity: 0; pointer-events: none;
  white-space: nowrap;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.section-rail a:hover span,
.section-rail a.is-active span { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 1100px) { .section-rail { display: none; } }

/* ---------- 23c. NUMBER TICKER (more polish on stats) ---------- */
.stats__num span[data-count] { display: inline-block; min-width: .6em; }

/* ---------- 23d. HERO SUBHEAD WITH BAR ---------- */
.hero__sub {
  position: relative;
  margin-top: clamp(20px, 2.5vw, 32px);
  max-width: 56ch;
}
.hero__sub::before {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--hi-vis);
  margin-bottom: 1.25rem;
}

/* ---------- 23e. KICKER LINE (h2 underline accent) ---------- */
h2 .accent { position: relative; }
h2 .accent::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -.06em;
  height: .14em;
  background: var(--hi-vis);
  z-index: -1;
  transform: scaleX(.96);
  transform-origin: left;
}

/* ---------- 23f. CURSOR DOT (subtle) ---------- */
@media (hover: hover) {
  .cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--hi-vis);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width .25s var(--ease-out), height .25s var(--ease-out), opacity .25s;
    opacity: 0;
  }
  .cursor-dot.is-on { opacity: 1; }
  .cursor-dot.is-hover { width: 36px; height: 36px; opacity: .6; }
}

/* ---------- 24. UTIL ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.flex { display: flex; gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
