/* ==========================================================================
   BlackCubix — design system
   Brand: black cube · acid lime cut · Space Grotesk
   ========================================================================== */

:root {
  --black: #0A0A0A;
  --ink: #161616;
  --graphite: #2E2E2E;
  --steel: #7C7C78;
  --fog: #B9B9B4;
  --paper: #F4F4F1;
  --lime: #C8F031;
  --lime-mid: #9CBB26;
  --lime-dark: #748B1C;

  --line-d: rgba(244, 244, 241, .14);
  --line-l: rgba(10, 10, 10, .14);

  --f-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(20px, 4vw, 64px);
  --maxw: 1480px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --fs-hero: clamp(2.9rem, 7.4vw, 9rem);
  --fs-h1: clamp(2.6rem, 7vw, 7.6rem);
  --fs-h2: clamp(2.1rem, 5vw, 5.4rem);
  --fs-h3: clamp(1.35rem, 2vw, 2rem);
  --fs-body: clamp(1.0625rem, 1.1vw, 1.1875rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-display);
  font-size: var(--fs-body);
  line-height: 1.6;
  background: var(--black);
  color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--black); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
[data-bg="light"] :focus-visible, [data-bg="lime"] :focus-visible { outline-color: var(--black); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- global layers ---------- */
#bcx-gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 1; pointer-events: none;
}
.grain {
  position: fixed; inset: -50%; z-index: 8000; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress {
  position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 7000;
  background: var(--lime); transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- layout ---------- */
.wrap {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto;
}
.sec { position: relative; padding: clamp(88px, 12vw, 200px) 0; }
.sec[data-bg="dark"] { background: var(--black); color: var(--paper); --halo: rgba(10,10,10,.92); }
.sec[data-bg="light"] { background: var(--paper); color: var(--black); --halo: rgba(244,244,241,.95); }
.sec[data-bg="lime"] { background: var(--lime); color: var(--black); }
.sec[data-bg="ink"] { background: var(--ink); color: var(--paper); --halo: rgba(22,22,22,.92); }
main { display: block; }   /* no stacking context: the WebGL canvas sits between section backgrounds and .wrap content */

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .9;
}
.eyebrow::before {
  content: ''; width: 10px; height: 10px; background: var(--lime);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
[data-bg="light"] .eyebrow::before { background: var(--black); }
[data-bg="lime"] .eyebrow::before { background: var(--black); }

.h-hero { font-size: var(--fs-hero); line-height: .92; letter-spacing: -.045em; font-weight: 700; }
.h-1 { font-size: var(--fs-h1); line-height: .94; letter-spacing: -.04em; font-weight: 700; }
.h-2 { font-size: var(--fs-h2); line-height: .98; letter-spacing: -.035em; font-weight: 700; }
.h-3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.5; max-width: 46ch; opacity: .92; }
.mono { font-family: var(--f-mono); }
.thin { font-weight: 400; }
.lime { color: var(--lime); }
[data-bg="light"] .lime { color: var(--black); background: var(--lime); padding: 0 .12em; }
.outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }

/* split-text masks */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
[data-split] { visibility: hidden; }
[data-split].is-split { visibility: visible; }
[data-reveal] { opacity: 0; transform: translateY(32px); }
html.no-js [data-reveal], html.no-js [data-split] { opacity: 1; transform: none; visibility: visible; }

