:root {
  --bg: #070B1E;
  --bg-2: #0D1330;
  --bg-3: #131A3D;
  --fg: #EEF1FF;
  --fg-dim: #9AA3C7;
  --line: #232B4D;
  --ai: #5B8CFF;
  --ai-soft: rgba(91, 140, 255, .16);
  --game: #FF6B4A;
  --game-soft: rgba(255, 107, 74, .16);
  --display: "Bricolage Grotesque", "IBM Plex Sans KR", system-ui, sans-serif;
  --body: "IBM Plex Sans KR", "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
canvas { display: block; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 4px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, backdrop-filter .3s;
}
.nav.solid {
  background: rgba(7, 11, 30, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-mark { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); }
.nav-flamingo { width: 26px; height: 24px; display: block; }
.nav-word { width: 99px; height: 20px; display: block; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--fg-dim); }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-ai { background: var(--ai); }
.dot-game { background: var(--game); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  padding: 120px var(--gutter) 56px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: .28;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 30%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 30%, #000 100%);
}
.hero-copy { position: relative; max-width: 720px; }
.hero-kicker {
  font-family: var(--display); font-size: 15px; color: var(--fg-dim);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: .98;
  letter-spacing: -.035em;
  font-variation-settings: "wdth" 88;
}
.hero-lede {
  margin-top: 26px; max-width: 600px; color: var(--fg-dim); font-size: 18px;
}
.hero-lede b { color: var(--fg); }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; height: 48px; padding: 0 22px;
  border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 15px;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ai { background: var(--ai); color: #051033; }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-dim); }

.hero-readout {
  position: absolute; right: var(--gutter); bottom: 56px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font-family: var(--mono); font-size: 12px; color: var(--fg-dim);
}

/* ---------- labs split ---------- */
.labs {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: grid-template-columns .5s cubic-bezier(.4, 0, .2, 1);
}
.labs:has(.lab-ai:hover) { grid-template-columns: 1.35fr 1fr; }
.labs:has(.lab-game:hover) { grid-template-columns: 1fr 1.35fr; }
.lab {
  position: relative; padding: 64px var(--gutter) 56px; min-height: 520px;
  display: flex; flex-direction: column; gap: 18px;
  isolation: isolate; overflow: hidden;
}
.lab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  transition: opacity .5s;
}
.lab-ai::before { background: radial-gradient(120% 80% at 0% 100%, var(--ai-soft), transparent 60%); }
.lab-game::before { background: radial-gradient(120% 80% at 100% 100%, var(--game-soft), transparent 60%); }
.lab:hover::before { opacity: 1; }
.lab + .lab { border-left: 1px solid var(--line); }
.lab-head { display: flex; justify-content: space-between; font-family: var(--display); font-size: 15px; }
.lab-name { font-weight: 600; }
.lab-ai .lab-name { color: var(--ai); }
.lab-game .lab-name { color: var(--game); }
.lab-count { color: var(--fg-dim); }
.lab-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.025em;
  margin-top: auto;
}
.lab-body { color: var(--fg-dim); max-width: 46ch; }
.lab-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lab-tags li {
  font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--fg-dim);
}
.lab-cta { font-family: var(--display); font-weight: 600; font-size: 15px; margin-top: 10px; }
.lab-ai .lab-cta { color: var(--ai); }
.lab-game .lab-cta { color: var(--game); }

