:root {
  --obsidian: #080807;
  --obsidian-soft: #11100e;
  --ivory: #e9e1d2;
  --ivory-bright: #f4eee3;
  --ink: #11100e;
  --gold: #cda968;
  --gold-bright: #e7c98e;
  --lime: #c8ff37;
  --violet: #8e65ff;
  --rust: #c95f37;
  --muted-dark: #8f897e;
  --muted-light: #6d675e;
  --line-dark: rgba(233, 225, 210, 0.16);
  --line-light: rgba(17, 16, 14, 0.2);
  --scroll-progress: 0;
}

* { box-sizing: border-box; }
html { background: var(--obsidian); color-scheme: dark; scroll-behavior: auto; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ivory);
  background: var(--obsidian);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open, body.dialog-open { overflow: hidden; }
button, select, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { color: var(--obsidian); background: var(--lime); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--obsidian);
  background: var(--lime);
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

.grain {
  display: none;
}
.scroll-meter {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, .04);
}
.scroll-meter span {
  display: block;
  width: calc(var(--scroll-progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--lime));
  box-shadow: 0 0 16px rgba(200, 255, 55, .55);
}

.site-loader {
  position: fixed;
  z-index: 900;
  inset: 0;
  padding: 28px 2.8vw;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ivory);
  background: #080807;
  opacity: 1;
  visibility: visible;
  transition: opacity .32s .03s ease, visibility .32s .03s;
  animation: loaderFailsafe .01s 4s forwards;
}
.site-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background: linear-gradient(rgba(233,225,210,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(233,225,210,.025) 1px, transparent 1px), radial-gradient(circle at 50% 46%, rgba(142,101,255,.16), transparent 26%);
  background-size: 72px 72px, 72px 72px, auto;
}
.visual-ready .site-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.visual-ready .loader-trace { animation: none; }
.loader-head, .loader-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; font: 8px ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.loader-head b { color: var(--lime); font-size: 10px; font-weight: 400; }
.loader-center { position: relative; z-index: 1; align-self: center; justify-self: center; text-align: center; }
.loader-infinity { width: min(34vw, 330px); margin: 0 auto 25px; overflow: visible; }
.loader-infinity path { fill: none; stroke-linecap: round; }
.loader-infinity .loader-base { stroke: rgba(233,225,210,.14); stroke-width: .55; }
.loader-infinity .loader-trace { stroke: var(--lime); stroke-width: .8; stroke-dasharray: 20 80; filter: drop-shadow(0 0 9px rgba(200,255,55,.5)); animation: loaderTrace 1.25s linear infinite; }
.loader-center strong { display: block; color: var(--ivory-bright); font-size: clamp(1.1rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.025em; }
.loader-foot { gap: 24px; color: rgba(233,225,210,.52); }
.loader-foot > i { width: min(38vw, 440px); height: 1px; overflow: hidden; background: rgba(233,225,210,.13); }
.loader-foot > i b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--lime)); box-shadow: 0 0 12px rgba(200,255,55,.55); transition: width .32s ease; }
@keyframes loaderTrace { to { stroke-dashoffset: -100; } }
@keyframes loaderFailsafe { to { visibility: hidden; pointer-events: none; } }

.field-shell {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 44%, rgba(91, 57, 25, .15), transparent 33%),
    radial-gradient(circle at 78% 35%, rgba(73, 45, 124, .12), transparent 31%),
    var(--obsidian);
}
.field-shell.field-sleeping { visibility: hidden; }
.field-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(233, 225, 210, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 225, 210, .025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 68% 50%, black, transparent 64%);
}
#intelligence-field {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .9s ease;
}
.field-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .72;
  transition: opacity .9s ease;
  background:
    radial-gradient(circle at 72% 42%, rgba(210, 245, 255, .88) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 54%, rgba(200, 255, 55, .8) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 29%, rgba(142, 101, 255, .9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 58% 23%, rgba(231, 201, 142, .8) 0 1px, transparent 2px),
    radial-gradient(ellipse at 72% 48%, rgba(105, 70, 208, .3), transparent 12%),
    radial-gradient(ellipse at 72% 48%, rgba(48, 219, 196, .13), transparent 26%);
}
.field-fallback::before {
  content: "";
  position: absolute;
  right: -24vw;
  top: 7%;
  width: 132vw;
  aspect-ratio: 2.1;
  border-radius: 50%;
  opacity: .72;
  transform: rotate(-12deg);
  background:
    radial-gradient(ellipse at center, rgba(244, 238, 227, .92) 0 1px, rgba(200, 255, 55, .23) 2px, transparent 11%),
    conic-gradient(from 14deg at 50% 50%, transparent, rgba(142,101,255,.19) 8%, transparent 17%, rgba(25,193,187,.12) 29%, transparent 41%, rgba(142,101,255,.17) 56%, transparent 72%),
    radial-gradient(ellipse at center, rgba(142, 101, 255, .28), rgba(25, 193, 187, .07) 34%, transparent 68%);
  box-shadow: 0 0 90px rgba(84, 64, 178, .13);
}
.field-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: radial-gradient(circle, rgba(233, 225, 210, .86) 0 1px, transparent 1.2px);
  background-size: 83px 79px;
  background-position: 13px 27px;
  mask-image: linear-gradient(90deg, transparent 12%, black 53%, black);
}
.field-shell.field-live #intelligence-field,
.field-shell.field-rendered #intelligence-field { opacity: .18; }
.field-shell[data-stage="1"].field-rendered #intelligence-field { opacity: .24; }
.field-shell[data-stage="2"].field-rendered #intelligence-field { opacity: 0; }
.field-shell[data-stage="3"].field-rendered #intelligence-field,
.field-shell[data-stage="4"].field-rendered #intelligence-field { opacity: .16; }
.field-shell.field-rendered .field-fallback { opacity: 0; }
.field-shell.field-static #intelligence-field { display: none; }
.field-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  transform: scale(.97) translate3d(0, 16px, 0);
  transition: opacity .75s ease, transform 1.15s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.field-media img, .field-media svg { display: block; }