/* ---------- cursor ---------- */
.cursor { display: none !important; position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 8px; height: 8px; background: var(--lime); transition: background .2s, opacity .2s; }
.cursor__ring {
  width: 44px; height: 44px; border: 1px solid var(--lime);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), background .3s, border-color .3s;
}
.cursor__label {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--black); opacity: 0; transition: opacity .2s;
}
.cursor.is-link .cursor__ring { width: 72px; height: 72px; background: rgba(200, 240, 49, .14); }
.cursor.is-text .cursor__ring { width: 96px; height: 96px; background: var(--lime); }
.cursor.is-text .cursor__label { opacity: 1; }
.cursor.is-text .cursor__dot { opacity: 0; }
.cursor.on-light .cursor__dot { background: var(--black); }
.cursor.on-light .cursor__ring { border-color: var(--black); }
.cursor.on-light.is-link .cursor__ring { background: rgba(10, 10, 10, .08); }
.cursor.on-light.is-text .cursor__ring { background: var(--black); }
.cursor.on-light .cursor__label { color: var(--lime); }
.cursor.on-lime .cursor__dot { background: var(--black); }
.cursor.on-lime .cursor__ring { border-color: var(--black); }
.cursor.on-lime.is-text .cursor__ring { background: var(--black); }
.cursor.on-lime .cursor__label { color: var(--lime); }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor-text], .has-cursor label, .has-cursor select, .has-cursor summary { cursor: none; }
  .has-cursor .cursor { display: block; }
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9800; background: var(--black); color: var(--paper);
  display: grid; place-items: center;
}
.has-seen .loader, .no-js .loader { display: none; }
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__mark { width: clamp(110px, 16vw, 168px); height: auto; overflow: visible; }
.loader__mark polygon { transform-box: fill-box; transform-origin: 50% 50%; }
.loader__count {
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .18em; display: flex; gap: 14px; align-items: baseline;
}
.loader__num { font-size: 1.4rem; color: var(--lime); min-width: 3ch; text-align: right; }
.loader__bar { width: min(260px, 60vw); height: 2px; background: var(--line-d); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }

/* page transition */
.pt { position: fixed; inset: 0; z-index: 9700; pointer-events: none; display: flex; opacity: 0; background: var(--black); }
.pt__bar {
  flex: 1; height: 100%; background: var(--black);
  margin-right: -1px;
}
.pt-cover .pt { opacity: 1; animation: ptFail 0s 5s forwards; }
@keyframes ptFail { to { opacity: 0; } }
.loader { animation: ldFail 0s 9s forwards; }
@keyframes ldFail { to { opacity: 0; visibility: hidden; } }
.pt.is-active { pointer-events: all; }
.pt__logo {
  position: absolute; left: 50%; top: 50%; width: 84px; transform: translate(-50%, -50%) scale(.6); opacity: 0;
}

