/* ==========================================================================
   DigiEx AI Labs — main stylesheet
   Brand: DigiEx (dark #070709, signal red #E3101E, Montserrat / Inter / JetBrains Mono)
   Motion language: cinematic, slow, editorial (preloader, curtain transitions,
   line reveals, scroll-scrubbed text fill, clip-path image reveals)
   ========================================================================== */

:root {
  --bg: #070709;
  --bg-2: #0b0b0e;
  --surface: #111115;
  --card: #15151a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --line-3: rgba(255, 255, 255, .28);
  --fg: #f4f4f6;
  --fg-2: #b4b3bc;
  --fg-3: #85848e;
  --red: #e3101e;
  --red-2: #d63c40;
  --red-light: #f58b8e;
  --red-faint: rgba(227, 16, 30, .08);
  --glow: rgba(227, 16, 30, .45);

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 80px;
  --radius: 18px;
  --section-y: clamp(96px, 15vh, 200px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: transparent; /* page colour lives on <html> so the fixed WebGL canvas shows through */
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Background (WebGL + overlay) ---------- */
/* Canvas sits at z-index 0 (negative z-index fixed canvases are dropped by some
   WebKit compositors); page content is lifted above it. */
#bg-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none;
}
main, .site-footer { position: relative; z-index: 1; }
.bg-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(7, 7, 9, .55) 100%);
}
.bg-overlay::after {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: overlay;
}
html.no-webgl {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(227, 16, 30, .18), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 1080px; }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(64px, 10vh, 120px); }
.section--flush-top { padding-top: 0; }
.section--surface { background: rgba(11, 11, 14, .92); }
.section--surface-solid { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
.section-head--center { text-align: center; justify-items: center; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Typography ---------- */
.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--f-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1;
}
.display-xl { font-size: clamp(44px, 7.6vw, 132px); line-height: .96; letter-spacing: -.005em; }
.display-l { font-size: clamp(36px, 5.4vw, 92px); line-height: 1; }
.display-m { font-size: clamp(30px, 3.8vw, 62px); line-height: 1.04; }
.display-s { font-size: clamp(24px, 2.5vw, 40px); line-height: 1.1; letter-spacing: .02em; }
.display-xl strong, .display-l strong, .display-m strong, .display-s strong { font-weight: 600; }
.accent { color: var(--red); }
.accent-soft { color: var(--red-light); }
.muted { color: var(--fg-3); }
.dim { color: var(--fg-2); }

.h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.01em; }
.h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.2; letter-spacing: -.005em; }
.h4 { font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.6; color: var(--fg-2); max-width: 58ch; }
.body-l { font-size: 18px; line-height: 1.7; color: var(--fg-2); }
.small { font-size: 14px; color: var(--fg-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--red-faint), 0 0 18px var(--glow);
}
.eyebrow--plain::before { display: none; }
.mono { font-family: var(--f-mono); letter-spacing: .08em; }
.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2);
  background: rgba(255, 255, 255, .02);
}
.tag--red { border-color: rgba(227, 16, 30, .4); color: var(--red-light); background: var(--red-faint); }

/* Split text (built by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }
html.js [data-split]:not(.is-split),
html.js [data-hero-title]:not(.is-split) { visibility: hidden; }
html.anim-safe [data-split], html.anim-safe [data-hero-title] { visibility: visible !important; }
[data-fill] .w { overflow: visible; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-ico: rgba(255, 255, 255, .12);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 7px 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-body); font-weight: 500; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn-sm { height: 44px; padding-left: 20px; font-size: 14px; gap: 12px; }
.btn-sm .btn-ico { width: 32px; height: 32px; }
.btn-primary { --btn-bg: var(--red); --btn-fg: #fff; --btn-ico: rgba(255, 255, 255, .18); box-shadow: 0 14px 44px -14px var(--glow); }
.btn-primary:hover { --btn-bg: #f0202d; box-shadow: 0 18px 54px -12px var(--glow); }
.btn-ghost { border: 1px solid var(--line-2); --btn-bg: rgba(255, 255, 255, .03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--line-3); --btn-bg: rgba(255, 255, 255, .07); }
.btn-light { --btn-bg: var(--fg); --btn-fg: #0a0a0c; --btn-ico: rgba(0, 0, 0, .08); }
.btn-label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
.btn-label > span { display: inline-block; transition: transform .55s var(--ease); }
.btn-label > span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
}
.btn:hover .btn-label > span { transform: translateY(-100%); }
.btn-ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-ico); flex: none; overflow: hidden;
  transition: transform .5s var(--ease);
}
.btn-ico svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .btn-ico svg { animation: arrow-slide .6s var(--ease); }
@keyframes arrow-slide { 0% { transform: translateX(0); } 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: translateX(0); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg); padding-bottom: 14px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2);
  transform-origin: left; transition: background .4s;
}
.link-arrow::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); z-index: 1;
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.link-arrow:hover::before { transform: scaleX(1); transform-origin: left; }
.link-arrow .circ {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.link-arrow .circ svg { width: 14px; height: 14px; }
.link-arrow:hover .circ { background: var(--red); border-color: var(--red); transform: translateX(4px); }

.text-link { color: var(--fg); border-bottom: 1px solid var(--line-3); transition: border-color .3s, color .3s; }
.text-link:hover { color: var(--red-light); border-color: var(--red); }

/* Diamond chapter marker (Montfort-style) */
.diamond {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
}
.diamond::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-3); transform: rotate(45deg);
  transition: border-color .5s, background .5s;
}
.diamond span { position: relative; font-family: var(--f-mono); font-size: 12px; color: var(--fg); }
.diamond--red::before { border-color: var(--red); background: var(--red-faint); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 120; display: none; place-items: center;
  background: var(--bg);
}
html.is-loading .preloader { display: grid; }
html.is-loading body { overflow: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 30px; width: min(320px, 70vw); }
.preloader-logo { width: 170px; opacity: 0; transform: translateY(14px); }
.preloader-bar { position: relative; width: 100%; height: 1px; background: var(--line-2); overflow: hidden; }
.preloader-bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px var(--glow); }
.preloader-meta { display: flex; justify-content: space-between; width: 100%; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--fg-3); text-transform: uppercase; }
.preloader-glow {
  position: absolute; width: 60vmin; height: 60vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 16, 30, .22), transparent 65%);
  filter: blur(20px); opacity: 0; pointer-events: none;
}

