/* ============ Stack Innovations — Redesign ============ */
/* Design tokens */
:root {
  /* Color (editorial dark) */
  --ink-0: #0a0a0a;          /* page base */
  --ink-1: #111111;          /* section alt */
  --ink-2: #1a1a1a;          /* cards */
  --ink-3: #232323;          /* borders raised */
  --line:  #2a2a2a;          /* hairlines */
  --bone:  #f5f2ec;          /* primary fg (warm) */
  --bone-2:#cfc9bb;          /* muted fg */
  --bone-3:#8a857a;          /* quiet */
  --lime:  #d4ff3a;          /* single accent */
  --lime-ink: #0a0a0a;
  /* Type */
  --f-display: "Fraunces", "Times New Roman", serif;
  --f-sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  /* Space */
  --gutter: clamp(20px, 4vw, 64px);
  --sec-y: clamp(80px, 12vw, 180px);
  /* Speed */
  --ease-out: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--ink-0); }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone);
  background: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media (pointer: coarse) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Noise overlay (adds texture so we don't look AI-flat) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  mix-blend-mode: overlay;
}

/* ---- Typography ---- */
.display {
  font-family: var(--f-display);
  font-weight: 300;          /* Fraunces optical sizes, low weight -> editorial */
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  letter-spacing: -0.03em;
  line-height: 0.92;
  font-style: normal;
}
.display em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--bone-2);
}
.h-xxl { font-size: clamp(64px, 13vw, 220px); }
.h-xl  { font-size: clamp(48px, 8vw, 140px); }
.h-lg  { font-size: clamp(40px, 6vw, 96px); }
.h-md  { font-size: clamp(28px, 3.6vw, 56px); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; background: var(--lime); border-radius: 50%;
  box-shadow: 0 0 12px var(--lime);
}
.mono { font-family: var(--f-mono); letter-spacing: 0.02em; }
.lede { font-size: clamp(18px, 1.4vw, 22px); color: var(--bone-2); max-width: 62ch; line-height: 1.5; }