/* ---------- brand mark ---------- */
.mark { width: 1em; height: 1em; overflow: visible; }
.mark .m-top { fill: var(--m-top, #F4F4F1); }
.mark .m-left { fill: var(--m-left, #B9B9B4); }
.mark .m-right { fill: var(--m-right, #7C7C78); }
.mark .m-l1 { fill: var(--lime-mid); }
.mark .m-l2 { fill: var(--lime-dark); }
.mark .m-l3 { fill: var(--lime); }
.mark--black { --m-top: #2E2E2E; --m-left: #161616; --m-right: #000; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 6000;
  padding: 18px var(--pad); display: flex; align-items: center; justify-content: space-between;
  color: var(--paper); transition: transform .6s var(--ease), color .3s, background .3s;
  --m-top: #F4F4F1; --m-left: #B9B9B4; --m-right: #7C7C78;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.on-light { color: var(--black); --m-top: #2E2E2E; --m-left: #161616; --m-right: #000; }
.nav.on-lime { color: var(--black); --m-top: #2E2E2E; --m-left: #161616; --m-right: #000; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.5rem; letter-spacing: -.05em; line-height: 1; }
.nav__brand .mark { font-size: 40px; transition: transform .8s var(--ease); }
.nav__brand:hover .mark { transform: rotate(120deg) scale(1.08); }
.nav__brand b { font-weight: 700; }
.nav__brand span { font-weight: 400; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__link { position: relative; font-size: .95rem; font-weight: 500; padding: 6px 0; overflow: hidden; display: inline-block; }
.nav__link span { display: block; transition: transform .5s var(--ease); }
.nav__link::after {
  content: attr(data-t); position: absolute; left: 0; top: 0; padding: 6px 0; transform: translateY(110%);
  transition: transform .5s var(--ease); color: var(--lime);
}
.nav.on-light .nav__link::after { color: var(--black); }
.nav__link:hover span { transform: translateY(-110%); }
.nav__link:hover::after { transform: translateY(0); }
.nav__link.is-active::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--lime);
}
.nav.on-light .nav__link.is-active::before { background: var(--black); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__burger {
  display: none; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%;
  position: relative; z-index: 6100;
}
.nav__burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger i:nth-child(1) { top: 19px; } .nav__burger i:nth-child(2) { top: 27px; }
body.menu-open .nav__burger i:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .nav__burger i:nth-child(2) { top: 23px; transform: rotate(-45deg); }
body.menu-open .nav { color: var(--paper); transform: none; --m-top: #F4F4F1; --m-left: #B9B9B4; --m-right: #7C7C78; }

.menu {
  position: fixed; inset: 0; z-index: 5900; background: var(--black); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 44px) 44px); visibility: hidden;
}
.menu__links { display: grid; gap: 4px; }
.menu__link { font-size: clamp(2.4rem, 11vw, 4.6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; overflow: hidden; display: block; }
.menu__link span { display: inline-block; }
.menu__link small { font-family: var(--f-mono); font-size: .8rem; color: var(--lime); letter-spacing: .1em; vertical-align: top; margin-right: 12px; }
.menu__foot { margin-top: 36px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .8rem; opacity: .7; }

@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate; border: 1px solid transparent; white-space: nowrap;
  will-change: transform;
}
.btn__t { position: relative; display: inline-flex; align-items: center; gap: 12px; z-index: 2; transition: color .4s var(--ease); }
.btn::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: 1;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }

.btn--lime { background: var(--lime); color: var(--black); }
.btn--lime::before { background: var(--paper); }
.btn--ghost { border-color: var(--line-d); color: var(--paper); }
.btn--ghost::before { background: var(--lime); }
.btn--ghost:hover .btn__t { color: var(--black); }
.btn--ghost:hover { border-color: var(--lime); }
.btn--dark { background: var(--black); color: var(--paper); }
.btn--dark::before { background: var(--lime); }
.btn--dark:hover .btn__t { color: var(--black); }
.btn--line-dark { border-color: var(--line-l); color: var(--black); }
.btn--line-dark::before { background: var(--black); }
.btn--line-dark:hover .btn__t { color: var(--paper); }
.btn--sm { padding: 12px 22px; font-size: .9rem; }
.btn--xl { padding: 28px 48px; font-size: 1.25rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; position: relative; padding-bottom: 4px; }
.link-arrow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: 100% 50%; transition: transform .6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translate(4px, -4px); }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 48px; overflow: clip; }
.hero__grid { display: grid; gap: 40px; }
.hero__title { max-width: 10ch; }
.hero__title .lime { display: inline-block; }
.hero__sub { margin-top: 32px; }
.hero__cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__foot {
  margin-top: clamp(40px, 7vh, 90px); padding-top: 22px; border-top: 1px solid var(--line-d);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero__foot ul { display: flex; gap: 28px; flex-wrap: wrap; }
.scrollcue { display: inline-flex; align-items: center; gap: 12px; }
.scrollcue i { width: 1px; height: 38px; background: var(--line-d); position: relative; overflow: hidden; display: block; }
.scrollcue i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--lime); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.hero__hint { position: absolute; right: var(--pad); top: 50%; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .5; writing-mode: vertical-rl; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; position: relative; z-index: 2; }
.marquee--lime { background: var(--lime); color: var(--black); padding: 22px 0; transform: rotate(-1.4deg) scale(1.03); margin: -10px 0; }
.marquee__inner { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); font-size: clamp(1.6rem, 3.6vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.marquee__item svg { width: .8em; height: .8em; flex: none; }
.marquee--tech .marquee__item { font-size: clamp(1.1rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -.01em; }
.pill { display: inline-flex; padding: 14px 26px; border: 1px solid var(--line-d); border-radius: 999px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.pill:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }
.marquee--tech { display: grid; gap: 16px; }
.marquee--tech .marquee__item { padding-right: 16px; gap: 0; }

/* ---------- manifesto ---------- */
.manifesto__text { font-size: clamp(1.9rem, 4.4vw, 4.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; max-width: 22ch; }
.manifesto__text .sw { opacity: .25; transition: none; }
.manifesto__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: clamp(56px, 8vw, 120px); max-width: 60%; }
.manifesto__cols p { font-size: 1rem; opacity: .88; }
.manifesto__cols h4 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
@media (max-width: 920px) { .manifesto__cols { grid-template-columns: 1fr; max-width: none; } }

/* ---------- section head ---------- */
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 96px); }
.shead__l { display: grid; gap: 22px; }
.shead .lead { margin: 0; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 60px;
  min-height: 360px; padding: 30px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-d); background: rgba(16, 16, 16, .96);
  transform-style: preserve-3d; will-change: transform;
}
.svc::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 240, 49, .22), transparent 60%);
}
.svc:hover::before { opacity: 1; }
.svc::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--lime), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.svc:hover::after { opacity: 1; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; transform: translateZ(40px); }
.svc__n { font-family: var(--f-mono); font-size: .8rem; color: var(--lime); letter-spacing: .1em; }
.svc__ico { width: 56px; height: 56px; color: var(--lime); transition: transform .8s var(--ease); }
.svc:hover .svc__ico { transform: rotate(90deg) scale(1.1); }
.svc__body { transform: translateZ(30px); }
.svc__title { font-size: clamp(1.4rem, 1.9vw, 1.9rem); letter-spacing: -.03em; line-height: 1.08; font-weight: 700; margin-bottom: 12px; }
.svc__text { font-size: 1rem; opacity: .88; max-width: 38ch; }
.svc__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line-d); border-radius: 999px; opacity: .85; }
[data-bg="light"] .tag { border-color: var(--line-l); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 300px; } }

