/* =========================================================
   Creative Theory — "Digital Laboratory" direction
   Ink black + volt yellow, lab-notebook detailing
   ========================================================= */
:root {
  --ink: #0a0a0b;
  --ink-2: #111114;
  --ink-3: #18181c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f2ec;
  --muted: #8d8c94;
  --volt: #facc15;
  --volt-hi: #fde047;
  --volt-deep: #ca8a04;
  --flame: #5aa9ff;

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-hand: "Caveat", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f-display); font-size: 17px; line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--volt); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hand { font-family: var(--f-hand); }
.volt { color: var(--volt); }

/* film grain keeps the black from feeling flat */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }

/* ---------- buttons ---------- */
.btn {
  --h: 54px; display: inline-flex; align-items: center; gap: .6em; height: var(--h); padding: 0 26px;
  border-radius: 999px; font: 600 16px/1 var(--f-display); text-decoration: none; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--volt { background: var(--volt); color: var(--ink); box-shadow: 0 0 0 0 rgba(250, 204, 21, .5); }
.btn--volt:hover { background: var(--volt-hi); box-shadow: 0 0 40px -6px rgba(250, 204, 21, .7); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(10, 10, 11, .35); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); }
.btn--ink { background: var(--ink); color: var(--volt); }
.btn--ink:hover { background: #000; }
.btn:focus-visible, .chip:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--volt); outline-offset: 3px;
}
.chip {
  font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  background: rgba(10, 10, 11, .5); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 14px; cursor: pointer;
  backdrop-filter: blur(6px); transition: color .2s, border-color .2s;
}
.chip:hover { color: var(--volt); border-color: var(--volt); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter); transition: background .3s, backdrop-filter .3s, padding .3s;
}
.nav.is-solid { background: rgba(10, 10, 11, .72); backdrop-filter: blur(14px) saturate(1.2); padding-block: 12px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
/* wordmark: one symbol, recoloured per context; shadow = same path offset (4,1) */
.logo { display: block; height: auto; overflow: visible; }
.logo__fg { fill: var(--logo-fg, var(--volt)); }
.logo__sh { fill: var(--logo-sh, #333332); }
.brand .logo { width: 104px; transition: transform .4s var(--ease); }
.brand:hover .logo { transform: rotate(-3deg) scale(1.04); }
.nav.is-solid .brand .logo { width: 88px; }
.footer__logo { display: block; width: 100px; }
.footer__logo .logo { width: 100%; }
.contact__logo { --logo-fg: var(--ink); --logo-sh: rgba(10,10,11,.18); width: 150px; margin: 36px 0 14px; transform: rotate(-2deg); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; text-decoration: none; color: var(--muted); transition: color .2s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--volt); transition: right .35s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { right: 0; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s; }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero: cold fusion ---------- */
.hero { --exit: 0; --split: 0; position: relative; height: 210vh; background: var(--ink); }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 70% 45%, #16161c 0%, var(--ink) 65%); }
#lab { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; touch-action: pan-y; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
  background: linear-gradient(90deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.55) 34%, rgba(10,10,11,0) 58%); }
.hero.is-revealed .hero__shade { opacity: calc(1 - var(--exit)); }
.hero__flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 68% 48%, #fff 0%, #fde047 28%, rgba(250,204,21,0) 72%); }

.hero__content { position: absolute; z-index: 4; inset: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; pointer-events: none;
  opacity: calc(1 - var(--exit)); transform: translateY(calc(var(--exit) * -60px)); }
.hero__copy { width: min(50%, 660px); padding-top: 40px; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__eyebrow { opacity: 0; transform: translateY(10px); transition: opacity .8s .1s, transform .8s .1s var(--ease); }
.hero__title { margin: 16px 0 0; font-weight: 700; font-size: clamp(40px, 4.4vw, 76px); line-height: .94; letter-spacing: -.045em; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .12em .07em; margin: 0 -.12em -.07em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.hero__title .line:nth-child(3) > span { transition-delay: .18s; }
.line--volt { color: var(--volt); font-style: italic; font-weight: 800; }
.hero__fission { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(90%, 760px); text-align: center; pointer-events: none;
  opacity: var(--split); transform: translate(-50%, calc(-50% + (1 - var(--split)) * 30px)); }
.hero__fission .mono { color: var(--muted); margin: 0 0 14px; }
.hero__fission-title { margin: 0; font-weight: 700; font-size: clamp(34px, 5vw, 76px); line-height: .98; letter-spacing: -.045em; text-shadow: 0 4px 40px rgba(10,10,11,.9); }
.hero__fission-title .volt { font-style: italic; font-weight: 800; }
.hero__sub, .hero__ctas, .hero__screen { opacity: 0; transform: translateY(14px); transition: opacity .9s, transform .9s var(--ease); }
.hero__sub { max-width: 44ch; margin: 24px 0 0; color: #c9c8c2; font-size: clamp(15px, 1.2vw, 18px); transition-delay: .4s; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; transition-delay: .5s; }
.hero__screen { margin: 30px 0 0; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; transition-delay: .7s; }
.hero__screen [data-screen] { color: var(--text); }
.hero__screen-dots { display: inline-flex; gap: 4px; }
.hero__screen-dots i { width: 14px; height: 3px; border-radius: 2px; background: var(--line-2); transition: background .3s, width .3s; }
.hero__screen-dots i.on { background: var(--volt); width: 26px; }
.hero.is-revealed .hero__eyebrow, .hero.is-revealed .hero__sub, .hero.is-revealed .hero__ctas, .hero.is-revealed .hero__screen { opacity: 1; transform: none; }
.hero.is-revealed .hero__title .line > span { transform: none; }

.hero__controls { position: absolute; z-index: 5; right: var(--gutter); top: 92px; display: flex; gap: 8px; }
.hero.is-revealed #skip { display: none; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; color: var(--muted); white-space: nowrap;
  opacity: 0; transition: opacity .8s 1.4s; }
.hero__scroll span { display: inline-block; color: var(--volt); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.hero.is-revealed .hero__scroll { opacity: calc(1 - var(--exit) * 4); }

.hud { position: absolute; z-index: 4; left: var(--gutter); top: 92px; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: opacity .8s, transform .8s var(--ease); }
.hud p { margin: 0 0 6px; }
.hud b { color: var(--volt); font-weight: 500; }
.hud__id { color: var(--text); display: flex; align-items: center; gap: 8px; }
.hud__hint { opacity: .7; }
.hero.is-revealed .hud { opacity: 0; transform: translateY(-8px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.tip { position: absolute; z-index: 6; left: 0; top: 0; pointer-events: none; display: grid; gap: 2px; padding: 9px 12px; border-radius: 10px;
  background: rgba(17,17,20,.9); border: 1px solid var(--line-2); backdrop-filter: blur(8px); white-space: nowrap; }
.tip b { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.tip b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.tip span { font: 500 10px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--ink); position: relative; z-index: 2; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: tick 40s linear infinite; }
.ticker span { font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.ticker b { font: 700 12px/1 var(--f-mono); color: var(--ink); background: var(--volt); padding: 5px 6px; border-radius: 3px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head .lede { margin: 0; }
.eyebrow { margin: 0; font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow span:not(.idx) { color: var(--volt); }
.idx { color: var(--ink); background: var(--volt); padding: 3px 6px; border-radius: 3px; font-weight: 700; }
.eyebrow--ink { color: rgba(10,10,11,.7); } .eyebrow--ink .idx { background: var(--ink); color: var(--volt); }
.h2 { margin: 0; font-weight: 700; font-size: clamp(38px, 5.6vw, 84px); line-height: .95; letter-spacing: -.045em; }
.h2 .volt { font-style: italic; font-weight: 800; }
.lede { color: #bdbcb6; font-size: clamp(16px, 1.35vw, 20px); max-width: 52ch; }

/* reveal (mask-up) */
.reveal { opacity: 0; transform: translateY(28px); clip-path: inset(-10% -10% 100% -10%); transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; clip-path: inset(-10% -10% -20% -10%); }

/* ---------- manifesto (scroll-lit words) ---------- */
.manifesto { padding-bottom: clamp(40px, 6vw, 80px); }
.manifesto__text { margin: 28px 0 0; font-weight: 600; font-size: clamp(30px, 4.4vw, 68px); line-height: 1.06; letter-spacing: -.035em; max-width: 22ch; }
.manifesto__text .w { color: #2c2c32; transition: color .4s; }
.manifesto__text .w.is-lit { color: var(--text); }
.manifesto__text em .w.is-lit, .manifesto__text .w em { color: var(--volt); }
.manifesto__text em { font-style: italic; }

/* ---------- legacy collapse (sticky) ---------- */
.collapse { position: relative; height: 260vh; }
.collapse__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.collapse__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; color: #d8d7d1; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2px solid var(--volt); border-bottom: 2px solid var(--volt); transform: rotate(-45deg) translateY(-3px); }
.collapse__stage { position: relative; aspect-ratio: 1 / 1; max-height: 72vh; width: 100%; border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(250,204,21,.06), transparent 60%),
              linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
              linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px; }
.chips { position: absolute; inset: 0; }
.tool {
  --p: 0; position: absolute; white-space: nowrap;
  left: calc(50% + var(--x) * var(--sx, 1.15) * (1 - var(--p))); top: calc(50% + var(--y) * var(--sy, 1.05) * (1 - var(--p)));
  font: 500 13px/1 var(--f-mono); color: #a9a8b0; background: var(--ink-3); border: 1px solid var(--line-2); padding: 10px 12px; border-radius: 8px;
  transform: translate(-50%, -50%) rotate(calc(var(--r) * (1 - var(--p)))) scale(calc(1 - var(--p) * .75));
  opacity: calc(1 - var(--p) * 1.1); will-change: transform;
}
.tool i { color: #6b6a72; font-style: normal; }
.lean {
  --q: 0; position: absolute; left: 50%; top: 50%; width: min(78%, 360px); padding: 26px 26px 22px; border-radius: 18px;
  background: var(--volt); color: var(--ink); transform: translate(-50%, -50%) scale(calc(.6 + var(--q) * .4)); opacity: var(--q);
  box-shadow: 0 30px 80px -20px rgba(250, 204, 21, calc(var(--q) * .55));
}
.lean__tag { margin: 0; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.lean__name { margin: 8px 0 16px; font: italic 800 clamp(40px, 4vw, 56px)/.9 var(--f-display); letter-spacing: -.05em; }
.lean__name span { color: #fff; }
.lean ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lean li { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(10,10,11,.18); font-size: 15px; }
.lean li b { font: 700 11px/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; min-width: 76px; }
.collapse__meter { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; color: var(--muted); white-space: nowrap; }
.collapse__meter span { color: var(--volt); font-weight: 700; }

/* ---------- stack interlude: bright break with code stream + logo carousels ---------- */
.stack { --k: 0; --shift: 0px; position: relative; overflow: hidden; background: #f3f1ea; color: var(--ink);
  padding: clamp(80px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); isolation: isolate; }
.stack::before, .stack::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--volt); z-index: 2; }
.stack::before { top: 0; } .stack::after { bottom: 0; }
.stack__code { position: absolute; inset: -12% 0; z-index: -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0 var(--gutter);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.stack__col { overflow: hidden; }
.stack__col pre { margin: 0; font: 400 13px/1.75 var(--f-mono); color: rgba(10,10,11,.32); white-space: pre; animation: codeStream 46s linear infinite; }
.stack__col:nth-child(2) pre { animation-duration: 38s; animation-delay: -12s; }
.stack__col:nth-child(3) pre { animation-duration: 54s; animation-delay: -30s; }
@keyframes codeStream { to { transform: translateY(-50%); } }
.stack__col .kw { color: rgba(161,98,7,.75); font-weight: 500; }
.stack__col .st { color: rgba(21,128,61,.6); }
.stack__col .cm { color: rgba(10,10,11,.22); font-style: italic; }
.stack__col .nu { color: rgba(37,99,235,.55); }
.stack__col .fn { color: rgba(10,10,11,.5); }

.stack__head { position: relative; text-align: center; }
.stack__head::before { content: ""; position: absolute; inset: -40px 10% -30px; z-index: -1; background: radial-gradient(closest-side, #f3f1ea 55%, rgba(243,241,234,0)); }
.stack__head .eyebrow { justify-content: center; }
.stack__title { margin: 16px 0 0; font-weight: 800; font-style: italic; font-size: clamp(36px, 5.4vw, 84px); line-height: .95; letter-spacing: -.05em; }
.stack__cursor { color: var(--volt-deep); font-style: normal; animation: blink 1s steps(1) infinite; }
.stack__rows { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.stack__row { transform: translateX(calc(var(--shift) * var(--dir, -1))); will-change: transform; }
.stack__row[data-dir="1"] { --dir: 1; }
.stack__track { display: flex; gap: 18px; width: max-content; animation: tick 70s linear infinite; }
.stack__row[data-dir="1"] .stack__track { animation-direction: reverse; animation-duration: 80s; }
.chipx {
  /* each tile blooms from mono to brand colour at its own point in the scroll */
  --kk: clamp(0, calc(var(--k) * 1.7 - var(--d, 0)), 1);
  display: flex; align-items: center; gap: 14px; padding: 18px 26px 18px 20px; border-radius: 18px; white-space: nowrap;
  background: color-mix(in srgb, var(--c) calc(var(--kk) * 9%), #fff);
  border: 1px solid color-mix(in srgb, var(--c) calc(var(--kk) * 45%), rgba(10,10,11,.1));
  box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--c) calc(var(--kk) * 100%), transparent);
  transform: translateY(calc((1 - var(--kk)) * 6px)); transition: transform .2s;
}
.chipx svg { width: 38px; height: 38px; flex: none; fill: color-mix(in srgb, var(--c) calc(var(--kk) * 100%), #a9a59b); }
.chipx .word { font: italic 800 27px/1 var(--f-display); letter-spacing: -.04em; color: color-mix(in srgb, var(--c) calc(var(--kk) * 100%), #a9a59b); }
.chipx span { font: 600 18px/1 var(--f-display); letter-spacing: -.02em; color: color-mix(in srgb, var(--ink) calc(35% + var(--kk) * 65%), #fff); }
.stack__foot { margin: clamp(36px, 5vw, 60px) auto 0; text-align: center; color: rgba(10,10,11,.55); }

/* ---------- formulary (periodic tiles) ---------- */
.table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.el {
  --mx: 50%; --my: 50%; position: relative; background: var(--ink); padding: clamp(22px, 2.4vw, 34px); min-height: 380px; display: flex; flex-direction: column;
  transition: background .4s, color .4s, opacity .9s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease);
}
.el::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(250,204,21,.13), transparent 60%); }
.el:hover::before { opacity: 1; }
.el header { display: flex; justify-content: space-between; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.el__n { color: var(--volt); }
.el__sym { margin: 0; padding-top: 44px; height: calc(44px + clamp(80px, 9vw, 140px) * .8); font-weight: 700; font-size: clamp(80px, 9vw, 140px); line-height: .8; letter-spacing: -.06em; transition: color .4s, transform .6s var(--ease); transform-origin: left bottom; }
.el:hover .el__sym { color: var(--volt); transform: scale(1.04); }
.el__name { margin: 30px 0 8px; font-size: 24px; letter-spacing: -.02em; font-weight: 700; }
.el__desc { margin: 0; color: #a7a6ae; font-size: 15px; }
.el__tags { list-style: none; padding: 0; margin: auto 0 0; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.el__tags li { font: 500 11px/1 var(--f-mono); letter-spacing: .04em; color: #c9c8c2; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 9px; }
.formulary__also { margin: 26px 0 0; color: var(--muted); text-align: center; }

/* ---------- method ---------- */
.method { border-top: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 36px; }
.steps__line { position: absolute; top: 0; left: 0; width: 100%; height: 4px; overflow: visible; }
.steps__line line { stroke: var(--volt); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--draw, 0) * 1000); filter: drop-shadow(0 0 6px rgba(250,204,21,.6)); }
.steps::before { content: ""; position: absolute; top: 1px; left: 0; right: 0; height: 1px; background: var(--line); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -41px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--volt); }
.step__n { color: var(--volt); }
.step h3 { margin: 10px 0 8px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; }
.step p { margin: 0; color: #a7a6ae; font-size: 15px; }

/* ---------- studio / dales ---------- */
.studio { overflow: hidden; border-top: 1px solid var(--line); }
.contours { position: absolute; inset: -15% 0; width: 100%; height: 130%; z-index: 0; opacity: .55; pointer-events: none; }
.contours path { fill: none; stroke: rgba(250, 204, 21, .14); stroke-width: 1; }
.contours path.major { stroke: rgba(250, 204, 21, .3); }
.studio__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: 24px; justify-content: start; }
.facts dt { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--volt); }
.facts dd { margin: 4px 0 0; font: 500 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.studio__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.shot { margin: 0; }
.shot--wide { grid-column: 1 / -1; }
.shot--drop { margin-top: 56px; }
.mask { --m: 0; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: var(--ink-3);
  clip-path: inset(calc(14% * (1 - var(--m))) calc(16% * (1 - var(--m))) round calc(20px + 80px * (1 - var(--m)))); }
.shot--wide .mask { aspect-ratio: 16 / 10; }
.mask img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; filter: saturate(.9) contrast(1.03);
  transform: translateY(var(--py, 0)) scale(calc(1.2 - .2 * var(--m))); }
.mask::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(250,204,21,.18)); mix-blend-mode: overlay; pointer-events: none; }
.shot figcaption { margin-top: 10px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.shot figcaption b { color: var(--ink); background: var(--volt); padding: 2px 5px; border-radius: 3px; }


/* ---------- clients: monochrome logo loop ---------- */
.clients { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); background: var(--ink); }
.clients__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.clients__note { margin: 0; color: var(--muted); }
.clients__loop { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); width: max-content; animation: tick 48s linear infinite; }
.clients__loop:hover .clients__track { animation-play-state: paused; }
.client { flex: none; display: grid; place-items: center; height: 64px; }
.client img { height: 34px; width: auto; max-width: 190px; object-fit: contain; filter: brightness(0) invert(1); opacity: .5; transition: opacity .3s; }
.client.tall img { height: 46px; }
.client.square img { height: 56px; }
.client.grey img { filter: grayscale(1) contrast(1.1) brightness(1.2); }
.client:hover img { opacity: 1; }

/* ---------- contact ---------- */
.contact { background: var(--volt); color: var(--ink); padding: clamp(80px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .1; background: linear-gradient(var(--ink) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / 32px 32px; mask: radial-gradient(circle at 80% 30%, #000, transparent 70%); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__title { margin: 20px 0 0; font-weight: 800; font-style: italic; font-size: clamp(48px, 7vw, 112px); line-height: .9; letter-spacing: -.055em; }
.contact__lede { font-size: clamp(16px, 1.4vw, 20px); max-width: 44ch; margin: 24px 0 0; }
.contact__phone { margin: 32px 0 4px; font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; }
.contact__phone a { text-decoration: none; border-bottom: 3px solid var(--ink); }
.contact__addr { margin: 0; opacity: .7; }
.form { display: grid; gap: 14px; background: var(--ink); color: var(--text); padding: clamp(22px, 3vw, 36px); border-radius: 24px; }
.form label { display: grid; gap: 6px; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--f-display); color: var(--text); background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; margin-top: 6px; } .form .btn--ink { background: var(--volt); color: var(--ink); }
.form__ok { margin: 0; color: var(--volt); }

/* form plumbing */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form [aria-invalid] { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.18); }
.form__status { margin: 0; min-height: 1.2em; color: var(--muted); }
.form__status[data-kind="error"] { color: #fca5a5; }
.form__status[data-kind="ok"] { color: var(--volt); }
.form__legal { margin: 0; font-size: 11px; line-height: 1.5; color: #6b6a72; }
.form__legal a { color: #8d8c94; }
.form button:disabled { opacity: .7; cursor: progress; }
.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.grecaptcha-badge { visibility: hidden !important; } /* allowed: notice shown in the form */
.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; }

/* ---------- singularity ---------- */
html.is-singular, html.is-singular body { overflow: hidden; }
.singularity-page { will-change: transform, filter; }
.singularity { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; cursor: default; }
.singularity canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.term { position: relative; font: 500 clamp(13px, 1.5vw, 18px)/1.9 var(--f-mono); color: #e9e7df; letter-spacing: .02em; padding: 0 var(--gutter); max-width: 100%; }
.term p { margin: 0; white-space: pre-wrap; }
.term__pre { color: var(--volt); }
.term__count { color: var(--volt-hi); }
.term__cur { display: inline-block; margin-left: 2px; color: var(--volt); animation: blink 1s steps(1) infinite; }
.term__back { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); opacity: 0;
  font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #6b6a72; background: none; border: 1px solid #2a2a30; border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.term__back:hover { color: var(--volt); border-color: var(--volt); }

/* ---------- footer ---------- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; align-items: center; color: var(--muted); }

.footer p.mono { margin: 0; line-height: 1.8; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav { gap: 10px; }
  .nav__cta { --h: 40px; padding: 0 16px; font-size: 13px; }
  .nav__cta, .nav__burger { flex: none; }
  .nav__burger { display: block; }
  .nav.is-open { background: rgba(10,10,11,.96); flex-wrap: wrap; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; width: 100%; order: 3; gap: 18px; padding: 18px 0 10px; }
  .nav.is-open .nav__links a { font-size: 22px; color: var(--text); }
  .section__head, .collapse__grid, .studio__grid, .contact__grid { grid-template-columns: 1fr; }
  .table { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__line, .steps::before, .step::before { display: none; }
  .step { border-top: 2px solid var(--volt); padding-top: 18px; }
  .collapse { height: 220vh; }
  .collapse__copy .ticks { display: none; }
  .collapse__stage { max-height: 46vh; max-width: 46vh; margin: 0 auto; }
  .hero__copy { width: 100%; padding: 0; }
  .hero__content { align-items: flex-end; padding-bottom: 64px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,10,11,0) 30%, rgba(10,10,11,.75) 52%, rgba(10,10,11,.95) 100%); }
  .hero__flash { background: radial-gradient(circle at 50% 28%, #fff 0%, #fde047 28%, rgba(250,204,21,0) 72%); }
  .footer__grid { grid-template-columns: 1fr 1fr; } .footer__logo { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .brand .logo, .nav.is-solid .brand .logo { width: 84px; }
  body { font-size: 16px; }
  .hud { top: 78px; font-size: 10px; }
  .hud__hint { display: none; }
  .hero__controls { top: 116px; left: var(--gutter); right: auto; }
  .hero.is-revealed .hero__controls { top: 78px; }
  .hero__screen { margin-top: 18px; font-size: 10px; }
  .hero__screen-now { display: none; }
  .hero__scroll { display: none; }
  .hero__sub { margin-top: 14px; }
  .hero__ctas { margin-top: 18px; }
  .table { grid-template-columns: 1fr; }
  .el { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .tool { font-size: 10px; padding: 7px 8px; --sx: .62; --sy: .9; }
  .hero__eyebrow { display: none; }
  .hero__title { font-size: 37px; }
  .hero__sub { font-size: 15px; }
  .hero__ctas .btn { padding: 0 18px; font-size: 15px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .client img { height: 26px; max-width: 140px; }
  .client.tall img { height: 36px; }
  .client.square img { height: 44px; }
  .stack__code { grid-template-columns: 1fr; }
  .stack__col:nth-child(n+2) { display: none; }
  .chipx { padding: 12px 18px 12px 14px; gap: 10px; border-radius: 14px; }
  .chipx svg { width: 28px; height: 28px; }
  .chipx span { font-size: 15px; }
  .stack__track, .stack__rows { gap: 12px; }
  .studio__media { gap: 10px; }
  .shot--drop { margin-top: 28px; }
  .hero__ctas .btn { --h: 50px; }
  .collapse__copy .lede { display: none; }
}

@media (max-width: 360px) {
  .nav__cta { --h: 36px; padding: 0 11px; font-size: 12px; }
  .brand .logo, .nav.is-solid .brand .logo { width: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .clients__track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--gutter); }
  .client[aria-hidden] { display: none; }
  .stack { --k: 1 !important; }
  .hero { height: auto; }
  .hero__scroll { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; clip-path: none; }
}