/* Layout */
.container {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  margin: 0 auto;
}
section { position: relative; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  mix-blend-mode: difference;
  color: #fff;
}
.nav__mark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 8px;
}
.nav__mark .n {
  font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: 0.14em; opacity: .6;
  text-transform: uppercase;
}
.nav__links { display: flex; gap: 36px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0; background: currentColor;
  transition: width .5s var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.nav__cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
@media (max-width: 760px){
  .nav__links { display: none; }
}

/* ============ Hamburger + Mobile Drawer ============ */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--bone);
  transition: transform .35s var(--ease-out), opacity .2s var(--ease-out), width .3s var(--ease-out);
}
.nav__burger span:nth-child(2) { width: 14px; }
.nav__burger:hover { border-color: var(--lime); }
.nav__burger:hover span { background: var(--lime); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); width: 18px; }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mdrawer {
  position: fixed; inset: 0;
  z-index: 130;
  background: var(--ink-0);
  transform: translateY(-100%);
  transition: transform .5s var(--ease-out);
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
}
.mdrawer.is-open {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.mdrawer__inner {
  min-height: 100%;
  padding: 92px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mdrawer__top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mdrawer__close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
}
.mdrawer__primary {
  display: flex; flex-direction: column;
  font-family: var(--f-serif);
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.mdrawer__primary > a,
.mdrawer__services > summary {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.mdrawer__services > summary::-webkit-details-marker { display: none; }
.mdrawer__services .chev {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--bone-3);
  transition: transform .3s var(--ease-out);
}
.mdrawer__services[open] .chev { transform: rotate(180deg); color: var(--lime); }
.mdrawer__sub {
  display: grid;
  grid-template-columns: 1fr;
  padding: 12px 0 18px;
  gap: 2px;
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
}
.mdrawer__sub a {
  padding: 10px 0 10px 14px;
  color: var(--bone-2);
  border-left: 1px solid var(--line);
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.mdrawer__sub a:hover { color: var(--lime); border-left-color: var(--lime); }
.mdrawer__cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone);
  align-self: flex-start;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.mdrawer__cta:hover { background: var(--lime); color: var(--ink-0); border-color: var(--lime); }
.mdrawer__cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.mdrawer__cta:hover .dot { background: var(--ink-0); box-shadow: none; }
.mdrawer__contact {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.mdrawer__contact a {
  font-family: var(--f-serif); font-size: 18px; color: var(--bone);
  transition: color .2s var(--ease-out);
}
.mdrawer__contact a:first-child { color: var(--lime); }
.mdrawer__contact a:hover { color: var(--lime); }
.mdrawer__meta {
  display: flex; justify-content: space-between;
  padding-top: 18px; margin-top: 4px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-3);
}

body.mdrawer-open { overflow: hidden; }

@media (max-width: 860px){
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  /* Give the fixed nav a defined surface on mobile so page content fades
     under it instead of colliding with the logo (the desktop transparent /
     mix-blend look stays intact above 860px). */
  .nav {
    mix-blend-mode: normal;
    background: linear-gradient(to bottom, rgba(9,9,11,0.94) 0%, rgba(9,9,11,0.78) 62%, rgba(9,9,11,0) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}
@media (max-width: 760px){
  .nav { padding: 16px 20px 22px; }
  .nav__mark span { font-size: 12px; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--sec-y) + 40px) var(--gutter) 80px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__canvas-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero__canvas-wrap canvas { width: 100% !important; height: 100% !important; display:block; }

.hero__meta {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3);
  padding-top: 4px;
}
.hero__meta .col { max-width: 36ch; }
.hero__meta .n { color: var(--bone); }

.hero__title {
  position: relative; z-index: 3;
  margin: 0;
  padding-top: 8vh;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__title .indent { padding-left: 12vw; }
.hero__title .cluster { display: inline-flex; align-items: baseline; gap: 24px; }
.hero__title .tag {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3);
  vertical-align: middle;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero__title .underline {
  background: linear-gradient(to top, var(--lime) 10%, transparent 10%, transparent 11%);
  padding: 0 .04em 0 .04em;
}

.hero__bottom {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end;
  padding-top: 8vh;
}
.hero__scroll {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__scroll .arrow { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform: translateY(0)} 50%{transform: translateY(6px)} }
.hero__ticker {
  grid-column: 2;
  font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--bone-2);
}
.hero__ticker .dot { display:inline-block; width:6px; height:6px; background:var(--lime); border-radius:50%; margin:0 10px; vertical-align:middle; }
.hero__badge {
  grid-column: 3;
  justify-self: end;
  text-align: right;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3);
  max-width: 24ch;
}
@media (max-width: 720px){
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__ticker, .hero__badge { display: none; }
  .hero__title .indent { padding-left: 0; }
}

/* ============ Marquee ============ */
.marquee {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-0);
  position: relative;
}
.marquee__track {
  display: flex; gap: 80px; white-space: nowrap; will-change: transform;
  font-family: var(--f-display); font-size: clamp(48px, 9vw, 140px); line-height: 1; font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}
.marquee__track .item { display: inline-flex; align-items: center; gap: 80px; color: var(--bone); }
.marquee__track .item em { font-style: italic; color: var(--bone-2); }
.marquee__track .star {
  width: 28px; height: 28px; display:inline-block;
  background: var(--lime);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/></svg>") center/contain no-repeat;
}

.logos {
  padding: 60px var(--gutter);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.logos__row {
  display: flex; gap: 80px; align-items: center; white-space: nowrap; will-change: transform;
}
.logo-mark {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-style: italic; font-size: 34px; letter-spacing: -0.02em;
  color: var(--bone-2); flex-shrink: 0;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.logo-mark .sym {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3);
}
.logo-mark:hover { color: var(--bone); border-color: var(--bone-3); }

/* ============ About / intro strip ============ */
.intro {
  padding: var(--sec-y) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  border-bottom: 1px solid var(--line);
}
.intro__left .eyebrow { margin-bottom: 28px; }
.intro__head { margin: 0; }
.intro__right p { margin: 0 0 22px; color: var(--bone-2); font-size: 17px; line-height: 1.6; max-width: 52ch; }
.intro__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.intro__list li {
  display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.intro__list li .n { font-family: var(--f-mono); font-size: 11px; color: var(--bone-3); letter-spacing: .14em; padding-top: 4px; }
.intro__list li h4 { margin: 0 0 4px; font-family: var(--f-sans); font-weight: 500; font-size: 18px; }
.intro__list li p { margin: 0; color: var(--bone-3); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 860px){ .intro { grid-template-columns: 1fr; gap: 48px; } }

/* ============ Services ============ */
.services {
  padding: var(--sec-y) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.services__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
  margin-bottom: 80px;
}
.services__head h2 { margin: 16px 0 0; }
.services__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--ink-0);
  padding: 40px 32px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  grid-column: span 2;
  transition: background .6s var(--ease-out);
}
.service:hover { background: var(--ink-1); }
.service__num { font-family: var(--f-mono); font-size: 11px; color: var(--bone-3); letter-spacing: .14em; }
.service__title { font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 40px); line-height: 1; font-weight: 300; letter-spacing: -0.02em; margin: 40px 0 16px; }
.service__title em { font-style: italic; color: var(--bone-2); }
.service__desc { color: var(--bone-3); font-size: 14.5px; margin: 0; max-width: 36ch; }
.service__arrow {
  position: absolute; top: 36px; right: 32px; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: background .4s var(--ease-out), color .4s var(--ease-out), transform .5s var(--ease-out);
}
.service:hover .service__arrow { background: var(--lime); color: var(--ink-0); border-color: var(--lime); transform: rotate(-45deg); }
.service__canvas {
  position: absolute !important; inset: 0; z-index: 0; opacity: .12; pointer-events: none;
  width: 100% !important; height: 100% !important;
}
.service > :not(canvas) { position: relative; z-index: 1; }