/* ---------- process (pinned horizontal) ---------- */
.process { padding: 0; }
.process__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(24px, 5vh, 60px); }
.process__prog { width: min(300px, 40vw); height: 2px; background: var(--line-l); position: relative; }
.process__prog i { position: absolute; inset: 0; background: var(--black); transform: scaleX(0); transform-origin: 0 50%; }
.process__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.step {
  position: relative; width: clamp(280px, 30vw, 460px); min-height: clamp(300px, 46vh, 440px); flex: none;
  padding: 30px; border-radius: 22px; border: 1px solid var(--line-l); background: rgba(255, 255, 255, .92);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.step:hover { background: var(--black); color: var(--paper); transform: translateY(-8px); }
.step__n { font-size: clamp(5rem, 9vw, 9rem); line-height: .8; font-weight: 700; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px currentColor; transition: color .5s; }
.step:hover .step__n { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.step h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); letter-spacing: -.035em; margin-bottom: 10px; }
.step p { opacity: .88; font-size: 1rem; }
.step__list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.step .tag { border-color: currentColor; opacity: .55; }
.step::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; background: var(--lime);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: 0; transform: rotate(-30deg) scale(.6);
  transition: opacity .5s, transform .8s var(--ease);
}
.step:hover::after { opacity: 1; transform: rotate(0) scale(1); }

/* ---------- three faces ---------- */
.faces { padding-bottom: 0; }
.faces__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faces__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.faces__list { padding: 30vh 0 20vh; display: grid; gap: 70vh; }
.face-stmt { max-width: 34ch; }
.face-stmt .num { font-family: var(--f-mono); color: var(--lime); letter-spacing: .1em; font-size: .85rem; display: block; margin-bottom: 18px; }
.face-stmt h3 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; }
.face-stmt p { opacity: .9; font-size: 1.1rem; }
@media (max-width: 920px) {
  .faces__layout { grid-template-columns: 1fr; }
  .faces__sticky { position: relative; height: auto; padding-top: 20px; }
  .faces__list { padding: 40px 0 80px; gap: 120px; }
}

