@font-face { font-family: 'system'; src: local('Inter'), local('Segoe UI'), local('Helvetica Neue'); }

:root {
  --navy: #1c2b33;
  --navy-deep: #121e24;
  --terracotta: #e8562a;
  --tan: #c9a172;
  --slate: #7c8d95;
  --cream: #f2efe8;
  --section-color: #e8562a;
  --section-accent: #f3a07d;
  --panel-bg: rgba(14, 22, 27, 0.97);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; width: 100%; height: 100%;
  background: var(--cream);
  color: var(--navy);
  font-family: 'system', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

#scene-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%; display: block;
  transition: opacity 0.7s ease, filter 0.7s ease;
}
body.no-webgl #scene-canvas { display: none; }
body.no-webgl #scrim { display: none; }
body[data-step="opening"] #scene-canvas {
  opacity: 1;
  filter: saturate(0.98) contrast(1);
}

#scrim {
  position: fixed; inset: 0;
  background: linear-gradient(180deg, rgba(18,30,36,0.0) 0%, rgba(18,30,36,0.0) 55%, rgba(18,30,36,0.38) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ---------------------------------------------------------------- brand bar */
#brand-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 34px;
  pointer-events: none;
}
.brand-mark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--navy); letter-spacing: 0.01em; }
.brand-mark svg,
.brand-mark img {
  display: block;
}
.brand-mark img {
  object-fit: contain;
}
.brand-title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--section-color); transition: color 0.6s ease;
}

/* ---------------------------------------------------------------- panels */
#panel-root {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
}

.panel {
  position: absolute;
  opacity: 0;
  pointer-events: auto;
}

.card {
  background: var(--panel-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45);
  color: var(--cream);
}

/* -- intro / point panel: lower-left card -- */
.panel--point {
  left: 5vw; bottom: 8vh; width: min(480px, 42vw);
}
.panel--point .card { padding: 40px 42px; }

/* Mini-stops alternate across the road. The editorial card always occupies
   the opposite side, keeping the active world-space exhibit unobstructed. */
body[data-exhibit-side="left"] .panel--point {
  left: auto;
  right: 5vw;
}

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--section-accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--section-color); color: var(--navy-deep);
  font-size: 11px; font-weight: 800;
}

.panel h1 {
  font-size: clamp(30px, 3.3vw, 46px); line-height: 1.12; margin: 0 0 12px 0; font-weight: 600; letter-spacing: -0.01em;
}
.panel .subtitle { font-size: 17.5px; color: var(--section-accent); margin: 0 0 20px 0; font-weight: 700; }

.panel ul { list-style: none; margin: 22px 0 0 0; padding: 0; }
.panel ul li {
  position: relative; padding-left: 24px; margin-bottom: 16px;
  font-size: 16.5px; line-height: 1.55; color: rgba(242,239,232,0.92);
}
.panel ul li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px;
  background: var(--section-color); transform: rotate(45deg);
}

.highlight-line {
  margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--section-color);
  background: rgba(255,255,255,0.06); font-size: 15.5px; font-style: italic; color: var(--cream);
  border-radius: 0 8px 8px 0;
}

.panel--vector-slide {
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 82vw);
  padding: 18px 34px 20px;
  box-sizing: border-box;
  text-align: center;
  color: var(--navy);
  background: rgba(239,229,210,0.96);
  border-top: 2px solid var(--section-color);
  box-shadow: 0 18px 38px -34px rgba(18,30,36,0.72);
}
.panel--vector-slide .eyebrow {
  justify-content: center;
  color: var(--section-color);
  margin-bottom: 8px;
}
.panel--vector-slide h1 {
  margin: 0;
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 650;
  letter-spacing: -0.025em;
}
.vector-deck {
  margin: 6px 0 12px;
  color: #1c2b33;
  font-size: 17px;
}
.vector-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 14px auto 0;
  max-width: 1040px;
  text-align: left;
}
.vector-outcome {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(28,43,51,0.22);
}
.vector-outcome > span {
  color: var(--section-color);
  font-size: 12px;
  font-weight: 750;
}
.vector-outcome strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.vector-outcome p {
  margin: 0;
  color: #1c2b33;
  font-size: 12.5px;
  line-height: 1.38;
}

/* Closing slide: held back by main.js until the capability vault finishes
   opening, so this reads as the reward/payoff -- a top banner (like
   panel--vector-slide) rather than a card competing with the vault. */
.panel--final-slide {
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 78vw);
  padding: 30px 46px 34px;
  box-sizing: border-box;
  text-align: center;
  color: var(--navy);
  background: #f7f0dc;
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 24px 50px -30px rgba(18,30,36,0.55);
}
.panel--final-slide .eyebrow {
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.panel--final-slide h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.final-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 20px;
}
.final-flow span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1c2b33;
  white-space: nowrap;
}
.final-flow span.is-destination { color: var(--terracotta); }
.final-flow__connector {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(28,43,51,0.4), rgba(232,86,42,0.6));
  position: relative;
}
.final-flow__connector::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--terracotta);
  border-right: 1px solid var(--terracotta);
  transform: rotate(45deg);
}
.final-credit {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(28,43,51,0.18);
  font-size: 14.5px;
  font-weight: 600;
  font-style: italic;
  color: #1c2b33;
}
.final-credit span {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
}

