:root {
  --bg: #F1EEE6;
  --bg-2: #E8E4D9;
  --ink: #121211;
  --ink-2: #3A3935;
  --muted: #76726A;
  --line: rgba(18, 18, 17, .12);
  --line-2: rgba(18, 18, 17, .22);
  --accent: #FF4F1A;
  --accent-ink: #FFFFFF;
  --amber: #E09A12;
  --card: #FBF9F4;
  --grain: .07;

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --f-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  --f-geez: "Noto Serif Ethiopic", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0D0C; --bg-2: #171715; --ink: #EEEBE3; --ink-2: #C8C4BA; --muted: #8C887F;
    --line: rgba(238, 235, 227, .1); --line-2: rgba(238, 235, 227, .2);
    --accent: #FF6A3D; --card: #141412; --grain: .1; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0D0C; --bg-2: #171715; --ink: #EEEBE3; --ink-2: #C8C4BA; --muted: #8C887F;
  --line: rgba(238, 235, 227, .1); --line-2: rgba(238, 235, 227, .2);
  --accent: #FF6A3D; --card: #141412; --grain: .1; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; opacity: var(--grain); mix-blend-mode: multiply; }
:root[data-theme="dark"] .grain { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .grain { mix-blend-mode: screen; } }

/* ---------- logo ---------- */
.logo__d, .logo__h { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.logo__node { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 46px; height: 32px; overflow: visible; }
.brand__mark .logo__h { stroke-dasharray: 100; stroke-dashoffset: 0; }
.brand:hover .logo__h { animation: logoDraw .9s var(--ease-out); }
.brand:hover .logo__node { animation: nodePop .9s var(--ease-out); }
@keyframes logoDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes nodePop { 0%, 40% { transform: scale(0); } 70% { transform: scale(1.5); } 100% { transform: scale(1); } }
.brand__word { display: grid; line-height: 1.05; }
.brand__word b { font: 600 15px var(--f-display); letter-spacing: -.02em; }
.brand__word i { font: 400 11px var(--f-geez); font-style: normal; color: var(--accent); letter-spacing: .08em; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--bg); display: grid; place-items: center; align-content: center; gap: 22px; }
.loader__mark { width: 130px; fill: none; stroke: var(--bg); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.loader__mark path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.1s var(--ease-out) forwards; }
.loader__mark path:nth-child(2) { animation-delay: .3s; }
.loader__mark circle { fill: var(--accent); stroke: none; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: nodePop .8s .9s var(--ease-out) forwards; }
.loader__geez { font: 400 18px var(--f-geez); letter-spacing: .3em; color: var(--accent); opacity: 0; animation: fade .8s .6s forwards; }
.loader__count { position: absolute; bottom: var(--gutter); right: var(--gutter); font: 500 clamp(48px, 10vw, 140px)/1 var(--f-display); font-variation-settings: "wdth" 75; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 95; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--ink);
  display: grid; place-items: center; opacity: .5;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .35s, border-color .35s, opacity .3s;
}
.cursor__label { font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 1; border-color: var(--accent); }
.cursor.has-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); border-color: var(--accent); opacity: 1; }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.has-label .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }
body.has-cursor input, body.has-cursor textarea { cursor: text; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px var(--gutter);
  transition: transform .6s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav::before { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; z-index: -1; }
.nav.is-solid::before { opacity: 1; }
.nav__links { justify-self: center; display: flex; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in oklab, var(--card) 60%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__links a { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color .3s, color .3s; }
.nav__links a.is-active { background: var(--ink); color: var(--bg); }
.nav__links a:not(.is-active):hover { background: var(--line); }
.nav__meta { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav__clock { font: 500 12px var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .6s var(--ease-out), border-color .3s; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.theme-toggle__half { fill: var(--ink); stroke: none; }
.theme-toggle.spin { transform: rotate(180deg); }
.nav__cta { height: 40px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; transition: box-shadow .4s var(--ease-out); }
.nav__cta:hover { box-shadow: 0 10px 30px -8px color-mix(in oklab, var(--accent) 70%, transparent); }

.pulse { width: 7px; height: 7px; border-radius: 50%; background: #1DB954; display: inline-block; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 1.8s ease-out infinite; }
.pulse--amber { background: var(--amber); }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

/* ---------- shared ---------- */
.eyebrow { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.eyebrow__idx { color: var(--accent); }
.eyebrow::after { content: ""; height: 1px; width: 48px; background: var(--line-2); }
.h2 { font: 500 clamp(36px, 5.2vw, 76px)/1 var(--f-display); font-variation-settings: "wdth" 85, "opsz" 96; letter-spacing: -.035em; margin: 0; max-width: 18ch; text-wrap: balance; }
.h2 .serif, .h3 .serif { font-size: 1.08em; letter-spacing: -.02em; }
.h3 { font: 500 clamp(28px, 3.2vw, 46px)/1.02 var(--f-display); font-variation-settings: "wdth" 85; letter-spacing: -.03em; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; background: var(--card); }
.chip--soon { border-color: color-mix(in oklab, var(--amber) 55%, transparent); color: var(--ink); }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 15px; overflow: hidden; isolation: isolate; transition: color .4s var(--ease-out); }
.btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid::before { background: var(--accent); }
.btn--solid:hover { color: var(--accent-ink); }
.btn--solid:hover svg { transform: translateX(4px); }
.btn--ghost { border: 1px solid var(--line-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }

.split .ch { display: inline-block; will-change: transform; }
.split .word { display: inline-block; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 112px var(--gutter) 56px; display: flex; align-items: center; overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); opacity: .32; pointer-events: none; }
.hero__glow { position: absolute; width: 640px; height: 640px; left: 0; top: 0; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--accent) 22%, transparent), transparent 62%); filter: blur(20px); pointer-events: none; opacity: .8; will-change: transform; }
.hero__grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__kicker { margin: 0 0 18px; }
.hero__title { margin: 0; font-weight: 400; }
.hero__line { display: block; }
.hero__line--serif { font: 400 clamp(76px, 10.4vw, 196px)/.86 var(--f-serif); font-style: italic; letter-spacing: -.03em; }
.hero__geez { display: inline-block; vertical-align: top; margin: .32em 0 0 .3em; font: 400 clamp(13px, 1.1vw, 18px)/1.35 var(--f-geez); font-style: normal; letter-spacing: .14em; color: var(--accent); }
.hero__line--sans { font: 700 clamp(88px, 12.6vw, 236px)/.82 var(--f-display); font-variation-settings: "wdth" 80, "opsz" 96; letter-spacing: -.035em; margin-left: clamp(16px, 4.6vw, 88px); }
.split--var .ch { transition: font-variation-settings .25s linear; }
.hero__line--sans .ch:last-child { color: var(--accent); }

.roles { display: flex; align-items: baseline; gap: .32em; margin: clamp(22px, 3vw, 36px) 0 0; font: 500 clamp(22px, 2.3vw, 34px)/1.1 var(--f-display); letter-spacing: -.025em; }
.roles__lead { color: var(--muted); }
.roles__box { position: relative; display: inline-grid; overflow: hidden; padding-bottom: .14em; }
.roles__word { position: relative; grid-area: 1 / 1; justify-self: start; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .7s var(--ease-out), opacity .4s; }
.roles__word::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s .2s var(--ease-out); }
.roles__word.is-on { transform: none; opacity: 1; }
.roles__word.is-on::after { transform: scaleX(1); }
.roles__word.is-out { transform: translateY(-110%); opacity: 0; }

.hero__lede { margin: 20px 0 0; max-width: 560px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.hero__lede b { font-weight: 600; color: var(--ink); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* blueprint */
.bp { border: 1px solid var(--line-2); border-radius: 26px; background: color-mix(in oklab, var(--card) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 18px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); }
.bp__top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 14px; }
.bp__title { font: 500 12px var(--f-mono); letter-spacing: .04em; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.bp__title i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.bp__dots { display: flex; gap: 6px; }
.bp__dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-2); }
.bp__ideas { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 2px 14px; }
.bp__ideas button { padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.bp__ideas button:hover { border-color: var(--ink); transform: translateY(-1px); }
.bp__ideas button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bp__stage { position: relative; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); padding: 8px 8px 8px 30px; overflow: hidden; }
.bp__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 26px 26px; opacity: .55; }
.bp__layers { position: absolute; left: 0; top: 8px; bottom: 8px; width: 30px; display: grid; grid-template-rows: repeat(4, 1fr); }
.bp__layers span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 9px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: grid; place-items: center; }
.bp__svg { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.bp-edge { fill: none; stroke: var(--line-2); stroke-width: 1.3; }
.bp-pulse { fill: var(--accent); }
.bp-node rect { fill: var(--card); stroke: var(--line-2); stroke-width: 1; }
.bp-node text { font: 500 11.5px var(--f-mono); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.bp-node.is-key rect { fill: var(--ink); stroke: var(--ink); }
.bp-node.is-key text { fill: var(--bg); }
.bp-node.is-ai rect { fill: var(--accent); stroke: var(--accent); }
.bp-node.is-ai text { fill: #fff; }
.bp__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px 2px; flex-wrap: wrap; }
.bp__proof { margin: 0; display: grid; gap: 2px; }
.bp__proof span { font: 500 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bp__proof b { font-weight: 500; font-size: 14px; }
.bp__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--accent); padding: 10px 14px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 12%, transparent); transition: background-color .3s, color .3s; }
.bp__cta svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.bp__cta:hover { background: var(--accent); color: #fff; }
.bp__cta:hover svg { transform: translateX(3px); }

/* ---------- proof ---------- */
.proof { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); position: relative; z-index: 2; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat { padding: 28px 24px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font: 600 clamp(52px, 5.4vw, 88px)/.9 var(--f-display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.05em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; }
.stat__num small { font: 500 .3em var(--f-mono); color: var(--accent); margin-left: 8px; letter-spacing: .02em; text-transform: uppercase; }
.stat__num small.pre { margin: 0 2px 0 0; font: inherit; font-size: .7em; color: inherit; }
.stat p { color: var(--ink-2); max-width: 30ch; margin: 14px 0 0; font-size: 15px; }
.logos { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; margin-top: 36px; }
.logos__label { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logos__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; align-items: center; color: var(--muted); }
.wm { transition: color .3s; white-space: nowrap; }
.wm:hover { color: var(--ink); }
.wm--1 { font: 800 20px var(--f-display); letter-spacing: .08em; }
.wm--2 { font: italic 400 25px var(--f-serif); }
.wm--3 { font: 600 17px var(--f-mono); letter-spacing: -.02em; }
.wm--4 { font: 700 22px var(--f-display); font-variation-settings: "wdth" 75; letter-spacing: -.03em; }
.wm--5 { font: 500 17px var(--f-display); letter-spacing: .26em; }
.wm--6 { font: 400 22px var(--f-serif); }
.wm--7 { font: 600 16px var(--f-body); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- work ---------- */
.work { position: relative; }
.work__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); overflow: hidden; padding: 88px 0 36px; }
.work__head { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.work__head .eyebrow { margin-bottom: 18px; }
.work__count { display: flex; flex-wrap: wrap; width: 160px; align-items: baseline; gap: 8px; font: 500 14px var(--f-mono); color: var(--muted); }
.work__count b { font: 600 44px/1 var(--f-display); font-variation-settings: "wdth" 75; color: var(--ink); letter-spacing: -.03em; }
.work__progress { flex-basis: 100%; width: 160px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.work__progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.work__track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card { --c: var(--accent); width: min(78vw, 1000px); min-height: min(64vh, 580px); flex: none; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 28px; border: 1px solid var(--line); background: var(--card); overflow: hidden; position: relative; transition: border-color .4s; }
.card:hover { border-color: color-mix(in oklab, var(--c) 55%, transparent); }
.card__art { position: relative; background: color-mix(in oklab, var(--c) 10%, var(--bg-2)); display: grid; place-items: center; overflow: hidden; }
.card__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in oklab, var(--c) 35%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; opacity: .5; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.card__body { padding: clamp(24px, 3vw, 42px); display: flex; flex-direction: column; gap: 14px; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px var(--f-mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.card__title { font: 600 clamp(40px, 4.2vw, 70px)/.9 var(--f-display); font-variation-settings: "wdth" 78, "opsz" 96; letter-spacing: -.045em; margin: auto 0 0; }
.card__title::after { content: "."; color: var(--c); }
.card__hook { margin: 0; font: italic 400 clamp(20px, 1.7vw, 26px)/1.15 var(--f-serif); color: var(--ink); }
.card__body p:not(.card__hook) { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.tags { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 500 12px/1 var(--f-mono); padding: 8px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wins li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.wins li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }
.wins b { color: var(--ink); font-weight: 600; }
.card__visit { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 13px var(--f-mono); transition: background-color .3s, gap .4s var(--ease-out); }
.card__visit svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.card--link:hover .card__visit { background: var(--c); color: #fff; gap: 12px; }
.card--link:hover .card__visit svg { transform: translate(2px, -2px); }

@media (min-width: 641px) and (max-height: 860px) {
  .work__pin { padding: 76px 0 24px; gap: 20px; }
  .work__head .h2 { font-size: clamp(30px, 4vw, 52px); }
  .card__body { padding: 26px 30px; gap: 10px; }
  .card__title { font-size: clamp(36px, 3.4vw, 54px); }
  .card__hook { font-size: clamp(18px, 1.5vw, 22px); }
  .card__body p:not(.card__hook), .wins li { font-size: 14px; line-height: 1.5; }
  .card__visit { padding: 9px 14px; }
}
@media (min-width: 641px) and (max-height: 740px) {
  .work__pin { padding-top: 70px; gap: 14px; }
  .work__head .eyebrow { margin-bottom: 8px; }
  .work__head .h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: none; }
  .card__body { padding: 22px 28px; gap: 8px; }
}

/* card art */
.art { width: 88%; height: auto; overflow: visible; position: relative; }
.art * { vector-effect: non-scaling-stroke; }
.a-fill { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.a-stroke { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.a-solid { fill: var(--c); }
.a-accent { fill: var(--c); stroke: var(--c); }
.a-accent-stroke { fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; }
.a-bar { fill: var(--c); opacity: .6; }
.a-label { font: 500 14px var(--f-mono); fill: var(--muted); }
.a-line { fill: none; stroke: var(--muted); stroke-width: 3; stroke-linecap: round; opacity: .6; }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes hover { to { transform: translateY(-10px); } }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.art--bizos text { font: 500 13px var(--f-mono); fill: var(--ink); text-anchor: middle; }
.art--bizos .a-core { fill: #fff; font: italic 400 18px var(--f-serif); }
.a-wire { stroke: var(--c); stroke-width: 2; stroke-dasharray: 4 5; animation: dash 1s linear infinite; }
.a-mods > g rect { animation: modOn 6s infinite; }
.a-mods > g:nth-child(2) rect { animation-delay: 1s; } .a-mods > g:nth-child(3) rect { animation-delay: 2s; } .a-mods > g:nth-child(4) rect { animation-delay: 3s; } .a-mods > g:nth-child(5) rect { animation-delay: 4s; } .a-mods > g:nth-child(6) rect { animation-delay: 5s; }
@keyframes modOn { 0%, 14% { stroke: var(--c); stroke-width: 3; } 22%, 100% { stroke: var(--ink); stroke-width: 1.5; } }

.art--birr .a-tag { font: 600 12px var(--f-mono); fill: var(--c); text-anchor: middle; }
.art--birr .a-amt { font: 600 13px var(--f-mono); fill: var(--ink); text-anchor: end; }
.a-ok { fill: #1DB954; }
.a-fill--hl { stroke: var(--c); stroke-width: 2; }
.a-flow { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-dasharray: 6 6; animation: dash .8s linear infinite; }
.a-arrow { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.a-docs > g { animation: hover 3s var(--ease) infinite alternate; }
.a-docs > g:nth-child(2) { animation-delay: .6s; }
.a-rows > g { animation: rowIn 5s var(--ease-out) infinite; }
.a-rows > g:nth-child(2) { animation-delay: .25s; } .a-rows > g:nth-child(3) { animation-delay: .5s; } .a-rows > g:nth-child(4) { animation-delay: .75s; }
@keyframes rowIn { 0% { transform: translateX(20px); opacity: 0; } 12%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }

.a-tile { fill: var(--bg-2); stroke: var(--muted); stroke-width: 1; animation: tile 4.5s infinite; }
.a-tile.is-on { fill: var(--card); stroke: var(--c); stroke-width: 2.5; }
.a-tiles rect:nth-child(2) { animation-delay: .5s; } .a-tiles rect:nth-child(4) { animation-delay: 1s; } .a-tiles rect:nth-child(6) { animation-delay: 1.5s; } .a-tiles rect:nth-child(8) { animation-delay: 2s; }
@keyframes tile { 75%, 85% { stroke: var(--c); stroke-width: 2.5; } }
.a-aa { font: 400 26px var(--f-serif); fill: var(--ink); text-anchor: middle; transform-box: fill-box; transform-origin: center; animation: grow 3s var(--ease) infinite alternate; }
@keyframes grow { to { transform: scale(1.3); } }
.a-half { fill: var(--ink); }
.a-line--w { stroke: var(--ink); opacity: .5; }
.a-white { fill: #fff; }
.a-white-s { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.a-fab { transform-box: fill-box; transform-origin: center; animation: fab 2.4s var(--ease) infinite; }
@keyframes fab { 50% { transform: scale(1.08); } }

.art--ministre .a-bubbles rect { transform-box: fill-box; transform-origin: left center; animation: pop 4.5s var(--ease-out) infinite; }
.art--ministre .a-bubbles rect:nth-child(2) { transform-origin: right center; animation-delay: .5s; }
.art--ministre .a-bubbles rect:nth-child(3) { animation-delay: 1s; }
@keyframes pop { 0%, 8% { transform: scale(0); } 18%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
.art--ministre .a-typing circle { fill: var(--ink); animation: typing 1s ease-in-out infinite; }
.art--ministre .a-typing circle:nth-child(2) { animation-delay: .15s; }
.art--ministre .a-typing circle:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-5px); opacity: .4; } }
.a-check { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: check 3s var(--ease-out) infinite; }
@keyframes check { 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.a-dash { fill: none; stroke: var(--c); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1s linear infinite; }

.art--fermat .a-grid circle { fill: var(--ink); opacity: .25; }
.a-route { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: route 4s var(--ease-out) infinite; }
@keyframes route { 0% { stroke-dashoffset: 520; } 60%, 100% { stroke-dashoffset: 0; } }
.a-ray { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: .5; }

.art--deli .a-belt { animation: belt 5s linear infinite; }
@keyframes belt { to { transform: translateX(-90px); } }
.a-pin { animation: hover 2.2s var(--ease) infinite alternate; }
.a-ripple { fill: none; stroke: var(--c); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: halo 2.2s var(--ease-out) infinite; }

.art--auto .a-wheel { animation: spin 1.6s linear infinite; }
.a-spoke { stroke: var(--card); stroke-width: 2; }
.a-road { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 22 14; animation: road .7s linear infinite; }
@keyframes road { to { stroke-dashoffset: 36; } }
.art--auto .a-gear { animation: spin 6s linear infinite reverse; }

.art--hema .a-rings ellipse { fill: none; stroke: var(--c); stroke-width: 1.6; transform-box: view-box; transform-origin: 200px 150px; animation: ring 8s var(--ease) infinite alternate; }
.art--hema .a-rings ellipse:nth-child(even) { stroke: var(--ink); opacity: .55; animation-duration: 10s; }
@keyframes ring { from { transform: rotate(-4deg) scale(.97); } to { transform: rotate(5deg) scale(1.03); } }
.a-crack { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 2 6; }

.art--aura .a-orbit-l { animation: orbitL 4s var(--ease) infinite alternate; }
.art--aura .a-orbit-r { animation: orbitR 4s var(--ease) infinite alternate; }
@keyframes orbitL { from { transform: translateX(-30px); } to { transform: translateX(0); } }
@keyframes orbitR { from { transform: translateX(30px); } to { transform: translateX(0); } }
.a-lens { fill: var(--c); opacity: .2; }
.a-heart { transform-box: fill-box; transform-origin: center; animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
.a-spark { fill: var(--c); animation: twinkle 2s ease-in-out infinite; }
.a-spark--2 { animation-delay: .6s; } .a-spark--3 { animation-delay: 1.2s; }
@keyframes twinkle { 50% { opacity: .1; } }

/* ---------- index ---------- */
.index { padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(60px, 8vw, 110px); position: relative; }
.index__head { margin-bottom: 36px; }
.index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.row { position: relative; display: grid; grid-template-columns: 56px minmax(220px, 1fr) 2fr 150px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-2); isolation: isolate; }
.row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.row:hover::before { transform: scaleY(1); transform-origin: top; }
.row > span { transition: color .35s, transform .5s var(--ease-out); }
.row:hover > span { color: var(--bg); }
.row:hover .row__t { transform: translateX(14px); }
.row__n { font: 500 12px var(--f-mono); color: var(--muted); }
.row:hover .row__n { color: var(--accent) !important; }
.row__t { font: 500 clamp(24px, 2.6vw, 40px)/1 var(--f-display); font-variation-settings: "wdth" 80; letter-spacing: -.03em; }
.row__d { color: var(--ink-2); font-size: 15px; }
.row__y { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: right; }
.preview { position: fixed; left: 0; top: 0; width: 240px; height: 168px; pointer-events: none; z-index: 40; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: scale(.6); overflow: hidden; }
.preview svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px; opacity: 0; transition: opacity .25s; }
.preview svg.is-on { opacity: 1; }
.p-fill { fill: var(--bg-2); stroke: var(--ink); stroke-width: 1.5; }
.p-acc { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.p-acc-f { fill: var(--accent); }
.p-line { stroke: var(--muted); stroke-width: 4; stroke-linecap: round; }
.preview svg.is-on .p-acc { stroke-dasharray: 400; stroke-dashoffset: 400; animation: pdraw 1s var(--ease-out) forwards; }
@keyframes pdraw { to { stroke-dashoffset: 0; } }
.p-balls circle { animation: hover 1.4s var(--ease) infinite alternate; }
.p-balls circle:nth-child(2n) { animation-delay: .3s; }

/* ---------- services ---------- */
.services { padding: clamp(80px, 10vw, 150px) var(--gutter); position: relative; z-index: 2; }
.services__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.services__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.services__sub { margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 44ch; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 28px; overflow: hidden; }
.svc__item { --mx: 50%; --my: 50%; position: relative; background: var(--bg); padding: 32px 30px 30px; display: flex; flex-direction: column; gap: 12px; min-height: 290px; overflow: hidden; isolation: isolate; }
.svc__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.svc__item:hover::before { opacity: 1; }
.svc__ic { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: stroke .3s, transform .6s var(--ease-out); }
.svc__item:hover .svc__ic { stroke: var(--accent); transform: rotate(-8deg) scale(1.08); }
.svc__item h3 { margin: 0; font: 600 clamp(22px, 1.9vw, 28px)/1.1 var(--f-display); letter-spacing: -.025em; }
.svc__item p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.svc__eg { margin-top: auto; padding-top: 10px; font: 500 12px var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.steps { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.steps.is-in li::before { transform: scaleX(1); }
.steps.is-in li:nth-child(2)::before { transition-delay: .2s; } .steps.is-in li:nth-child(3)::before { transition-delay: .4s; } .steps.is-in li:nth-child(4)::before { transition-delay: .6s; }
.steps span { font: 500 12px var(--f-mono); color: var(--accent); }
.steps b { display: block; margin: 8px 0 6px; font: 600 22px var(--f-display); letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- record ---------- */
.record { padding: clamp(80px, 10vw, 150px) var(--gutter); background: var(--ink); color: var(--bg); border-radius: 40px; margin: 0 clamp(8px, 1.2vw, 16px); position: relative; z-index: 2; --line: rgba(241, 238, 230, .12); --line-2: rgba(241, 238, 230, .22); --muted: #8E8A81; --ink-2: #CFCBC1; }
:root[data-theme="dark"] .record { background: #EEEBE3; color: #121211; --line: rgba(18,18,17,.12); --line-2: rgba(18,18,17,.22); --muted: #76726A; --ink-2: #3A3935; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .record { background: #EEEBE3; color: #121211; --line: rgba(18,18,17,.12); --line-2: rgba(18,18,17,.22); --muted: #76726A; --ink-2: #3A3935; } }
.record__head { margin-bottom: clamp(40px, 5vw, 72px); }
.record .h2 { max-width: 22ch; }
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.job { display: grid; grid-template-columns: 160px minmax(260px, 1fr) 1.4fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-2); transition: padding .5s var(--ease-out); }
.job:hover { padding-left: 14px; }
.job__when { font: 500 13px var(--f-mono); color: var(--accent); }
.job__role { font: 500 clamp(20px, 1.9vw, 28px)/1.15 var(--f-display); letter-spacing: -.025em; display: grid; gap: 4px; }
.job__role i { font: italic 400 .75em var(--f-serif); color: var(--muted); letter-spacing: 0; }
.job__win { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ---------- toolkit: DH-81 keyboard ---------- */
.toolkit { --u: clamp(46px, 5.4vw, 74px); padding: clamp(72px, 9vw, 130px) var(--gutter) clamp(56px, 7vw, 100px); position: relative; z-index: 2; }
.toolkit__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 32px; }
.toolkit__sub { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.toolkit__swipe { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; max-width: 640px; justify-content: flex-end; }
.legend button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.legend button i { width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--ink)); box-shadow: 0 0 8px var(--cat, transparent); }
.legend button:hover { border-color: var(--ink); }
.legend button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-g="ai"] { --cat: #FF4F1A; } [data-g="auto"] { --cat: #E09A12; } [data-g="backend"] { --cat: #22A06B; } [data-g="frontend"] { --cat: #3B6BFF; }
[data-g="data"] { --cat: #9B5DE5; } [data-g="cloud"] { --cat: #0EA5E9; } [data-g="lang"] { --cat: #E0457B; } [data-g="obs"] { --cat: #8C887F; }

.kb { --case: #E3DED2; --case-2: #D5CFC1; --cap: #F7F4EC; --cap-side: #CFC8B8; --cap-ink: #2A2925;
  position: relative; border-radius: 34px; padding: clamp(14px, 1.6vw, 22px); background: linear-gradient(180deg, var(--case), var(--case-2)); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 50px 80px -50px rgba(0,0,0,.45), 0 20px 30px -24px rgba(0,0,0,.3); }
:root[data-theme="dark"] .kb { --case: #1F1F1C; --case-2: #161614; --cap: #2A2A27; --cap-side: #131311; --cap-ink: #EEEBE3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kb { --case: #1F1F1C; --case-2: #161614; --cap: #2A2A27; --cap-side: #131311; --cap-ink: #EEEBE3; } }
.kb__top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 4px 6px 16px; }
.kb__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cap-ink); }
.kb__brand .brand__mark { width: 34px; height: 24px; }
.kb__brand b { font: 700 15px var(--f-display); letter-spacing: .02em; }
.kb__brand i { font: italic 400 15px var(--f-serif); color: var(--muted); }
.kb__screen { justify-self: center; width: min(460px, 100%); padding: 10px 16px; border-radius: 12px; background: #0B0C0A; border: 1px solid #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 8px 20px rgba(0,0,0,.6); font: 500 14px/1.35 var(--f-mono); color: #FFB547; text-shadow: 0 0 8px rgba(255,181,71,.55); display: grid; gap: 2px; overflow: hidden; }
.kb__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb__line em { font-style: normal; color: #FF6A3D; }
.kb__meta { font-size: 11px; color: rgba(255,181,71,.6); letter-spacing: .06em; text-transform: uppercase; }
.kb__caret { display: inline-block; width: 8px; height: 1em; margin-left: 3px; vertical-align: -2px; background: #FFB547; animation: blink 1s steps(2) infinite; }
.kb__leds { display: flex; gap: 8px; }
.kb__leds i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.18); }
.kb__leds i.is-on { background: #22C55E; box-shadow: 0 0 10px #22C55E; }
.kb.is-typing .kb__leds i:nth-child(2) { background: #FFB547; box-shadow: 0 0 10px #FFB547; }

.kb__deck { display: grid; gap: calc(var(--u) * .12); padding: calc(var(--u) * .14); border-radius: 22px; background: rgba(0,0,0,.08); box-shadow: inset 0 2px 6px rgba(0,0,0,.18); }
.kb__row { display: flex; gap: calc(var(--u) * .12); justify-content: center; }
.key { --b: var(--cap-ink); position: relative; flex: none; width: var(--u); height: var(--u); border-radius: calc(var(--u) * .18); background: var(--cap-side); padding: 0 0 calc(var(--u) * .1); transition: filter .4s; outline-offset: 2px; }
.key > * { transition: opacity .4s; }
.key__face { position: absolute; inset: 0 0 calc(var(--u) * .1); border-radius: inherit; background: linear-gradient(180deg, color-mix(in oklab, var(--cap) 100%, #fff 18%), var(--cap)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.06); display: grid; place-items: center; align-content: center; gap: 3px; transition: transform .12s ease, background-color .3s; }
.key svg { width: calc(var(--u) * .36); height: calc(var(--u) * .36); fill: var(--cap-ink); transition: fill .2s, transform .3s var(--ease-out); }
.key__name { font: 500 calc(var(--u) * .135)/1 var(--f-mono); color: var(--muted); max-width: 92%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.02em; }
.key__led { position: absolute; top: calc(var(--u) * .1); right: calc(var(--u) * .1); width: 5px; height: 5px; border-radius: 50%; background: var(--cat, var(--muted)); opacity: .9; transition: opacity .3s, box-shadow .3s; }
.key:hover .key__face { transform: translateY(-1px); }
.key:hover svg { fill: var(--b); }
.key.is-down .key__face { transform: translateY(calc(var(--u) * .07)); }
.key.is-lit svg { fill: var(--b); transform: scale(1.08); }
.key.is-lit .key__led { opacity: 1; box-shadow: 0 0 8px 2px var(--cat); }
.key.is-lit .key__face { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 2px var(--cat); }
.key.is-dim { filter: saturate(0); }
.key.is-dim > * { opacity: .3; }
.key.is-dim { background: color-mix(in oklab, var(--cap-side) 40%, transparent); }
.key--space { width: calc(var(--u) * 6.5); }
.key--space .key__face { font: 500 calc(var(--u) * .2) var(--f-mono); color: var(--muted); letter-spacing: .08em; text-transform: lowercase; }
.key--space .key__face b { color: var(--accent); font-weight: 500; }

/* ---------- contact ---------- */
.contact { padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(60px, 8vw, 110px); position: relative; z-index: 2; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__left { position: sticky; top: 110px; }
.contact__title { margin: 0 0 22px; font: 600 clamp(56px, 7.6vw, 132px)/.9 var(--f-display); font-variation-settings: "wdth" 80, "opsz" 96; letter-spacing: -.04em; }
.contact__title .serif { font-weight: 400; color: var(--accent); letter-spacing: -.03em; font-size: 1.08em; }
.contact__sub { margin: 0; color: var(--ink-2); max-width: 44ch; font-size: clamp(16px, 1.25vw, 18px); }
.channels { display: grid; gap: 10px; margin-top: 32px; max-width: 420px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--line-2); transition: border-color .3s, background-color .3s; }
.channel:hover { border-color: var(--ink); background: var(--card); }
.channel svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.channel svg .fill { fill: var(--ink); stroke: none; }
.channel:hover svg { stroke: var(--accent); }
.channel:hover svg .fill { fill: var(--accent); }
.channel span { display: grid; line-height: 1.25; }
.channel b { font-weight: 600; font-size: 15px; }
.channel i { font: 400 12.5px var(--f-mono); color: var(--muted); }

.brief { position: relative; border: 1px solid var(--line-2); border-radius: 30px; background: var(--card); padding: clamp(24px, 3vw, 44px); display: grid; gap: 22px; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(0,0,0,.35); }
.brief__label { margin: 0; font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mad { margin: 0; font: 500 clamp(22px, 2.2vw, 32px)/1.75 var(--f-display); letter-spacing: -.02em; color: var(--muted); text-wrap: pretty; }
.slot { position: relative; display: inline-block; }
.slot input, .slot select { font: inherit; letter-spacing: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 2px dashed var(--line-2); border-radius: 0; padding: 0 2px; margin: 0 2px; outline: none; line-height: 1.3; transition: border-color .3s, color .3s; }
.slot input { width: 8ch; }
.slot input::placeholder { color: color-mix(in oklab, var(--muted) 70%, transparent); }
.slot select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 1.05em; }
.slot select:invalid { color: color-mix(in oklab, var(--muted) 70%, transparent); }
.slot select option { color: var(--ink); background: var(--card); font-size: 16px; }
.slot--sel::after { content: ""; position: absolute; right: .25em; top: 50%; width: .32em; height: .32em; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-75%) rotate(45deg); pointer-events: none; transition: transform .3s var(--ease-out); }
.slot--sel:hover::after { transform: translateY(-45%) rotate(45deg); }
.slot input:hover, .slot select:hover { border-bottom-color: var(--ink); }
.slot input:focus, .slot select:focus { border-bottom-color: var(--accent); border-bottom-style: solid; }
.slot.is-filled input, .slot.is-filled select { border-bottom-style: solid; border-bottom-color: var(--accent); color: var(--ink); }
.slot.is-bad input, .slot.is-bad select { border-bottom-color: #E5484D; }
.field { position: relative; display: block; }
.field textarea { width: 100%; border: 1px solid var(--line-2); background: var(--bg); border-radius: 16px; padding: 24px 16px 10px; font-size: 15px; outline: none; resize: vertical; min-height: 72px; transition: border-color .3s, box-shadow .3s; }
.field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 16%, transparent); }
.field span { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease-out), color .3s; }
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.75); color: var(--accent); }
.brief__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brief__hint { font-size: 14px; color: var(--muted); }
.brief__send { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 16px var(--f-body); transition: background-color .3s, box-shadow .4s var(--ease-out); }
.brief__send svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.brief__send:hover { box-shadow: 0 14px 34px -10px color-mix(in oklab, var(--accent) 70%, transparent); }
.brief__send:hover svg { transform: translate(3px, -3px) rotate(-8deg); }
.brief__err { margin: -8px 0 0; color: #E5484D; font-size: 14px; }
.brief__err:empty { display: none; }
.brief__done { position: absolute; inset: 0; background: var(--card); display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 32px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s; }
.brief.is-done .brief__done { opacity: 1; visibility: visible; }
.brief__done svg { width: 84px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brief__done svg circle { stroke-dasharray: 220; stroke-dashoffset: 220; }
.brief__done svg path { stroke-dasharray: 50; stroke-dashoffset: 50; }
.brief.is-done .brief__done svg circle { animation: dashTo .9s var(--ease-out) forwards; }
.brief.is-done .brief__done svg path { animation: dashTo .6s .6s var(--ease-out) forwards; }
@keyframes dashTo { to { stroke-dashoffset: 0; } }
.brief__done h3 { margin: 0; font: 600 clamp(28px, 3vw, 40px) var(--f-display); letter-spacing: -.03em; }
.brief__done p { margin: 0 0 8px; color: var(--ink-2); max-width: 40ch; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px var(--gutter); border-top: 1px solid var(--line); font: 500 12px var(--f-mono); color: var(--muted); letter-spacing: .03em; position: relative; z-index: 2; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 200%); visibility: hidden; z-index: 96; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font: 500 13px var(--f-mono); transition: transform .5s var(--ease-out), visibility .5s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .bp { max-width: 640px; }
  .card { grid-template-columns: 1fr; grid-template-rows: clamp(140px, 24vh, 240px) auto; height: auto; min-height: 0; width: min(82vw, 580px); }
  .row { grid-template-columns: 48px 1fr 120px; }
  .row__d { display: none; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__left { position: static; }
  .legend { justify-content: flex-start; }
  .kb__top { grid-template-columns: 1fr auto; }
  .kb__screen { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .job { grid-template-columns: 120px 1fr; }
  .job__win { grid-column: 2; }
}
@media (max-width: 900px) {
  .kb__deck { display: flex; flex-wrap: wrap; justify-content: center; }
  .kb__row { display: contents; }
  .key--space { width: 100%; }
  .nav__links { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services__head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: 1fr; gap: 14px; }
  .logos__row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .toolkit { --u: 42px; }
  .toolkit__swipe { display: inline; }
  .kb__deck { display: grid; justify-content: start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kb__deck::-webkit-scrollbar { display: none; }
  .kb__row { display: flex; justify-content: flex-start; width: max-content; }
  .kb__row:last-child { position: sticky; left: 0; width: calc(100vw - 2 * var(--gutter) - 46px); justify-content: center; }
  .key--space { width: calc(var(--u) * 6.5); }
  .kb { border-radius: 24px; padding: 10px; }
  .kb__brand i { display: none; }
  .key__name { display: none; }
  .nav { padding-block: 12px; }
  .nav__clock, .brand__word { display: none; }
  .nav__cta { padding: 0 14px; font-size: 13px; }
  .hero { padding-top: 96px; padding-bottom: 40px; }
  .hero__line--serif { font-size: 24vw; }
  .hero__line--sans { font-size: 30vw; margin-left: 0; }
  .hero__geez { display: none; }
  .roles { flex-wrap: wrap; }
  .bp { padding: 14px; border-radius: 22px; }
  .bp__stage { padding: 6px; }
  .bp__layers { display: none; }
  .proof__grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .work__pin { height: auto; padding: 80px 0 40px; }
  .work__count { display: none; }
  .work__track { width: auto; flex-direction: column; gap: 16px; }
  .card { width: 100%; height: auto; grid-template-rows: 240px auto; }
  .row { grid-template-columns: 32px 1fr; padding: 20px 0; }
  .row__y { display: none; }
  .svc { grid-template-columns: 1fr; border-radius: 22px; }
  .svc__item { min-height: 0; padding: 26px 22px; }
  .steps { grid-template-columns: 1fr; }
  .record { border-radius: 28px; margin: 0 6px; }
  .job { grid-template-columns: 1fr; gap: 6px; }
  .job__win { grid-column: auto; }
  .tool { position: static; left: auto !important; top: auto !important; }
  .mad { font-size: 21px; line-height: 1.85; }
  .brief__send { width: 100%; justify-content: center; }
}

@media (min-width: 641px) and (max-width: 1180px) and (max-height: 860px) {
  .card { grid-template-rows: clamp(110px, 17vh, 170px) auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