/* ---------- work cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.case { grid-column: span 4; display: block; position: relative; }
.case:nth-child(5n+1) { grid-column: span 7; }
.case:nth-child(5n+2) { grid-column: span 5; }
.case__art {
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--black);
  display: grid; place-items: center; transition: transform .8s var(--ease), border-radius .8s var(--ease);
}
.case:nth-child(5n+1) .case__art { aspect-ratio: 16 / 10; }
.case__art svg { width: 78%; height: 78%; transition: transform 1s var(--ease); }
.case:hover .case__art { transform: scale(.985); border-radius: 36px; }
.case:hover .case__art svg { transform: scale(1.06) rotate(-2deg); }
.case__art--lime { background: var(--lime); }
.case__art--ink { background: var(--graphite); }
.case__art--paper { background: #E7E7E2; }
.case__badge {
  position: absolute; left: 16px; top: 16px; z-index: 2; font-family: var(--f-mono); font-size: .65rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--black); color: var(--paper);
}
.case__badge--lime { background: var(--lime); color: var(--black); }
.case__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-top: 18px; }
.case__title { font-size: clamp(1.3rem, 1.8vw, 1.8rem); letter-spacing: -.03em; font-weight: 700; line-height: 1.1; }
.case__desc { opacity: .85; font-size: 1rem; margin-top: 6px; max-width: 46ch; }
.case__arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.case__arrow svg { width: 20px; height: 20px; }
.case:hover .case__arrow { background: var(--lime); color: var(--black); border-color: var(--lime); transform: rotate(-45deg); }
.stk { transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 14ms); }
.case:hover .stk, .pa-art:hover .stk { transform: translateY(-9px); }
@media (max-width: 900px) { .case, .case:nth-child(5n+1), .case:nth-child(5n+2) { grid-column: span 12; } .case:nth-child(5n+1) .case__art { aspect-ratio: 4 / 3; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-d); font-weight: 500; font-size: .95rem;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
[data-bg="light"] .chip { border-color: var(--line-l); }
.chip:hover { transform: translateY(-2px); border-color: var(--lime); }
.chip.is-on { background: var(--lime); color: var(--black); border-color: var(--lime); }
[data-bg="light"] .chip.is-on { background: var(--black); color: var(--paper); border-color: var(--black); }
.chip small { font-family: var(--f-mono); opacity: .6; margin-left: 6px; }

/* ---------- engagement plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.plan {
  position: relative; padding: 34px; border-radius: 24px; border: 1px solid var(--line-l); background: rgba(255, 255, 255, .95);
  display: flex; flex-direction: column; gap: 26px; min-height: 480px; overflow: hidden; transform-style: preserve-3d; will-change: transform;
}
.plan::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 240, 49, .55), transparent 60%);
}
.plan:hover::before { opacity: 1; }
.plan--hot { background: var(--black); color: var(--paper); border-color: var(--black); }
.plan__tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.plan__name { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.04em; font-weight: 700; line-height: 1; }
.plan__desc { opacity: .88; }
.plan ul { display: grid; gap: 12px; margin-top: auto; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.plan li::before {
  content: ''; flex: none; width: 12px; height: 12px; margin-top: .4em; background: var(--lime-mid);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.plan--hot li::before { background: var(--lime); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } .plan { min-height: 0; } }

/* ---------- careers teaser / big link ---------- */
.biglink { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); position: relative; overflow: hidden; }
.biglink::before { content: ''; position: absolute; inset: 0; background: var(--lime); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.biglink:hover::before { transform: translateY(0); }
.biglink > * { position: relative; z-index: 1; transition: color .4s; }
.biglink:hover > * { color: var(--black); }
.biglink .h-1 { font-size: clamp(2.4rem, 7vw, 7rem); }

/* ---------- CTA ---------- */
.cta { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.cta__inner { display: grid; justify-items: center; gap: 40px; }
.cta__title { font-size: clamp(3rem, 10.5vw, 12rem); line-height: .86; letter-spacing: -.055em; font-weight: 700; }
.cta__title .thin { font-weight: 400; }
.cta .lead { opacity: .8; margin-inline: auto; }
.cta__cube { position: absolute; width: 22vw; max-width: 300px; opacity: .14; right: 6%; top: 10%; animation: bob 7s ease-in-out infinite; }
.cta__cube--b { left: 5%; right: auto; top: auto; bottom: 8%; width: 14vw; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-24px) rotate(6deg); } }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; background: var(--black); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0 0; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: clamp(48px, 7vw, 100px); }
.footer__brand p { max-width: 34ch; opacity: .85; margin-top: 18px; }
.footer h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 18px; font-weight: 400; }
.footer ul { display: grid; gap: 10px; }
.footer li a { display: inline-block; position: relative; transition: color .3s, transform .5s var(--ease); }
.footer li a:hover { color: var(--lime); transform: translateX(6px); }
.footer__word {
  font-size: clamp(3rem, 15.4vw, 22rem); font-weight: 700; letter-spacing: -.07em; line-height: .78; white-space: nowrap;
  display: flex; justify-content: center; user-select: none; padding-bottom: .02em;
}
.footer__word span { display: inline-block; will-change: transform; }
.footer__word .thin { font-weight: 400; }
.footer__word .c { transition: color .3s; }
.footer__word .c:hover { color: var(--lime); }
.footer__bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line-d); font-family: var(--f-mono); font-size: .75rem; opacity: .6; letter-spacing: .06em; }
.totop { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- sub-page hero ---------- */
.phero { min-height: 82vh; min-height: 82svh; display: flex; align-items: flex-end; padding: 150px 0 clamp(48px, 7vw, 100px); overflow: clip; }
.phero__grid { display: grid; gap: 34px; }
.phero .h-1 { max-width: 14ch; }
.phero__meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 18px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* ---------- services page: stacked panels ---------- */
.stack { position: relative; }
.sv {
  position: sticky; top: calc(76px + var(--i) * 12px); margin-bottom: 14vh;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 70px);
  padding: clamp(24px, 3.4vw, 52px); border-radius: 30px; min-height: 66vh;
  background: var(--ink); border: 1px solid var(--line-d); transform-origin: 50% 0%; will-change: transform;
}
.sv:nth-child(even) { background: var(--paper); color: var(--black); border-color: var(--paper); }
.sv:nth-child(3n) { background: var(--lime); color: var(--black); border-color: var(--lime); }
.sv__l { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.sv__n { font-family: var(--f-mono); letter-spacing: .1em; font-size: .85rem; }
.sv__t { font-size: clamp(2.2rem, 4.6vw, 4.8rem); line-height: .96; letter-spacing: -.045em; font-weight: 700; margin: 14px 0 18px; }
.sv__d { max-width: 46ch; opacity: .92; font-size: 1.1rem; }
.sv__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sv__cols h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 12px; font-weight: 400; }
.sv__cols li { padding: 9px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 18%, transparent); font-size: .95rem; }
.sv__r { position: relative; border-radius: 20px; background: var(--black); display: grid; place-items: center; overflow: hidden; min-height: 320px; }
.sv:nth-child(even) .sv__r { background: #E4E4DF; }
.sv:nth-child(3n) .sv__r { background: var(--black); }
.sv__r svg { width: 82%; height: 82%; }
@media (max-width: 920px) {
  .sv { position: relative; top: 0 !important; grid-template-columns: 1fr; min-height: 0; margin-bottom: 20px; }
  .sv__cols { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
@media (max-width: 920px) { .split2 { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 20px; max-width: 54ch; }
.prose p { opacity: .92; font-size: 1.1rem; }
.cubewrap { display: grid; place-items: center; padding: 30px 0; perspective: 1400px; }
.vcube { position: relative; width: clamp(220px, 28vw, 340px); height: clamp(220px, 28vw, 340px); transform-style: preserve-3d; touch-action: none; }
.vcube__face {
  position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line-d); background: rgba(22, 22, 22, .92); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  --half: calc(clamp(220px, 28vw, 340px) / 2);
}
.vcube__face:nth-child(1) { transform: translateZ(var(--half)); }
.vcube__face:nth-child(2) { transform: rotateY(90deg) translateZ(var(--half)); background: var(--lime); color: var(--black); }
.vcube__face:nth-child(3) { transform: rotateY(180deg) translateZ(var(--half)); }
.vcube__face:nth-child(4) { transform: rotateY(-90deg) translateZ(var(--half)); background: var(--paper); color: var(--black); }
.vcube__face:nth-child(5) { transform: rotateX(90deg) translateZ(var(--half)); background: var(--lime-mid); color: var(--black); }
.vcube__face:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--half)); }
.vcube__face b { font-family: var(--f-mono); font-weight: 400; font-size: .75rem; letter-spacing: .1em; }
.vcube__face h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.vcube__face p { font-size: .88rem; opacity: .8; line-height: 1.35; }
.vcube__hint { margin-top: 36px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; text-align: center; }