.field-media-cosmos img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; filter: saturate(.92) contrast(1.06) brightness(.82); }
.field-media-cosmos::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 62% 52%, transparent 0 14%, rgba(8,8,7,.1) 42%, rgba(8,8,7,.32) 78%); }
.field-media-atom svg, .field-media-network svg, .field-media-chip svg { position: absolute; right: 3vw; top: 50%; width: min(61vw, 900px); max-height: 82vh; transform: translateY(-50%); overflow: visible; }
.field-media-brain img { position: absolute; right: -1.5vw; top: 50%; width: min(73vw, 1220px); height: auto; transform: translateY(-50%); filter: saturate(.94) contrast(1.05) brightness(1.04); }
.field-shell[data-stage="0"] .field-media-cosmos,
.field-shell[data-stage="1"] .field-media-atom,
.field-shell[data-stage="2"] .field-media-brain,
.field-shell[data-stage="3"] .field-media-network,
.field-shell[data-stage="4"] .field-media-chip { opacity: 1; transform: none; }
.atom-orbit { fill: none; stroke: rgba(231,201,142,.72); stroke-width: 2.2; filter: url(#atom-glow); }
.atom-orbit circle { fill: #c8ff37; stroke: none; }
.atom-orbit-b { stroke: rgba(142,101,255,.84); }
.atom-orbit-c { stroke: rgba(244,238,227,.64); }
.atom-halo { opacity: .86; }
.atom-nucleus circle:nth-child(odd) { fill: #e7c98e; }
.atom-nucleus circle:nth-child(even) { fill: #8e65ff; }
.field-shell[data-stage="1"] .atom-halo { animation: atomPulse 3.6s ease-in-out infinite; }
.network-edges line { stroke: rgba(98,232,209,.28); stroke-width: 1; }
.network-nodes circle { fill: #f4eee3; stroke: rgba(142,101,255,.72); stroke-width: 7; paint-order: stroke; }
.network-nodes circle:nth-child(5n) { fill: #c8ff37; stroke: rgba(200,255,55,.22); }
.field-shell[data-stage="3"] .network-nodes circle { animation: nodeSignal 2.8s ease-in-out infinite; animation-delay: calc(var(--node-index, 0) * -65ms); }
.chip-traces { fill: none; stroke: rgba(98,232,209,.52); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-pads { fill: #c8ff37; filter: url(#chip-glow); }
.chip-frame { fill: rgba(15,14,18,.88); stroke: rgba(231,201,142,.55); stroke-width: 2; }
.chip-core { fill: rgba(142,101,255,.28); stroke: #c8ff37; stroke-width: 2; }
.chip-mark { fill: none; stroke: rgba(244,238,227,.84); stroke-width: 8; stroke-linecap: round; }
.field-shell[data-stage="4"] .chip-traces { stroke-dasharray: 8 10; animation: circuitFlow 2.4s linear infinite; }
@keyframes atomPulse { 50% { opacity: .6; transform: scale(1.08); transform-origin: center; } }
@keyframes nodeSignal { 50% { opacity: .44; } }
@keyframes circuitFlow { to { stroke-dashoffset: -36; } }
.field-vignette {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,7,.86) 0%, rgba(8,8,7,.46) 34%, rgba(8,8,7,.07) 62%, rgba(8,8,7,.14) 100%), linear-gradient(180deg, rgba(8,8,7,.18), transparent 34%, rgba(8,8,7,.24));
}
.field-caption {
  position: absolute;
  z-index: 4;
  right: 2.8vw;
  bottom: 24px;
  display: flex;
  gap: 34px;
  color: rgba(233, 225, 210, .5);
  font: 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .17em;
}
.field-caption span:first-child { color: var(--gold-bright); }
.scale-rail {
  position: absolute;
  right: 2.8vw;
  top: 50%;
  z-index: 4;
  width: 112px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
  transform: translateY(-50%);
}
.scale-step {
  position: relative;
  padding-left: 39px;
  color: rgba(233, 225, 210, .28);
  font: 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .35s ease;
}
.scale-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 25px;
  height: 1px;
  background: rgba(233, 225, 210, .2);
  transform-origin: right;
  transition: width .35s ease, background .35s ease, box-shadow .35s ease;
}
.scale-step span { margin-right: 6px; color: rgba(233, 225, 210, .18); }
.scale-step.is-active { color: var(--ivory); }
.scale-step.is-active::before { width: 34px; background: var(--lime); box-shadow: 0 0 12px rgba(200, 255, 55, .5); }
.scale-step.is-active span { color: var(--lime); }

.site-header {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  padding: 18px 2.8vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--ivory);
  background: linear-gradient(to bottom, rgba(8, 8, 7, .94), rgba(8, 8, 7, .56) 62%, transparent);
}
.monogram {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 12px 6px 0;
}
.gravity-mark {
  width: 51px;
  height: 39px;
  overflow: visible;
  fill: none;
  stroke: rgba(244,238,227,.82);
  stroke-width: 1.35;
  stroke-linecap: round;
  transition: transform .55s cubic-bezier(.16,1,.3,1), stroke .3s ease;
}
.gravity-mark circle { fill: var(--lime); stroke: none; filter: drop-shadow(0 0 6px rgba(200,255,55,.66)); }
.gravity-mark .gravity-cut { stroke: rgba(200,255,55,.46); stroke-dasharray: 2 7; }
.monogram:hover .gravity-mark { stroke: var(--lime); transform: translateX(3px) scale(1.04); }
.brand-name { display: grid; gap: 3px; }
.brand-name b { color: var(--ivory-bright); font-size: 10px; font-weight: 550; letter-spacing: .08em; text-transform: uppercase; }
.brand-name small {
  color: rgba(233, 225, 210, .64);
  font-size: 7px;
  line-height: 1.1;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 54px); }
.desktop-nav a, .header-cta {
  position: relative;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid rgba(233, 225, 210, .52);
}
.header-cta b { color: var(--lime); font-size: 15px; transition: transform .3s ease; }
.header-cta:hover b { transform: translate(4px, -4px); }
.menu-toggle, .mobile-menu { display: none; }

main { position: relative; z-index: 1; }
.hero {
  position: relative;
  min-height: 100svh;
  padding: 135px 2.8vw 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 2.8vw;
  right: 2.8vw;
  bottom: 0;
  height: 1px;
  background: var(--line-dark);
}
.hero-rail {
  display: flex;
  justify-content: space-between;
  color: rgba(233, 225, 210, .6);
  font: 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-rail span:first-child { display: flex; align-items: center; gap: 9px; color: var(--ivory); }
.hero-rail i, .contact-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime);
}
.hero-copy { position: relative; z-index: 2; width: min(1380px, 94vw); margin-top: auto; }
.hero-kicker {
  margin-bottom: 28px;
  color: var(--gold-bright);
  font: 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-kicker span { margin: 0 9px; color: var(--lime); }
.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7.7vw, 9.2rem);
  font-weight: 650;
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; opacity: 0; transform: translateY(115%) rotate(1.5deg); }
.visual-ready .hero-line > span { animation: heroReveal 1.25s cubic-bezier(.16,1,.3,1) both; }
.visual-ready .hero-line:nth-child(2) > span { animation-delay: .08s; }
.visual-ready .hero-line:nth-child(3) > span { animation-delay: .16s; }
.visual-ready .hero-line:nth-child(4) > span { animation-delay: .24s; }
.hero-serif {
  margin-left: 8vw;
  color: var(--ivory-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -.06em;
}
.hero-accent { color: var(--lime); white-space: nowrap; }
.gravity-line {
  margin: clamp(22px, 3vh, 38px) 0 0;
  color: rgba(233, 225, 210, .72);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  letter-spacing: -.02em;
}
.gravity-line::before { content: "//"; margin-right: 12px; color: var(--lime); font: 9px ui-monospace, monospace; letter-spacing: .12em; }
.gravity-line em { color: var(--gold-bright); font-family: Georgia, "Times New Roman", serif; font-size: 1.08em; font-weight: 400; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(115%) rotate(1.5deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
.hero-enter { opacity: 0; transform: translateY(18px); }
.visual-ready .hero-enter { animation: softIn 1s .38s cubic-bezier(.16,1,.3,1) both; }
@keyframes softIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: 5vh;
  display: grid;
  grid-template-columns: minmax(280px, 470px) 1fr;
  align-items: end;
  gap: 5vw;
}
.hero-foot > p {
  margin: 0;
  color: rgba(233, 225, 210, .72);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.5;
  letter-spacing: -.02em;
}
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  padding: 16px 18px;
  border: 1px solid transparent;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.button span { margin-left: 28px; font-size: 15px; }
.button-primary { color: var(--obsidian); background: var(--lime); }
.button-primary:hover { color: var(--ivory); background: var(--violet); transform: translateY(-2px); }
.button-ghost { color: var(--ivory); border-color: var(--line-dark); background: rgba(255,255,255,.03); }
.button-ghost:hover { color: var(--obsidian); background: var(--gold-bright); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.text-link span { color: var(--gold-bright); transition: transform .25s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-orbit-label {
  position: absolute;
  z-index: 2;
  right: 2.8vw;
  top: 48%;
  color: rgba(233, 225, 210, .38);
  font: 8px/1 ui-monospace, monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: none;
}

.signal-strip {
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--obsidian);
  background: var(--gold);
}
.marquee-track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 16px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.marquee-track i { font-style: normal; font-size: 9px; }

.eyebrow {
  display: block;
  color: var(--gold-bright);
  font: 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.transformation {
  position: relative;
  min-height: 540vh;
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(8,8,7,.92), rgba(8,8,7,.58) 18%, rgba(8,8,7,.5) 85%, var(--obsidian));
}
.transformation-intro {
  min-height: 88vh;
  padding: 17vh 2.8vw 10vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.transformation-intro h2 {
  max-width: 1050px;
  margin: 34px 0;
  font-size: clamp(3.2rem, 6.8vw, 8.2rem);
  font-weight: 550;
  line-height: .92;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.transformation-intro h2 em,
.section-top h2 em,
.lab-copy h2 em,
.about-statement h2 em,
.contact-section h2 em {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
}
.transformation-intro > p {
  max-width: 510px;
  margin: 0 0 0 52vw;
  color: rgba(233, 225, 210, .6);
  font-size: 1.08rem;
  line-height: 1.55;
}
.chapters { position: relative; }
.chapter {
  position: relative;
  min-height: 105vh;
  padding: 10vh 2.8vw;
  display: grid;
  grid-template-columns: 10vw minmax(280px, 480px) 1fr;
  align-items: center;
}
.chapter::before {
  content: "";
  position: absolute;
  left: 2.8vw;
  right: 2.8vw;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-dark), transparent 62%);
}
.chapter-number {
  align-self: start;
  padding-top: 4px;
  color: rgba(233, 225, 210, .26);
  font: 3.2rem/.8 Georgia, serif;
  letter-spacing: -.08em;
}
.chapter-copy { grid-column: 2; }
.chapter-label {
  display: block;
  margin-bottom: 24px;
  color: var(--lime);
  font: 9px/1.2 ui-monospace, monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.chapter h3 {
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 4.7vw, 5.8rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.055em;
}
.chapter p { margin: 0; color: rgba(233, 225, 210, .62); font-size: 1.02rem; line-height: 1.58; }
.chapter ul {
  margin: 34px 0 0;
  padding: 18px 0 0;
  display: flex;
  gap: 9px;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.chapter li {
  padding: 7px 9px;
  border: 1px solid var(--line-dark);
  color: rgba(233, 225, 210, .72);
  font: 8px/1 ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gravity-manifesto {
  position: relative;
  z-index: 4;
  min-height: 88vh;
  padding: 16vh 2.8vw 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 78% 40%, rgba(142, 101, 255, .16), transparent 30%),
    radial-gradient(circle at 65% 52%, rgba(200, 255, 55, .07), transparent 24%),
    var(--obsidian);
}
.gravity-manifesto > p {
  max-width: 1260px;
  margin: 40px 0 9vh;
  font-size: clamp(4.3rem, 9vw, 11rem);
  font-weight: 570;
  line-height: .82;
  letter-spacing: -.078em;
  text-transform: uppercase;
}
.gravity-manifesto > p em { color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-transform: none; }
.manifesto-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.manifesto-foot span { padding: 19px 0; border-right: 1px solid var(--line-dark); color: rgba(233, 225, 210, .5); font: 8px ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.manifesto-foot span:not(:first-child) { padding-left: 20px; }
.manifesto-foot span:last-child { border-right: 0; }

.light-section { color: var(--ink); background: var(--ivory); }
.work-section { position: relative; z-index: 4; padding: 145px 2.8vw 120px; }
.section-top {
  display: grid;
  grid-template-columns: minmax(520px, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: 7vw;
  margin-bottom: 100px;
}
.section-top .eyebrow, .evidence-head .eyebrow { color: #70562d; }
.section-top h2 {
  margin: 28px 0 0;
  font-size: clamp(4rem, 7.8vw, 9.2rem);
  font-weight: 600;
  line-height: .83;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.section-top h2 em { color: #5b3cb7; }
.section-intro > p { max-width: 500px; margin: 0; font-size: 1.06rem; line-height: 1.55; }
.evidence-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 28px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: var(--muted-light);
  font: 9px/1.5 ui-monospace, monospace !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.evidence-note span { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: #5b3cb7; }
.work-toolbar {
  margin-bottom: 32px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.filter-set { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  padding: 9px 12px;
  border: 1px solid transparent;
  color: var(--muted-light);
  background: transparent;
  font: 9px/1 ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter span { margin-left: 4px; opacity: .6; }
.filter:hover, .filter.is-active { color: var(--ivory); background: var(--ink); }
.toolbar-hint { color: var(--muted-light); font: 8px/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.project-card { min-width: 0; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.project-card:nth-child(even) { border-right: 0; }
.project-card[hidden] { display: none; }
.project-card > a {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 25px 24px 30px;
  display: flex;
  flex-direction: column;
  border: 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.project-card > a:hover .project-art { transform: scale(.985); }
.project-card > a:hover .card-copy b { transform: translate(3px, -3px); }
.project-card > a:hover h3 { color: #5b3cb7; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font: 8px/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.maturity { padding: 7px 9px; border: 1px solid currentColor; font: 8px/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.maturity.in-progress { color: #7654cf; }
.maturity.private { color: #6b655d; }
.maturity.anonymized { color: #8d4b31; }
.maturity.public { color: #3f6c2b; }
.maturity.verified { color: #3c625c; }
.project-art {
  position: relative;
  min-height: clamp(330px, 39vw, 560px);
  margin-bottom: 32px;
  overflow: hidden;
  color: var(--ivory);
  background: var(--obsidian-soft);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
  isolation: isolate;
}
.project-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent);
}
.art-label {
  position: absolute;
  z-index: 4;
  left: 20px;
  bottom: 18px;
  padding: 7px 9px;
  border: 1px solid rgba(233,225,210,.22);
  color: rgba(233,225,210,.65);
  background: rgba(8,8,7,.48);
  font: 7px/1 ui-monospace, monospace;
  letter-spacing: .14em;
}
.card-copy h3 { margin: 0; font-size: clamp(2.7rem, 4.4vw, 5.4rem); font-weight: 580; line-height: .86; letter-spacing: -.07em; transition: color .3s ease; }
.card-copy > p { max-width: 570px; margin: 24px 0 34px; color: #4f4a43; font-size: 1rem; line-height: 1.55; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-light); color: #625c54; font: 8px/1.4 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.card-foot b { color: #5b3cb7; font-weight: 500; transition: transform .25s ease; }

.art-workspine { background: radial-gradient(circle at 50% 46%, #362453, #12100f 52%); }
.memory-spine { position: absolute; left: 50%; top: 8%; bottom: 10%; width: 1px; background: linear-gradient(var(--violet), var(--gold), var(--lime)); box-shadow: 0 0 25px rgba(142,101,255,.8); }
.art-workspine > i {
  position: absolute; z-index: 2; left: 50%; width: 16px; height: 16px; border: 1px solid var(--gold); border-radius: 50%; background: #14110f; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(205,169,104,.08), 0 0 32px rgba(205,169,104,.4);
}
.art-workspine > i::after { content: ""; position: absolute; top: 50%; width: clamp(70px, 12vw, 190px); height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.art-workspine > i:nth-of-type(1) { top: 18%; }
.art-workspine > i:nth-of-type(2) { top: 34%; }
.art-workspine > i:nth-of-type(3) { top: 50%; }
.art-workspine > i:nth-of-type(4) { top: 66%; }
.art-workspine > i:nth-of-type(5) { top: 82%; }
.art-workspine > i:nth-of-type(odd)::after { right: 19px; }
.art-workspine > i:nth-of-type(even)::after { left: 19px; transform: rotate(180deg); }
.art-workspine::after { content: "WORK / MEMORY"; position: absolute; right: 20px; top: 20px; color: rgba(233,225,210,.28); font: 8px ui-monospace, monospace; letter-spacing: .16em; }

.art-manhaj { background: radial-gradient(circle at 50% 50%, rgba(200,255,55,.13), transparent 35%), #11100e; }
.cockpit-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(233,225,210,.36); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-a { width: 68%; aspect-ratio: 1; border-color: rgba(200,255,55,.5); }
.ring-a::before, .ring-b::before, .ring-c::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.ring-b { width: 48%; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(50deg); border-style: dashed; }
.ring-b::before { background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.ring-c { width: 28%; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(-30deg); }
.ring-c::before { background: var(--violet); box-shadow: 0 0 18px var(--violet); }
.cockpit-core { position: absolute; left: 50%; top: 50%; width: 16%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); transform: translate(-50%,-50%) rotate(45deg); color: var(--gold-bright); background: #17130f; box-shadow: 0 0 60px rgba(205,169,104,.18); font: 1.4rem Georgia, serif; }
.cockpit-core::first-letter { transform: rotate(-45deg); }

.art-enterprise { padding: 12% 10%; display: flex; flex-direction: column; justify-content: center; perspective: 900px; background: #0d0d0c; }
.os-layer {
  position: relative; width: 72%; height: 18%; margin: -2% auto; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(233,225,210,.24);
  transform: rotateX(62deg) rotateZ(-18deg); background: rgba(24,21,18,.88); box-shadow: 0 18px 40px rgba(0,0,0,.34);
}
.os-layer:nth-child(1) { border-color: rgba(200,255,55,.5); }
.os-layer:nth-child(2) { width: 79%; border-color: rgba(205,169,104,.55); }
.os-layer:nth-child(3) { width: 86%; border-color: rgba(142,101,255,.55); }
.os-layer:nth-child(4) { width: 93%; }
.os-layer span { color: rgba(233,225,210,.48); font: 7px ui-monospace, monospace; letter-spacing: .2em; }

.art-errorlens { min-height: clamp(330px, 32vw, 460px); background: radial-gradient(circle at 52% 48%, rgba(142,101,255,.12), transparent 36%), #0f0e0d; }
.art-errorlens svg { position: absolute; inset: 12% 5% 18%; width: 90%; height: 70%; overflow: visible; }
.art-errorlens path { fill: none; stroke: rgba(233,225,210,.24); stroke-width: 2; stroke-dasharray: .012 .018; }
.art-errorlens circle { fill: #11100e; stroke: var(--gold); stroke-width: 2; filter: drop-shadow(0 0 8px rgba(205,169,104,.8)); }
.art-errorlens circle:nth-of-type(3) { stroke: var(--rust); }
.art-errorlens circle:last-of-type { fill: var(--lime); stroke: var(--lime); }
.recovery-pulse { position: absolute; left: 92%; top: 50%; width: 12px; height: 12px; border: 1px solid var(--lime); border-radius: 50%; box-shadow: 0 0 0 6px rgba(200,255,55,.08); }

.art-migration { display: grid; grid-template-columns: 1fr auto 1fr; place-items: center; gap: 5%; padding: 10%; background: #11100e; }
.migration-source, .migration-target { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(233,225,210,.28); }
.migration-source { border-radius: 50%; }
.migration-source span, .migration-target span { font: 11px ui-monospace, monospace; letter-spacing: .14em; }
.migration-source i { position: absolute; width: 11px; height: 11px; border: 1px solid var(--gold); border-radius: 50%; }
.migration-source i:nth-of-type(1) { top: 15%; right: 14%; }
.migration-source i:nth-of-type(2) { bottom: 11%; left: 27%; }
.migration-source i:nth-of-type(3) { top: 48%; left: -6px; }
.migration-target { border-color: var(--lime); box-shadow: inset 0 0 42px rgba(200,255,55,.05); }
.migration-target::before, .migration-target::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(200,255,55,.22); }
.migration-target::after { inset: 27%; }
.migration-arrow { color: var(--gold-bright); font: clamp(.8rem, 1.4vw, 1.1rem) ui-monospace, monospace; letter-spacing: .1em; white-space: nowrap; }

.art-onboarding { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 8%; padding: 8%; background: linear-gradient(135deg, #12100f, #171326); }
.checkpoint { position: relative; z-index: 2; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(233,225,210,.28); transform: rotate(45deg); }
.checkpoint::after { content: ""; position: absolute; left: 100%; top: 50%; width: calc(38% + 1px); height: 1px; background: linear-gradient(90deg, var(--gold), rgba(205,169,104,.15)); }
.checkpoint:last-of-type::after { display: none; }
.checkpoint b, .checkpoint span { transform: rotate(-45deg); }
.checkpoint b { color: var(--lime); font: 8px ui-monospace, monospace; }
.checkpoint span { color: rgba(233,225,210,.62); font: 6px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.c3 { border-color: var(--gold); box-shadow: 0 0 34px rgba(205,169,104,.12); }
.project-wide { grid-column: 1 / 3; border-right: 0; }
.project-wide .project-art { min-height: 430px; }
.project-wide .card-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; align-items: start; }
.project-wide .card-copy h3 { grid-column: 1; grid-row: 1 / 3; }
.project-wide .card-copy > p { grid-column: 2; margin-top: 0; }
.project-wide .card-foot { grid-column: 2; }

.github-proof { margin-top: 105px; padding-top: 55px; border-top: 1px solid var(--line-light); }
.github-proof-head { margin-bottom: 52px; display: grid; grid-template-columns: 1.18fr .82fr; gap: 28px 7vw; align-items: end; }
.github-proof-head > span { grid-column: 1 / 3; color: #70562d; font: 8px ui-monospace, monospace; letter-spacing: .15em; text-transform: uppercase; }
.github-proof-head h3 { margin: 0; font-size: clamp(2.8rem, 5vw, 6rem); font-weight: 550; line-height: .9; letter-spacing: -.06em; }
.github-proof-head h3 em { color: #5b3cb7; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.github-proof-head p { max-width: 520px; margin: 0 0 26px; color: var(--muted-light); font-size: .95rem; line-height: 1.55; }
.dark-link { color: var(--ink); border-color: var(--line-light); }
.dark-link span { color: #5b3cb7; }
.repo-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); perspective: 1100px; }
.repo-card { --tilt-x: 0deg; --tilt-y: 0deg; --card-x: 50%; --card-y: 50%; position: relative; min-height: 390px; padding: 24px; display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .18s ease, color .3s ease, background .3s ease; }
.repo-card::before { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(280px circle at var(--card-x) var(--card-y), rgba(142,101,255,.2), transparent 68%); transition: opacity .25s ease; }
.repo-card:hover { color: var(--ivory); background: #11100e; }
.repo-card:hover::before { opacity: 1; }
.repo-card > * { position: relative; z-index: 1; transform: translateZ(16px); }
.repo-card > div { display: flex; justify-content: space-between; color: #70562d; font: 7px ui-monospace, monospace; letter-spacing: .12em; }
.repo-card > div i { padding: 4px 6px; border: 1px solid rgba(17,16,14,.22); color: #3d6d14; font-style: normal; }
.repo-card:hover > div { color: var(--gold-bright); }
.repo-card:hover > div i { color: var(--lime); border-color: rgba(200,255,55,.32); }
.repo-card h4 { margin: 64px 0 20px; font-size: clamp(2rem, 3.1vw, 4rem); font-weight: 570; line-height: .88; letter-spacing: -.06em; }
.repo-card p { margin: 0 0 24px; color: var(--muted-light); font-size: .88rem; line-height: 1.54; }
.repo-card:hover p { color: rgba(233,225,210,.63); }
.repo-card ul { margin: auto 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; list-style: none; }
.repo-card li { padding: 6px 8px; border: 1px solid var(--line-light); color: var(--muted-light); font: 7px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.repo-card:hover li { color: rgba(233,225,210,.58); border-color: var(--line-dark); }
.repo-card > b { padding-top: 15px; border-top: 1px solid var(--line-light); color: #5b3cb7; font: 500 8px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.repo-card:hover > b { color: var(--lime); border-color: var(--line-dark); }
.proof-conversion { padding: 34px 0; display: grid; grid-template-columns: 118px minmax(280px, 660px) auto; align-items: center; justify-content: space-between; gap: clamp(24px, 3vw, 58px); border-bottom: 1px solid var(--line-light); }
.proof-conversion > img { width: 118px; height: 148px; object-fit: cover; border: 1px solid var(--line-light); filter: saturate(.82) contrast(1.03); }
.proof-conversion > div { max-width: 660px; }
.proof-conversion > div span { color: #70562d; font: 8px ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.proof-conversion p { margin: 10px 0 0; color: var(--muted-light); font-size: 1rem; line-height: 1.5; }
.button-proof { flex: 0 0 auto; color: var(--ivory); border-color: var(--ink); background: var(--ink); }
.button-proof:hover { color: var(--obsidian); border-color: var(--violet); background: var(--violet); }
.github-proof.is-visible .repo-card { animation: repoArrive .7s cubic-bezier(.16,1,.3,1) both; }
.github-proof.is-visible .repo-card:nth-child(2) { animation-delay: .06s; }
.github-proof.is-visible .repo-card:nth-child(3) { animation-delay: .12s; }
.github-proof.is-visible .repo-card:nth-child(4) { animation-delay: .18s; }
.github-proof.is-visible .repo-card:nth-child(5) { animation-delay: .24s; }
.github-proof.is-visible .repo-card:nth-child(6) { animation-delay: .30s; }
@keyframes repoArrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); } }

.lab-section {
  position: relative;
  z-index: 4;
  min-height: 105vh;
  padding: 145px 2.8vw;
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(620px, 1.28fr);
  align-items: center;
  gap: 7vw;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 48%, rgba(142,101,255,.14), transparent 28%),
    linear-gradient(135deg, #090908, #11100e);
}
.lab-section::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(233,225,210,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(233,225,210,.04) 1px, transparent 1px); background-size: 64px 64px; }
.lab-copy, .lab-console { position: relative; z-index: 2; }
.lab-copy h2 {
  margin: 28px 0 36px;
  font-size: clamp(3.6rem, 6.3vw, 7.6rem);
  font-weight: 570;
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.lab-copy > p { max-width: 510px; margin: 0; color: rgba(233,225,210,.63); font-size: 1.04rem; line-height: 1.58; }
.lab-principles { margin: 38px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.lab-principles span { padding: 14px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: rgba(233,225,210,.64); font: 8px ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.lab-principles b { margin-right: 8px; color: var(--lime); font-weight: 400; }
.text-link.inverse { color: var(--ivory); }
.lab-console { border: 1px solid rgba(233,225,210,.2); background: #0a0909; box-shadow: 0 36px 80px rgba(0,0,0,.3); }
.console-top { height: 48px; padding: 0 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line-dark); color: rgba(233,225,210,.47); font: 7px ui-monospace, monospace; letter-spacing: .14em; }
.console-top > div { display: flex; gap: 6px; }
.console-top > div i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(233,225,210,.28); }
.console-status { justify-self: end; display: flex; align-items: center; gap: 7px; color: var(--lime); }
.console-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.console-controls { padding: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-dark); }
.console-controls label { color: rgba(233,225,210,.48); font: 8px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.console-controls select {
  width: 100%;
  padding: 11px 34px 11px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  color: var(--ivory);
  background: #11100e;
  font: 9px ui-monospace, monospace;
  letter-spacing: .08em;
}
.console-controls button { padding: 12px 14px; border: 0; color: var(--obsidian); background: var(--lime); font: 8px ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.console-controls button:disabled { opacity: .65; cursor: wait; }
.console-controls button span { margin-left: 10px; }
.pipeline { padding: 38px 22px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.pipeline > i { width: 18px; height: 1px; background: rgba(233,225,210,.18); }
.pipeline-node { min-width: 0; aspect-ratio: 1; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(233,225,210,.16); background: #11100e; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.pipeline-node > span { color: rgba(233,225,210,.28); font: 7px ui-monospace, monospace; }
.pipeline-node b { overflow: hidden; color: rgba(233,225,210,.65); font: 7px ui-monospace, monospace; letter-spacing: .08em; }
.pipeline-node small { color: rgba(233,225,210,.3); font: 6px ui-monospace, monospace; text-transform: uppercase; }
.pipeline-node.is-complete { border-color: rgba(200,255,55,.62); background: rgba(200,255,55,.055); transform: translateY(-3px); }
.pipeline-node.is-complete small { color: var(--lime); }
.pipeline-node.is-warning { border-color: var(--gold); background: rgba(205,169,104,.08); transform: translateY(-3px); }
.pipeline-node.is-warning small { color: var(--gold-bright); }
.event-console { border-top: 1px solid var(--line-dark); }
.event-head { padding: 11px 16px; display: flex; justify-content: space-between; color: rgba(233,225,210,.34); font: 7px ui-monospace, monospace; letter-spacing: .11em; }
#event-log { min-height: 220px; max-height: 260px; margin: 0; padding: 4px 16px 18px; list-style: none; overflow: auto; border-top: 1px solid rgba(233,225,210,.07); }
#event-log li { padding: 10px 0; display: grid; grid-template-columns: 72px 1fr; gap: 12px; border-bottom: 1px solid rgba(233,225,210,.06); color: rgba(233,225,210,.65); font: 8px/1.45 ui-monospace, monospace; }
#event-log time { color: rgba(233,225,210,.28); }
#event-log li.complete span::before { content: "✓"; margin-right: 8px; color: var(--lime); }
#event-log li.warning span::before { content: "!"; margin-right: 8px; color: var(--gold-bright); }

.evidence-section { position: relative; z-index: 4; padding: 120px 2.8vw 140px; }
.evidence-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 60px; }
.evidence-head p { max-width: 390px; margin: 0; color: var(--muted-light); }
.evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.evidence-grid article { min-height: 390px; padding: 28px 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.evidence-grid strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.5rem, 7vw, 8rem); font-weight: 400; line-height: .9; letter-spacing: -.08em; color: #5b3cb7; }
.evidence-grid h3 { margin: 18px 0; font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: -.02em; }
.evidence-grid p { margin: 0; color: var(--muted-light); font-size: .92rem; line-height: 1.55; }
.evidence-grid article > span { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-light); color: #70562d; font: 7px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }

.about-section {
  position: relative;
  z-index: 4;
  padding: 145px 2.8vw 120px;
  background:
    radial-gradient(circle at 14% 70%, rgba(142,101,255,.12), transparent 24%),
    #0a0908;
}
.portrait-layout {
  padding-bottom: 105px;
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(480px, 1.12fr);
  gap: clamp(55px, 8vw, 150px);
  border-bottom: 1px solid var(--line-dark);
}
.portrait-stage { position: sticky; top: 124px; align-self: start; }
.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 225, 210, .22);
  background:
    radial-gradient(circle at 50% 40%, rgba(200, 255, 55, .13), transparent 17%),
    radial-gradient(circle at 48% 44%, rgba(142, 101, 255, .28), transparent 40%),
    linear-gradient(155deg, #141210, #090908 70%);
  isolation: isolate;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image: linear-gradient(rgba(233, 225, 210, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 225, 210, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black, transparent 75%);
}
.portrait-frame::after {
  content: "LIVE PROFILE / GITHUB";
  position: absolute;
  z-index: 3;
  left: 18px;
  top: 18px;
  color: rgba(233, 225, 210, .34);
  font: 7px ui-monospace, monospace;
  letter-spacing: .16em;
}
.portrait-frame > span { color: rgba(233, 225, 210, .92); font: 600 clamp(7rem, 14vw, 13rem)/1 "Helvetica Neue", sans-serif; letter-spacing: -.1em; }
.portrait-frame > small { position: absolute; z-index: 3; left: 20px; bottom: 20px; color: rgba(244, 238, 227, .72); font: 7px/1.5 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 12px #000; }
.portrait-frame img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.08); transform: scale(1.03); transition: transform .18s ease-out, filter .35s ease; }
.portrait-frame::before { z-index: 2; mix-blend-mode: screen; }
.portrait-frame:hover img { filter: saturate(.95) contrast(1.04); }
.portrait-orbit { position: absolute; z-index: 2; left: 50%; top: 50%; border: 1px solid rgba(231, 201, 142, .42); border-radius: 50%; pointer-events: none; mix-blend-mode: screen; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-portrait-a { width: 72%; aspect-ratio: 1; }
.orbit-portrait-b { width: 94%; aspect-ratio: 1; border-color: rgba(142, 101, 255, .25); transform: translate(-50%, -50%) rotate(24deg) scaleY(.62); }
.portrait-caption { padding: 15px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-dark); color: rgba(233, 225, 210, .44); font: 7px ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.portrait-caption span:first-child { color: var(--ivory); }
.portrait-socials { display: flex; justify-content: flex-end; gap: 20px; padding-top: 13px; color: rgba(233,225,210,.58); font: 7px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.portrait-socials a { padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color .25s ease, border-color .25s ease; }
.portrait-socials a:hover { color: var(--lime); border-color: var(--lime); }
.about-statement { padding-bottom: 0; border-bottom: 0; }
.about-statement h2 {
  margin: 30px 0 0;
  font-size: clamp(3.8rem, 7vw, 8.2rem);
  font-weight: 570;
  line-height: .82;
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.about-lead { margin: 55px 0 22px; color: var(--ivory) !important; font-size: clamp(1.2rem, 1.7vw, 1.55rem) !important; line-height: 1.45 !important; letter-spacing: -.025em; }
.about-statement > p:not(.about-lead) { max-width: 690px; margin: 0; color: rgba(233, 225, 210, .58); font-size: 1rem; line-height: 1.6; }
.solo-note { margin-top: 38px; padding: 20px 0; display: grid; grid-template-columns: 120px 1fr; gap: 20px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.solo-note > span { color: var(--lime); font: 8px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.solo-note p { margin: 0; color: rgba(233, 225, 210, .5); font-size: .9rem; line-height: 1.5; }
.about-statement .button { margin-top: 34px; }
.about-grid { padding-top: 90px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.about-intro { align-self: start; position: sticky; top: 135px; }
.about-intro > p { max-width: 520px; margin: 0 0 22px; color: rgba(233,225,210,.68); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.5; letter-spacing: -.025em; }
.about-intro .button { margin-top: 26px; }
.career-timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.about-section > .career-timeline { margin-top: 88px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line-dark); }
.about-section > .career-timeline li { min-height: 310px; padding: 26px 22px; display: flex; flex-direction: column; gap: 0; border-right: 1px solid var(--line-dark); }
.about-section > .career-timeline li > span { margin-bottom: auto; }
.about-section > .career-timeline h3 { margin: 55px 0 18px; }
.career-timeline li { padding: 28px 0 36px; display: grid; grid-template-columns: 90px 1fr; gap: 24px; border-bottom: 1px solid var(--line-dark); }
.career-timeline li > span { color: var(--lime); font: 8px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.career-timeline h3 { margin: 0 0 12px; font-size: clamp(1.7rem, 2.6vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.career-timeline p { max-width: 560px; margin: 0; color: rgba(233,225,210,.52); font-size: .95rem; line-height: 1.55; }
.tool-constellation { margin: 100px 0 0; padding: 28px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.tool-constellation li { padding: 10px 13px; border: 1px solid var(--line-dark); color: rgba(233,225,210,.61); font: 8px ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; transition: color .25s ease, border-color .25s ease, transform .25s ease; }
.tool-constellation li:hover { color: var(--obsidian); border-color: var(--gold-bright); background: var(--gold-bright); transform: translateY(-3px); }

.notes-section { position: relative; z-index: 4; padding: 140px 2.8vw; }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.notes-grid article { min-height: 500px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .3s ease; }
.notes-grid article:hover { background: var(--ivory-bright); }
.notes-grid article > span { color: #70562d; font: 8px ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.notes-grid h3 { margin: auto 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 3.5vw, 4.2rem); font-weight: 400; line-height: .96; letter-spacing: -.05em; }
.notes-grid p { min-height: 70px; margin: 0 0 28px; color: var(--muted-light); font-size: .94rem; line-height: 1.55; }
.notes-grid button { width: 100%; padding: 14px; border: 1px solid var(--line-light); color: var(--muted-light); background: transparent; font: 8px ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }

.contact-section {
  position: relative;
  z-index: 4;
  min-height: 100svh;
  padding: 135px 2.8vw 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(205,169,104,.17), transparent 26%),
    radial-gradient(circle at 88% 55%, rgba(142,101,255,.13), transparent 24%),
    var(--obsidian);
}
.contact-section::before {
  content: "";
  position: absolute;
  right: 8vw;
  top: 12%;
  width: 32vw;
  aspect-ratio: 1;
  border: 1px solid rgba(233,225,210,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(233,225,210,.018), 0 0 0 16vw rgba(233,225,210,.012);
}
.contact-meta { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.contact-meta > span:last-child { display: flex; align-items: center; gap: 10px; color: rgba(233,225,210,.5); font: 8px ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.contact-section h2 {
  position: relative;
  z-index: 2;
  margin: 10vh 0 40px;
  font-size: clamp(5rem, 12vw, 14rem);
  font-weight: 570;
  line-height: .72;
  letter-spacing: -.085em;
  text-transform: uppercase;
}
.contact-section h2 em { color: var(--lime); }
.contact-lead { position: relative; z-index: 2; max-width: 620px; margin: 0 0 60px; color: rgba(233,225,210,.62); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; }
.contact-options { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.contact-options > a { padding: 26px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.7rem, 3.2vw, 3.6rem); line-height: 1; letter-spacing: -.05em; transition: color .25s ease; }
.contact-options > a:first-child { padding-right: 28px; border-right: 1px solid var(--line-dark); }
.contact-options > a:last-child { padding-left: 28px; }
.contact-options small { display: block; margin-bottom: 10px; color: rgba(233,225,210,.38); font: 8px ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.contact-options b { color: var(--gold-bright); font-size: 2rem; font-weight: 400; transition: transform .3s ease; }
.contact-options a:hover { color: var(--lime); }
.contact-options a:hover b { transform: translate(6px, -6px); }
.contact-section > footer {
  position: absolute;
  left: 2.8vw;
  right: 2.8vw;
  bottom: 26px;
  z-index: 2;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  color: rgba(233,225,210,.48);
  font: 8px ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-section footer > div { display: flex; gap: 24px; }
.contact-section footer > div:first-child b { color: var(--ivory); font-weight: 500; }
.contact-section footer > div:nth-child(2) a:hover { color: var(--lime); }
.contact-section footer > div:last-child { justify-self: end; }

.case-dialog {
  width: min(1100px, calc(100vw - 40px));
  max-width: 1100px;
  height: min(90vh, 940px);
  max-height: 940px;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(233,225,210,.2);
  border-radius: 0;
  color: var(--ivory);
  background: #0d0c0b;
  box-shadow: 0 70px 150px rgba(0,0,0,.75);
}
.case-dialog::backdrop { background: rgba(5,5,4,.9); }
.dialog-close { position: fixed; z-index: 5; top: calc(5vh + 17px); right: max(30px, calc((100vw - min(1100px, 100vw - 40px)) / 2 + 18px)); padding: 9px 11px; border: 1px solid var(--line-dark); color: var(--ivory); background: #13110f; font: 8px ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.dialog-close span { margin-left: 8px; color: var(--lime); font-size: 14px; }
.dialog-scroll { height: 100%; overflow-y: auto; }
.dialog-scroll > header { min-height: 520px; padding: 46px 54px; display: flex; flex-direction: column; justify-content: end; border-bottom: 1px solid var(--line-dark); background: radial-gradient(circle at 78% 30%, rgba(142,101,255,.18), transparent 31%), radial-gradient(circle at 62% 58%, rgba(205,169,104,.1), transparent 28%); }
.dialog-scroll > header > div { margin-bottom: auto; display: flex; justify-content: space-between; align-items: center; color: rgba(233,225,210,.45); font: 8px ui-monospace, monospace; letter-spacing: .12em; }
.dialog-scroll h2 { margin: 0; font-size: clamp(4rem, 8vw, 8rem); font-weight: 580; line-height: .82; letter-spacing: -.08em; }
.dialog-scroll header > p { max-width: 730px; margin: 28px 0 0; color: rgba(233,225,210,.64); font-size: 1.2rem; line-height: 1.5; }
.dialog-body { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-body section { min-height: 320px; padding: 42px 52px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.dialog-body section:nth-child(even) { border-right: 0; }
.dialog-label { display: block; margin-bottom: 28px; color: var(--gold-bright); font: 8px ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.dialog-body p { margin: 0; color: rgba(233,225,210,.65); font-size: 1rem; line-height: 1.6; }
.architecture-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.architecture-chain span { padding: 9px 10px; border: 1px solid var(--line-dark); color: rgba(233,225,210,.68); font: 8px ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; }
.architecture-chain span b { margin-right: 7px; color: var(--lime); font-weight: 400; }
.architecture-chain > i { color: rgba(233,225,210,.2); font-style: normal; }
.dialog-body ol { margin: 0; padding: 0; list-style: none; counter-reset: decisions; }
.dialog-body li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line-dark); color: rgba(233,225,210,.63); font-size: .92rem; line-height: 1.45; counter-increment: decisions; }
.dialog-body li::before { content: "0" counter(decisions); position: absolute; left: 0; top: 15px; color: var(--lime); font: 7px ui-monospace, monospace; }
.dialog-footer { padding: 30px 52px; display: flex; justify-content: space-between; align-items: center; }
.dialog-footer > div { display: flex; gap: 7px; flex-wrap: wrap; }
.dialog-footer > div span { padding: 7px 9px; border: 1px solid var(--line-dark); color: rgba(233,225,210,.52); font: 7px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.dialog-footer > a { display: flex; gap: 18px; align-items: center; color: var(--lime); font: 9px ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.noscript { position: fixed; z-index: 100; left: 20px; right: 20px; bottom: 20px; padding: 15px; color: var(--obsidian); background: var(--gold-bright); font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Interaction is local to the section under the pointer. No page-wide animation loop. */
.interactive-zone { --pointer-x: 50%; --pointer-y: 50%; }
.section-glow { position: absolute; z-index: 0; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(380px circle at var(--pointer-x) var(--pointer-y), rgba(142,101,255,.13), transparent 72%); transition: opacity .35s ease; }
.light-section .section-glow { background: radial-gradient(360px circle at var(--pointer-x) var(--pointer-y), rgba(91,60,183,.1), transparent 72%); }
.interactive-zone.has-pointer > .section-glow { opacity: 1; }
.project-card > a { --tilt-x: 0deg; --tilt-y: 0deg; --card-x: 50%; --card-y: 50%; transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .18s ease; }
.project-card > a::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; background: radial-gradient(330px circle at var(--card-x) var(--card-y), rgba(142,101,255,.12), transparent 70%); transition: opacity .25s ease; }
.project-card > a:hover::before { opacity: 1; }
.project-card > a > * { position: relative; z-index: 1; }
.lab-console::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 1px; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, var(--lime), transparent); box-shadow: 0 0 18px rgba(200,255,55,.42); }
.lab-section.section-active .lab-console::after { opacity: .42; animation: consoleScan 6s ease-in-out infinite; }
.about-section.section-active .orbit-portrait-a { animation: portraitOrbitA 15s linear infinite; }
.about-section.section-active .orbit-portrait-b { animation: portraitOrbitB 19s linear infinite reverse; }
.contact-section.section-active::before { animation: contactBreath 9s ease-in-out infinite; }
@keyframes consoleScan { 0%, 100% { transform: translateY(48px); } 50% { transform: translateY(520px); } }
@keyframes portraitOrbitA { to { transform: translate(-50%, -50%) rotate(342deg); } }
@keyframes portraitOrbitB { to { transform: translate(-50%, -50%) rotate(384deg) scaleY(.62); } }
@keyframes contactBreath { 50% { transform: scale(1.07); opacity: .68; } }

@media (hover: hover) and (pointer: fine) {
  .interactive-zone :is(h2, h3, h4) { text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .13em; transition: text-decoration-color .3s ease; }
  .interactive-zone :is(h2, h3, h4):hover { text-decoration-color: currentColor; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .header-cta { margin-right: 70px; }
  .menu-toggle {
    position: absolute;
    right: 2.8vw;
    top: 27px;
    width: 44px;
    height: 38px;
    padding: 0;
    display: block;
    border: 1px solid var(--line-dark);
    color: transparent;
    background: rgba(8,8,7,.68);
    cursor: pointer;
  }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle i { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ivory); transition: transform .3s ease, top .3s ease; }
  .menu-toggle i:nth-of-type(1) { top: 14px; }
  .menu-toggle i:nth-of-type(2) { top: 22px; }
  .menu-open .menu-toggle i:nth-of-type(1) { top: 18px; transform: rotate(45deg); }
  .menu-open .menu-toggle i:nth-of-type(2) { top: 18px; transform: rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    z-index: 65;
    inset: 0;
    padding: 130px 5vw 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(8,8,7,.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a { padding: 20px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-dark); font-size: clamp(2.4rem, 8vw, 5rem); line-height: .9; letter-spacing: -.06em; }
  .mobile-menu a span { color: var(--lime); font: 8px ui-monospace, monospace; letter-spacing: .1em; }
  .hero-copy { width: 86vw; }
  .transformation-intro > p { margin-left: 45vw; }
  .lab-section { grid-template-columns: 1fr; align-items: start; }
  .lab-copy { max-width: 760px; }
  .lab-console { width: 100%; }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .repo-grid { grid-template-columns: repeat(2, 1fr); }
  .portrait-layout { grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 5vw; }
  .about-section > .career-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-loader { padding: 20px 18px; }
  .loader-infinity { width: min(64vw, 280px); }
  .loader-head, .loader-foot { font-size: 7px; }
  .loader-foot { display: grid; }
  .loader-foot > i { width: 100%; }
  .grain { opacity: .025; }
  .site-header { height: 76px; padding: 14px 18px; }
  .gravity-mark { width: 46px; height: 34px; }
  .brand-name { display: none; }
  .header-cta { display: none; }
  .menu-toggle { right: 18px; top: 19px; }
  .field-shell::before { background-size: 54px 54px; }
  .field-vignette { background: linear-gradient(90deg, rgba(8,8,7,.68), rgba(8,8,7,.08) 90%), linear-gradient(180deg, rgba(8,8,7,.22), rgba(8,8,7,.8) 68%, var(--obsidian)); }
  .field-media-cosmos img { object-position: 62% 44%; }
  .field-media-atom svg, .field-media-network svg, .field-media-chip svg { right: -21vw; top: 34%; width: 122vw; max-height: 58vh; }
  .field-media-brain img { right: -34vw; top: 34%; width: 142vw; }
  .field-caption { right: 18px; bottom: 14px; gap: 15px; font-size: 7px; }
  .field-caption span:last-child { display: none; }
  .scale-rail { display: none; }
  .field-fallback::before { right: -52vw; top: 17%; width: 145vw; }
  .hero { min-height: 100svh; padding: 105px 18px 28px; }
  .hero-rail span:last-child { display: none; }
  .hero-copy { width: 100%; margin-top: auto; }
  .hero-kicker { margin-bottom: 18px; font-size: 8px; }
  .hero h1 { font-size: clamp(3.65rem, 17vw, 6.5rem); line-height: .78; }
  .hero-serif { margin-left: 4vw; }
  .hero-accent { font-size: .79em; white-space: normal; }
  .gravity-line { margin-top: 22px; font-size: .95rem; }
  .hero-foot { margin-top: 6vh; grid-template-columns: 1fr; gap: 24px; }
  .hero-foot > p { max-width: 92%; font-size: .94rem; }
  .hero-actions { justify-content: space-between; gap: 18px; }
  .button { min-width: 0; padding: 14px 15px; }
  .button span { margin-left: 16px; }
  .text-link { font-size: 8px; }
  .hero-orbit-label { display: none; }
  .marquee-track { padding: 13px 0; gap: 25px; font-size: 9px; }
  .transformation { min-height: auto; background: linear-gradient(180deg, rgba(8,8,7,.9), rgba(8,8,7,.68) 80%, var(--obsidian)); }
  .transformation-intro { min-height: 90vh; padding: 15vh 18px 12vh; justify-content: flex-end; }
  .transformation-intro h2 { margin: 25px 0; font-size: clamp(3rem, 13vw, 5.8rem); }
  .transformation-intro > p { margin: 0; max-width: 92%; font-size: .95rem; }
  .chapter { min-height: 92vh; padding: 45vh 18px 12vh; display: block; }
  .chapter::before { left: 18px; right: 18px; }
  .chapter-number { position: absolute; left: 18px; top: 17px; font-size: 2.2rem; }
  .chapter-copy { position: relative; z-index: 2; padding: 24px 20px; background: rgba(8,8,7,.86); border: 1px solid var(--line-dark); }
  .chapter h3 { font-size: clamp(2.4rem, 10vw, 4.2rem); }
  .chapter p { font-size: .92rem; }
  .chapter ul { flex-wrap: wrap; }
  .gravity-manifesto { min-height: 82vh; padding: 14vh 18px 8vh; }
  .gravity-manifesto > p { margin: 30px 0 8vh; font-size: clamp(3.8rem, 16vw, 6.6rem); }
  .manifesto-foot { grid-template-columns: 1fr; }
  .manifesto-foot span, .manifesto-foot span:not(:first-child) { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .work-section, .notes-section { padding: 100px 18px 90px; }
  .section-top { grid-template-columns: 1fr; gap: 35px; margin-bottom: 60px; }
  .section-top h2 { font-size: clamp(2.8rem, 12vw, 5.4rem); }
  .work-toolbar { align-items: flex-start; gap: 14px; }
  .filter-set { gap: 4px; }
  .filter { padding: 8px; }
  .toolbar-hint { display: none; }
  .project-grid { display: block; border-left: 1px solid var(--line-light); }
  .project-card, .project-card:nth-child(even) { border-right: 1px solid var(--line-light); }
  .project-card > a { padding: 18px 15px 24px; }
  .card-head { gap: 9px; }
  .project-art { min-height: 85vw; margin-bottom: 26px; }
  .card-copy h3 { font-size: clamp(2.8rem, 13vw, 4.7rem); }
  .project-wide { grid-column: auto; }
  .project-wide .project-art { min-height: 76vw; }
  .project-wide .card-copy { display: block; }
  .project-wide .card-copy > p { margin-top: 24px; }
  .art-migration { gap: 3%; padding: 7%; }
  .art-onboarding { gap: 5%; padding: 5%; }
  .checkpoint { transform: rotate(0); }
  .checkpoint b, .checkpoint span { transform: rotate(0); }
  .checkpoint span { font-size: 5px; }
  .github-proof { margin-top: 75px; padding-top: 42px; }
  .github-proof-head { grid-template-columns: 1fr; gap: 24px; }
  .github-proof-head > span { grid-column: auto; }
  .github-proof-head h3 { font-size: clamp(2.8rem, 12vw, 5.2rem); }
  .repo-grid { grid-template-columns: 1fr; }
  .repo-card { min-height: 340px; padding: 20px; transform: none !important; }
  .repo-card h4 { margin-top: 52px; font-size: clamp(2.7rem, 13vw, 4.8rem); }
  .proof-conversion { grid-template-columns: 1fr; align-items: start; padding: 30px 0; }
  .proof-conversion > img { width: 100%; height: min(86vw, 430px); object-position: center 35%; }
  .button-proof { width: 100%; justify-content: space-between; }
  .lab-section { width: 100%; padding: 105px 18px; grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .lab-copy, .lab-console { min-width: 0; max-width: 100%; }
  .lab-copy h2 { font-size: clamp(3.5rem, 14vw, 6rem); }
  .console-top { grid-template-columns: 1fr 1fr; }
  .console-top > span:nth-child(2) { display: none; }
  .console-controls { grid-template-columns: 1fr; }
  .pipeline { padding: 25px 15px; display: flex; overflow-x: auto; }
  .pipeline-node { flex: 0 0 86px; }
  .pipeline > i { flex: 0 0 14px; }
  .event-head span:last-child { display: none; }
  .evidence-section { padding: 90px 18px; }
  .evidence-head { display: block; }
  .evidence-head p { margin-top: 20px; }
  .evidence-grid { grid-template-columns: 1fr 1fr; }
  .evidence-grid article { min-height: 310px; padding: 20px 16px; }
  .evidence-grid strong { font-size: clamp(3.6rem, 17vw, 6rem); }
  .evidence-grid h3 { font-size: .9rem; }
  .evidence-grid p { font-size: .8rem; }
  .about-section { padding: 105px 18px 90px; }
  .portrait-layout { padding-bottom: 65px; grid-template-columns: 1fr; gap: 58px; }
  .portrait-stage { position: static; }
  .portrait-frame { aspect-ratio: 4 / 4.8; }
  .portrait-socials { justify-content: flex-start; }
  .about-statement h2 { font-size: clamp(3.6rem, 15vw, 6.3rem); }
  .about-lead { margin-top: 38px; font-size: 1.08rem !important; }
  .solo-note { grid-template-columns: 1fr; gap: 10px; }
  .about-section > .career-timeline { margin-top: 58px; grid-template-columns: 1fr; }
  .about-section > .career-timeline li { min-height: 265px; }
  .about-grid { padding-top: 55px; grid-template-columns: 1fr; gap: 60px; }
  .about-intro { position: static; }
  .about-intro > p { font-size: 1.05rem; }
  .career-timeline li { grid-template-columns: 74px 1fr; gap: 14px; }
  .tool-constellation { margin-top: 65px; }
  .notes-grid { grid-template-columns: 1fr; }
  .notes-grid article { min-height: 410px; }
  .contact-section { min-height: 100svh; padding: 105px 18px 145px; }
  .contact-meta > span:last-child { display: none; }
  .contact-section h2 { margin: 10vh 0 35px; font-size: clamp(4.4rem, 20vw, 8rem); }
  .contact-lead { font-size: 1rem; }
  .contact-options { grid-template-columns: 1fr; }
  .contact-options > a:first-child { padding-right: 0; border-right: 0; }
  .contact-options > a:last-child { padding-left: 0; }
  .contact-options > a { padding: 21px 0; }
  .contact-section > footer { left: 18px; right: 18px; bottom: 20px; grid-template-columns: 1fr auto; gap: 16px; }
  .contact-section footer > div:first-child { grid-column: 1 / 3; }
  .contact-section footer > div:last-child span { display: none; }
  .case-dialog { width: calc(100vw - 20px); height: calc(100vh - 20px); max-height: none; }
  .dialog-close { top: 22px; right: 22px; }
  .dialog-scroll > header { min-height: 430px; padding: 70px 24px 34px; }
  .dialog-scroll h2 { font-size: clamp(3.4rem, 16vw, 6rem); }
  .dialog-scroll header > p { font-size: 1rem; }
  .dialog-body { display: block; }
  .dialog-body section { min-height: auto; padding: 34px 24px; border-right: 0; }
  .dialog-footer { padding: 28px 24px; display: block; }
  .dialog-footer > a { margin-top: 25px; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: clamp(3.15rem, 14.5vw, 4.8rem); }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-grid article { min-height: 270px; }
  .card-head > span:first-child { max-width: 42%; line-height: 1.35; }
  .maturity { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .grain { display: none; }
  .reveal { opacity: 1; transform: none; }
  #intelligence-field { display: none; }
  .field-fallback { opacity: .9; }
}