/* ---------- Page transition curtain ---------- */
.pt { position: fixed; inset: 0; z-index: 110; pointer-events: none; }
.pt-panel {
  position: absolute; inset: 0; background: var(--bg);
  transform: scaleY(0); transform-origin: bottom;
}
.pt-panel::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 24px var(--glow);
}
.pt-panel--2 { background: #120507; }
html.is-entering .pt-panel { transform: scaleY(1); }
.pt-logo {
  position: absolute; left: 50%; top: 50%; width: 120px; transform: translate(-50%, -50%); opacity: 0;
}
html.is-entering .pt-logo { opacity: 1; }
html.anim-safe .preloader, html.anim-safe .pt { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); isolation: isolate;
  will-change: transform; /* own compositing layer so WebKit/Safari keeps menus above animated content */
  transition: transform .6s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 9, .72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden:not(.mega-open) { transform: translateY(-101%); }
.header-inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 128px; height: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px;
  border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--fg-2);
  transition: color .3s, background .3s;
}
.nav-link svg { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.nav-link:hover, .has-mega.is-open > .nav-link, .nav-link[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, .05); }
.has-mega.is-open > .nav-link svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  padding: 8px var(--pad) 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-panel {
  max-width: calc(var(--maxw) - 2 * var(--pad)); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 12px; padding: 14px;
  background: rgba(16, 16, 20, .94); border: 1px solid var(--line-2); border-radius: 22px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
}
.mega-panel--2 { grid-template-columns: 1.6fr .9fr; }
.mega-col { padding: 14px; }
.mega-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 12px 12px; }
.mega-links { display: grid; gap: 2px; }
.mega-links--2col { grid-template-columns: 1fr 1fr; }
.mega-link {
  display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start;
  padding: 12px; border-radius: 14px; transition: background .3s;
}
.mega-link:hover, .mega-link:focus-visible { background: rgba(255, 255, 255, .05); }
.mega-link .ico {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: var(--fg-2);
  transition: color .3s, border-color .3s, background .3s;
}
.mega-link:hover .ico { color: #fff; border-color: var(--red); background: var(--red); }
.mega-link .ico svg { width: 18px; height: 18px; }
.mega-link strong { display: block; font-weight: 500; font-size: 15px; color: var(--fg); }
.mega-link span { display: block; font-size: 13px; line-height: 1.45; color: var(--fg-3); margin-top: 2px; }
.mega-link--simple { grid-template-columns: 1fr; padding: 10px 12px; }
.mega-feature {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 260px; border-radius: 16px; overflow: hidden; padding: 22px;
}
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.6); transition: transform 1.2s var(--ease); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(7, 7, 9, .92)); }
.mega-feature > * { position: relative; z-index: 1; }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature .tag { align-self: flex-start; margin-bottom: 12px; }
.mega-feature strong { font-family: var(--f-display); font-weight: 500; font-size: 18px; line-height: 1.3; }
.mega-feature .more { margin-top: 10px; font-size: 13px; color: var(--red-light); }

