@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Pixel"; src: url("fonts/GeistPixel-digits.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Geist Serif"; src: url("fonts/GeistSerif-tagline.woff2") format("woff2"); font-display: swap; }

:root {
  --red: #c5112d;
  --ember: #ff4458;
  --charcoal: #120e0f;
  --paper: #fffafa;
  color-scheme: dark;
  --section-tail: clamp(150px, 20vw, 300px);
  --curtain-depth: min(28svh, calc(var(--section-tail) - 24px));
  --pad: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-left), env(safe-area-inset-right));
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--charcoal); color: var(--paper);
  font: 400 17px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd, pre { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--accent, var(--red)); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: 8px; z-index: 200; padding: 14px 16px; background: #000; color: #fff; font: 400 13px/1 var(--mono); transform: translateY(-200%); }
.skip:focus { transform: none; }
.micro { font: 400 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.t-charcoal { --bg: var(--charcoal); --fg: var(--paper); --dim: rgba(255,250,250,.68); --line: rgba(255,250,250,.22); --accent: var(--red); --accent-ink: #fff; }
.t-dark  { --bg: #000; --fg: #fff; --dim: rgba(255,255,255,.6); --line: rgba(255,255,255,.22); --accent: #fff; --accent-ink: #000; }
.t-red  { --bg: var(--red); --fg: #fff; --dim: rgba(255,255,255,.7); --line: rgba(255,255,255,.3); --accent: #fff; --accent-ink: var(--red); }

section {
  position: relative; background: var(--bg); color: var(--fg);
  padding: clamp(110px, 13vw, 200px) var(--pad) var(--section-tail);
}

h2 { font: 500 clamp(40px, 7.4vw, 132px)/.94 var(--sans); letter-spacing: -.045em; text-wrap: balance; }

.sh { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(48px, 7vw, 110px); color: var(--fg); }
.sh i { flex: 1; height: 1px; background-image: linear-gradient(90deg, var(--line) 0 2px, transparent 2px); background-size: 6px 1px; }
.sh .micro:first-child { white-space: nowrap; }
.sh .micro:last-child { color: var(--dim); text-align: right; }

.tag { display: inline-block; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 7px 4px; border: 1px solid var(--line); border-radius: 3px; color: var(--dim); white-space: nowrap; }
.tag.live { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.curtain { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: calc(var(--curtain-depth) + 1px); pointer-events: none; z-index: 2; }

#loader { position: fixed; inset: 0; z-index: 100; color: #fff; pointer-events: none; }
.loader-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, 1fr); }
.loader-grid i { background: #000; outline: 1px solid #000; }
.loader-grid i.off { visibility: hidden; }
.loader-meta { position: absolute; left: var(--pad); right: var(--pad); top: var(--pad); display: flex; justify-content: space-between; }
.loader-count { color: var(--ember); position: absolute; left: var(--pad); bottom: calc(var(--pad) - .12em); font: 400 clamp(120px, 30vw, 460px)/.8 "Geist Pixel", var(--mono); letter-spacing: -.02em; }
#loader.out .loader-meta, #loader.out .loader-count { visibility: hidden; }

.hud { position: fixed; left: var(--pad); right: var(--pad); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; color: var(--paper); transition: color .25s linear; }
.hud[data-tone="dark"], .hud[data-tone="red"] { color: #fff; }

.hud { left: 0; right: 0; padding-inline: var(--pad); height: 48px; background: var(--charcoal); transition: color .2s linear, background-color .2s linear; }
.hud[data-tone="dark"] { background: #000; }
.hud[data-tone="red"] { background: var(--red); }
.hud-top { top: 0; height: calc(48px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
.hud-bottom { bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.hud { --hf: var(--paper); --hb: var(--charcoal); }
.hud[data-tone="dark"] { --hf: #fff; --hb: #000; }
.hud[data-tone="red"] { --hf: #fff; --hb: var(--red); }

.mode { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: inherit; }
.mode .opt { opacity: .45; transition: opacity .2s linear; }
.mode[aria-checked="false"] .opt-h, .mode[aria-checked="true"] .opt-a { opacity: 1; }
.mode .track { position: relative; width: 36px; height: 18px; border: 1px solid currentColor; }
.mode .knob { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; background: currentColor; transition: transform .28s steps(5, end); }
.mode[aria-checked="true"] .knob { transform: translateX(18px); background: var(--red); }
.hud[data-tone="red"] .mode[aria-checked="true"] .knob { background: currentColor; }
@media (hover: hover) { .mode:hover .knob { transform: translateX(4px); } .mode[aria-checked="true"]:hover .knob { transform: translateX(14px); } }
.hud-back { display: none; pointer-events: auto; font: 400 13px/1 var(--mono); min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.hud-ai { display: none; }
body.ai .mode, body.ai .hud-human { display: none; }
body.ai .hud-back { display: inline-flex; }
body.ai .hud-ai { display: inline; }
body.ai main { display: none; }

#ai-view { min-height: 100vh; padding: calc(48px + clamp(28px, 5vw, 64px)) var(--pad) calc(48px + 64px); font: 400 13px/1.65 var(--mono); color: var(--paper); background: var(--charcoal); }
#ai-view > * { max-width: 78ch; }
.ai-meta { color: rgba(255,250,250,.68); }
.ai-links { margin: 0 0 24px; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,250,250,.3); display: flex; flex-wrap: wrap; gap: 0 16px; }
.ai-links span { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.ai-links a, .ai-links button { text-decoration: underline; text-underline-offset: 3px; font: inherit; padding: 12px 0; }
.ai-links a:hover, .ai-links button:hover, #ai-doc a:hover { color: var(--ember); }
#ai-doc .ln { white-space: pre-wrap; overflow-wrap: anywhere; min-height: 1.65em; }
#ai-doc .ln.h { font-weight: 500; }
#ai-doc .ln.q { color: var(--ember); }
#ai-doc .ln.dim { color: rgba(255,250,250,.68); }
#ai-doc .ascii { font: inherit; font-size: min(13px, calc((100vw - 2 * var(--pad)) / 23.5)); line-height: 1.2; white-space: pre; margin: 0; }
#ai-doc .caret { display: inline-block; width: .6em; height: 1.1em; background: var(--ember); vertical-align: -.2em; animation: blink 1s steps(2) infinite; }

#wipe { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, 1fr); pointer-events: none; }
#wipe i { background: var(--red); outline: 1px solid var(--red); visibility: hidden; }
#wipe i.on { visibility: visible; }

.hud-logo svg { color: var(--ember); }
.hud[data-tone="red"] .hud-logo svg { color: #fff; }
.hud-logo { display: flex; align-items: center; gap: 9px; font: 500 17px/1 var(--sans); letter-spacing: -.03em; pointer-events: auto; }
.hud-rule { flex: 1; height: 1px; background: color-mix(in srgb, currentColor 22%, transparent); position: relative; }
.hud-rule i { position: absolute; left: 0; top: -2px; height: 5px; width: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); }
.hud-coords { font-variant-numeric: tabular-nums; }
.hud-index { min-width: 21ch; }

.hero-track { height: 230vh; position: relative; background: var(--charcoal); }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#sea { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-info { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(60px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none; }
.hero-lede { max-width: 30ch; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.3; letter-spacing: -.015em; background: var(--charcoal); padding: 6px 8px 6px 0; }
.hero-hint { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; background: var(--charcoal); padding: 6px 0 6px 8px; }

.manifesto { padding: 0; }
.manifesto-track { height: 320vh; }
.manifesto-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.manifesto-text, .tagline { grid-area: 1 / 1; }
.manifesto-text { width: min(100% - 2 * var(--pad), 62ch); text-align: center; font: 400 clamp(12.5px, 1.32vw, 20px)/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; display: grid; gap: 1.6em; }
.manifesto-text .w { opacity: .22; transition: opacity .25s linear; }
.manifesto-text .w.on { opacity: 1; }
.tagline { font: 400 clamp(52px, 10.5vw, 190px)/.95 "Geist Serif", Georgia, serif; letter-spacing: -.035em; text-align: center; opacity: 0; }
.manifesto-sign { position: absolute; bottom: calc(var(--pad) + 44px); left: 0; right: 0; text-align: center; letter-spacing: .3em; }

.parts li { position: relative; display: grid; grid-template-columns: 9ch 1fr minmax(0, 34ch); align-items: baseline; gap: 20px; padding: clamp(18px, 2.2vw, 34px) 0; border-top: 1px solid var(--line); }
.parts li:last-child { border-bottom: 1px solid var(--line); }
.parts li::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--pad)); background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.parts li > * { position: relative; z-index: 1; transition: color .2s linear, transform .45s var(--ease); }
.parts .micro { color: var(--dim); }
.parts p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.38; }
@media (hover: hover) {
  .parts li:hover::before { transform: scaleY(1); }
  .parts li:hover > * { color: var(--bg); }
  .parts li:hover h2 { transform: translateX(.18em); }
}
.ticker { margin: clamp(60px, 8vw, 120px) calc(-1 * var(--pad)) 0; overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0 13px; }
.ticker div { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker span { padding: 0 22px; white-space: nowrap; }
.ticker span::after { content: "↗"; margin-left: 44px; color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

.services { padding-top: 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--fg); }
.card { padding: clamp(18px, 2.2vw, 34px); display: flex; flex-direction: column; gap: clamp(18px, 2vw, 28px); min-width: 0; }
.card + .card { border-left: 1px solid var(--fg); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-title { font: 500 clamp(34px, 5.2vw, 92px)/.98 var(--sans); letter-spacing: -.045em; min-height: 2em; }
.card-lede { font-size: clamp(18px, 1.7vw, 25px); line-height: 1.24; letter-spacing: -.02em; max-width: 30ch; }
.card dl { margin-top: auto; }
.card dl div { display: grid; grid-template-columns: 9ch 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.card dt { color: var(--dim); padding-top: 3px; }
.card dd { font-size: 15px; line-height: 1.4; max-width: 46ch; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--fg); border-top: 0; }
.steps li { padding: clamp(16px, 2vw, 28px); display: grid; gap: 8px; align-content: start; }
.steps li + li { border-left: 1px solid var(--line); }
.steps .micro { color: var(--dim); }
.steps strong { font: 500 clamp(20px, 2vw, 30px)/1.05 var(--sans); letter-spacing: -.03em; }
.steps li > span:last-child { font-size: 15px; line-height: 1.4; color: var(--dim); max-width: 34ch; }

.honest { margin-top: clamp(120px, 17vw, 260px); display: grid; gap: 22px; }
.honest .micro { color: var(--dim); }
.honest-line { font: 500 clamp(38px, 8.4vw, 150px)/.96 var(--sans); letter-spacing: -.05em; max-width: 13em; }
.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl::before { content: ""; position: absolute; inset: .04em -.08em -.02em; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hl span { position: relative; color: var(--paper); }

.notes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.notes-copy { display: grid; gap: 18px; }
.notes-copy h2 { font-size: clamp(38px, 5.2vw, 92px); margin-bottom: clamp(14px, 2vw, 30px); }
.notes-copy p { max-width: 44ch; color: var(--dim); font-size: clamp(16px, 1.3vw, 19px); }
.notes-copy p:nth-of-type(2) { color: var(--fg); }
.notes-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.term { border: 1px solid var(--line); font: 400 13px/1.6 var(--mono); position: sticky; top: 90px; }
.term-bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--dim); }
.term-body { display: grid; grid-template-columns: auto 1fr; min-height: 320px; }
.tree { padding: 16px 18px 16px 14px; border-right: 1px solid var(--line); color: var(--dim); font: inherit; line-height: 1.55; }
.tree span { transition: background .2s, color .2s; padding: 1px 3px; margin: 0 -3px; }
.tree span.hit { background: var(--red); color: #fff; }
.log { padding: 16px 14px; display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; min-width: 0; overflow: hidden; }
.log .q { color: var(--dim); }
.log .q::before { content: "› "; }
.log .a { color: var(--fg); font: 400 15px/1.4 var(--sans); letter-spacing: -.005em; }
.log .src { color: var(--dim); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; display: block; }
.log .caret { display: inline-block; width: .55em; height: 1em; background: var(--fg); vertical-align: -.15em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.asks { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.asks button { font: 400 12px/1 var(--mono); padding: 9px 10px 8px; border: 1px solid var(--line); border-radius: 3px; transition: background .15s, color .15s, border-color .15s; }
.asks button:hover, .asks button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.asks button:active { transform: scale(.97); }

.rows li { display: grid; grid-template-columns: 7ch minmax(0, 1.1fr) minmax(0, 1.4fr) 12ch 12ch 12ch; gap: 20px; align-items: baseline; padding: clamp(18px, 2vw, 30px) 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { font: 500 clamp(34px, 5vw, 84px)/.95 var(--sans); letter-spacing: -.045em; }
.rows p { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.38; max-width: 40ch; }
.rows .micro { color: var(--dim); }
.rows .row-link { text-align: right; }
.rows .tag { justify-self: start; }
.rows a.row-link { color: var(--fg); }
.rows a.row-link:hover { color: var(--ember); }

.contact { padding-bottom: calc(var(--pad) + 44px); min-height: 100vh; display: flex; flex-direction: column; }
.contact-title { color: var(--dim); font-size: clamp(30px, 4.2vw, 72px); line-height: 1; }
.mail { display: inline-flex; align-items: baseline; gap: .12em; align-self: flex-start; margin-top: clamp(18px, 2.4vw, 36px); font: 500 clamp(30px, 8.6vw, 160px)/1 var(--sans); letter-spacing: -.055em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 .05em no-repeat; padding-bottom: .08em; transition: background-size .6s var(--ease); }
.mail i { font-style: normal; font-size: .6em; transition: transform .4s var(--ease); display: inline-block; }
.mail:hover { background-size: 100% .05em; }
.mail:hover i { transform: translate(.12em, -.12em); }
.contact-list { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px clamp(28px, 6vw, 110px); margin-top: clamp(48px, 7vw, 110px); }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { color: var(--dim); }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot { margin-top: auto; padding-top: clamp(70px, 10vw, 150px); display: flex; justify-content: space-between; gap: 20px; color: var(--dim); }
.foot span:nth-child(2) { text-align: center; }
.foot span:last-child { text-align: right; }

[data-typer] .ch, #hud-name .ch { display: inline-block; white-space: pre; }
.ch.s0 { color: transparent; }
.ch.s1 { color: var(--bg); background: var(--fg); border-radius: 4px; }
.ch.s1 + .ch.s1 { border-radius: 0; }
.ch.s2 { color: transparent; box-shadow: inset 0 0 0 1px var(--fg); border-radius: 4px; }
.ch.s3 { color: var(--accent-ink); background: var(--accent); }

.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

@media (pointer: coarse) {
  .asks button { min-height: 44px; padding: 0 14px; font-size: 13px; }
  .asks button:active, .rows a.row-link:active, .contact-list a:active { opacity: .6; }
  .contact-list a, .rows a.row-link { display: inline-flex; align-items: center; min-height: 44px; }
  .hud-logo { min-height: 44px; }
}

@media (max-width: 860px) {
  :root { --section-tail: clamp(64px, 11svh, 96px); }
  body { font-size: 16px; }
  section { padding-block-start: clamp(62px, 10svh, 88px); }
  .manifesto, .services { padding-block-start: 0; }
  #lab, #contact { scroll-margin-block-start: 44px; }
  .sh { margin-bottom: clamp(26px, 6vw, 48px); }
  .honest { margin-top: clamp(56px, 12vw, 96px); gap: 14px; }
  .micro, .tag { font-size: 12px; }
  
  .hud { left: 0; right: 0; padding-inline: var(--pad); height: 44px; background: var(--charcoal); transition: color .2s linear, background-color .2s linear; }
  .hud[data-tone="dark"] { background: #000; }
  .hud[data-tone="red"] { background: var(--red); }
  .hud-top { top: 0; height: calc(44px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .hud-bottom { bottom: 0; height: calc(44px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .hero-track { height: 140svh; }
  .manifesto-track { height: 190svh; }
  .manifesto-text { font-size: 13px; line-height: 1.65; gap: 1.4em; }
  .hero-info { bottom: calc(56px + env(safe-area-inset-bottom)); }
  .manifesto-sign { bottom: calc(60px + env(safe-area-inset-bottom)); }
  .honest-line { font-size: clamp(30px, 9.6vw, 72px); }
  .mail { font-size: clamp(22px, 7.7vw, 60px); min-height: 44px; align-items: center; }
  .tagline { font-size: clamp(38px, 13.2vw, 96px); padding-inline: var(--pad); }
  .card dd, .steps li > span:last-child { font-size: 16px; }
  .contact { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .contact-list { gap: 4px; }
  .hud-wide, .hud-coords { display: none; }
  #ai-view { font-size: 12.5px; }
  .hud-index { min-width: 0; }
  .hero-info { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-hint { flex-direction: row; gap: 14px; padding-left: 0; }
  .parts li { grid-template-columns: 1fr; gap: 8px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card + .card { border-left: 0; border-top: 1px solid var(--fg); }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .card-title { min-height: 0; }
  .notes-grid { grid-template-columns: 1fr; }
  .term { position: static; font-size: 12px; }
  .term-body { grid-template-columns: 1fr; min-height: 0; }
  .tree { border-right: 0; border-bottom: 1px solid var(--line); }
  .log { min-height: 190px; }
  .rows li { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .rows li > .micro:first-child, .rows h3, .rows p { grid-column: 1 / -1; }
  .rows .row-link { text-align: right; }
  .rows li > .micro:nth-of-type(2) { display: none; }
  .contact-list { grid-template-columns: 1fr; }
  .foot { flex-direction: column; gap: 6px; }
  .foot span:nth-child(2), .foot span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .curtain { display: none; }
  .ticker div { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .manifesto-text .w { transition: none; }
  .log .caret { animation: none; }
}

.studio-mark {
  width: 14px;
  height: 20px;
  flex: none;
  background: var(--ember);
  mask: url("../icon.svg") center / contain no-repeat;
}
.hud[data-tone="red"] .studio-mark { background: currentColor; }
.studio-nav { margin-right: auto; display: flex; align-items: center; gap: 1.4rem; pointer-events: auto; }
.studio-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.studio-nav a:hover, .studio-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hud-top { column-gap: clamp(16px, 3vw, 60px); }
.lab-title { margin-bottom: clamp(28px, 4vw, 60px); }
.project-rows li { grid-template-columns: 5ch minmax(0,1fr) minmax(0,1.2fr) 11ch minmax(9ch,auto); }
.project-rows h3 { font-size: clamp(30px, 4.5vw, 84px); }
.project-links { display: grid; gap: 4px; justify-items: start; }
.project-links a, .member-links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ember); }
.project-links a { color: var(--paper); }
.project-links a:hover, .member-links a:hover, .team-foot a:hover { color: var(--ember); }
.project-links b { font-weight: 400; }
.team-page { min-height: 100svh; display: flex; flex-direction: column; }
.team-page .studio-nav { margin: 0 0 0 auto; }
.team-main { width: 100%; max-width: 1800px; margin: 0 auto; padding: clamp(80px, 8vw, 144px) var(--pad) clamp(40px, 5vw, 90px); }
.team-heading { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: clamp(16px, 2vw, 34px); }
.team-heading h1 { font: 500 clamp(64px, 9vw, 150px)/.85 var(--sans); letter-spacing: -.075em; }
.team-heading h1 span { color: var(--ember); }
.team-heading .micro, .team-foot, .member-figure figcaption { color: var(--dim); }
.team-profile { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); align-items: center; gap: clamp(24px, 6vw, 110px); padding-block: clamp(30px, 4vw, 72px); }
.member-role { display: inline-block; color: var(--paper); background: var(--red); padding: 4px 10px; margin-bottom: clamp(16px, 2vw, 32px); }
.member-copy h2 { font-size: clamp(64px, 8.7vw, 155px); letter-spacing: -.065em; line-height: .89; }
.member-bio { margin-block: clamp(20px, 2.5vw, 42px) 20px; max-width: 35ch; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.35; }
.member-links { display: flex; gap: 24px; }
.member-links a, .team-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.member-figure { width: 100%; max-width: min(54vh, 460px); justify-self: end; margin: 0; }
.member-print { position: relative; overflow: hidden; background: #f0696e; aspect-ratio: 1; isolation: isolate; }
.member-print img { width: 100%; height: 100%; display: block; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.member-print::after { content: ""; position: absolute; inset: 0; background: radial-gradient(#1b0205 0.5px, transparent 1px) 0 0 / 3px 3px; opacity: .28; pointer-events: none; }
.member-figure figcaption, .team-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.member-figure figcaption { padding-top: 8px; }
.team-foot { margin: auto var(--pad) 0; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .member-copy, .member-figure { animation: team-appear .7s var(--ease) both; }
  .member-figure { animation-delay: .12s; }
  @keyframes team-appear { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .project-rows li { grid-template-columns: 1fr auto; }
  .project-links { display: flex; align-items: center; gap: 14px; }
  .project-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .project-rows .tag { align-self: center; }
}
@media (max-width: 660px) {
  .hud-top { column-gap: 12px; }
  .hud-top .hud-clock { display: none; }
  .studio-nav { gap: 12px; margin: 0 auto; }
  .team-profile { grid-template-columns: 1fr; }
  .member-figure { max-width: 400px; justify-self: start; }
}
@media (max-width: 380px) {
  .hud-top { column-gap: 6px; }
  .hud-logo { gap: 5px; font-size: 14px; }
  .studio-nav, .mode { font-size: 10px; gap: 6px; }
  .hud-back { font-size: 11px; }
}
.hero-intro { display: grid; justify-items: start; gap: .65rem; }
.hero-projects { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 44px; padding: .65rem 1rem; color: white; background: #ac102c; font: 500 .88rem var(--sans); pointer-events: auto; }
.hero-projects:hover { background: #cc1335; }
.hero-projects span { font-size: 1.15em; }
.member-bio a, .log a.src { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: .18em; }
.member-bio a:hover, .log a.src:hover { color: var(--ember); }
.project-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2vw,2.5rem); }
.project-tile { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.project-cover { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.58; display: grid; place-items: center; }
.tile-heading { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin-top: 1rem; }
.tile-heading h3 { font: 500 clamp(2.1rem,3.6vw,4rem)/1 var(--sans); letter-spacing: -.065em; }
.tile-heading > span { font: 400 1.6rem var(--mono); color: var(--ember); }
.project-open:focus-visible { outline-offset: 4px; }
.project-open:hover h3 { text-decoration: underline; text-decoration-thickness: .055em; text-underline-offset: .09em; }
.tile-type { color: #f79aa5; margin: .7rem 0 .5rem; }
.tile-description { color: #e0d5d7; max-width: 39ch; line-height: 1.42; margin-bottom: .8rem; }
.tile-links { display: flex; gap: 1.25rem; align-items: center; color: #b5a6aa; margin-top: auto; min-height: 44px; }
.tile-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.cover-crosshero { background: repeating-linear-gradient(0deg,transparent 0 19px,#f9c2bd33 19px 20px),repeating-linear-gradient(90deg,transparent 0 19px,#f9c2bd33 19px 20px),#de3042; }
.cover-calendar { width: 70%; padding: 6% 5% 4%; display: grid; grid-template-columns: repeat(5,1fr); align-items: center; gap: .4rem 2%; transform: rotate(-7deg); background: #261517; color: #ffeee9; box-shadow: 7px 7px 0 #751b2a; }
.cover-calendar span { font: .58rem var(--mono); }
.cover-calendar b { font: 500 clamp(13px,1.5vw,25px) var(--sans); }
.cover-calendar b:nth-of-type(2), .cover-calendar b:nth-of-type(4) { color: #ff7788; }
.cover-calendar strong { grid-column: span 4; padding-top: .13em; font: 500 clamp(2.5rem,4.1vw,6rem)/1 var(--sans); letter-spacing: -.085em; }
.cover-calendar i { display: grid; place-items: center; background: #fc3d55; font: 700 1rem var(--mono); aspect-ratio: 1; }
.cover-thermovoz { background: radial-gradient(circle at 50% 50%,#2d161d, #170c11 70%); }
.cover-thermovoz::before { content: ""; position: absolute; inset: -20%; background: repeating-radial-gradient(ellipse 43% 65% at center,transparent 0 10px,#f859733c 10px 11px); transform: rotate(-19deg); }
.cover-voice { position: relative; display: flex; justify-content: space-between; align-items: center; width: 76%; height: 60%; }
.cover-voice i { height: 8%; width: 3.3%; background: #fe536e; border-radius: 2px; }
.cover-voice i:nth-child(3n) { height: 34%; }
.cover-voice i:nth-child(4n+2) { height: 21%; }
.cover-voice i:nth-child(5), .cover-voice i:nth-child(11) { height: 62%; }
.cover-voice i:nth-child(7), .cover-voice i:nth-child(9) { height: 84%; }
.cover-voice i:nth-child(8) { height: 100%; background: #ffacb8; }
.cover-atelier { background: #110f10; }
.cover-atelier img { position: absolute; max-width: none; width: 216%; height: auto; left: -107%; top: 50%; translate: 0 -52%; }
.demo-exit { display: flex; justify-content: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.demo-exit a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 4px; }
:focus-visible { outline-color: #ff8999; }
.t-red :focus-visible, .hud[data-tone="red"] :focus-visible { outline-color: white; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cover-calendar, .cover-voice, .cover-atelier img { transition: transform .45s var(--ease); }
  .project-open:hover .cover-calendar { transform: rotate(-3deg) translateY(-2px); }
  .project-open:hover .cover-voice { transform: scaleY(1.12); }
  .project-open:hover .cover-atelier img { transform: scale(1.035); }
}
@media (max-width: 720px) {
  .project-gallery { grid-template-columns: 1fr; gap: 2.2rem; }
  .project-cover { aspect-ratio: 2; }
  .tile-description { margin-bottom: .2rem; }
  .cover-calendar { width: 57%; }
  .tile-heading h3 { font-size: 2.65rem; }
}
@media (max-width: 500px) {
  .hero-hint { display: none; }
  .hero-lede { max-width: 27ch; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-track { height: 100svh; }
  .manifesto-track { height: auto; }
  .manifesto-pin { height: auto; min-height: 100svh; padding: 5rem var(--pad); }
  .manifesto-text { opacity: 1 !important; width: min(100%,62ch); }
  .tagline { display: none; }
}

#ai-doc a { display: inline-block; max-width: 100%; vertical-align: top; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.skip:not(:focus) { clip-path: inset(100%); }