.timeline { position: relative; display: grid; gap: 0; padding-left: 38px; }
.timeline__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-d); }
.timeline__line i { position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: 50% 0; }
.tl { position: relative; padding: 0 0 clamp(36px, 5vw, 70px); }
.tl::before {
  content: ''; position: absolute; left: -38px; top: 6px; width: 16px; height: 16px; background: var(--black); border: 2px solid var(--lime);
  clip-path: none; border-radius: 4px; transform: rotate(45deg); transition: background .4s, transform .6s var(--ease);
}
.tl.is-on::before { background: var(--lime); transform: rotate(135deg) scale(1.15); }
.tl small { font-family: var(--f-mono); color: var(--lime); letter-spacing: .1em; font-size: .78rem; }
.tl h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -.035em; margin: 8px 0 8px; }
.tl p { opacity: .88; max-width: 52ch; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-l); }
.prin { padding: 38px 30px 38px 0; border-bottom: 1px solid var(--line-l); display: grid; grid-template-columns: 70px 1fr; gap: 10px; transition: padding .6s var(--ease), background .4s; }
.prin:hover { padding-left: 24px; background: var(--lime); }
.prin:nth-child(odd) { border-right: 1px solid var(--line-l); }
.prin:nth-child(even) { padding-left: 30px; }
.prin:nth-child(even):hover { padding-left: 54px; }
.prin b { font-family: var(--f-mono); font-weight: 400; font-size: .8rem; padding-top: 8px; }
.prin h3 { font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -.03em; margin-bottom: 8px; }
.prin p { opacity: .88; font-size: 1rem; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } .prin:nth-child(odd) { border-right: 0; } .prin:nth-child(even) { padding-left: 0; } .prin:nth-child(even):hover { padding-left: 24px; } }