/* Menu toggle */
.menu-toggle {
  display: none; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.menu-toggle-lines { position: relative; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.menu-toggle-lines i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle-lines i:first-child { top: 12px; }
.menu-toggle-lines i:last-child { top: 18px; }
html.menu-open .menu-toggle-lines i:first-child { top: 15px; transform: rotate(45deg); }
html.menu-open .menu-toggle-lines i:last-child { top: 15px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; padding: calc(var(--header-h) + 24px) var(--pad) 32px;
  background: rgba(7, 7, 9, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
html.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.mm-group { border-bottom: 1px solid var(--line); }
.mm-group > button, .mm-group > a {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(28px, 7vw, 44px); letter-spacing: .02em; text-align: left;
}
.mm-group > button svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.mm-group.is-open > button svg { transform: rotate(45deg); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mm-group.is-open .mm-sub { grid-template-rows: 1fr; }
.mm-sub > div { overflow: hidden; }
.mm-sub ul { display: grid; gap: 4px; padding: 0 0 20px; }
.mm-sub a { display: block; padding: 8px 0; font-size: 17px; color: var(--fg-2); }
.mm-sub a:hover { color: var(--fg); }
.mm-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 18px; }
.mm-foot .small a { color: var(--fg-2); }
.mm-item { opacity: 0; transform: translateY(30px); }
html.menu-open .mm-item { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
html.menu-open .mm-item:nth-child(2) { transition-delay: .08s; }
html.menu-open .mm-item:nth-child(3) { transition-delay: .14s; }
html.menu-open .mm-item:nth-child(4) { transition-delay: .2s; }
html.menu-open .mm-item:nth-child(5) { transition-delay: .26s; }
html.menu-open .mm-item:nth-child(6) { transition-delay: .32s; }

/* ---------- Chapter navigation & progress ---------- */
.chapters {
  position: fixed; right: clamp(14px, 1.6vw, 28px); top: 50%; transform: translateY(-50%);
  z-index: 40; display: grid; gap: 4px; opacity: 0; transition: opacity .6s var(--ease);
}
.chapters.is-ready { opacity: 1; }
.chapters a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 22px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
}
.chapters a span { opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.chapters a i { display: block; width: 14px; height: 1px; background: var(--line-3); transition: width .5s var(--ease), background .5s; }
.chapters:hover a span, .chapters a.is-active span { opacity: 1; transform: none; }
.chapters a.is-active { color: var(--fg); }
.chapters a.is-active i { width: 34px; background: var(--red); }
.chapters:not(:hover) a:not(.is-active) span { opacity: 0; }
.progress { position: fixed; right: 0; top: 0; bottom: 0; width: 2px; z-index: 61; background: rgba(255, 255, 255, .04); }
.progress i { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px var(--glow); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 6vh) 0 7vh;
}
.hero-title { max-width: 14ch; font-size: clamp(44px, 7.4vw, 124px); }
.hero-title .accent { font-weight: 600; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; margin-top: clamp(28px, 4.5vh, 56px); }
.hero-lede { max-width: 62ch; }
.hero-actions { justify-content: flex-end; }
.hero-stats { margin-top: clamp(32px, 5vh, 60px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stat { padding: 22px 26px 0 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--f-display); font-weight: 300; font-size: clamp(34px, 3.4vw, 56px); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.stat-num sup, .stat-num .u { color: var(--red); font-size: .55em; vertical-align: super; margin-left: 2px; font-weight: 400; }
.stat-label { margin-top: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); line-height: 1.6; }
.hero .stats { min-width: min(620px, 100%); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3);
}
.scroll-cue i { position: relative; display: block; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 10vh) 0 clamp(56px, 9vh, 110px);
}
.page-hero--short { min-height: 70vh; min-height: 70svh; }
.page-hero .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
.page-hero .crumbs a:hover { color: var(--fg); }
.page-hero .crumbs i { width: 18px; height: 1px; background: var(--line-3); }
.page-hero .crumbs .here { color: var(--red-light); }
.page-hero h1 { max-width: 16ch; }
.page-hero-foot { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(32px, 5vh, 56px); }
.page-hero-foot .lede { max-width: 56ch; }

.hero-media {
  position: relative; height: min(88vh, 900px); overflow: hidden; border-radius: 0;
}
.hero-media img { width: 100%; height: 120%; object-fit: cover; }

/* ---------- Media treatments ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.06) brightness(.82); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 9, 0) 45%, rgba(7, 7, 9, .7) 100%),
    linear-gradient(135deg, rgba(227, 16, 30, .18), rgba(7, 7, 9, 0) 55%);
  mix-blend-mode: normal;
}
.media--tint::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #5a0a10; mix-blend-mode: soft-light; opacity: .7;
}
.media--color img { filter: contrast(1.04) brightness(.9) saturate(.9); }
.media:hover img { filter: grayscale(0) contrast(1.04) brightness(.92); }
.media--static:hover img { filter: grayscale(.55) contrast(1.06) brightness(.82); }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--1x1 { aspect-ratio: 1; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media-caption {
  position: absolute; left: 22px; bottom: 20px; right: 22px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2);
}
[data-reveal-img] { will-change: clip-path; }
[data-reveal-img] img { will-change: transform; }

/* ---------- Marquee ---------- */
.marquee-wrap { padding-block: clamp(40px, 6vh, 64px); border-block: 1px solid var(--line); background: rgba(7, 7, 9, .6); }
.marquee-head { text-align: center; margin-bottom: 28px; }
.marquee {
  overflow: hidden; display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 5vw, 80px); padding-right: clamp(40px, 5vw, 80px); flex: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.01em;
  color: var(--fg-3); transition: color .4s;
}
.wordmark:hover { color: var(--fg); }
.wordmark i { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); opacity: .6; }

/* ---------- Statement (Montfort-style big copy) ---------- */
.statement { display: grid; grid-template-columns: 90px 1fr; gap: 32px; }
.statement-body { display: grid; gap: clamp(40px, 6vh, 72px); }
.statement-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.statement-foot p { color: var(--fg-2); font-size: 17px; line-height: 1.75; }
.statement-foot .link-arrow { justify-self: start; }

/* Word fill paragraph */
.wordfill {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3.8vw, 60px);
  line-height: 1.18; letter-spacing: -.015em; text-align: center; max-width: 24ch; margin-inline: auto;
}
.wordfill strong { font-weight: 600; }