/* big double service */
.service.big { grid-column: span 3; min-height: 460px; }
.service.big .service__title { font-size: clamp(40px, 4vw, 72px); }

@media (max-width: 960px){
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service, .service.big { grid-column: span 1; min-height: 300px; }
  .services__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ Projects horizontal ============ */
.projects {
  padding-top: var(--sec-y);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.projects__head {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
  margin-bottom: 60px;
}
.projects__track-wrap { position: relative; height: 90vh; }
.projects__track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; padding-left: var(--gutter); gap: 40px; }
.project {
  flex: 0 0 auto;
  width: min(62vw, 780px);
  height: 70vh;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.project .thumb {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--a, #1a1a1a), var(--b, #0a0a0a));
}
.project .thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 28px, rgba(245,242,236,.04) 28px 29px);
}
.project .meta {
  position: absolute; left: 32px; bottom: 28px; right: 32px;
  display: flex; justify-content: space-between; align-items: end; gap: 20px;
  color: var(--bone);
}
.project .meta h3 { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(28px, 3vw, 48px); letter-spacing: -0.02em; line-height: 1; }
.project .meta h3 em { font-style: italic; color: var(--bone-2); }
.project .meta .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.project .idx {
  position: absolute; top: 24px; left: 32px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3);
}
.project .client {
  position: absolute; top: 24px; right: 32px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3);
}
.project .wordmark {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic; font-size: clamp(56px, 10vw, 140px); color: rgba(245,242,236,.14); letter-spacing: -0.04em;
  pointer-events: none;
}