/* ---------- careers ---------- */
.roles { border-top: 1px solid var(--line-d); }
.role {
  position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 60px; gap: 20px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-d); width: 100%; text-align: left; overflow: hidden; isolation: isolate;
}
.role::before { content: ''; position: absolute; inset: 0 -100vw; background: var(--lime); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); z-index: -1; }
.role:hover::before, .role:focus-visible::before { transform: scaleY(1); }
.role:hover, .role:focus-visible { color: var(--black); }
.role__t { font-size: clamp(1.4rem, 2.6vw, 2.6rem); letter-spacing: -.035em; font-weight: 700; line-height: 1.05; transition: transform .6s var(--ease); }
.role:hover .role__t { transform: translateX(14px); }
.role__m { font-family: var(--f-mono); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.role__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; justify-self: end; transition: transform .6s var(--ease); }
.role__go svg { width: 20px; height: 20px; }
.role:hover .role__go { transform: rotate(-45deg); background: var(--black); color: var(--lime); border-color: var(--black); }
.role.is-hidden { display: none; }
@media (max-width: 760px) { .role { grid-template-columns: 1fr 52px; } .role__m:nth-of-type(2) { display: none; } }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1200px; }
.perk { position: relative; padding: 28px; border-radius: 20px; border: 1px solid var(--line-l); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255, 255, 255, .95); transform-style: preserve-3d; overflow: hidden; }
.perk::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 240, 49, .6), transparent 60%); }
.perk:hover::before { opacity: 1; }
.perk svg { width: 46px; height: 46px; }
.perk h3 { font-size: 1.35rem; letter-spacing: -.03em; margin-bottom: 8px; }
.perk p { font-size: 1rem; opacity: .88; }
@media (max-width: 1100px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

.hsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: hs; }
.hstep { position: relative; padding: 30px 24px 30px 0; border-top: 1px solid var(--line-d); }
.hstep::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--lime); transform: rotate(45deg); }
.hstep b { font-family: var(--f-mono); font-weight: 400; color: var(--lime); font-size: .8rem; letter-spacing: .1em; }
.hstep h3 { font-size: 1.5rem; letter-spacing: -.03em; margin: 10px 0 8px; }
.hstep p { opacity: .88; font-size: 1rem; }
@media (max-width: 860px) { .hsteps { grid-template-columns: 1fr; } .hstep { padding-left: 28px; border-top: 0; border-left: 1px solid var(--line-d); } .hstep::before { top: 36px; left: -6px; } }

/* ---------- dialog ---------- */
dialog.modal {
  border: 0; padding: 0; width: min(760px, calc(100% - 24px)); max-height: min(90vh, 900px);
  background: var(--paper); color: var(--black); border-radius: 28px; overflow: auto; margin: auto;
}
dialog.modal::backdrop { background: rgba(10, 10, 10, .72); backdrop-filter: blur(10px); }
dialog.modal[open] { animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.modal__in { padding: clamp(24px, 4vw, 48px); display: grid; gap: 22px; }
.modal__x { position: absolute; right: 18px; top: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; z-index: 2; }
.modal__x:hover { transform: rotate(90deg); background: var(--lime); }
.modal__x svg { width: 18px; height: 18px; }
.modal h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.04em; line-height: 1; padding-right: 54px; }
.modal__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.modal__tags .tag { border-color: var(--line-l); }
.modal h4 { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 8px; }
.modal ul.dots { display: grid; gap: 8px; }
.modal ul.dots li { display: flex; gap: 12px; }
.modal ul.dots li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: .5em; background: var(--black); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.modal hr { border: 0; height: 1px; background: var(--line-l); width: 100%; margin: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; display: grid; }
.field label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent);
  padding: 12px 0 14px; font-size: 1.15rem; border-radius: 0; outline: 0; transition: border-color .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 26px; }
