:root {
  --ink: #0a0a0a;
  --ink-soft: #111111;
  --paper: #f4f3ee;
  --paper-dim: #aaa9a4;
  --paper-faint: #7c7c78;
  --signal: #c8e75c;
  --signal-rgb: 200, 231, 92;
  --line: rgba(244, 243, 238, 0.14);
  --line-strong: rgba(244, 243, 238, 0.28);
  --surface: #0e0e0d;
  --surface-raised: #121210;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", Didot, Georgia, serif;
  --gutter: clamp(1.25rem, 3vw, 3.5rem);
  --section-space: clamp(6.5rem, 12vw, 12rem);
  --max: 1600px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; background: var(--ink); }
section[id] { scroll-margin-top: 64px; }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
h1, h2 { text-wrap: balance; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-weight: 500; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 1px solid var(--signal); outline-offset: 5px; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  padding: 0.7rem 1rem;
  background: var(--signal);
  color: var(--ink);
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

.progress { position: fixed; inset: 0 0 auto; z-index: 101; height: 2px; pointer-events: none; }
.progress span { display: block; width: 100%; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(10, 10, 10, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 14px 44px rgba(0, 0, 0, 0.22);
}
.site-header.is-menu-open { background: var(--ink); border-color: var(--line); }
.brand { min-width: 44px; justify-self: start; margin-left: -0.55rem; padding: 0 0.55rem; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.08em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3.8rem); }
.brand, .site-nav a, .talk-link { min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a { margin: 0 -0.4rem; padding: 0 0.4rem; }
.site-nav a, .talk-link { position: relative; font-size: 0.88rem; font-weight: 500; letter-spacing: -0.02em; }
.site-nav a { color: var(--paper-dim); transition: color 0.3s; }
.site-nav a:hover, .site-nav a.is-active { color: var(--paper); }
.site-nav a::after, .talk-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .talk-link:hover::after, .talk-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.talk-link { justify-self: end; }
.talk-link span { margin-left: 0.3rem; color: var(--signal); }
.menu-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}
.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease), opacity 0.25s;
}
.menu-toggle i { position: relative; background: transparent; }
.menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; }
.menu-toggle i::before { transform: translateY(-3px); }
.menu-toggle i::after { transform: translateY(3px); }
.menu-toggle[aria-expanded="true"] i::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6.4rem var(--gutter) 1.4rem;
  background: rgba(10, 10, 10, 0.98);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.55s var(--ease);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu__inner { display: grid; grid-template-rows: auto 1fr auto; width: 100%; max-width: 720px; margin: 0 auto; }