.projects__footnote {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--gutter) 40px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3);
}
.projects__progress { width: 40%; height: 1px; background: var(--line); position: relative; }
.projects__progress::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 10%; background: var(--lime);
}
.projects__drag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em;
  display: inline-flex; gap: 10px; align-items: center;
}

/* ============ Process (motion path) ============ */
.process {
  padding: var(--sec-y) var(--gutter) calc(var(--sec-y) + 40px);
  border-bottom: 1px solid var(--line);
  position: relative;
  min-height: 140vh;
}
.process__head { max-width: 720px; margin-bottom: 80px; }
.process__head h2 { margin: 16px 0 0; }
.process__stage { position: relative; }
.process__path-svg { width: 100%; height: auto; display: block; }
.process__steps { position: absolute; inset: 0; pointer-events: none; }
.process__step {
  position: absolute; width: min(360px, 40vw);
  padding: 24px; background: var(--ink-1); border: 1px solid var(--line);
  pointer-events: auto;
  transform: translateY(20px);
}
.process__step .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--lime); }
.process__step h3 { font-family: var(--f-display); font-weight: 300; font-size: 32px; letter-spacing: -0.02em; margin: 8px 0 10px; }
.process__step h3 em { font-style: italic; color: var(--bone-2); }
.process__step p { margin: 0; color: var(--bone-3); font-size: 14.5px; line-height: 1.55; }
.process__dot {
  position: absolute; width: 18px; height: 18px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(212,255,58,.15), 0 0 30px var(--lime);
  pointer-events: none;
  left: -9px; top: -9px;
}
/* On small screens the motion-path scatter overlaps — stack the cards
   vertically and drop the decorative path + travelling dot. */
@media (max-width: 860px){
  .process { min-height: auto; }
  .process__head { margin-bottom: 40px; }
  .process__path-svg, .process__dot { display: none; }
  .process__steps {
    position: static; inset: auto; pointer-events: auto;
    display: flex; flex-direction: column; gap: 16px; margin-top: 8px;
  }
  .process__step {
    position: static; width: 100%;
    left: auto; top: auto; right: auto; bottom: auto;
    transform: none;
  }
}