/* ---------- Stories carousel ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.carousel-ctrl { display: flex; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--red); border-color: var(--red); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }
.carousel {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--pad); scroll-padding-inline: var(--pad); cursor: grab;
  margin-inline: auto; max-width: 100%;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging a { pointer-events: none; }
@media (min-width: 1440px) { .carousel { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--pad)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--pad)); } }
.story-card {
  position: relative; flex: 0 0 clamp(290px, 31vw, 480px); aspect-ratio: 4 / 5; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
  background: var(--surface); isolation: isolate;
}
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.6) brightness(.7) contrast(1.05); transition: transform 1.4s var(--ease), filter 1s var(--ease); }
.story-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 7, 9, .7) 0%, rgba(7, 7, 9, .05) 40%, rgba(7, 7, 9, .85) 100%); }
.story-card:hover img { transform: scale(1.06); filter: grayscale(0) brightness(.78) contrast(1.05); }
.story-card-top { display: flex; justify-content: space-between; gap: 20px; }
.story-card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25; max-width: 18ch; }
.story-card .arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-3); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.story-card .arrow svg { width: 14px; height: 14px; }
.story-card:hover .arrow { background: var(--red); border-color: var(--red); transform: rotate(45deg); }
.story-card-bottom { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.story-metric { font-family: var(--f-display); font-weight: 300; font-size: clamp(36px, 3.2vw, 52px); line-height: 1; }
.story-metric small { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }

/* ---------- Pillars ---------- */
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.pillar + .pillar { margin-top: clamp(100px, 16vh, 200px); }
.pillar--flip .pillar-text { order: 2; }
.pillar-text { display: grid; gap: 26px; align-content: start; }
.pillar-text .num-row { display: flex; align-items: center; gap: 18px; }
.pillar-text .num-row .mono { font-size: 11.5px; color: var(--fg-3); letter-spacing: .2em; text-transform: uppercase; }
.pillar-text p { color: var(--fg-2); font-size: 17px; line-height: 1.75; max-width: 46ch; }
.pillar-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar-list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-2); }
.pillar-list li svg { width: 16px; height: 16px; color: var(--red); flex: none; }

/* Stack visual (constellation) */
.stack-visual {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-inline: auto;
  border-radius: 50%;
}
.stack-visual .ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.stack-visual .ring--1 { inset: 8%; }
.stack-visual .ring--2 { inset: 24%; border-style: dashed; border-color: rgba(255, 255, 255, .1); animation: spin 80s linear infinite; }
.stack-visual .ring--3 { inset: 38%; border-color: rgba(227, 16, 30, .35); box-shadow: 0 0 80px rgba(227, 16, 30, .18) inset; }
@keyframes spin { to { transform: rotate(360deg); } }
.stack-visual svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stack-visual svg.links line { stroke: rgba(227, 16, 30, .45); stroke-width: 1; stroke-dasharray: 3 7; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.stack-core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(227, 16, 30, .55), rgba(120, 8, 16, .4) 45%, rgba(20, 6, 8, .9) 75%);
  border: 1px solid rgba(227, 16, 30, .6);
  box-shadow: 0 0 60px rgba(227, 16, 30, .35), 0 0 160px rgba(227, 16, 30, .18);
  animation: corepulse 4s ease-in-out infinite;
}
.stack-core span { font-family: var(--f-mono); font-size: clamp(9px, .8vw, 11px); letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; }
.stack-core strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .02em; text-transform: none; }
@keyframes corepulse { 50% { box-shadow: 0 0 80px rgba(227, 16, 30, .5), 0 0 200px rgba(227, 16, 30, .25); } }
.chip {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(18, 18, 22, .9);
  font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--fg);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7);
  animation: float 6s ease-in-out infinite;
}
.chip svg { width: 16px; height: 16px; color: var(--red-light); }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 8px)); } }

