/* ═══════════════════════════════════════════════════════════
   OLEE.SPACE — design system
   One engine. Data, power, effect.
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0A0A0A;
  --ink-2: #101216;
  --paper: #F7F6F2;
  --paper-dim: #ECEAE3;
  --red: #E63946;
  --red-deep: #C22E3A;
  --cyan: #57C4D8;
  --cyan-hi: #9BE8F5;
  --amber: #E8A85C;
  --steel: #6A727E;
  --steel-dim: #464D57;
  --line-dark: rgba(247, 246, 242, 0.12);
  --line-light: rgba(10, 10, 10, 0.14);

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --w-max: 1440px;
  --gutter: clamp(20px, 4.5vw, 72px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.9s;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
  font-feature-settings: "ss01";
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; }
::selection { background: var(--red); color: #fff; }

.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.14em; }
.mono-svg { font-family: var(--font-mono); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--red); color: #fff; padding: 10px 18px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.section--dark :focus-visible, .section--black :focus-visible, .section--deep :focus-visible { outline-color: var(--cyan); }

/* ── grain ── */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 200; opacity: 0.05;
  mix-blend-mode: overlay;
}

/* ── layout ── */
.container { max-width: var(--w-max); margin: 0 auto; padding-inline: var(--gutter); }

.section--paper { background: var(--paper); color: var(--ink); }
.section--dark  { background: var(--ink-2); color: var(--paper); }
.section--deep  { background: #0C0D10; color: var(--paper); }
.section--black { background: var(--ink); color: var(--paper); }
.section--red   { background: var(--red); color: #fff; }

section[id], [id="about"] { scroll-margin-top: 68px; }

/* ── section mark ── */
.section-mark {
  display: flex; align-items: center; gap: 18px;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--steel);
  margin-bottom: clamp(36px, 6vh, 72px);
}
.section--paper .section-mark { color: rgba(10,10,10,0.55); }
.section-mark__num { color: var(--red); }
.section-mark__rule { flex: 0 1 120px; height: 1px; background: currentColor; opacity: .4; }

/* ═══════════════ NAVIGATION ═══════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .45s var(--ease-out), backdrop-filter .45s, box-shadow .45s;
}
.nav--solid {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav__inner {
  max-width: var(--w-max); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav--solid .nav__inner { padding-block: 12px; }
.nav__logo { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.nav__logo-word {
  font-family: 'Bruno Ace', var(--font-sans);
  font-weight: 400; font-size: 17px; letter-spacing: 0.16em;
}
.logo-e { color: var(--red); }
.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(247,246,242,0.82); position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 16px; }

.nav__burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px; background: var(--paper);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  padding: 14px 26px; border-radius: 2px;
  transition: background .3s var(--ease-out), color .3s, transform .3s var(--ease-out), box-shadow .3s;
  min-height: 44px;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(230,57,70,0.25); }
.btn--ghost {
  color: var(--paper); border: 1px solid rgba(247,246,242,0.3);
}
.btn--ghost:hover { border-color: var(--paper); background: rgba(247,246,242,0.06); }
.btn--nav { background: var(--red); color: #fff; padding: 10px 20px; font-size: 13.5px; }
.btn--nav:hover { background: var(--red-deep); }
.btn--onred { background: #fff; color: var(--red); padding: 18px 34px; font-size: 17px; }
.btn--onred:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }

/* ═══════════════ MOBILE MENU ═══════════════ */
.mmenu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,10,10,0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 48px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s;
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu__nav a {
  font-size: clamp(32px, 9vw, 48px); font-weight: 800; letter-spacing: -0.01em;
  padding: 10px 0; color: var(--paper); display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(24px); opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s;
}
.mmenu.is-open .mmenu__nav a { transform: none; opacity: 1; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .05s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .1s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .15s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .2s; }
.mmenu__num { font-family: var(--font-mono); font-size: 13px; color: var(--red); letter-spacing: .2em; }
.mmenu__cta { color: var(--red) !important; }
.mmenu__foot {
  margin-top: auto; display: flex; justify-content: space-between;
  font-size: 12px; color: var(--steel);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.hero__video.is-live { display: block; }
.hero__video.is-live + .hero__svg { display: none; }
.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__content {
  position: relative; z-index: 2;
  max-width: var(--w-max); width: 100%; margin: 0 auto;
  padding: 140px var(--gutter) 40px;
}
.hero__kicker {
  font-size: 12px; letter-spacing: 0.24em; color: var(--steel);
  margin-bottom: clamp(20px, 3vh, 36px);
}
.hero__title {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 0.98; letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 18ch;
}
.hero__title em, .chapter__title em, .econ__title em, .company__title em, .cta__title em, .thesis__title em, .intro__statement em, .ladder__title em {
  font-style: normal; color: var(--red);
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; transform: translateY(110%); animation: heroLine 1.1s var(--ease-out) forwards; }
.hero__line:nth-child(2) > span { animation-delay: .12s; }
.hero__line:nth-child(3) > span { animation-delay: .24s; }
@keyframes heroLine { to { transform: none; } }

.hero__sub {
  margin-top: clamp(20px, 3vh, 32px);
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6;
  color: rgba(247,246,242,0.78); max-width: 52ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(24px, 4vh, 44px); }

.hero__foot {
  position: relative; z-index: 2;
  max-width: var(--w-max); width: 100%; margin: 0 auto;
  padding: 28px var(--gutter) 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 11px; letter-spacing: 0.24em; color: var(--steel);
  border-top: 1px solid var(--line-dark);
}
.hero__scrollline { flex: 1; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.hero__scrollline::after {
  content: ""; position: absolute; top: 0; left: -30%;
  width: 30%; height: 100%; background: var(--red);
  animation: scrollsweep 2.6s var(--ease-inout) infinite;
}
@keyframes scrollsweep { 0% { left: -30%; } 60%, 100% { left: 100%; } }

/* hero svg life */
.hero-core { animation: corePulse 4.5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero-core-halo { animation: coreHalo 4.5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes corePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes coreHalo { 0%,100% { opacity: .4; } 50% { opacity: .62; } }
.hero-rings { animation: ringsDrift 60s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ringsDrift { to { transform: rotate(360deg); } }
.hero-ticks { animation: ticksDrift 90s linear infinite reverse; transform-origin: center; transform-box: fill-box; }
@keyframes ticksDrift { to { transform: rotate(360deg); } }

/* three live links */
.hflow { stroke-dasharray: 4 26; opacity: 0.9; animation: hflowRun 1.3s linear infinite; }
.hflow--power { stroke-dasharray: 5 22; animation-duration: 1.9s; }
@keyframes hflowRun { to { stroke-dashoffset: -60; } }
.hpk--d1 { offset-path: path("M 560 470 L 1316 238"); animation: hpkRun 2.4s linear infinite; }
.hpk--d2 { offset-path: path("M 1316 238 L 560 470"); animation: hpkRun 3.1s linear infinite; animation-delay: -1.4s; }
.hpk--p1 { offset-path: path("M 560 470 L 1330 470"); animation: hpkRun 2.8s linear infinite; animation-delay: -0.9s; }
@keyframes hpkRun {
  from { offset-distance: 0%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  to   { offset-distance: 100%; opacity: 0; }
}
@supports not (offset-path: path("M 0 0 L 1 1")) { .hpk { display: none; } }
.hnode-blink { animation: hnodeBlink 1.6s steps(2, start) infinite; }
@keyframes hnodeBlink { 50% { opacity: 0.2; } }
.hcharge { animation: hchargeFill 3.4s var(--ease-inout) infinite; }
@keyframes hchargeFill { 0% { width: 6px; } 72% { width: 34px; } 100% { width: 34px; } }
.hdew-core { animation: hdewPulse 2.2s ease-in-out infinite; }
@keyframes hdewPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.hbloom { animation: hbloomPulse 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes hbloomPulse { 0%, 100% { transform: scale(0.8); opacity: 0.5; } 50% { transform: scale(1.25); opacity: 0.9; } }

/* ═══════════════ INTRO ═══════════════ */
.intro { padding: clamp(90px, 14vh, 180px) 0; }
.intro__statement {
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.015em;
  max-width: 22ch;
}
.intro__cols {
  margin-top: clamp(48px, 8vh, 96px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px); align-items: start;
}
.intro__lede { font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.65; color: rgba(10,10,10,0.78); max-width: 56ch; }
.intro__ledewrap { display: flex; flex-direction: column; gap: 16px; }
.intro__lede strong { font-weight: 700; color: var(--ink); }
.chapter__chips { margin-top: 14px; font-size: 11.5px; letter-spacing: 0.16em; color: var(--steel); }
.intro__facts { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.fact {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--line-light);
  font-size: 12.5px; letter-spacing: 0.12em;
}
.fact__k { color: rgba(10,10,10,0.5); }
.fact__v { color: var(--ink); text-align: right; }

/* ═══════════════ THESIS ═══════════════ */
.thesis { padding: clamp(90px, 14vh, 180px) 0; }
.thesis__title {
  font-size: clamp(38px, 6vw, 96px);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.02em;
}
.thesis__sub {
  margin-top: clamp(28px, 4vh, 44px);
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65;
  color: rgba(247,246,242,0.72); max-width: 62ch;
}
.thesis__jobs {
  margin-top: clamp(56px, 9vh, 110px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.job {
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 40px) clamp(32px, 4vw, 56px) 0;
  border-right: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 14px;
}
.job:last-child { border-right: 0; }
.job__num { font-size: 12px; color: var(--red); letter-spacing: 0.2em; }
.job__name { font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: 0.02em; }
.job__desc { font-size: 15.5px; line-height: 1.6; color: rgba(247,246,242,0.66); max-width: 34ch; }
.job__spec { margin-top: auto; font-size: 11.5px; color: var(--steel); letter-spacing: 0.16em; }

/* ═══════════════ ENGINE ═══════════════ */
.engine { position: relative; }
.engine__track { height: 380vh; position: relative; }
.engine__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
}
.engine__head {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  max-width: var(--w-max); margin: 0 auto;
  padding: clamp(80px, 12vh, 120px) var(--gutter) 0;
  pointer-events: none;
}
.engine__head .section-mark { margin-bottom: 14px; }
.engine__title {
  font-size: clamp(26px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.01em;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.engine--running .engine__title { opacity: 0.28; transform: scale(0.94); transform-origin: left top; }
.engine__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.emit-dot { animation: emitPulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.emod:nth-child(2) .emit-dot { animation-delay: -0.6s; }
.emod:nth-child(3) .emit-dot { animation-delay: -1.2s; }
.emod:nth-child(4) .emit-dot { animation-delay: -1.8s; }
.emod:nth-child(5) .emit-dot { animation-delay: -2.4s; }
.emod:nth-child(6) .emit-dot { animation-delay: -1s; }
@keyframes emitPulse { 0%,100% { opacity: .6; transform: scale(1);} 50% { opacity: 1; transform: scale(1.35);} }

.engine__captions {
  position: absolute; z-index: 5; left: 0; right: 0;
  bottom: clamp(84px, 14vh, 130px);
  max-width: var(--w-max); margin: 0 auto;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.ecap {
  position: absolute; bottom: 0; left: var(--gutter); max-width: 44ch;
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.ecap.is-live { opacity: 1; transform: none; }
.ecap__k { display: block; font-size: 11.5px; color: var(--red); letter-spacing: 0.22em; margin-bottom: 10px; }
.ecap p { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: rgba(247,246,242,0.85); }

.engine__rail {
  position: absolute; z-index: 5; right: var(--gutter);
  bottom: clamp(28px, 5vh, 44px); left: var(--gutter);
  display: flex; align-items: center; gap: 22px;
  font-size: 10.5px; letter-spacing: 0.2em; color: var(--steel-dim);
}
.erail__seg { transition: color .4s; white-space: nowrap; }
.erail__seg.is-live { color: var(--paper); }
.erail__bar { flex: 1; height: 1px; background: var(--line-dark); position: relative; }
.erail__fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--red); }

/* engine facts strip */
.engine__facts { padding: clamp(56px, 9vh, 110px) var(--gutter) clamp(70px, 11vh, 130px); }
.efacts__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); }
.efacts__k { display: block; font-size: 11px; letter-spacing: 0.24em; color: var(--steel); padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); margin-bottom: 4px; }
.efacts__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 12px; letter-spacing: 0.14em; color: rgba(247,246,242,0.7);
}
.efacts__list .ok { color: var(--cyan); font-weight: 500; }
.efacts__list .next { color: var(--amber); font-weight: 500; }
.efacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.efacts__grid li {
  padding: 13px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 11.5px; letter-spacing: 0.12em; color: rgba(247,246,242,0.62);
}
.efacts__foot { margin-top: clamp(28px, 5vh, 48px); font-size: 11.5px; letter-spacing: 0.2em; color: var(--red); }

/* ═══════════════ CHAPTERS ═══════════════ */
.chapter { padding: clamp(90px, 14vh, 180px) 0; }
.chapter__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 88px); align-items: center;
}
.chapter__grid--flip .chapter__copy { order: 2; }
.chapter__grid--flip .chapter__scene { order: 1; }
.chapter__title {
  font-size: clamp(30px, 4vw, 60px);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.02em;
}
.chapter__title--wide { max-width: 14ch; }
.chapter__lede {
  margin-top: clamp(22px, 3vh, 34px);
  font-size: clamp(15px, 1.3vw, 17.5px); line-height: 1.65;
}
.section--paper .chapter__lede { color: rgba(10,10,10,0.76); }
.section--dark .chapter__lede, .section--deep .chapter__lede { color: rgba(247,246,242,0.72); }
.chapter__lede--wide { max-width: 68ch; margin-bottom: clamp(40px, 6vh, 72px); }

.chapter__specs { margin-top: clamp(26px, 4vh, 40px); border-top: 1px solid currentColor; }
.section--paper .chapter__specs { border-color: var(--line-light); }
.section--dark .chapter__specs, .section--deep .chapter__specs { border-color: var(--line-dark); }
.chapter__specs li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; font-size: 12px; letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line-light);
}
.section--dark .chapter__specs li, .section--deep .chapter__specs li { border-color: var(--line-dark); }
.chapter__specs li span { opacity: 0.55; }
.chapter__specs li strong { font-weight: 500; font-size: 13px; }

.chapter__milestone { margin-top: clamp(28px, 4vh, 44px); padding-left: 18px; border-left: 2px solid var(--red); }
.milestone__k { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--red); margin-bottom: 8px; }
.milestone__v { font-size: 16.5px; line-height: 1.55; }
.section--paper .milestone__v { color: rgba(10,10,10,0.82); }

.chapter__scene { min-width: 0; }
.scene-media {
  position: relative; border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  background: #0B0D11;
}
.section--paper .scene-media { box-shadow: 0 30px 80px rgba(10,10,10,0.28); }
.scene-media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ── contained scroll scenes (WPT / DEW) ── */
.cscene { height: 240vh; position: relative; }
.cscene__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene-media--full { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.scene-media--full svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cscene__caps {
  position: absolute; z-index: 4; left: var(--gutter);
  bottom: clamp(30px, 7vh, 64px); max-width: min(420px, 78vw); height: 92px;
}
.ccap {
  position: absolute; left: 0; bottom: 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.ccap.is-live { opacity: 1; transform: none; }
.ccap__k { display: block; font-size: 11px; letter-spacing: 0.22em; color: var(--red); margin-bottom: 8px; }
.chapter--power .ccap__k { color: var(--amber); }
.ccap p { font-size: clamp(14.5px, 1.3vw, 17px); line-height: 1.5; color: rgba(247,246,242,0.85); }
.cscene__fig {
  position: absolute; z-index: 4; right: var(--gutter);
  bottom: clamp(26px, 5vh, 46px);
  font-size: 10.5px; letter-spacing: 0.2em; color: var(--steel-dim);
}
.scene-caption {
  margin-top: 16px; font-size: 11px; letter-spacing: 0.2em;
  color: var(--steel);
}
.section--paper .scene-caption { color: rgba(10,10,10,0.5); }

/* scene svg life */
.blink { animation: blink 2.2s steps(2, jump-none) infinite; }
.blink--late { animation-delay: -1.1s; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }
.lens-pulse { animation: lensPulse 2.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes lensPulse { 0%,100% { opacity: .75; transform: scale(1);} 50% { opacity: 1; transform: scale(1.25);} }

/* data packets travel the link (JS positions along line; CSS fallback) */
.pkt { offset-rotate: auto; }
.pkt1 { offset-path: path("M 176 279 L 1026 308"); animation: pktRun 3.2s linear infinite; }
.pkt2 { offset-path: path("M 176 279 L 1026 308"); animation: pktRun 4.1s linear infinite; animation-delay: -1.4s; }
.pkt3 { offset-path: path("M 1026 308 L 176 279"); animation: pktRun 3.7s linear infinite; animation-delay: -0.6s; }
.pkt4 { offset-path: path("M 176 279 L 1026 308"); animation: pktRun 2.8s linear infinite; animation-delay: -2.2s; }
@keyframes pktRun { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.ep { offset-rotate: auto; }
.ep1 { offset-path: path("M 262 464 L 950 478"); animation: pktRun 2.6s linear infinite; }
.ep2 { offset-path: path("M 262 464 L 950 478"); animation: pktRun 3.4s linear infinite; animation-delay: -1.2s; }
.ep3 { offset-path: path("M 262 464 L 950 478"); animation: pktRun 2.1s linear infinite; animation-delay: -0.7s; }

.dm { offset-rotate: auto; }
.dm1 { offset-path: path("M 478 330 L 1298 152"); animation: pktRun 1.9s linear infinite; }
.dm2 { offset-path: path("M 478 330 L 1298 152"); animation: pktRun 2.5s linear infinite; animation-delay: -0.9s; }
.dm3 { offset-path: path("M 478 330 L 1298 152"); animation: pktRun 1.5s linear infinite; animation-delay: -0.4s; }

@supports not (offset-path: path("M 0 0 L 1 1")) {
  .pkt, .ep, .dm { display: none; }
}

.rx-glow { animation: rxGlow 3s ease-in-out infinite; }
@keyframes rxGlow { 0%,100% { opacity: .2; } 50% { opacity: .4; } }
.rx-hot { animation: rxGlow 2.2s ease-in-out infinite; }
.batt-fill { animation: battFill 6s var(--ease-inout) infinite; transform-origin: left center; transform-box: fill-box; }
@keyframes battFill { 0% { transform: scaleX(0.3);} 70% { transform: scaleX(1);} 100% { transform: scaleX(1);} }
.bolt { animation: boltFlash 2.4s ease-in-out infinite; }
@keyframes boltFlash { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.ewire { animation: wireDash 1.6s linear infinite; }
@keyframes wireDash { to { stroke-dashoffset: -28; } }

.impact-glow { animation: impact 1.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes impact { 0%,100% { opacity: .65; transform: scale(0.92);} 50% { opacity: 1; transform: scale(1.1);} }
.track-bracket { animation: bracket 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes bracket { 0%,100% { transform: scale(1);} 50% { transform: scale(1.06);} }
.rotor ellipse { animation: rotorBlur 0.6s linear infinite; }
@keyframes rotorBlur { 0%,100% { opacity: .8; } 50% { opacity: .35; } }

/* effect chapter extras */
.effect__scene { margin-top: 0; }
.scene-media--wide { border-radius: 8px; }
.effect__strip {
  margin-top: clamp(36px, 6vh, 64px);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 40px;
  padding: 26px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.effect__strip-k { font-size: 12px; letter-spacing: 0.2em; color: var(--red); }
.effect__strip-v { font-size: clamp(17px, 1.8vw, 23px); font-weight: 600; }

/* ═══════════════ ECONOMICS ═══════════════ */
.econ { padding: clamp(100px, 16vh, 200px) 0; }
.econ__title {
  font-size: clamp(30px, 4.4vw, 68px);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.02em;
  max-width: 20ch;
}
.econ__body { margin-top: clamp(44px, 7vh, 80px); display: grid; gap: 32px; max-width: 72ch; }
.econ__p { font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.7; color: rgba(247,246,242,0.75); }
.econ__p--q { color: var(--paper); font-weight: 500; }
.econ__p--q em { font-style: italic; color: var(--cyan-hi); }
.econ__thesis {
  margin-top: clamp(64px, 10vh, 130px);
  padding: clamp(36px, 6vh, 64px) 0;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.econ__thesis p {
  font-size: clamp(26px, 3.4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.015em;
}
.econ__thesis em { font-style: normal; color: var(--red); }
.econ__three {
  margin-top: clamp(48px, 8vh, 90px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px);
}
.econ__three li { display: flex; flex-direction: column; gap: 16px; }
.econ__num { font-size: 12px; color: var(--red); letter-spacing: 0.24em; }
.econ__three p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5; font-weight: 500; max-width: 26ch; }

/* ═══════════════ PROOF ═══════════════ */
.proof { padding: clamp(90px, 14vh, 180px) 0; }
.proof__title {
  font-size: clamp(24px, 2.8vw, 40px); font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: clamp(44px, 7vh, 80px);
}
.proof__ledger { border-top: 2px solid var(--ink); }
.pline {
  display: grid; grid-template-columns: 140px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px clamp(24px, 4vw, 72px); align-items: baseline;
  padding: clamp(26px, 4vh, 44px) 0;
  border-bottom: 1px solid var(--line-light);
}
.pline__date { font-size: 12px; letter-spacing: 0.18em; color: rgba(10,10,10,0.55); }
.pline__big {
  font-size: clamp(28px, 3.6vw, 54px); font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pline__big em { font-style: normal; color: var(--red); }
.pline__note { font-size: 15.5px; line-height: 1.55; color: rgba(10,10,10,0.66); max-width: 40ch; }

/* ═══════════════ PRESS ═══════════════ */
.press { padding: clamp(90px, 14vh, 170px) 0; background: var(--paper-dim); color: var(--ink); }
.press__title { font-size: clamp(24px, 2.8vw, 40px); font-weight: 700; margin-bottom: clamp(40px, 6vh, 70px); }
.press__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.parti {
  display: flex; gap: 22px; padding: clamp(20px, 2.5vw, 32px);
  background: var(--paper); border: 1px solid var(--line-light); border-radius: 6px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  height: 100%;
}
.parti:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(10,10,10,0.14); }
.parti__art { flex: 0 0 84px; }
.parti__art svg { width: 84px; height: 84px; border-radius: 4px; }
.parti__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.parti__src { font-size: 11px; letter-spacing: 0.22em; color: var(--red); }
.parti__head { font-size: clamp(15.5px, 1.3vw, 18px); font-weight: 600; line-height: 1.4; }
.parti__cta { margin-top: auto; padding-top: 10px; font-size: 11px; letter-spacing: 0.2em; color: rgba(10,10,10,0.55); transition: color .3s; }
.parti:hover .parti__cta { color: var(--red); }

/* ═══════════════ COMPANY ═══════════════ */
.company { padding: clamp(90px, 14vh, 180px) 0; }
.company__title {
  font-size: clamp(28px, 3.8vw, 58px); font-weight: 800; line-height: 1.0; letter-spacing: -0.02em;
}
.company__grid {
  margin-top: clamp(48px, 8vh, 96px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 100px); align-items: start;
}
.company__text p:first-child { font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.7; color: rgba(247,246,242,0.75); max-width: 54ch; }
.company__motto {
  margin-top: clamp(32px, 5vh, 56px);
  font-size: clamp(20px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--paper);
  padding-left: 22px; border-left: 3px solid var(--red);
}
.company__side { display: flex; flex-direction: column; gap: 22px; }
.founder {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark);
}
.founder__glyph { flex: 0 0 56px; }
.founder__glyph svg { width: 56px; height: 56px; }
.founder strong { display: block; font-size: 19px; font-weight: 700; }
.founder .mono { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.2em; color: var(--steel); }
.company__meta { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: 0.18em; color: var(--steel); padding-top: 8px; }
.company__note { font-size: 14px; line-height: 1.6; color: rgba(247,246,242,0.55); border-left: 2px solid var(--line-dark); padding-left: 18px; margin-top: 22px; }

/* lineage timeline */
.tline { margin-top: clamp(70px, 11vh, 130px); }
.tline__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  font-size: 11px; letter-spacing: 0.24em; color: var(--steel);
  padding-bottom: 14px; border-bottom: 1px solid var(--line-dark);
}
.tline__list li {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line-dark);
}
.tline__y { font-size: 12px; letter-spacing: 0.2em; color: var(--red); }
.tline__list p { font-size: 14.5px; line-height: 1.55; color: rgba(247,246,242,0.72); max-width: 72ch; }

/* ═══════════════ CTA ═══════════════ */
.cta { padding: clamp(100px, 16vh, 190px) 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(ellipse 60% 45% at 78% 30%, rgba(255,255,255,0.16), transparent 65%);
  pointer-events: none;
}
.cta .section-mark { color: rgba(255,255,255,0.7); }
.cta .section-mark__num { color: #fff; }
.cta__title {
  font-size: clamp(32px, 5vw, 80px); font-weight: 800; line-height: 0.97; letter-spacing: -0.02em;
}
.cta__title em { color: var(--ink); }
.cta__row {
  margin-top: clamp(36px, 6vh, 64px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px;
}
.cta__mail { font-size: 14px; letter-spacing: 0.14em; color: rgba(255,255,255,0.92); border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 3px; transition: border-color .3s; }
.cta__mail:hover { border-color: #fff; }

/* ═══════════════ FOOTER ═══════════════ */
.footer { padding: clamp(70px, 10vh, 120px) 0 40px; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(44px, 7vh, 72px);
  border-bottom: 1px solid var(--line-dark);
}
.footer__logo { font-family: 'Bruno Ace', var(--font-sans); font-size: 24px; font-weight: 400; letter-spacing: 0.16em; }
.footer__tag { margin-top: 16px; font-size: 15px; line-height: 1.6; color: rgba(247,246,242,0.6); }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer__col a { color: rgba(247,246,242,0.72); transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--paper); }
.footer__k { font-size: 11px; letter-spacing: 0.24em; color: var(--steel); margin-bottom: 6px; }
.footer__addr { color: rgba(247,246,242,0.6); line-height: 1.6; }
.ph {
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--amber); background: rgba(232,168,92,0.08);
  border: 1px dashed rgba(232,168,92,0.4); border-radius: 3px;
  padding: 4px 8px; width: fit-content;
}
.footer__bottom {
  padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: 10.5px; letter-spacing: 0.2em; color: var(--steel-dim);
}

/* ═══════════════ FILM MODAL ═══════════════ */
.film {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; padding: 24px;
}
.film[hidden] { display: none; }
.film__stage { position: relative; width: 100%; height: 100%; }
.fplayer { position: absolute; inset: 0; display: flex; flex-direction: column; background: #000; }
.fplayer__video { flex: 1; min-height: 0; width: 100%; object-fit: contain; background: #000; }
.fplayer__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px clamp(14px, 2.5vw, 26px);
  background: rgba(8, 9, 12, 0.92); border-top: 1px solid rgba(247, 246, 242, 0.08);
}
.fplayer__btn {
  flex: none; width: 40px; height: 34px; display: grid; place-items: center;
  background: none; border: 1px solid rgba(247, 246, 242, 0.18); border-radius: 4px;
  color: #F7F6F2; font-size: 14px; line-height: 1; cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.fplayer__btn:hover { border-color: var(--red, #E63946); }
.fplayer__btn--sm { width: 36px; font-size: 11px; }
.fplayer__time { flex: none; font-size: 11px; letter-spacing: 0.08em; color: #A8AEB5; min-width: 38px; text-align: center; }
.fplayer__seek { flex: 1; accent-color: var(--red, #E63946); min-width: 60px; }
.fplayer__vol { flex: none; width: 74px; accent-color: #A8AEB5; }
.fplayer__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; text-align: center;
  background: #0B0D11; padding: 24px;
}
.fplayer__fbtitle { font-size: 13px; letter-spacing: 0.4em; color: #F7F6F2; }
.fplayer__fbtext { font-size: 13px; color: #6A727E; }
.fplayer__fbtext code { font-family: var(--font-mono, monospace); color: #A8AEB5; }
@media (max-width: 560px) {
  .fplayer__vol { display: none; }
  .fplayer__bar { gap: 8px; }
}

.film__backdrop { position: absolute; inset: 0; background: rgba(5,5,6,0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film__panel {
  position: relative; width: min(1080px, 92vw); aspect-ratio: 16 / 9;
  background: #0B0D11; border-radius: 8px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  animation: filmIn .45s var(--ease-out);
}
@keyframes filmIn { from { transform: translateY(28px) scale(0.97); opacity: 0; } }
.film__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(10,10,10,0.6); border-radius: 50%; color: var(--paper);
  transition: background .3s;
}
.film__close:hover { background: var(--red); }

/* ═══════════════ REVEALS ═══════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-scene { opacity: 0; transform: translateY(36px) scale(0.985); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal-scene.is-in { opacity: 1; transform: none; }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease-out); }
.reveal-line.is-in > span { transform: none; }
h2 .reveal-line:nth-child(2) > span { transition-delay: .08s; }
h2 .reveal-line:nth-child(3) > span { transition-delay: .16s; }

/* stagger groups */
.thesis__jobs .job.is-in:nth-child(2) { transition-delay: .1s; }
.thesis__jobs .job.is-in:nth-child(3) { transition-delay: .2s; }
.econ__three li.is-in:nth-child(2) { transition-delay: .1s; }
.econ__three li.is-in:nth-child(3) { transition-delay: .2s; }
.press__list li.is-in:nth-child(2) { transition-delay: .08s; }
.press__list li.is-in:nth-child(3) { transition-delay: .16s; }
.press__list li.is-in:nth-child(4) { transition-delay: .24s; }

/* ═══════════════ RESPONSIVE ═══════════════ */
/* ═══════════════ POWER FOR SPACE ═══════════════ */
.chapter--orbit .ccap__k { color: var(--amber); }
.obeam { opacity: 0; transition: opacity 1s var(--ease-out); }
#spaceTrack[data-stage="1"] .obeam,
#spaceTrack[data-stage="2"] .obeam,
#spaceTrack[data-stage="3"] .obeam { opacity: 1; }
.obeam__core { stroke-dasharray: 26 14; animation: obeamFlow 1.4s linear infinite; }
@keyframes obeamFlow { to { stroke-dashoffset: -40; } }
.orx-glow, .ostatus { transition: opacity .9s var(--ease-out); }
#spaceTrack[data-stage="2"] .orx-glow, #spaceTrack[data-stage="3"] .orx-glow { opacity: 0.85; }
#spaceTrack[data-stage="2"] .ostatus, #spaceTrack[data-stage="3"] .ostatus { opacity: 1; }
.ocharge { transition: width 2.4s var(--ease-out); }
#spaceTrack[data-stage="2"] .ocharge, #spaceTrack[data-stage="3"] .ocharge { width: 42px; }
.op { opacity: 0; }
#spaceTrack[data-stage="1"] .op, #spaceTrack[data-stage="2"] .op, #spaceTrack[data-stage="3"] .op { opacity: 0.9; }
.op1 { offset-path: path("M 408 350 L 1176 349"); animation: pktRun 2.4s linear infinite; }
.op2 { offset-path: path("M 408 350 L 1176 349"); animation: pktRun 3.1s linear infinite; animation-delay: -1.1s; }
.op3 { offset-path: path("M 408 350 L 1176 349"); animation: pktRun 2.0s linear infinite; animation-delay: -0.6s; }

.swhy {
  margin-top: clamp(48px, 8vh, 90px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--line-dark); padding-top: clamp(24px, 4vh, 40px);
}
.swhy__k { display: block; font-size: 11px; letter-spacing: 0.22em; color: var(--amber); margin-bottom: 10px; }
.swhy p { font-size: 14px; line-height: 1.55; color: rgba(247,246,242,0.66); }

.scontext {
  margin-top: clamp(56px, 9vh, 100px);
  border-left: 2px solid var(--line-dark); padding-left: clamp(20px, 3vw, 36px);
  max-width: 72ch;
}
.scontext__head { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; }
.scontext__body { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: rgba(247,246,242,0.62); }
.scontext__foot { margin-top: 18px; font-size: 11.5px; letter-spacing: 0.2em; color: var(--amber); }

/* ─── OFFICES — PUNE ↔ PALO ALTO ─── */
.offices {
  margin-top: clamp(64px, 9vw, 110px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(28px, 4vw, 48px);
}
.offices__head {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: 0.18em; color: var(--steel);
  margin-bottom: clamp(16px, 2.5vw, 28px);
}
.offices__row { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.offices__node { display: flex; flex-direction: column; gap: 8px; position: relative; flex: 0 0 auto; }
.offices__node--right { text-align: right; align-items: flex-end; }
.offices__city { font-size: clamp(15px, 1.6vw, 19px); letter-spacing: 0.26em; color: var(--paper); }
.offices__sub { font-size: 10.5px; letter-spacing: 0.16em; color: var(--steel); }
.offices__link {
  flex: 1 1 auto; min-width: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.offices__linklabel { font-size: 10px; letter-spacing: 0.3em; }
.offices__wire {
  position: relative; width: 100%; height: 9px; display: block;
}
.offices__wire::before {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px;
  background-image: linear-gradient(90deg, var(--red) 0 5px, transparent 5px 16px);
  background-size: 16px 1px;
  animation: officesFlow 1.4s linear infinite;
}
.offices__wire::after,
.offices__pkt { content: ""; position: absolute; }
.offices__wire::after {
  left: -5px; top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.18);
}
.offices__pkt {
  left: calc(100% - 4px); top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.18);
}
@keyframes officesFlow { to { background-position: 32px 0; } }
@keyframes officesFlowV { to { background-position: 0 32px; } }

@media (max-width: 1024px) {
  .chapter__grid { grid-template-columns: 1fr; gap: 48px; }
  .chapter__grid--flip .chapter__copy { order: 1; }
  .chapter__grid--flip .chapter__scene { order: 2; }
  .company__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .pline { grid-template-columns: 110px 1fr; }
  .pline__note { grid-column: 2; }
}

@media (max-width: 860px) {
  .swhy { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__actions .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .thesis__jobs { grid-template-columns: 1fr; border-top: 0; }
  .job { border-right: 0; border-top: 1px solid var(--line-dark); padding-right: 0; }
  .econ__three { grid-template-columns: 1fr; gap: 36px; }
  .press__list { grid-template-columns: 1fr; }
  .intro__cols { grid-template-columns: 1fr; }
  .efacts__row { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .swhy { grid-template-columns: 1fr; gap: 24px; }
  .offices__row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .offices__node--right { text-align: left; align-items: flex-start; }
  .offices__link { width: 100%; min-width: 0; flex-direction: row; align-items: center; gap: 14px; padding-left: 4px; }
  .offices__linklabel { order: 2; white-space: nowrap; }
  .offices__wire { width: auto; height: 44px; flex: 0 0 9px; }
  .offices__wire::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background-image: linear-gradient(180deg, var(--red) 0 5px, transparent 5px 16px); background-size: 1px 16px; animation-name: officesFlowV; }
  .offices__wire::after { left: 0; top: -5px; }
  .offices__pkt { left: 0; top: calc(100% - 4px); }
  .hero__title { font-size: clamp(34px, 10.5vw, 52px); }
  .hero__foot span:last-child { display: none; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .pline { grid-template-columns: 1fr; gap: 8px; }
  .pline__note { grid-column: 1; }
  .efacts__grid { grid-template-columns: 1fr; }
  .tline__list li { grid-template-columns: 60px 1fr; gap: 14px; }
  .footer__top { grid-template-columns: 1fr; }
  .parti { flex-direction: column; }
  .engine__rail .erail__seg { display: none; }
  .engine__rail .erail__seg.is-live { display: inline; }
  .ecap { max-width: none; right: var(--gutter); }
  .scene-media { border-radius: 4px; }
  .container { padding-inline: 20px; }
  .cscene__fig { display: none; }
  .cscene__caps { height: 118px; max-width: none; right: var(--gutter); }
  .ccap p { font-size: 14px; }
}

/* very short viewports: keep engine captions clear of svg centre */
@media (max-height: 620px) {
  .engine__head { padding-top: 64px; }
  .ecap p { font-size: 14.5px; }
}

/* ═══════════════ ENGINE — CBC/SBC ADDITIONS ═══════════════ */
.ecap__s {
  display: block; margin-top: 10px;
  font-size: 12px; letter-spacing: 0.2em; color: var(--cyan-hi);
}
.phase-wave {
  stroke-dasharray: 6 5;
  animation: phaseSlide 1.1s linear infinite;
}
.phase-wave--2 { animation-duration: 1.35s; }
.phase-wave--3 { animation-duration: 0.9s; }
@keyframes phaseSlide { to { stroke-dashoffset: -22; } }

/* ═══════════════ 04 — PHOTON LADDER ═══════════════ */
.ladder { position: relative; }
.ladder__track { height: 560vh; position: relative; }
.ladder__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
}
.ladder__head {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  max-width: var(--w-max); margin: 0 auto;
  padding: clamp(72px, 10vh, 110px) var(--gutter) 0;
  pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.ladder__head .section-mark { margin-bottom: 14px; }
.ladder__title {
  font-size: clamp(26px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.01em;
  color: var(--paper);
}
.ladder--running .ladder__head { opacity: 0.3; transform: scale(0.95); transform-origin: left top; }
.ladder__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* mode colour system — one graph, three jobs */
.ladder.mode-data   { --lk-color: var(--cyan); }
.ladder.mode-effect { --lk-color: var(--red); }
.ladder.mode-power  { --lk-color: var(--amber); }

.lk-soft {
  fill: none; stroke: var(--lk-color); stroke-width: 9;
  stroke-linecap: round; opacity: 0.2; filter: blur(7px);
  transition: stroke .9s var(--ease-out);
}
.lk-core {
  fill: none; stroke: var(--lk-color); stroke-width: 2.2;
  stroke-linecap: round;
  transition: stroke .9s var(--ease-out);
}
.lk-duplex { fill: var(--lk-color); opacity: 0; transition: fill .9s var(--ease-out), opacity .5s var(--ease-out); }
.lk-label {
  fill: #A8AEB5; font-size: 24px; letter-spacing: 3px;
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.lk.is-lit .lk-duplex { opacity: 0.95; }
.lk.is-lit .lk-label { opacity: 1; }

.ladder__hud {
  position: absolute; z-index: 5; right: var(--gutter);
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 26px;
  text-align: right; pointer-events: none;
}
.lmode {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 11.5px; letter-spacing: 0.18em;
  color: rgba(247,246,242,0.6);
  opacity: 0.16; transition: opacity .6s var(--ease-out);
}
.lmode__name { font-size: 12.5px; color: var(--paper); letter-spacing: 0.24em; margin-bottom: 2px; }
.lmode__name em { font-style: normal; color: var(--lk-color); }
.lmode.is-on { opacity: 1; }

.ladder__alt {
  position: absolute; z-index: 5; left: var(--gutter);
  bottom: clamp(28px, 5vh, 44px);
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.2em; color: #8A9096;
}
.ladder__altbar {
  display: inline-block; width: 140px; height: 2px;
  background: rgba(247,246,242,0.14); position: relative; overflow: hidden;
}
#ladderAltFill {
  display: block; position: absolute; inset: 0;
  transform-origin: left; transform: scaleX(0);
  background: var(--lk-color);
}

/* ═══════════════ 05 — SPHERE ═══════════════ */
.sphere { position: relative; }
.sphere__track { height: 380vh; position: relative; }
.sphere__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sphere__head {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  padding-top: clamp(72px, 10vh, 110px);
  pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.sphere__head .section-mark { margin-bottom: 14px; }
.sphere__title {
  font-size: clamp(26px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.01em;
  color: var(--paper);
}
.sphere__title em { font-style: normal; color: var(--cyan-hi); }
.sphere--running .sphere__head { opacity: 0.3; transform: scale(0.95); transform-origin: left top; }
#sphereSvg { position: absolute; inset: 0; width: 100%; height: 100%; }

.scap {
  position: absolute; z-index: 5; bottom: clamp(28px, 6vh, 52px);
  left: var(--gutter); max-width: 52ch;
  font-size: 13px; letter-spacing: 0.14em; line-height: 1.8;
  color: rgba(247,246,242,0.85);
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.scap.is-live { opacity: 1; transform: none; }
.scap__n { display: block; font-size: 11px; letter-spacing: 0.24em; color: var(--red); margin-bottom: 8px; }
.scap__s { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.2em; color: var(--cyan-hi); }

.sph-rack { fill: #1B2026; stroke: #4A515C; stroke-width: 1; }
.sph-head { fill: var(--cyan-hi); }
.sph-chord { stroke: var(--cyan); fill: none; stroke-width: 1; }

.sphere__stats {
  position: absolute; z-index: 5; right: var(--gutter);
  bottom: clamp(28px, 6vh, 52px);
  display: flex; flex-direction: column; gap: 12px; text-align: right;
  font-size: 11.5px; letter-spacing: 0.2em; color: #8A9096;
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.sphere__stats.is-live { opacity: 1; transform: none; }
.sphere__stats span { display: flex; flex-direction: column; gap: 2px; }
.sphere__stats strong {
  font-family: var(--font-sans); font-size: clamp(18px, 2vw, 26px);
  font-weight: 800; letter-spacing: 0; color: var(--paper);
}

@media (max-width: 860px) {
  .ladder__hud { display: none; }
  .lk-label { font-size: 30px; }
  .sphere__stats { right: var(--gutter); left: var(--gutter); flex-direction: row; flex-wrap: wrap; gap: 18px; text-align: left; }
  .scap { max-width: none; right: var(--gutter); bottom: clamp(120px, 20vh, 180px); }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-scene, .reveal-line > span, .ecap { opacity: 1 !important; transform: none !important; }
  .hero__line > span { transform: none; animation: none; }
  .engine__track { height: auto !important; }
  .engine__sticky { position: relative; height: auto; min-height: 100svh; }
  .ecap { position: relative; left: auto; bottom: auto; margin-top: 12px; }
  .engine__captions { position: relative; bottom: auto; padding-block: 24px; }
  .ladder__track, .sphere__track { height: auto !important; }
  .cscene { height: auto !important; }
  .cscene__sticky { position: relative; height: auto; aspect-ratio: 16 / 9; min-height: 60svh; }
  .ccap { position: static; opacity: 1; transform: none; margin-top: 10px; }
  .cscene__caps { position: absolute; height: auto; }
  .ccap:not([data-stage="0"]) { display: none; }
  .ladder__sticky, .sphere__sticky { position: relative; height: auto; min-height: 100svh; }
  .lk .lk-duplex, .lk .lk-label { opacity: 1 !important; }
  .scap { position: relative; left: auto; bottom: auto; opacity: 1 !important; transform: none !important; margin: 12px var(--gutter); }
  .sphere__stats { position: relative; right: auto; bottom: auto; opacity: 1 !important; transform: none !important; margin: 18px var(--gutter); flex-direction: row; flex-wrap: wrap; text-align: left; }
  .lmode { opacity: 1; }
  .phase-wave { animation: none; }
}

/* ══════════════════════ THE JOURNEY — FOLLOW THE PHOTON ══════════════════════ */
.journey { background: #05060A; }
.journey__track { height: 1150vh; position: relative; }
.journey__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: #05060A;
}
.jscene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0; visibility: hidden;
}
.jscene--one { opacity: 1; visibility: visible; }

/* reduced-motion static progression (hidden otherwise) */
.jreduced { display: none; }
.jreduced__row { font-size: 11px; letter-spacing: 0.3em; color: #B9BFC9; line-height: 2; }

/* opening veil */
.jopen {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; background: rgba(5, 6, 10, 0.94); text-align: center;
}
.jopen__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FFF3E4;
  box-shadow: 0 0 18px 6px rgba(255, 217, 168, 0.55);
  animation: jopenPulse 2.6s ease-in-out infinite;
}
@keyframes jopenPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 14px 4px rgba(255, 217, 168, 0.4); }
  50% { transform: scale(1.5); box-shadow: 0 0 26px 10px rgba(255, 217, 168, 0.65); }
}
.jopen__line, .jopen__title { font-size: 13px; letter-spacing: 0.42em; color: #B9BFC9; }
.jopen__hint { font-size: 10px; letter-spacing: 0.36em; color: #46505E; animation: jHint 2.2s ease-in-out infinite; }
@keyframes jHint { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* stage labels */
.jlabel {
  position: absolute; z-index: 5; max-width: 330px;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.jlabel--tl { top: clamp(76px, 12vh, 130px); left: clamp(20px, 5vw, 72px); }
.jlabel--tr { top: clamp(76px, 12vh, 130px); right: clamp(20px, 5vw, 72px); text-align: right; }
.jlabel--bl { bottom: clamp(86px, 15vh, 150px); left: clamp(20px, 5vw, 72px); }
.jlabel--br { bottom: clamp(86px, 15vh, 150px); right: clamp(20px, 5vw, 72px); text-align: right; }
.jlabel__k {
  display: block; font-size: 11px; letter-spacing: 0.3em; color: #8B94A2; margin-bottom: 10px;
}
.jlabel__k::before { content: "— "; color: #46505E; }
.jlabel__k--r { color: #FF8A7C; }
.jlabel__k--a { color: #E8A85C; }
.jlabel__k--c { color: #6FCFE0; }
.jlabel__t {
  font-size: clamp(15px, 1.5vw, 19px); line-height: 1.45; color: #E6E1D8; font-weight: 500;
}
.jlabel__m { display: block; font-size: 10px; letter-spacing: 0.22em; color: #5A6472; margin-top: 10px; }

/* closing frame */
.jfinal {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; text-align: center; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(5, 6, 10, 0.22) 0%, rgba(5, 6, 10, 0.66) 100%);
  opacity: 0; visibility: hidden;
}
.jfinal__head {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(28px, 4.6vw, 58px); letter-spacing: 0.04em; color: #F3EFE7;
}
.jfinal__list { display: flex; gap: clamp(18px, 4vw, 48px); font-size: 12px; letter-spacing: 0.22em; color: #8B94A2; }
.jf--c { color: #6FCFE0; }
.jf--a { color: #E8A85C; }
.jf--r { color: #FF8A7C; }
.jfinal__brand { font-size: 10px; letter-spacing: 0.4em; color: #5A6472; }
.jfinal__brandbig {
  font-family: var(--font-display, var(--font-sans)); font-weight: 700;
  font-size: clamp(44px, 8vw, 108px); letter-spacing: 0.18em; color: #F7F6F2; line-height: 1;
}
.jfinal__e { color: var(--red, #E63946); }
.jfinal__head--sub {
  font-size: clamp(13px, 1.6vw, 19px); font-weight: 500;
  letter-spacing: 0.28em; color: #B9BFC9;
}

/* follow-the-photon HUD */
.jhud {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7;
  display: flex; align-items: center; gap: 22px;
  padding: 14px clamp(20px, 5vw, 72px);
  font-size: 9px; letter-spacing: 0.26em; color: #46505E;
  opacity: 0;
}
.jhud__title { white-space: nowrap; color: #5A6472; }
.jhud__stages { display: flex; gap: clamp(10px, 2.2vw, 26px); flex-wrap: wrap; }
.jhud__stages li { transition: color 0.4s ease; white-space: nowrap; }
.jhud__stages li.is-on { color: #E8A85C; }

/* the chip becomes the system */
.chipstory { padding: clamp(90px, 14vh, 170px) 0; }
.chipstory__kicker { font-size: 11px; letter-spacing: 0.4em; color: #8B94A2; margin-bottom: 22px; }
.chipstory__title {
  font-weight: 700; font-size: clamp(24px, 3.8vw, 52px); letter-spacing: 0.01em; color: #F3EFE7;
}
.chipstory__lead { margin-top: 16px; font-size: clamp(14px, 1.4vw, 17px); color: #A8AEB5; max-width: 620px; }
.chipstory__svg { display: block; width: 100%; height: auto; margin: clamp(30px, 6vh, 64px) 0 clamp(20px, 4vh, 40px); }
.chipstory__row { display: flex; gap: clamp(28px, 6vw, 90px); flex-wrap: wrap; }
.chipstory__item { max-width: 300px; }
.chipstory__item p { font-size: 14px; line-height: 1.55; color: #B9BFC9; }
.chipstory__k { display: block; font-size: 11px; letter-spacing: 0.3em; color: #FFD9A8; margin-bottom: 10px; }
.chipstory__k::before { content: "\2014  "; color: #46505E; }
.chipstory__k--a { color: #E8A85C; }
.chipstory__k--c { color: #6FCFE0; }
@media (max-width: 640px) { .chipstory__row { flex-direction: column; gap: 22px; } }

/* statement section */
.jstate { padding: clamp(110px, 18vh, 200px) 0; }
.jstate__kicker { font-size: 11px; letter-spacing: 0.4em; color: #8B94A2; margin-bottom: 28px; }
.jstate__title {
  font-weight: 700; font-size: clamp(26px, 4.4vw, 60px); line-height: 1.14;
  letter-spacing: 0.01em; color: #F3EFE7; max-width: 1100px;
}
.jstate__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }

/* ── scene life: pulses, blinks ── */
.jphase { animation: jPhaseBlink 1.8s ease-in-out infinite; }
.jphase--2 { animation-delay: 0.25s; }
.jphase--3 { animation-delay: 0.5s; }
.jphase--4 { animation-delay: 0.75s; }
.jphase--5 { animation-delay: 1s; }
@keyframes jPhaseBlink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.jdChg { animation: jPhaseBlink 1.4s ease-in-out infinite; }
.jdLed { animation: jPhaseBlink 1.1s ease-in-out infinite; }

/* journey pulses animate via SMIL animateMotion in the SVG markup (Safari-safe) */

@media (max-width: 640px) {
  .jlabel { max-width: min(300px, 78vw); }
  .jlabel__t { font-size: 14px; }
  .jhud__title { display: none; }
  .jhud { font-size: 8px; gap: 12px; }
  .jfinal__list { flex-direction: column; gap: 10px; }
  .jfinal__head { font-size: clamp(19px, 6.2vw, 26px); letter-spacing: 0.03em; }
  .jstate__cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .journey__track { height: auto; }
  .journey__sticky { position: relative; height: 100svh; }
  /* static wide shot of the whole chain */
  .journey #jWorld { transform: translate(219.2px, 410.4px) scale(0.088); }
  .journey #jOpaAligned { opacity: 1 !important; }
  .journey #jOpaRaw { opacity: 0 !important; }
  .journey #jbDEW, .journey #jbWPT, .journey #jbFSOC, .journey #jChain { opacity: 1 !important; }
  .journey #jPhoton { display: none; }
  .journey .jopen { display: none; }
  .journey .jlabel { display: none; }
  .journey .jreduced {
    display: flex; position: absolute; left: 0; right: 0;
    top: clamp(84px, 14vh, 140px); justify-content: center; z-index: 6;
    padding: 0 20px; text-align: center;
  }
  .journey .jfinal { opacity: 1; visibility: visible; }
  .journey .jhud { display: none; }
  .journey .jp { display: none; } /* SMIL pulses can't be paused via CSS */
  .jopen__pulse, .jopen__hint, .jphase, .jdChg, .jdLed, .jp { animation: none !important; }
}
