:root {
  --ink: #171717;
  --muted: #606060;
  --line: rgba(0, 0, 0, 0.1);
  --surface: #f5f5f7;
  --soft: #fafafa;
  --white: #ffffff;
  --accent: #006edc;
  --dark: #090909;
  --dark-muted: #a9a9ad;
  --shell: 1200px;
  --pad: clamp(22px, 4vw, 52px);
  --section: clamp(88px, 12vw, 168px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: #dcecff; color: var(--ink); }

.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 14px; background: var(--dark); color: var(--white); border-radius: 6px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--line); transition: background 180ms ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); }
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 18px; font-weight: 650; letter-spacing: -0.04em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 520; }
.nav-links a { text-decoration: none; color: #414141; transition: color 160ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 8px 15px; color: var(--white) !important; background: var(--ink); border-radius: 999px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; }
.menu-button > span:not(.sr-only) { width: 18px; height: 1px; background: var(--ink); transition: transform 180ms ease; }

.hero { min-height: max(720px, 100svh); padding-top: clamp(142px, 18vh, 206px); padding-bottom: 90px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.68fr); gap: clamp(70px, 10vw, 146px); align-items: center; }
.eyebrow, .section-kicker, .system-label, .project-type, .project-number, .stack-label, .asset-type, .footer-kicker {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow { color: #4e4e4e; }
.eyebrow span { margin: 0 7px; color: var(--accent); }
.hero h1 { max-width: 900px; margin: 28px 0 30px; font-size: clamp(54px, 7.3vw, 104px); font-weight: 620; line-height: 0.94; letter-spacing: -0.072em; text-wrap: balance; }
.hero h1 span { color: #8b8b90; }
.hero-lede { max-width: 730px; margin: 0; color: #4f4f52; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.45; letter-spacing: -0.026em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 38px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 19px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 560; text-decoration: none; cursor: pointer; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #303030; }
.button-light { background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.13); }
.button-light:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.24); }
.button-white { background: var(--white); color: var(--ink); }
.availability { display: flex; align-items: flex-start; gap: 9px; max-width: 670px; margin: 27px 0 0; color: #69696d; font-size: 12px; line-height: 1.45; }
.status-dot { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #24a148; box-shadow: 0 0 0 4px rgba(36, 161, 72, 0.1); }
.operating-system { align-self: center; }
.system-label { padding-bottom: 16px; color: #8a8a8e; border-bottom: 1px solid var(--line); }
.operating-system ol { list-style: none; margin: 0; padding: 0; }
.operating-system li { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.operating-system li > span { grid-row: 1 / 3; color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; padding-top: 3px; }
.operating-system strong { font-size: 15px; font-weight: 590; }
.operating-system small { color: #747478; font-size: 12px; margin-top: 2px; }
.system-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--accent); font-size: 12px; font-weight: 600; text-decoration: none; }
.system-link span { transition: transform 160ms ease; }
.system-link:hover span { transform: translateY(2px); }

.proof { background: var(--surface); }
.proof .shell { padding-top: 42px; padding-bottom: 46px; }
.proof .section-kicker { color: #77777b; margin-bottom: 24px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.proof-grid > div { min-height: 96px; padding: 4px 28px 0 0; }
.proof-grid > div + div { padding-left: 28px; border-left: 1px solid rgba(0, 0, 0, 0.12); }
.proof-grid dt { font-size: clamp(27px, 3vw, 38px); font-weight: 610; letter-spacing: -0.055em; line-height: 1; }
.proof-grid dd { max-width: 190px; margin: 11px 0 0; color: #5f5f63; font-size: 13px; line-height: 1.35; }

.mind-section { padding-top: var(--section); padding-bottom: var(--section); overflow: hidden; }
.mind-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr); gap: clamp(38px, 7vw, 94px); align-items: end; padding-bottom: clamp(42px, 6vw, 76px); }
.mind-intro h2 { max-width: 840px; margin: 0; font-size: clamp(44px, 6.2vw, 78px); font-weight: 610; line-height: 1.02; letter-spacing: -0.06em; text-wrap: balance; }
.mind-intro h2 span { color: #929296; }
.mind-intro-copy { display: grid; gap: 24px; padding-bottom: 5px; }
.mind-intro-copy > p { max-width: 480px; margin: 0; color: #555559; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; letter-spacing: -0.022em; }
.mind-intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.mind-intro-actions > span { flex-basis: 100%; color: #77777b; font-size: 11px; }
.mind-frame { --mind-night: #020817; --mind-panel: #f7f7f4; --mind-warm: #edb184; }
.mind {
  --mind-tx: 0%;
  --mind-ty: 0%;
  --mind-scale: 1;
  --mind-light-x: 50%;
  --mind-light-y: 50%;
  --mind-light-rx: 26%;
  --mind-light-ry: 28%;
  height: min(760px, calc(100svh - 42px));
  min-height: 650px;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) 84px;
  overflow: clip;
  overflow-anchor: none;
  contain: layout paint;
  border: 1px solid var(--dark);
  border-radius: 2px;
  background: var(--mind-night);
  color: var(--white);
}
.mind[data-active="curiosity"] {
  --mind-tx: 10%; --mind-ty: 11%; --mind-scale: 1.48;
  --mind-light-x: 34%; --mind-light-y: 32%; --mind-light-rx: 27%; --mind-light-ry: 29%;
}
.mind[data-active="ownership"] {
  --mind-tx: 12%; --mind-ty: -1%; --mind-scale: 1.46;
  --mind-light-x: 31%; --mind-light-y: 53%; --mind-light-rx: 25%; --mind-light-ry: 25%;
}
.mind[data-active="calm"] {
  --mind-tx: -1%; --mind-ty: -10%; --mind-scale: 1.46;
  --mind-light-x: 49%; --mind-light-y: 65%; --mind-light-rx: 24%; --mind-light-ry: 25%;
}
.mind[data-active="collaboration"] {
  --mind-tx: -9%; --mind-ty: -8%; --mind-scale: 1.4;
  --mind-light-x: 67%; --mind-light-y: 63%; --mind-light-rx: 25%; --mind-light-ry: 24%;
}
.mind[data-active="decision"] {
  --mind-tx: -3%; --mind-ty: 3%; --mind-scale: 1.52;
  --mind-light-x: 55%; --mind-light-y: 46%; --mind-light-rx: 23%; --mind-light-ry: 24%;
}
.mind[data-mode="summary"] { --mind-tx: 0%; --mind-ty: 0%; --mind-scale: 1; }
.mind-topbar {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 8, 23, 0.94);
}
.mind-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #d8e8ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.mind-brand::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #9ec6ff;
  border-radius: 50%;
  box-shadow: 0 0 18px #6ea8ff;
}
.mind-status { display: flex; align-items: center; gap: 16px; margin-left: auto; color: #93a3bd; font-size: 11px; }
.mind-visited-copy { white-space: nowrap; }
.mind-overview-button {
  min-height: 36px;
  visibility: hidden;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}
.mind[data-active] .mind-overview-button,
.mind[data-mode="summary"] .mind-overview-button { visibility: visible; }
.mind-overview-button:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.07); }
.mind-layout { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(345px, 0.72fr); }
.mind-brain-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 55% 47%, rgba(22, 50, 96, 0.33) 0, transparent 30%),
    linear-gradient(145deg, #03091a 0%, #06132a 58%, #020716 100%);
}
.mind-brain-stage::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  opacity: 0.58;
  background: linear-gradient(105deg, transparent 23%, rgba(143, 202, 255, 0.07) 43%, transparent 60%);
  transform: translateX(-120%);
}
.mind.is-energized .mind-brain-stage::before { animation: mind-sweep 1.1s ease both; }
@keyframes mind-sweep { to { transform: translateX(120%); } }
.mind-brain-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 70%, rgba(2, 8, 23, 0.91) 100%),
    radial-gradient(circle at 50% 48%, transparent 42%, rgba(2, 8, 23, 0.27) 100%);
}
.mind-brain-camera {
  position: absolute;
  z-index: 1;
  inset: -3%;
  transform: translate3d(var(--mind-tx), var(--mind-ty), 0) scale(var(--mind-scale));
  transform-origin: 50% 50%;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.mind-brain-image,
.mind-brain-region-light {
  position: absolute;
  left: 4%;
  top: 3%;
  width: 92%;
  height: 94%;
  display: block;
  object-fit: contain;
}
.mind-brain-image { filter: saturate(0.9) contrast(1.03); animation: mind-breathe 4.5s ease-in-out infinite; }
.mind-brain-region-light {
  pointer-events: none;
  opacity: 0;
  filter: brightness(1.48) saturate(1.22) contrast(1.04);
  -webkit-mask-image: radial-gradient(ellipse var(--mind-light-rx) var(--mind-light-ry) at var(--mind-light-x) var(--mind-light-y), #000 0 38%, rgba(0, 0, 0, 0.69) 59%, transparent 100%);
  mask-image: radial-gradient(ellipse var(--mind-light-rx) var(--mind-light-ry) at var(--mind-light-x) var(--mind-light-y), #000 0 38%, rgba(0, 0, 0, 0.69) 59%, transparent 100%);
  transition: opacity 300ms ease;
  will-change: opacity, filter;
}
.mind[data-active] .mind-brain-region-light { opacity: 0.43; }
.mind.is-energized[data-active] .mind-brain-region-light { animation: mind-tissue-charge 1.05s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes mind-tissue-charge {
  0% { opacity: 0; filter: brightness(1) saturate(1); }
  38% { opacity: 0.57; filter: brightness(1.65) saturate(1.3) contrast(1.06); }
  100% { opacity: 0.43; filter: brightness(1.48) saturate(1.22) contrast(1.04); }
}
@keyframes mind-breathe {
  0%, 100% { filter: saturate(0.88) contrast(1.02) brightness(0.96); }
  50% { filter: saturate(1.02) contrast(1.04) brightness(1.05); }
}
.mind[data-active] .mind-brain-image { animation-play-state: paused; }
.mind-signal-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mind-signal-map path { fill: none; stroke: rgba(135, 185, 255, 0.24); stroke-width: 0.28; vector-effect: non-scaling-stroke; transition: opacity 250ms ease, stroke 250ms ease; }
.mind-signal-map path.is-active { stroke: #f3c19f; stroke-width: 0.48; stroke-dasharray: 2 2; animation: mind-current 1.1s linear infinite; filter: drop-shadow(0 0 3px #f3c19f); }
@keyframes mind-current { to { stroke-dashoffset: -8; } }
.mind-signal-map circle { fill: #f3c19f; filter: drop-shadow(0 0 6px #f3c19f); }
.mind-node {
  position: absolute;
  z-index: 4;
  min-width: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 7px;
  border: 1px solid rgba(152, 191, 240, 0.38);
  border-radius: 999px;
  background: rgba(5, 17, 36, 0.85);
  color: #eaf3ff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.33);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 250ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  touch-action: manipulation;
}
.mind[data-active] .mind-node { opacity: 0.5; }
.mind-node:hover,
.mind-node:focus-visible {
  opacity: 1 !important;
  border-color: #b8d6ff;
  outline: none;
  background: #0b2246;
  box-shadow: 0 0 0 6px rgba(110, 159, 227, 0.08), 0 0 32px rgba(110, 159, 227, 0.37);
}
.mind-node[aria-pressed="true"] {
  opacity: 1;
  border-color: #f2c3a5;
  background: rgba(23, 33, 58, 0.93);
  box-shadow: 0 0 0 6px rgba(242, 195, 165, 0.06), 0 0 25px rgba(242, 195, 165, 0.35);
}
.mind[data-active] .mind-node[aria-pressed="true"] { opacity: 1; }
.mind-node.is-visited:not([aria-pressed="true"]) { opacity: 0.58; border-color: rgba(116, 167, 227, 0.47); }
.mind-node-number {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  color: #a9ccfb;
  font-size: 10px;
  font-weight: 800;
}
.mind-node[aria-pressed="true"] .mind-node-number { border-color: rgba(242, 195, 165, 0.47); color: #f5c5a8; }
.mind-node-label { font-size: 11px; font-weight: 750; letter-spacing: 0.02em; white-space: nowrap; }
.mind-node-curiosity { left: 30%; top: 28%; }
.mind-node-ownership { left: 24%; top: 52%; }
.mind-node-calm { left: 53%; top: 71%; }
.mind-node-collaboration { left: 73%; top: 69%; }
.mind-node-decision { left: 57%; top: 43%; }
.mind-brain-instruction {
  position: absolute;
  z-index: 5;
  left: 24px;
  bottom: 22px;
  max-width: 270px;
  margin: 0;
  padding: 12px 14px;
  border-left: 2px solid #6fa9f2;
  background: rgba(2, 8, 23, 0.74);
  color: #aebcd3;
  font-size: 11px;
  line-height: 1.45;
  backdrop-filter: blur(10px);
  transition: opacity 250ms ease;
}
.mind[data-active] .mind-brain-instruction,
.mind[data-mode="summary"] .mind-brain-instruction { opacity: 0; }
.mind-panel { position: relative; z-index: 6; min-width: 0; overflow: hidden; border-left: 1px solid rgba(255, 255, 255, 0.13); background: var(--mind-panel); color: var(--ink); }
.mind-panel-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: clamp(24px, 3vw, 42px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 250ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mind[data-mode="idle"] .mind-panel-idle,
.mind[data-mode="chapter"] .mind-panel-chapter,
.mind[data-mode="summary"] .mind-panel-summary { opacity: 1; transform: none; pointer-events: auto; }
.mind-panel-kicker { margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.mind-panel h3 { margin: 0 0 15px; font-size: clamp(30px, 3.4vw, 48px); font-weight: 650; line-height: 0.96; letter-spacing: -0.055em; }
.mind-panel-lede { margin: 0 0 22px; color: #454545; font-size: 15px; line-height: 1.5; }
.mind-idle-list { display: grid; gap: 0; margin: 24px 0; padding: 0; border-block: 1px solid #dcdcd8; list-style: none; }
.mind-idle-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e4e4e0; color: #454545; font-size: 13px; line-height: 1.35; }
.mind-idle-list li:last-child { border-bottom: 0; }
.mind-idle-list span { color: var(--accent); font-weight: 800; }
.mind-panel-start {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}
.mind-panel-start:hover { background: #303030; }
.mind-evidence { display: grid; gap: 13px; margin: 22px 0 0; padding: 18px 0; border-block: 1px solid #d8d8d4; }
.mind-evidence-block { display: grid; gap: 6px; }
.mind-evidence-label { color: #777; font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.mind-evidence-block p { margin: 0; color: #303030; font-size: 13px; line-height: 1.48; }
.mind-proof-link { width: fit-content; color: var(--ink); font-size: 12px; font-weight: 750; text-underline-offset: 3px; }
.mind-interview-prompt { margin: 17px 0 0; padding: 13px 14px; background: #eaf1fb; color: #23466f; font-size: 12px; font-weight: 700; line-height: 1.4; }
.mind-summary-list { display: grid; gap: 12px; margin: 22px 0; padding: 18px 0; border-block: 1px solid #d8d8d4; list-style: none; }
.mind-summary-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: #343434; font-size: 13px; line-height: 1.4; }
.mind-summary-list span { color: var(--accent); font-weight: 800; }
.mind-panel-summary h3 { font-size: clamp(30px, 2.8vw, 42px); }
.mind-panel-summary .mind-panel-lede { margin-bottom: 16px; }
.mind-panel-summary .mind-summary-list { margin: 16px 0; padding: 14px 0; gap: 9px; }
.mind-summary-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.mind-summary-actions a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid #d1d1cd; border-radius: 999px; font-size: 12px; font-weight: 750; text-decoration: none; }
.mind-summary-actions a:first-child { border-color: var(--ink); background: var(--ink); color: var(--white); }
.mind-role-fit { margin: 12px 0 0; color: #777; font-size: 11px; line-height: 1.5; }
.mind-footer {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr minmax(150px, auto);
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(2, 8, 23, 0.96);
}
.mind-footer-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}
.mind-next-button { border-color: rgba(240, 197, 167, 0.45); background: #f0c5a7; color: var(--ink); }
.mind-footer-button:disabled { opacity: 0.32; cursor: default; }
.mind-progress-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.mind-progress-button {
  width: 100%;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #728098;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}
.mind-progress-button::after { content: ""; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.11); transition: background 200ms ease, box-shadow 200ms ease; }
.mind-progress-button:hover { color: var(--white); }
.mind-progress-button.is-visited::after { background: #5d8fce; }
.mind-progress-button[aria-current="step"] { color: #f0c5a7; }
.mind-progress-button[aria-current="step"]::after { background: #f0c5a7; box-shadow: 0 0 12px #f0c5a7; }
.mind.is-auto-tour .mind-progress-button[aria-current="step"]::after {
  animation: mind-auto-progress 8s linear both;
  transform-origin: left center;
}
@keyframes mind-auto-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.work-intro { padding-top: var(--section); padding-bottom: clamp(70px, 8vw, 112px); }
.section-kicker { color: #747478; margin-bottom: 24px; }
.work-intro h2, .section-heading h2, .assets-heading h2 { margin: 0; font-size: clamp(44px, 6.2vw, 78px); font-weight: 610; line-height: 1.02; letter-spacing: -0.06em; }
.work-intro h2 span, .section-heading h2 span { color: #929296; }

.project { position: relative; }
.project-inner { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: minmax(210px, 0.56fr) minmax(0, 1.44fr); gap: clamp(54px, 10vw, 150px); }
.project-dark { background: var(--dark); color: var(--white); }
.project-light { background: var(--white); }
.project-soft { background: var(--surface); }
.project-meta { align-self: start; display: grid; gap: 9px; color: #77777b; font-size: 12px; line-height: 1.4; }
.project-dark .project-meta { color: #848488; }
.project-meta p { margin: 0; }
.project-meta p:nth-child(2) { margin-top: 14px; color: currentColor; font-weight: 620; font-size: 14px; }
.project-number { color: var(--accent) !important; }
.project-type { margin-bottom: 24px; color: var(--accent); }
.project-dark .project-type { color: #5eb0ff; }
.project-story h3 { max-width: 790px; margin: 0; font-size: clamp(42px, 5.5vw, 72px); font-weight: 580; line-height: 1.02; letter-spacing: -0.058em; text-wrap: balance; }
.project-lede { max-width: 800px; margin: 32px 0 0; color: #555559; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; letter-spacing: -0.025em; }
.project-dark .project-lede { color: #bababe; }
.project-evidence, .recovered-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; padding: 27px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.project-evidence p, .recovered-grid p { margin: 0; padding-right: 20px; }
.project-evidence p + p, .recovered-grid p + p { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.project-evidence strong, .recovered-grid strong { display: block; font-size: clamp(22px, 2.5vw, 31px); font-weight: 590; letter-spacing: -0.05em; }
.project-evidence span, .recovered-grid span { display: block; margin-top: 7px; color: var(--dark-muted); font-size: 12px; line-height: 1.35; }
.stack-label { margin-top: 34px; color: #77777b; }
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 13px 0 31px; padding: 0; }
.stack-list li { padding: 7px 10px; border-radius: 999px; background: #1c1c1e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); color: #d0d0d4; font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 35px; color: var(--accent); font-size: 14px; font-weight: 570; text-decoration: none; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.text-link-light { color: #5eb0ff; margin-top: 0; }
.narrative-list { list-style: none; margin: 51px 0 0; padding: 0; border-top: 1px solid var(--line); }
.narrative-list li { position: relative; padding: 20px 10px 20px 32px; border-bottom: 1px solid var(--line); color: #454548; font-size: 16px; line-height: 1.5; }
.narrative-list li::before { content: ""; position: absolute; left: 2px; top: 29px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.recovered-grid { border-color: rgba(0, 0, 0, 0.14); }
.recovered-grid p + p { border-color: rgba(0, 0, 0, 0.14); }
.recovered-grid span { color: #69696d; }
.project-note { max-width: 790px; margin: 30px 0 0; color: #555559; font-size: 16px; line-height: 1.6; }

.approach { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr); gap: clamp(60px, 10vw, 150px); }
.section-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.approach-list { list-style: none; margin: 2px 0 0; padding: 0; border-top: 1px solid var(--line); }
.approach-list li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.approach-list li > span { padding-top: 5px; color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.approach-list h3 { margin: 0; font-size: 20px; font-weight: 590; letter-spacing: -0.03em; }
.approach-list p { margin: 7px 0 0; color: #606064; font-size: 14px; line-height: 1.55; }

.about { background: var(--surface); padding-top: var(--section); padding-bottom: var(--section); }
.about-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr); gap: clamp(62px, 11vw, 164px); }
.about-portrait {
  position: relative;
  max-width: 420px;
  margin: clamp(42px, 5vw, 68px) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #deded9;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 46%;
}
.about-copy > p { margin: 0 0 24px; color: #3e3e41; font-size: clamp(19px, 2vw, 24px); line-height: 1.56; letter-spacing: -0.025em; }
.credentials { margin: 51px 0 0; border-top: 1px solid rgba(0, 0, 0, 0.14); }
.credentials div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
.credentials dt { color: #77777b; font-size: 12px; }
.credentials dd { margin: 0; font-size: 13px; }
.toolkit { margin-top: clamp(85px, 10vw, 135px); }
.toolkit h3 { margin: 0 0 23px; font-size: 13px; font-weight: 600; }
.toolkit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(0, 0, 0, 0.14); }
.toolkit-grid p { margin: 0; padding: 22px 27px 0 0; }
.toolkit-grid p + p { padding-left: 27px; border-left: 1px solid rgba(0, 0, 0, 0.14); }
.toolkit-grid strong { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 590; }
.toolkit-grid span { display: block; color: #646468; font-size: 12px; line-height: 1.55; }

.assets { padding-top: var(--section); padding-bottom: var(--section); }
.assets-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 60px; align-items: end; margin-bottom: 66px; }
.assets-heading .section-kicker { grid-column: 1 / -1; }
.assets-heading h2 { font-size: clamp(45px, 5vw, 68px); }
.assets-heading > p:last-child { max-width: 390px; justify-self: end; margin: 0 0 7px; color: #656569; font-size: 15px; }
.asset-list { border-top: 1px solid var(--line); }
.asset-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.asset-type { margin-bottom: 10px; color: #858589; }
.asset-row h3 { margin: 0; font-size: clamp(21px, 2.3vw, 30px); font-weight: 570; letter-spacing: -0.04em; }
.asset-row > div:first-child > p:last-child { max-width: 650px; margin: 9px 0 0; color: #66666a; font-size: 13px; }
.asset-actions { display: flex; gap: 8px; }
.asset-actions a { min-width: 92px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.13); font-size: 13px; font-weight: 540; text-decoration: none; }
.asset-actions a:last-child { background: var(--ink); color: var(--white); box-shadow: none; }

.footer { background: var(--dark); color: var(--white); padding-top: clamp(88px, 10vw, 140px); padding-bottom: 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.footer-kicker { color: #7e7e83; margin-bottom: 23px; }
.footer h2 { margin: 0; font-size: clamp(44px, 6.4vw, 82px); font-weight: 570; line-height: 1; letter-spacing: -0.06em; }
.footer-contact { min-width: 205px; display: grid; gap: 14px; justify-items: start; }
.footer-contact > a:not(.button) { color: #b8b8bc; font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 95px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #77777b; font-size: 11px; }
.footer-bottom p { margin: 0; }

.chat-is-open { overflow: hidden; }
.chat-dialog {
  width: min(720px, calc(100vw - 32px));
  height: min(780px, calc(100dvh - 40px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.chat-dialog::backdrop { background: rgba(9, 9, 9, 0.58); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chat-panel { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; }
.chat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 28px 30px 20px; border-bottom: 1px solid var(--line); }
.chat-kicker { margin: 0 0 7px; color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.chat-header h2 { margin: 0; font-size: clamp(26px, 4vw, 34px); font-weight: 610; line-height: 1.05; letter-spacing: -0.045em; }
.chat-close { width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: 50%; background: var(--surface); color: #555559; font-size: 27px; line-height: 1; cursor: pointer; }
.chat-close:hover { background: #e9e9ec; color: var(--ink); }
.chat-disclosure { margin: 0; padding: 13px 30px; border-bottom: 1px solid var(--line); background: #f8fbff; color: #5f6268; font-size: 11px; line-height: 1.45; }
.chat-messages { min-height: 0; overflow-y: auto; padding: 25px 30px; overscroll-behavior: contain; }
.chat-message { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.chat-message p { max-width: 82%; margin: 0; padding: 12px 15px; border-radius: 17px; background: var(--surface); color: #343437; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message-user { justify-content: flex-end; }
.chat-message-user p { background: var(--ink); color: var(--white); border-bottom-right-radius: 5px; }
.chat-message-assistant p { border-bottom-left-radius: 5px; }
.chat-avatar { width: 28px; height: 28px; flex: 0 0 28px; display: inline-flex; align-items: center; justify-content: center; margin-top: 5px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 9px; font-weight: 650; letter-spacing: -0.03em; }
.chat-prompts { display: flex; gap: 7px; padding: 0 30px 14px; overflow-x: auto; scrollbar-width: none; }
.chat-prompts::-webkit-scrollbar { display: none; }
.chat-prompts button { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 999px; background: var(--white); color: #555559; font-size: 11px; cursor: pointer; }
.chat-prompts button:hover { border-color: rgba(0, 0, 0, 0.25); color: var(--ink); }
.chat-form { margin: 0 30px 27px; padding: 12px 12px 9px; border: 1px solid rgba(0, 0, 0, 0.16); border-radius: 17px; background: var(--white); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); }
.chat-form:focus-within { border-color: rgba(0, 110, 220, 0.65); box-shadow: 0 0 0 3px rgba(0, 110, 220, 0.1); }
.chat-form textarea { width: 100%; max-height: 118px; resize: none; padding: 0 2px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.45; }
.chat-form textarea::placeholder { color: #949499; }
.chat-form-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; }
.chat-form-footer p { max-width: 420px; margin: 0; color: #8a8a8f; font-size: 9px; line-height: 1.35; }
.chat-form-footer button { min-width: 76px; min-height: 34px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 580; cursor: pointer; }
.chat-form-footer button:disabled { opacity: 0.55; cursor: wait; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 75px; min-height: auto; padding-top: 148px; }
  .operating-system { max-width: 560px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .proof-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .mind-intro { grid-template-columns: 1fr; gap: 28px; }
  .mind-intro-copy { max-width: 650px; }
  .mind { height: min(720px, calc(100svh - 32px)); }
  .mind-layout { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); }
  .mind-panel-view { padding: 26px; }
  .mind-node { padding: 7px; }
  .mind-node-label { display: none; }
  .project-inner, .approach, .about-inner { grid-template-columns: 1fr; }
  .project-inner { gap: 52px; }
  .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-meta .project-number { grid-column: 1 / -1; }
  .approach { gap: 60px; }
  .about-portrait { width: min(100%, 520px); max-width: none; }
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .toolkit-grid p:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .mind-frame { padding-inline: 0; }
  .mind {
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-rows: 56px auto 82px;
    border-inline: 0;
  }
  .mind-topbar { padding-inline: 14px; }
  .mind-brand { max-width: 165px; font-size: 8px; letter-spacing: 0.13em; }
  .mind-visited-copy { display: none; }
  .mind-overview-button { min-height: 34px; padding-inline: 11px; }
  .mind-layout { grid-template-columns: 1fr; grid-template-rows: clamp(260px, 78vw, 330px) auto; }
  .mind-brain-stage::after { background: radial-gradient(circle at 50% 48%, transparent 45%, rgba(2, 8, 23, 0.24) 100%); }
  .mind-brain-camera { inset: -2%; }
  .mind-brain-image,
  .mind-brain-region-light { left: 2%; top: 0; width: 96%; height: 98%; }
  .mind[data-active="curiosity"] { --mind-tx: 7%; --mind-ty: 8%; --mind-scale: 1.34; }
  .mind[data-active="ownership"] { --mind-tx: 9%; --mind-ty: -1%; --mind-scale: 1.32; }
  .mind[data-active="calm"] { --mind-tx: -1%; --mind-ty: -7%; --mind-scale: 1.32; }
  .mind[data-active="collaboration"] { --mind-tx: -7%; --mind-ty: -6%; --mind-scale: 1.3; }
  .mind[data-active="decision"] { --mind-tx: -2%; --mind-ty: 2%; --mind-scale: 1.34; }
  .mind-node { min-width: 48px; min-height: 48px; }
  .mind[data-active] .mind-node { opacity: 0.54; }
  .mind[data-active] .mind-node:not([aria-pressed="true"]) {
    border: 1px solid rgba(169, 201, 239, 0.48);
    background: rgba(6, 21, 43, 0.86);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.53);
  }
  .mind-node-number {
    width: 32px;
    height: 32px;
    border-color: rgba(198, 221, 250, 0.45);
    background: rgba(7, 27, 53, 0.86);
    color: #dcecff;
    font-size: 11px;
    font-weight: 900;
    text-shadow: 0 1px 2px #000;
  }
  .mind-node-curiosity { left: 28%; top: 25%; }
  .mind-node-ownership { left: 21%; top: 51%; }
  .mind-node-calm { left: 52%; top: 73%; }
  .mind-node-collaboration { left: 76%; top: 68%; }
  .mind-node-decision { left: 58%; top: 43%; }
  .mind-brain-instruction { display: none; }
  .mind-panel { overflow: visible; border-top: 1px solid #d7d7d3; border-left: 0; }
  .mind-panel-view {
    position: static;
    inset: auto;
    display: none;
    overflow: visible;
    padding: 22px 20px;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mind[data-mode="idle"] .mind-panel-idle,
  .mind[data-mode="chapter"] .mind-panel-chapter,
  .mind[data-mode="summary"] .mind-panel-summary { display: block; }
  .mind-panel h3 { font-size: clamp(30px, 9vw, 40px); }
  .mind-panel-lede { margin-bottom: 16px; font-size: 14px; }
  .mind-idle-list { margin: 17px 0; }
  .mind-idle-list li { padding: 9px 0; font-size: 12px; }
  .mind-evidence { gap: 10px; margin-top: 15px; padding: 13px 0; }
  .mind-evidence-block p { font-size: 12px; }
  .mind-interview-prompt { margin-top: 12px; padding: 10px 11px; font-size: 11px; }
  .mind-summary-list { gap: 9px; margin: 15px 0; padding: 13px 0; }
  .mind-panel-summary { padding-block: 18px; }
  .mind-panel-summary .mind-panel-kicker { margin-bottom: 10px; }
  .mind-panel-summary h3 { margin-bottom: 10px; font-size: 30px; }
  .mind-panel-summary .mind-panel-lede { margin-bottom: 10px; font-size: 13px; }
  .mind-panel-summary .mind-summary-list { gap: 7px; margin: 10px 0; padding: 10px 0; }
  .mind-panel-summary .mind-summary-list li { font-size: 12px; }
  .mind-summary-actions { gap: 6px; }
  .mind-summary-actions a { min-height: 34px; padding-inline: 11px; font-size: 11px; }
  .mind-role-fit { display: none; }
  .mind-footer { grid-template-columns: 76px 1fr 112px; gap: 8px; padding: 0 10px; }
  .mind-footer-button { min-height: 40px; padding-inline: 9px; font-size: 10px; }
  .mind-progress-list { gap: 3px; }
  .mind-progress-button { min-height: 38px; font-size: 9px; }
}

@media (max-width: 680px) {
  :root { --pad: 21px; --section: 86px; }
  .nav { min-height: 58px; }
  .menu-button { display: flex; }
  .menu-button[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: absolute; top: 58px; left: 0; width: 100%; display: none; padding: 18px var(--pad) 25px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .nav-cta { justify-content: center; margin-top: 14px; border: 0; }
  .hero { padding-top: 130px; padding-bottom: 74px; gap: 65px; }
  .hero h1 { margin-top: 24px; font-size: clamp(50px, 15.4vw, 68px); }
  .hero h1 br { display: none; }
  .hero-lede { font-size: 19px; }
  .hero-actions .button { flex: 1 1 100%; }
  .availability { font-size: 11px; }
  .proof .shell { padding-top: 37px; padding-bottom: 39px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .proof-grid > div { min-height: 94px; padding-right: 18px; }
  .proof-grid > div + div { padding-left: 18px; }
  .proof-grid > div:nth-child(3) { padding-left: 0; }
  .proof-grid dt { font-size: 27px; }
  .work-intro h2, .section-heading h2, .mind-intro h2 { font-size: 45px; }
  .mind-intro-actions .button { flex: 1 1 100%; }
  .project-inner { gap: 46px; }
  .project-meta { grid-template-columns: 1fr; }
  .project-story h3 { font-size: 43px; }
  .project-lede { margin-top: 25px; font-size: 19px; }
  .project-evidence, .recovered-grid { grid-template-columns: 1fr 1fr; gap: 23px 0; margin-top: 42px; }
  .project-evidence p, .recovered-grid p { padding-right: 15px; }
  .project-evidence p + p, .recovered-grid p + p { padding-left: 15px; }
  .project-evidence p:nth-child(3), .recovered-grid p:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-inner { gap: 52px; }
  .about-portrait { width: 100%; margin-top: 36px; }
  .about-copy > p { font-size: 19px; }
  .credentials div { grid-template-columns: 1fr; gap: 5px; }
  .toolkit-grid { grid-template-columns: 1fr; gap: 0; }
  .toolkit-grid p, .toolkit-grid p + p { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
  .assets-heading { grid-template-columns: 1fr; margin-bottom: 49px; }
  .assets-heading .section-kicker { grid-column: auto; }
  .assets-heading > p:last-child { justify-self: start; }
  .asset-row { grid-template-columns: 1fr; gap: 21px; padding: 27px 0; }
  .asset-actions a { flex: 1; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer h2 { font-size: 49px; }
  .footer-bottom { margin-top: 70px; }
  .chat-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
  .chat-header { padding: 20px 20px 16px; }
  .chat-header h2 { font-size: 28px; }
  .chat-disclosure { padding: 11px 20px; }
  .chat-messages { padding: 20px; }
  .chat-message p { max-width: 88%; font-size: 13px; }
  .chat-prompts { padding: 0 20px 12px; }
  .chat-form { margin: 0 14px max(14px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .hero-actions, .footer, .asset-actions { display: none !important; }
  .hero { min-height: 0; padding-top: 40px; }
  .project-dark { color: var(--ink); background: var(--white); }
  .project-dark .project-lede { color: #555; }
}