/* ---------- Horizontal services ---------- */
.hs { position: relative; overflow: hidden; }
@media (min-width: 901px) {
  .hs { min-height: 100vh; padding-block: calc(var(--header-h) + 20px) 36px; display: flex; flex-direction: column; justify-content: center; }
  .hs .svc-card .media { aspect-ratio: auto; height: clamp(130px, 21vh, 250px); }
  .hs .svc-card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
.hs-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(24px, 3.6vh, 48px); }
.hs-counter { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--fg-3); white-space: nowrap; }
.hs-counter b { color: var(--fg); font-weight: 500; }
.hs-track { display: flex; gap: 22px; padding-left: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); padding-right: var(--pad); width: max-content; will-change: transform; }
.svc-card {
  position: relative; width: clamp(300px, 36vw, 560px); flex: none;
  display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01) 50%, rgba(227, 16, 30, .04)), rgba(16, 16, 20, .9);
  border: 1px solid var(--line-2);
}
.svc-card .media { border-radius: 0; aspect-ratio: 16 / 9; }
.svc-card-body { display: grid; gap: 14px; align-content: start; padding: 24px 28px 28px; }
.svc-status { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.svc-status .live { display: inline-flex; align-items: center; gap: 8px; color: #6ee7a8; }
.svc-status .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.svc-card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.12; }
.svc-card h3 .n { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .2em; color: var(--red-light); margin-bottom: 10px; }
.svc-card p { color: var(--fg-2); font-size: 15px; line-height: 1.65; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card .link-arrow { justify-self: start; margin-top: 6px; }
.hs-progress { margin-top: 40px; height: 1px; background: var(--line-2); position: relative; }
.hs-progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------- Industries tabs ---------- */
.ind { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.ind-list { border-top: 1px solid var(--line); }
.ind-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left;
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(20px, 2vw, 30px); color: var(--fg-3); transition: color .4s var(--ease), padding .5s var(--ease);
}
.ind-btn .idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; color: var(--fg-3); }
.ind-btn:hover { color: var(--fg-2); }
.ind-btn[aria-selected="true"] { color: var(--fg); padding-left: 18px; }
.ind-btn[aria-selected="true"] .idx { color: var(--red); }
.ind-btn { position: relative; }
.ind-btn::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: translateY(-50%) scale(0); transition: transform .5s var(--ease); box-shadow: 0 0 14px var(--glow); }
.ind-btn[aria-selected="true"]::before { transform: translateY(-50%) scale(1); }
.ind-panels { position: sticky; top: calc(var(--header-h) + 40px); }
.ind-panel { display: none; }
.ind-panel.is-active { display: grid; gap: 26px; animation: panelIn .9s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ind-panel .media { aspect-ratio: 16 / 10; }
.ind-panel .media img { animation: imgIn 1.4s var(--ease); }
@keyframes imgIn { from { transform: scale(1.12); } to { transform: scale(1); } }
.ind-panel h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); }
.ind-panel p { color: var(--fg-2); font-size: 16.5px; line-height: 1.7; max-width: 52ch; }

/* ---------- Approach / timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; padding-left: clamp(40px, 6vw, 96px); }
.timeline-line { position: absolute; left: clamp(12px, 2vw, 30px); top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.timeline-line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--red), var(--red-2)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px var(--glow); }
.t-step { position: relative; display: grid; grid-template-columns: 140px 1fr 1fr; gap: 32px; padding: clamp(32px, 5vh, 56px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.t-step:first-child { border-top: 1px solid var(--line); }
.t-step::before {
  content: ""; position: absolute; left: calc(-1 * clamp(40px, 6vw, 96px) + clamp(12px, 2vw, 30px) - 5px); top: calc(clamp(32px, 5vh, 56px) + 14px);
  width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-3); transition: background .5s, border-color .5s, box-shadow .5s;
}
.t-step.is-active::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px var(--red-faint), 0 0 18px var(--glow); }
.t-num { font-family: var(--f-display); font-weight: 200; font-size: clamp(48px, 5vw, 80px); line-height: .9; color: var(--fg-3); transition: color .5s; }
.t-step.is-active .t-num { color: var(--fg); }
.t-step h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.t-step h3 small { display: block; margin-bottom: 10px; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .2em; color: var(--red-light); text-transform: uppercase; }
.t-step p { color: var(--fg-2); font-size: 16px; line-height: 1.75; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: grid; gap: 16px; align-content: start;
  padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius);
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: border-color .5s var(--ease), transform .6s var(--ease), background .5s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(227, 16, 30, .14), transparent 60%);
}
.card:hover { border-color: rgba(255, 255, 255, .18); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--red-light);
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.3; }
.card p { color: var(--fg-2); font-size: 15px; line-height: 1.7; }
.card .card-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--fg-3); }
.card--link .go { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg); }
.card--link .go svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.card--link:hover .go svg { transform: translateX(4px); }
.card--tall { min-height: 300px; }
.card--feature { padding: 0; }
.card--feature .media { border-radius: 0; aspect-ratio: 16 / 10; }
.card--feature .card-body { padding: 26px 28px 30px; display: grid; gap: 12px; }

/* Numbered rows */
.rows { border-top: 1px solid var(--line); }
.row-item {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px;
  padding: clamp(28px, 4vh, 44px) 0; border-bottom: 1px solid var(--line); align-items: start;
  transition: background .5s var(--ease);
}
.row-item:hover { background: linear-gradient(90deg, rgba(227, 16, 30, .05), transparent 60%); }
.row-item .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--red-light); padding-top: 8px; }
.row-item h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.2; }
.row-item p { color: var(--fg-2); font-size: 16px; line-height: 1.75; }

/* Split section */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.split--top { align-items: start; }
.split .split-text { display: grid; gap: 24px; align-content: start; }
.split .split-text p { color: var(--fg-2); font-size: 17px; line-height: 1.75; }
.split--wide-text { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }

