:root {
  color-scheme: dark;
  --bg: #101715;
  --surface: #17211e;
  --surface-alt: #1e2a25;
  --text: #edf1eb;
  --muted: #b0bdb3;
  --subtle: #839487;
  --line: #34483d;
  --accent: #a8d9b6;
  --accent-strong: #d1f2d7;
  --button-text: #102219;
  --hero-wash: linear-gradient(90deg, #101715 0%, #101715f5 29%, #1017159c 56%, transparent 83%);
  --font: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #ebf0eb;
    --surface: #f7faf5;
    --surface-alt: #dde7dc;
    --text: #17241c;
    --muted: #40564a;
    --subtle: #526b59;
    --line: #b6c7b9;
    --accent: #2a6a45;
    --accent-strong: #205536;
    --button-text: #f4fbf2;
    --hero-wash: linear-gradient(90deg, #ebf0eb 0%, #ebf0ebf5 30%, #ebf0ebaa 55%, transparent 84%);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ebf0eb;
  --surface: #f7faf5;
  --surface-alt: #dde7dc;
  --text: #17241c;
  --muted: #40564a;
  --subtle: #526b59;
  --line: #b6c7b9;
  --accent: #2a6a45;
  --accent-strong: #205536;
  --button-text: #f4fbf2;
  --hero-wash: linear-gradient(90deg, #ebf0eb 0%, #ebf0ebf5 30%, #ebf0ebaa 55%, transparent 84%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--button-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 20px; padding: 12px; background: var(--accent); color: var(--button-text); }
.skip-link:focus { top: 15px; }

.site-header { position: relative; z-index: 3; min-height: 70px; display: flex; align-items: center; gap: 38px; padding: 0 max(4vw, 28px); border-bottom: 1px solid var(--line); }
.wordmark { font-size: 15px; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.wordmark span { color: var(--accent); padding: 0 2px; }
.site-nav { display: flex; gap: 34px; margin-left: auto; }
.site-nav a { font-size: 13px; color: var(--muted); transition: color .2s; }
.site-nav a:hover { color: var(--accent); }
.theme-toggle { border: 1px solid var(--line); background: transparent; color: var(--text); font: 11px var(--mono); letter-spacing: .05em; padding: 10px 12px; white-space: nowrap; }
.theme-toggle:hover { background: var(--surface-alt); }
.theme-toggle:active, .primary-link:active, .secondary-link:active, .layer-switcher button:active, .terminal-choices button:active { transform: translateY(1px); }

.hero { min-height: min(780px, calc(100dvh - 70px)); position: relative; overflow: hidden; display: flex; align-items: center; background: var(--bg); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-atmosphere { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 38% 7% at 72% 70%, #dcefe527, transparent 75%), radial-gradient(ellipse 42% 7% at 89% 77%, #b8d9cb1d, transparent 78%); opacity: .7; }
.hero-scrim { position: absolute; inset: 0; background: var(--hero-wash); }
.hero-scrim { z-index: 1; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1540px; min-height: inherit; margin: auto; padding: 5rem max(4vw, 28px) 4.5rem; display: flex; align-items: center; }
.hero-copy { max-width: 740px; }
.hero h1 { font-size: clamp(48px, 5.2vw, 84px); line-height: 1.04; letter-spacing: -.075em; font-weight: 650; margin: 0 0 28px; }
.hero h1 span { color: var(--accent); }
.hero-copy > p { max-width: 540px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.58; color: var(--muted); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 38px; }
.primary-link, .secondary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 47px; font-size: 13px; font-weight: 700; white-space: nowrap; padding: 0 18px; transition: background .2s, color .2s, transform .2s; }
.primary-link { background: var(--accent); color: var(--button-text); border: 1px solid var(--accent); }
.primary-link:hover { background: var(--accent-strong); }
.secondary-link { border: 1px solid var(--line); color: var(--text); background: var(--bg); }
.secondary-link:hover { border-color: var(--accent); }
.scene-console { position: absolute; z-index: 3; right: max(4vw, 28px); bottom: 25px; width: min(520px, 48vw); padding: 13px 15px 12px; border: 1px solid #a8d9b652; background: #091410d9; color: #e3f1e7; backdrop-filter: blur(13px); box-shadow: 0 10px 35px #0006; }
.scene-status { display: flex; align-items: center; gap: 10px; min-height: 20px; color: #d2e8d9; font: 11px/1.4 var(--mono); letter-spacing: .025em; }
.scene-beacon { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #b9f8c9; box-shadow: 0 0 12px #b9f8c9; }
.hero[data-scene="failover"] .scene-beacon { background: #ffb174; box-shadow: 0 0 12px #ffb174; }
.scene-controls { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.scene-controls button { min-height: 34px; border: 1px solid transparent; background: transparent; color: #adbdaf; padding: 6px 8px; font: 10px var(--mono); letter-spacing: .02em; white-space: nowrap; }
.scene-controls button:hover { color: #fff; border-color: #8aa9987a; }
.scene-controls button[aria-pressed="true"] { color: #d9f8dd; border-color: #a8d9b6a3; background: #b4e9be20; }
.scene-controls #scene-motion { margin-left: auto; color: #e4f0e6; border-color: #607a68; }
.scene-controls #scene-motion:hover { border-color: #c5f0cb; }

.identity-band { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1540px; margin: auto; padding: 26px max(4vw, 28px); border-bottom: 1px solid var(--line); }
.identity-band > div { display: flex; flex-direction: column; gap: 5px; padding: 0 22px; border-left: 1px solid var(--line); }
.identity-band > div:first-child { padding-left: 0; border-left: 0; }
.identity-band strong { font-size: 16px; font-weight: 700; }
.identity-band span { color: var(--subtle); font-size: 12px; }
.section-shell { max-width: 1540px; padding-left: max(4vw, 28px); padding-right: max(4vw, 28px); margin-left: auto; margin-right: auto; }

.layers-section { padding-top: 122px; padding-bottom: 118px; }
.eyebrow { color: var(--accent); font: 11px var(--mono); letter-spacing: .09em; }
.layers-heading h2, .work-opening h2, .method-section h2, .terminal-intro h2, .explore-section h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.08; letter-spacing: -.065em; font-weight: 650; margin: 20px 0 15px; }
.layers-heading > p, .work-opening > p, .terminal-intro > p { max-width: 610px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.layers-layout { margin-top: 58px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(45px, 7vw, 120px); align-items: center; }
.xray-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #26332c; cursor: crosshair; }
.xray-photo > img, .xray-reveal > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xray-photo > img { filter: grayscale(1) brightness(.68); }
.xray-reveal { position: absolute; inset: 0; clip-path: circle(0 at var(--lens-x, 50%) var(--lens-y, 50%)); pointer-events: none; }
.xray-reveal img { filter: contrast(1.18) brightness(1.18) saturate(1.2); }
.xray-photo.lens-active .xray-reveal { clip-path: circle(120px at var(--lens-x, 50%) var(--lens-y, 50%)); }
.xray-photo.lens-open .xray-reveal { clip-path: circle(150% at 50% 50%); }
.xray-ring { position: absolute; top: var(--lens-y, 50%); left: var(--lens-x, 50%); width: 240px; height: 240px; border: 1px solid #e0f7e3; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; box-shadow: 0 0 0 1px #1017157a; }
.xray-photo.lens-active:not(.lens-open) .xray-ring { opacity: 1; }
.xray-photo-hint { position: absolute; left: 18px; bottom: 15px; margin: 0; color: #e5f3e5; font: 10px var(--mono); letter-spacing: .06em; text-shadow: 0 1px 4px #000; }
.layer-switcher { display: flex; flex-wrap: wrap; gap: 0 26px; border-bottom: 1px solid var(--line); }
.layer-switcher button { padding: 14px 0; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 650; }
.layer-switcher button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); }
.layer-switcher button:hover { color: var(--accent); }
.layer-content { min-height: 340px; padding: 38px 0 15px; }
.layer-content > span { color: var(--accent); font: 11px var(--mono); letter-spacing: .08em; }
.layer-content h3 { font-size: clamp(35px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -.06em; font-weight: 650; max-width: 600px; margin: 22px 0; }
.layer-content p { max-width: 580px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.layer-tech { margin-top: 28px; color: var(--text); font: 12px/1.7 var(--mono); }
.layer-tech span { color: var(--accent); padding: 0 9px; }
.lens-toggle { border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--accent); padding: 0 0 8px; font: 12px var(--mono); }
.lens-toggle:hover { color: var(--accent-strong); }

.lab-section { padding-top: 45px; padding-bottom: 145px; }
.lab-heading { margin-bottom: 48px; }
.lab-heading h2, .playbook-intro h2 { max-width: 1100px; margin: 16px 0 0; font-size: clamp(52px, 7vw, 100px); font-weight: 650; letter-spacing: -.075em; line-height: .99; }
.lab-heading > p { max-width: 600px; margin: 27px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.lab-shell { border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.lab-topline { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); color: var(--subtle); font: 10px var(--mono); letter-spacing: .08em; }
.lab-live { color: var(--accent); display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.lab-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.lab-shell:not([data-fault="healthy"]) .lab-live { color: #e7b180; }
.lab-stage { position: relative; min-height: 354px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 22px; padding: 40px 28px 96px; background-image: linear-gradient(#a8d9b60c 1px, transparent 1px), linear-gradient(90deg, #a8d9b60c 1px, transparent 1px); background-size: 34px 34px; }
.lab-route { position: absolute; height: 1px; top: calc(50% - 29px); left: 8%; right: 8%; background: #a8d9b65e; box-shadow: 0 0 12px #a8d9b673; }
.lab-route span { position: absolute; top: -2px; left: 0; width: 45px; height: 5px; background: linear-gradient(90deg, transparent, #d8ffe0, transparent); box-shadow: 0 0 14px #a8d9b6; }
.lab-node { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 168px; padding: 18px; border: 1px solid #70917a; background: #15211c; color: #edf1eb; box-shadow: 0 15px 30px #080d0b40; }
.lab-node-index, .lab-node-status, .lab-standby > span:nth-child(2) { color: #a8d9b6; font: 10px var(--mono); letter-spacing: .06em; }
.lab-node strong { display: block; margin: 20px 0 5px; font-size: clamp(19px, 2vw, 27px); line-height: 1.1; letter-spacing: -.05em; }
.lab-node small { color: #bccac0; font-size: 12px; }
.lab-node-status { margin-top: auto; padding-top: 19px; }
.lab-shell[data-fault="edge"] [data-node="edge"], .lab-shell[data-fault="cluster"] [data-node="cluster"], .lab-shell[data-fault="data"] [data-node="data"] { border-color: #d5a078; box-shadow: 0 0 0 1px #d5a07859, 0 0 38px #be79402e; }
.lab-shell:not([data-fault="healthy"]) .lab-route { background: linear-gradient(90deg, #a8d9b660 35%, #d5a078a0 50%, #a8d9b660 68%); }
.lab-standby { position: absolute; display: flex; align-items: center; gap: 16px; left: 28px; right: 28px; bottom: 30px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--text); }
.lab-standby-path { position: relative; width: 40px; height: 14px; border-left: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: translateY(-7px); }
.lab-standby > span:nth-child(2) { color: var(--accent); }
.lab-standby strong { margin-left: auto; font: 11px var(--mono); font-weight: 400; text-align: right; }
.lab-console { display: grid; grid-template-columns: 240px 1fr; border-top: 1px solid var(--line); }
.lab-scenarios { display: flex; flex-direction: column; padding: 16px; border-right: 1px solid var(--line); }
.lab-scenarios button { text-align: left; border: 0; background: transparent; color: var(--muted); padding: 13px 13px; font: 12px var(--mono); transition: color .2s, background .2s; }
.lab-scenarios button:hover { color: var(--text); background: var(--surface-alt); }
.lab-scenarios button[aria-pressed="true"] { color: var(--button-text); background: var(--accent); }
.lab-scenarios button:active { transform: translateY(1px); }
.lab-readout { min-height: 260px; padding: 29px 34px 24px; }
.lab-readout > span { color: var(--accent); font: 10px var(--mono); letter-spacing: .08em; }
.lab-readout h3 { max-width: 760px; margin: 13px 0; font-size: clamp(29px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.055em; font-weight: 650; }
.lab-readout p { max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.lab-readout > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--subtle); font: 10px/1.5 var(--mono); letter-spacing: .06em; }
.lab-readout b { color: var(--accent); font-weight: 500; letter-spacing: 0; }
.lab-caption { color: var(--subtle); font: 11px/1.5 var(--mono); margin: 14px 0 0; }

.delivery-section { position: relative; overflow: hidden; background: #081116; color: #eef6f4; }
.delivery-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 21%, #57bccc20, transparent 35%), radial-gradient(circle at 9% 83%, #ae91ef16, transparent 33%), radial-gradient(#a7d9e922 1px, transparent 1px), radial-gradient(#a7d9e91c 1px, transparent 1px); background-size: auto, auto, 113px 113px, 177px 177px; background-position: 0 0, 0 0, 17px 38px, 78px 14px; }
.delivery-inner { position: relative; padding-top: 125px; padding-bottom: 115px; }
.delivery-intro { max-width: 920px; }
.delivery-intro .eyebrow { color: #86dfdc; }
.delivery-intro h2 { font-size: clamp(50px, 7vw, 100px); letter-spacing: -.075em; line-height: 1; font-weight: 650; margin: 22px 0 24px; }
.delivery-intro h2 em { color: #9ad9cf; font-style: normal; }
.delivery-intro p { max-width: 630px; color: #acbfc1; font-size: 16px; line-height: 1.65; }
.delivery-console { display: grid; grid-template-columns: minmax(190px, .27fr) 1fr; margin-top: 65px; border: 1px solid #457078; background: #0c1a20e8; box-shadow: 0 35px 95px #0008; }
.delivery-rail { display: flex; flex-direction: column; border-right: 1px solid #315058; padding: 18px; }
.delivery-rail button { display: flex; align-items: center; gap: 19px; min-height: 56px; border: 0; border-left: 2px solid transparent; background: transparent; color: #a8bdc2; text-align: left; padding: 0 16px; font: 14px var(--font); }
.delivery-rail button span { color: #79a3a8; font: 11px var(--mono); }
.delivery-rail button:hover { background: #15313a; color: #fff; }
.delivery-rail button[aria-pressed="true"] { border-left-color: #86dfdc; background: #13323b; color: #eafbf9; }
.delivery-rail button[aria-pressed="true"] span { color: #86dfdc; }
.delivery-screen { min-width: 0; min-height: 490px; display: grid; grid-template-columns: minmax(250px, .85fr) minmax(270px, 1fr); grid-template-rows: auto 1fr; background: radial-gradient(circle at 34% 50%, #1339438c, transparent 43%); }
.delivery-screen-top { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding: 22px 29px; color: #86dfdc; font: 10px var(--mono); letter-spacing: .07em; border-bottom: 1px solid #315058; }
.delivery-screen-top span:last-child { color: #819ba0; }
.delivery-orbit { position: relative; min-height: 360px; display: grid; place-items: center; overflow: hidden; }
.orbit-ring { position: absolute; aspect-ratio: 1; border: 1px solid #74d4cf49; border-radius: 50%; }
.orbit-ring-one { width: 200px; box-shadow: 0 0 40px #4aafaf12, inset 0 0 40px #4aafaf12; }
.orbit-ring-two { width: 305px; border-color: #74d4cf24; }
.orbit-ring-one::before, .orbit-ring-two::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #86dfdc; box-shadow: 0 0 19px #86dfdc; }
.orbit-ring-one::before { top: 25px; left: 25px; }
.orbit-ring-two::after { bottom: 47px; right: 44px; background: #baabf0; box-shadow: 0 0 19px #baabf0; }
.orbit-core { position: relative; z-index: 1; display: grid; place-items: center; width: 122px; height: 122px; border: 1px solid #80d5d3; background: radial-gradient(circle, #23515a, #102d35 70%); box-shadow: 0 0 0 10px #8ad7d50c, 0 0 55px #5bb5b14b; color: #c6fcf1; font: 34px var(--mono); }
.delivery-screen[data-stage="recover"] .orbit-core, .delivery-screen[data-stage="release"] .orbit-core { border-color: #baabf0; box-shadow: 0 0 0 10px #baabf00c, 0 0 55px #baabf04b; color: #e3dcff; }
.delivery-screen-copy { align-self: center; max-width: 540px; padding: 25px 48px 40px 5px; }
.delivery-screen-copy h3 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.06em; line-height: 1.08; margin: 0 0 18px; font-weight: 650; }
.delivery-screen-copy p { color: #b5c6c8; line-height: 1.7; font-size: 15px; margin: 0; }
.delivery-technology { margin-top: 31px; padding-top: 18px; border-top: 1px solid #315058; color: #93d8d2; font: 12px/1.6 var(--mono); }
.delivery-note { margin: 18px 0 0; color: #8da5a8; font: 11px/1.5 var(--mono); }

.stack-section { padding-top: 125px; padding-bottom: 125px; }
.stack-intro h2 { margin: 0 0 18px; font-size: clamp(48px, 6vw, 84px); letter-spacing: -.07em; line-height: 1.04; font-weight: 650; }
.stack-intro p { max-width: 550px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.stack-list { margin-top: 62px; border-top: 1px solid var(--line); }
.stack-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(220px, .7fr); align-items: center; gap: 25px; min-height: 145px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.stack-glyph { color: var(--accent); font-size: 38px; font-family: var(--mono); text-align: center; }
.stack-row h3 { font-size: clamp(25px, 2.8vw, 39px); letter-spacing: -.055em; font-weight: 650; margin: 0 0 8px; }
.stack-row p { max-width: 590px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.stack-row small { justify-self: end; max-width: 280px; color: var(--accent); font: 11px/1.8 var(--mono); }
.credentials { display: flex; flex-wrap: wrap; gap: 16px 34px; align-items: center; margin-top: 38px; padding: 23px 0; color: var(--muted); }
.credentials span { color: var(--accent); font: 10px var(--mono); letter-spacing: .08em; margin-right: auto; }
.credentials strong { font-size: 12px; font-weight: 600; }

.playbook-section { padding-top: 125px; padding-bottom: 90px; }
.playbook-intro { max-width: 930px; }
.playbook-intro p { margin: 28px 0 75px; color: var(--muted); font-size: 17px; }
.playbook-list { border-top: 1px solid var(--line); }
.playbook-row { display: grid; grid-template-columns: 52px minmax(250px, 1fr) minmax(300px, .8fr); gap: 32px; padding: 35px 8px 38px 0; border-bottom: 1px solid var(--line); align-items: start; }
.playbook-number { color: var(--accent); font: 12px var(--mono); padding-top: 11px; }
.playbook-row h3 { margin: 0; max-width: 550px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.06em; font-weight: 650; }
.playbook-row p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 460px; }
.playbook-row small { color: var(--accent); font: 11px/1.5 var(--mono); }

.work-section { padding-top: 40px; padding-bottom: 120px; }
.work-opening h2 { margin-top: 0; }
.career-list { margin-top: 54px; border-top: 1px solid var(--line); }
.career-row { display: grid; grid-template-columns: minmax(200px, .9fr) minmax(350px, 1.3fr) 20px; align-items: start; gap: 40px; padding: 32px 8px 35px 0; border-bottom: 1px solid var(--line); }
.career-place h3 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 650; letter-spacing: -.04em; margin: 0 0 10px; }
.career-place span { color: var(--subtle); font: 11px var(--mono); }
.career-copy strong { font-size: 16px; font-weight: 700; }
.career-copy p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 10px 0 0; max-width: 570px; }
.career-mark { color: var(--accent); font-size: 20px; }

.dream-section { position: relative; min-height: 580px; display: flex; align-items: end; overflow: hidden; background: #101715; color: #f2f5ef; }
.dream-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dream-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #080d0ca8, #080d0c1a 65%); }
.dream-copy { position: relative; z-index: 1; padding: 0 max(4vw, 28px) 58px; max-width: 1540px; width: 100%; margin: auto; }
.dream-copy h2 { font-size: clamp(40px, 5.5vw, 78px); line-height: 1.05; letter-spacing: -.07em; font-weight: 650; margin: 0 0 20px; text-shadow: 0 2px 10px #0008; }
.dream-copy p { font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0; color: #e6ebe4; text-shadow: 0 2px 7px #000; }

.method-section { padding-top: 120px; padding-bottom: 125px; }
.method-section h2 { margin: 0 0 54px; }
.method-layout { display: grid; grid-template-columns: 1.1fr .8fr; gap: 10%; align-items: start; }
.method-statement { font-size: clamp(25px, 3.5vw, 52px); line-height: 1.35; letter-spacing: -.045em; color: var(--accent); font-weight: 600; margin: 0; }
.method-details { border-left: 1px solid var(--line); padding-left: 32px; }
.method-details p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.method-keywords { padding-top: 18px; border-top: 1px solid var(--line); color: var(--subtle); font: 11px/1.8 var(--mono); }

.terminal-section { padding-top: 95px; padding-bottom: 120px; background: var(--surface); }
.terminal-intro h2 { margin-top: 0; }
.terminal-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .55fr); gap: clamp(30px, 5vw, 80px); align-items: start; margin-top: 45px; }
.terminal-window { border: 1px solid var(--line); background: var(--bg); min-height: 420px; display: flex; flex-direction: column; }
.terminal-window-head { display: flex; justify-content: space-between; padding: 15px 19px; border-bottom: 1px solid var(--line); color: var(--subtle); font: 11px var(--mono); }
.terminal-output { flex: 1; max-height: 320px; min-height: 235px; overflow-y: auto; padding: 26px 22px; font: 13px/1.6 var(--mono); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-output p { margin: 0 0 15px; }
.terminal-output b { color: var(--accent); font-weight: 600; }
.terminal-output .prompt { color: var(--text); }
.terminal-output .response { border-left: 2px solid var(--accent); padding-left: 15px; }
.terminal-output .error { color: #e9a59a; }
.terminal-window form { display: flex; align-items: center; gap: 12px; margin: 0 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.terminal-window label { color: var(--accent); font: 12px var(--mono); white-space: nowrap; }
.terminal-window input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 13px var(--mono); caret-color: var(--accent); }
.terminal-window form button { border: 1px solid var(--line); color: var(--text); background: var(--surface-alt); width: 34px; height: 30px; }
.terminal-window form button:hover { border-color: var(--accent); }
.terminal-help { color: var(--subtle); font: 10px var(--mono); margin: 0; padding: 0 20px 15px; }
.terminal-choices > span { display: block; margin-bottom: 18px; color: var(--accent); font: 11px var(--mono); }
.terminal-choices > div { display: flex; flex-wrap: wrap; gap: 9px; }
.terminal-choices button { border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 12px 15px; font: 12px var(--mono); }
.terminal-choices button:hover { background: var(--surface-alt); border-color: var(--accent); }
.terminal-choices p { color: var(--subtle); font-size: 13px; line-height: 1.6; margin-top: 26px; }

.explore-section { padding-top: 115px; padding-bottom: 135px; }
.explore-section h2 { margin: 0 0 40px; }
.explore-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.explore-grid a { display: flex; flex-direction: column; align-items: start; min-height: 260px; position: relative; padding: 25px; border: 1px solid var(--line); background: var(--surface); transition: background .2s, transform .2s; }
.explore-grid a:first-child { grid-row: span 2; min-height: 534px; background: #13221b; color: #f2f7f0; overflow: hidden; }
.explore-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #08110de8 0%, #08110d40 60%, #08110d78 100%); pointer-events: none; }
.explore-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.75); transition: transform .7s cubic-bezier(.16,1,.3,1); }
.explore-feature:hover img { transform: scale(1.045); }
.explore-feature > span, .explore-feature > strong, .explore-feature > small, .explore-feature > b { z-index: 1; }
.explore-feature strong { max-width: 560px; font-size: clamp(38px, 5vw, 70px) !important; }
.explore-feature small { color: #d8e6d9 !important; }
.explore-grid a:hover { background: var(--surface-alt); transform: translateY(-3px); }
.explore-grid a span { color: var(--accent); font: 11px var(--mono); }
.explore-grid a strong { font-size: clamp(24px, 2.3vw, 35px); line-height: 1.12; letter-spacing: -.045em; margin: auto 0 13px; }
.explore-grid a small { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 250px; }
.explore-grid a b { position: absolute; right: 22px; top: 20px; color: var(--accent); font-size: 22px; font-weight: 400; }
.archive-section { padding-top: 30px; padding-bottom: 130px; }
.archive-heading { max-width: 790px; }
.archive-heading h2 { font-size: clamp(46px, 6vw, 82px); line-height: 1.05; letter-spacing: -.07em; font-weight: 650; margin: 18px 0; }
.archive-heading p { max-width: 550px; color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 27px; }
.archive-frame-shell { margin-top: 46px; border: 1px solid var(--line); background: #050508; }
.archive-frame-head { display: flex; justify-content: space-between; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #263e42; color: #91c9cd; font: 10px var(--mono); letter-spacing: .07em; }
.archive-frame-shell iframe { display: block; width: 100%; height: min(650px, 74vh); border: 0; background: #050508; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: start; padding: 40px max(4vw, 28px) 50px; border-top: 1px solid var(--line); max-width: 1540px; margin: auto; }
.site-footer strong { display: block; font-size: 14px; letter-spacing: -.03em; }
.site-footer span { display: block; margin-top: 6px; color: var(--subtle); font-size: 12px; }
.site-footer p { max-width: 360px; color: var(--subtle); font-size: 12px; line-height: 1.6; margin: 0; }
.site-footer a { color: var(--accent); font: 12px var(--mono); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .8s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-image { animation: image-enter 1.4s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-atmosphere { animation: atmosphere-drift 12s ease-in-out infinite alternate; }
  .hero.scene-paused .hero-atmosphere { animation-play-state: paused; }
  .hero:not(.scene-paused) .scene-beacon { animation: beacon-pulse 2s ease-in-out infinite; }
  .lab-shell:not(.lab-in-view) .lab-route span { animation-play-state: paused; }
  .lab-route span { animation: route-pulse 3.5s ease-in-out infinite; }
  .reveal-on-view { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.16, 1, .3, 1); }
  .delivery-console.is-visible .orbit-ring-one { animation: orbit-turn 22s linear infinite; }
  .delivery-console.is-visible .orbit-ring-two { animation: orbit-turn 34s linear infinite reverse; }
  .reveal-on-view.is-visible { opacity: 1; transform: translateY(0); }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes image-enter { from { opacity: .4; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
  @keyframes atmosphere-drift { from { transform: translateX(-2.5%); opacity: .45; } to { transform: translateX(2.5%); opacity: .85; } }
  @keyframes beacon-pulse { 50% { opacity: .45; box-shadow: 0 0 4px currentColor; } }
  @keyframes route-pulse { from { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { left: calc(100% - 45px); opacity: 0; } }
  @keyframes orbit-turn { to { transform: rotate(360deg); } }
}

@media (max-width: 1023px) {
  .hero h1 { font-size: clamp(46px, 6vw, 70px); }
  .hero-scrim { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 36%, color-mix(in srgb, var(--bg) 25%, transparent) 88%); }
  .layers-layout { gap: 40px; }
  .career-row { grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr) 20px; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .explore-grid a:first-child { grid-row: span 2; }
  .lab-stage { gap: 10px; padding-left: 18px; padding-right: 18px; }
  .lab-node { padding: 13px; min-height: 160px; }
  .lab-node strong { font-size: 19px; }
  .delivery-console { grid-template-columns: 1fr; }
  .delivery-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #315058; padding: 9px; }
  .delivery-rail button { flex: 0 0 auto; min-height: 44px; gap: 8px; padding: 0 12px; font-size: 12px; }
  .delivery-screen-copy { padding-right: 26px; }
}

@media (max-width: 767px) {
  .site-header { padding: 14px 5%; gap: 14px; flex-wrap: wrap; min-height: 72px; }
  .wordmark { font-size: 14px; }
  .site-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 10px; }
  .site-nav a { font-size: 12px; }
  .theme-toggle { margin-left: auto; padding: 8px; font-size: 9px; }
  .hero { min-height: calc(100dvh - 107px); align-items: end; }
  .hero-image { object-position: 68% center; opacity: .67; }
  .hero-image { animation: none !important; }
  .hero-scrim { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 48%, color-mix(in srgb, var(--bg) 15%, transparent) 100%); }
  .hero-inner { min-height: inherit; align-items: end; padding: 70px 5% 172px; }
  .scene-console { right: 5%; left: 5%; bottom: 19px; width: auto; }
  .hero h1 { font-size: clamp(44px, 11vw, 62px); line-height: 1.08; letter-spacing: -.07em; margin-bottom: 22px; }
  .hero h1 br { display: none; }
  .hero-copy > p { font-size: 15px; max-width: 360px; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .primary-link, .secondary-link { font-size: 11px; min-height: 43px; padding: 0 12px; gap: 9px; }
  .identity-band { grid-template-columns: 1fr; gap: 0; padding: 8px 5%; }
  .identity-band > div, .identity-band > div:first-child { border-left: 0; border-bottom: 1px solid var(--line); padding: 15px 0; }
  .identity-band > div:last-child { border-bottom: 0; }
  .section-shell { padding-left: 5%; padding-right: 5%; }
  .layers-section { padding-top: 78px; padding-bottom: 75px; }
  .layers-heading h2, .work-opening h2, .method-section h2, .terminal-intro h2, .explore-section h2 { font-size: clamp(39px, 10vw, 55px); }
  .layers-heading > p, .work-opening > p, .terminal-intro > p { font-size: 14px; }
  .layers-layout { grid-template-columns: 1fr; gap: 30px; margin-top: 35px; }
  .xray-photo { aspect-ratio: 5 / 4; }
  .xray-photo-hint { font-size: 8px; }
  .layer-switcher { gap: 0 16px; }
  .layer-switcher button { font-size: 12px; }
  .layer-content { min-height: 0; padding: 27px 0; }
  .layer-content h3 { font-size: 35px; }
  .layer-content p { font-size: 14px; }
  .lab-section { padding-top: 5px; padding-bottom: 85px; }
  .lab-heading { margin-bottom: 30px; }
  .lab-heading h2, .playbook-intro h2 { font-size: clamp(46px, 11vw, 70px); }
  .lab-heading > p { max-width: 500px; margin-top: 22px; font-size: 14px; }
  .lab-topline { padding: 13px; font-size: 8px; }
  .lab-stage { grid-template-columns: 1fr 1fr; gap: 14px; padding: 25px 14px 85px; }
  .lab-route { display: none; }
  .lab-node { min-height: 145px; }
  .lab-node strong { margin-top: 14px; font-size: clamp(18px, 5vw, 23px); }
  .lab-node small { font-size: 10px; }
  .lab-node-index, .lab-node-status { font-size: 9px; }
  .lab-standby { left: 14px; right: 14px; bottom: 20px; gap: 8px; }
  .lab-standby > span:nth-child(2), .lab-standby strong { font-size: 8px; }
  .lab-console { grid-template-columns: 1fr; }
  .lab-scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .lab-scenarios button { font-size: 11px; padding: 11px; }
  .lab-readout { min-height: 0; padding: 24px 18px; }
  .lab-readout h3 { font-size: 31px; }
  .lab-readout p { font-size: 13px; }
  .lab-caption { font-size: 9px; }
  .delivery-inner { padding-top: 80px; padding-bottom: 76px; }
  .delivery-intro h2 { font-size: clamp(46px, 11vw, 70px); }
  .delivery-intro p { font-size: 14px; }
  .delivery-console { grid-template-columns: 1fr; margin-top: 39px; }
  .delivery-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #315058; padding: 9px; }
  .delivery-rail button { flex: 0 0 auto; min-height: 44px; gap: 8px; padding: 0 12px; font-size: 12px; }
  .delivery-screen { grid-template-columns: 1fr; min-height: 0; }
  .delivery-screen-top { padding: 16px; font-size: 9px; }
  .delivery-screen-top span:last-child { display: none; }
  .delivery-orbit { min-height: 245px; }
  .orbit-ring-one { width: 140px; }
  .orbit-ring-two { width: 215px; }
  .orbit-core { width: 90px; height: 90px; font-size: 25px; }
  .delivery-screen-copy { padding: 0 22px 30px; }
  .delivery-screen-copy h3 { font-size: 35px; }
  .delivery-screen-copy p { font-size: 13px; }
  .stack-section { padding-top: 80px; padding-bottom: 70px; }
  .stack-intro h2 { font-size: clamp(42px, 10vw, 60px); }
  .stack-intro p { font-size: 14px; }
  .stack-list { margin-top: 34px; }
  .stack-row { grid-template-columns: 38px 1fr; gap: 9px 14px; min-height: 0; padding: 23px 0; }
  .stack-glyph { grid-row: 1 / 3; align-self: start; font-size: 26px; }
  .stack-row h3 { font-size: 27px; }
  .stack-row p { font-size: 13px; }
  .stack-row small { grid-column: 2; justify-self: start; max-width: none; font-size: 10px; }
  .credentials { display: grid; gap: 12px; margin-top: 23px; }
  .work-section { padding-top: 25px; padding-bottom: 75px; }
  .career-list { margin-top: 35px; }
  .career-row { grid-template-columns: 1fr 20px; gap: 14px; padding: 22px 0; }
  .career-place { grid-column: 1; }
  .career-place h3 { margin-bottom: 3px; }
  .career-copy { grid-column: 1; }
  .career-copy p { font-size: 13px; }
  .career-mark { grid-column: 2; grid-row: 1; }
  .dream-section { min-height: 500px; }
  .dream-section > img { object-position: 55% center; }
  .dream-copy { padding: 0 5% 38px; }
  .dream-copy h2 { font-size: clamp(38px, 10vw, 56px); }
  .dream-copy p { font-size: 14px; }
  .playbook-section { padding-top: 80px; padding-bottom: 55px; }
  .playbook-intro p { font-size: 14px; margin: 20px 0 38px; }
  .playbook-row { grid-template-columns: 32px 1fr; gap: 8px 16px; padding: 25px 0 30px; }
  .playbook-number { grid-row: 1 / 3; padding-top: 7px; }
  .playbook-row h3 { font-size: clamp(29px, 7.5vw, 40px); }
  .playbook-row > div { grid-column: 2; }
  .playbook-row p { font-size: 13px; }
  .playbook-row small { font-size: 10px; }
  .method-section { padding-top: 78px; padding-bottom: 85px; }
  .method-section h2 { margin-bottom: 25px; }
  .method-layout { grid-template-columns: 1fr; gap: 28px; }
  .method-statement { font-size: clamp(27px, 8vw, 41px); }
  .method-details { padding-left: 17px; }
  .method-details p { font-size: 14px; }
  .terminal-section { padding-top: 75px; padding-bottom: 85px; }
  .terminal-layout { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
  .terminal-window, .terminal-choices { min-width: 0; }
  .terminal-window { min-height: 380px; }
  .terminal-output { min-height: 230px; font-size: 12px; }
  .terminal-window label { font-size: 10px; }
  .terminal-window input { font-size: 12px; }
  .terminal-choices > div { gap: 7px; }
  .terminal-choices button { padding: 10px 12px; font-size: 11px; }
  .explore-section { padding-top: 80px; padding-bottom: 90px; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-grid a, .explore-grid a:first-child { min-height: 175px; grid-row: auto; }
  .explore-grid a:first-child { min-height: 340px; }
  .explore-grid a strong { margin-top: 35px; font-size: 28px; }
  .archive-section { padding-top: 15px; padding-bottom: 85px; }
  .archive-heading h2 { font-size: clamp(40px, 10vw, 58px); }
  .archive-heading p { font-size: 14px; }
  .archive-frame-shell { margin-top: 34px; }
  .archive-frame-shell iframe { height: 530px; }
  .site-footer { grid-template-columns: 1fr; padding: 30px 5% 40px; gap: 18px; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 41px; }
  .hero-actions { flex-direction: column; align-items: start; }
  .site-nav a { font-size: 11px; }
  .scene-controls { gap: 2px; }
  .scene-controls button { font-size: 9px; padding: 5px; }
}

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