:root {
  color-scheme: dark;
  --ink: #080a0f;
  --paper: #f2f0ea;
  --muted: #a5abb5;
  --line: rgba(255, 255, 255, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --scene-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  height: 4.75rem;
  padding: 0 clamp(1rem, 3vw, 3rem);
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(8,10,15,.88);
}
.monogram {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.project-nav { display: flex; justify-content: center; gap: clamp(.7rem, 2vw, 2rem); }
.project-nav a {
  position: relative;
  padding: .5rem 0;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .06em;
}
.project-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 .2rem;
  height: 1px;
  transform: scaleX(0);
  background: currentColor;
  transition: transform .25s ease;
}
.project-nav a:hover::after,
.project-nav a:focus-visible::after,
.project-nav a.is-active::after { transform: scaleX(1); }
.project-nav a.is-active { color: #fff; }
.page-progress {
  width: clamp(3.5rem, 8vw, 7rem);
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.25);
}
.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: #fff;
}

.eyebrow,
.chapter-label,
.scene-kicker,
.scroll-cue,
.science-caption,
.project-evidence span,
.availability {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
}

.intro {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(7rem, 13vh, 9rem) clamp(1.25rem, 6vw, 6rem) 3rem;
  isolation: isolate;
  background: #080a0f;
}
.intro::after {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background: radial-gradient(circle at 74% 45%, rgba(85, 108, 138, .16), transparent 27%);
}
.intro-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: clamp(52px, 7vw, 110px) clamp(52px, 7vw, 110px);
  -webkit-mask-image: linear-gradient(to right, #000, transparent 75%);
  mask-image: linear-gradient(to right, #000, transparent 75%);
}
.intro-copy { align-self: center; max-width: 67rem; }
.intro-copy .eyebrow { margin: 0 0 2rem; color: #8e98a8; }
.intro h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .76;
}
.intro h1 em { color: #c4cbd5; font-weight: 400; }
.intro-deck {
  max-width: 38rem;
  margin: clamp(2rem, 5vh, 4rem) 0 2rem;
  color: #c7cbd2;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.55;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  border-bottom: 1px solid #737d8d;
  padding-bottom: .4rem;
  font-weight: 700;
}
.text-link::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.intro-index {
  position: absolute;
  right: clamp(1.5rem, 6vw, 6rem);
  bottom: clamp(4.5rem, 12vh, 8rem);
  width: min(18rem, 28vw);
  color: #8d95a1;
  font-size: .78rem;
}
.intro-index > span { text-transform: uppercase; letter-spacing: .12em; }
.intro-index ol { margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.intro-index li { padding: .65rem 0; border-bottom: 1px solid var(--line); color: #d2d5da; }
.scroll-cue { position: absolute; left: clamp(1.25rem, 6vw, 6rem); bottom: 2rem; color: #6f7784; }

.intro-orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 7vw;
  width: min(37vw, 34rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
}
.orbit, .orbit-core { position: absolute; border-radius: 50%; }
.intro-orbit .orbit { inset: 10%; border: 1px solid rgba(192,205,222,.21); animation-play-state: paused; }
.intro.is-motion-active .intro-orbit .orbit { animation-play-state: running; }
.intro-orbit .orbit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bdcadb;
  box-shadow: 0 0 22px rgba(189,202,219,.7);
}
.orbit-a { transform: rotate(8deg) scaleX(.65); animation: orbit-a 18s linear infinite; }
.orbit-b { transform: rotate(68deg) scaleX(.45); animation: orbit-b 24s linear infinite reverse; }
.orbit-c { transform: rotate(124deg) scaleX(.78); animation: orbit-c 30s linear infinite; }
.orbit-core { inset: 39%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
@keyframes orbit-a { to { transform: rotate(368deg) scaleX(.65); } }
@keyframes orbit-b { to { transform: rotate(428deg) scaleX(.45); } }
@keyframes orbit-c { to { transform: rotate(484deg) scaleX(.78); } }

.project { position: relative; height: 270vh; --p: var(--scene-progress); }
.scene-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 42rem;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}
.scene-kicker {
  position: absolute;
  z-index: 10;
  top: 6rem;
  left: clamp(1.25rem, 6vw, 6rem);
  right: clamp(1.25rem, 6vw, 6rem);
  display: flex;
  justify-content: space-between;
  padding-bottom: .75rem;
  border-bottom: 1px solid currentColor;
  opacity: .65;
}
.scene-progress {
  --segment-1: #62d9e6;
  --segment-2: #f0d667;
  --segment-3: #ec6db8;
  --segment-4: #8f78f0;
  position: absolute;
  z-index: 18;
  top: 8.15rem;
  right: clamp(.7rem, 1.4vw, 1.35rem);
  width: clamp(8.5rem, 10vw, 10rem);
  padding: 0;
}
.scene-progress-segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: .18rem; }
.scene-progress-segments button {
  --segment-color: #fff;
  position: relative;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.scene-progress-segments button::before {
  content: '';
  position: absolute;
  top: .38rem;
  right: 0;
  left: 0;
  height: .28rem;
  border-radius: 999px;
  background: var(--segment-color);
  opacity: .28;
  transform: scaleX(.82);
  transition: opacity .2s ease, transform .2s ease;
}
.scene-progress-segments button::after {
  content: attr(data-label);
  position: absolute;
  top: 1.35rem;
  right: 0;
  z-index: 2;
  padding: .36rem .48rem;
  border-radius: .35rem;
  color: #fff;
  background: #10151b;
  box-shadow: 0 .35rem .9rem rgba(0,0,0,.18);
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: .02em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-.2rem);
  transition: opacity .15s ease, transform .15s ease;
}
.scene-progress-segments button:focus::after { opacity: 1; transform: none; }
.scene-progress-segments button:focus::before { opacity: 1; transform: scaleX(1) scaleY(1.45); }
@media (hover: hover) {
  .scene-progress-segments button:hover::after { opacity: 1; transform: none; }
  .scene-progress-segments button:hover::before { opacity: 1; transform: scaleX(1) scaleY(1.45); }
}
.scene-progress-segments button:nth-child(1) { --segment-color: var(--segment-1); }
.scene-progress-segments button:nth-child(2) { --segment-color: var(--segment-2); }
.scene-progress-segments button:nth-child(3) { --segment-color: var(--segment-3); }
.scene-progress-segments button:nth-child(4) { --segment-color: var(--segment-4); }
.scene-progress-segments button.is-complete::before { opacity: .72; transform: scaleX(1); }
.scene-progress-segments button.is-current::before { opacity: 1; transform: scaleX(1) scaleY(1.35); }
.scene-progress-google { --segment-1: #16aaa8; --segment-2: #f0b84c; --segment-3: #5b83d3; --segment-4: #df6259; }
.scene-progress-meta { --segment-1: #43e8c4; --segment-2: #09b9eb; --segment-3: #9a7bf1; --segment-4: #e787ce; }
.scene-progress-science { --segment-1: #63d9e6; --segment-2: #f3e867; --segment-3: #ff69d4; --segment-4: #f08f50; }
.project-copy {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: clamp(1.25rem, 6vw, 6rem);
  width: min(35rem, 38vw);
  transform: translateY(-51%);
}
.mobile-feature-copy { display: none; }
.chapter-label { margin: 0 0 1.25rem; opacity: .65; }
.project h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .86;
}
.project-subtitle {
  margin: .8rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  font-style: italic;
  line-height: 1;
  opacity: .72;
}
.project-deck { max-width: 34rem; margin: 1.6rem 0 0; font-size: clamp(1rem, 1.3vw, 1.22rem); line-height: 1.55; opacity: .82; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { background: #121820; color: #fff; }
.button-quiet { border: 1px solid rgba(14,30,40,.3); color: #10202b; }
.button-light { background: #f1eef8; color: #17111e; }
.button-quiet-light { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.availability { margin-left: .3rem; opacity: .55; }
.project-evidence {
  position: absolute;
  z-index: 12;
  right: clamp(1.25rem, 6vw, 6rem);
  bottom: 1.5rem;
  display: grid;
  grid-template-columns: auto minmax(16rem, 28rem);
  gap: 1rem;
  align-items: start;
  max-width: 42rem;
  padding-top: .8rem;
  border-top: 1px solid currentColor;
}
.project-evidence span { white-space: nowrap; opacity: .65; }
.project-evidence p { margin: 0; font-size: .76rem; line-height: 1.5; opacity: .72; }
.frame-shadow { box-shadow: 0 1.4rem 3rem rgba(0,0,0,.2); }

.project-google { color: #14232c; background: #edf1f1; }
.project-google .scene-stage {
  background:
    linear-gradient(106deg, rgba(239,243,243,1) 0 42%, rgba(239,243,243,.75) 53%, transparent 72%),
    radial-gradient(circle at 77% 45%, #dde7e5 0, #edf1f1 48%);
}
.scene-noise {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: radial-gradient(#344b55 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to right, transparent 35%, #000 80%);
  mask-image: linear-gradient(to right, transparent 35%, #000 80%);
}
.google-system {
  position: absolute;
  z-index: 2;
  top: 13%;
  right: 3%;
  width: min(57vw, 70rem);
  height: 75%;
  transform: translate3d(calc((.5 - var(--p)) * 3vw), calc((.5 - var(--p)) * 1.5vh), 0);
}
.google-sidebar {
  position: absolute;
  z-index: 7;
  top: 7%;
  left: 5%;
  width: min(15rem, 22%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16,38,48,.14);
  border-radius: 1.15rem;
  background: #fff;
  transform: rotate(-2deg) translateY(calc((var(--p) - .5) * 4rem));
}
.google-sidebar img { width: 100%; }
.google-sidebar figcaption,
.meta-screen figcaption {
  padding: .65rem .8rem;
  color: #50606a;
  background: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hub-console {
  position: absolute;
  z-index: 5;
  inset: 10% 3% 4% 20%;
  overflow: hidden;
  border: 1px solid rgba(16,38,48,.13);
  border-radius: 1.4rem;
  background: rgba(255,255,255,.9);
  transform: perspective(1300px) rotateY(-7deg) rotateX(2deg) translateX(calc((.5 - var(--p)) * 2rem));
}
.console-bar { display: flex; align-items: center; gap: .4rem; height: 3.4rem; padding: 0 1rem; border-bottom: 1px solid #d8e0e2; }
.console-bar span { width: .55rem; height: .55rem; border-radius: 50%; background: #d7dee0; }
.console-bar b { margin-left: 1rem; color: #374851; font-size: .78rem; }
.console-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; height: calc(100% - 3.4rem); padding: 1.25rem; }
.signal-card, .service-list { position: relative; overflow: hidden; padding: 1rem; border: 1px solid #dbe3e4; border-radius: 1rem; background: #f6f8f8; }
.signal-card small { display: block; color: #79878d; font-size: .62rem; letter-spacing: .12em; }
.signal-card strong { display: block; margin-top: .55rem; font-size: clamp(1rem, 2vw, 1.6rem); }
.signal-card i { position: absolute; right: -1rem; bottom: -1.8rem; width: 7rem; height: 7rem; border: 1rem solid #dbe9e8; border-radius: 50%; }
.signal-primary { color: #fff; background: #174e52; }
.signal-primary small { color: #b9d5d2; }
.signal-primary i { border-color: rgba(255,255,255,.1); }
.console-wide { grid-column: 1 / -1; }
.mini-lines { display: flex; align-items: end; gap: .45rem; height: 68%; margin-top: .6rem; }
.mini-lines span { flex: 1; height: 35%; border-radius: .3rem .3rem 0 0; background: #dce6e5; }
.mini-lines span:nth-child(2) { height: 72%; background: #efb742; }
.mini-lines span:nth-child(3) { height: 54%; background: #5a86d6; }
.mini-lines span:nth-child(4) { height: 88%; background: #d95e55; }
.service-list { display: flex; grid-column: 1 / -1; gap: .5rem; align-items: center; }
.service-list span { padding: .45rem .65rem; border-radius: .5rem; background: #e5eeee; font-size: .68rem; font-weight: 700; }
.google-orbit { position: absolute; z-index: 1; border: 1px solid rgba(18,68,72,.18); border-radius: 50%; }
.orbit-one { inset: -4% 2% 0 6%; transform: rotate(21deg); }
.orbit-two { inset: 8% -5% 8% 15%; transform: rotate(-18deg); }
.service-node { position: absolute; z-index: 9; display: flex; align-items: center; gap: .45rem; padding: .45rem .65rem .45rem .45rem; border: 1px solid rgba(15,49,54,.14); border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 .8rem 2rem rgba(25,54,59,.12); }
.service-node span { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; font-size: .7rem; font-weight: 900; }
.service-node b { font-size: .7rem; }
.node-health { top: 2%; right: 12%; transform: translateY(calc(var(--p) * 2rem)); }
.node-health span { color: #167c82; background: #d8eeee; }
.node-time { bottom: 8%; right: 1%; transform: translateX(calc((.5 - var(--p)) * 3rem)); }
.node-time span { color: #5c5750; background: #e7e4df; }
.node-media { right: 5%; top: 45%; transform: translateX(calc((var(--p) - .5) * 4rem)); }
.node-media span { color: #c2473e; background: #fae2df; }

.transition { position: relative; z-index: 3; display: grid; place-items: center; height: 42vh; min-height: 19rem; overflow: hidden; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 5rem); font-style: italic; }
.transition span { transform: translateY(calc((.5 - var(--transition-progress, .5)) * 4rem)); }
.transition-meta { color: #eee7f5; background: linear-gradient(#edf1f1 0%, #2a153e 65%, #160e22 100%); }
.transition-science { color: #e9e7ec; background: linear-gradient(#160e22 0%, #0a0b10 70%); }

.project-meta { color: #f2edf7; background: #160e22; }
.project-meta .scene-stage { background: radial-gradient(circle at 76% 48%, #33204b 0, #160e22 48%, #0f0b16 100%); }
.meta-contours {
  position: absolute;
  inset: 0;
  opacity: .16;
  background:
    repeating-radial-gradient(ellipse at 78% 48%, transparent 0 3.2rem, rgba(191,151,231,.28) 3.3rem 3.4rem),
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.08) 50%, transparent 50.2%);
}
.meta-system { position: absolute; z-index: 2; top: 14%; right: 2%; width: 61vw; height: 72%; }
.meta-screen {
  position: absolute;
  z-index: 4;
  top: 20%;
  right: 4%;
  width: 77%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(202,172,232,.35);
  border-radius: 1.2rem;
  background: #150d21;
  transform: perspective(1300px) rotateY(calc(-7deg + var(--p) * 5deg)) rotateX(2deg) translateY(calc((.5 - var(--p)) * 2rem));
}
.meta-screen img { width: 100%; }
.meta-screen figcaption { color: #bcaacf; background: #1d112d; }
.meta-axis { position: absolute; background: rgba(203,178,229,.22); }
.axis-y { z-index: 2; top: 7%; bottom: 0; left: 16%; width: 1px; }
.axis-x { z-index: 2; right: 0; bottom: 7%; left: 7%; height: 1px; }
.meta-orb { position: absolute; z-index: 1; border: 1px solid rgba(227,198,255,.28); border-radius: 50%; }
.orb-one { top: 0; right: 0; width: 14rem; height: 14rem; transform: translate(calc((.5 - var(--p)) * 2rem), calc((var(--p) - .5) * 3rem)); }
.orb-two { bottom: 0; left: 7%; width: 8rem; height: 8rem; transform: translate(calc((var(--p) - .5) * 3rem), calc((.5 - var(--p)) * 2rem)); }
.metric { position: absolute; z-index: 7; min-width: 8rem; padding: .8rem 1rem; border: 1px solid rgba(216,189,244,.3); border-radius: .8rem; background: rgba(24,15,36,.96); }
.metric span { display: block; color: #a997bd; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.metric b { display: block; margin-top: .25rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.metric-a { top: 7%; left: 3%; transform: translateY(calc(var(--p) * 1.5rem)); }
.metric-b { top: 53%; left: 0; transform: translateX(calc((.5 - var(--p)) * 2rem)); }
.metric-c { right: 0; bottom: 2%; transform: translateY(calc((.5 - var(--p)) * 2rem)); }
.meta-trace { position: absolute; z-index: 3; inset: auto 0 -4% 8%; width: 92%; height: 43%; overflow: visible; opacity: .6; }
.trace { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: calc(1200 - (1200 * var(--p))); }
.trace-a { stroke: #46d8cc; }
.trace-b { stroke: #6397ff; }
.trace-c { stroke: #a677f5; }

.project-gallery {
  position: absolute;
  z-index: 2;
  top: 13%;
  right: 0;
  width: 62vw;
  height: 76%;
  margin: 0;
  contain: layout paint;
}
.gallery-images { position: absolute; inset: 0; overflow: hidden; }
.gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0;
  transform: translateX(.65rem);
  transition: opacity .3s ease, transform .4s ease;
}
.gallery-image.is-active { opacity: 1; transform: none; }
.gallery-caption {
  position: absolute;
  z-index: 4;
  right: clamp(1.25rem, 6vw, 6rem);
  bottom: 5rem;
  display: grid;
  grid-template-columns: auto minmax(18rem, 32rem);
  gap: 1rem;
  width: min(46rem, 82%);
  padding-top: .9rem;
}
.gallery-caption figcaption { font-size: .82rem; font-weight: 600; opacity: .78; }
.google-gallery { right: 1.5vw; width: 59vw; color: #14232c; }
.google-gallery .gallery-image { background: #edf1f1; }
.meta-gallery { right: 1.5vw; width: 60vw; color: #f2edf7; }
.meta-gallery .gallery-image { background: #160e22; }
.google-gallery .gallery-images,
.meta-gallery .gallery-images { bottom: 3.5rem; border-radius: 1rem; }
.google-gallery .gallery-images { box-shadow: 0 1.3rem 3rem rgba(25,54,59,.16); }
.google-gallery .gallery-images:has(.gallery-image-caption-fade.is-active)::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  --caption-fade-depth: calc((76vh - 3.5rem) / 8);
  background:
    linear-gradient(to right, #edf1f1 0, rgba(237,241,241,.72) 32%, rgba(237,241,241,0) 100%) left / var(--caption-fade-depth) 100% no-repeat,
    linear-gradient(to bottom, rgba(237,241,241,0), rgba(237,241,241,.72) 68%, #edf1f1 100%) bottom / 100% var(--caption-fade-depth) no-repeat;
}
.meta-gallery .gallery-images { box-shadow: 0 1.3rem 3rem rgba(0,0,0,.28); }
.meta-gallery .gallery-images::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #160e22 0%, rgba(22,14,34,.44) 24%, transparent 52%),
    linear-gradient(0deg, rgba(22,14,34,.6), transparent 35%);
}
.google-sidebar-card {
  position: absolute;
  z-index: 9;
  top: 22%;
  left: .75rem;
  width: clamp(6.8rem, 9vw, 9rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16,38,48,.16);
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 1.1rem 2.6rem rgba(21,46,54,.22);
  animation: sidebar-hover 5.5s ease-in-out infinite;
  animation-play-state: paused;
  will-change: transform;
}
.project-google.is-in-view .google-sidebar-card { animation-play-state: running; }
.google-sidebar-card img { width: 100%; }
.google-sidebar-card > span { display: block; padding: .5rem .6rem; color: #50606a; background: #fff; font-size: .61rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@keyframes sidebar-hover { 0%, 100% { transform: translate3d(0,-.35rem,0) rotate(-1.5deg); } 50% { transform: translate3d(0,.55rem,0) rotate(1deg); } }
.feature-orbit-card {
  --orbit-x: 0vw;
  --orbit-y: -.4rem;
  --orbit-r: -8deg;
  position: absolute;
  z-index: 14;
  top: calc(13% + 1.1rem);
  left: 50%;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .7rem;
  align-items: center;
  width: clamp(14rem, 20vw, 19rem);
  padding: .7rem .8rem;
  border: 1px solid rgba(13,74,78,.2);
  border-radius: .85rem;
  color: #14232c;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1rem 2rem rgba(25,54,59,.16);
  transform: translate3d(var(--orbit-x),var(--orbit-y),0) rotate(var(--orbit-r));
  transform-origin: 20% 50%;
  transition: transform .65s cubic-bezier(.2,.75,.25,1);
  will-change: transform;
}
.feature-orbit-card::after { content: ''; position: absolute; right: -.35rem; top: 50%; width: .72rem; height: .72rem; border-radius: 50%; background: #16aaa8; box-shadow: 0 0 0 .35rem rgba(22,170,168,.15); }
.feature-orbit-card > span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; background: #174e52; font-size: .7rem; font-weight: 900; }
.feature-orbit-card strong,
.feature-orbit-card small { display: block; }
.feature-orbit-card strong { font-size: .82rem; }
.feature-orbit-card small { margin-top: .12rem; font-size: .66rem; line-height: 1.3; opacity: .65; }

.project-science { height: 330vh; color: #f4f0ed; background: #090a0e; }
.project-science .scene-stage { background: #090a0e; }
.science-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(129,217,226,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,217,226,.3) 1px, transparent 1px);
  background-size: 5rem 5rem;
  transform: perspective(700px) rotateX(68deg) translateY(49%) scale(1.8);
  transform-origin: bottom;
}
.project-science .project-copy {
  padding: 1.5rem 1.5rem 1.5rem 0;
  background: linear-gradient(90deg, rgba(9,10,14,.96) 0 75%, transparent);
}
.science-gallery {
  top: 12%;
  right: 0;
  width: 64vw;
  height: 76%;
}
.science-images { position: absolute; inset: 0; overflow: hidden; }
.science-images::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090a0e 0%, rgba(9,10,14,.44) 24%, transparent 52%), linear-gradient(0deg, rgba(9,10,14,.6), transparent 35%);
  pointer-events: none;
}
.science-image {
  object-position: right center;
}
.science-image-white {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.science-image.is-active { opacity: 1; transform: scale(1) translateX(0); }
.science-caption {
  position: absolute;
  right: clamp(1.25rem, 6vw, 6rem);
  bottom: 5rem;
  display: grid;
  grid-template-columns: auto minmax(18rem, 32rem);
  gap: 1rem;
  width: min(46rem, 80%);
  padding-top: .9rem;
}
.science-caption figcaption { text-transform: none; letter-spacing: normal; font-size: .82rem; font-weight: 500; opacity: .78; }
.science-evidence { left: clamp(1.25rem, 6vw, 6rem); right: auto; max-width: 43rem; }

.next-chapters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, .92fr);
  gap: clamp(4rem, 10vw, 10rem);
  min-height: 100vh;
  padding: clamp(7rem, 13vh, 10rem) clamp(1.25rem, 6vw, 6rem);
  color: #172028;
  background: #ecebe6;
}
.next-heading { align-self: start; position: sticky; top: 8rem; }
.next-heading .eyebrow { color: #6d7479; }
.next-heading h2 { margin: 1.5rem 0; font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 7rem); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.next-heading > p:last-child { max-width: 36rem; color: #586168; font-size: 1.08rem; }
.project-roadmap { align-self: center; margin: 0; padding: 0; list-style: none; border-top: 1px solid #bbc0c1; }
.project-roadmap li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid #bbc0c1; }
.project-roadmap span { color: #7c858a; font-size: .74rem; }
.project-roadmap b { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 400; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 4rem clamp(1.25rem, 6vw, 6rem); color: #aeb4bd; background: #080a0f; }
.site-footer > p { max-width: 38rem; margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 3rem); color: #edf0f3; line-height: 1.05; }
.site-footer div { display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.site-footer a { text-decoration-color: #68717f; text-underline-offset: .3rem; }
.site-footer small { grid-column: 1 / -1; padding-top: 3rem; border-top: 1px solid #242a31; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 760px) {
  .project-nav { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .page-progress { justify-self: end; }
  .intro-orbit { right: -15vw; width: 62vw; opacity: .72; }
  .intro-index { width: 13rem; }
  .project-copy { top: 25%; width: min(34rem, 74vw); transform: none; }
  .project h2 { font-size: clamp(3.3rem, 10vw, 6rem); }
  .project-deck { max-width: 30rem; }
  .google-system, .meta-system { top: 40%; right: -8%; width: 92vw; height: 54%; }
  .project-gallery { top: 40%; right: 0; width: 100vw; height: 50%; }
  .google-sidebar { width: 19%; }
  .hub-console { inset: 4% 3% 4% 16%; }
  .project-evidence { left: clamp(1.25rem, 6vw, 6rem); right: auto; max-width: 88vw; }
  .science-gallery { top: 40%; width: 100vw; height: 50%; }
  .science-images::after { background: linear-gradient(90deg, #090a0e 0%, rgba(9,10,14,.5) 11%, transparent 26%), linear-gradient(0deg, rgba(9,10,14,.82), transparent 50%); }
  .science-caption { right: 1.25rem; width: calc(100% - 2.5rem); }
  .science-evidence { display: none; }
  .scene-progress { width: 8rem; }
  .feature-orbit-card { top: calc(40% + 1.1rem); left: 18%; }
  .next-chapters { grid-template-columns: 1fr; }
  .next-heading { position: static; }
}

@media (max-width: 760px) {
  .intro { padding-top: 8rem; }
  .intro h1 { font-size: clamp(4.1rem, 22vw, 7rem); }
  .intro-deck { max-width: 93%; font-size: 1.05rem; }
  .intro-index { display: none; }
  .intro-orbit { top: 29%; right: -30vw; width: 86vw; opacity: .45; }
  .scroll-cue { right: 1.25rem; font-size: .62rem; line-height: 1.4; }
  .project,
  .project-science { height: 520svh; }
  .scene-stage {
    position: sticky;
    display: block;
    min-height: 0;
    height: 100svh;
    padding: 0;
  }
  .scene-kicker { top: clamp(82px, 13.5svh, 125px); left: 1.25rem; right: 1.25rem; }
  .scene-kicker span:last-child { display: none; }
  .scene-progress { top: calc(min(47%, 23rem) - 2.45rem); right: .9rem; z-index: 20; width: 9rem; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .project.is-gallery-focused .scene-progress { opacity: 1; pointer-events: auto; }
  .scene-progress-segments button { height: 2.4rem; touch-action: manipulation; }
  .scene-progress-segments button::before { opacity: .42; }
  .project-copy {
    position: absolute;
    top: 8.35rem;
    left: 1.25rem;
    width: calc(100% - 2.5rem);
    transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .project.is-gallery-focused .project-copy { opacity: 0; pointer-events: none; transform: translateY(-1rem); }
  .mobile-feature-copy {
    position: absolute;
    z-index: 9;
    top: 8.35rem;
    left: 1.25rem;
    right: 1.25rem;
    display: block;
    max-width: 32rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(.8rem);
    transition: opacity .28s ease, transform .32s ease;
  }
  .project.is-gallery-focused .mobile-feature-copy { opacity: 1; transform: none; }
  .mobile-feature-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .65;
  }
  .mobile-feature-copy h3 {
    max-width: 15ch;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(32px, 8.6vw, 44px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
  }
  .mobile-feature-copy > p {
    max-width: 31rem;
    margin: .75rem 0 0;
    font-size: clamp(15px, 3.5vw, 18px);
    line-height: 1.42;
    opacity: .78;
  }
  .chapter-label { display: none; }
  .project h2 { font-size: clamp(2.85rem, 12.8vw, 4.15rem); }
  .project-subtitle { margin-top: .45rem; font-size: clamp(1.45rem, 6.2vw, 2.15rem); }
  .project-deck { max-width: 96%; margin-top: .75rem; font-size: clamp(.9rem, 3.4vw, 1rem); line-height: 1.42; }
  .project-actions { margin-top: .75rem; gap: .5rem; }
  .button { min-height: 2.3rem; padding: .5rem .8rem; font-size: .76rem; }
  .google-system,
  .meta-system {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% + 3rem);
    height: 23rem;
    margin: 2rem -1.5rem 0;
  }
  .project-gallery {
    position: absolute;
    top: 52%;
    right: 0;
    width: 100%;
    height: 45%;
    margin: 0;
    transition: top .32s ease, height .32s ease;
  }
  .google-gallery,
  .meta-gallery { top: min(52%, 25rem); }
  .project.is-gallery-focused .project-gallery { top: min(47%, 23rem); height: 50%; }
  .google-gallery .gallery-images,
  .meta-gallery .gallery-images { bottom: 2.8rem; border-radius: 0; }
  .gallery-caption { right: 1.25rem; bottom: 0; width: calc(100% - 2.5rem); grid-template-columns: auto 1fr; }
  .gallery-caption figcaption { font-size: .68rem; }
  .google-sidebar-card { top: 29%; left: .65rem; width: 5.2rem; opacity: 0; }
  .project.is-gallery-focused .google-sidebar-card { opacity: 1; }
  .google-sidebar-card > span { display: none; }
  .feature-orbit-card { display: none; }
  .feature-orbit-card > span { width: 1.65rem; height: 1.65rem; }
  .feature-orbit-card strong { font-size: .72rem; }
  .feature-orbit-card small { font-size: .58rem; }
  .google-sidebar { top: -4%; left: 11%; width: 22%; }
  .hub-console { inset: 0 0 0 23%; }
  .console-grid { gap: .45rem; padding: .6rem; }
  .service-node, .metric { transform: scale(.8); }
  .project-evidence {
    display: none;
  }
  .meta-screen { top: 5%; width: 82%; }
  .meta-trace { bottom: 0; }
  .project-science .project-copy { padding-right: 0; }
  .science-gallery { top: 52%; right: 0; width: 100%; height: 45%; }
  .project-science.is-gallery-focused .science-gallery { top: min(47%, 23rem); height: 50%; }
  .science-caption { grid-template-columns: auto 1fr; bottom: -1.2rem; font-size: .62rem; }
  .science-caption figcaption { font-size: .68rem; }
  .project.is-gallery-focused .scene-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 180px auto minmax(0, 1fr);
  }
  .project.is-gallery-focused .mobile-feature-copy {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    max-width: none;
    margin: 0 1.25rem;
    padding-bottom: 3.15rem;
  }
  .project.is-gallery-focused .scene-progress {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    top: auto;
    right: auto;
    margin: 0 .9rem .35rem 0;
  }
  .project.is-gallery-focused .project-gallery,
  .project-science.is-gallery-focused .science-gallery {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    align-self: stretch;
    top: auto;
    right: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .project.is-gallery-focused .gallery-image {
    object-fit: contain;
    object-position: center;
  }
  .project.is-gallery-focused .google-sidebar-card {
    top: auto;
    bottom: 2.8rem;
  }
  .project-science.is-gallery-focused .science-caption {
    bottom: 0;
  }
  .transition { height: 30vh; min-height: 14rem; }
  .next-chapters { padding-top: 6rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer div { align-items: flex-start; }
}

@media (max-width: 760px) and (max-height: 780px) {
  .project-copy { top: 7.8rem; }
  .project h2 { font-size: clamp(2.5rem, 11vw, 3.15rem); }
  .project-subtitle { margin-top: .35rem; font-size: clamp(1.25rem, 5.4vw, 1.75rem); }
  .project-deck { margin-top: .55rem; font-size: .82rem; line-height: 1.32; }
  .project-actions { margin-top: .55rem; }
  .button { min-height: 2.1rem; padding: .4rem .7rem; font-size: .7rem; }
  .project-google:not(.is-gallery-focused) .project-gallery,
  .project-meta:not(.is-gallery-focused) .project-gallery { top: 54%; height: 43%; }
  .project-science:not(.is-gallery-focused) .project-gallery { top: 62%; height: 35%; }
}

@media (max-height: 780px) and (min-width: 761px) {
  .scene-kicker { top: 4.6rem; }
  .scene-progress { top: 6.55rem; }
  .project-copy { top: 47%; width: min(31rem, 37vw); }
  .chapter-label { margin-bottom: .7rem; }
  .project h2 { font-size: clamp(3rem, 5.1vw, 4.8rem); }
  .project-subtitle { margin-top: .55rem; font-size: clamp(1.4rem, 2.4vw, 2.4rem); }
  .project-deck { margin-top: .9rem; font-size: .95rem; line-height: 1.42; }
  .project-actions { margin-top: .9rem; }
  .button { min-height: 2.4rem; padding: .55rem .9rem; }
  .project-gallery { top: 14%; height: 68%; }
  .gallery-caption,
  .science-caption { bottom: 3.75rem; width: min(36rem, 74%); grid-template-columns: auto minmax(0, 1fr); }
  .project-evidence { bottom: .7rem; padding-top: .55rem; }
  .google-sidebar-card { top: 25%; width: clamp(5.8rem, 7vw, 7.4rem); }
  .feature-orbit-card { top: calc(14% + .6rem); width: clamp(13rem, 18vw, 16rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .project, .project-science { height: auto; }
  .scene-stage { position: relative; min-height: 62rem; }
  .google-system, .meta-system, .google-sidebar, .hub-console, .service-node, .meta-screen, .metric { transform: none; }
  .project-science .scene-stage { min-height: 88rem; }
  .project-gallery { top: 41%; height: auto; }
  .gallery-images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: 0 1rem; }
  .gallery-image { position: relative; width: 100%; height: 16rem; opacity: 1; transform: none; object-fit: contain; border: 1px solid rgba(255,255,255,.16); }
  .gallery-images::after, .gallery-caption { display: none; }
  .google-sidebar-card { animation: none; transform: none; }
  .feature-orbit-card { transition: none; }
}