/* Check list */
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--fg-2); font-size: 15.5px; line-height: 1.6; }
.checks li svg { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.checks strong { color: var(--fg); font-weight: 500; }

/* Tabs feature */
.tabs { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.tab-list { display: grid; gap: 8px; }
.tab-btn {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; text-align: left; padding: 22px 24px;
  border-radius: 16px; border: 1px solid transparent; transition: background .4s, border-color .4s;
}
.tab-btn strong { font-family: var(--f-display); font-weight: 500; font-size: 19px; color: var(--fg-3); transition: color .4s; }
.tab-btn .tab-desc { grid-column: 1 / -1; color: var(--fg-2); font-size: 15px; line-height: 1.65; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.tab-btn .tab-desc > span { overflow: hidden; }
.tab-btn .tab-bar { grid-column: 1 / -1; height: 2px; background: var(--line); position: relative; overflow: hidden; display: none; }
.tab-btn .tab-bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.tab-btn[aria-selected="true"] { background: rgba(255, 255, 255, .035); border-color: var(--line-2); }
.tab-btn[aria-selected="true"] strong { color: var(--fg); }
.tab-btn[aria-selected="true"] .tab-desc { grid-template-rows: 1fr; }
.tab-btn[aria-selected="true"] .tab-bar { display: block; }
.tab-btn[aria-selected="true"] .tab-bar i { animation: tabbar 7s linear forwards; }
.tabs.is-paused .tab-btn[aria-selected="true"] .tab-bar i { animation-play-state: paused; }
@keyframes tabbar { to { transform: scaleX(1); } }
.tab-btn .plus { width: 22px; height: 22px; color: var(--fg-3); transition: transform .5s var(--ease); }
.tab-btn[aria-selected="true"] .plus { transform: rotate(45deg); color: var(--red); }
.tab-panels { position: sticky; top: calc(var(--header-h) + 40px); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: panelIn .9s var(--ease); }

/* Accordion */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr 32px; gap: 24px; align-items: center;
  padding: clamp(24px, 3.4vh, 36px) 0;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--red-light); }
.acc summary h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 2vw, 30px); line-height: 1.25; transition: color .3s; }
.acc summary:hover h3 { color: var(--red-light); }
.acc summary .pm { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--fg); transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc details[open] summary .pm { background: var(--red); border-color: var(--red); }
.acc details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc .acc-body { padding: 0 56px clamp(26px, 3.4vh, 38px) 94px; color: var(--fg-2); font-size: 16.5px; line-height: 1.8; max-width: 900px; }
.acc .acc-body p + p { margin-top: 14px; }

/* Phases */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.phase { position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: grid; gap: 18px; align-content: start; }
.phase .mono { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red-light); }
.phase h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.25; }
.phase p { color: var(--fg-2); font-size: 15px; line-height: 1.7; }
.phase-meter { display: grid; gap: 8px; }
.phase-meter .lbl { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.phase-meter .bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.phase-meter .bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-light)); transform-origin: left; }

/* Pipeline */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pipeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-3), transparent); }
.pipe-step { position: relative; display: grid; gap: 14px; justify-items: center; text-align: center; padding: 0 6px; }
.pipe-step .dot { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); color: var(--red-light); position: relative; }
.pipe-step .dot svg { width: 22px; height: 22px; }
.pipe-step:hover .dot { border-color: var(--red); box-shadow: 0 0 0 6px var(--red-faint), 0 0 24px var(--glow); }
.pipe-step h4 { font-family: var(--f-display); font-weight: 500; font-size: 16px; }
.pipe-step p { font-size: 13.5px; color: var(--fg-3); line-height: 1.6; }

