:root {
  --ink: #070908;
  --ink-soft: #111412;
  --paper: #f1f1ea;
  --muted: #a7aaa4;
  --line: rgba(241, 241, 234, 0.18);
  --acid: #a7ff62;
  --amber: #ff7a1a;
  --max: 1540px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .7rem 1rem; background: var(--acid); color: #000; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.2rem;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease;
}
.site-header.is-scrolled { height: 68px; background: rgba(7,9,8,.88); border-color: var(--line); backdrop-filter: blur(18px); }
.wordmark { display: flex; align-items: center; gap: .65rem; width: max-content; font-size: 1rem; font-weight: 800; letter-spacing: .2em; line-height: 1; }
.wordmark img { width: 24px; height: 34px; object-fit: contain; display: block; }
.desktop-nav { display: flex; gap: 2rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; }
.desktop-nav a, .header-index { transition: color .2s ease; }
.desktop-nav a:hover, .header-index:hover { color: var(--acid); }
.header-index { justify-self: end; display: flex; gap: .75rem; align-items: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; }

.hero { position: relative; min-height: 100svh; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -4; background-color: #060706; background-image: radial-gradient(circle at 78% 48%, rgba(167,255,98,.08), transparent 26%), radial-gradient(circle at 74% 72%, rgba(255,122,26,.06), transparent 20%); }
.hero-monolith { position: absolute; z-index: -3; top: 4%; right: 4%; width: min(42vw, 680px); height: 96%; object-fit: contain; object-position: center bottom; opacity: .92; filter: drop-shadow(0 0 80px rgba(255,255,255,.07)); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,5,4,.88) 0%, rgba(4,5,4,.32) 58%, rgba(4,5,4,.42) 100%), linear-gradient(0deg, rgba(4,5,4,.8), transparent 48%); }
.hero-content { min-height: 100svh; max-width: var(--max); margin: auto; padding: 8.4rem 5.4rem 3rem 2.2rem; display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow { display: flex; justify-content: space-between; width: min(720px, 58vw); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: #c7cac4; }
.hero h1 { margin: auto 0 1.5rem; font-size: clamp(4.6rem, 11vw, 11.5rem); line-height: .77; letter-spacing: -.075em; font-weight: 700; max-width: 1200px; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; max-width: 990px; }
.hero-bottom p { max-width: 520px; margin: 0; font-size: clamp(1rem, 1.6vw, 1.35rem); color: #d5d6d0; }
.round-link { width: 98px; height: 98px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; transition: background .25s ease, color .25s ease, transform .25s ease; }
.round-link:hover { background: var(--acid); color: #050605; transform: rotate(-8deg); }
.hero-rail { position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 5rem; writing-mode: vertical-rl; font-size: .62rem; letter-spacing: .2em; color: #aeb1ac; }

.section-kicker { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--acid); }
.statement { max-width: var(--max); margin: auto; padding: 10rem 2.2rem 12rem; display: grid; grid-template-columns: 1fr 2.7fr 1fr; gap: 2rem; }
.statement h2, .section-head h2, .system h2, .method h2, .origin h2 { margin: 0; font-size: clamp(3rem, 6.3vw, 7.6rem); line-height: .88; letter-spacing: -.055em; font-weight: 650; }
.statement h2 span, .system h2 span, .method h2 span, .origin h2 span { color: #666a65; }
.statement-copy { align-self: end; margin: 0; color: var(--muted); font-size: .95rem; }

.ventures { border-top: 1px solid var(--line); }
.section-head { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1fr 2.7fr 1fr; gap: 2rem; padding: 6rem 2.2rem 4rem; align-items: end; }
.section-head h2 { font-size: clamp(3.5rem, 7vw, 8rem); }
.section-head > p:last-child { color: var(--muted); margin: 0; }
.venture-list { border-top: 1px solid var(--line); }
.venture { position: relative; max-width: var(--max); min-height: 250px; margin: auto; padding: 2.6rem 2.2rem; display: grid; grid-template-columns: 1fr 2.7fr 1fr; gap: 2rem; border-bottom: 1px solid var(--line); overflow: hidden; transition: background .35s ease; }
.venture::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.75,.2,1); z-index: -1; }
.venture:hover { color: var(--ink); }
.venture:hover::before { transform: translateY(0); }
.venture:hover .venture-type, .venture:hover .venture-status { color: #4e514d; }
.venture-number, .venture-status { font-size: .72rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.venture-main h3 { margin: .8rem 0 1.2rem; font-size: clamp(2.3rem, 4vw, 5rem); line-height: .9; letter-spacing: -.045em; font-weight: 620; }
.venture-main p:last-child { max-width: 580px; margin: 0; color: var(--muted); font-size: 1rem; }
.venture:hover .venture-main p:last-child { color: #353835; }
.venture-type { margin: 0; color: var(--acid); font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; }
.venture-mark { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); font-size: clamp(5rem, 9vw, 11rem); line-height: 1; font-weight: 700; letter-spacing: -.09em; color: rgba(255,255,255,.035); }
.venture:hover .venture-mark { color: rgba(7,9,8,.06); }
.venture-logo { position: absolute; right: 9%; top: 50%; width: clamp(94px, 10vw, 170px); max-height: 76%; object-fit: contain; transform: translateY(-50%); opacity: .68; transition: opacity .3s ease, transform .35s ease; }
.venture:hover .venture-logo { opacity: 1; transform: translateY(-50%) scale(1.035); }
.venture-logo-tables { width: clamp(82px, 8vw, 132px); }
.venture-logo-hymvo { width: clamp(100px, 9vw, 150px); }
.venture-text-mark { font-size: clamp(.95rem, 1.7vw, 1.6rem); line-height: .92; letter-spacing: -.04em; color: rgba(255,255,255,.09); }
.venture:hover .venture-text-mark { color: rgba(7,9,8,.14); }
.venture-status { align-self: end; justify-self: end; }

.system { padding: 10rem 2.2rem; max-width: var(--max); margin: auto; }
.system-top { display: grid; grid-template-columns: 1fr 3.7fr; gap: 2rem; margin-bottom: 7rem; }
.system-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 6rem; align-items: center; }
.system-map { position: relative; min-height: 560px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(167,255,98,.04), transparent 48%); overflow: hidden; }
.map-seal { position: absolute; left: 50%; top: 46%; width: min(65%, 470px); transform: translate(-50%,-50%); opacity: .1; }
.map-core { position: absolute; left: 50%; top: 47%; transform: translate(-50%,-50%); width: 150px; height: 150px; border: 1px solid var(--acid); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 65px rgba(167,255,98,.1); }
.map-core span { font-weight: 700; letter-spacing: .16em; }
.map-core small, .map-node small { color: var(--muted); font-size: .58rem; letter-spacing: .16em; }
.map-node { position: absolute; display: flex; flex-direction: column; gap: .4rem; font-size: .72rem; letter-spacing: .14em; }
.map-node-a { left: 8%; top: 23%; }
.map-node-b { right: 8%; top: 20%; text-align: right; }
.map-node-c { left: 10%; bottom: 24%; }
.map-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(167,255,98,.6), transparent); transform-origin: left; }
.map-line-a { width: 37%; left: 18%; top: 32%; transform: rotate(18deg); }
.map-line-b { width: 35%; left: 56%; top: 38%; transform: rotate(-22deg); }
.map-line-c { width: 38%; left: 19%; top: 68%; transform: rotate(-15deg); }
.map-foundation { position: absolute; inset: auto 0 0; min-height: 58px; border-top: 1px solid var(--line); display: flex; align-items: center; padding: 0 1.5rem; font-size: .63rem; letter-spacing: .14em; color: var(--muted); }
.system-copy > p { font-size: 1.35rem; color: #d1d3ce; margin: 0 0 4rem; }
.system-copy ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.system-copy li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; color: var(--muted); }
.system-copy li span { color: var(--acid); font-size: .68rem; }

.method { background: var(--paper); color: var(--ink); padding: 9rem 2.2rem; }
.method-intro, .principles { max-width: calc(var(--max) - 4.4rem); margin: auto; }
.method .section-kicker { color: #2e6e14; margin-bottom: 3.5rem; }
.principles { margin-top: 8rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(7,9,8,.25); border-bottom: 1px solid rgba(7,9,8,.25); }
.principle { min-height: 290px; padding: 1.5rem; border-right: 1px solid rgba(7,9,8,.25); display: flex; flex-direction: column; justify-content: space-between; }
.principle:last-child { border-right: 0; }
.principle span { font-size: .7rem; color: #646762; }
.principle h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 3rem); line-height: .95; letter-spacing: -.04em; }
.kodx-wordmark-panel { max-width: calc(var(--max) - 4.4rem); margin: 8rem auto 0; overflow: hidden; }
.kodx-wordmark-panel img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; opacity: .92; }