/* 3D & Immersive uses an open editorial column, not the generic dark card. */
.panel--immersive-slide {
  top: 124px;
  left: 5.8vw;
  width: min(610px, 33vw);
  padding: 30px 76px 34px 30px;
  box-sizing: border-box;
  color: var(--navy);
  background: radial-gradient(ellipse at 28% 48%, rgba(240,231,211,0.98) 0%, rgba(240,231,211,0.93) 54%, rgba(240,231,211,0.68) 68%, rgba(240,231,211,0) 82%);
}
body[data-exhibit-side="left"] .panel--immersive-slide {
  left: auto;
  right: 5.8vw;
  padding: 30px 30px 34px 76px;
  background: radial-gradient(ellipse at 72% 48%, rgba(240,231,211,0.98) 0%, rgba(240,231,211,0.93) 54%, rgba(240,231,211,0.68) 68%, rgba(240,231,211,0) 82%);
}
.panel--immersive-slide .eyebrow {
  color: var(--section-color);
  margin-bottom: 12px;
}
.panel--immersive-slide h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 4vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.immersive-deck {
  max-width: 500px;
  margin: 15px 0 22px;
  color: var(--section-color);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}
.immersive-capabilities {
  display: grid;
  gap: 0;
}
.immersive-capability {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(28,43,51,0.22);
}
.immersive-capability > span {
  color: var(--section-color);
  font-size: 12px;
  font-weight: 750;
}
.immersive-capability strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.immersive-capability p {
  max-width: 470px;
  margin: 0;
  color: #1c2b33;
  font-size: 13.5px;
  line-height: 1.45;
}

