/* Directed scenes share one environment instead of isolated background boxes. */
:root {
  --bg: #080b08;
  --panel: #11150e;
  --accent: #c6ff44;
  --line: #ffffff16;
  --muted: #99a28d;
}
body {
  isolation: isolate;
  overflow-x: clip;
}
.energy-environment {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.energy-environment.context-lost {
  opacity: 0.2;
}
.scroll-meter {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 30;
  pointer-events: none;
}
.scroll-meter i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.header {
  position: sticky;
  top: 0;
  height: 76px;
  z-index: 20;
  background: #080b08d9;
  backdrop-filter: blur(16px);
  border-bottom-color: #ffffff09;
}
.header-cta {
  padding: 10px 18px;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 20px;
  min-height: max(760px, calc(100svh - 76px));
  padding-top: 100px;
  padding-bottom: 95px;
  overflow: visible;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}
.hero-grid {
  inset: -76px 0 0;
  background: linear-gradient(
    90deg,
    #080b08c9 0%,
    #080b0826 33%,
    transparent 55%
  );
}
.hero .eyebrow {
  font-size: 9px;
  letter-spacing: 1.35px;
  max-width: 440px;
  line-height: 1.8;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid #ffffff1a;
  border-radius: 4px;
  background: #10150d80;
}
.hero h1 {
  font-size: clamp(56px, 5.2vw, 74px);
  letter-spacing: -3.4px;
  line-height: 1.03;
  margin-top: 29px;
  font-weight: 450;
}
.hero h1 em {
  color: var(--ink);
  font-size: 1.08em;
}
.hero-description {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 26px;
}
.hero-actions {
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}
.hero-actions .text-link {
  font-size: 10px;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid #ffffff16;
  border-radius: 30px;
  background: #ffffff09;
}
.hero-bottom {
  bottom: 0;
}
.route-perspective {
  perspective: 1200px;
  position: relative;
  min-width: 0;
}
.research-route {
  width: 100%;
  max-width: 660px;
  height: 540px;
  position: relative;
  background: linear-gradient(145deg, #20281bbd, #080a08eb 65%);
  border: 1px solid #d7f4a51c;
  border-radius: 12px;
  box-shadow:
    0 40px 90px #0008,
    inset 0 1px #ecffd00c;
  transform-style: preserve-3d;
  transform: none;
  will-change: transform;
}
.route-header {
  position: absolute;
  inset: 23px 24px auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font:
    8px Consolas,
    monospace;
  letter-spacing: 1px;
  color: #a3ae95;
}
.route-count {
  color: var(--accent);
}
.route-wires {
  position: absolute;
  inset: 52px 0 28px;
  width: 100%;
  height: calc(100% - 80px);
  overflow: visible;
  fill: none;
  stroke: #7187467d;
  stroke-width: 1;
}
.route-current {
  stroke: #d1fa91;
  stroke-width: 1.2;
  stroke-dasharray: 12 180;
  animation: routeFlow 8s linear infinite;
}
.route-node {
  position: absolute;
  width: 156px;
  padding: 14px 15px 13px;
  border: 1px solid #e2ffc018;
  border-radius: 6px;
  background: linear-gradient(120deg, #1b2117f0, #0c100bee);
  box-shadow: 0 10px 24px #0005;
  transform: translateZ(14px);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s,
    translate 0.35s;
}
.route-node span {
  display: block;
  font:
    7.5px Consolas,
    monospace;
  letter-spacing: 0.7px;
  color: #9dad87;
}
.route-node strong {
  display: block;
  margin-top: 9px;
  font-size: 15px;
  font-weight: 450;
  letter-spacing: -0.2px;
}
.route-node small {
  display: block;
  font-size: 9px;
  color: #97a487;
  margin-top: 8px;
}
.route-node i {
  position: absolute;
  right: 12px;
  top: 11px;
  font: 10px Arial;
  font-style: normal;
  color: #8fa276;
}
.route-node:hover,
.route-node:focus-visible {
  border-color: #c6ff4490;
  background: #25321ff7;
  box-shadow:
    0 10px 25px #0007,
    0 0 25px #a3ff2310;
  translate: 0 -4px;
}
.node-composition {
  left: 5%;
  top: 127px;
}
.node-model {
  left: 36%;
  top: 203px;
  width: 145px;
  transform: translateZ(36px);
}
.node-friction {
  right: 5%;
  top: 115px;
}
.node-lubrication {
  right: 5%;
  top: 294px;
}
.node-effect {
  left: 8%;
  top: 330px;
  width: 190px;
  transform: translateZ(28px);
}
.route-footer {
  position: absolute;
  inset: auto 24px 19px;
  display: flex;
  align-items: center;
  gap: 7px;
  font:
    7px Consolas,
    monospace;
  color: #7d8a70;
  letter-spacing: 0.7px;
}
.route-footer > span:last-child {
  margin-left: auto;
}
.route-caption {
  display: block;
  margin-top: 27px;
  text-align: right;
  font:
    8px Consolas,
    monospace;
  letter-spacing: 1.8px;
  color: #9aa68a;
}
.ticker {
  background: #0a0e09d9;
}
.programs {
  padding-top: 100px;
  padding-bottom: 95px;
  position: relative;
}
.programs:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#080b0850, #080b08a0 55%, #080b0870);
  z-index: -1;
  pointer-events: none;
}
.program-list {
  position: relative;
}
.program {
  position: relative;
  background: linear-gradient(90deg, transparent, #15201122);
}
.program[open] {
  background: linear-gradient(90deg, transparent, #28391a24);
}
.program:after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), #c6ff4400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) var(--reveal-delay);
}
.program.visible:after {
  transform: scaleX(1);
}
.research {
  position: relative;
  background: linear-gradient(90deg, transparent 35%, #080b08d9 68%);
}
.research-art {
  background: linear-gradient(145deg, #1c281250, #0b0e09c9);
  height: 500px;
  border: 1px solid #91ac5226;
  perspective: 950px;
}
.surface-label {
  position: absolute;
  inset: 25px 26px auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font:
    8px Consolas,
    monospace;
  letter-spacing: 1px;
  color: #a5b394;
}
.surface-label span {
  color: #66795a;
}
.surface-stage {
  --separation: 55px;
  position: absolute;
  left: 20%;
  top: 23%;
  width: 60%;
  height: 48%;
  transform-style: preserve-3d;
  transform: rotateX(47deg) rotateZ(-22deg);
  will-change: transform;
}
.material-layer {
  position: absolute;
  inset: 0;
  border: 1px solid #bfe28545;
  transform-style: preserve-3d;
}
.material-layer:after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 100%;
  height: 12px;
  background: #1e2b16;
  border: 1px solid #748d4040;
  transform-origin: top;
  transform: rotateX(-90deg);
}
.material-layer span {
  position: absolute;
  left: 15px;
  bottom: 14px;
  font:
    8px Consolas,
    monospace;
  letter-spacing: 1px;
  color: #b1c998;
}
.layer-counter {
  background: repeating-linear-gradient(
    0deg,
    #25301f 0,
    #26311f 2px,
    #1c2418 3px,
    #1c2418 12px
  );
  transform: translateZ(var(--separation));
  box-shadow: 0 15px 60px #0005;
}
.layer-film {
  background:
    linear-gradient(120deg, #bbef4644, #bcec2420),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 11px,
      #e4ff971a 12px,
      transparent 13px
    );
  transform: translateZ(0);
  border-color: #c6ff44cc;
  box-shadow:
    0 0 30px #b1f73523,
    inset 0 0 30px #a4e32922;
}
.layer-film:after {
  height: 3px;
  background: #c6ff44a0;
}
.layer-film:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 45% 30%, #e4ffa566, transparent 60%),
    radial-gradient(ellipse at 65% 80%, #b2ed4255, transparent 60%);
  width: 60%;
  animation: surfaceFlow 13s ease-in-out infinite alternate;
}
.layer-matrix {
  background: repeating-linear-gradient(
    35deg,
    #29361d 0,
    #29361d 2px,
    #141d10 3px,
    #141d10 10px
  );
  transform: translateZ(calc(-1 * var(--separation)));
}
.layer-matrix:after {
  height: 22px;
}
.load-arrow {
  position: absolute;
  left: 50%;
  top: -60px;
  font-size: 47px;
  font-weight: 200;
  color: var(--accent);
  transform: translateZ(100px);
}
.load-arrow small,
.velocity-arrow small {
  display: block;
  font:
    7px Consolas,
    monospace;
  letter-spacing: 1px;
}
.velocity-arrow {
  position: absolute;
  right: -23px;
  top: 42%;
  font-size: 52px;
  transform: translateZ(var(--separation));
  color: var(--accent);
}
.surface-legend {
  position: absolute;
  left: 26px;
  bottom: 80px;
  right: 26px;
  display: flex;
  gap: 18px;
  font:
    6px Consolas,
    monospace;
  letter-spacing: 0.8px;
  color: #8ea578;
}
.surface-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.surface-legend i {
  width: 5px;
  height: 5px;
  background: #5a7542;
}
.surface-legend span:nth-child(2) i {
  background: var(--accent);
}
.surface-legend span:nth-child(3) i {
  background: #334623;
}
.manifesto {
  position: relative;
  margin: 30px auto;
  max-width: calc(min(1400px, 100vw) - 112px);
  border-radius: 18px;
  padding-left: 50px;
  padding-right: 50px;
  overflow: hidden;
}
.manifesto:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #46651d26;
  border-radius: 50%;
  right: -150px;
  top: -100px;
  box-shadow:
    0 0 0 45px #46651d08,
    0 0 0 90px #46651d08;
  pointer-events: none;
}
.manifesto > p {
  font-size: clamp(36px, 4.5vw, 66px);
  letter-spacing: -2.5px;
  transform: scale(var(--statement-scale, 1));
  transform-origin: left center;
}
.motion-ready .manifesto > p.visible {
  transform: scale(var(--statement-scale, 1));
}
.method {
  background: linear-gradient(#080b08a0, #080b08e6);
}
.steps li {
  position: relative;
}
.steps li:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(var(--step-progress, 1));
  transform-origin: left;
}
.access-section {
  position: relative;
  background: linear-gradient(120deg, #080b08e9, #080b08b0);
}
.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 24px;
  padding-top: 90px;
  padding-bottom: 90px;
  background: linear-gradient(90deg, #080b0860, transparent);
}
.final-cta > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0;
  padding: 30px;
  border-radius: 16px;
}
.final-context {
  background: #11150fed;
  border: 1px solid #ffffff10;
  min-height: 270px;
}
.final-context .brand {
  font-size: 17px;
}
.final-context p {
  font-size: 15px;
  color: #b7bdae;
  max-width: 250px;
  line-height: 1.6;
}
.final-context .eyebrow {
  font-size: 8px;
}
.final-action {
  background: var(--accent);
  color: #17200d;
  gap: 24px;
}
.final-action .eyebrow {
  color: #526c20;
}
.final-action h2 {
  font-size: clamp(26px, 2.7vw, 40px);
  letter-spacing: -1.5px;
}
.final-action h2 em {
  color: inherit;
}
.final-action .pill {
  width: 100%;
  background: #11170b;
  color: #e9f1df;
  border-color: #11170b;
  padding: 12px 18px;
}
.final-action .pill:hover {
  background: #273718;
}
.footer {
  background: #080b08e8;
}
.motion-ready .reveal {
  transform: translateY(35px);
  clip-path: inset(0 0 18% 0);
  transition:
    opacity 0.85s var(--ease) var(--reveal-delay, 0ms),
    transform 1s var(--ease) var(--reveal-delay, 0ms),
    clip-path 1s var(--ease) var(--reveal-delay, 0ms);
}
.motion-ready .reveal.visible {
  transform: none;
  clip-path: inset(0);
}
.motion-ready .program.reveal {
  transform: translateX(-24px);
  clip-path: inset(0 9% 0 0);
}
.motion-ready .program.reveal.visible {
  transform: none;
  clip-path: inset(0);
}
.motion-ready .research-art.reveal {
  transform: perspective(900px) rotateY(-10deg) scale(0.92);
  clip-path: inset(0);
}
.motion-ready .research-art.reveal.visible {
  transform: perspective(900px) rotateY(0) scale(1);
}
.motion-ready .access-title.reveal {
  transform: translateX(-35px);
}
.motion-ready .access-title.reveal.visible {
  transform: none;
}
@keyframes routeFlow {
  to {
    stroke-dashoffset: -384;
  }
}
@keyframes surfaceFlow {
  from {
    transform: translateX(-30%) skewY(-7deg) scaleY(0.8);
    opacity: 0.35;
  }
  to {
    transform: translateX(90%) skewY(9deg) scaleY(1.2);
    opacity: 0.75;
  }
}
@media (min-width: 1550px) {
  .hero {
    min-height: max(760px, calc(100svh - 76px));
  }
  .hero h1 {
    font-size: 78px;
  }
}
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    min-height: 640px;
  }
  .hero h1 {
    font-size: clamp(54px, 5.2vw, 66px);
    letter-spacing: -3px;
  }
  .hero-actions {
    gap: 15px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .text-link {
    margin-top: 0;
  }
  .research-route {
    height: 390px;
  }
  .route-node {
    width: 130px;
    padding: 12px;
  }
  .route-node strong {
    font-size: 12px;
  }
  .route-node small {
    font-size: 7px;
  }
  .node-model {
    left: 35%;
    width: 120px;
    top: 175px;
  }
  .node-effect {
    width: 170px;
    top: 270px;
  }
  .node-lubrication {
    top: 244px;
  }
  .node-friction {
    top: 95px;
  }
  .node-composition {
    left: 3%;
    top: 100px;
  }
  .manifesto {
    max-width: calc(100vw - 64px);
    padding-left: 36px;
    padding-right: 36px;
  }
  .research-art {
    height: 445px;
  }
}
@media (max-width: 800px) {
  .final-cta {
    grid-template-columns: 1fr;
  }
  .final-context {
    min-height: 210px;
    gap: 30px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 45px;
    padding-bottom: 105px;
  }
  .hero h1 {
    font-size: 87px;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 25px;
  }
  .hero-description {
    font-size: 15px;
  }
  .route-perspective {
    width: 100%;
    max-width: 570px;
    margin-left: auto;
  }
  .research-route {
    height: 395px;
  }
  .route-node {
    width: 156px;
  }
  .route-node strong {
    font-size: 14px;
  }
  .route-node small {
    font-size: 8px;
  }
  .node-model {
    width: 145px;
  }
  .node-effect {
    width: 190px;
  }
  .hero-grid {
    background: linear-gradient(90deg, #080b08c9, transparent);
  }
  .research-art {
    height: 440px;
  }
  .manifesto {
    margin: 20px auto;
  }
  .surface-stage {
    left: 20%;
    width: 60%;
  }
  .hero-bottom {
    padding: 23px 0;
  }
  .route-caption {
    margin-top: 18px;
  }
}
@media (max-width: 520px) {
  .hero {
    padding-top: 43px;
    padding-bottom: 87px;
    gap: 37px;
    overflow: hidden;
  }
  .hero-grid {
    background: linear-gradient(
      90deg,
      #080b08e6 0%,
      #080b08b3 70%,
      transparent 110%
    );
  }
  .hero h1 {
    font-size: 63px;
    letter-spacing: -3.4px;
    line-height: 1.04;
    margin-top: 27px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
    max-width: 300px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 25px;
  }
  .hero-description {
    font-size: 14px;
    margin-top: 22px;
  }
  .route-perspective {
    perspective: 1000px;
  }
  .research-route {
    height: 337px;
    transform: none;
  }
  .route-header {
    inset: 17px 15px auto;
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .route-node {
    width: 104px;
    padding: 10px 9px;
    border-radius: 5px;
  }
  .route-node span {
    font-size: 5.5px;
    letter-spacing: 0.3px;
  }
  .route-node strong {
    font-size: 11px;
    margin-top: 8px;
  }
  .route-node small {
    font-size: 6px;
    line-height: 1.4;
    max-width: 90px;
    margin-top: 7px;
  }
  .route-node i {
    right: 7px;
    top: 8px;
    font-size: 8px;
  }
  .node-composition {
    top: 66px;
    left: 4%;
  }
  .node-model {
    top: 137px;
    left: 34%;
    width: 101px;
  }
  .node-friction {
    top: 64px;
    right: 4%;
  }
  .node-lubrication {
    top: 221px;
    right: 4%;
  }
  .node-effect {
    top: 232px;
    left: 4%;
    width: 147px;
  }
  .route-wires {
    inset: 34px 0 27px;
    height: calc(100% - 61px);
  }
  .route-footer {
    inset: auto 15px 13px;
    font-size: 5.5px;
    letter-spacing: 0.4px;
  }
  .route-caption {
    font-size: 6px;
    letter-spacing: 1.1px;
  }
  .hero-bottom {
    font-size: 7px;
    letter-spacing: 0.4px;
  }
  .programs:before {
    inset: 0;
  }
  .programs {
    padding-top: 63px;
    padding-bottom: 65px;
  }
  .research-art {
    height: 350px;
  }
  .surface-stage {
    left: 18%;
    top: 24%;
    width: 64%;
    height: 53%;
  }
  .surface-label {
    inset: 20px 20px auto;
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .material-layer span {
    font-size: 6px;
    left: 10px;
    bottom: 10px;
    letter-spacing: 0.5px;
  }
  .surface-legend {
    left: 20px;
    right: 20px;
    bottom: 71px;
    gap: 12px;
    font-size: 5px;
    letter-spacing: 0.4px;
  }
  .load-arrow {
    font-size: 37px;
    top: -47px;
  }
  .velocity-arrow {
    font-size: 39px;
    right: -20px;
  }
  .load-arrow small,
  .velocity-arrow small {
    font-size: 5px;
  }
  .art-note {
    left: 20px;
    bottom: 20px;
    font-size: 6px;
  }
  .art-cross {
    display: none;
  }
  .manifesto {
    max-width: calc(100vw - 30px);
    padding: 36px 23px 23px;
    border-radius: 13px;
  }
  .manifesto > p {
    font-size: 32px;
    line-height: 1.17;
    letter-spacing: -1.6px;
    margin-top: 24px;
  }
  .manifesto-bottom {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .final-cta {
    min-height: 280px;
    padding-top: 65px;
    padding-bottom: 75px;
  }
  .final-cta h2 {
    font-size: 30px;
  }
  .motion-ready .program.reveal {
    transform: translateX(-12px);
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 57px;
  }
  .route-node {
    width: 94px;
  }
  .node-model {
    width: 92px;
  }
  .node-effect {
    width: 140px;
  }
  .route-node strong {
    font-size: 10px;
  }
  .node-lubrication {
    top: 220px;
  }
  .manifesto > p {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal {
    transform: none;
    clip-path: none;
    opacity: 1;
  }
  .research-route {
    transform: none !important;
  }
  .surface-stage {
    transform: rotateX(47deg) rotateZ(-22deg) !important;
  }
  .material-layer {
    --separation: 45px;
  }
}

/* Ambient motion uses compositor transforms; text remains within its stable node. */
@media (prefers-reduced-motion: no-preference) {
  .route-perspective {
    animation: routeDrift 17s ease-in-out infinite alternate;
  }
  .route-node {
    animation: nodeDepth 11s ease-in-out infinite alternate;
    --node-depth: 14px;
  }
  .node-model {
    --node-depth: 36px;
    animation-duration: 13s;
    animation-delay: -4s;
  }
  .node-friction {
    animation-duration: 16s;
    animation-delay: -7s;
  }
  .node-lubrication {
    animation-duration: 14s;
    animation-delay: -3s;
  }
  .node-effect {
    --node-depth: 28px;
    animation-duration: 19s;
    animation-delay: -9s;
  }
}
@keyframes routeDrift {
  from {
    translate: 0 1.5px;
  }
  to {
    translate: 0 -1.5px;
  }
}
@keyframes nodeDepth {
  from {
    transform: translateZ(var(--node-depth));
  }
  to {
    transform: translateZ(calc(var(--node-depth) + 5px));
  }
}
html.page-hidden .route-perspective,
html.page-hidden .route-node,
html.page-hidden .route-current,
html.page-hidden .layer-film:before {
  animation-play-state: paused;
}