.origin { min-height: 900px; max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 7rem 2.2rem; }
.origin-index { font-size: clamp(20rem, 39vw, 38rem); line-height: .7; font-weight: 700; letter-spacing: -.13em; color: rgba(167,255,98,.08); user-select: none; }
.origin-copy { max-width: 640px; }
.origin-copy .section-kicker { margin-bottom: 3rem; }
.origin-copy > p:not(.section-kicker):not(.signature) { max-width: 560px; color: var(--muted); font-size: 1.15rem; margin-top: 3rem; }
.signature { margin-top: 4rem; font-size: 1rem; }
.signature small { color: var(--muted); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }

footer { padding: 6rem 2.2rem 2.2rem; background: #040504; border-top: 1px solid var(--line); }
.footer-wordmark { font-size: clamp(8rem, 28vw, 28rem); line-height: .78; font-weight: 750; letter-spacing: -.08em; color: var(--paper); }
.footer-meta { margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; font-size: .65rem; line-height: 1.8; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-meta a { color: var(--paper); }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 68px; padding: 0 1.1rem; grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero-content { padding: 7rem 1.1rem 2rem; }
  .eyebrow { width: 100%; }
  .hero h1 { font-size: clamp(4.1rem, 20vw, 8.4rem); }
  .hero-monolith { top: auto; right: -30vw; bottom: -4%; width: 92vw; height: 86%; opacity: .62; }
  .hero-bottom { align-items: flex-end; gap: 1rem; }
  .hero-bottom p { max-width: 65%; font-size: .95rem; }
  .round-link { width: 74px; height: 74px; flex: 0 0 auto; }
  .hero-rail { display: none; }
  .statement, .section-head, .venture { grid-template-columns: 1fr; }
  .statement, .section-head { padding-left: 1.1rem; padding-right: 1.1rem; }
  .statement { padding-top: 7rem; padding-bottom: 8rem; }
  .statement-copy { max-width: 520px; }
  .section-head { padding-top: 4rem; }
  .venture { padding: 2rem 1.1rem; min-height: 280px; }
  .venture-main { padding-right: 0; }
  .venture-status { justify-self: start; }
  .venture-mark { right: 1rem; top: 2rem; transform: none; }
  .venture-logo { right: 1rem; top: 1.5rem; width: 92px; height: 92px; transform: none; opacity: .45; }
  .venture:hover .venture-logo { transform: scale(1.03); }
  .system { padding: 7rem 1.1rem; }
  .system-top, .system-grid { grid-template-columns: 1fr; }
  .system-grid { gap: 3rem; }
  .system-map { min-height: 480px; }
  .method { padding: 7rem 1.1rem; }
  .principles { grid-template-columns: 1fr; margin-top: 5rem; }
  .principle { min-height: 200px; border-right: 0; border-bottom: 1px solid rgba(7,9,8,.25); }
  .principle:last-child { border-bottom: 0; }
  .origin { grid-template-columns: 1fr; min-height: auto; padding: 7rem 1.1rem; }
  .origin-index { font-size: 20rem; position: absolute; opacity: .7; }
  .origin-copy { position: relative; z-index: 1; }
  footer { padding-left: 1.1rem; padding-right: 1.1rem; }
  .footer-meta { grid-template-columns: 1fr 1fr; }
  .footer-meta a { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .header-index span:first-child { display: none; }
  .eyebrow span:last-child { display: none; }
  .hero h1 { font-size: 18.5vw; }
  .hero-bottom p { max-width: 72%; }
  .statement h2, .system h2, .method h2, .origin h2 { font-size: 12.5vw; }
  .section-head h2 { font-size: 14vw; }
  .system-map { min-height: 430px; }
  .map-core { width: 110px; height: 110px; }
  .map-node { font-size: .58rem; }
  .footer-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