/* Dashboard mock */
.dash {
  position: relative; border-radius: 22px; border: 1px solid var(--line-2); overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 22, 28, .96), rgba(12, 12, 15, .96));
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.dash-top .dots { display: flex; gap: 6px; }
.dash-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.dash-top .seg { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-family: var(--f-mono); font-size: 11px; }
.dash-top .seg span { padding: 4px 10px; border-radius: 7px; color: var(--fg-3); }
.dash-top .seg span.on { background: rgba(255, 255, 255, .1); color: var(--fg); }
.dash-body { padding: 22px; display: grid; gap: 18px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.kpi .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.kpi .v { margin-top: 6px; font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; }
.kpi .v.good { color: #6ee7a8; }
.dash-chart { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.chart-box { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.chart-box .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; display: flex; justify-content: space-between; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--red), rgba(227, 16, 30, .25)); height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease); }
.bars i:nth-child(even) { background: linear-gradient(180deg, rgba(245, 139, 142, .9), rgba(245, 139, 142, .15)); }
.is-in .bars i { transform: scaleY(1); }
.bars i:nth-child(1) { transition-delay: .02s; } .bars i:nth-child(2) { transition-delay: .06s; } .bars i:nth-child(3) { transition-delay: .1s; }
.bars i:nth-child(4) { transition-delay: .14s; } .bars i:nth-child(5) { transition-delay: .18s; } .bars i:nth-child(6) { transition-delay: .22s; }
.bars i:nth-child(7) { transition-delay: .26s; } .bars i:nth-child(8) { transition-delay: .3s; } .bars i:nth-child(9) { transition-delay: .34s; }
.bars i:nth-child(10) { transition-delay: .38s; } .bars i:nth-child(11) { transition-delay: .42s; } .bars i:nth-child(12) { transition-delay: .46s; }
.bars i:nth-child(13) { transition-delay: .5s; } .bars i:nth-child(14) { transition-delay: .54s; }
.models { display: grid; gap: 12px; }
.model-row { display: grid; gap: 6px; }
.model-row .top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--fg-2); }
.model-row .top b { font-weight: 500; color: var(--fg); font-family: var(--f-mono); font-size: 12px; }
.model-row .track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.model-row .track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.model-row:nth-child(2) .track i { background: var(--red-light); }
.model-row:nth-child(3) .track i { background: #8a8a93; }
.model-row:nth-child(4) .track i { background: #4a4a52; }
.is-in .model-row .track i { transform: scaleX(1); }
.dash-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.route { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 12.5px; color: var(--fg-2); }
.route b { display: block; font-family: var(--f-display); font-size: 18px; color: var(--fg); font-weight: 500; margin-top: 4px; }

/* Quote / testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote {
  display: grid; gap: 28px; align-content: space-between; padding: 34px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); border: 1px solid var(--line);
}
.quote .qm { font-family: var(--f-display); font-size: 64px; line-height: .6; color: var(--red); height: 28px; }
.quote blockquote { font-family: var(--f-display); font-weight: 400; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 500; background: linear-gradient(135deg, var(--red), #7a0a12); color: #fff; flex: none; }
.quote figcaption strong { display: block; font-weight: 500; font-size: 15px; }
.quote figcaption span { font-size: 13px; color: var(--fg-3); }
.big-quote { display: grid; gap: 34px; max-width: 1100px; }
.big-quote blockquote { font-family: var(--f-display); font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.3; letter-spacing: -.01em; }
.big-quote figcaption { display: flex; align-items: center; gap: 16px; color: var(--fg-2); }

/* Talent band */
.talent { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.talent-media { position: relative; }
.talent-badge {
  position: absolute; left: -24px; bottom: 32px; z-index: 3;
  padding: 20px 24px; border-radius: 18px; background: rgba(16, 16, 20, .9); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.talent-badge .stat-num { font-size: clamp(36px, 3.4vw, 54px); }
.feature-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.feature-mini h4 { font-family: var(--f-display); font-weight: 600; font-size: 16px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.feature-mini h4 svg { width: 16px; height: 16px; color: var(--red); }
.feature-mini p { color: var(--fg-3); font-size: 14.5px; line-height: 1.65; }

/* Company band */
.company { position: relative; border-radius: 26px; overflow: hidden; min-height: 78vh; display: flex; align-items: flex-end; isolation: isolate; }
.company > .media { position: absolute; inset: 0; border-radius: 0; z-index: -1; }
.company > .media::after { background: linear-gradient(180deg, rgba(7, 7, 9, .25), rgba(7, 7, 9, .92)); }
.company-body { padding: clamp(28px, 5vw, 72px); display: grid; gap: 26px; max-width: 900px; }
.company-body p { color: var(--fg-2); font-size: 17px; line-height: 1.75; max-width: 60ch; }

/* News */
.news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-card { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .4s, background .4s; }
.news-card:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.news-card .media { aspect-ratio: 4 / 3; border-radius: 12px; }
.news-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.35; margin: 10px 0 14px; }
.news-card .meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }

/* Post cards (insights) */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card .media { aspect-ratio: 16 / 11; }
.post-card .meta { display: flex; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.post-card .meta .cat { color: var(--red-light); }
.post-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 21px; line-height: 1.3; transition: color .3s; }
.post-card:hover h3 { color: var(--red-light); }
.post-card p { color: var(--fg-2); font-size: 15px; line-height: 1.65; }
.post-card.is-hidden { display: none; }
.featured-post { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.featured-post .media { aspect-ratio: 16 / 10; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; color: var(--fg-2); transition: background .3s, color .3s, border-color .3s;
}
.filter:hover { color: var(--fg); border-color: var(--line-3); }
.filter[aria-pressed="true"] { background: var(--fg); color: #0a0a0c; border-color: var(--fg); }

/* Article */
.article-head { display: grid; gap: 28px; max-width: 980px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.article-meta b { color: var(--fg); font-weight: 500; }
.prose { max-width: 720px; margin-inline: auto; font-size: 18px; line-height: 1.85; color: #d4d3da; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2.2em; font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; color: var(--fg); }
.prose h3 { margin-top: 1.8em; font-family: var(--f-display); font-weight: 600; font-size: 21px; color: var(--fg); }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 7px; height: 7px; border: 1px solid var(--red); transform: rotate(45deg); }
.prose blockquote { padding: 6px 0 6px 28px; border-left: 2px solid var(--red); font-family: var(--f-display); font-size: 24px; line-height: 1.45; color: var(--fg); }
.prose a { color: var(--red-light); border-bottom: 1px solid rgba(245, 139, 142, .4); }
.prose strong { color: var(--fg); font-weight: 600; }
.story-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.story-facts > div { padding: 22px 22px 22px 0; }
.story-facts > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.story-facts .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.story-facts .v { margin-top: 8px; font-size: 15.5px; color: var(--fg); }
.metric-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.metric { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(227, 16, 30, .08), rgba(255, 255, 255, .01) 60%); }
.metric .stat-num { font-size: clamp(44px, 5vw, 76px); }
.metric p { margin-top: 14px; color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--fg-3); }

/* Roles list */
.roles { border-top: 1px solid var(--line); }
.role {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), background .5s;
}
.role:hover { padding-inline: 18px; background: rgba(255, 255, 255, .025); }
.role h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); }
.role .small { font-size: 14.5px; }
.role .circ { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.role .circ svg { width: 14px; height: 14px; }
.role:hover .circ { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }

/* Locations */
.locations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.loc { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: grid; gap: 8px; }
.loc .mono { font-size: 11px; color: var(--red-light); letter-spacing: .18em; text-transform: uppercase; }
.loc h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; }
.loc p { font-size: 14.5px; color: var(--fg-3); line-height: 1.6; }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-info { display: grid; gap: 30px; }
.contact-item { display: grid; gap: 6px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.contact-item .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
.contact-item .v { font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 24px); font-weight: 400; }
.contact-item .v a:hover { color: var(--red-light); }
.form { display: grid; gap: 18px; padding: clamp(26px, 3vw, 44px); border-radius: 24px; border: 1px solid var(--line-2); background: rgba(16, 16, 20, .85); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); color: var(--fg);
  font: 400 15.5px/1.4 var(--f-body); transition: border-color .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa9b3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #15151a; color: var(--fg); }
.field textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: rgba(227, 16, 30, .04); }
.field input::placeholder, .field textarea::placeholder { color: #5f5e68; }
.form-note { font-size: 13px; color: var(--fg-3); }
.form-note a { color: var(--fg-2); border-bottom: 1px solid var(--line-3); }
.form-success { display: none; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); color: #a7f3d0; font-size: 15px; }
.form.is-sent .form-success { display: block; }

/* CTA band */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta-inner { position: relative; display: grid; justify-items: center; gap: 34px; }
.cta-glow {
  position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(227, 16, 30, .2) 0%, rgba(227, 16, 30, .06) 35%, transparent 62%);
}
.cta-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(227, 16, 30, .25); transform: translate(-50%, -50%); pointer-events: none; }
.cta h2 { max-width: 18ch; }
.cta .lede { margin-inline: auto; }
.cta-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 980px; margin-top: 30px; border-top: 1px solid var(--line); text-align: left; }
.cta-contacts > div { padding: 24px 24px 0 0; }
.cta-contacts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.cta-contacts .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
.cta-contacts .v { margin-top: 8px; font-size: 15.5px; }
.cta-contacts a:hover { color: var(--red-light); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #050507; border-top: 1px solid var(--line); padding-top: clamp(64px, 9vh, 110px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 64px; }
.footer-brand { display: grid; gap: 22px; align-content: start; }
.footer-brand img { width: 150px; }
.footer-brand p { color: var(--fg-3); font-size: 14.5px; line-height: 1.7; max-width: 36ch; }
.footer-col h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--fg-2); transition: color .3s; }
.footer-col a:hover { color: var(--fg); }
.footer-word {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .8;
  font-size: clamp(56px, 14.2vw, 260px); letter-spacing: -.03em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(227, 16, 30, .4), transparent 75%); -webkit-background-clip: text; background-clip: text;
  margin-bottom: -.12em; user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0 30px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--fg); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--fg-2); transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 16px; height: 16px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--pad); }
