:root {
  color-scheme: dark;
  --bg: #070908;
  --panel: #0d110f;
  --panel-2: #121713;
  --ink: #f0f2ec;
  --muted: #9da59c;
  --line: #2b322c;
  --green: #a9e600;
  --green-soft: #789f0f;
  --purple: #b65cff;
  --silver: #c4c8c1;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 72% 8%, rgba(91, 120, 10, .13), transparent 29rem), radial-gradient(circle at 85% 38%, rgba(127, 50, 172, .08), transparent 34rem), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, auto, 44px 44px, 44px 44px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--green); color: #101400; font-weight: 900; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(1500px, calc(100% - 4rem)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; text-transform: uppercase; line-height: 1; }
.brand img { width: 58px; height: 40px; object-fit: cover; object-position: center; border-radius: 4px; }
.brand span { font-family: var(--display); font-size: 1rem; letter-spacing: .05em; }
.brand b, .brand small { display: block; }
.brand small { color: var(--green); font: 700 .62rem var(--mono); letter-spacing: .12em; margin-top: .4rem; }
nav { display: flex; align-items: center; gap: 1.65rem; }
nav a { color: var(--silver); text-decoration: none; text-transform: uppercase; font: 700 .72rem var(--mono); letter-spacing: .09em; border-bottom: 1px solid transparent; }
nav a:hover { color: var(--green); border-color: currentColor; }
.menu-toggle { display: none; color: var(--ink); border: 1px solid var(--line); background: var(--panel); padding: .6rem .8rem; font: 700 .72rem var(--mono); text-transform: uppercase; }

main { width: min(1500px, calc(100% - 4rem)); margin: 0 auto; }
.hero { min-height: min(800px, calc(100svh - 78px)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding: clamp(4rem, 8vw, 8rem) 0; }
.hero > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; max-width: 690px; }
.eyebrow, .section-kicker { color: var(--green); text-transform: uppercase; font: 700 .72rem var(--mono); letter-spacing: .14em; }
.eyebrow { margin: 0 0 1.2rem; }
.status-badge, .validation-status { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #4c5d28; padding: .45rem .7rem; color: #dcebb6; background: rgba(169,230,0,.05); text-transform: uppercase; font: 700 .67rem var(--mono); letter-spacing: .1em; }
.status-badge span, .validation-status span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 14px rgba(169,230,0,.5); }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; }
h1 { margin: 1.5rem 0 0; font-size: clamp(5rem, 9vw, 10rem); line-height: .76; letter-spacing: -.045em; font-weight: 900; }
h1 em { color: var(--green); font-style: normal; }
.hero-line { margin: 2.1rem 0 1rem; font: 900 clamp(1.15rem, 2vw, 1.7rem) var(--display); text-transform: uppercase; letter-spacing: .04em; }
.hero-lede { margin: 0; max-width: 640px; color: #c7ccc5; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .85rem 1.1rem; border: 1px solid var(--line); text-decoration: none; text-transform: uppercase; font: 800 .72rem var(--mono); letter-spacing: .08em; }
.button.primary { background: var(--green); color: #101400; border-color: var(--green); }
.button.secondary { background: rgba(11,14,12,.78); }
.button:hover { transform: translateY(-2px); }
.hero-visual { position: relative; min-height: 610px; overflow: hidden; border: 1px solid #353d36; background: #090b09; clip-path: polygon(5% 0, 100% 0, 100% 95%, 95% 100%, 0 100%, 0 5%); }
.hero-visual::before { content: "APPROVED FIELD ASSET / CGDS-FO-01"; position: absolute; z-index: 2; left: 1rem; top: 1rem; color: #c9d0c5; background: rgba(5,7,5,.82); padding: .35rem .55rem; border-left: 2px solid var(--green); font: 700 .61rem var(--mono); letter-spacing: .08em; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,9,8,.98), rgba(7,9,8,.78) 72px, transparent 150px), linear-gradient(to right, rgba(7,9,8,.98), rgba(7,9,8,.8) 64px, transparent 140px); box-shadow: inset 0 0 90px rgba(0,0,0,.78); pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; object-position: 54% 0; filter: saturate(.9) contrast(1.05); transform: scale(1.9); transform-origin: 57% top; }
.lab-board { position: absolute; z-index: 3; right: 1.1rem; top: 1.1rem; width: min(315px, calc(100% - 2.2rem)); padding: 1rem 1.1rem; border: 1px solid #5c665e; background: rgba(7,10,8,.97); box-shadow: 0 14px 40px rgba(0,0,0,.45); transform: rotate(-1deg); }
.lab-board p { margin: 0 0 .7rem; color: var(--muted); text-transform: uppercase; font: 700 .58rem var(--mono); letter-spacing: .13em; }
.lab-board ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem .8rem; text-transform: uppercase; font: 800 .76rem var(--mono); }
.lab-board b { color: var(--green); }
.lab-board strong { display: block; margin-top: .8rem; color: var(--purple); font: 800 .77rem var(--mono); text-transform: uppercase; }

.section { padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); }
.section-kicker { margin: 0 0 1.4rem; }
h2 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 5.5rem); line-height: .93; letter-spacing: -.025em; }
h2 span { color: var(--green); }
.overview-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); }
.overview-copy { color: #c5cbc4; font-size: 1.08rem; }
.overview-copy p:first-child { color: var(--ink); font-size: 1.25rem; }
blockquote { margin: clamp(4rem, 8vw, 8rem) 0 0; padding: clamp(2.5rem, 6vw, 6rem); border: 1px solid #3e473f; border-left: 5px solid var(--green); background: linear-gradient(110deg, #111611, #0a0d0b); font: 900 clamp(2rem, 5vw, 5.6rem) var(--display); line-height: .98; text-transform: uppercase; color: var(--silver); }

.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-heading > p { color: var(--muted); max-width: 520px; justify-self: end; }
.strategy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.strategy { min-height: 410px; position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px solid var(--line); background: linear-gradient(145deg, #111512, #0b0e0c); overflow: hidden; }
.strategy::after { content: ""; position: absolute; inset: auto -35% -55% 30%; height: 260px; border: 1px solid rgba(169,230,0,.12); transform: rotate(-18deg); }
.strategy.balanced { border-top: 3px solid var(--silver); }
.strategy.floor { border-top: 3px solid var(--green-soft); }
.strategy.chaos { border-top: 3px solid var(--purple); background: linear-gradient(145deg, #151018, #0b0e0c); }
.strategy-index { color: #5e665f; font: 700 3.5rem var(--mono); }
.strategy-code { color: var(--green); font: 700 .68rem var(--mono); letter-spacing: .1em; }
.chaos .strategy-code { color: #ce8cff; }
.strategy h3 { margin: .7rem 0 1rem; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1; }
.strategy > p:not(.strategy-code) { color: #b7bdb6; }
.strategy-meter { height: 4px; margin: auto 0 1.2rem; background: #242a25; }
.strategy-meter span { display: block; height: 100%; width: 42%; background: var(--green-soft); }
.balanced .strategy-meter span { width: 68%; background: var(--silver); }
.chaos .strategy-meter span { width: 91%; background: linear-gradient(90deg, var(--green), var(--purple)); }
.strategy small { color: var(--muted); text-transform: uppercase; font: 600 .62rem var(--mono); letter-spacing: .08em; }
.strategy-note { margin: 1.5rem 0 0; text-align: right; color: var(--purple); font: 800 1rem var(--mono); text-transform: uppercase; }

.experiment { background: linear-gradient(180deg, transparent, rgba(169,230,0,.025), transparent); }
.section-heading.compact { align-items: center; }
.process { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0; margin: 4rem 0 0; border-top: 1px solid #505850; }
.process li { position: relative; padding: 2.2rem 1.2rem 1.5rem 0; }
.process li::before { content: ""; position: absolute; width: 9px; height: 9px; top: -5px; left: 0; background: var(--green); border-radius: 50%; }
.process li:not(:last-child)::after { content: "→"; position: absolute; right: .5rem; top: -1.05rem; color: #727972; background: var(--bg); padding: 0 .35rem; }
.process > li > span { color: #697069; font: 700 .66rem var(--mono); }
.process h3 { margin: .65rem 0 .4rem; font-size: 1.35rem; }
.process p { margin: 0; color: var(--muted); font-size: .88rem; }
.losses { margin: 4rem 0 0; color: var(--ink); font: 900 clamp(3rem, 8vw, 8.6rem) var(--display); line-height: .83; letter-spacing: -.04em; text-transform: uppercase; }

.instrumentation { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); }
.instrumentation-head > p:last-child { color: var(--muted); margin-top: 2rem; }
.instrument-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.instrument-grid article { background: #0d110f; padding: 1.6rem; min-height: 220px; }
.instrument-grid article > span { color: var(--green); font: 800 .72rem var(--mono); letter-spacing: .11em; }
.instrument-grid ul { margin: 1.3rem 0 0; padding-left: 1.1rem; color: #b3bab3; }
.instrument-grid li::marker { color: #596259; }

.validation { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.validation-copy > p:not(.section-kicker) { color: #bac1b9; max-width: 650px; }
.validation-status { margin-bottom: 2rem; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.principles div { background: var(--panel); min-height: 190px; padding: 1.6rem; }
.principles b { color: #616961; font: 800 2rem var(--mono); }
.principles span { display: block; margin-top: 1.4rem; text-transform: uppercase; font: 800 .86rem var(--mono); color: var(--green); }
.principles p { color: var(--muted); margin: .35rem 0 0; }

.receipts-intro { max-width: 850px; }
.current-state { display: inline-block; margin: 1.5rem 0 .4rem; color: var(--green); text-transform: uppercase; font: 800 .7rem var(--mono); letter-spacing: .1em; }
.receipts-intro > p:last-child { color: var(--muted); font-size: 1.05rem; }
.receipt-shell { margin-top: 3rem; border: 1px solid var(--line); background: #0b0e0c; }
.receipt-head { display: grid; grid-template-columns: .5fr .8fr 1.5fr .7fr .7fr .8fr 1fr; gap: .5rem; padding: .85rem 1rem; color: #868e86; background: #111512; border-bottom: 1px solid var(--line); text-transform: uppercase; font: 700 .58rem var(--mono); letter-spacing: .06em; }
.receipt-empty { min-height: 170px; display: grid; place-content: center; text-align: center; padding: 2rem; }
.receipt-empty b { text-transform: uppercase; font: 800 1rem var(--mono); }
.receipt-empty span { color: var(--muted); margin-top: .4rem; }
.publish-misses { margin: 1.5rem 0 0; color: var(--purple); font: 800 1rem var(--mono); text-transform: uppercase; }

.integrity { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); }
.integrity > div:last-child > p { color: #c0c7bf; font-size: 1.08rem; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.badges span { border: 1px solid #465046; color: #cbd2ca; padding: .5rem .7rem; text-transform: uppercase; font: 700 .62rem var(--mono); letter-spacing: .06em; }
.integrity small { color: var(--muted); font-family: var(--mono); }
.lab-notes { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); }
.notes-empty { border-left: 2px solid var(--green); padding: 1.2rem 0 1.2rem 2rem; align-self: center; }
.notes-empty span { color: var(--green); text-transform: uppercase; font: 700 .66rem var(--mono); letter-spacing: .1em; }
.notes-empty p { margin: .8rem 0 0; color: #c2c8c1; font-size: 1.15rem; }

footer { width: min(1500px, calc(100% - 4rem)); margin: 0 auto 2rem; padding: 3rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: end; }
.footer-brand img { width: 225px; max-height: 72px; object-fit: contain; object-position: left center; }
.footer-brand p { margin: 1rem 0 0; color: var(--green); font: 700 .72rem var(--mono); }
.footer-brand small { color: var(--muted); }
.footer-oracle { display: grid; gap: .25rem; text-transform: uppercase; font-family: var(--mono); }
.footer-oracle b { color: var(--ink); }
.footer-oracle span { color: var(--green); font-size: .75rem; }
.footer-oracle small { color: var(--muted); font-size: .61rem; }
.footer-links { text-align: right; color: var(--muted); font-size: .78rem; }
.footer-links a { display: inline-block; margin-left: 1rem; color: var(--silver); text-transform: uppercase; font: 700 .65rem var(--mono); }
.footer-links p { margin: 1.2rem 0 0; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-visual, .hero-visual > img { min-height: 540px; }
  .strategy-grid { grid-template-columns: 1fr; }
  .strategy { min-height: 310px; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; border-top: 0; }
  .process li { border-top: 1px solid #505850; }
  .instrumentation, .validation, .integrity { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-header, main, footer { width: min(100% - 2rem, 1500px); }
  .site-header { position: relative; min-height: 68px; }
  .brand span { display: none; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; z-index: 20; left: 0; right: 0; top: 68px; align-items: stretch; flex-direction: column; gap: 0; padding: .6rem; background: #0c100d; border: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: .9rem; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-visual { min-height: 470px; }
  .hero-visual > img { min-height: 470px; object-position: 54% 0; }
  .section-heading, .overview-grid, .instrumentation, .validation, .integrity, .lab-notes { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading > p { justify-self: start; }
  .receipt-head { display: none; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { text-align: left; }
  .footer-links a { margin: 0 1rem 0 0; }
}

@media (max-width: 560px) {
  html { scroll-behavior: auto; }
  .site-header, main, footer { width: min(100% - 1.25rem, 1500px); }
  h1 { font-size: clamp(3.8rem, 18.5vw, 5.4rem); }
  h2 { font-size: clamp(2.25rem, 14vw, 3.8rem); }
  .hero { gap: 2.5rem; padding: 3rem 0 4rem; }
  .hero-actions, .button { width: 100%; }
  .hero-visual { min-height: 390px; clip-path: none; }
  .hero-visual > img { min-height: 390px; object-position: 60% 0; transform: scale(1.65); transform-origin: 63% top; }
  .hero-visual::before { font-size: .52rem; }
  .lab-board { left: auto; right: .8rem; top: .8rem; width: min(270px, calc(100% - 1.6rem)); }
  .strategy { min-height: 340px; }
  .process { grid-template-columns: 1fr; }
  .process li:not(:last-child)::after { display: none; }
  .instrument-grid, .principles { grid-template-columns: 1fr; }
  .instrument-grid article, .principles div { min-height: auto; }
  blockquote { padding: 2rem 1.5rem; }
}

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