/* Brand: brand/primetek-brand.html (Ink, Steel, Mist, Beam, Arc, Pulse) */
@font-face { font-family: "Archivo"; src: url("brand/fonts/Archivo.ttf") format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("brand/fonts/JetBrainsMono.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0a0f1c;
  --bg-2: #111a2e;
  --steel: #1b2740;
  --text: #eef2f8;
  --muted: #97a4bc;
  --line: #25324e;
  --accent: #38c6f4;   /* Arc: Lab */
  --accent-2: #ff5a7a; /* Pulse */
  --accent-3: #ffb020; /* Beam: Group */
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --r: 2px;
  --grad: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
h1, h2, .intro__word, .frame h3, .unit h3 { font-family: var(--display); font-stretch: 110%; font-weight: 600; }

/* Brand lockup: mark + PRIMETEK + sub */
.lockup { display: inline-flex; align-items: center; gap: .9em; font-size: var(--s, 16px); line-height: 1; color: var(--text); }
.lockup .mk { height: 3em; width: auto; aspect-ratio: 72 / 80; flex: none; color: currentColor; --dot: var(--accent-3); }
.lockup .wm { display: grid; gap: .5em; }
.lockup .name { font: 800 1.7em/1 var(--display); font-stretch: 125%; letter-spacing: .03em; }
.lockup .sub { font: 500 .62em/1 "JetBrains Mono", monospace; letter-spacing: .48em; text-transform: uppercase; opacity: .7; padding-left: .1em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
::selection { background: var(--accent-2); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-items: center;
  transition: clip-path 1.2s var(--ease) .1s;
  clip-path: inset(0 0 0 0);
}
.intro.done { clip-path: inset(50% 0 50% 0); pointer-events: none; }
.intro__word { display: flex; gap: .08em; font-weight: 600; font-size: clamp(32px, 7vw, 88px); letter-spacing: .14em; }
.intro__word span { opacity: 0; transform: translateY(40%); filter: blur(12px); animation: letter .9s var(--ease) forwards; }
.intro__word span:nth-child(1) { animation-delay: .05s } .intro__word span:nth-child(2) { animation-delay: .1s }
.intro__word span:nth-child(3) { animation-delay: .15s } .intro__word span:nth-child(4) { animation-delay: .2s }
.intro__word span:nth-child(5) { animation-delay: .25s } .intro__word span:nth-child(6) { animation-delay: .3s }
.intro__word span:nth-child(7) { animation-delay: .35s } .intro__word span:nth-child(8) { animation-delay: .4s }
.intro__line { position: absolute; bottom: 38%; width: min(320px, 60vw); height: 1px; background: var(--grad); transform: scaleX(0); animation: line 1.2s var(--ease) .5s forwards; }
.intro__bars span { position: absolute; left: 0; right: 0; height: 10vh; background: #000; z-index: 1; }
.intro__bars span:first-child { top: 0 } .intro__bars span:last-child { bottom: 0 }
@keyframes letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes line { to { transform: scaleX(1); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10, 15, 28, .62); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav__links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav__links a { transition: color .25s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { font-size: 14px; padding: 8px 16px; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .25s, background .25s; }
.nav__cta:hover { border-color: var(--accent); background: rgba(56, 198, 244, .06); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--r); font-weight: 500; font-size: 16px; transition: transform .4s var(--ease), box-shadow .4s, background .3s, border-color .3s; }
.btn--primary { background: var(--text); color: #000; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(56, 198, 244, .55); }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 18px; }

/* ---------- Common ---------- */
.section { position: relative; padding: clamp(96px, 16vh, 180px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.section__head { max-width: 820px; margin-bottom: clamp(48px, 8vh, 88px); }
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
h2 { font-size: clamp(34px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.01em; }
h3 { font-size: 22px; letter-spacing: -.01em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); margin-top: 24px; max-width: 640px; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 120px var(--gutter) 80px; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 78%), linear-gradient(to bottom, transparent 70%, var(--bg)); pointer-events: none; }
.hero__content { position: relative; z-index: 2; max-width: 1100px; }
.hero__title { font-size: clamp(34px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.4s var(--ease); }
.hero.ready .hero__title .line > span { transform: none; }
.hero.ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__sub { margin: 28px auto 0; font-size: clamp(18px, 1.8vw, 24px); color: var(--muted); }
.hero__actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 32px; left: 50%; width: 24px; height: 40px; margin-left: -12px; border: 1.5px solid var(--line); border-radius: 12px; z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: hint 2s var(--ease) infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(120px, 22vh, 240px) var(--gutter); max-width: 1200px; margin: 0 auto; }
.manifesto__text { font-size: clamp(28px, 4.2vw, 60px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.manifesto__text .w { opacity: .14; transition: opacity .35s; }
.manifesto__text .w.on { opacity: 1; }

/* ---------- Group units ---------- */
.units { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.unit { position: relative; padding: 40px 32px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.unit h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 14px 0 10px; }
.unit p { color: var(--muted); }
.unit__link { margin-top: 24px; color: var(--accent); font-weight: 500; }
.unit--active { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 176, 32, .28), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(56, 198, 244, .18), transparent 60%), var(--bg-2); }
.unit__glow { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; pointer-events: none; }
.unit--soon { opacity: .7; }
.tag { align-self: flex-start; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r); background: rgba(56, 198, 244, .1); color: var(--accent); }
.tag--muted { background: rgba(255, 255, 255, .05); color: var(--muted); }

/* ---------- Lab sticky ---------- */
.lab { position: relative; height: 260vh; }
.lab__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.lab__frame { position: absolute; inset: 0; display: grid; place-items: center; }
.lab__aperture {
  width: calc(var(--open, .2) * 100vw); height: calc(var(--open, .2) * 100svh);
  min-width: 220px; min-height: 120px;
  border-radius: calc((1 - var(--open, .2)) * 40px);
  background:
    radial-gradient(60% 60% at 30% 40%, rgba(56, 198, 244, .35), transparent 60%),
    radial-gradient(50% 60% at 75% 65%, rgba(255, 90, 122, .28), transparent 60%),
    radial-gradient(80% 80% at 50% 50%, rgba(255, 176, 32, .4), transparent 70%),
    #07080e;
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px -20px rgba(255, 176, 32, .45);
  will-change: width, height; position: relative; overflow: hidden;
}
.lab__aperture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: luminosity; }
.lab__aperture::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, rgba(7, 8, 14, .85) 85%); }
.lab__scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(to bottom, transparent, rgba(56, 198, 244, .07), transparent); animation: scan 5s linear infinite; pointer-events: none; }
@keyframes scan { to { top: 100%; } }
.lab__hud { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; color: var(--muted); opacity: var(--hud, 0); font-family: "JetBrains Mono", monospace; }
.lab__hud span:first-child { color: #ff4d5e; }
.lab__copy { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); opacity: var(--copy, 0); transform: translateY(calc((1 - var(--copy, 0)) * 40px)) scale(calc(.94 + var(--copy, 0) * .06)); }
.lab__mark { display: block; height: 72px; width: 65px; margin: 0 auto 28px; color: var(--text); --dot: var(--accent); }
.lab__title { font-size: clamp(44px, 9.5vw, 150px); letter-spacing: -.01em; line-height: 1; }
.lab__copy .lead { margin: 24px auto 0; color: rgba(245, 245, 247, .8); }

/* ---------- Capabilities ---------- */
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { position: relative; padding: 36px 30px 34px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s; }
.cap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 198, 244, .12), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cap:hover { border-color: rgba(56, 198, 244, .35); }
.cap:hover::before { opacity: 1; }
.cap__num { position: absolute; top: 28px; right: 28px; font-size: 12px; color: var(--muted); }
.cap__icon { width: 52px; height: 52px; margin-bottom: 40px; }
.cap__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cap h3 { margin-bottom: 10px; }
.cap p { color: var(--muted); font-size: 16px; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- Pipeline horizontal ---------- */
.pipeline { position: relative; height: 320vh; }
.pipeline__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.pipeline__head { padding: 0 var(--gutter); margin-bottom: 48px; }
.pipeline__track { display: flex; gap: 24px; padding: 0 var(--gutter); will-change: transform; }
.frame { flex: 0 0 clamp(280px, 34vw, 460px); min-height: clamp(260px, 26vw, 340px); border-radius: var(--r); padding: 72px 30px 30px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, rgba(255, 176, 32, .16), rgba(56, 198, 244, .05) 50%, transparent), var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .6s, transform 1.2s var(--ease); }
.frame:hover .frame__img { opacity: .7; transform: scale(1.04); }
.frame > :not(img) { position: relative; z-index: 1; }
.frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 15, 28, .95) 25%, rgba(10, 15, 28, .2)); }
.frame span { position: absolute !important; }
.frame::after { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(255, 255, 255, .07); border-radius: 0; pointer-events: none; }
.frame span { position: absolute; top: 28px; left: 30px; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.frame h3 { font-size: clamp(24px, 2.4vw, 36px); margin-bottom: 8px; }
.frame p { color: var(--muted); max-width: 360px; }
.pipeline__bar { margin: 48px var(--gutter) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pipeline__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Work ---------- */
.reel { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #07080e; margin-bottom: 20px; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 48px 28px 22px; font-size: 13px; color: var(--muted); background: linear-gradient(to top, rgba(7, 8, 14, .9), transparent); }
.reel figcaption .mono { color: var(--text); letter-spacing: .12em; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s; }
.case:hover { border-color: rgba(56, 198, 244, .35); }
.case__img { aspect-ratio: 16 / 9; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.04); }
.case__body { padding: 28px 30px 30px; }
.case h3 { margin: 14px 0 8px; font-size: clamp(20px, 1.8vw, 26px); }
.case p { color: var(--muted); font-size: 16px; }
.case__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.case__meta li::before { content: "● "; color: var(--accent-3); }

/* ---------- Filmstrip ---------- */
.strip { display: grid; gap: 14px; padding: 24px 0 clamp(48px, 8vh, 96px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip__row { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.strip__row--rev { animation-direction: reverse; }
.strip img { height: clamp(120px, 14vw, 200px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Services ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc__item { position: relative; min-height: 360px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; align-items: flex-end; background: var(--bg-2); }
.svc__item img { position: absolute; inset: 0; width: 100%; height: 70%; object-fit: cover; object-position: center 30%; opacity: .55; transition: opacity .6s, transform 1.2s var(--ease); }
.svc__item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 15, 28, .98) 34%, rgba(10, 15, 28, .15)); }
.svc__item:hover img { opacity: .75; transform: scale(1.04); }
.svc__item > div { position: relative; padding: 32px 30px; }
.svc__item .mono, .principles .mono { font-size: 12px; color: var(--accent); letter-spacing: .14em; }
.svc__item h3 { margin: 10px 0 8px; font-size: clamp(22px, 2vw, 28px); }
.svc__item p { color: var(--muted); font-size: 16px; max-width: 460px; }

.work__cta { margin-top: 40px; text-align: center; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 9vh, 96px); }
.about__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principles li { padding: 28px 0 0; border-top: 1px solid var(--line); }
.principles h3 { margin: 12px 0 8px; font-size: 20px; }
.principles p { color: var(--muted); font-size: 15px; }
.team { margin-top: clamp(56px, 9vh, 96px); display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.team__lead, .team__depts li { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); padding: 28px; }
.team__lead { display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; background: linear-gradient(160deg, rgba(56, 198, 244, .14), rgba(255, 90, 122, .08) 60%, var(--bg-2)); }
.team .mono { font-size: 12px; color: var(--accent); letter-spacing: .14em; }
.team__lead h3 { margin: 10px 0 8px; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; letter-spacing: .02em; }
.team__lead p, .team__depts p { color: var(--muted); font-size: 15px; }
.team__depts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team__depts h3 { margin: 10px 0 6px; font-size: 19px; }
.team__hiring { grid-column: 1 / -1; color: var(--muted); padding-top: 8px; }
.team__hiring a { color: var(--text); border-bottom: 1px solid var(--accent); }

/* ---------- R&D ---------- */
.rnd { overflow-x: clip; }
.rnd__orb { position: absolute; right: -10%; top: 10%; width: min(640px, 80vw); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent)); filter: blur(110px); opacity: .22; animation: spin 18s linear infinite; pointer-events: none; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.rnd__list { list-style: none; border-top: 1px solid var(--line); }
.rnd__list li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.02em; }
.rnd__list li span { font-size: 14px; color: var(--accent); letter-spacing: 0; }

/* ---------- Contact / footer ---------- */
.contact { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(40px, 7.4vw, 116px); letter-spacing: -.01em; line-height: 1; }
.contact .lead { margin: 24px auto 40px; }
.footer { border-top: 1px solid var(--line); padding: 28px var(--gutter); color: var(--muted); font-size: 13px; }
.footer__row { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .units, .caps__grid, .cases, .svc, .about__grid { grid-template-columns: 1fr; }
  .principles, .team__depts { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  .team__lead { min-height: 0; }
  .svc__item { min-height: 0; flex-direction: column; align-items: stretch; }
  .svc__item img { position: relative; height: 200px; }
  .svc__item::before { background: linear-gradient(to top, rgba(10, 15, 28, .98) calc(100% - 200px), rgba(10, 15, 28, .1)); }
  .unit { min-height: 260px; }
  .rnd__list li { grid-template-columns: 1fr; gap: 6px; }
}
@media (min-width: 600px) and (max-width: 960px) { .caps__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__title .line > span { opacity: 1; transform: none; }
  .intro { display: none; }
  .manifesto__text .w { opacity: 1; }
  .lab, .pipeline { height: auto; }
  .lab__sticky, .pipeline__sticky { position: relative; height: auto; padding: 120px 0; }
  .lab__copy { opacity: 1; transform: none; }
  .pipeline__track { flex-wrap: wrap; }
  .strip__row { flex-wrap: wrap; width: auto; }
}
@media (max-width: 600px) { .team__depts { grid-template-columns: 1fr; } }

/* ---------- Story page (long-form) ---------- */
.story__hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; padding: 140px var(--gutter) 72px; overflow: hidden; }
.story__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.story__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 28, .2), var(--bg) 92%); }
.story__hero-copy { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; width: 100%; }
.story__hero h1 { font-size: clamp(48px, 9vw, 136px); line-height: .98; }
.story__by { margin-top: 28px; color: var(--muted); font-size: 13px; }
.story__toc { display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: 760px; margin: 0 auto; padding: 28px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.story__toc a { color: var(--muted); transition: color .25s; }
.story__toc a:hover { color: var(--text); }
.story__body { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.story__body section { padding-top: 96px; scroll-margin-top: 80px; }
.story__body h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 28px; }
.story__body p { font-size: 18px; line-height: 1.75; color: #c9d2e3; margin-bottom: 22px; }
.story__body blockquote { margin: 40px 0; padding-left: 24px; border-left: 2px solid var(--accent); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--text); }
.story__fig { margin: 72px 0 0; }
.story__fig img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.story__fig--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story__fig figcaption { grid-column: 1 / -1; margin-top: 12px; font-size: 12px; color: var(--muted); }
.story__steps { list-style: none; counter-reset: s; margin-top: 36px; border-left: 1px solid var(--line); }
.story__steps li { counter-increment: s; position: relative; padding: 0 0 30px 36px; }
.story__steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: -15px; top: 0; width: 30px; height: 30px; display: grid; place-items: center; font: 500 11px/1 ui-monospace, monospace; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.story__steps h3 { font-size: 20px; margin-bottom: 8px; padding-top: 3px; }
.story__steps p { margin-bottom: 0; font-size: 17px; }
.gate { display: inline-block; margin-left: 6px; padding: 2px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--accent-3); color: var(--accent-3); border-radius: var(--r); vertical-align: 2px; }
.story__rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.story__rules div { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.story__rules h3 { font-size: 18px; margin-bottom: 8px; }
.story__rules p { font-size: 15px; line-height: 1.6; margin: 0; }
.story__proof { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.story__proof img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.story + .footer, .story .contact { margin-top: 120px; }
.manifesto__more { display: inline-block; margin-top: 40px; font-size: 15px; }
@media (max-width: 600px) {
  .story__rules, .story__proof, .story__fig--pair { grid-template-columns: 1fr; }
  .story__body p { font-size: 17px; }
}
