/* ==========================================================
   ALEXAN ENGINEERING (PTY) LTD  |  Site stylesheet
   Design system: "Live engineering drawing"
   Navy 30 / White 60 / Red 10
   ========================================================== */

:root {
  --navy: #23255e;
  --navy-2: #2e3175;
  --ink: #0e0f2c;
  --ink-2: #16184a;
  --red: #d20f16;
  --red-2: #ff2a31;
  --white: #ffffff;
  --steel: #eef0f7;
  --steel-2: #dfe2ee;
  --slate: #4a4d6b;
  --muted: #7a7d98;
  --line: rgba(35, 37, 94, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --header-h: 84px;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 3px;
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px; background: currentColor;
}
.eyebrow.on-dark { color: #ff5a5f; }

.h-xl { font-size: clamp(2.1rem, 4.6vw, 4.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.h-lg { font-size: clamp(1.65rem, 2.8vw, 2.5rem); font-weight: 700; line-height: 1.14; }
.h-md { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.2; }
.h-sm { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; color: var(--slate); max-width: 62ch; }
.mono { font-family: var(--f-mono); }
.text-red { color: var(--red); }
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}
.accent { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 28px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red::before { background: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy::before { background: var(--red); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--navy); border-color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line::before { background: var(--navy); }
.btn-line:hover { color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  color: var(--navy);
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 2px; color: var(--red); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  animation: preloaderFailsafe 0.01s linear 3.2s forwards;
}
.preloader.done { animation: none; transform: translateY(-100%); transition: transform 1s var(--ease-in); }
.preloader.skip { display: none; }
@keyframes preloaderFailsafe { to { transform: translateY(-100%); visibility: hidden; } }
.preloader-inner { display: grid; justify-items: center; gap: 22px; }
.preloader svg { width: 118px; height: 118px; }
.preloader .gear-path {
  fill: none; stroke: var(--red); stroke-width: 2.2;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: drawGear 1.6s var(--ease) forwards, spinSlow 8s linear infinite;
  transform-origin: 60px 60px;
}
.preloader .gear-hub {
  fill: none; stroke: #fff; stroke-width: 1.4; stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: drawGear 1.2s .4s var(--ease) forwards;
}
.preloader .cross { stroke: rgba(255,255,255,.35); stroke-width: .8; stroke-dasharray: 4 4; }
@keyframes drawGear { to { stroke-dashoffset: 0; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.preloader-meta {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; gap: 18px; color: rgba(255,255,255,.6);
}
.preloader-count { color: #fff; min-width: 4ch; text-align: right; font-variant-numeric: tabular-nums; }
.preloader-bar { width: 220px; height: 1px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.preloader-bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* Page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 990; pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.curtain span {
  background: var(--navy);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-in);
}
.curtain span:nth-child(odd) { background: var(--ink); }
.curtain span:nth-child(3) { background: var(--red); }
.curtain.active span { transform: scaleY(1); }
.curtain span:nth-child(2) { transition-delay: .05s; }
.curtain span:nth-child(3) { transition-delay: .1s; }
.curtain span:nth-child(4) { transition-delay: .15s; }
.curtain span:nth-child(5) { transition-delay: .2s; }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 1001;
    pointer-events: none; border-radius: 50%;
    transform: translate3d(-100px, -100px, 0);
  }
  .cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); }
  .cursor-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1px solid rgba(210, 15, 22, .55);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor-ring.hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(210, 15, 22, .08); border-color: var(--red); }
  .cursor-ring.view {
    width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); border-color: var(--red);
  }
  .cursor-ring.view::after {
    content: "VIEW"; position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: #fff;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease);
}
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: opacity .35s; }
.brand .logo-color { display: none; }
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-color { display: block; }
.site-header.hide { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a.nav-link {
  position: relative;
  font-family: var(--f-display); font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,.88);
  padding: 10px 14px;
  transition: color .3s;
}
.nav a.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a.nav-link { white-space: nowrap; }
.nav a.nav-link:hover::after, .nav a.nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.nav-link:hover, .nav a.nav-link.active { color: #fff; }
.site-header.scrolled .nav a.nav-link { color: var(--slate); }
.site-header.scrolled .nav a.nav-link:hover, .site-header.scrolled .nav a.nav-link.active { color: var(--navy); }
.nav .btn { margin-left: 14px; padding: 13px 22px; font-size: 14px; }

.progress-line {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform-origin: left; transform: scaleX(0);
}

.menu-toggle {
  display: none;
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  background: transparent; position: relative; z-index: 120;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: #fff;
  transition: transform .45s var(--ease), top .45s var(--ease), background .3s, opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 23px; right: 20px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.site-header.scrolled .menu-toggle { border-color: var(--line); }
.site-header.scrolled .menu-toggle span { background: var(--navy); }
body.menu-open .menu-toggle { border-color: rgba(255,255,255,.35); }
body.menu-open .menu-toggle span { background: #fff; }
body.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .8s var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header .logo-color { display: none; }
body.menu-open .site-header .logo-white { display: block; }
body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 6.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.2;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu nav a small { font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: #ff5a5f; letter-spacing: .1em; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { color: #ff5a5f; }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .25s; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .3s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .35s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .4s; }
body.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .45s; }
body.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .5s; }
body.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: .55s; }
.mobile-menu .mm-foot { display: grid; gap: 6px; font-size: 15px; color: rgba(255,255,255,.7); }
.mobile-menu .mm-foot strong { color: #fff; font-family: var(--f-display); font-weight: 600; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.6s ease, transform 7.5s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,15,44,.92) 0%, rgba(14,15,44,.62) 45%, rgba(14,15,44,.15) 100%),
    linear-gradient(0deg, rgba(14,15,44,.85) 0%, rgba(14,15,44,0) 45%);
}
.blueprint-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}
.hero-gear {
  position: absolute; right: -180px; top: 50%; z-index: -1;
  width: 720px; height: 720px; margin-top: -360px;
  opacity: .13; pointer-events: none;
  animation: spinSlow 60s linear infinite;
}
.hero-gear path, .hero-gear circle { fill: none; stroke: #fff; stroke-width: .5; }
.hero-inner {
  width: 100%;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: clamp(48px, 8vh, 90px);
  display: grid; gap: 34px;
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 .accent { color: var(--red); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-hud {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-top: 26px; border-top: 1px solid var(--line-light);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hud-group { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.hud-item b { display: block; color: #fff; font-weight: 500; margin-top: 4px; letter-spacing: .06em; }
.hero-dots { display: flex; gap: 10px; align-items: center; }
.hero-dots button {
  width: 44px; height: 24px; padding: 0; border: 0; background: transparent; position: relative;
}
.hero-dots button::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.25);
}
.hero-dots button i {
  position: absolute; left: 0; top: 11px; height: 2px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left;
}
.hero-dots button.active i { animation: dotFill 6s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 40%;
  writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 70px; background: linear-gradient(var(--red), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* split text */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .word > span { display: inline-block; transform: translateY(0); }
.js .split:not(.in) .word > span { transform: translateY(105%); }
.split.in .word > span { transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--ink);
  padding-top: calc(var(--header-h) + clamp(60px, 9vh, 110px));
  padding-bottom: clamp(44px, 7vh, 72px);
  min-height: clamp(380px, 56svh, 560px);
  display: flex; align-items: flex-end;
}
.page-hero .bg {
  position: absolute; inset: -8% 0; z-index: -2;
  background-size: cover; background-position: center 28%;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,15,44,.93) 0%, rgba(14,15,44,.7) 50%, rgba(14,15,44,.3) 100%),
              linear-gradient(0deg, rgba(14,15,44,.7), transparent 60%);
}
.page-hero .container { display: grid; gap: 22px; width: 100%; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; line-height: 1.06; }
.page-hero .lead { color: rgba(255,255,255,.8); }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--red); }
.page-hero .drg-tag {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 36px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.5);
  text-align: right; line-height: 1.9;
  border-right: 2px solid var(--red); padding-right: 14px;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section-tight { padding-block: clamp(60px, 7vw, 96px); }
.bg-steel { background: var(--steel); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,.78); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,.75); }
.bg-navy h2, .bg-navy h3, .bg-ink h2, .bg-ink h3, .bg-navy h4, .bg-ink h4 { color: #fff; }
.bg-navy .lead, .bg-ink .lead { color: rgba(255,255,255,.75); }
.grid-paper {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bg-ink.grid-paper, .bg-navy.grid-paper {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
}
.section-head { display: grid; gap: 16px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.split-head {
  grid-template-columns: 1.1fr 1fr; align-items: end; gap: 28px 60px;
}
.section-head .lead { justify-self: start; }

/* dimension line, a drafting motif */
.dim {
  position: relative; display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted);
  text-transform: uppercase;
}
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.dim span { position: relative; padding-inline: 4px; }
.dim-wrap { position: relative; }
.dim-wrap .dim { margin-bottom: 18px; }
.dim-ticks { position: relative; }
.dim-ticks { border-inline: 1px solid rgba(122,125,152,.6); padding-inline: 0; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--red); color: #fff; overflow: hidden; white-space: nowrap;
  padding-block: 22px; position: relative;
}
.marquee.navy { background: var(--navy); }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 30px; padding-right: 30px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.5rem); letter-spacing: -0.01em;
  text-transform: uppercase;
}
.marquee-item svg { width: 26px; height: 26px; flex-shrink: 0; animation: spinSlow 6s linear infinite; }
.marquee-item .o { color: transparent; -webkit-text-stroke: 1.2px #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro block ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-media { position: relative; }
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius); }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 1.6s var(--ease); }
.js .img-reveal:not(.in) { clip-path: inset(0 0 0 0); }
.img-reveal::after {
  content: ""; position: absolute; inset: 0; background: var(--red);
  transform: scaleX(0); transform-origin: right;
}
.js .img-reveal.animate::after { animation: wipe 1.3s var(--ease) forwards; }
.js .img-reveal.animate img { animation: imgIn 1.6s var(--ease) forwards; }
@keyframes wipe { 0% { transform: scaleX(1); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes imgIn { 0% { transform: scale(1.25); opacity: 0; } 40% { opacity: 0; } 41% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.intro-media .img-main { aspect-ratio: 4 / 5; }
.intro-media .img-inset {
  position: absolute; width: 48%; aspect-ratio: 1; right: -8%; bottom: -10%;
  border: 8px solid var(--white); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(14,15,44,.45);
}
.spec-card {
  position: absolute; left: -7%; top: 12%;
  background: var(--navy); color: #fff; padding: 20px 22px; border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  display: grid; gap: 8px; min-width: 210px;
  box-shadow: 0 30px 60px -24px rgba(14,15,44,.6);
}
.spec-card .row { display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.6); }
.spec-card .row b { color: #fff; font-weight: 500; }
.spec-card .ttl { color: #ff5a5f; border-bottom: 1px solid var(--line-light); padding-bottom: 8px; margin-bottom: 2px; }
.intro-copy { display: grid; gap: 26px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 20px; height: 20px; margin-top: 4px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list b { color: var(--navy); font-family: var(--f-display); font-weight: 600; }
.bg-navy .check-list b, .bg-ink .check-list b { color: #fff; }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); border-right: 1px solid var(--line-light); display: grid; gap: 10px; align-content: start; }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--f-display); font-weight: 800; color: #fff;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem); line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat .num sup { font-size: .42em; color: var(--red); vertical-align: top; margin-left: 4px; position: relative; top: .3em; }
.stat .lbl { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.stat p { font-size: 15px; color: rgba(255,255,255,.7); }

/* ---------- Service index (home) ---------- */
.svc-index { border-top: 1px solid var(--line); position: relative; }
.svc-row {
  position: relative;
  display: grid; grid-template-columns: 90px 1.2fr 1fr 60px; gap: 24px; align-items: center;
  padding-block: 26px; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
  isolation: isolate;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc-row:hover::before { transform: scaleY(1); transform-origin: top; }
.svc-row:hover { padding-inline: 24px; }
.svc-row .code { font-family: var(--f-mono); font-size: 13px; color: var(--red); letter-spacing: .1em; transition: color .4s; }
.svc-row h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; transition: color .4s; }
.svc-row p { font-size: 15.5px; transition: color .4s; }
.svc-row .go {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.svc-row .go svg { width: 18px; height: 18px; stroke: var(--navy); transition: stroke .4s; }
.svc-row:hover h3 { color: #fff; }
.svc-row:hover p { color: rgba(255,255,255,.72); }
.svc-row:hover .code { color: #ff5a5f; }
.svc-row:hover .go { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.svc-row:hover .go svg { stroke: #fff; }
.svc-preview {
  position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
  width: 320px; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6) rotate(-6deg);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.svc-preview.show { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1) rotate(0); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.svc-preview img.on { opacity: 1; }
@media (pointer: coarse) { .svc-preview { display: none; } }

/* ---------- Horizontal process ---------- */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 44px; }
.hscroll-track { display: flex; gap: 28px; padding-left: var(--gutter); will-change: transform; }
.step-card {
  flex: 0 0 clamp(300px, 34vw, 460px);
  background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 36px 32px; display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden;
  min-height: 380px;
}
.step-card .n {
  font-family: var(--f-display); font-weight: 800; font-size: 4.6rem; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25);
}
.step-card h3 { font-size: 1.3rem; }
.step-card p { color: rgba(255,255,255,.7); font-size: 16px; }
.step-card .tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #ff5a5f; }
.step-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.step-card:hover::after { transform: scaleX(1); }
.step-card.img-card { padding: 0; position: relative; }
.step-card.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hscroll-progress { height: 1px; background: var(--line-light); margin-inline: var(--gutter); position: relative; }
.hscroll-progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------- Feature (current project) ---------- */
.feature {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  border-radius: var(--radius);
  min-height: 560px; display: grid; align-items: end;
}
.feature .bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,15,44,.95) 10%, rgba(14,15,44,.35) 70%, rgba(14,15,44,.2)); }
.feature-body { padding: clamp(28px, 5vw, 64px); display: grid; gap: 22px; }
.feature h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; max-width: 22ch; }
.status {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 40px; background: rgba(14, 15, 44, .72); color: #ff7c80; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,90,95,.35);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(255,42,49,.6); animation: pulse 1.8s infinite; }
.status.done { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.status.done::before { background: #fff; animation: none; }
.status.light { background: rgba(210,15,22,.08); color: var(--red); border-color: rgba(210,15,22,.25); }
.status.light.done { background: var(--steel); color: var(--navy); border-color: var(--line); }
.status.light.done::before { background: var(--navy); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,42,49,0); } 100% { box-shadow: 0 0 0 0 rgba(255,42,49,0); } }
.spec-strip { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-light); padding-top: 22px; }
.spec-strip div { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line-light); display: grid; gap: 4px; margin-bottom: 12px; }
.spec-strip div:last-child { border-right: 0; }
.spec-strip span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.spec-strip b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--red); color: #fff;
  padding-block: clamp(70px, 9vw, 120px);
}
.cta-band .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .18; mix-blend-mode: multiply; filter: grayscale(1); }
.cta-band .gear-deco { position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; z-index: -1; opacity: .18; animation: spinSlow 40s linear infinite; }
.cta-band .gear-deco path, .cta-band .gear-deco circle { fill: none; stroke: #fff; stroke-width: .8; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 36px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; }
.cta-band .btn-navy::before { background: #fff; }
.cta-band .btn-navy:hover { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 90px 60px; }
.footer-top h4 { font-size: 13px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-top a { transition: color .3s, padding .4s var(--ease); }
.footer-top ul a:hover { color: #fff; padding-left: 6px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; font-size: 15.5px; }
.footer-contact { display: grid; gap: 14px; font-size: 15.5px; }
.footer-contact strong { color: #fff; font-family: var(--f-display); font-weight: 600; display: block; }
.footer-big {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.05em; line-height: .8;
  font-size: clamp(3.4rem, 13vw, 12rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12);
  white-space: nowrap; user-select: none; text-align: center; margin-bottom: -0.1em;
}
.title-block {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  border: 1px solid var(--line-light); margin-bottom: 26px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.title-block > div { padding: 12px 14px; border-right: 1px solid var(--line-light); display: grid; gap: 4px; }
.title-block > div:last-child { border-right: 0; }
.title-block span { color: rgba(255,255,255,.4); }
.title-block b { color: #fff; font-weight: 500; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-block: 0 34px; font-size: 13.5px; color: rgba(255,255,255,.45);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--navy); color: #fff;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: 157; }
.to-top:hover svg.ring circle { stroke: #fff; }
.to-top .ico { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-l.in { opacity: 1; transform: none; }
.js .line-grow { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.js .line-grow.in { transform: scaleX(1); }

/* ==========================================================
   ABOUT
   ========================================================== */
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.story-grid .sticky { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; }
.story-copy { display: grid; gap: 22px; font-size: 18px; }
.story-copy p:first-child::first-letter {
  float: left; font-family: var(--f-display); font-weight: 800; font-size: 4.2em; line-height: .82;
  color: var(--red); margin: 6px 14px 0 0;
}
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.founder-note { border-left: 2px solid var(--red); padding: 4px 0 4px 18px; display: grid; gap: 4px; }
.founder-note b { font-family: var(--f-display); color: var(--navy); font-size: 1.05rem; }
.founder-note span { font-size: 14.5px; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line-light); border: 1px solid var(--line-light); }
.vm-card { background: var(--ink); padding: clamp(32px, 5vw, 64px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.vm-card .big-letter {
  position: absolute; right: -10px; bottom: -40px; font-family: var(--f-display); font-weight: 800; font-size: 16rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); pointer-events: none;
}
.vm-card h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.vm-card p { font-size: 17px; color: rgba(255,255,255,.78); max-width: 46ch; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
  position: relative; padding: 34px 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  display: grid; gap: 14px; align-content: start; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.value-card:hover { box-shadow: 0 40px 70px -40px rgba(35,37,94,.55); border-color: transparent; }
.value-card .ic {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--steel); color: var(--red); transition: background .4s, color .4s;
}
.value-card:hover .ic { background: var(--red); color: #fff; }
.value-card .ic svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.2rem; }
.value-card p { font-size: 15.5px; }
.value-card.feature-val { background: var(--navy); border-color: var(--navy); }
.value-card.feature-val h3 { color: #fff; }
.value-card.feature-val p { color: rgba(255,255,255,.72); }
.value-card.feature-val .ic { background: var(--red); color: #fff; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff;
  display: grid; align-content: space-between; min-height: 360px; padding: 26px; isolation: isolate;
}
.member::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.member::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--red); z-index: -1;
  transition: height .7s var(--ease);
}
.member:hover::after { height: 100%; }
.member .mono-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; }
.member .initials {
  font-family: var(--f-display); font-weight: 800; font-size: 4.2rem; line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.55); transition: -webkit-text-stroke-color .5s, color .5s;
}
.member:hover .initials { color: #fff; -webkit-text-stroke-color: #fff; }
.member h3 { color: #fff; font-size: 1.3rem; }
.member .role { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #ff6b70; transition: color .4s; }
.member:hover .role { color: #fff; }
.member p { font-size: 14.5px; color: rgba(255,255,255,.7); margin-top: 6px; }

.bee-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.bee-item { padding: 28px 22px 10px 0; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); padding-left: 22px; }
.bee-item:first-child { padding-left: 0; }
.bee-item:last-child { border-right: 0; }
.bee-item .pct { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: var(--red); letter-spacing: -0.03em; line-height: 1; }
.bee-item h3 { font-size: 1.05rem; }
.bee-item p { font-size: 15px; }

/* ==========================================================
   SERVICES
   ========================================================== */
.svc-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 2px; }
.svc-nav .ttl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.svc-nav a {
  display: grid; grid-template-columns: 44px 1fr; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 500; font-size: 15px; color: var(--slate);
  transition: color .3s, padding .4s var(--ease);
}
.svc-nav a span { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); transition: color .3s; }
.svc-nav a:hover, .svc-nav a.active { color: var(--navy); padding-left: 8px; }
.svc-nav a.active span, .svc-nav a:hover span { color: var(--red); }
.svc-nav a.active { font-weight: 600; }
.svc-blocks { display: grid; gap: clamp(80px, 10vw, 140px); }
.svc-block { display: grid; gap: 34px; scroll-margin-top: calc(var(--header-h) + 30px); }
.svc-block .media { position: relative; aspect-ratio: 16/8; }
.svc-block .media .img-reveal { height: 100%; }
.svc-block .media .code-badge {
  position: absolute; left: 22px; top: 22px; z-index: 2;
  background: rgba(14,15,44,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 3px; border-left: 2px solid var(--red);
}
.svc-block .head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: start; }
.svc-block h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; }
.cap-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.cap-list li {
  display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 500; color: var(--navy); font-size: 15.5px;
  transition: padding .4s var(--ease), color .3s;
}
.cap-list li::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); flex-shrink: 0; transition: transform .5s var(--ease); }
.cap-list li:hover { padding-left: 8px; color: var(--red); }
.cap-list li:hover::before { transform: rotate(225deg); }
.svc-note { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; border-left: 2px solid var(--steel-2); padding-left: 14px; }
.fleet-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fleet-spec div { background: var(--steel); padding: 22px; border-radius: var(--radius); display: grid; gap: 6px; }
.fleet-spec b { font-family: var(--f-display); font-weight: 800; color: var(--navy); font-size: 2rem; letter-spacing: -0.03em; line-height: 1; }
.fleet-spec span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.why-card { padding: 38px 30px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: grid; gap: 16px; align-content: start; transition: background .5s; }
.why-card:hover { background: rgba(255,255,255,.04); }
.why-card .ic { color: #ff5a5f; }
.why-card .ic svg { width: 34px; height: 34px; }
.why-card h3 { font-size: 1.2rem; }
.why-card p { font-size: 15.5px; color: rgba(255,255,255,.7); }

/* ==========================================================
   PROJECTS
   ========================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; align-items: center; justify-content: space-between; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; position: relative; background: var(--steel); padding: 6px; border-radius: 60px; }
.filters button {
  position: relative; z-index: 1; border: 0; background: transparent; padding: 11px 22px; border-radius: 60px;
  font-family: var(--f-display); font-weight: 600; font-size: 14.5px; color: var(--slate); transition: color .35s;
}
.filters button.active { color: #fff; }
.filters .pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; background: var(--navy); border-radius: 60px; transition: left .5s var(--ease), width .5s var(--ease); }
.filters button .count { font-family: var(--f-mono); font-size: 11px; opacity: .6; margin-left: 6px; }
.filter-meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.proj-card {
  grid-column: span 4;
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  min-height: 440px; display: grid; align-content: end; color: #fff;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.proj-card.wide { grid-column: span 8; }
.proj-card.hidden-by-filter { display: none; }
.proj-card[data-status="cta"]::before { display: none; }
.proj-card[data-status="cta"] { transition: background .5s; }
.proj-card .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.4s var(--ease), filter .8s; }
.proj-card:hover .bg { transform: scale(1.08); }
.proj-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,15,44,.96) 12%, rgba(14,15,44,.45) 60%, rgba(14,15,44,.15)); transition: background .6s; }
.proj-card:hover::before { background: linear-gradient(0deg, rgba(35,37,94,.97) 25%, rgba(35,37,94,.7) 75%, rgba(35,37,94,.4)); }
.proj-body { padding: 30px; display: grid; gap: 14px; }
.proj-body .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.proj-body .client { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.proj-body h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 700; }
.proj-body .desc { font-size: 15.5px; color: rgba(255,255,255,.78); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s; }
.proj-card:hover .desc, .proj-card:focus-within .desc { max-height: 200px; opacity: 1; }
@media (pointer: coarse) { .proj-body .desc { max-height: none; opacity: 1; } }
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; color: rgba(255,255,255,.85); }

.current-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: rgba(255,255,255,.75); }
.current-feature .media { position: relative; min-height: 520px; overflow: hidden; }
.current-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.current-feature .media .overlay-hud {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.current-feature .media .overlay-hud span { background: rgba(14,15,44,.75); padding: 8px 12px; border-radius: 3px; backdrop-filter: blur(6px); }
.current-feature .body { padding: clamp(30px, 4.5vw, 60px); display: grid; gap: 24px; align-content: center; }
.current-feature h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.spec-table div { padding: 14px 0; border-bottom: 1px solid var(--line-light); display: grid; gap: 3px; }
.spec-table div:nth-child(odd) { padding-right: 16px; }
.spec-table span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.spec-table b { font-family: var(--f-display); font-weight: 600; color: #fff; font-size: 1.02rem; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 44px; padding-block: 26px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 144px; top: 36px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 2px solid var(--red); transition: background .4s; }
.tl-item.now::before { background: var(--red); box-shadow: 0 0 0 6px rgba(210,15,22,.15); }
.tl-item .when { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); padding-top: 6px; }
.tl-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tl-item p { font-size: 16px; max-width: 60ch; }

/* ==========================================================
   SAFETY
   ========================================================== */
.zero-harm {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center;
}
.zero-word { font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 10vw, 8.5rem); line-height: .82; letter-spacing: -0.06em; color: var(--navy); }
.zero-word .o { color: transparent; -webkit-text-stroke: 2px var(--red); display: inline-block; }
.zero-word small { display: block; font-size: .32em; letter-spacing: -0.02em; color: var(--red); margin-top: .15em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 36px 30px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -40px rgba(35,37,94,.5); }
.pillar .num { font-family: var(--f-mono); font-size: 12px; color: var(--red); letter-spacing: .14em; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { font-size: 15.5px; }
.pillar::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--red); transition: height .6s var(--ease); }
.pillar:hover::after { height: 100%; }

.law-list { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.law { display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-light); transition: padding .4s var(--ease); }
.law:hover { padding-left: 14px; }
.law .act { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; color: #ff6b70; text-transform: uppercase; }
.law h3 { font-size: 1.2rem; margin-bottom: 4px; }
.law p { font-size: 15.5px; color: rgba(255,255,255,.68); }
.law .yr { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); letter-spacing: -0.02em; }

.env-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.env-media { position: relative; aspect-ratio: 5/6; }
.env-media .img-reveal { height: 100%; }
.env-media .badge-rot {
  position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; z-index: 2;
  background: var(--red); border-radius: 50%; display: grid; place-items: center; color: #fff;
}
.env-media .badge-rot svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spinSlow 18s linear infinite; }
.env-media .badge-rot text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .28em; fill: #fff; text-transform: uppercase; }
.env-media .badge-rot .core svg { position: static; width: 34px; height: 34px; animation: none; }

.ppe-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ppe {
  display: grid; justify-items: center; gap: 12px; text-align: center; padding: 26px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-family: var(--f-display); font-weight: 600; color: var(--navy); font-size: 14.5px;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.ppe svg { width: 38px; height: 38px; color: var(--red); transition: color .4s, transform .6s var(--ease); }
.ppe:hover { background: var(--navy); color: #fff; transform: translateY(-6px); }
.ppe:hover svg { color: #fff; transform: rotate(-8deg) scale(1.1); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.info-card:hover { border-color: transparent; box-shadow: 0 30px 50px -30px rgba(35,37,94,.45); transform: translateY(-4px); }
.info-card .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--steel); color: var(--red); display: grid; place-items: center; transition: background .4s, color .4s; }
.info-card:hover .ic { background: var(--red); color: #fff; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card .lbl { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-card .val { font-family: var(--f-display); font-weight: 600; color: var(--navy); font-size: 1.12rem; line-height: 1.45; word-break: break-word; }
.info-card .val a:hover { color: var(--red); }
.copy-btn {
  margin-top: 8px; border: 1px solid var(--line); background: transparent; border-radius: 3px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate);
  padding: 6px 10px; transition: background .3s, color .3s, border-color .3s;
}
.copy-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.copy-btn.ok { background: var(--red); color: #fff; border-color: var(--red); }

.form-card {
  background: var(--ink); color: rgba(255,255,255,.75); border-radius: var(--radius);
  padding: clamp(28px, 4.5vw, 56px); position: relative; overflow: hidden; isolation: isolate;
}
.form-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.form-card h2 { color: #fff; margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; margin-top: 34px; }
.field { position: relative; display: grid; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
  color: #fff; font-family: var(--f-body); font-size: 16.5px; padding: 26px 0 12px; border-radius: 0;
  transition: border-color .3s;
  color-scheme: dark;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--ink); color: #fff; }
.field.select::after {
  content: ""; position: absolute; right: 4px; bottom: 20px; width: 8px; height: 8px;
  border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); pointer-events: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field label {
  position: absolute; left: 0; top: 26px; pointer-events: none;
  font-family: var(--f-body); color: rgba(255,255,255,.55); font-size: 16px;
  transition: top .35s var(--ease), font-size .35s var(--ease), color .35s, letter-spacing .35s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.select label {
  top: 0; font-size: 11px; font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #ff6b70;
}
.field .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field input:focus ~ .bar, .field textarea:focus ~ .bar, .field select:focus ~ .bar { transform: scaleX(1); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #ff6b70; }
.field .err { font-size: 13px; color: #ff8a8e; margin-top: 6px; min-height: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 34px; }
.form-foot small { font-size: 13.5px; color: rgba(255,255,255,.5); max-width: 36ch; }
.form-success {
  margin-top: 26px; padding: 22px; border: 1px solid rgba(255,90,95,.35); border-radius: var(--radius);
  background: rgba(210,15,22,.08); color: #fff; display: grid; gap: 10px;
}
.form-success b { font-family: var(--f-display); font-size: 1.1rem; }
.form-success p { color: rgba(255,255,255,.75); font-size: 15px; }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.office {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; color: #fff; isolation: isolate;
  display: grid; align-content: end;
}
.office .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.4s var(--ease); }
.office:hover .bg { transform: scale(1.06); }
.office::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,15,44,.95) 20%, rgba(14,15,44,.35)); }
.office-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; }
.office h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.office address { font-style: normal; font-size: 17px; color: rgba(255,255,255,.82); line-height: 1.6; }
.office .coords { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.office .btn { width: fit-content; margin-top: 6px; }

.reg-strip { display: flex; flex-wrap: wrap; gap: 12px 34px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.reg-strip b { color: var(--navy); font-weight: 500; }

/* ---------- Service groups (core vs support) ---------- */
.svc-group-label {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 14px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.svc-group-label span { font-weight: 500; }
.svc-group-label small { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.svc-group-label.support { margin-top: 56px; color: var(--muted); }
.svc-index.support .svc-row { padding-block: 18px; }
.svc-index.support .svc-row h3 { font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 600; color: var(--slate); }
.svc-index.support .svc-row .code { color: var(--muted); }
.svc-index.support .svc-row .go { width: 42px; height: 42px; }
.svc-index.support .svc-row::before { background: var(--slate); }
.svc-index.support .svc-row:hover h3 { color: #fff; }

.logo-words { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.45rem); color: var(--navy); letter-spacing: -0.01em; }

.proj-grid.three .proj-card { grid-column: span 4; min-height: 400px; }
.proj-card.cta-card { grid-column: 1 / -1; min-height: 0; background: var(--red); }
.proj-card.cta-card::before { display: none; }
.proj-card.cta-card .proj-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 34px clamp(24px, 4vw, 48px); }
.proj-card.cta-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

.svc-intro { display: grid; gap: 14px; max-width: 70ch; }
.support-wrap { display: grid; gap: 34px; padding-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--navy); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.support-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--steel); display: grid; grid-template-rows: auto 1fr; scroll-margin-top: calc(var(--header-h) + 30px); }
.support-card .sc-media { aspect-ratio: 16 / 10; overflow: hidden; }
.support-card .sc-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.2s var(--ease); }
.support-card:hover .sc-media img { transform: scale(1.06); }
.support-card .sc-body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.support-card h3 { font-size: 1.15rem; }
.support-card p { font-size: 15px; }
.support-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; }
.support-card li { font-size: 14.5px; color: var(--navy); padding: 8px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.support-card li::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); flex-shrink: 0; }

.footer-bottom .credit { color: rgba(255,255,255,.7); background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .4s var(--ease); padding-bottom: 2px; }
.footer-bottom .credit:hover { color: #fff; background-size: 100% 1px; }
.footer-top { padding-block: 90px 50px; }
.title-block { margin-top: 10px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 16px; }
.ind-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ind-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(35,37,94,.45); }
.ind-card .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--steel); color: var(--red); display: grid; place-items: center; }
.ind-card .ic svg { width: 22px; height: 22px; }
.ind-card h3 { font-size: 1.08rem; }
.ind-card p { font-size: 14.5px; }
.ind-card.lead-ind { background: var(--navy); border-color: var(--navy); }
.ind-card.lead-ind h3 { color: #fff; font-size: 1.35rem; }
.ind-card.lead-ind p { color: rgba(255,255,255,.75); font-size: 15.5px; }
.ind-card.lead-ind .ic { background: var(--red); color: #fff; }
@media (max-width: 1180px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } .ind-card.lead-ind { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- Mining band (home) ---------- */
.svc-group-label.mining { margin-top: 56px; }
.mine-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); padding-block: clamp(80px, 10vw, 130px); }
.mine-bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; }
.mine-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,15,44,.94) 0%, rgba(14,15,44,.8) 45%, rgba(14,15,44,.55) 100%); }
.mine-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.mine-copy { display: grid; gap: 22px; }
.mine-copy h2 { color: #fff; }
.mine-copy .lead { color: rgba(255,255,255,.8); }
.mine-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mine-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); backdrop-filter: blur(6px); transition: transform .5s var(--ease), border-color .4s, background .4s; }
.mine-card:hover { transform: translateY(-8px); border-color: var(--red); background: rgba(210,15,22,.12); }
.mc-img { aspect-ratio: 4 / 5; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.mine-card:hover .mc-img { transform: scale(1.05); }
.mc-body { padding: 18px; display: grid; gap: 6px; }
.mc-body span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: #ff6b70; }
.mc-body h3 { color: #fff; font-size: 1.05rem; }
.mc-body p { font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 980px) { .mine-inner { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mine-cards { grid-template-columns: 1fr; } .mc-img { aspect-ratio: 16 / 9; } }

/* ==========================================================
   CAREERS
   ========================================================== */
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  padding: 28px 26px; display: grid; gap: 16px; align-content: start;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.role-card:hover { box-shadow: 0 40px 70px -40px rgba(35,37,94,.55); border-color: transparent; }
.role-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.role-card .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--steel); color: var(--red); display: grid; place-items: center; transition: background .4s, color .4s; }
.role-card:hover .ic { background: var(--red); color: #fff; }
.role-card .ic svg { width: 22px; height: 22px; }
.role-loc { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.role-card h3 { font-size: 1.15rem; }
.role-card ul { list-style: none; padding: 0; margin: 0; display: grid; }
.role-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--navy); display: flex; gap: 10px; align-items: center; }
.role-card li::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); flex-shrink: 0; }
.scam-note { border-left: 3px solid var(--red); background: var(--white); padding: 18px 20px; font-size: 14.5px; border-radius: 0 var(--radius) var(--radius) 0; }
.scam-note b { color: var(--navy); font-family: var(--f-display); display: block; margin-bottom: 4px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .nav a.nav-link { padding: 10px 10px; font-size: 14px; }
  .nav a.nav-link::after { left: 10px; right: 10px; }
  .values-grid, .team-grid, .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ppe-row { grid-template-columns: repeat(3, 1fr); }
  .bee-grid { grid-template-columns: repeat(3, 1fr); }
  .bee-item:nth-child(3) { border-right: 0; }
  .bee-item:nth-child(4) { padding-left: 0; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .brand img { height: 40px; }
  .intro-grid, .story-grid, .zero-harm, .env-grid, .contact-grid, .current-feature { grid-template-columns: 1fr; }
  .story-grid .sticky { position: static; }
  .section-head.split-head { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: static; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
  .svc-nav .ttl { grid-column: 1 / -1; }
  .svc-block .head { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-light); }
  .svc-row { grid-template-columns: 60px 1fr 52px; }
  .svc-row p { grid-column: 2 / 3; grid-row: 2; }
  .svc-row .go { grid-row: 1 / span 2; grid-column: 3; }
  .proj-card, .proj-card.wide, .proj-grid.three .proj-card { grid-column: span 6; }
  .proj-grid.three .proj-card:last-child { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .current-feature .media { min-height: 360px; }
  .intro-media { margin-inline: 6% 8%; }
  .hscroll-sticky { position: static; height: auto; padding-block: 90px; }
  .hscroll { height: auto !important; }
  .hscroll-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--gutter); padding-bottom: 12px; scrollbar-width: none; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .step-card { scroll-snap-align: start; flex-basis: min(82vw, 380px); min-height: 340px; }
  .hscroll-progress { display: none; }
  .scroll-cue { display: none; }
  .hero-gear { width: 460px; height: 460px; margin-top: -230px; right: -200px; }
  .page-hero .drg-tag { display: none; }
  .law { grid-template-columns: 1fr; gap: 8px; }
  .law .yr { display: none; }
  .timeline::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; }
  .tl-item::before { left: 0; top: 30px; }
  .title-block { grid-template-columns: 1fr 1fr; }
  .title-block > div { border-bottom: 1px solid var(--line-light); }
  .title-block > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hud-group { gap: 18px 28px; }
  .hero-hud .hud-item:nth-child(3) { display: none; }
  .values-grid, .team-grid, .roles-grid, .pillars, .why-grid, .fleet-spec, .founders { grid-template-columns: 1fr; }
  .cap-list { grid-template-columns: 1fr; }
  .proj-card, .proj-card.wide, .proj-grid.three .proj-card { grid-column: 1 / -1; min-height: 380px; }
  .proj-card.cta-card { min-height: 0; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding-block: 70px 40px; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .ppe-row { grid-template-columns: repeat(2, 1fr); }
  .bee-grid { grid-template-columns: 1fr; }
  .bee-item { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .spec-card { left: -4%; top: 6%; min-width: 0; font-size: 10.5px; padding: 14px 16px; }
  .intro-media .img-inset { right: -6%; bottom: -8%; border-width: 5px; }
  .env-media .badge-rot { right: -10px; top: -30px; width: 116px; height: 116px; }
  .svc-nav { grid-template-columns: 1fr; }
  .svc-block .media { aspect-ratio: 4/3; }
  .spec-table { grid-template-columns: 1fr; }
  .spec-table div:nth-child(odd) { padding-right: 0; }
  .spec-strip div { padding-right: 20px; margin-right: 20px; }
  .filters button { padding: 10px 14px; font-size: 13.5px; }
  .svc-row { grid-template-columns: 1fr 48px; gap: 10px 16px; padding-block: 26px; }
  .svc-row .code { grid-column: 1; }
  .svc-row h3 { grid-column: 1; }
  .svc-row p { grid-column: 1; grid-row: auto; }
  .svc-row .go { grid-row: 1 / span 3; grid-column: 2; width: 46px; height: 46px; }
  .svc-row:hover { padding-inline: 12px; }
  .to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-l { opacity: 1; transform: none; }
  .js .split:not(.in) .word > span { transform: none; }
  .preloader { display: none; }
  .hero-slide { transform: none !important; }
}