.mobile-menu__inner > p { color: var(--paper-faint); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.mobile-menu nav { align-self: center; display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 9.5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.065em;
  opacity: 0;
  transform: translateY(22px);
  transition: color 0.3s, opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; transition-delay: calc(var(--menu-index, 0) * 55ms + 90ms); }
.mobile-menu nav a:nth-child(1) { --menu-index: 1; }
.mobile-menu nav a:nth-child(2) { --menu-index: 2; }
.mobile-menu nav a:nth-child(3) { --menu-index: 3; }
.mobile-menu nav a:nth-child(4) { --menu-index: 4; }
.mobile-menu nav a:nth-child(5) { --menu-index: 5; }
.mobile-menu nav a:hover { color: var(--signal); }
.mobile-menu nav span { color: var(--signal); font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0; }
.mobile-menu__footer { display: flex; justify-content: space-between; gap: 1.5rem; color: var(--paper-dim); font-size: 0.75rem; }
.mobile-menu__footer a { color: var(--paper); }
.mobile-menu__footer i { color: var(--signal); font-style: normal; }

.section-rail {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  transform: translateY(-50%);
}
.section-rail a {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  color: var(--paper-faint);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.section-rail span { opacity: 0; transform: translateX(8px); transition: opacity 0.3s, transform 0.35s var(--ease); }
.section-rail i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--paper-faint);
  border-radius: 50%;
  transition: width 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.section-rail a:hover span, .section-rail a:focus-visible span, .section-rail a.is-active span { opacity: 1; transform: none; }
.section-rail a:hover, .section-rail a.is-active { color: var(--paper); }
.section-rail a.is-active i { width: 18px; border-color: var(--signal); border-radius: 999px; background: var(--signal); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(940px, 100dvh);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  column-gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.25rem var(--gutter) 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 14%;
  right: 8%;
  z-index: -1;
  width: min(38vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(var(--signal-rgb), 0.075);
  filter: blur(110px);
  transform: translate3d(12%, -8%, 0);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0 var(--gutter);
  z-index: -1;
  border-left: 1px solid rgba(244, 243, 238, 0.035);
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(244, 243, 238, 0.035) calc(8.333% - 1px), rgba(244, 243, 238, 0.035) 8.333%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
}
.hero__copy {
  grid-column: 1 / 7;
  grid-row: 1;
  align-self: center;
  position: relative;
  z-index: 2;
  padding: 2.5rem clamp(0rem, 1.2vw, 1rem) 2.5rem 1.8rem;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  color: var(--paper-dim);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.hero__eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.hero__eyebrow b { color: var(--signal); font-weight: 500; }
.hero__title {
  font-size: clamp(3.5rem, 5.8vw, 6.2rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.072em;
}
.hero__line { display: block; overflow: hidden; padding-right: 0.1em; }
.hero__line > span { display: block; }
.js.has-runtime .hero__line > span { transform: translateY(110%); }
.hero__line:nth-child(1) > span { transition: transform 0.8s 0.12s var(--ease); }
.hero__line:nth-child(2) > span { transition: transform 0.8s 0.18s var(--ease); }
.hero__line:nth-child(3) > span { transition: transform 0.8s 0.24s var(--ease); }
.js.has-runtime .is-ready .hero__line > span { transform: translateY(0); }
.hero__title em { color: var(--signal); font-family: inherit; font-style: normal; font-weight: 500; letter-spacing: inherit; }
.hero__intro {
  max-width: 56ch;
  margin-top: clamp(1.5rem, 2.3vw, 2.3rem);
  color: var(--paper-dim);
  font-size: clamp(0.98rem, 1.18vw, 1.18rem);
  line-height: 1.62;
  letter-spacing: -0.028em;
}
.hero__actions { width: min(430px, 100%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin-top: 2.2rem; }
.hero__cta {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.35s, background 0.35s, border-color 0.35s, transform 0.35s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
.hero__cta i { color: var(--signal); font-size: 1rem; font-style: normal; transition: transform 0.35s var(--ease); }
.hero__cta--primary { border-color: var(--signal); background: var(--signal); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38); }
.hero__cta--primary i { color: var(--ink); }
.hero__cta:hover { transform: translateY(-2px); border-color: var(--signal); }
.hero__cta:active { transform: translateY(0) scale(0.985); }
.hero__cta--secondary:hover { background: rgba(216, 255, 62, 0.06); }
.hero__cta:hover i { transform: translate(2px, -2px); }
.hero__cta--primary:hover i { transform: translateY(3px); }
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 1px;
  background: var(--signal);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.text-link:hover::after { transform: scaleX(0.2); }
.text-link span { color: var(--signal); transition: transform 0.35s var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }

[data-load] { transition: opacity 0.65s calc(0.06s + var(--load, 0) * 0.035s), transform 0.65s calc(0.06s + var(--load, 0) * 0.035s) var(--ease); }
.js.has-runtime [data-load] { opacity: 0; transform: translateY(14px); }
.js.has-runtime .is-ready [data-load] { opacity: 1; transform: none; }
.hero__eyebrow[data-load="1"] { --load: 1; }
.hero__intro[data-load="4"] { --load: 4; }
.hero__actions[data-load="5"] { --load: 5; }
.proof-rail[data-load="6"] { --load: 6; }

.hero__portrait {
  grid-column: 7 / -1;
  grid-row: 1;
  align-self: stretch;
  position: relative;
  min-height: 610px;
  margin-left: clamp(0rem, 2vw, 2rem);
  padding-top: 0.5rem;
}
.portrait-mask { position: absolute; inset: 0; overflow: hidden; background: #171717; transition: clip-path 0.9s 0.1s var(--ease); }
.portrait-mask { border: 1px solid rgba(244, 243, 238, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.js.has-runtime .portrait-mask { clip-path: inset(100% 0 0); }
.js.has-runtime .is-ready .portrait-mask { clip-path: inset(0); }
.portrait-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.15), transparent 26%);
  pointer-events: none;
}
.portrait-mask img {
  width: 100%;
  height: calc(100% + 42px);
  object-fit: cover;
  object-position: center 36%;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
  transform: scale(1.2) translate3d(calc(var(--portrait-x, 0) * -8px), calc(var(--portrait-y, 0) * -8px), 0);
  transition: transform 0.55s var(--ease);
}
.hero-system {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  width: min(360px, calc(100% - 4.5rem));
  padding: 0.9rem 1rem 0.8rem;
  border: 1px solid rgba(244, 243, 238, 0.24);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 18px 50px rgba(0, 0, 0, 0.28);
  transform: translate3d(calc(var(--portrait-x, 0) * 5px), calc(var(--portrait-y, 0) * 5px), 0);
  transition: transform 0.55s var(--ease), border-color 0.35s;
}
.hero-system:focus-within { border-color: rgba(var(--signal-rgb), 0.7); }
.hero-system__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--paper-dim); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-system__top > span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-system__top i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.hero-system__top small { color: var(--signal); font: inherit; }
.hero-system__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0.75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-system__steps button {
  min-width: 0;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--paper-faint);
  cursor: pointer;
  font-size: 0.63rem;
  transition: color 0.25s, background 0.25s;
}
.hero-system__steps button:last-child { border-right: 0; }
.hero-system__steps button:hover, .hero-system__steps button[aria-pressed="true"] { background: rgba(var(--signal-rgb), 0.09); color: var(--signal); }
.hero-system__steps button:focus-visible { outline-offset: -3px; }
.hero-system > p { min-height: 1.2rem; margin-top: 0.65rem; color: var(--paper); font-size: 0.73rem; line-height: 1.45; transition: opacity 0.18s, transform 0.25s var(--ease); }
.hero-system.is-updating > p { opacity: 0; transform: translateY(4px); }
.hero__portrait figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.3rem;
  z-index: 2;
  writing-mode: vertical-rl;
  color: rgba(242, 241, 236, 0.58);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.proof-rail {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 92px;
  border-top: 1px solid var(--line-strong);
  background: var(--ink);
}
.proof-rail__item { display: flex; flex-direction: column; justify-content: center; gap: 0.3rem; padding: 1rem clamp(1rem, 2.2vw, 2rem); border-right: 1px solid var(--line); }
.proof-rail__item:last-child { border-right: 0; }
.proof-rail__item { transition: background 0.35s, color 0.35s; }
.proof-rail__item:hover, .proof-rail__item:focus-visible { background: rgba(var(--signal-rgb), 0.045); }
.proof-rail__item strong { font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 500; line-height: 1; letter-spacing: -0.055em; transition: color 0.35s; }
.proof-rail__item:hover strong { color: var(--signal); }
.proof-rail__item > span { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--paper-faint); font-size: 0.76rem; letter-spacing: -0.01em; }
.proof-rail__item > span b { color: var(--signal); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; }
[data-counter] { display: inline-block; }
[data-counter].is-counting { opacity: 0; transform: translateY(4px); }
[data-counter].is-counting-visible { opacity: 1; transform: none; transition: opacity 0.28s, transform 0.45s var(--ease); }
.scroll-cue { position: absolute; right: var(--gutter); top: 50%; z-index: 4; display: none; }

.section { position: relative; max-width: var(--max); margin: 0 auto; padding: var(--section-space) var(--gutter); }
.section::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
  pointer-events: none;
}
.section-marker { display: flex; align-items: center; gap: 0.55rem; color: var(--paper-dim); font-size: 0.69rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.section-marker::before { content: ""; width: 18px; height: 1px; background: var(--signal); }
.section-marker span { color: var(--signal); }

.thesis { min-height: 68svh; display: grid; grid-template-columns: repeat(12, 1fr); align-content: start; gap: 2rem; padding-top: 2rem; }
.thesis > .section-marker { grid-column: 1 / 4; }
.thesis__content { grid-column: 3 / 12; display: grid; grid-template-columns: 1.35fr 0.65fr; align-items: end; gap: clamp(2rem, 6vw, 7rem); }
.thesis h2 { font-size: clamp(3.7rem, 6.5vw, 6.7rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.068em; }
.thesis h2 em { display: block; color: var(--signal); font-size: 0.92em; letter-spacing: -0.06em; }
.thesis p { max-width: 34ch; padding-bottom: 0.8rem; color: var(--paper-dim); font-size: clamp(1rem, 1.2vw, 1.22rem); line-height: 1.65; }

.capabilities {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 9vw, 10rem);
  border-top: 1px solid var(--line);
}
.capabilities__intro h2 { margin-top: 2rem; font-size: clamp(3.1rem, 5.2vw, 5.5rem); font-weight: 500; line-height: 0.97; letter-spacing: -0.068em; }
.capabilities__intro h2 em { color: var(--signal); }
.capability-stage {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: 1.15rem;
  border: 1px solid var(--line-strong);
  background-image:
    linear-gradient(rgba(244, 243, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 243, 238, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, rgba(var(--signal-rgb), 0.08), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 -42px 80px rgba(0, 0, 0, 0.16);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}
.capability-stage::after { content: "KA / SYSTEM 01"; position: absolute; right: 1rem; bottom: 0.8rem; color: var(--paper-faint); font-size: 0.55rem; letter-spacing: 0.08em; }
.capability-stage__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--signal); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.capability-stage__top small { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--paper-dim); font: inherit; }
.capability-stage__top i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.capability-stage > p:first-of-type { margin-top: 2.1rem; color: var(--paper-faint); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; }
.capability-stage h3 { margin-top: 0.25rem; font-size: clamp(1.9rem, 3.1vw, 3.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.055em; transition: opacity 0.18s, transform 0.28s var(--ease); }
.capability-stage__route { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 0.7rem; margin-top: 2rem; color: var(--paper); font-size: 0.65rem; }
.capability-stage__route i { height: 1px; background: linear-gradient(90deg, var(--signal), var(--line-strong)); transform: scaleX(1); transform-origin: left; transition: transform 0.45s var(--ease); }
.capability-stage > p:last-of-type { max-width: 49ch; margin-top: 1.25rem; padding-right: 2.2rem; color: var(--paper-dim); font-size: 0.78rem; line-height: 1.55; transition: opacity 0.18s, transform 0.28s var(--ease); }
.capability-stage.is-updating h3, .capability-stage.is-updating > p:last-of-type { opacity: 0; transform: translateY(5px); }
.capability-stage.is-updating .capability-stage__route i { transform: scaleX(0); }
.capability-list { align-self: end; border-top: 1px solid var(--line-strong); }
.capability-list article {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.capability-option {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  padding: 1.65rem 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: padding 0.42s var(--ease), background 0.3s;
}
.capability-option::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--signal); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); }
.capability-option:hover, .capability-option.is-active { padding-left: 1rem; padding-right: 0.8rem; background: rgba(var(--signal-rgb), 0.045); }
.capability-option.is-active::before { transform: scaleY(1); transform-origin: top; }
.capability-option:focus-visible { outline-offset: -3px; }
.capability-option > span:first-child { padding-top: 0.25rem; color: var(--signal); font-size: 0.72rem; }
.capability-option__copy { display: flex; flex-direction: column; gap: 0.55rem; }
.capability-option__copy strong { font-size: clamp(1.25rem, 1.8vw, 1.8rem); font-weight: 500; letter-spacing: -0.045em; transition: color 0.25s; }
.capability-option__copy small { max-width: 45ch; color: var(--paper-dim); font-size: 0.88rem; line-height: 1.58; }
.capability-option > i { padding-top: 0.1rem; color: var(--paper-faint); font-size: 1.05rem; font-style: normal; transition: color 0.25s, transform 0.35s var(--ease); }
.capability-option:hover > i, .capability-option.is-active > i { color: var(--signal); transform: translate(2px, -2px); }

.work { padding-top: clamp(5rem, 8vw, 8rem); }
.section-heading { display: grid; grid-template-columns: 1fr 0.34fr; align-items: end; gap: 2rem; margin: 2.1rem 0 clamp(3rem, 5vw, 5.5rem); }
.section-heading h2 { font-size: clamp(3.2rem, 5.7vw, 6rem); font-weight: 500; line-height: 0.97; letter-spacing: -0.07em; }
.section-heading p { max-width: 34ch; padding-bottom: 0.5rem; color: var(--paper-dim); font-size: clamp(1rem, 1.2vw, 1.2rem); }

.venture-list { border-top: 1px solid var(--line-strong); }
.venture { --row-accent: var(--paper); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.venture { transition: background 0.45s var(--ease); }
.venture:hover, .venture.is-open { background: linear-gradient(90deg, rgba(var(--signal-rgb), 0.035), transparent 48%); }
.venture::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); pointer-events: none; }
.venture:hover::after, .venture.is-open::after { transform: scaleX(1); }
.venture__trigger {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 7.2rem minmax(15rem, 1.6fr) 0.65fr 0.65fr 2.5rem;
  align-items: center;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
}
.venture__index, .venture__type, .venture__role { color: var(--paper-dim); font-size: 0.9rem; }
.venture__index { font-size: clamp(1rem, 1.35vw, 1.3rem); }
.venture__name { font-size: clamp(1.8rem, 3vw, 3.25rem); font-weight: 500; line-height: 1; letter-spacing: -0.055em; transition: color 0.35s, transform 0.45s var(--ease); }
.venture__trigger svg { width: 22px; justify-self: end; }
.venture__trigger svg path { fill: none; stroke: currentColor; stroke-width: 1.2; transform-origin: center; transition: transform 0.5s var(--ease); }
.venture__trigger:hover .venture__name { color: var(--signal); transform: translateX(0.2rem); }
.venture__trigger:active { transform: scale(0.995); }
.venture__trigger:focus-visible { outline: 1px solid var(--signal); outline-offset: -3px; }
.venture.is-open { --row-accent: var(--signal); }
.venture.is-open .venture__name, .venture.is-open .venture__index { color: var(--signal); }
.venture.is-open .venture__trigger svg path:first-child { transform: rotate(90deg); }
.venture__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.7s var(--ease); }
.js.has-runtime .venture__panel { grid-template-rows: 0fr; }
.js.has-runtime .venture.is-open .venture__panel { grid-template-rows: 1fr; }
.venture__panel-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  min-height: 165px;
  padding: 1.5rem 2rem 2rem 1.8rem;
  transition: padding 0.6s var(--ease);
}
.js.has-runtime .venture__panel-inner { min-height: 0; padding-top: 0; padding-bottom: 0; }
.js.has-runtime .venture.is-open .venture__panel-inner { min-height: 165px; padding-top: 1.5rem; padding-bottom: 2rem; }
.venture__panel-inner > p, .venture__description p { max-width: 38ch; margin-bottom: 1.25rem; color: var(--paper-dim); line-height: 1.65; }
.venture__panel-inner > .text-link { justify-self: start; align-self: end; }
.venture__description .text-link { margin-top: 0.2rem; }
.venture__system {
  position: relative;
  min-width: min(520px, 45vw);
  min-height: 132px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  background-image: linear-gradient(rgba(244, 243, 238, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 243, 238, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.venture__system > div { display: flex; justify-content: space-between; gap: 1rem; color: var(--paper-faint); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; }
.venture__system > div i { color: var(--signal); font-style: normal; }
.venture__system > p { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 0.65rem; margin: 0; color: var(--paper); font-size: 0.7rem; }
.venture__system > p b { height: 1px; background: linear-gradient(90deg, var(--signal), var(--line-strong)); transform: scaleX(0); transform-origin: left; transition: transform 0.7s 0.16s var(--ease); }
.venture__system > p span { opacity: 0; transform: translateY(5px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.venture.is-open .venture__system > p b { transform: scaleX(1); }
.venture.is-open .venture__system > p span { opacity: 1; transform: none; }
.venture.is-open .venture__system > p span:nth-of-type(2) { transition-delay: 0.16s; }
.venture.is-open .venture__system > p span:nth-of-type(3) { transition-delay: 0.3s; }

#venture-apify .venture__panel-inner { grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.2fr); }
.venture__stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.venture__stats li { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.venture__stats li:nth-child(2n) { border-right: 0; }
.venture__stats li:nth-last-child(-n + 2) { border-bottom: 0; }
.venture__stats strong { color: var(--signal); font-size: clamp(1.5rem, 2.25vw, 2.3rem); font-weight: 500; letter-spacing: -0.06em; }
.venture__stats span { color: var(--paper-dim); font-size: 0.72rem; }
.public-work { display: grid; grid-template-columns: 0.23fr 0.77fr; gap: 2rem; margin-top: 7rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.public-work > .section-marker, .outcomes > .section-marker { align-self: start; }
.public-work__content { min-width: 0; }
.public-work__list { border-top: 1px solid var(--line-strong); }
.public-work__list a {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(12rem, 0.8fr) minmax(16rem, 1.2fr) auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 84px;
  padding: 0 0.25rem 0 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.45s var(--ease), background 0.3s;
}
.public-work__list a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--signal); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); }
.public-work__list a:hover, .public-work__list a:focus-visible { padding-left: 0.8rem; background: rgba(var(--signal-rgb), 0.045); }
.public-work__list a:hover::before, .public-work__list a:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.public-work__list a:focus-visible { outline-offset: -3px; }
.public-work__list a > span { color: var(--signal); font-size: 0.68rem; }
.public-work__list strong { font-size: clamp(1.1rem, 1.6vw, 1.55rem); font-weight: 500; letter-spacing: -0.04em; }
.public-work__list small { max-width: 48ch; color: var(--paper-dim); font-size: 0.82rem; line-height: 1.55; }
.public-work__list i { color: var(--signal); font-size: 1.1rem; font-style: normal; transition: transform 0.35s var(--ease); }
.public-work__list a:hover i { transform: translate(3px, -3px); }
.featured-code { margin-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.featured-code__top { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--paper-faint); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.055em; }
.featured-code__top > a { min-height: 44px; display: inline-flex; align-items: center; gap: 0.45rem; color: var(--paper); text-transform: none; letter-spacing: -0.015em; }
.featured-code__top i { color: var(--signal); font-style: normal; }
.featured-code__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured-code__grid a { min-width: 0; min-height: 156px; display: flex; flex-direction: column; padding: 1rem; border-right: 1px solid var(--line); transition: background 0.3s, padding 0.42s var(--ease); }
.featured-code__grid a:last-child { border-right: 0; }
.featured-code__grid a:hover, .featured-code__grid a:focus-visible { padding-left: 1.25rem; background: rgba(var(--signal-rgb), 0.045); }
.featured-code__grid a:focus-visible { outline-offset: -3px; }
.featured-code__grid span { color: var(--signal); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; }
.featured-code__grid strong { margin-top: auto; font-size: clamp(1.05rem, 1.4vw, 1.35rem); font-weight: 500; letter-spacing: -0.04em; }
.featured-code__grid small { margin-top: 0.45rem; color: var(--paper-dim); font-size: 0.72rem; line-height: 1.45; }
.outcomes { display: grid; grid-template-columns: 0.23fr 0.77fr; gap: 2rem; margin-top: 7rem; padding: 1.8rem 0 0; border-top: 1px solid var(--line); }
.outcomes__list p { padding: 0.55rem 0 0.7rem; border-bottom: 1px solid var(--line); font-size: clamp(1.8rem, 3.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.055em; transition: color 0.3s, padding 0.45s var(--ease); }
.outcomes__list p:hover { padding-left: 0.35rem; color: var(--signal); }
.outcomes__list i { margin: 0 0.25em; color: var(--signal); font-style: normal; }

.teaching { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(4rem, 8vw, 9rem); border-top: 1px solid var(--line); }
.teaching__intro h2 { margin-top: 2rem; font-size: clamp(3.2rem, 5.5vw, 5.8rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.068em; }
.teaching__intro h2 em { color: var(--signal); }
.teaching__intro > p { max-width: 55ch; margin-top: 1.8rem; color: var(--paper-dim); font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.62; }
.teaching__numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; }
.teaching__numbers > div { display: flex; flex-direction: column; gap: 0.2rem; padding-right: 1rem; border-right: 1px solid var(--line); }
.teaching__numbers > div + div { padding-left: 1.4rem; }
.teaching__numbers strong { font-size: clamp(1.6rem, 2.9vw, 3rem); font-weight: 500; letter-spacing: -0.06em; white-space: nowrap; }
.teaching__numbers span { color: var(--paper-dim); font-size: 0.78rem; }
.teaching__numbers strong > span { color: inherit; font-size: inherit; }
.course-list { align-self: center; }
.course-list > a:not(.course-list__all) { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 1rem; min-height: 76px; border-top: 1px solid var(--line); transition: color 0.35s, padding 0.45s var(--ease); }
.course-list > a:not(.course-list__all):hover { padding-left: 0.7rem; color: var(--signal); }
.course-list > a:nth-child(3) { border-bottom: 1px solid var(--line); }
.course-list > a span { color: var(--paper-dim); font-size: 0.84rem; }
.course-list > a strong { font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 500; }
.course-list > a strong small { display: block; margin-top: 0.2rem; color: var(--paper-faint); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.015em; }
.course-list > a i { color: var(--signal); font-size: 1.3rem; font-style: normal; }
.course-list__all { margin-top: 2.5rem; }

.audience { border-top: 1px solid var(--line); }
.audience__header {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  margin-top: 2rem;
}
.audience__header h2 {
  font-size: clamp(3.2rem, 5.7vw, 6rem);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.07em;
}
.audience__header h2 em { color: var(--signal); }
.audience__intro { padding-bottom: 0.4rem; }
.audience__intro p {
  max-width: 43ch;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.65;
}
.audience__intro .text-link { margin-top: 1.5rem; }
.audience__metrics {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.audience__metrics > * {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
  transition: background 0.35s, color 0.35s;
}
.audience__metrics > *::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.audience__metrics > a:hover::before, .audience__metrics > a:focus-visible::before { transform: scaleX(1); }
.audience__metrics > *::after { content: "↗"; position: absolute; right: 1rem; top: 1rem; color: var(--signal); font-size: 0.9rem; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.3s, transform 0.35s var(--ease); }
.audience__metrics > a:hover { background: rgba(var(--signal-rgb), 0.045); }
.audience__metrics > a:hover::after { opacity: 1; transform: none; }
.audience__metrics > *:last-child { border-right: 0; }
.audience__metrics > a:hover strong { color: var(--paper); }
.audience__metrics > * > span { color: var(--paper-dim); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; }
.audience__metrics strong { align-self: flex-start; color: var(--signal); font-size: clamp(2.3rem, 3.3vw, 3.5rem); font-weight: 500; line-height: 0.95; letter-spacing: -0.06em; transition: color 0.3s; }
.audience__metrics small { color: var(--paper-dim); font-size: 0.82rem; }
.evidence-note { max-width: 76ch; margin-top: 1rem; color: var(--paper-faint); font-size: 0.68rem; line-height: 1.55; letter-spacing: 0.015em; }
.partnerships {
  display: grid;
  grid-template-columns: 0.22fr 0.78fr;
  gap: 2rem;
  align-items: center;
  margin-top: clamp(4rem, 7vw, 7rem);
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partnerships > span { color: var(--paper-faint); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.partnerships div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem; }
.partnerships strong { color: var(--paper-dim); font-size: clamp(0.95rem, 1.3vw, 1.3rem); font-weight: 500; transition: color 0.3s, transform 0.4s var(--ease); }
.partnerships strong:hover { color: var(--paper); }

.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: clamp(3rem, 7vw, 8rem); margin-top: 2rem; }
.about__grid h2 { font-size: clamp(3rem, 4.9vw, 5.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.065em; }
.about__copy { display: flex; align-items: flex-end; gap: clamp(2rem, 5vw, 6rem); padding-bottom: 0.4rem; }
.about__copy p { max-width: 45ch; color: var(--paper-dim); font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.65; }
.about__copy .text-link { white-space: nowrap; }
.timeline { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(4rem, 7vw, 7rem); padding: 0; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); transform: scaleX(var(--timeline-scale, 0)); transform-origin: left; transition: transform 1.5s var(--ease); }
.timeline.is-in::before { --timeline-scale: 1; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 0.15rem; padding: 1.2rem 1.5rem 0 0; }
.timeline li::before { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px var(--ink); }
.timeline li span { color: var(--signal); font-size: 1.1rem; font-weight: 600; }
.timeline li strong { color: var(--paper-dim); font-size: 0.82rem; font-weight: 400; }
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: var(--max);
  min-height: 62dvh;
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 11rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  align-items: end;
  gap: 2rem;
  border-top: 1px solid var(--line);
}
.contact::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -45%;
  z-index: -1;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--signal-rgb), 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 5vw rgba(var(--signal-rgb), 0.018), 0 0 0 10vw rgba(var(--signal-rgb), 0.012);
}
.contact h2 { font-size: clamp(3.3rem, 5.8vw, 6.3rem); font-weight: 500; line-height: 0.97; letter-spacing: -0.07em; }
.contact h2 em { color: var(--signal); }
.contact__actions { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 0.4rem; }
.contact__booking {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 360px);
  padding: 0.8rem 1rem;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.contact__booking:hover { transform: translateY(-2px); background: #d1ed6b; }
.contact__booking:active { transform: translateY(0) scale(0.985); }
.contact__booking span { font-size: 1rem; }
.contact__email { min-height: 44px; display: inline-flex; align-items: center; padding-bottom: 0.2rem; border-bottom: 1px solid var(--paper); font-size: clamp(1.1rem, 2.2vw, 2.25rem); letter-spacing: -0.045em; overflow-wrap: anywhere; transition: color 0.35s, border-color 0.35s; }
.contact__email:hover { color: var(--signal); border-color: var(--signal); }
.contact__email span { color: var(--signal); }

.site-footer { width: calc(100% - var(--gutter) - var(--gutter)); max-width: 1500px; margin: 0 auto; min-height: 98px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(2rem, 6vw, 7rem); border-top: 1px solid var(--line); color: var(--paper-dim); font-size: 0.76rem; }
.site-footer nav { display: flex; align-items: center; gap: 0; }
.site-footer nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--paper); font-size: 0.88rem; transition: color 0.3s; }
.site-footer nav a:hover { color: var(--signal); }
.site-footer nav a:not(:last-child)::after { content: "/"; margin: 0 clamp(0.8rem, 1.7vw, 1.7rem); color: var(--signal); }

.js.has-runtime [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js.has-runtime [data-reveal].is-in { opacity: 1; transform: none; }
.capability-list article:nth-child(2) { --reveal-delay: 0.07s; }
.capability-list article:nth-child(3) { --reveal-delay: 0.14s; }
.js.has-runtime .capability-list article[data-reveal] { transition-delay: var(--reveal-delay, 0s); }

@media (max-width: 1080px) {
  .section-rail { display: none; }
  .hero__title { font-size: clamp(3.4rem, 5.4vw, 5.2rem); }
  .hero__copy { grid-column: 1 / 7; padding-left: 0.8rem; }
  .hero__portrait { grid-column: 7 / -1; }
  .venture__trigger { grid-template-columns: 5rem minmax(13rem, 1.5fr) 0.7fr 0.6fr 2rem; }
  #venture-apify .venture__panel-inner { grid-template-columns: 0.85fr 1.15fr; }
  .about__copy { flex-direction: column; align-items: flex-start; }
  .teaching { grid-template-columns: 1fr; }
  .course-list { width: min(720px, 100%); }
  .audience__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience__metrics > *:nth-child(2) { border-right: 0; }
  .audience__metrics > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 1240px), (hover: none), (pointer: coarse) {
  .section-rail { display: none; }
}

@media (pointer: coarse) {
  .hero-system__steps button { min-height: 44px; }
}

@media (max-width: 900px) {
  :root { --section-space: clamp(5rem, 19vw, 8rem); }
  .site-header { height: 64px; grid-template-columns: auto 1fr auto; }
  .site-nav, .talk-link { display: none; }
  .menu-toggle { display: inline-flex; grid-column: 3; }
  .mobile-menu { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); padding-bottom: max(1.4rem, env(safe-area-inset-bottom)); }
  .hero { height: auto; min-height: 100dvh; display: flex; flex-direction: column; padding-top: 5.5rem; }
  .hero__grid { background-size: 25% 100%; }
  .hero__copy { order: 1; align-self: stretch; width: 100%; padding: 0.75rem 0 2rem; }
  .hero__eyebrow { margin-bottom: 1.3rem; white-space: normal; }
  .hero__title { font-size: clamp(3rem, 13.2vw, 5.6rem); line-height: 0.92; letter-spacing: -0.068em; }
  .hero__intro { max-width: 45ch; margin-top: 1.4rem; font-size: 1rem; }
  .hero__actions { width: 100%; margin-top: 1.7rem; }
  .hero__portrait { order: 2; width: 100%; min-height: clamp(380px, 110vw, 560px); margin: 0; }
  .portrait-mask { position: absolute; }
  .hero-system { width: min(390px, calc(100% - 4rem)); }
  .hero__portrait figcaption { bottom: 1rem; }
  .proof-rail { order: 3; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem 1rem; padding: 1.8rem 0; }
  .proof-rail__item { min-width: 0; min-height: auto; padding: 0; }
  .proof-rail__item > span { flex-direction: column; gap: 0.15rem; }
  .proof-rail__item:nth-child(2n) { border-right: 0; }
  .thesis { min-height: auto; display: block; padding-top: 5rem; }
  .thesis__content { display: block; margin-top: 2rem; }
  .thesis p { margin: 2rem 0 0 auto; }
  .capabilities { grid-template-columns: 1fr; gap: 3rem; }
  .capabilities__intro h2 { font-size: clamp(3rem, 13vw, 5.3rem); }
  .capability-stage { width: min(620px, 100%); min-height: 235px; margin-top: 2.5rem; }
  .capability-list { align-self: stretch; }
  .capability-option { grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: 0.8rem; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1.5rem; }
  .venture__trigger { min-height: 88px; grid-template-columns: 2.8rem minmax(0, 1fr) auto; grid-template-areas: "index name icon" "index type icon"; column-gap: 0.7rem; row-gap: 0.25rem; }
  .venture__index { grid-area: index; align-self: center; }
  .venture__name { grid-area: name; align-self: end; }
  .venture__type { grid-area: type; display: block; align-self: start; color: var(--paper-faint); font-size: 0.72rem; }
  .venture__trigger svg { grid-area: icon; align-self: center; }
  .venture__name { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .venture__role { display: none; }
  .venture__trigger svg { width: 19px; }
  .venture__panel-inner, #venture-apify .venture__panel-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 0; padding-right: 0; }
  .venture__system { min-width: 0; width: 100%; min-height: 125px; }
  .venture__stats { order: 3; }
  .venture__stats li { padding: 0 0.8rem; }
  .venture__stats strong { font-size: 1.45rem; }
  .public-work { display: block; margin-top: 5rem; }
  .public-work__list { margin-top: 2rem; }
  .public-work__list a { grid-template-columns: 2.4rem minmax(0, 0.8fr) minmax(0, 1.2fr) auto; }
  .outcomes { display: block; margin-top: 5rem; }
  .outcomes__list { margin-top: 2rem; }
  .outcomes__list p { padding: 0.6rem 0; font-size: clamp(1.8rem, 7vw, 3.4rem); }
  .teaching__numbers { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .teaching__numbers > div:nth-child(2) { border-right: 0; }
  .audience__header { grid-template-columns: 1fr; }
  .audience__intro { max-width: 540px; }
  .audience__metrics > * { min-height: 170px; }
  .partnerships { grid-template-columns: 1fr; }
  .partnerships div { justify-content: flex-start; }
  .about__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2.8rem; }
  .timeline::before { display: none; }
  .timeline li { border-top: 1px solid var(--line); }
  .contact { min-height: 66svh; grid-template-columns: 1fr; align-content: center; align-items: start; }
  .contact__actions { justify-self: start; margin-top: 2rem; }
  .site-footer { margin: 0 var(--gutter); padding: 1.8rem 0; grid-template-columns: 1fr auto; gap: 1.8rem; }
  .site-footer nav { grid-column: 1 / -1; flex-wrap: wrap; }
  .site-footer > span:last-child { text-align: right; }
}

@media (max-width: 640px) {
  .public-work__list a { grid-template-columns: 2rem 1fr auto; grid-template-areas: "index title icon" "index copy icon"; gap: 0.3rem 0.75rem; min-height: 92px; padding-block: 1rem; }
  .public-work__list a > span { grid-area: index; align-self: start; padding-top: 0.2rem; }
  .public-work__list strong { grid-area: title; font-size: 1.05rem; }
  .public-work__list small { grid-area: copy; font-size: 0.75rem; }
  .public-work__list i { grid-area: icon; align-self: center; }
  .featured-code__top { align-items: flex-start; flex-direction: column; gap: 0; padding: 0.85rem 0; }
  .featured-code__grid { grid-template-columns: 1fr; }
  .featured-code__grid a { min-height: 126px; border-right: 0; border-bottom: 1px solid var(--line); }
  .featured-code__grid a:last-child { border-bottom: 0; }
}

@media (max-width: 480px) {
  body::before { opacity: 0.022; }
  .hero::before { width: 85vw; filter: blur(90px); }
  .site-header { padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }
  .hero { padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }
  .hero__grid { left: max(1.1rem, env(safe-area-inset-left)); right: max(1.1rem, env(safe-area-inset-right)); }
  .hero__eyebrow { max-width: 42ch; flex-wrap: wrap; gap: 0.38rem; font-size: clamp(0.58rem, 2.55vw, 0.66rem); line-height: 1.45; }
  .hero__eyebrow b { display: none; }
  .hero__eyebrow span:last-child { flex-basis: calc(100% - 1.1rem); margin-left: 1.05rem; }
  .hero__title { font-size: clamp(2.75rem, 13.4vw, 4.15rem); }
  .hero__cta { min-height: 50px; gap: 0.55rem; padding: 0.7rem 0.65rem; font-size: 0.76rem; }
  .hero__portrait { min-height: calc(clamp(360px, 112vw, 455px) + 174px); }
  .portrait-mask { bottom: 174px; }
  .portrait-mask img { object-position: 54% 28%; }
  .hero-system { left: 0; right: 0; bottom: 0; width: auto; padding: 0.75rem; background: var(--ink-soft); }
  .hero-system__top { font-size: 0.56rem; }
  .hero-system__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0.6rem; }
  .hero-system__steps button { min-height: 44px; font-size: 0.58rem; }
  .hero-system__steps button:nth-child(2) { border-right: 0; }
  .hero-system__steps button:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .hero-system > p { margin-top: 0.55rem; font-size: 0.66rem; }
  .hero__portrait figcaption { display: none; }
  .proof-rail__item strong { font-size: 1.7rem; }
  .proof-rail__item > span { font-size: 0.68rem; }
  .proof-rail__item > span b { font-size: 0.54rem; }
  .section { padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }
  .thesis h2 { font-size: 3.8rem; }
  .capability-stage { min-height: 245px; padding: 0.9rem; }
  .capability-stage h3 { font-size: 2rem; }
  .capability-stage__route { gap: 0.4rem; font-size: 0.58rem; }
  .capability-stage > p:last-of-type { padding-right: 1rem; font-size: 0.72rem; }
  .capability-option { grid-template-columns: 2.2rem minmax(0, 1fr) auto; padding: 1.25rem 0; }
  .capability-option:hover, .capability-option.is-active { padding-left: 0.65rem; padding-right: 0.35rem; }
  .capability-option__copy strong { font-size: 1.15rem; }
  .capability-option__copy small { font-size: 0.8rem; }
  .section-heading h2, .teaching__intro h2 { font-size: clamp(2.8rem, 12.2vw, 3.9rem); }
  .venture__stats span { font-size: 0.61rem; }
  .outcomes__list p { font-size: 1.72rem; }
  .teaching__numbers strong { font-size: 1.7rem; }
  .audience__header h2 { font-size: clamp(2.8rem, 12.2vw, 3.9rem); }
  .audience__metrics > * { min-height: 145px; padding: 1.1rem 0.85rem; }
  .audience__metrics strong { font-size: clamp(2rem, 11vw, 3.2rem); }
  .audience__metrics > * > span, .audience__metrics small { font-size: 0.66rem; }
  .course-list > a:not(.course-list__all) { grid-template-columns: 2.5rem 1fr auto; }
  .course-list > a strong { font-size: 0.92rem; }
  .about__grid h2 { font-size: 3rem; }
  .timeline li span { font-size: 0.95rem; }
  .contact { padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }
  .contact h2 { font-size: clamp(2.8rem, 12.2vw, 3.9rem); }
  .contact__email { font-size: 1rem; }
  .contact__booking { width: 100%; }
  .site-footer { font-size: 0.68rem; }
  .site-footer nav a { font-size: 0.78rem; }
  .site-footer nav a:not(:last-child)::after { margin: 0 0.55rem; }
}

@media (max-width: 360px) {
  .hero__actions { grid-template-columns: 1fr; }
  .hero__cta { padding-inline: 0.9rem; }
  .proof-rail__item { min-height: 86px; padding-inline: 0.7rem; }
  .mobile-menu__footer { flex-direction: column; gap: 0.4rem; }
  .hero-system { left: 0; right: 0; width: auto; }
  .hero-system__steps button { font-size: 0.53rem; }
  .capability-stage__route { grid-template-columns: auto 0.55fr auto 0.55fr auto; }
}

@media (max-width: 980px) and (max-height: 600px) and (orientation: landscape) {
  .site-header { height: 60px; padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
  .mobile-menu { padding-top: 4.25rem; padding-bottom: max(0.7rem, env(safe-area-inset-bottom)); }
  .mobile-menu__inner { min-height: calc(100dvh - 4.95rem); grid-template-rows: auto auto; align-content: start; gap: 0.55rem; }
  .mobile-menu__inner > p { display: none; }
  .mobile-menu nav { align-self: start; }
  .mobile-menu nav a { padding: 0.38rem 0; font-size: clamp(1.35rem, 6.4vh, 2rem); line-height: 1; }
  .mobile-menu__footer { margin-top: 0.35rem; padding-bottom: 0.35rem; }
  .hero { height: auto; min-height: 620px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; padding-top: 5.2rem; }
  .hero__copy { grid-column: 1 / 7; align-self: start; padding: 0.25rem 1rem 1.5rem 0; }
  .hero__eyebrow { margin-bottom: 0.8rem; font-size: 0.58rem; }
  .hero__title { font-size: clamp(2.7rem, 5.35vw, 3.2rem); }
  .hero__intro { max-width: 43ch; margin-top: 1rem; font-size: 0.82rem; line-height: 1.45; }
  .hero__actions { margin-top: 1.25rem; gap: 1.5rem; }
  .hero__portrait { grid-column: 7 / -1; min-height: 430px; margin-left: 1rem; padding-top: 0; }
  .portrait-mask img { object-position: 52% 16%; transform: scale(1.12); }
  .hero-system { display: none; }
  .proof-rail { grid-column: 1 / -1; grid-row: 2; min-height: 90px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof-rail__item { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js.has-runtime .hero__line > span, .js.has-runtime [data-load], .js.has-runtime [data-reveal] { opacity: 1; transform: none; }
  .js.has-runtime .portrait-mask { clip-path: inset(0); }
  .portrait-mask img { transform: scale(1.2); }
  .hero-system { transform: none; }
}