.field select option { color: #0A0A0A; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); }
[data-bg="light"] .field input:focus, [data-bg="light"] .field select:focus, [data-bg="light"] .field textarea:focus, .modal .field input:focus, .modal .field select:focus, .modal .field textarea:focus { border-color: var(--black); }
.field::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
[data-bg="light"] .field::after, .modal .field::after { background: var(--black); }
.field:focus-within::after { transform: scaleX(1); }
.form__ok {
  display: none; padding: 22px; border-radius: 16px; background: var(--lime); color: var(--black); font-weight: 600; align-items: center; gap: 14px;
}
.form__ok.is-on { display: flex; }
.form__ok svg { width: 34px; height: 34px; flex: none; }
.form__err { display: none; color: #ff7a59; font-size: .95rem; }
.form__err.is-on { display: block; }
.radio-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chips input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chips label { margin: 0; opacity: 1; font-family: var(--f-display); font-size: .95rem; letter-spacing: 0; text-transform: none; padding: 11px 18px; border: 1px solid var(--line-d); border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.radio-chips input:checked + label { background: var(--lime); color: var(--black); border-color: var(--lime); }
.radio-chips input:focus-visible + label { outline: 2px solid var(--lime); outline-offset: 3px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.cinfo { display: grid; gap: 34px; }
.cinfo h4 { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-bottom: 8px; }
.cinfo a, .cinfo p { font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: -.02em; }
.cinfo a { display: inline-block; position: relative; }
.cinfo a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--lime); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.cinfo a:hover::after { transform: scaleX(0); }
.faq { border-top: 1px solid var(--line-l); }
.faq__i { border-bottom: 1px solid var(--line-l); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; text-align: left; font-size: clamp(1.15rem, 1.8vw, 1.7rem); letter-spacing: -.025em; font-weight: 600; }
.faq__q i { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; position: relative; transition: transform .6s var(--ease), background .3s; }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq__i.is-open .faq__q i { background: var(--lime); border-color: var(--lime); color: var(--black); transform: rotate(180deg); }
.faq__i.is-open .faq__q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { height: 0; overflow: hidden; }
.faq__a p { padding: 0 0 28px; max-width: 62ch; opacity: .75; }

/* ---------- misc ---------- */
.iso-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.divider { height: 1px; background: var(--line-d); width: 100%; }
[data-bg="light"] .divider { background: var(--line-l); }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .grain, .scrollcue i::after, .cta__cube { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] { visibility: visible; }
}

/* ==========================================================================
   Readability & UX pass — larger, full-contrast text; solid nav; calmer cards
   ========================================================================== */
body { font-size: clamp(1.125rem, 1.15vw, 1.25rem); line-height: 1.65; }
.lead, .prose p, .svc__text, .step p, .plan__desc, .face-stmt p, .case__desc, .sv__d, .prin p, .tl p,
.perk p, .hstep p, .manifesto__cols p, .faq__a p, .footer__brand p, .modal p, .cinfo p { opacity: 1; }
.lead { font-size: clamp(1.2rem, 1.55vw, 1.5rem); line-height: 1.5; max-width: 52ch; }
.svc__text, .step p, .plan__desc, .case__desc, .prin p, .tl p, .perk p, .hstep p, .manifesto__cols p, .faq__a p { font-size: 1.0625rem; line-height: 1.6; }
.eyebrow, .role__m, .num, .tl small, .hstep b { font-size: .875rem; opacity: 1; }
.tag { font-size: .75rem; opacity: 1; padding: 7px 12px; }
.manifesto__cols h4, .sv__cols h4, .modal h4, .footer h4, .cinfo h4 { opacity: .9; font-size: .8rem; }
.footer li a, .sv__cols li { font-size: 1.0625rem; }
.field label { opacity: .9; font-size: .78rem; }
.field input, .field select, .field textarea { font-size: 1.2rem; }
.btn { font-size: 1.0625rem; min-height: 52px; }
.chip { font-size: 1rem; min-height: 48px; }

/* nav gets a solid, blurred backing once you scroll so links never fight the page */
.nav { transition: transform .6s var(--ease), color .3s, background .3s; }
.nav.is-scrolled { background: rgba(10, 10, 10, .94); }
.nav.is-scrolled.on-light { background: rgba(244, 244, 241, .9); }
.nav.is-scrolled.on-lime { background: rgba(200, 240, 49, .92); }
body.menu-open .nav.is-scrolled { background: transparent; }

/* focus is always visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-width: 3px; }

.grain { display: none !important; }