/* ---------- sections ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end;
  padding: 120px var(--gutter) 64px;
}
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 7vw, 112px); line-height: .95; letter-spacing: -.04em;
  font-variation-settings: "wdth" 85;
}
.ai .section-title { color: var(--ai); }
.game .section-title { color: var(--game); }
.section-lede { color: var(--fg-dim); font-size: 18px; max-width: 46ch; }

/* ---------- AI projects ---------- */
.project {
  display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: 48px;
  padding: 56px var(--gutter);
  border-top: 1px solid var(--line);
}
.project-index { font-family: var(--mono); font-size: 12px; color: var(--ai); }
.project-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; line-height: 1.05;
  margin-top: 8px;
}
.project-desc { color: var(--fg-dim); margin-top: 18px; max-width: 48ch; }
.spec { margin-top: 28px; border-top: 1px solid var(--line); }
.spec > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.spec dt { color: var(--fg-dim); font-family: var(--display); }
.status {
  display: inline-block; font-family: var(--mono); font-size: 11px; padding: 2px 7px;
  border-radius: 3px; margin-right: 8px; vertical-align: 1px;
}
.status-live { background: rgba(72, 214, 150, .18); color: #7BE8B0; }
.status-beta { background: var(--ai-soft); color: var(--ai); }
.status-rd { background: rgba(154, 163, 199, .16); color: var(--fg-dim); }

.project-demo {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  min-height: 380px;
}
.project-demo canvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.demo-vision, .demo-graph, .demo-pose { aspect-ratio: 16 / 10; }
.demo-pose { aspect-ratio: 16 / 11; }
.hud {
  position: absolute; display: flex; gap: 16px;
  font-family: var(--mono); font-size: 12px; color: var(--fg-dim);
  pointer-events: none;
}
.hud-tl { top: 16px; left: 18px; }
.hud-tr { top: 16px; right: 18px; }
.hud-bl { bottom: 16px; left: 18px; }
#vis-shot { color: var(--game); opacity: 0; transition: opacity .15s; }
#vis-shot.on { opacity: 1; }

/* live camera controls */
.live-video { display: none; }
.live-ctl {
  position: absolute; right: 16px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  max-width: 62%;
}
.live-btn {
  font: 600 14px var(--display); color: #051033; background: var(--fg); border: 0; border-radius: 999px;
  height: 40px; padding: 0 18px; cursor: pointer; transition: background .2s, transform .2s;
}
.live-btn:hover { background: #fff; transform: translateY(-1px); }
.live-btn[disabled] { opacity: .6; cursor: wait; }
.live-btn.on { background: var(--game); color: #2A0C05; }
.live-note { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); text-align: right; line-height: 1.4; }
.demo-live .hud { color: var(--fg); text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.demo-live .live-note { color: var(--fg); text-shadow: 0 1px 4px rgba(0,0,0,.8); }

/* LLM demo */
.demo-llm { display: grid; grid-template-columns: 1fr 200px; min-height: 420px; }
.chat { display: flex; flex-direction: column; padding: 20px 22px; min-width: 0; }
.chat-head {
  display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--game); object-fit: cover; display: block; }
.persona-figure { display: block; width: 120px; height: auto; margin: -4px auto 14px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.45)); }
.chat-mood { margin-left: auto; font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--fg-dim); }
.chat-log { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; flex: 1; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; font-size: 15px; line-height: 1.55; }
.msg-user { align-self: flex-end; background: var(--bg-3); border-bottom-right-radius: 3px; }
.msg-npc {
  align-self: flex-start; background: var(--game-soft); border-bottom-left-radius: 3px;
  position: relative; margin-left: 38px;
}
.msg-npc::before {
  content: ""; position: absolute; left: -38px; bottom: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--game) url("img/rachel.webp") center / cover no-repeat; box-shadow: 0 0 0 2px var(--bg-2);
}
.msg-npc .tok { opacity: 0; animation: tok .25s forwards; }
@keyframes tok { to { opacity: 1; } }
.chat-form { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.chat-input {
  flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--fg); font: 15px var(--body); outline: none; transition: border-color .2s;
}
.chat-input:focus { border-color: var(--game); }
.chat-input::placeholder { color: var(--fg-dim); }
.chat-send {
  height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--game); color: #2A0C05;
  font: 600 14px var(--display); cursor: pointer;
}
.chat-send[disabled] { opacity: .5; cursor: wait; }
.chat-live { color: var(--game); }
.msg-sys { align-self: flex-start; font-family: var(--mono); font-size: 11px; color: var(--fg-dim); padding: 0 2px; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--game); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.persona { border-left: 1px solid var(--line); padding: 20px 18px; font-size: 13px; background: rgba(7, 11, 30, .4); }
.persona-title { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); margin-bottom: 12px; }
.persona-title + .persona-title { margin-top: 20px; }
.bar { display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 8px; margin-bottom: 9px; }
.bar i { height: 4px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.bar i::after {
  content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%);
  background: var(--game); transition: width .6s;
}
.bar em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--fg-dim); text-align: right; }
.mem { display: flex; flex-direction: column; gap: 6px; }
.mem li {
  font-size: 12px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px;
  color: var(--fg-dim); animation: tok .4s forwards; opacity: 0;
}