.panel--design-exploration {
  top: 88px;
  left: 7vw;
  transform: none;
  display: block;
  width: min(760px, 42vw);
  padding: 26px 48px 36px;
  box-sizing: border-box;
  color: var(--navy);
  text-align: left;
  background: linear-gradient(
    90deg,
    rgba(240,231,211,0.94) 0%,
    rgba(240,231,211,0.91) 78%,
    rgba(240,231,211,0) 100%
  );
}
body[data-exhibit-side="left"] .panel--design-exploration {
  left: auto;
  right: 7vw;
  background: linear-gradient(
    270deg,
    rgba(240,231,211,0.94) 0%,
    rgba(240,231,211,0.91) 78%,
    rgba(240,231,211,0) 100%
  );
}
.panel--design-exploration .eyebrow {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start;
  color: var(--section-color);
  margin: 0 0 14px;
}
.panel--design-exploration h1 {
  grid-column: 1;
  grid-row: 2;
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.design-themes {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 34px;
  width: 100%;
  max-width: 680px;
  margin: 52px 0 0;
  align-self: start;
}
.design-theme {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 0;
  text-align: left;
}
.design-theme__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(232,86,42,0.48);
  border-radius: 50%;
  color: var(--section-color);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.design-theme__copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.design-theme p {
  margin: 0;
  color: #1c2b33;
  font-size: 13px;
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.panel--variation-slide {
  top: 118px;
  left: 6vw;
  width: min(560px, 38vw);
  box-sizing: border-box;
  padding: 28px 34px 32px;
  color: var(--navy);
  background: linear-gradient(90deg, #f7f0dc 0%, #f7f0dc 82%, rgba(247,240,220,0) 98%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 92%, transparent 100%);
}
body[data-exhibit-side="left"] .panel--variation-slide {
  left: auto;
  right: 25vw;
  width: min(475px, 30vw);
  background: linear-gradient(270deg, #f7f0dc 0%, #f7f0dc 82%, rgba(247,240,220,0) 98%);
}
.panel--variation-slide .eyebrow {
  color: var(--section-color);
  margin-bottom: 16px;
}
.panel--variation-slide h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(42px, 3.8vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.variation-deck {
  margin: 16px 0 34px;
  color: var(--section-color);
  font-size: 17px;
  font-weight: 650;
}
.variation-research {
  display: grid;
  gap: 23px;
  max-width: 520px;
}
.variation-research__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(28,43,51,0.24);
}
.variation-research__item > span {
  color: var(--section-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.variation-research__item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.variation-research__item p {
  margin: 0;
  color: #1c2b33;
  font-size: 14px;
  line-height: 1.45;
}

.panel--static-illustration {
  top: 112px;
  left: 5.5vw;
  width: min(620px, 34vw);
  box-sizing: border-box;
  padding: 32px 48px 40px 32px;
  color: var(--navy);
  background: linear-gradient(90deg, rgba(240,231,211,0.95) 0%, rgba(240,231,211,0.88) 76%, rgba(240,231,211,0) 100%);
}
.static-illustration__number {
  position: absolute;
  right: 54px;
  top: -30px;
  color: rgba(123,95,201,0.10);
  font-size: 150px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
  pointer-events: none;
}
.panel--static-illustration .eyebrow {
  position: relative;
  color: var(--section-color);
  margin: 0 0 14px;
}
.panel--static-illustration h1 {
  position: relative;
  margin: 0;
  max-width: 620px;
  font-size: clamp(48px, 4.4vw, 72px);
  line-height: 0.94;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.static-illustration__deck {
  position: relative;
  max-width: 570px;
  margin: 20px 0 34px;
  color: #1c2b33;
  font-size: 17px;
  line-height: 1.48;
}
.static-illustration__beats {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 590px;
  border-top: 1px solid rgba(28,43,51,0.25);
}
.static-illustration__beat {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(28,43,51,0.20);
}
.static-illustration__beat > span {
  color: var(--section-color);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.static-illustration__beat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.static-illustration__beat p {
  margin: 0;
  color: #1c2b33;
  font-size: 14px;
  line-height: 1.42;
}

.panel--dynamic-illustration {
  top: 112px;
  right: 6vw;
  width: min(610px, 35vw);
  box-sizing: border-box;
  padding: 32px 32px 40px 60px;
  color: var(--navy);
  background: linear-gradient(270deg, rgba(240,231,211,0.95) 0%, rgba(240,231,211,0.87) 78%, rgba(240,231,211,0) 100%);
}
.panel--dynamic-illustration .eyebrow {
  color: var(--section-color);
  margin: 0 0 28px;
}
.dynamic-illustration__kicker {
  margin: 0 0 9px;
  color: var(--section-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.panel--dynamic-illustration h1 {
  margin: 0;
  font-size: clamp(48px, 4.5vw, 72px);
  line-height: 0.94;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.dynamic-illustration__deck {
  margin: 16px 0 30px;
  color: #1c2b33;
  font-size: 18px;
}
.dynamic-illustration__studies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.dynamic-illustration__study {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding-top: 15px;
  border-top: 2px solid var(--section-color);
}
.dynamic-illustration__index {
  color: var(--section-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.dynamic-illustration__study strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dynamic-illustration__study small {
  display: block;
  margin: 5px 0 13px;
  color: var(--section-color);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dynamic-illustration__study p {
  margin: 0;
  color: #1c2b33;
  font-size: 13.5px;
  line-height: 1.45;
}
.dynamic-illustration__loop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #1c2b33;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dynamic-illustration__loop span {
  width: 34px;
  height: 12px;
  border: 2px solid var(--section-color);
  border-left-color: transparent;
  border-radius: 999px;
}

.panel--texture-slide {
  top: 110px;
  left: 5.5vw;
  width: min(650px, 37vw);
  box-sizing: border-box;
  padding: 34px 56px 40px 32px;
  color: var(--navy);
  background: linear-gradient(90deg, rgba(240,231,211,0.95) 0%, rgba(240,231,211,0.87) 78%, rgba(240,231,211,0) 100%);
}
.panel--texture-slide .eyebrow {
  color: var(--section-color);
  margin: 0 0 26px;
}
.texture-slide__kicker {
  margin: 0 0 8px;
  color: var(--section-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.panel--texture-slide h1 {
  margin: 0;
  font-size: clamp(54px, 5vw, 80px);
  line-height: 0.9;
  font-weight: 650;
  letter-spacing: -0.055em;
}
.texture-slide__deck {
  max-width: 570px;
  margin: 20px 0 34px;
  color: #1c2b33;
  font-size: 17px;
  line-height: 1.45;
}
.texture-slide__flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.texture-slide__stage {
  position: relative;
  padding-top: 15px;
  border-top: 2px solid var(--section-color);
}
.texture-slide__stage > span {
  display: block;
  margin-bottom: 12px;
  color: var(--section-color);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.texture-slide__stage strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.texture-slide__stage small {
  display: block;
  min-height: 28px;
  margin: 5px 0 10px;
  color: var(--section-color);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.texture-slide__stage p {
  margin: 0;
  color: #1c2b33;
  font-size: 12.5px;
  line-height: 1.44;
}

.panel--surface-slide {
  top: 104px;
  right: 5.5vw;
  width: min(640px, 36vw);
  box-sizing: border-box;
  padding: 34px 32px 40px 62px;
  color: var(--navy);
  background: linear-gradient(270deg, rgba(240,231,211,0.95) 0%, rgba(240,231,211,0.87) 79%, rgba(240,231,211,0) 100%);
}
.panel--surface-slide .eyebrow {
  color: var(--section-color);
  margin: 0 0 24px;
}
.surface-slide__kicker {
  margin: 0 0 8px;
  color: var(--section-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.panel--surface-slide h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(46px, 4.2vw, 68px);
  line-height: 0.94;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.surface-slide__deck {
  margin: 17px 0 22px;
  color: var(--section-color);
  font-size: 17px;
  font-weight: 650;
}
.surface-slide__body {
  max-width: 590px;
  margin: 0 0 28px;
  color: #1c2b33;
  font-size: 14px;
  line-height: 1.48;
}
.surface-slide__surfaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(28,43,51,0.18);
  border: 1px solid rgba(28,43,51,0.18);
}
.surface-slide__surfaces span {
  display: flex;
  gap: 9px;
  padding: 11px 12px;
  background: rgba(240,231,211,0.88);
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.surface-slide__surfaces b {
  color: var(--section-color);
  font-size: 9px;
}
.surface-slide__rule {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 11px;
  border-top: 2px solid var(--section-color);
  color: #1c2b33;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel--ai-slide {
  top: 96px;
  left: 6.1vw;
  width: min(630px, 35vw);
  box-sizing: border-box;
  padding: 34px 62px 40px 32px;
  color: var(--navy);
  background: linear-gradient(90deg, rgba(240,231,211,0.95) 0%, rgba(240,231,211,0.87) 80%, rgba(240,231,211,0) 100%);
}
body[data-exhibit-side="left"] .panel--ai-slide {
  left: auto;
  right: 3.1vw;
  padding: 34px 32px 40px 62px;
  background: linear-gradient(270deg, rgba(240,231,211,0.95) 0%, rgba(240,231,211,0.87) 80%, rgba(240,231,211,0) 100%);
}
body[data-step="ai-2"] .panel--ai-slide {
  right: 2.4vw;
}
.panel--ai-slide .eyebrow {
  color: var(--section-color);
  margin: 0 0 20px;
}
.panel--ai-slide h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(44px, 4.1vw, 66px);
  line-height: 0.94;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.ai-slide__deck {
  max-width: 610px;
  margin: 17px 0 27px;
  color: var(--section-color);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}
.ai-slide__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 22px;
}
.ai-slide__item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 14px 0 16px;
  border-top: 1px solid rgba(28,43,51,0.24);
}
.ai-slide__item > span {
  color: var(--section-color);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.ai-slide__item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ai-slide__item p {
  margin: 0;
  color: #1c2b33;
  font-size: 12.5px;
  line-height: 1.43;
}
.vector-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: 22px;
}
.vector-proof {
  min-width: 0;
  text-align: left;
}
.vector-proof__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4px 10px;
  border-bottom: 2px solid var(--section-color);
}
.vector-proof__heading strong {
  color: var(--navy);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}
.vector-proof__heading span {
  color: #1c2b33;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vector-proof__visual {
  position: relative;
  height: min(51vh, 470px);
  margin-top: 14px;
  background: rgba(242,239,232,0.72);
  border: 1px solid rgba(28,43,51,0.14);
  box-shadow: 0 18px 46px -32px rgba(18,30,36,0.65);
  overflow: hidden;
}
.vector-proof__visual > img {
  width: 55%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vector-proof__detail {
  position: absolute;
  width: 42%;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
}
.vector-proof__detail canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--navy-deep);
  border: 8px solid var(--navy-deep);
}
.vector-proof__detail canvas.is-pixelated { image-rendering: pixelated; }
.vector-proof__detail > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  color: var(--cream);
  background: var(--navy-deep);
}
.vector-proof__detail strong { font-size: 13px; letter-spacing: 0.08em; }
.vector-proof__detail span {
  color: var(--section-color);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.body-text { font-size: 16px; line-height: 1.6; font-weight: 600; color: rgba(242,239,232,0.97); margin: 0; }

/* -- media chip: small floating card, upper right -- */
.media-chip {
  position: absolute; right: 6vw; top: 16vh; width: min(300px, 26vw);
}
.media-chip .card { padding: 14px; }
.media-frame {
  width: 100%; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  display: flex; align-items: center; justify-content: center; position: relative;
  border: 1px dashed rgba(255,255,255,0.22);
}
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-placeholder {
  text-align: center; padding: 10px; color: rgba(242,239,232,0.55); font-size: 12px; line-height: 1.5;
}
.media-placeholder .glyph { font-size: 22px; display: block; margin-bottom: 6px; opacity: 0.7; }
.media-caption { font-size: 12.5px; color: rgba(242,239,232,0.7); margin-top: 10px; line-height: 1.4; }

/* -- opening / final: centered wide card -- */
.panel--centered {
  left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(760px, 76vw); text-align: left;
}
.panel--centered .card { padding: 48px 54px; }
.panel--centered h1 { font-size: clamp(38px, 5vw, 64px); }
.route-note { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.route-note span {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--cream);
}
.route-note span:not(:last-child)::after { content: '→'; margin-left: 8px; color: var(--section-accent); }

/* Opening: editorial information lives around the aerial world instead of
   covering it with one large glass card. */
.panel--opening {
  inset: 0;
  color: var(--navy);
}
.opening-thesis {
  position: absolute;
  top: 10.5vh;
  left: 6vw;
  width: min(580px, 37vw);
  min-height: 640px;
  padding: 38px 60px 42px 38px;
  background: linear-gradient(90deg, rgba(247,240,220,0.97) 0%, rgba(247,240,220,0.88) 76%, rgba(247,240,220,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
}
.opening-thesis .eyebrow {
  margin-bottom: 16px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
}
.opening-thesis h1 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(52px, 4.9vw, 76px);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: -0.055em;
}
.opening-thesis h1 span {
  display: block;
}
.opening-subtitle {
  margin: 20px 0 16px;
  color: var(--terracotta);
  font-size: clamp(19px, 1.4vw, 23px);
  line-height: 1.32;
  font-weight: 650;
}
.opening-body {
  max-width: 455px;
  margin: 0;
  color: #1c2b33;
  font-size: 16.5px;
  line-height: 1.62;
  font-weight: 600;
}
.opening-rule {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(410px, 90%);
  margin-top: 26px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.opening-rule i {
  height: 1px;
  background: linear-gradient(90deg, var(--navy), var(--terracotta));
  position: relative;
}
.opening-rule i::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--terracotta);
  border-right: 1px solid var(--terracotta);
  transform: rotate(45deg);
}
.opening-map {
  position: absolute;
  top: auto;
  bottom: 8vh;
  right: 5vw;
  width: min(430px, 29vw);
  min-height: 460px;
  padding: 32px 36px 34px 42px;
  background: linear-gradient(270deg, rgba(247,240,220,0.97) 0%, rgba(247,240,220,0.87) 78%, rgba(247,240,220,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
}
.opening-map__kicker {
  margin: 0 0 14px;
  color: #1c2b33;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.opening-streams {
  border-top: 1px solid rgba(28,43,51,0.20);
}
.opening-stream {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(28,43,51,0.17);
}
.opening-stream__number {
  padding-top: 2px;
  color: var(--stream-color);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.10em;
}
.opening-stream strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.opening-stream small {
  display: block;
  margin-top: 7px;
  color: #1c2b33;
  font-size: 14.5px;
  line-height: 1.48;
  font-weight: 600;
}
.opening-stream:nth-child(1) { --stream-color: #e8562a; }
.opening-stream:nth-child(2) { --stream-color: #7b5fc9; }
.opening-stream:nth-child(3) { --stream-color: #1fa2a6; }
.opening-stream:nth-child(4) { --stream-color: #4caf60; }
.opening-destination {
  margin-top: 15px;
  padding-left: 46px;
  position: relative;
}
.opening-destination::before {
  content: '→';
  position: absolute;
  left: 2px;
  top: 1px;
  color: var(--terracotta);
  font-size: 22px;
}
.opening-destination span {
  display: block;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.opening-destination strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}

.flow-chain { display: flex; align-items: center; gap: 10px; margin: 28px 0 22px 0; flex-wrap: wrap; }
.flow-chain span {
  font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: var(--cream);
}
.flow-chain span.is-last { background: var(--terracotta); color: var(--navy-deep); }
.flow-chain .arrow { color: var(--section-accent); font-size: 16px; }
.credit-line { margin-top: 22px; font-size: 13.5px; color: rgba(242,239,232,0.6); letter-spacing: 0.02em; }

/* -- reveal panel: bottom band with cards -- */
.panel--reveal {
  left: 50%; bottom: 6vh; transform: translateX(-50%); width: min(1180px, 90vw);
}
.reveal-head { max-width: 640px; margin: 0 auto 22px auto; text-align: center; }
.reveal-head .eyebrow { justify-content: center; }
.reveal-head h1 { font-size: clamp(24px, 2.6vw, 34px); }
.reveal-head p { color: rgba(242,239,232,0.95); font-weight: 600; font-size: 14.5px; margin: 8px 0 0 0; }
.reveal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.reveal-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  padding: 20px 20px 18px 20px;
  min-width: 0;
}
.reveal-card h3, .reveal-card p, .reveal-card .customers { overflow-wrap: break-word; }
.reveal-card h3 { font-size: 16px; margin: 0 0 8px 0; color: var(--cream); font-weight: 700; line-height: 1.25; }
.reveal-card p { font-size: 13.5px; line-height: 1.5; font-weight: 600; color: rgba(242,239,232,0.95); margin: 0 0 12px 0; }
.reveal-card .customers {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--section-accent);
}

/* ---------------------------------------------------------------- progress rail */
#progress-rail {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 6;
  display: flex; align-items: flex-start; width: min(760px, 58vw); pointer-events: auto;
}
.rail-section {
  position: relative; display: flex; align-items: flex-start; flex: 1 1 0; min-width: 0;
}
.rail-section:last-child { flex: 0 0 auto; }
.rail-stop {
  appearance: none; border: 0; padding: 0; background: transparent; color: inherit;
  position: relative; z-index: 2; flex: 0 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 7px; cursor: pointer;
}
.rail-dot {
  box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream); border: 2px solid rgba(28,43,51,0.48);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.rail-section.is-active .rail-dot { background: var(--section-color); border-color: var(--section-color); transform: scale(1.12); }
.rail-section.is-done .rail-dot { background: var(--navy); border-color: var(--navy); }
.rail-label {
  position: absolute; top: 20px; font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 750; color: var(--navy);
  opacity: 0; transition: opacity 0.25s ease; white-space: nowrap;
}
.rail-section.is-active .rail-label { opacity: 0.9; }
.rail-track {
  position: relative; height: 12px; margin: 0 12px; flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-evenly;
}
.rail-track::before {
  content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px;
  background: rgba(28,43,51,0.22);
}
.rail-tick {
  appearance: none; position: relative; z-index: 1; box-sizing: border-box;
  width: 5px; height: 5px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(28,43,51,0.38); background: var(--cream); cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.rail-tick.is-done { background: var(--navy); border-color: var(--navy); }
.rail-tick.is-active {
  width: 8px; height: 8px; background: var(--section-color);
  border-color: var(--section-color); transform: scale(1.08);
}

/* ---------------------------------------------------------------- controls */
#controls {
  position: fixed; right: 30px; bottom: 26px; z-index: 6;
  display: flex; align-items: center; gap: 14px;
}
.nav-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(28,43,51,0.3);
  background: rgba(242,239,232,0.6); color: var(--navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease; backdrop-filter: blur(6px);
}
.nav-btn:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.nav-btn--primary { background: var(--terracotta); color: white; border-color: var(--terracotta); }
.nav-btn--primary:hover { background: #d1481f; }
.nav-btn:disabled { opacity: 0.3; pointer-events: none; }
#step-counter { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--navy); min-width: 58px; text-align: center; font-variant-numeric: tabular-nums; }

#hint {
  position: fixed; left: 34px; bottom: 30px; z-index: 6;
  font-size: 11.5px; color: #1c2b33; letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- loading veil */
#loading-veil {
  position: fixed; inset: 0; z-index: 50; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  transition: opacity 0.6s ease;
}
.loading-mark { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.loading-sub { font-size: 13px; color: var(--slate); }
#loading-veil.is-hidden { opacity: 0; pointer-events: none; }

/* ----------------------------------------------------- SpaceSpark portal */
#spacespark-experience {
  position: fixed; inset: 0; z-index: 40;
  background: #0b1114;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(0.94);
  clip-path: inset(48% 48% 48% 48% round 48%);
  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1),
    clip-path 0.8s cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s linear 0.8s;
}
#spacespark-experience.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: scale(1);
  clip-path: inset(0 round 0);
  transition-delay: 0s;
}
#spacespark-frame { width: 100%; height: 100%; border: 0; display: block; background: #111a1e; }
.spacespark-chrome {
  position: absolute; top: 24px; left: 28px; right: 28px;
  display: flex; align-items: center; justify-content: space-between;
  color: white; pointer-events: none;
}
.spacespark-chrome > div {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 15px; border-radius: 12px;
  background: rgba(12,20,24,0.68); backdrop-filter: blur(12px);
}
.spacespark-kicker {
  color: #e8562a; font-size: 10px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.spacespark-chrome strong { font-size: 18px; letter-spacing: -0.01em; }
#spacespark-exit {
  pointer-events: auto; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px; padding: 12px 17px; cursor: pointer;
  color: white; background: rgba(12,20,24,0.74);
  backdrop-filter: blur(12px); font: inherit; font-size: 13px; font-weight: 700;
}
#spacespark-exit:hover { background: #e8562a; border-color: #e8562a; }

/* --------------------------------------------------------- video cinema */
#video-experience {
  position: fixed; inset: 0; z-index: 45;
  display: grid; place-items: center; overflow: hidden;
  background: #070a0c; opacity: 0; visibility: hidden; pointer-events: none;
  clip-path: inset(42% 34% 42% 34% round 18px);
  transform: scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1),
    clip-path 0.65s cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s linear 0.65s;
}
#video-experience.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  clip-path: inset(0 round 0); transform: scale(1);
  transition-delay: 0s;
}
#cinema-video {
  width: 100%; height: 100%; object-fit: contain;
  background: #070a0c; position: relative; z-index: 1;
}
#video-experience.is-square-video #cinema-video {
  width: min(100vw, 100vh);
  height: min(100vw, 100vh);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: 0 0 auto;
}
.cinema-shade {
  position: absolute; z-index: 2; inset: 0 0 auto 0; height: 130px;
  pointer-events: none;
  background: linear-gradient(rgba(3,6,8,0.72), transparent);
}
.cinema-label {
  position: absolute; z-index: 3; top: 25px; left: 30px;
  display: flex; flex-direction: column; color: white; pointer-events: none;
}
.cinema-label span {
  color: #e8562a; font-size: 10px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.cinema-label strong { font-size: 18px; margin-top: 2px; }
#cinema-exit {
  position: absolute; z-index: 3; top: 25px; right: 30px;
  border: 1px solid rgba(255,255,255,0.38); border-radius: 999px;
  padding: 11px 15px; color: white; background: rgba(7,10,12,0.68);
  backdrop-filter: blur(10px); cursor: pointer; font: inherit;
  font-size: 13px; font-weight: 700;
}
#cinema-exit:hover { background: #e8562a; border-color: #e8562a; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .panel--point { width: 90vw; left: 5vw; bottom: 16vh; }
  .media-chip { display: none; }
  .reveal-cards { grid-auto-flow: row; grid-template-columns: 1fr; }
  .panel--reveal { bottom: 14vh; max-height: 62vh; overflow-y: auto; }
  #hint { display: none; }
  .rail-label { display: none; }
}

/* ------------------------------------------------ projector accessibility
   The presentation is designed to survive a bright projector and be read by
   an audience at distance. These overrides deliberately favor size, weight,
   and opaque warm backplates over subtle laptop-screen styling. */
:root {
  --navy: #102630;
  --navy-deep: #09191f;
  --panel-paper: #f7f0dc;
}

.brand-mark { font-size: 17px; font-weight: 750; }
.brand-title { font-size: 16px; font-weight: 800; letter-spacing: 0.13em; }

.eyebrow {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.14em;
}
.eyebrow .num {
  width: 27px;
  height: 27px;
  font-size: 13px;
  color: #fff;
}

/* Lighter paper field, faded on all four sides (via the background gradient
   toward the open scene, plus a mask layer softening the top/bottom) rather
   than a hard rectangular cutoff -- text stays bold/high-contrast even as
   the panel itself reads soft. */
.panel--design-exploration,
.panel--static-illustration,
.panel--texture-slide,
.panel--ai-slide {
  background: linear-gradient(90deg, var(--panel-paper) 0%, var(--panel-paper) 82%, rgba(247,240,220,0) 98%);
}
body[data-exhibit-side="left"] .panel--design-exploration,
body[data-exhibit-side="left"] .panel--ai-slide,
.panel--dynamic-illustration,
.panel--surface-slide {
  background: linear-gradient(270deg, var(--panel-paper) 0%, var(--panel-paper) 82%, rgba(247,240,220,0) 98%);
}
.panel--immersive-slide {
  background: linear-gradient(90deg, var(--panel-paper) 0%, var(--panel-paper) 82%, rgba(247,240,220,0) 98%);
}
body[data-exhibit-side="left"] .panel--immersive-slide {
  background: linear-gradient(270deg, var(--panel-paper) 0%, var(--panel-paper) 82%, rgba(247,240,220,0) 98%);
}
.panel--design-exploration,
.panel--static-illustration,
.panel--texture-slide,
.panel--ai-slide,
.panel--dynamic-illustration,
.panel--surface-slide,
.panel--immersive-slide {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 92%, transparent 100%);
}
.panel--vector-slide { background: var(--panel-paper); }

/* Large display typography. Headings remain responsive so 1080p layouts do
   not overflow, while body copy never falls back to tiny 12–13px labels. */
.panel--design-exploration h1,
.panel--variation-slide h1,
.panel--immersive-slide h1,
.panel--ai-slide h1 {
  font-size: clamp(50px, 4.35vw, 70px);
  font-weight: 750;
}
.panel--vector-slide h1 { font-size: clamp(46px, 4.1vw, 64px); font-weight: 750; }
.panel--static-illustration h1,
.panel--dynamic-illustration h1,
.panel--surface-slide h1 {
  font-size: clamp(54px, 4.7vw, 76px);
  font-weight: 750;
}
.panel--texture-slide h1 { font-size: clamp(60px, 5.2vw, 84px); font-weight: 750; }

.design-theme__copy strong,
.variation-research__item strong,
.vector-outcome strong,
.immersive-capability strong,
.static-illustration__beat strong,
.dynamic-illustration__study strong,
.texture-slide__stage strong,
.ai-slide__item strong {
  font-size: 15px;
  font-weight: 850;
  color: var(--navy-deep);
}

.design-theme p,
.variation-research__item p,
.vector-outcome p,
.immersive-capability p,
.static-illustration__beat p,
.dynamic-illustration__study p,
.texture-slide__stage p,
.surface-slide__body,
.ai-slide__item p {
  font-size: 16px;
  line-height: 1.46;
  font-weight: 600;
  color: #17262c;
}

.vector-deck,
.immersive-deck,
.variation-deck,
.static-illustration__deck,
.dynamic-illustration__deck,
.texture-slide__deck,
.surface-slide__deck,
.ai-slide__deck {
  font-size: 20px;
  line-height: 1.42;
  color: var(--section-color);
}

.design-theme__index,
.variation-research__item > span,
.vector-outcome > span,
.immersive-capability > span,
.static-illustration__beat > span,
.dynamic-illustration__index,
.texture-slide__stage > span,
.ai-slide__item > span {
  font-size: 13px;
  font-weight: 900;
}

.dynamic-illustration__study small,
.texture-slide__stage small,
.surface-slide__kicker,
.dynamic-illustration__kicker,
.texture-slide__kicker {
  font-size: 12px;
  color: var(--section-color);
}

.surface-slide__surfaces span { font-size: 14px; font-weight: 800; }
.surface-slide__surfaces b { font-size: 12px; }
.surface-slide__rule { font-size: 12px; color: #3b4d55; }

/* Give the denser editorial layouts enough width for the larger copy. */
.panel--design-exploration { width: min(900px, 50vw); }
.panel--immersive-slide { width: min(760px, 42vw); }
.panel--ai-slide { width: min(780px, 43vw); }
.panel--variation-slide { width: min(680px, 44vw); }

/* Design 04: preserve separate exhibit, editorial, and driving bands. */
body[data-step="design-4"][data-exhibit-side="left"] .panel--variation-slide {
  left: auto;
  right: 23vw;
  width: min(560px, 31vw);
}

/* Opening beat 02: the agenda is laid directly over the four-road overview.
   Cards sit in the road quadrants, so the audience reads the presentation
   structure spatially before the camera commits to the Design route. */
.panel--research-directions {
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.directions-hub {
  position: absolute;
  left: 52.5%;
  top: 45%;
  width: 190px;
  height: 190px;
  box-sizing: border-box;
  display: grid;
  place-content: center;
  text-align: center;
  border: 3px solid rgba(28,43,51,0.45);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(247,240,220,0.94);
  box-shadow: 0 16px 42px rgba(28,43,51,0.20);
  transform: translate(-50%, -50%);
}

.directions-hub::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px dashed rgba(28,43,51,0.24);
  border-radius: inherit;
}

.directions-hub span {
  color: #5b6970;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directions-hub strong {
  margin-top: 7px;
  font-size: 30px;
  line-height: 0.98;
}

.directions-stream {
  --stream: var(--navy);
  position: absolute;
  width: min(360px, 24vw);
  padding: 14px 17px 16px;
  box-sizing: border-box;
  border: 2px solid color-mix(in srgb, var(--stream) 54%, white);
  border-radius: 18px;
  color: var(--navy);
  background: rgba(250,247,238,0.95);
  box-shadow: 0 12px 32px rgba(28,43,51,0.17);
}

.directions-stream::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 82px;
  height: 3px;
  background: var(--stream);
  opacity: 0.72;
}

.directions-stream__title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--stream) 30%, transparent);
}

.directions-stream__title span {
  display: grid;
  width: 31px;
  height: 31px;
  place-content: center;
  border-radius: 50%;
  color: white;
  background: var(--stream);
  font-size: 13px;
  font-weight: 850;
}

.directions-stream__title strong {
  color: var(--stream);
  font-size: 21px;
  letter-spacing: 0.02em;
}

.directions-stream__topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding-top: 11px;
}

.directions-stream__topics span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.directions-stream--design {
  --stream: #d94a20;
  left: 14%;
  top: 19%;
}
.directions-stream--illustration {
  --stream: #6043b5;
  right: 10%;
  top: 19%;
}
.directions-stream--3d {
  --stream: #007d83;
  left: 15%;
  bottom: 16%;
}
.directions-stream--ai {
  --stream: #267f39;
  right: 9%;
  bottom: 16%;
}

.directions-stream--design::after,
.directions-stream--3d::after { left: 100%; }
.directions-stream--illustration::after,
.directions-stream--ai::after { right: 100%; }

.roadmap-caption {
  position: absolute;
  left: 50%;
  top: 78px;
  box-sizing: border-box;
  width: min(1420px, 78vw);
  padding: 12px 28px 18px;
  text-align: center;
  border-top: 3px solid var(--navy);
  color: var(--navy);
  background: linear-gradient(90deg, transparent, rgba(247,240,220,0.94) 12%, rgba(247,240,220,0.94) 88%, transparent);
  transform: translateX(-50%);
}

.roadmap-caption > span {
  display: block;
  color: #5d6b71;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.roadmap-caption > strong {
  display: block;
  margin: 3px 0 8px;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.roadmap-topic-key {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 12px;
  text-align: left;
}

.roadmap-topic-group {
  --key-color: var(--navy);
  padding-left: 14px;
  border-left: 4px solid var(--key-color);
}
.roadmap-topic-group.is-design { --key-color: #d94a20; }
.roadmap-topic-group.is-illustration { --key-color: #6043b5; }
.roadmap-topic-group.is-3d { --key-color: #007d83; }
.roadmap-topic-group.is-ai { --key-color: #267f39; }

.roadmap-topic-group h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 7px;
  color: var(--key-color);
  font-size: 18px;
}

.roadmap-topic-group h3 b {
  display: grid;
  width: 27px;
  height: 27px;
  place-content: center;
  border-radius: 50%;
  color: white;
  background: var(--key-color);
  font-size: 12px;
}

.roadmap-topic-group ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-topic-group li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 7px;
  color: #1c2b33;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.roadmap-topic-group li b {
  color: var(--key-color);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.roadmap-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.roadmap-pin-label {
  --pin-color: var(--navy);
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 210px;
  min-width: 150px;
  padding: 7px 10px 9px;
  border-left: 5px solid var(--pin-color);
  border-radius: 4px;
  color: var(--navy);
  background: rgba(250,247,238,0.66);
  box-shadow: 0 7px 20px rgba(28,43,51,0.20);
  transform: translate(-50%, -128%);
  transition: opacity 160ms ease;
}

.roadmap-pin-label.is-design { --pin-color: #d94a20; }
.roadmap-pin-label.is-illustration { --pin-color: #6043b5; }
.roadmap-pin-label.is-3d { --pin-color: #007d83; }
.roadmap-pin-label.is-ai { --pin-color: #267f39; }

.roadmap-pin-label small {
  margin-bottom: 3px;
  color: var(--pin-color);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.roadmap-pin-label span {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.08;
}
.panel--static-illustration,
.panel--dynamic-illustration,
.panel--texture-slide,
.panel--surface-slide { width: min(770px, 43vw); }

/* Opening and persistent controls must also be readable from the room. */
.opening-body { font-size: 19px; line-height: 1.5; color: var(--navy-deep); }
.opening-stream strong { font-size: 18px; color: var(--navy-deep); }
.opening-stream small { font-size: 16px; color: #354951; }
.opening-map__kicker { font-size: 14px; color: #354951; }
.opening-destination strong { font-size: 16px; }
.rail-label { font-size: 11px; font-weight: 850; opacity: 1; }
#step-counter { font-size: 15px; font-weight: 850; }
#hint { font-size: 14px; color: rgba(16,38,48,0.82); }
.nav-btn { width: 52px; height: 52px; background: rgba(247,240,224,0.92); }

/* ------------------------------------------------ editorial title hierarchy
   Keep slide titles visually distinct from decks and explanatory copy. */
.panel--design-exploration h1,
.panel--vector-slide h1,
.panel--variation-slide h1,
.panel--static-illustration h1,
.panel--dynamic-illustration h1,
.panel--texture-slide h1,
.panel--surface-slide h1,
.panel--immersive-slide h1,
.panel--ai-slide h1 {
  padding-bottom: 14px;
  border-bottom: 2px solid color-mix(in srgb, var(--section-color) 72%, transparent);
}

.panel--design-exploration h1 + p,
.panel--vector-slide h1 + p,
.panel--variation-slide h1 + p,
.panel--static-illustration h1 + p,
.panel--dynamic-illustration h1 + p,
.panel--texture-slide h1 + p,
.panel--surface-slide h1 + p,
.panel--immersive-slide h1 + p,
.panel--ai-slide h1 + p {
  margin-top: 18px;
}

/* Vectorization is a horizontal editorial banner; keep its three outcomes
   compact and give the title/deck a distinct upper register. */
.panel--vector-slide {
  top: 62px;
  padding: 16px 34px 18px;
}
.panel--vector-slide h1 {
  width: min(900px, 88%);
  margin: 0 auto;
  font-size: clamp(40px, 3.5vw, 56px);
  line-height: 1.02;
}
.panel--vector-slide .vector-outcomes {
  gap: 26px;
  margin-top: 18px;
}
.panel--vector-slide .vector-outcome {
  padding-top: 12px;
}
.panel--vector-slide .vector-outcome p {
  font-size: 14px;
  line-height: 1.38;
}

/* Audience-scale copy across every capability slide. */
.design-theme p,
.variation-research__item p,
.vector-outcome p,
.immersive-capability p,
.static-illustration__beat p,
.dynamic-illustration__study p,
.texture-slide__stage p,
.surface-slide__body,
.ai-slide__item p {
  font-size: 18px;
  line-height: 1.48;
}

.vector-deck,
.immersive-deck,
.variation-deck,
.static-illustration__deck,
.dynamic-illustration__deck,
.texture-slide__deck,
.surface-slide__deck,
.ai-slide__deck {
  font-size: 22px;
}

.design-theme__copy strong,
.variation-research__item strong,
.vector-outcome strong,
.immersive-capability strong,
.static-illustration__beat strong,
.dynamic-illustration__study strong,
.texture-slide__stage strong,
.ai-slide__item strong {
  font-size: 16px;
}

.panel .eyebrow {
  font-size: 13px;
}

.panel p:not(.opening-map__kicker),
.panel ul li,
.panel .body-text,
.panel .highlight-line {
  font-size: max(18px, 1em);
  line-height: 1.48;
}