.notfound .code { font-family: var(--f-display); font-weight: 200; font-size: clamp(120px, 24vw, 340px); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); }

/* Legal */
.legal .prose h2 { font-size: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .page-hero-foot { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .pipeline::before { display: none; }
  .locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .chapters { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .section-head--split { grid-template-columns: 1fr; }
  .pillar, .split, .split--wide-text, .talent, .ind, .tabs, .contact-grid, .featured-post { grid-template-columns: 1fr; }
  .pillar--flip .pillar-text { order: 0; }
  .ind-panels, .tab-panels { position: relative; top: 0; }
  .grid-3, .quotes, .posts, .phases, .metric-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-item { grid-template-columns: 60px 1fr; }
  .row-item p { grid-column: 2; }
  .t-step { grid-template-columns: 90px 1fr; }
  .t-step p { grid-column: 2; }
  .news { grid-template-columns: 1fr; }
  .statement { grid-template-columns: 1fr; }
  .statement-foot { grid-template-columns: 1fr; }
  .talent-badge { left: 16px; }
  .story-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .story-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .role { grid-template-columns: 1fr auto; }
  .role .small { display: none; }
}
@media (max-width: 900px) {
  .hs-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .hs-track::-webkit-scrollbar { display: none; }
  .svc-card { width: min(84vw, 460px); scroll-snap-align: start; }
  .hs-progress { display: none; }
}
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
  .hero .stats { min-width: 0; }
  .grid-2, .grid-3, .grid-4, .quotes, .posts, .phases, .metric-band, .form-row, .dash-chart, .dash-route { grid-template-columns: 1fr; }
  .feature-mini { grid-template-columns: 1fr; }
  .cta-contacts { grid-template-columns: 1fr; }
  .cta-contacts > div + div { padding-left: 0; border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .carousel-head, .hs-head { flex-direction: column; align-items: flex-start; }
  .news-card { grid-template-columns: 1fr; }
  .acc summary { grid-template-columns: 40px 1fr 32px; gap: 14px; }
  .acc .acc-body { padding: 0 0 26px 54px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locations { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .company { min-height: 90vh; }
  .chip { font-size: 11px; height: 30px; padding: 0 10px 0 8px; }
  .chip svg { width: 13px; height: 13px; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .t-step { grid-template-columns: 1fr; gap: 14px; }
  .t-step p { grid-column: 1; }
  .row-item { grid-template-columns: 1fr; gap: 12px; }
  .row-item p { grid-column: 1; }
  .btn { height: 50px; font-size: 14.5px; }
  .story-facts { grid-template-columns: 1fr; }
  .story-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .chip span { display: none; }
  .chip { padding: 0 8px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .bars i, .model-row .track i { transform: none; }
}