/* ---------- Game titles ---------- */
.titles { border-top: 1px solid var(--line); }
.title {
  display: grid; grid-template-columns: 220px 1fr 1.4fr auto; gap: 40px; align-items: start;
  padding: 44px var(--gutter); border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.title:hover { background: var(--game-soft); }
.title-meta { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--fg-dim); }
.title-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4vw, 56px); letter-spacing: -.03em; line-height: 1;
}
.title-desc { color: var(--fg-dim); max-width: 52ch; }
.title-tags { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fg-dim); text-align: right; }
.title-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.title-key { width: 120px; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.title-parts { display: flex; align-items: center; gap: 6px; margin-top: 16px; }
.title-parts img { display: block; width: 40px; height: 40px; border-radius: 9px; }
.title-parts-label { font-family: var(--mono); font-size: 11px; color: var(--game); margin-left: 6px; }
.title-cast { display: flex; align-items: flex-end; margin-top: 14px; padding-left: 6px; }
.title-cast li { margin-left: -14px; transition: transform .25s; }
.title-cast li:first-child { margin-left: 0; }
.title-cast img { display: block; height: 84px; width: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.title-cast li:hover { transform: translateY(-8px) scale(1.08); z-index: 1; position: relative; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand img { width: 18px; height: 17px; }

/* ---------- world forge ---------- */
.forge { padding: 96px var(--gutter) 40px; }
.forge-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.forge-kicker { font-family: var(--mono); font-size: 12px; color: var(--game); }
.forge-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; }
.forge-lede { color: var(--fg-dim); margin-top: 14px; max-width: 50ch; }
.forge-form { display: flex; gap: 8px; }
.forge-input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--fg); font: 16px var(--body); outline: none; transition: border-color .2s;
}
.forge-input:focus { border-color: var(--game); }
.forge-input::placeholder { color: var(--fg-dim); }
.forge-btn {
  height: 52px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--game); color: #2A0C05;
  font: 600 15px var(--display); cursor: pointer; white-space: nowrap; transition: transform .2s;
}
.forge-btn:hover { transform: translateY(-1px); }
.forge-btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.forge-chips { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.forge-chips button {
  font: 13px var(--body); color: var(--fg-dim); background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; cursor: pointer; transition: color .2s, border-color .2s;
}
.forge-chips button:hover { color: var(--fg); border-color: var(--game); }
.forge-stage { display: grid; grid-template-columns: minmax(0, 1fr) 280px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.forge-view { position: relative; aspect-ratio: 16 / 9; min-height: 360px; min-width: 0; background: #0A1030; }
.forge-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.forge-view canvas:active { cursor: grabbing; }
.forge-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.forge-label {
  position: absolute; transform: translate(-50%, -100%); font: 500 12px var(--body); color: var(--fg);
  text-shadow: 0 1px 4px rgba(0,0,0,.9); white-space: nowrap; padding-bottom: 6px;
}
.forge-label::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 6px; background: rgba(238,241,255,.6); }
.forge-label.capital { font-weight: 600; font-size: 13px; }
.hud-br { bottom: 16px; right: 18px; }
.forge-progress {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px;
  background: rgba(7,11,30,.8); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--fg);
  backdrop-filter: blur(8px);
}
.forge-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--game); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.forge-spec { border-left: 1px solid var(--line); padding: 20px 18px; font-size: 13px; background: rgba(7,11,30,.4); overflow: auto; min-width: 0; height: 0; min-height: 100%; }
.forge-progress[hidden] { display: none; }
.forge-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.forge-lore { color: var(--fg-dim); margin: 10px 0 20px; font-size: 13px; line-height: 1.55; }
.forge-factions li, .forge-resources li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.forge-factions i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.forge-factions small, .forge-resources small { color: var(--fg-dim); margin-left: auto; font-family: var(--mono); font-size: 11px; text-align: right; }
.forge-resources { margin-bottom: 4px; }
.forge-stats { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-family: var(--mono); font-size: 11px; color: var(--fg-dim); }
.forge-stats dd { color: var(--fg); }
.forge-stats dt { white-space: nowrap; }