/* ============ Industries (WebGL cards) ============ */
.industries {
  padding: var(--sec-y) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.industries__head { max-width: 760px; margin-bottom: 80px; }
.industries__head h2 { margin: 16px 0 0; }
.industries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.industry {
  background: var(--ink-0);
  aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.industry canvas { position: absolute; inset: 0; z-index: 0; width: 100% !important; height: 100% !important; pointer-events: none; }
.industry > * { position: relative; z-index: 1; }
.industry .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.industry h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 300; font-size: clamp(32px, 4vw, 60px); letter-spacing: -0.02em; line-height: 1; }
.industry h3 em { font-style: italic; color: var(--bone-2); }
.industry p { margin: 0; color: var(--bone-3); font-size: 14.5px; max-width: 32ch; }
@media (max-width: 860px){ .industries__grid { grid-template-columns: 1fr; } .industry { aspect-ratio: 4/3; } }

/* ============ Stats ============ */
.stats {
  padding: var(--sec-y) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat {
  padding-top: 24px; border-top: 1px solid var(--line);
}
.stat .num {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(56px, 9vw, 140px); line-height: 0.9; letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 6px;
}
.stat .num em { font-style: italic; color: var(--bone-2); font-size: 0.5em; }
.stat .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-3); margin-top: 16px; }
.stat p { margin: 10px 0 0; color: var(--bone-2); font-size: 14.5px; max-width: 28ch; }
@media (max-width: 820px){ .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ Testimonials ============ */
.testimonials {
  padding: var(--sec-y) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.testimonial {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; padding: 80px 0;
  border-top: 1px solid var(--line);
}
.testimonial:last-child { border-bottom: 1px solid var(--line); }
.testimonial__who .eyebrow { margin-bottom: 24px; }
.testimonial__who .name { font-family: var(--f-display); font-size: 28px; font-weight: 300; letter-spacing: -0.02em; margin: 0; }
.testimonial__who .name em { font-style: italic; color: var(--bone-2); }
.testimonial__who .role { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--bone-3); margin-top: 6px; text-transform: uppercase; }
.testimonial__quote {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; letter-spacing: -0.02em;
  margin: 0;
}
.testimonial__quote em { font-style: italic; color: var(--bone-2); }
.testimonial__quote::before { content: "“"; color: var(--lime); margin-right: 6px; }
@media (max-width: 820px){ .testimonial { grid-template-columns: 1fr; gap: 32px; } }

/* ============ Pricing ============ */
.pricing {
  padding: var(--sec-y) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.pricing__head { max-width: 760px; margin-bottom: 80px; }
.pricing__head h2 { margin: 16px 0 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  border: 1px solid var(--line);
  padding: 32px; background: var(--ink-0);
  display: flex; flex-direction: column; gap: 24px;
  position: relative; overflow: hidden;
}
.plan--hero { background: var(--ink-1); }
.plan__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--bone-3); text-transform: uppercase; }
.plan__title { font-family: var(--f-display); font-weight: 300; font-size: 40px; letter-spacing: -0.02em; margin: 0; line-height: 1; }
.plan__title em { font-style: italic; color: var(--bone-2); }
.plan__price { font-family: var(--f-display); font-weight: 300; font-size: 56px; letter-spacing: -0.03em; line-height: 1; }
.plan__price .unit { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--bone-3); text-transform: uppercase; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { color: var(--bone-2); font-size: 14.5px; display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.plan li::before { content: "→"; color: var(--lime); font-family: var(--f-mono); }
.plan__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border: 1px solid var(--bone); color: var(--bone);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.plan__cta:hover { background: var(--lime); color: var(--ink-0); border-color: var(--lime); }
@media (max-width: 860px){ .pricing__grid { grid-template-columns: 1fr; } }

/* ============ FAQs ============ */
.faqs {
  padding: var(--sec-y) var(--gutter);
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
}
.faqs__head h2 { margin: 16px 0 0; }
.faqs__list { display: flex; flex-direction: column; }
.faq {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 32px;
  text-align: left; padding: 0;
  font-family: var(--f-display); font-weight: 300; font-size: clamp(24px, 2.2vw, 36px); letter-spacing: -0.02em; line-height: 1.1;
}
.faq__q em { font-style: italic; color: var(--bone-2); }
.faq__q .plus {
  flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .5s var(--ease-out), background .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.faq.open .faq__q .plus { transform: rotate(45deg); background: var(--lime); color: var(--ink-0); border-color: var(--lime); }
.faq__a {
  overflow: hidden; height: 0;
  color: var(--bone-3); font-size: 16px; line-height: 1.6; max-width: 62ch;
}
.faq__a p { margin: 16px 0 6px; }
@media (max-width: 860px){ .faqs { grid-template-columns: 1fr; gap: 40px; } }

/* ============ Contact ============ */
.contact {
  padding: var(--sec-y) var(--gutter);
  position: relative;
  overflow: hidden;
}
.contact__wordmark {
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-size: clamp(90px, 22vw, 360px); letter-spacing: -0.04em; line-height: 0.9;
  white-space: nowrap;
  color: var(--bone);
  margin: 0;
}
.contact__wordmark .underline {
  background: linear-gradient(to top, var(--lime) 8%, transparent 8%, transparent 9%);
}
.contact__grid {
  margin-top: 80px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
}
.contact__left { display: flex; flex-direction: column; gap: 32px; }
.contact__info .eyebrow { margin-bottom: 14px; }
.contact__info a { display: block; font-family: var(--f-display); font-weight: 300; font-size: 22px; letter-spacing: -0.02em; margin-top: 4px; }
.contact__info a:hover { color: var(--lime); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.field input, .field textarea {
  background: transparent; border: 0; color: var(--bone);
  font: inherit; font-size: 20px; padding: 8px 0; outline: none;
  font-family: var(--f-display); font-weight: 300; letter-spacing: -0.01em;
}
.field textarea { resize: none; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder { color: var(--bone-3); font-style: italic; }
.contact__submit {
  grid-column: 1 / -1;
  display: inline-flex; justify-self: start;
  align-items: center; gap: 14px;
  padding: 22px 28px;
  background: var(--lime); color: var(--ink-0);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.contact__submit:hover { transform: translateY(-2px); box-shadow: 0 20px 60px -20px var(--lime); }
@media (max-width: 860px){
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.footer {
  padding: 80px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  display: grid; gap: 40px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer__mark { font-family: var(--f-display); font-style: italic; font-size: 56px; font-weight: 300; letter-spacing: -0.03em; margin: 0; }
.footer__mark em { font-style: normal; font-family: var(--f-mono); font-size: 14px; letter-spacing: .14em; color: var(--bone-3); vertical-align: middle; margin-left: 12px; }
.footer__addr { color: var(--bone-3); font-size: 14px; margin-top: 16px; max-width: 28ch; }
.footer__col h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-3); margin: 0 0 16px; }
.footer__col a { display: block; padding: 6px 0; color: var(--bone-2); font-size: 15px; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--bone-3); text-transform: uppercase; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ============ Cursor ============ */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 100;
  width: 8px; height: 8px; background: var(--bone); border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99;
  width: 40px; height: 40px; border: 1px solid var(--bone); border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .35s var(--ease-out);
}
.cursor-ring.hover { width: 72px; height: 72px; background: var(--lime); mix-blend-mode: normal; border-color: var(--lime); }
@media (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* Ambient WebGL background */
.ambient-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5;
}

/* Hero intro — CSS-driven so it doesn't depend on GSAP ticker */
@keyframes heroLineIn {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
#hero-title > .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroLineIn 1.3s cubic-bezier(.16,1,.3,1) forwards;
}
#hero-title > .line:nth-child(1) > span { animation-delay: 0.3s; }
#hero-title > .line:nth-child(2) > span { animation-delay: 0.38s; }
#hero-title > .line:nth-child(3) > span { animation-delay: 0.46s; }
#hero-title > .line:nth-child(4) > span { animation-delay: 0.54s; }
.hero__meta > * {
  opacity: 0; transform: translateY(20px);
  animation: heroFadeIn 0.8s cubic-bezier(.2,.7,.1,1) forwards;
}
.hero__meta > *:nth-child(1) { animation-delay: 0.1s; }
.hero__meta > *:nth-child(2) { animation-delay: 0.2s; }
.hero__meta > *:nth-child(3) { animation-delay: 0.3s; }
.hero__bottom > * {
  opacity: 0; transform: translateY(20px);
  animation: heroFadeIn 0.8s cubic-bezier(.2,.7,.1,1) 1s forwards;
}
.hero__bottom > *:nth-child(2) { animation-delay: 1.1s; }
.hero__bottom > *:nth-child(3) { animation-delay: 1.2s; }

/* Tweaks panel */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: var(--ink-1); border: 1px solid var(--line);
  padding: 16px; width: 260px;
  font-family: var(--f-mono); font-size: 12px; color: var(--bone-2);
  display: none;
}
.tweaks.active { display: block; }
.tweaks h6 { margin: 0 0 12px; font-size: 11px; letter-spacing: .18em; color: var(--bone-3); text-transform: uppercase; }
.tweaks .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.tweaks .swatches { display: flex; gap: 8px; }
.tweaks .sw { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; }
.tweaks .sw.active { box-shadow: 0 0 0 2px var(--bone); }
.tweaks button { font-family: var(--f-mono); color: var(--bone-2); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line); }
.tweaks button.active { background: var(--lime); color: var(--ink-0); border-color: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