/* ---------- loop ---------- */
.loop {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center;
  padding: 140px var(--gutter);
}
.loop-diagram { max-width: 460px; width: 100%; justify-self: center; }
.loop-orbit { transform-origin: 200px 200px; animation: orbit 12s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.steps { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 20px; }
.step-n {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--fg-dim);
}
.steps h3 { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.steps p { color: var(--fg-dim); margin-top: 6px; max-width: 52ch; }

/* ---------- stack ---------- */
.stack { border-top: 1px solid var(--line); }
.stack-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 22px var(--gutter); border-bottom: 1px solid var(--line);
}
.stack-row h3 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.stack-row p { color: var(--fg-dim); }

/* ---------- contact ---------- */
.contact { padding: 160px var(--gutter) 140px; }
.contact-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1; letter-spacing: -.035em; max-width: 18ch;
}
.contact-lede { color: var(--fg-dim); font-size: 18px; margin-top: 24px; max-width: 52ch; }
.contact-mail {
  display: inline-block; margin-top: 44px;
  font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -.02em; border-bottom: 2px solid var(--ai); padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.contact-mail:hover { color: var(--ai); }

.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  font-size: 13px; color: var(--fg-dim);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .project { grid-template-columns: 1fr; gap: 28px; }
  .title { grid-template-columns: 1fr; gap: 14px; }
  .title-tags { flex-direction: row; text-align: left; flex-wrap: wrap; gap: 12px; }
  .title-side { flex-direction: row; align-items: center; justify-content: space-between; }
  .title-key { width: 96px; height: 128px; }
  .title-cast img { height: 64px; }
  .title-parts img { width: 32px; height: 32px; }
  .loop { grid-template-columns: 1fr; gap: 40px; }
  .forge-head { grid-template-columns: 1fr; gap: 20px; }
  .forge-chips { grid-column: auto; }
  .forge-stage { grid-template-columns: 1fr; }
  .forge-spec { border-left: 0; border-top: 1px solid var(--line); height: auto; min-height: 0; max-height: 360px; }
  .loop-diagram { max-width: 320px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 14px var(--gutter); }
  .nav-word { width: 84px; height: 17px; }
  .nav-links { gap: 14px; font-size: 13px; white-space: nowrap; }
  .nav-links a { gap: 5px; }
  .nav-links a:nth-child(3) { display: none; }
  .hero { padding-top: 96px; padding-bottom: 40px; }
  .hero-lede { font-size: 16px; margin-top: 18px; }
  .hero-actions { margin-top: 24px; }
  .hero-readout { display: none; }
  .labs { grid-template-columns: 1fr; }
  .labs:has(.lab:hover) { grid-template-columns: 1fr; }
  .lab { min-height: 0; padding: 48px var(--gutter); }
  .lab + .lab { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; padding-top: 88px; }
  .demo-llm { grid-template-columns: 1fr; }
  .persona { border-left: 0; border-top: 1px solid var(--line); }
  .live-ctl { max-width: 100%; left: 16px; align-items: flex-start; }
  .live-note { text-align: left; }
  .demo-vision .hud-bl, .demo-pose .hud-bl { bottom: 84px; }
  .stack-row { grid-template-columns: 1fr; gap: 4px; padding: 18px var(--gutter); }
  .spec > div { grid-template-columns: 80px 1fr; }
  .loop { padding: 88px var(--gutter); }
  .forge { padding: 64px var(--gutter) 24px; }
  .forge-form { flex-direction: column; }
  .forge-view { min-height: 280px; }
  .contact { padding: 100px var(--gutter) 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .loop-orbit, .caret { animation: none; }
  .labs { transition: none; }
}
