:root {
  color-scheme: dark;
  --ink: #122534;
  --white: #f4f7fa;
  --muted: #cbd5df;
  --gold: #f1cca0;
  --cool: #addce8;
  --teal: #287a91;
  --line: rgba(237, 247, 255, 0.28);
  --ease: cubic-bezier(0.22, 0.8, 0.25, 1);
  --font: "Avenir Next", "Inter", "Segoe UI", Arial, sans-serif;
  --page: clamp(28px, 3.5vw, 68px);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  background: #152c40;
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
button,
a,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 8px;
}
button svg {
  pointer-events: none;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
  width: 23px;
  height: 23px;
}
a {
  color: var(--cool);
}
/* The approved panorama stays visible in every chapter. No white slides or flat UI shell. */
.world {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -4;
  background: #142c41;
}
.world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 57%;
  transform: scale(1.02);
  transition:
    transform 2.6s var(--ease),
    filter 1.6s;
  filter: saturate(0.94) brightness(0.99);
  will-change: transform;
}
body[data-chapter="1"] .world img {
  transform: scale(1.13);
  transform-origin: 64% 55%;
  filter: saturate(0.87) brightness(0.73);
}
body[data-chapter="2"] .world img {
  transform: scale(1.07);
  transform-origin: 75% 59%;
  filter: saturate(0.92) brightness(0.78);
}
body[data-chapter="3"] .world img {
  transform: scale(1.035);
  transform-origin: 84% 66%;
  filter: saturate(0.9) brightness(0.8);
}
body[data-scene="0"] .world img,
body[data-scene="27"] .world img {
  transform: scale(1);
  filter: saturate(0.98) brightness(1);
}
.shade {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 22, 35, 0.66) 0%,
      rgba(10, 25, 41, 0.46) 34%,
      rgba(13, 30, 47, 0.15) 56%,
      rgba(13, 30, 47, 0.025) 100%
    ),
    linear-gradient(
      0deg,
      rgba(3, 13, 21, 0.75),
      transparent 33%,
      transparent 79%,
      rgba(13, 26, 44, 0.06)
    );
  transition: background 1.6s;
}
body:not([data-scene="0"]):not([data-scene="27"]) .shade {
  background:
    linear-gradient(
      90deg,
      rgba(5, 21, 35, 0.87) 0%,
      rgba(7, 23, 40, 0.7) 30%,
      rgba(9, 28, 49, 0.39) 57%,
      rgba(14, 29, 44, 0.2) 100%
    ),
    linear-gradient(
      0deg,
      rgba(3, 13, 21, 0.88),
      transparent 38%,
      rgba(13, 26, 44, 0.17)
    );
}
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E");
}
.topbar {
  position: fixed;
  z-index: 30;
  top: 26px;
  left: var(--page);
  right: var(--page);
  height: 57px;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  padding: 0;
  width: 244px;
  line-height: 0;
  flex: none;
  text-align: left;
}
.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.1));
  display: block;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 0;
}
.top-nav button {
  font-size: 14px;
  padding: 14px 0;
  opacity: 0.88;
  white-space: nowrap;
}
.top-nav button:hover {
  opacity: 1;
  color: var(--gold);
}
.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}
.top-right > span {
  font-size: 15px;
  opacity: 0.82;
  white-space: nowrap;
}
.top-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 24px;
  color: #172734;
  background: rgba(255, 248, 237, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 40px;
  font-size: 14px;
  white-space: nowrap;
  transition:
    transform 0.25s,
    background 0.25s;
}
.top-cta:hover {
  background: #fffaf1;
  transform: translateY(-2px);
}
.top-cta .icon {
  width: 20px;
  height: 20px;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
}
.stage {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
.scene {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
}
.scene.active {
  display: block;
}
.copy {
  position: absolute;
  left: var(--page);
  top: 21%;
  width: 43%;
  max-width: 715px;
  z-index: 5;
  animation: enter 0.78s var(--ease) both;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.88;
  margin: 0 0 27px;
  color: #dae3e9;
}
.copy h1 {
  font-weight: 400;
  font-size: clamp(45px, 4.45vw, 78px);
  letter-spacing: -0.052em;
  line-height: 1.1;
  margin: 0 0 24px;
  text-wrap: balance;
}
.copy h1 em {
  font-style: normal;
  color: var(--gold);
  font-weight: 400;
}
.copy .body {
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.022em;
  max-width: 580px;
  color: #d3dce4;
  margin: 0;
}
.copy .line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 540px;
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #d5dde3;
  letter-spacing: -0.015em;
}
.copy .line:before {
  content: "";
  flex: none;
  width: 27px;
  height: 1px;
  background: var(--gold);
  margin-top: 11px;
  opacity: 0.85;
}
.main-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  font-size: 15px;
  white-space: nowrap;
  transition:
    transform 0.22s,
    background 0.22s;
}
.primary {
  background: #f8fafb;
  color: #152938;
  box-shadow: 0 4px 22px rgba(240, 248, 252, 0.08);
}
.secondary {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}
.primary:hover,
.secondary:hover {
  transform: translateY(-2px);
}
.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hero .copy {
  width: 46%;
  top: 19.2%;
}
.hero .copy h1 {
  font-size: clamp(50px, 4.85vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.049em;
}
.hero .copy .body {
  max-width: 560px;
  font-size: clamp(17px, 1.27vw, 21px);
  line-height: 1.5;
}
.hero .eyebrow {
  margin-bottom: 29px;
}
.hero .copy .line {
  display: none;
}
.hero-values {
  position: absolute;
  left: var(--page);
  bottom: 18.2%;
  display: flex;
  gap: 0;
  z-index: 6;
  animation: enter 1s 0.1s var(--ease) both;
}
.hero-values > span {
  display: flex;
  flex-direction: column;
  padding: 0 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  min-width: 160px;
}
.hero-values > span:first-child {
  padding-left: 0;
}
.hero-values > span:last-child {
  border: 0;
}
.hero-values strong {
  font-size: 29px;
  color: var(--gold);
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 5px;
}
.hero-values small {
  font-size: 13px;
  color: #d1d6da;
  line-height: 1.45;
}
.art {
  position: absolute;
  width: 48%;
  height: 66%;
  right: 2.35%;
  top: 16%;
  z-index: 3;
  animation: artEnter 1.1s var(--ease) both;
  isolation: isolate;
}
.hero .art {
  top: 14%;
  height: 59%;
  right: 2%;
  width: 51%;
}
.art .diagram {
  width: 100%;
  height: 100%;
  overflow: visible;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.diagram text {
  font-family: var(--font);
  fill: #edf4f7;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.diagram text.center {
  text-anchor: middle;
}
.diagram text.small {
  font-size: 18px;
}
.diagram text.muted {
  fill: #c3d6e0;
  opacity: 0.72;
}
.diagram .connection {
  fill: none;
  stroke: url(#trace-gradient);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.69;
}
.diagram .connection.fine {
  stroke-width: 0.65;
  opacity: 0.32;
}
.diagram .connection.quiet {
  opacity: 0.27;
}
.diagram .dashed {
  stroke-dasharray: 4 8;
}
.diagram .connection.warm {
  stroke: #f0c994;
}
.diagram .traveller {
  fill: #fcf7e8;
  filter: drop-shadow(0 0 4px #d5e8ff);
}
.diagram .bar {
  fill: #b5e9f5;
  fill-opacity: 0.85;
}
.diagram .bar.warm {
  fill: #f1cca0;
}
.diagram .ghost-pane {
  transform-origin: center;
  animation: enter 0.9s calc(var(--delay, 0s) + 0.1s) var(--ease) both;
}
.diagram .method-name {
  font-size: 24px;
}
.diagram .light-node {
  opacity: 1;
}
.diagram .cube-left {
  fill: rgba(5, 18, 29, 0.87);
  stroke: #cee5f0;
  stroke-opacity: 0.28;
  transition: fill 0.8s;
}
.diagram .cube-right {
  fill: rgba(6, 25, 40, 0.92);
  stroke: #dfe9e9;
  stroke-opacity: 0.32;
  transition: fill 0.8s;
}
.diagram .cube-top {
  fill: rgba(177, 213, 227, 0.13);
  stroke: #d9e5e9;
  stroke-opacity: 0.34;
}
.diagram .cube.opened .cube-left,
.diagram .cube.opened .cube-right {
  fill: rgba(189, 226, 241, 0.045);
}
.diagram .runtime-off {
  opacity: 0.35;
}
.diagram .runtime-off .traveller {
  display: none;
}
.diagram .floating-sheet {
  filter: drop-shadow(0 18px 22px rgba(0, 10, 20, 0.12));
}
.glass {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 61px;
  padding: 12px 16px;
  max-width: 34%;
  width: max-content;
  border: 1px solid rgba(239, 247, 255, 0.45);
  border-radius: 15px;
  background: linear-gradient(
    130deg,
    rgba(220, 236, 255, 0.14),
    rgba(220, 236, 255, 0.045)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 36px rgba(16, 36, 52, 0.09);
  transition:
    background 0.35s,
    box-shadow 0.35s;
  z-index: 3;
  animation: glassEnter 0.8s 0.15s var(--ease) both;
}
.glass-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 50%;
  background: rgba(233, 245, 255, 0.09);
  color: #f2f3ef;
}
.glass-icon .icon {
  width: 21px;
  height: 21px;
}
.glass strong {
  display: block;
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.glass small {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 5px;
  opacity: 0.87;
  letter-spacing: -0.01em;
}
.glass.wide {
  max-width: 49%;
  min-width: 245px;
}
.glass.compact {
  padding: 10px 13px;
  min-height: 50px;
}
.glass.compact .glass-icon {
  display: none;
}
.glass.compact strong {
  font-size: 15px;
}
.glass.runtime-state {
  max-width: 55%;
  min-width: 270px;
}
.hero .glass {
  max-width: 33%;
  padding: 11px 16px;
  min-height: 61px;
  border-color: rgba(255, 255, 255, 0.48);
  background: linear-gradient(
    110deg,
    rgba(243, 242, 255, 0.16),
    rgba(250, 238, 230, 0.065)
  );
  box-shadow: 0 6px 30px rgba(17, 35, 56, 0.08);
}
.hero .glass strong {
  font-size: 19px;
}
.hero .glass small {
  font-size: 10px;
}
.orb-label {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.quiet-label {
  font-size: 12px;
  color: #c6d9e3;
  letter-spacing: 0.025em;
}
.warm-label {
  color: var(--gold);
}
.sphere-word {
  font-size: 17px;
  letter-spacing: 0.13em;
  color: #fff8df;
}
.connect-word {
  font-size: 37px;
  letter-spacing: 0.03em;
  color: var(--gold);
}
.version-number {
  font-size: 46px;
  letter-spacing: -0.05em;
}
.scope-path {
  position: absolute;
  left: 50%;
  top: 2%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--gold);
}
.scope-path span {
  color: #bbced9;
  opacity: 0.55;
}
.art-foot {
  position: absolute;
  bottom: -5.5%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 7;
  min-height: 45px;
}
.art-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(221, 241, 251, 0.37);
  border-radius: 30px;
  background: rgba(40, 82, 105, 0.19);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0.005em;
  transition:
    background 0.2s,
    transform 0.2s;
}
.art-button:hover {
  background: rgba(107, 165, 189, 0.2);
  transform: translateY(-1px);
}
.art-button .icon {
  width: 17px;
  height: 17px;
}
.segmented {
  display: flex;
  gap: 3px;
  border: 1px solid rgba(225, 243, 255, 0.24);
  background: rgba(10, 33, 52, 0.15);
  padding: 4px;
  border-radius: 28px;
  backdrop-filter: blur(8px);
}
.segmented button {
  min-height: 36px;
  padding: 8px 19px;
  border-radius: 24px;
  font-size: 12px;
  transition:
    background 0.3s,
    color 0.3s;
  white-space: nowrap;
}
.segmented button.selected {
  background: rgba(237, 247, 255, 0.84);
  color: #173347;
}
.segmented button:not(.selected):hover {
  background: rgba(237, 247, 255, 0.1);
}
.model-note {
  width: 100%;
  text-align: center;
  font-size: 10px;
  color: #c1d1db;
  line-height: 1.4;
  margin: 2px 0 0;
}
.raci-row {
  position: absolute;
  bottom: 4%;
  left: 9%;
  right: 3%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.raci-row span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.raci-row b {
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 215, 169, 0.45);
  background: rgba(243, 215, 169, 0.07);
}
.waiting-ribbon {
  position: absolute;
  bottom: 6%;
  left: 12%;
  right: 7%;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.waiting-ribbon span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d8e5ed;
}
.waiting-ribbon i {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold) 11%,
    rgba(185, 220, 239, 0.16) 11%,
    rgba(185, 220, 239, 0.16) 100%
  );
  width: 100%;
  border-radius: 3px;
}
.waiting-ribbon strong {
  font-size: 18px;
  font-weight: 400;
  color: var(--gold);
}
.gate-chain {
  position: absolute;
  left: 5%;
  right: 3%;
  top: 52%;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  padding: 15px 18px;
  border-radius: 10px;
  background: rgba(184, 224, 240, 0.055);
  border: 1px solid rgba(220, 245, 255, 0.2);
  width: max-content;
  max-width: 94%;
}
.gate-chain b {
  font-weight: 500;
  color: var(--gold);
}
.gate-chain i {
  font-style: normal;
  opacity: 0.5;
}
.quality-readout {
  position: absolute;
  top: 1.5%;
  left: 45%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quality-readout > span {
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.75;
}
.quality-readout > strong {
  font-size: 51px;
  letter-spacing: -0.06em;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
}
.quality-readout > small {
  font-size: 12px;
  max-width: 230px;
  line-height: 1.5;
  opacity: 0.88;
}
.parallel-stat {
  position: absolute;
  left: 50%;
  top: 1%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
  white-space: nowrap;
}
.parallel-stat strong {
  font-size: 83px;
  letter-spacing: -0.07em;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}
.parallel-stat em {
  font-size: 0.38em;
  font-style: normal;
  margin-left: 6px;
}
.parallel-stat span {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #d7e4ed;
}
.connection-rule {
  position: absolute;
  bottom: 7%;
  left: 8%;
  right: 1%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 8px;
  font-size: 12px;
  border-top: 1px solid rgba(217, 233, 247, 0.17);
  color: #d4e1e9;
}
.connection-rule .icon {
  width: 18px;
  height: 18px;
}
/* Rare surfaces that carry a real interaction, in the same optical material. */
.glass-surface {
  border: 1px solid rgba(221, 241, 253, 0.34);
  background: linear-gradient(
    132deg,
    rgba(222, 236, 251, 0.105),
    rgba(200, 233, 249, 0.025)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 15px 55px rgba(1, 16, 27, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
}
.glass-surface h3 {
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
  font-size: 28px;
  margin: 16px 0;
}
.glass-surface p {
  font-size: 13px;
  line-height: 1.6;
  color: #cedce7;
}
.glass-surface > small {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #d9e5eb;
}
.receipt {
  position: absolute;
  width: 65%;
  left: 19%;
  top: 3%;
  padding: 26px 30px;
}
.receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.receipt-head > span {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.receipt-head .icon {
  width: 17px;
  height: 17px;
}
.receipt-head > small {
  font-size: 9px;
  opacity: 0.65;
  white-space: nowrap;
}
.receipt h3 {
  font-size: 25px;
  margin: 23px 0 19px;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(224, 241, 255, 0.16);
  padding: 15px 0;
  font-size: 13px;
  gap: 18px;
}
.receipt-row > span {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.receipt-row small {
  font-size: 10px;
  opacity: 0.65;
}
.receipt-row .icon {
  width: 18px;
  height: 18px;
  color: var(--cool);
}
.receipt-row > b {
  font-weight: 400;
  color: #f5e0bc;
  white-space: nowrap;
}
.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(224, 241, 255, 0.4);
  padding-top: 18px;
  gap: 20px;
}
.receipt-total > span {
  font-size: 12px;
  max-width: 120px;
}
.receipt-total strong {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--gold);
}
.receipt p {
  font-size: 10px;
  margin: 15px 0 0;
  opacity: 0.8;
}
.creation-panel {
  position: absolute;
  left: 3%;
  top: 3%;
  width: 51%;
  padding: 24px 25px;
}
.creation-panel h3 {
  font-size: 26px;
}
.creation-panel p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 0;
}
.change-request {
  position: absolute;
  left: 4%;
  top: 55%;
  width: 60%;
  padding: 20px 25px;
}
.change-request h3 {
  font-size: 21px;
  margin: 11px 0;
}
.change-request p {
  font-size: 12px;
  line-height: 1.5;
  margin: 9px 0 16px;
}
.change-request .art-button {
  font-size: 11px;
  min-height: 40px;
  padding: 8px 15px;
}
.gate-market {
  position: absolute;
  left: 9%;
  right: 2%;
  top: 7%;
}
.market-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 3px 17px;
}
.market-title > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.09em;
  color: #ecd8b6;
}
.market-title > small {
  font-size: 9px;
  opacity: 0.7;
}
.market-title .icon {
  width: 17px;
  height: 17px;
}
.gate-offer {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  text-align: left;
  padding: 20px;
  margin-bottom: 12px;
  transition:
    border 0.2s,
    background 0.2s,
    transform 0.2s;
  border-radius: 14px;
}
.gate-offer.chosen {
  border-color: rgba(246, 208, 156, 0.8);
  background: linear-gradient(
    110deg,
    rgba(246, 208, 156, 0.13),
    rgba(211, 234, 248, 0.04)
  );
}
.gate-offer:hover {
  transform: translateX(3px);
}
.offer-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 245, 255, 0.25);
  border-radius: 50%;
  color: var(--gold);
}
.offer-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.offer-main > small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.8;
}
.offer-main > strong {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
}
.offer-main > span {
  font-size: 11px;
  color: #c8dae5;
}
.gate-offer > b {
  font-size: 25px;
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
}
.gate-market > p {
  font-size: 11px;
  text-align: center;
  color: #d4dde4;
  margin-top: 20px;
}
.work-panel {
  position: absolute;
  left: 11%;
  top: 5%;
  width: 82%;
  padding: 28px;
}
.work-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.work-head > span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.work-head .icon {
  width: 18px;
  height: 18px;
}
.work-head > small {
  font-size: 9px;
  color: #d6e7ee;
  letter-spacing: 0.09em;
}
.work-panel h3 {
  font-size: 27px;
  margin: 25px 0;
}
.work-step {
  display: flex;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(235, 245, 255, 0.23);
  min-height: 141px;
}
.work-step > b {
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
}
.work-step strong {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
}
.work-step p {
  font-size: 13px;
  margin: 9px 0 0;
  line-height: 1.5;
}
.step-track {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 13px 0 22px;
}
.step-track span {
  font-size: 11px;
  border: 1px solid rgba(228, 240, 255, 0.22);
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0.45;
}
.step-track span.done {
  color: var(--gold);
  border-color: var(--gold);
  opacity: 1;
}
.work-demo {
  display: block;
  font-size: 9px;
  line-height: 1.4;
  opacity: 0.7;
  margin-top: 17px;
}
.balance-panel {
  position: absolute;
  left: 16%;
  top: 3%;
  width: 70%;
  padding: 30px;
}
.balance-panel h3 {
  font-size: 35px;
  line-height: 1.12;
  margin: 22px 0;
}
.balance-panel p {
  margin: 18px 0 0;
  font-size: 12px;
}
.closing-mark {
  position: absolute;
  left: 48.8%;
  top: 41.5%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(251, 249, 238, 0.91);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 0 45px rgba(252, 223, 172, 0.23);
}
.closing-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer {
  position: fixed;
  left: var(--page);
  right: var(--page);
  bottom: 26px;
  z-index: 31;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 59px;
}
.chapters {
  display: flex;
  align-items: flex-end;
  gap: 42px;
  flex: 1;
}
.chapter {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  min-height: 51px;
  padding: 0;
  text-align: left;
  opacity: 0.57;
  transition: opacity 0.35s;
}
.chapter.active,
.chapter:hover {
  opacity: 1;
}
.chapter-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.chapter-number {
  font-size: 12px;
  letter-spacing: 0.03em;
}
.chapter-track {
  width: 69px;
  height: 2px;
  background: rgba(220, 235, 248, 0.25);
  position: relative;
}
.chapter-track i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--white);
  width: 0;
  transition: width 0.5s;
}
.chapter-title {
  font-size: 12px;
  line-height: 1.3;
}
.transport {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}
.round {
  border-radius: 50%;
  border: 1px solid rgba(235, 245, 255, 0.22);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(239, 244, 255, 0.025);
  transition: background 0.2s;
}
.round .icon {
  width: 16px;
  height: 16px;
}
.round:hover {
  background: rgba(240, 247, 255, 0.12);
}
.round.play {
  background: rgba(252, 246, 230, 0.92);
  border-color: transparent;
  color: #193342;
}
.counter {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  margin: 0 8px;
  white-space: nowrap;
  min-width: 50px;
  text-align: center;
  color: #dce6eb;
}
.transport .ghost {
  background: transparent;
  border-color: transparent;
}
.global-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(208, 230, 248, 0.1);
  z-index: 32;
}
.global-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #68b5ca, #f1c88b);
  transition: width 0.25s linear;
}
.scene-announce {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Drawers never replace a scene and do not clutter the film. */
dialog {
  color: var(--white);
  font-family: var(--font);
  padding: 0;
  border: 1px solid rgba(232, 246, 255, 0.25);
  border-radius: 22px;
  background: rgba(11, 29, 45, 0.94);
  box-shadow: 0 30px 140px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-width: min(1140px, calc(100vw - 48px));
  max-height: calc(100dvh - 70px);
  width: 100%;
  overflow: auto;
}
dialog::backdrop {
  background: rgba(3, 13, 23, 0.63);
  backdrop-filter: blur(6px);
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  padding: 30px 36px 20px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(11, 29, 45, 0.94);
}
.dialog-head h2 {
  font-size: 31px;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 5px 0 0;
}
.dialog-head p {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0;
}
.scene-menu {
  padding: 10px 36px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.scene-menu h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 14px;
}
.scene-menu button {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
  padding: 10px 5px;
  min-height: 44px;
  border-bottom: 1px solid rgba(230, 245, 255, 0.08);
  color: #d5e2e9;
}
.scene-menu button span:first-child {
  opacity: 0.44;
  min-width: 19px;
  font-size: 10px;
  margin-top: 2px;
}
.scene-menu button:hover,
.scene-menu button.current {
  color: white;
  background: rgba(223, 240, 255, 0.06);
  border-radius: 6px;
}
.scene-menu button.current {
  color: var(--gold);
}
.notes-content {
  padding: 0 36px 34px;
  font-size: 16px;
  line-height: 1.75;
  max-width: 870px;
  color: #d4e1e9;
}
.notes-content p {
  margin-top: 0;
}
.notes-content h3 {
  color: var(--gold);
  font-size: 16px;
  font-weight: 500;
  margin: 24px 0 10px;
}
.notes-content .note-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(226, 243, 255, 0.15);
  padding-top: 20px;
  margin-top: 24px;
  font-size: 12px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 112px;
  transform: translateX(-50%);
  max-width: calc(100vw - 40px);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 12px;
  border: 1px solid rgba(233, 245, 255, 0.35);
  background: rgba(10, 28, 44, 0.92);
  backdrop-filter: blur(12px);
  z-index: 50;
  transition: opacity 0.3s;
  pointer-events: none;
  opacity: 0;
}
.toast.show {
  opacity: 1;
}
.boot-fallback {
  padding: 150px 6vw;
  font-size: 24px;
  max-width: 780px;
  line-height: 1.5;
}
.boot-fallback img {
  max-width: 260px;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes artEnter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes glassEnter {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}
@media (min-width: 1700px) {
  .topbar {
    top: 34px;
    gap: 45px;
  }
  .brand {
    width: 270px;
  }
  .top-nav {
    gap: 35px;
  }
  .top-nav button {
    font-size: 15px;
  }
  .hero-values {
    bottom: 19%;
  }
  .hero-values strong {
    font-size: 34px;
  }
  .hero-values small {
    font-size: 14px;
  }
  .glass {
    padding: 16px 21px;
    min-height: 72px;
  }
  .glass small {
    font-size: 13px;
  }
  .hero .glass strong {
    font-size: 22px;
  }
  .hero .glass small {
    font-size: 12px;
  }
  .quiet-label {
    font-size: 14px;
  }
  .orb-label:not(.quiet-label):not(.sphere-word):not(.version-number):not(
      .connect-word
    ) {
    font-size: 20px;
  }
  .art-button {
    font-size: 14px;
    padding: 12px 23px;
  }
  .segmented button {
    font-size: 14px;
  }
  .receipt {
    padding: 34px 38px;
  }
  .receipt h3 {
    font-size: 29px;
  }
  .receipt-row {
    font-size: 16px;
    padding: 19px 0;
  }
  .receipt p {
    font-size: 12px;
  }
  .receipt-head > span,
  .receipt-head > small {
    font-size: 10px;
  }
  .creation-panel h3 {
    font-size: 32px;
  }
  .creation-panel p {
    font-size: 14px;
  }
  .change-request h3 {
    font-size: 24px;
  }
  .change-request p {
    font-size: 14px;
  }
  .offer-main > strong {
    font-size: 21px;
  }
  .offer-main > span {
    font-size: 13px;
  }
  .gate-offer {
    padding: 24px;
  }
  .work-panel h3 {
    font-size: 33px;
  }
  .work-step strong {
    font-size: 21px;
  }
  .work-step p {
    font-size: 16px;
  }
  .work-step {
    min-height: 160px;
  }
  .balance-panel h3 {
    font-size: 40px;
  }
  .footer {
    bottom: 35px;
  }
  .chapter-title {
    font-size: 14px;
  }
  .chapter-number {
    font-size: 14px;
  }
  .chapters {
    gap: 55px;
  }
  .round {
    width: 42px;
    height: 42px;
  }
  .counter {
    font-size: 12px;
  }
}
@media (max-width: 1240px) and (min-width: 761px) {
  .brand {
    width: 205px;
  }
  .topbar {
    gap: 26px;
  }
  .top-nav {
    gap: 20px;
  }
  .top-right > span {
    display: none;
  }
  .top-cta {
    padding: 13px 18px;
  }
  .copy {
    top: 22%;
    width: 44%;
  }
  .copy h1 {
    font-size: clamp(43px, 4.5vw, 58px);
  }
  .copy .body {
    font-size: 16px;
  }
  .copy .line {
    font-size: 12px;
    margin-top: 23px;
  }
  .hero .copy h1 {
    font-size: clamp(47px, 4.7vw, 65px);
  }
  .hero .copy .body {
    font-size: 16px;
  }
  .hero-values strong {
    font-size: 25px;
  }
  .hero-values > span {
    min-width: 120px;
    padding: 0 21px;
  }
  .hero-values small {
    font-size: 11px;
  }
  .hero .glass strong {
    font-size: 16px;
  }
  .glass {
    gap: 8px;
    padding: 10px 11px;
    min-height: 52px;
  }
  .glass small {
    font-size: 9px;
  }
  .glass strong {
    font-size: 15px;
  }
  .glass-icon {
    width: 23px;
    height: 23px;
  }
  .glass-icon .icon {
    width: 19px;
    height: 19px;
  }
  .orb-label {
    font-size: 14px;
  }
  .quiet-label {
    font-size: 10px;
  }
  .sphere-word {
    font-size: 14px;
  }
  .receipt {
    padding: 20px 22px;
  }
  .receipt h3 {
    font-size: 20px;
  }
  .receipt-row {
    font-size: 11px;
    padding: 12px 0;
  }
  .receipt-row .icon {
    width: 15px;
    height: 15px;
  }
  .receipt-total strong {
    font-size: 29px;
  }
  .receipt-head {
    gap: 8px;
  }
  .receipt-head > small {
    display: none;
  }
  .creation-panel {
    padding: 18px;
  }
  .creation-panel h3 {
    font-size: 22px;
  }
  .creation-panel p {
    font-size: 11px;
  }
  .change-request {
    padding: 16px;
  }
  .change-request h3 {
    font-size: 18px;
  }
  .change-request p {
    font-size: 11px;
  }
  .gate-offer {
    padding: 15px;
    gap: 10px;
  }
  .offer-main > strong {
    font-size: 14px;
  }
  .gate-offer > b {
    font-size: 20px;
  }
  .work-panel {
    padding: 22px;
  }
  .work-panel h3 {
    font-size: 23px;
    margin: 20px 0;
  }
  .work-step {
    gap: 12px;
    min-height: 123px;
    padding-top: 17px;
  }
  .work-step p {
    font-size: 12px;
  }
  .work-step strong {
    font-size: 15px;
  }
  .work-step > b {
    font-size: 24px;
  }
  .step-track {
    margin: 8px 0 14px;
  }
  .balance-panel {
    padding: 24px;
  }
  .balance-panel h3 {
    font-size: 30px;
  }
  .chapters {
    gap: 27px;
  }
  .chapter-title {
    font-size: 11px;
  }
  .chapter-track {
    width: 48px;
  }
  .transport {
    gap: 4px;
  }
  .round {
    width: 34px;
    height: 34px;
  }
  .counter {
    margin: 0 2px;
  }
  .footer {
    gap: 18px;
  }
  .model-note {
    font-size: 9px;
  }
  .art-button {
    font-size: 11px;
    padding: 9px 15px;
  }
  .segmented button {
    padding: 8px 13px;
  }
}
@media (max-height: 760px) and (min-width: 761px) {
  .topbar {
    top: 18px;
  }
  .copy {
    top: 20%;
  }
  .copy h1 {
    font-size: clamp(42px, 4.2vw, 67px);
    margin-bottom: 19px;
  }
  .copy .body {
    font-size: 16px;
  }
  .copy .line {
    font-size: 12px;
    margin-top: 22px;
  }
  .hero .copy {
    top: 20%;
  }
  .hero .copy h1 {
    font-size: clamp(48px, 4.4vw, 69px);
  }
  .hero-values {
    bottom: 16.5%;
  }
  .hero-values strong {
    font-size: 26px;
  }
  .hero-values small {
    font-size: 11px;
  }
  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }
  .main-actions {
    margin-top: 24px;
  }
  .primary,
  .secondary {
    min-height: 46px;
    font-size: 13px;
    padding: 10px 20px;
  }
  .footer {
    bottom: 18px;
  }
  .art {
    top: 15%;
    height: 66%;
  }
  .hero .art {
    height: 62%;
    top: 13%;
  }
  .receipt {
    top: 0;
    padding: 17px 25px;
  }
  .receipt h3 {
    font-size: 20px;
    margin: 17px 0;
  }
  .receipt-row {
    padding: 10px 0;
    font-size: 11px;
  }
  .receipt p {
    font-size: 9px;
    margin-top: 9px;
  }
  .receipt-total strong {
    font-size: 30px;
  }
  .receipt-total {
    padding-top: 12px;
  }
  .receipt-head > small {
    display: none;
  }
  .work-panel {
    top: 0;
    padding: 20px;
  }
  .work-panel h3 {
    font-size: 22px;
    margin: 19px 0;
  }
  .work-step {
    min-height: 110px;
    padding-top: 14px;
  }
  .work-step p {
    font-size: 12px;
  }
  .work-step strong {
    font-size: 15px;
  }
  .step-track {
    margin: 8px 0 12px;
  }
  .work-demo {
    margin-top: 10px;
  }
  .balance-panel {
    padding: 21px;
  }
  .balance-panel h3 {
    font-size: 30px;
    margin: 15px 0;
  }
  .gate-offer {
    padding: 14px;
    margin-bottom: 10px;
  }
  .gate-market > p {
    margin: 10px 0;
  }
  .quality-readout strong {
    font-size: 43px;
  }
  .parallel-stat strong {
    font-size: 65px;
  }
  .change-request {
    padding: 16px 20px;
    top: 53%;
  }
  .change-request p {
    margin: 8px 0 12px;
  }
}
@media (max-width: 760px) {
  :root {
    --page: 23px;
  }
  .topbar {
    top: 15px;
    height: 43px;
    gap: 10px;
  }
  .brand {
    width: 178px;
  }
  .top-nav,
  .top-right > span,
  .top-cta {
    display: none;
  }
  .top-right {
    margin-left: auto;
    gap: 4px;
  }
  .menu-button {
    display: grid;
    place-items: center;
  }
  .topbar:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -17px -24px -14px;
    background: linear-gradient(
      180deg,
      rgba(12, 29, 46, 0.8),
      rgba(12, 29, 46, 0.1)
    );
  }
  .world img {
    object-position: 74% center;
    transform: scale(1.02);
  }
  body[data-chapter="1"] .world img {
    transform: scale(1.06);
  }
  body:not([data-scene="0"]):not([data-scene="27"]) .shade {
    background:
      linear-gradient(90deg, rgba(8, 23, 38, 0.76), rgba(10, 25, 42, 0.48)),
      linear-gradient(
        0deg,
        rgba(6, 20, 32, 0.91),
        transparent 65%,
        rgba(7, 22, 36, 0.2)
      );
  }
  .shade {
    background:
      linear-gradient(90deg, rgba(9, 25, 40, 0.65), rgba(10, 25, 42, 0.14)),
      linear-gradient(
        0deg,
        rgba(5, 20, 31, 0.84),
        transparent 67%,
        rgba(10, 25, 40, 0.26)
      );
  }
  .scene.active {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 101px var(--page) 113px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    height: 100dvh;
  }
  .scene::-webkit-scrollbar {
    display: none;
  }
  .copy,
  .hero .copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    flex: none;
    animation-duration: 0.5s;
  }
  .eyebrow,
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.27em;
    margin: 0 0 17px;
  }
  .copy h1,
  .hero .copy h1 {
    font-size: clamp(34px, 9.5vw, 57px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
  }
  .hero .copy h1 {
    font-size: clamp(37px, 9.9vw, 62px);
  }
  .copy .body,
  .hero .copy .body {
    font-size: 14px;
    line-height: 1.58;
    letter-spacing: -0.02em;
    max-width: 480px;
    margin: 0;
  }
  .copy .line {
    font-size: 11px;
    line-height: 1.55;
    margin: 18px 0 0;
    max-width: 450px;
    gap: 9px;
    opacity: 0.9;
  }
  .copy .line:before {
    width: 18px;
    margin-top: 8px;
  }
  .main-actions {
    margin-top: 24px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .primary,
  .secondary {
    padding: 11px 16px;
    font-size: 12px;
    min-height: 45px;
    gap: 8px;
  }
  .primary .icon,
  .secondary .icon {
    width: 18px;
    height: 18px;
  }
  .art,
  .hero .art {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    flex: none;
    width: calc(100% + 22px);
    margin-left: -11px;
    height: auto;
    aspect-ratio: 1.25;
    margin-top: 23px;
    margin-bottom: 24px;
    min-height: 280px;
    max-height: 470px;
  }
  .hero .art {
    margin-top: 30px;
    margin-bottom: 0;
    min-height: 250px;
    aspect-ratio: 1.48;
  }
  .art .diagram {
    overflow: visible;
  }
  .diagram text {
    font-size: 25px;
  }
  .diagram text.small {
    font-size: 21px;
  }
  .diagram text.method-name {
    font-size: 26px;
  }
  .hero-values {
    position: relative;
    left: auto;
    bottom: auto;
    display: flex;
    gap: 0;
    margin-top: 23px;
    max-width: 500px;
  }
  .hero-values > span {
    min-width: 0;
    width: 33.333%;
    padding: 0 11px;
  }
  .hero-values strong {
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 7px;
  }
  .hero-values small {
    font-size: 10px;
    line-height: 1.4;
  }
  .glass {
    padding: 8px 9px;
    gap: 7px;
    min-height: 44px;
    max-width: 39%;
    border-radius: 11px;
    backdrop-filter: blur(7px);
  }
  .glass strong,
  .hero .glass strong {
    font-size: 12px;
    line-height: 1.22;
  }
  .glass small,
  .hero .glass small {
    font-size: 8px;
    line-height: 1.3;
    margin-top: 4px;
  }
  .glass-icon {
    width: 19px;
    height: 23px;
    background: none;
  }
  .glass-icon .icon {
    width: 18px;
    height: 18px;
  }
  .glass.wide {
    min-width: 0;
    max-width: 49%;
    width: 49%;
  }
  .glass.compact {
    min-height: 36px;
    padding: 7px 9px;
  }
  .glass.compact strong {
    font-size: 10px;
  }
  .glass.runtime-state {
    min-width: 0;
    max-width: 59%;
    width: 59%;
  }
  .hero .glass {
    padding: 10px;
    min-height: 44px;
    max-width: 40%;
    border-radius: 12px;
  }
  .hero .glass small {
    display: none;
  }
  .hero .glass strong {
    font-size: 13px;
  }
  .hero .glass-icon {
    width: 22px;
    height: 22px;
  }
  .orb-label {
    font-size: 10px;
    white-space: nowrap;
    line-height: 1.3;
  }
  .quiet-label {
    font-size: 8px;
    letter-spacing: 0;
    white-space: normal;
    min-width: 100px;
    max-width: 88%;
  }
  .sphere-word {
    font-size: 10px;
    letter-spacing: 0.09em;
  }
  .connect-word {
    font-size: 23px;
  }
  .version-number {
    font-size: 26px;
  }
  .scope-path {
    font-size: 9px;
    gap: 6px;
    max-width: 100%;
  }
  .art-foot {
    bottom: -12%;
    min-height: 43px;
    gap: 7px;
  }
  .art-button {
    font-size: 10px;
    padding: 9px 13px;
    min-height: 42px;
    gap: 8px;
    max-width: 100%;
  }
  .art-button .icon {
    width: 14px;
    height: 14px;
  }
  .segmented {
    padding: 3px;
    gap: 2px;
  }
  .segmented button {
    font-size: 10px;
    padding: 8px 13px;
    min-height: 37px;
  }
  .model-note {
    font-size: 8px;
    padding: 0 10px;
  }
  .raci-row {
    left: 3%;
    right: 0;
    bottom: -1%;
    gap: 7px;
  }
  .raci-row span {
    font-size: 8px;
    gap: 6px;
  }
  .raci-row b {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .waiting-ribbon {
    left: 7%;
    right: 4%;
    gap: 11px;
    bottom: 0;
  }
  .waiting-ribbon span {
    font-size: 8px;
    letter-spacing: 0.13em;
  }
  .waiting-ribbon strong {
    font-size: 12px;
  }
  .gate-chain {
    font-size: 9px;
    gap: 9px;
    padding: 10px 12px;
    left: 3%;
    top: 51%;
  }
  .quality-readout {
    top: 0;
    left: 43%;
    gap: 4px;
  }
  .quality-readout > span {
    font-size: 7px;
    letter-spacing: 0.06em;
  }
  .quality-readout > strong {
    font-size: 29px;
  }
  .quality-readout > small {
    font-size: 8px;
    max-width: 150px;
  }
  .parallel-stat strong {
    font-size: 49px;
  }
  .parallel-stat span {
    font-size: 7px;
    letter-spacing: 0.1em;
  }
  .connection-rule {
    font-size: 9px;
    gap: 7px;
    bottom: -2%;
    left: 0;
    right: 0;
    padding: 12px 0;
  }
  .connection-rule .icon {
    width: 14px;
    height: 14px;
  }
  .glass-surface {
    border-radius: 13px;
  }
  .receipt {
    left: 10%;
    top: 0;
    width: 83%;
    padding: 17px 18px;
  }
  .receipt-head > span {
    font-size: 7px;
    gap: 5px;
  }
  .receipt-head .icon {
    width: 13px;
    height: 13px;
  }
  .receipt-head > small {
    font-size: 7px;
  }
  .receipt h3 {
    font-size: 18px;
    margin: 16px 0;
  }
  .receipt-row {
    padding: 10px 0;
    font-size: 10px;
    gap: 10px;
  }
  .receipt-row > span {
    gap: 6px;
  }
  .receipt-row small {
    font-size: 8px;
  }
  .receipt-row .icon {
    width: 14px;
    height: 14px;
  }
  .receipt-total {
    padding-top: 12px;
    gap: 12px;
  }
  .receipt-total strong {
    font-size: 25px;
  }
  .receipt-total > span {
    font-size: 9px;
    max-width: 100px;
  }
  .receipt p {
    font-size: 8px;
    line-height: 1.4;
    margin-top: 10px;
  }
  .scene[data-type="cost"] .art {
    aspect-ratio: 1.02;
    min-height: 340px;
  }
  .creation-panel {
    padding: 15px;
    left: 1%;
    width: 56%;
    top: 0;
  }
  .creation-panel > small {
    font-size: 7px;
    letter-spacing: 0.03em;
  }
  .creation-panel h3 {
    font-size: 17px;
    margin: 10px 0;
  }
  .creation-panel p {
    font-size: 9px;
    line-height: 1.5;
    margin: 9px 0 0;
  }
  .change-request {
    padding: 15px;
    left: 2%;
    width: 72%;
    top: 54%;
  }
  .change-request > small {
    font-size: 7px;
    letter-spacing: 0.06em;
  }
  .change-request h3 {
    font-size: 15px;
    margin: 8px 0;
  }
  .change-request p {
    font-size: 9px;
    line-height: 1.4;
    margin: 7px 0 12px;
  }
  .change-request .art-button {
    font-size: 9px;
    min-height: 38px;
    padding: 7px 11px;
  }
  .scene[data-type="steering"] .art {
    margin-bottom: 52px;
  }
  .gate-market {
    left: 1%;
    right: 1%;
    top: 3%;
  }
  .market-title {
    gap: 8px;
    margin-bottom: 13px;
  }
  .market-title > span {
    font-size: 7px;
    letter-spacing: 0.03em;
    gap: 4px;
  }
  .market-title > small {
    font-size: 7px;
  }
  .market-title .icon {
    width: 13px;
    height: 13px;
  }
  .gate-offer {
    padding: 13px 12px;
    gap: 9px;
    margin-bottom: 11px;
    border-radius: 12px;
  }
  .offer-icon {
    width: 28px;
    height: 28px;
  }
  .offer-icon .icon {
    width: 16px;
    height: 16px;
  }
  .offer-main > small {
    font-size: 7px;
  }
  .offer-main > strong {
    font-size: 12px;
  }
  .offer-main > span {
    font-size: 8px;
  }
  .offer-main {
    gap: 4px;
  }
  .gate-offer > b {
    font-size: 19px;
  }
  .gate-market > p {
    font-size: 9px;
    margin: 15px 0 0;
  }
  .scene[data-type="discovery"] .art {
    aspect-ratio: 1.08;
  }
  .work-panel {
    width: 98%;
    left: 1%;
    top: 1%;
    padding: 18px;
  }
  .work-head > span {
    font-size: 8px;
    gap: 5px;
  }
  .work-head .icon {
    width: 14px;
    height: 14px;
  }
  .work-head > small {
    font-size: 7px;
    letter-spacing: 0.04em;
  }
  .work-panel h3 {
    font-size: 20px;
    margin: 20px 0;
  }
  .work-step {
    gap: 12px;
    min-height: 102px;
    padding-top: 16px;
  }
  .work-step > b {
    font-size: 23px;
  }
  .work-step strong {
    font-size: 13px;
  }
  .work-step p {
    font-size: 10px;
    margin: 8px 0 0;
    line-height: 1.5;
  }
  .step-track {
    gap: 17px;
    margin: 9px 0 15px;
  }
  .step-track span {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
  .work-panel .art-button {
    font-size: 10px;
    min-height: 40px;
  }
  .work-demo {
    font-size: 7px;
    line-height: 1.5;
    margin-top: 12px;
  }
  .scene[data-type="execution"] .art {
    min-height: 370px;
    aspect-ratio: 0.92;
  }
  .balance-panel {
    width: 85%;
    left: 8%;
    top: 0;
    padding: 22px;
  }
  .balance-panel > small {
    font-size: 8px;
  }
  .balance-panel h3 {
    font-size: 26px;
    margin: 18px 0;
  }
  .balance-panel p {
    font-size: 10px;
    margin: 14px 0 0;
  }
  .scene[data-type="workeragents"] .art {
    aspect-ratio: 1.07;
  }
  .closing-mark {
    width: 42px;
    height: 42px;
    padding: 5px;
  }
  .footer {
    left: 23px;
    right: 20px;
    bottom: 18px;
    gap: 5px;
    min-height: 42px;
  }
  .footer:before {
    content: "";
    z-index: -1;
    position: absolute;
    inset: -20px -25px -20px;
    background: linear-gradient(
      0deg,
      rgba(5, 19, 30, 0.94) 38%,
      rgba(5, 19, 30, 0.7) 76%,
      transparent
    );
  }
  .chapters {
    gap: 0;
    flex: 1;
  }
  .chapter:not(.active) {
    display: none;
  }
  .chapter {
    gap: 5px;
    min-height: 40px;
  }
  .chapter-title {
    font-size: 10px;
  }
  .chapter-number {
    font-size: 10px;
  }
  .chapter-track {
    width: 49px;
    height: 1px;
  }
  .chapter-top {
    gap: 8px;
  }
  .transport {
    gap: 4px;
  }
  .round {
    width: 34px;
    height: 34px;
  }
  .round .icon {
    width: 15px;
    height: 15px;
  }
  .counter {
    font-size: 9px;
    min-width: 40px;
    margin: 0 3px;
  }
  .transport .fullscreen-button {
    display: none;
  }
  .transport .notes-button {
    width: 26px;
    border: 0;
  }
  .transport .menu-round {
    display: none;
  }
  .scene-menu {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    padding: 7px 23px 25px;
  }
  .dialog-head {
    padding: 24px 23px 16px;
  }
  .dialog-head h2 {
    font-size: 26px;
  }
  .dialog-head p {
    font-size: 9px;
  }
  .scene-menu h3 {
    font-size: 12px;
  }
  .scene-menu button {
    font-size: 11px;
  }
  .notes-content {
    padding: 0 23px 26px;
    font-size: 14px;
    line-height: 1.7;
  }
  dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 28px);
    border-radius: 17px;
  }
  .toast {
    font-size: 11px;
    text-align: center;
    bottom: 85px;
    line-height: 1.5;
  }
}
@media (max-width: 380px) {
  .brand {
    width: 166px;
  }
  .copy h1,
  .hero .copy h1 {
    font-size: 34px;
  }
  .copy .body,
  .hero .copy .body {
    font-size: 13px;
  }
  .copy .line {
    font-size: 10px;
  }
  .scene.active {
    padding-top: 92px;
  }
  .art,
  .hero .art {
    min-height: 260px;
  }
  .hero .art {
    min-height: 232px;
  }
  .segmented button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .hero-values strong {
    font-size: 18px;
  }
  .transport {
    gap: 2px;
  }
  .round {
    width: 32px;
    height: 32px;
  }
  .counter {
    min-width: 35px;
  }
  .chapter-title {
    font-size: 9px;
  }
  .glass strong,
  .hero .glass strong {
    font-size: 11px;
  }
  .glass small {
    font-size: 7px;
  }
  .quiet-label {
    font-size: 7px;
  }
}
body.calm *,
body.calm *:before,
body.calm *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.calm .traveller {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .traveller {
    display: none;
  }
}

/* Camera staging: the same world, but not the same static shot for 28 scenes. */
@media (min-width: 761px) {
  body[data-scene="1"] .world img,
  body[data-scene="2"] .world img {
    transform: scale(1.68);
    transform-origin: 18% 71%;
    filter: saturate(0.88) brightness(0.79);
  }
  body[data-scene="3"] .world img {
    transform: scale(1.16);
    transform-origin: 62% 54%;
    filter: saturate(0.9) brightness(0.84);
  }
  body[data-scene="4"] .world img,
  body[data-scene="5"] .world img,
  body[data-scene="6"] .world img {
    transform: scale(2.07);
    transform-origin: 19% 76%;
    filter: saturate(0.86) brightness(0.78);
  }
  body[data-scene="7"] .world img {
    transform: scale(1.72);
    transform-origin: 30% 70%;
    filter: saturate(0.87) brightness(0.76);
  }
  body[data-scene="8"] .world img,
  body[data-scene="9"] .world img {
    transform: scale(1.15);
    transform-origin: 83% 62%;
    filter: saturate(0.8) brightness(0.78);
  }
  body[data-scene="10"] .world img {
    transform: scale(1.44);
    transform-origin: 18% 63%;
    filter: saturate(0.9) brightness(0.81);
  }
  body[data-scene="11"] .world img,
  body[data-scene="12"] .world img,
  body[data-scene="13"] .world img,
  body[data-scene="14"] .world img,
  body[data-scene="15"] .world img {
    transform: scale(2.08);
    transform-origin: 17% 44%;
    filter: saturate(0.86) brightness(0.75);
  }
  body[data-chapter="2"] .world img {
    transform: scale(1.84);
    transform-origin: 17% 76%;
    filter: saturate(0.92) brightness(0.83);
  }
  body[data-chapter="3"] .world img {
    transform: scale(1.14);
    transform-origin: 88% 64%;
    filter: saturate(0.9) brightness(0.82);
  }
  body[data-scene="27"] .world img {
    transform: scale(1);
    filter: saturate(0.98) brightness(1);
  }
  .hero .copy {
    top: 15.6%;
  }
  .hero .copy h1 {
    font-size: clamp(50px, 4.6vw, 80px);
    line-height: 1.025;
  }
  .hero .art {
    top: 11%;
    right: 5.5%;
    width: 51%;
    height: auto;
    aspect-ratio: 760/590;
  }
  .art {
    width: 48%;
    height: auto;
    aspect-ratio: 760/590;
    top: 16.4%;
  }
}
@media (min-width: 761px) and (max-height: 760px) {
  .hero .copy {
    top: 18.3%;
  }
  .hero .copy h1 {
    font-size: clamp(48px, 4.45vw, 68px);
  }
  .hero .art {
    top: 9%;
    height: 66%;
    aspect-ratio: auto;
  }
  .art {
    top: 13%;
    height: auto;
    aspect-ratio: 760/590;
  }
  .receipt {
    top: 0;
  }
  .work-panel {
    top: 0;
  }
}
.brand img {
  filter: drop-shadow(0 0 0.7px rgba(255, 245, 222, 0.45));
}
.diagram .growing {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawTrace 1.5s 0.1s var(--ease) forwards;
}
@keyframes drawTrace {
  to {
    stroke-dashoffset: 0;
  }
}

body.calm .diagram .growing {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .diagram .growing {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 760px) {
  .hero .art .glass:last-of-type {
    left: 86% !important;
  }
  .hero-values strong {
    font-size: 17px;
    white-space: nowrap;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .top-nav {
    display: none;
  }
  .menu-button {
    display: grid;
    place-items: center;
  }
  .copy h1 {
    font-size: 42px;
  }
  .hero .copy h1 {
    font-size: 45px;
  }
  .top-right {
    gap: 15px;
  }
  .art {
    top: 24%;
  }
  .copy {
    top: 23%;
  }
  .hero .art {
    top: 28%;
  }
  .hero .copy {
    top: 17%;
  }
  .hero-values > span {
    padding: 0 15px;
    min-width: 106px;
  }
  .hero-values strong {
    font-size: 22px;
  }
  .footer {
    gap: 15px;
  }
  .chapters {
    gap: 19px;
  }
  .chapter-title {
    font-size: 10px;
  }
  .chapter-track {
    width: 35px;
  }
  .transport .fullscreen-button {
    display: none;
  }
  .receipt {
    width: 80%;
    left: 10%;
    padding: 20px;
  }
  .receipt-row {
    font-size: 10px;
  }
  .work-panel {
    width: 92%;
    left: 4%;
    padding: 18px;
  }
  .work-head > small {
    font-size: 7px;
  }
  .work-panel h3 {
    font-size: 20px;
  }
  .work-step p {
    font-size: 11px;
  }
  .offer-main > strong {
    font-size: 12px;
  }
  .gate-offer {
    padding: 12px;
    gap: 8px;
  }
  .market-title > small {
    display: none;
  }
}
@media (max-width: 760px) {
  .art,
  .hero .art {
    width: 100%;
    margin-left: 0;
  }
}

/* Revision of cinematic/style.css: native document scrolling, not a slide player. */
html {
  height: auto;
  overflow-x: clip;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}
body {
  height: auto;
  min-height: 100vh;
  overflow: visible;
  isolation: isolate;
  background: #122b3d;
}
body:before {
  content: none;
}
button,
a {
  touch-action: manipulation;
}
a {
  text-decoration: none;
}
.scene,
.scene.active {
  display: block;
  position: relative;
  inset: auto;
  overflow: visible;
}
.world {
  z-index: -5;
  background: #142a3e;
}
.world img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 57%;
  transform: none !important;
  filter: none !important;
  transition: none;
  opacity: 0;
  will-change: opacity, transform;
}
.world img.current {
  opacity: 1;
}
.shade {
  z-index: -4;
  transition: opacity 0.35s;
  background:
    linear-gradient(
      90deg,
      rgba(8, 22, 35, 0.58),
      rgba(10, 25, 41, 0.4) 35%,
      rgba(13, 30, 47, 0.09) 60%,
      transparent
    ),
    linear-gradient(
      0deg,
      rgba(3, 13, 21, 0.75),
      transparent 34%,
      transparent 79%,
      rgba(13, 26, 44, 0.04)
    ) !important;
}
.reading-shade {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 21, 34, 0.75) 0%,
    rgba(7, 24, 39, 0.66) 40%,
    rgba(8, 26, 42, 0.28) 67%,
    rgba(12, 25, 35, 0.18)
  );
}
body:not([data-scene="0"]):not([data-scene="27"]) .shade {
  background:
    linear-gradient(
      90deg,
      rgba(8, 22, 35, 0.58),
      rgba(10, 25, 41, 0.4) 35%,
      rgba(13, 30, 47, 0.09) 60%,
      transparent
    ),
    linear-gradient(
      0deg,
      rgba(3, 13, 21, 0.75),
      transparent 34%,
      transparent 79%,
      rgba(13, 26, 44, 0.04)
    ) !important;
}
.topbar {
  height: 56px;
  top: 24px;
  transition:
    transform 0.45s,
    opacity 0.45s;
}
.topbar.away {
  transform: translateY(-105px);
  opacity: 0;
  pointer-events: none;
}
.topbar:before {
  content: "";
  position: absolute;
  inset: -24px -70px -18px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 19, 30, 0.48), transparent);
  pointer-events: none;
}
.topbar .top-cta {
  padding: 14px 23px;
}
.top-nav a {
  color: #dae1e8;
  font-size: 14px;
}
.top-nav a:hover {
  color: var(--gold);
}
.top-nav {
  gap: 28px;
}
.brand {
  display: block;
}
.top-cta span {
  display: flex;
  align-items: center;
}
#opening {
  height: 100svh;
  min-height: 700px;
  position: relative;
}
.hero .copy {
  top: 16%;
  width: 46%;
  max-width: 740px;
  animation: none;
}
.hero .copy h1 {
  font-size: clamp(48px, 4.7vw, 82px);
  line-height: 1.05;
  font-weight: 400;
}
.hero .eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  margin-bottom: 27px;
}
.hero .copy .body {
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 400;
  line-height: 1.53;
  max-width: 580px;
}
.hero .main-actions {
  margin-top: 34px;
}
.hero .art {
  position: absolute;
  top: 11%;
  width: 51%;
  right: 5.5%;
  left: auto;
  aspect-ratio: 760/590;
  height: auto;
  min-height: 0;
  margin: 0;
  animation: none;
}
.hero-values {
  bottom: 18.5%;
  animation: none;
}
.opening-bottom {
  position: absolute;
  left: var(--page);
  right: var(--page);
  bottom: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.opening-bottom nav {
  display: flex;
  gap: 52px;
}
.opening-bottom nav a {
  font-size: 13px;
  color: #c8d3dc;
  position: relative;
}
.opening-bottom nav a:first-child {
  color: white;
}
.opening-bottom nav a:before {
  content: "";
  display: block;
  height: 1px;
  width: 60px;
  background: rgba(236, 247, 255, 0.35);
  margin-bottom: 11px;
}
.scroll-cue {
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  letter-spacing: 0.03em;
  color: #f2e8d7;
}
.scroll-cue .icon {
  transform: rotate(90deg);
}
/* The text is in normal flow. This is deliberately not a fixed copy layer. */
#story-flow {
  position: relative;
  z-index: 2;
  padding-top: 10svh;
}
.passage {
  position: relative;
  min-height: 152svh;
  padding: 28svh var(--page) 30svh;
  scroll-margin-top: 10svh;
  overflow: visible;
}
.passage[data-type="methods"] {
  min-height: 460svh;
}
.passage .story-copy {
  position: relative;
  width: 43%;
  max-width: 655px;
  z-index: 3;
}
.story-copy .eyebrow {
  margin: 0 0 23px;
  letter-spacing: 0.3em;
}
.story-copy h2 {
  font-weight: 400;
  font-size: clamp(40px, 4.05vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 0 0 25px;
  text-wrap: balance;
}
.story-copy h2 em {
  font-style: normal;
  color: var(--gold);
}
.story-copy > .body {
  font-size: clamp(18px, 1.38vw, 22px);
  line-height: 1.6;
  color: #dbe4ea;
  margin: 0;
  max-width: 590px;
}
.story-copy > .line {
  font-size: 15px;
  line-height: 1.7;
  color: #c4d1dd;
  margin: 24px 0 0;
  padding-left: 32px;
  position: relative;
  max-width: 560px;
}
.story-copy > .line:before {
  position: absolute;
  left: 0;
  top: 12px;
  content: "";
  width: 21px;
  height: 1px;
  background: var(--gold);
}
.continuation {
  position: relative;
  margin-top: 38svh;
  max-width: 540px;
}
.continuation h3 {
  font-size: clamp(25px, 2.2vw, 35px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 18px;
  color: #f1cca0;
}
.continuation p {
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.7;
  color: #d1dce4;
  margin: 0;
}
.passage[data-type="methods"] .continuation {
  margin-top: 55svh;
}
.passage[data-type="methods"] .continuation p {
  max-width: 530px;
}
.interlude {
  position: relative;
  pointer-events: none;
  height: 12svh;
}
.mobile-art {
  display: none;
}
/* The original drawings remain. Only their camera and timing are changed. */
#visual-stage {
  position: fixed;
  left: auto;
  right: 3.7vw;
  top: 19svh;
  width: 48vw;
  aspect-ratio: 760/590;
  height: auto;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
#visual-stage .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  min-height: 0;
  transform: none;
  animation: none;
  pointer-events: none;
}
#visual-stage .art > button,
#visual-stage .art button,
#visual-stage .art a {
  pointer-events: auto;
}
#visual-stage .art-foot {
  display: none;
}
#visual-stage .art .change-request button,
#visual-stage .art .work-panel button {
  display: none;
}
.diagram .growing {
  stroke-dashoffset: 0;
  animation: none;
}
.ghost-pane {
  animation: none !important;
}
.diagram {
  overflow: visible;
}
.art .glass {
  backdrop-filter: blur(9px);
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.11),
    rgba(166, 206, 229, 0.035)
  );
  box-shadow: 0 18px 55px rgba(4, 12, 25, 0.12);
}
#visual-caption {
  position: absolute;
  top: 103%;
  left: 7%;
  right: 7%;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #d4dfe7;
  text-wrap: balance;
  text-shadow: 0 1px 20px #102536;
  pointer-events: none;
}
#visual-caption .accent {
  color: var(--gold);
}
.state-status {
  position: fixed;
  right: 40px;
  bottom: 42px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #d1dee8;
  z-index: 10;
  opacity: 0.75;
  pointer-events: none;
}
.scroll-progress {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  z-index: 35;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #64c8db, #efca96);
}
#wayfinder {
  position: fixed;
  left: 15px;
  top: 41%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.3s;
}
.waypoint {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  position: relative;
}
.waypoint:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.waypoint.active:before {
  background: #f0cc97;
  box-shadow: 0 0 14px rgba(241, 211, 162, 0.65);
}
.waypoint span {
  position: absolute;
  left: 24px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-size: 11px;
  color: #e6e9eb;
  background: #0b2434cc;
  padding: 7px 10px;
  border-radius: 15px;
  transition: opacity 0.2s;
}
.waypoint:hover span,
.waypoint:focus-visible span {
  opacity: 1;
}
.story-tools {
  position: fixed;
  right: 30px;
  bottom: 25px;
  display: flex;
  gap: 12px;
  z-index: 30;
}
.story-tools button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(6, 23, 37, 0.38);
  border: 1px solid rgba(220, 235, 245, 0.18);
  backdrop-filter: blur(12px);
}
.story-tools .icon {
  width: 17px;
  height: 17px;
}
.story-tools .sources-button {
  font-size: 17px;
  font-family: Georgia, serif;
  font-style: italic;
}
.back-top .icon {
  transform: rotate(-90deg);
}
#closing {
  padding-bottom: 50svh;
}
.end-links {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.note-link {
  margin-top: 23px;
  font-size: 12px;
  color: #becedc;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
}
.note-link svg {
  width: 14px;
  height: 14px;
}
.copyright {
  color: #aebfcc;
  margin: 18px 0 0;
  font-size: 12px;
}
.dialog-body {
  padding: 0 36px 35px;
  line-height: 1.75;
  color: #d2dfe7;
  font-size: 16px;
}
.dialog-body h3 {
  color: var(--gold);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.35;
}
.dialog-body .source-list a {
  display: block;
  margin: 12px 0;
  color: #a7dbeb;
  overflow-wrap: anywhere;
}
.dialog-body button {
  color: #eed0a4;
}
.close {
  position: absolute;
  right: 20px;
  top: 20px;
}
.sr-document {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 761px) and (max-height: 790px) {
  #opening {
    min-height: 620px;
  }
  .hero .copy {
    top: 20%;
  }
  .hero .copy h1 {
    font-size: clamp(43px, 4.4vw, 67px);
  }
  .hero .copy .body {
    font-size: 17px;
    max-width: 535px;
  }
  .hero .eyebrow {
    margin-bottom: 17px;
  }
  .hero .art {
    top: 13%;
    width: 49%;
    right: 4%;
  }
  .hero-values {
    bottom: 13.5%;
  }
  .hero-values strong {
    font-size: 24px;
  }
  .opening-bottom {
    bottom: 26px;
  }
  .hero .main-actions {
    margin-top: 25px;
  }
  .hero-values small {
    font-size: 11px;
  }
  #visual-stage {
    top: 17vh;
    width: 47vw;
  }
  .story-copy h2 {
    font-size: clamp(40px, 3.8vw, 57px);
  }
  .story-copy > .body {
    font-size: 19px;
  }
  .passage {
    padding-top: 28vh;
  }
  .continuation {
    margin-top: 48vh;
  }
  .top-right > span {
    font-size: 13px;
  }
  .topbar {
    gap: 30px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .top-nav {
    display: none;
  }
  .topbar .brand {
    width: 205px;
  }
  .top-right > span {
    display: none;
  }
  .passage {
    padding-left: 42px;
    padding-right: 32px;
  }
  .passage .story-copy {
    width: 45%;
  }
  .story-copy h2 {
    font-size: 39px;
  }
  .story-copy > .body,
  .continuation p {
    font-size: 17px;
  }
  #visual-stage {
    width: 48vw;
    right: 1.5vw;
    top: 29vh;
  }
  .hero .copy {
    width: 50%;
    top: 22%;
  }
  .hero .copy h1 {
    font-size: 44px;
  }
  .hero .art {
    top: 30%;
    width: 49%;
    right: 1%;
  }
  .hero-values strong {
    font-size: 21px;
  }
  .hero-values > span {
    padding: 0 18px;
    min-width: 135px;
  }
  .opening-bottom nav {
    gap: 22px;
  }
  .opening-bottom nav a {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  html,
  body {
    overflow-x: clip;
    overflow-y: auto;
    height: auto;
  }
  .topbar {
    left: 24px;
    right: 22px;
    top: 22px;
    height: 42px;
    gap: 15px;
  }
  .brand {
    width: 183px;
  }
  .top-right {
    margin-left: auto;
  }
  .top-cta {
    font-size: 11px !important;
    padding: 10px 14px !important;
    gap: 7px;
  }
  .top-right > span,
  .top-nav,
  .top-cta .icon {
    display: none;
  }
  #opening {
    height: 100svh;
    min-height: 820px;
    padding: 0;
    overflow: hidden;
  }
  .hero .copy {
    position: absolute;
    top: 132px;
    left: 24px;
    right: 22px;
    width: auto;
    max-width: 500px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.31em;
    margin-bottom: 19px;
  }
  .hero .copy h1 {
    font-size: clamp(36px, 9.1vw, 56px);
    line-height: 1.08;
    margin: 0 0 21px;
    max-width: 520px;
  }
  .hero .copy .body {
    font-size: 16px;
    line-height: 1.5;
    max-width: 390px;
  }
  .hero .main-actions {
    margin-top: 26px;
    gap: 10px;
  }
  .hero .primary,
  .hero .secondary {
    font-size: 12px;
    min-height: 45px;
    padding: 11px 15px;
  }
  .hero .art {
    position: absolute;
    top: auto;
    bottom: 95px;
    left: 18px;
    right: 18px;
    width: calc(100% - 36px);
    aspect-ratio: 760/590;
    height: auto;
    min-height: 0;
    margin: 0;
    opacity: 0.9;
  }
  .hero .art .glass {
    padding: 7px 10px;
    min-width: 0;
    gap: 7px;
  }
  .hero .art .glass strong {
    font-size: 11px;
  }
  .hero .art .glass small {
    font-size: 7px;
  }
  .hero .art .glass .glass-icon {
    width: 18px;
    height: 18px;
  }
  .hero .art .glass:last-of-type {
    left: 84% !important;
  }
  .hero-values {
    display: none;
  }
  .opening-bottom {
    left: 24px;
    right: 24px;
    bottom: 25px;
  }
  .opening-bottom nav {
    display: none;
  }
  .scroll-cue {
    font-size: 12px;
  }
  .world img {
    object-position: 72% 50%;
  }
  .shade {
    background:
      linear-gradient(90deg, rgba(6, 21, 35, 0.58), rgba(6, 21, 35, 0.18)),
      linear-gradient(
        0deg,
        rgba(5, 20, 31, 0.68),
        transparent 48%,
        rgba(4, 19, 32, 0.18)
      ) !important;
  }
  #story-flow {
    padding-top: 8svh;
  }
  .passage {
    padding: 140px 25px 110px;
    min-height: 0 !important;
    overflow: hidden;
    scroll-margin-top: 0;
  }
  .passage .story-copy {
    width: 100%;
    max-width: 620px;
  }
  .story-copy h2 {
    font-size: 38px;
    line-height: 1.12;
    max-width: 560px;
    margin-bottom: 22px;
  }
  .story-copy > .body {
    font-size: 18px;
    line-height: 1.6;
    max-width: 550px;
  }
  .story-copy > .eyebrow {
    font-size: 9px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
  }
  .story-copy > .line {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 20px;
  }
  .continuation,
  .passage[data-type="methods"] .continuation {
    margin-top: 85px;
  }
  .continuation h3 {
    font-size: 28px;
    line-height: 1.25;
  }
  .continuation p {
    font-size: 17px;
    line-height: 1.7;
  }
  #visual-stage {
    display: none;
  }
  #wayfinder {
    display: none;
  }
  .mobile-art {
    display: block;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 760/650 !important;
    min-height: 0 !important;
    margin: 50px 0 0 !important;
    transform: none !important;
  }
  .mobile-art .art-foot {
    display: none;
  }
  .mobile-art .art-caption {
    position: absolute;
    bottom: -20px;
    left: 8px;
    right: 8px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    color: #cbdce4;
  }
  .mobile-art .glass .glass-icon {
    width: 22px;
    height: 22px;
  }
  .mobile-art .glass strong {
    font-size: 12px;
  }
  .mobile-art .glass small {
    font-size: 9px;
  }
  .mobile-art .glass {
    padding: 10px 12px;
  }
  .mobile-art .work-panel {
    left: 0;
    width: 100%;
    padding: 22px;
  }
  .mobile-art .work-panel h3 {
    font-size: 24px;
  }
  .mobile-art .work-step strong {
    font-size: 15px;
  }
  .mobile-art .work-step p {
    font-size: 13px;
  }
  .mobile-art .work-demo {
    font-size: 9px;
  }
  .mobile-art .work-panel button {
    display: none;
  }
  .mobile-art .receipt {
    left: 0;
    width: 100%;
    padding: 21px;
  }
  .mobile-art .receipt h3 {
    font-size: 22px;
  }
  .mobile-art .receipt-row {
    font-size: 12px;
  }
  .mobile-art .receipt-row small {
    font-size: 10px;
  }
  .mobile-art .receipt p {
    font-size: 12px;
  }
  .mobile-art .balance-panel {
    left: 2%;
    width: 96%;
    padding: 23px;
  }
  .mobile-art .balance-panel h3 {
    font-size: 30px;
  }
  .mobile-art .balance-panel p {
    font-size: 13px;
  }
  .mobile-art .creation-panel {
    top: 0;
    padding: 19px;
  }
  .mobile-art .creation-panel h3 {
    font-size: 22px;
  }
  .mobile-art .creation-panel p {
    font-size: 13px;
  }
  .mobile-art .model-note {
    font-size: 11px;
  }
  .mobile-art .connection-rule {
    font-size: 10px;
  }
  .mobile-art .gate-offer {
    padding: 14px 11px;
  }
  .mobile-art .offer-main strong {
    font-size: 13px;
  }
  .mobile-art .offer-main span {
    font-size: 10px;
  }
  .mobile-art .change-request {
    width: 85%;
    padding: 20px;
  }
  .mobile-art .change-request p {
    font-size: 12px;
  }
  .mobile-art .change-request h3 {
    font-size: 21px;
  }
  .mobile-art .change-request button {
    display: none;
  }
  .mobile-art .market-title > small {
    display: none;
  }
  .mobile-art .gate-market {
    width: 100%;
    left: 0;
  }
  #closing {
    padding-bottom: 170px;
  }
  .story-tools {
    bottom: 17px;
    right: 18px;
    gap: 8px;
  }
  .story-tools button {
    width: 39px;
    height: 39px;
  }
  .dialog-body {
    padding: 0 24px 30px;
  }
  .state-status {
    display: none;
  }
  .film-grain {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .world img {
    transform: none !important;
  }
  .traveller {
    display: none;
  }
  .topbar {
    transition: none;
  }
}
/* Preserve the original graph's shared paint server after namespacing local SVGs. */
.diagram .connection {
  stroke: url(#trace-gradient);
}
@media (min-width: 761px) {
  .opening-bottom .scroll-cue {
    margin-right: 115px;
  }
  .passage[data-type="end"] {
    padding-bottom: 45svh;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero .art .glass:last-of-type {
    left: 82% !important;
  }
}

/* Fifteen connected episodes, revising the accepted opening. */
html {
  scroll-padding-top: 0;
  scroll-behavior: smooth;
}
body {
  background: #102c3d;
}
main {
  position: relative;
}
.episode {
  position: relative;
  height: var(--length, 158svh);
  min-height: 900px;
  scroll-margin-top: 0;
  z-index: 2;
}
.stage15 {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  align-items: center;
  gap: 2.2vw;
  padding: 90px var(--page) 52px;
  isolation: isolate;
}
.copy15 {
  position: relative;
  z-index: 2;
  max-width: 620px;
  align-self: center;
  padding-bottom: 5vh;
}
.copy15 .eyebrow {
  font-size: 10px;
  letter-spacing: 0.27em;
  color: #cfdae1;
  line-height: 1.6;
  margin: 0 0 25px;
  font-weight: 500;
  text-transform: uppercase;
}
.copy15 h2 {
  font-size: clamp(38px, 3.65vw, 65px);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: -0.047em;
  margin: 0 0 28px;
  text-wrap: balance;
  max-width: 620px;
}
.copy15 h2 em {
  color: #f0c995;
  font-style: normal;
}
.copy15 .narrative {
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 400;
  line-height: 1.69;
  color: #d8e3e9;
  max-width: 535px;
  margin: 0 0 15px;
}
.copy15 .narrative p {
  margin: 0 0 16px;
}
.copy15 .narrative p:last-child {
  margin-bottom: 0;
}
.copy15 .meaning {
  font-size: 14px;
  line-height: 1.65;
  color: #b8d2dc;
  max-width: 490px;
  margin-top: 26px;
  padding-left: 28px;
  position: relative;
}
.copy15 .meaning:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 1px;
  background: #edcfa6;
}
.figure15 {
  margin: 0;
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 960px;
  z-index: 2;
}
.art15 {
  width: 100%;
  aspect-ratio: 880/620;
  position: relative;
  transform-origin: center;
  filter: drop-shadow(0 10px 30px rgba(4, 19, 30, 0.13));
}
.storysvg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.storysvg text {
  paint-order: stroke;
  stroke: #142c3b;
  stroke-width: 0.5px;
  stroke-opacity: 0.3;
  stroke-linejoin: round;
}
.figure15 figcaption {
  position: relative;
  font-size: clamp(13px, 1.02vw, 17px);
  line-height: 1.6;
  text-wrap: balance;
  color: #dce3e4;
  text-align: center;
  max-width: 710px;
  margin: 8px auto 0;
  padding: 0 20px;
  min-height: 52px;
  text-shadow: 0 1px 14px #142c3b;
}
.mobile-legend {
  display: none;
}
.episode[data-art="7"] .figure15:before,
.episode[data-art="6"] .figure15:before {
  content: "";
  position: absolute;
  inset: 8% 4% 12%;
  background: radial-gradient(
    ellipse,
    rgba(108, 190, 208, 0.08),
    transparent 66%
  );
  border-radius: 50%;
  pointer-events: none;
}
.episode[data-art="8"] .figure15,
.episode[data-art="9"] .figure15 {
  filter: drop-shadow(0 12px 42px rgba(4, 18, 30, 0.2));
}
.final-voice {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid rgba(213, 232, 240, 0.2);
  font-size: 20px;
  line-height: 1.4;
  color: #efcfaa;
  max-width: 490px;
}
.final-voice a {
  font-size: 13px;
  color: #bdd5df;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  min-height: 44px;
}
.final-voice .icon {
  width: 17px;
}
#opening .diagram {
  overflow: visible;
}
.hero-network .traveller {
  display: none;
}
#opening .art .glass {
  animation: none !important;
}
.film-grain {
  display: none;
}
.world img {
  object-position: 60% 57%;
  will-change: opacity;
}
.world img[data-world="drafting"] {
  object-position: 70% 70%;
}
.world img[data-world="night-desk"] {
  object-position: 65% 55%;
}
.top-nav a {
  padding: 14px 0;
}
.topbar .brand img {
  width: 100%;
  height: auto;
}
.top-cta {
  transition: background 0.2s;
}
.top-cta:hover {
  transform: none;
}
.reading-shade {
  background: linear-gradient(
    90deg,
    rgba(4, 20, 32, 0.74) 0%,
    rgba(5, 22, 36, 0.6) 40%,
    rgba(7, 26, 42, 0.17) 67%,
    rgba(12, 25, 35, 0.08)
  );
  transition: none;
}
.story-tools {
  gap: 9px;
  right: 24px;
  bottom: 20px;
}
.story-tools button {
  background: rgba(10, 32, 46, 0.78);
}
.story-tools [hidden] {
  display: none;
}
.progress15 {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  z-index: 40;
  background: rgba(169, 211, 225, 0.1);
}
.progress15 i {
  display: block;
  height: 2px;
  transform-origin: left;
  width: 100%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #9ad9e4, #f0c995);
}
#notes-dialog {
  border: 1px solid #557381;
  background: #102a3b;
  color: #ecf2f5;
  border-radius: 22px;
  width: min(780px, calc(100vw - 34px));
  max-height: 85svh;
  padding: 0;
  box-shadow: 0 45px 100px #041522c9;
}
#notes-dialog::backdrop {
  background: rgba(4, 16, 27, 0.72);
  backdrop-filter: blur(7px);
}
.dialog-head {
  padding: 31px 32px 15px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.dialog-head p {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: #acc5d1;
  margin: 0 0 10px;
}
.dialog-head h2 {
  font-size: 31px;
  line-height: 1.15;
  font-weight: 400;
  color: #f0c995;
  margin: 0;
  letter-spacing: -0.025em;
}
.dialog-head button {
  width: 44px;
  height: 44px;
  border: 1px solid #557080;
  border-radius: 50%;
  flex: none;
}
.dialog-body {
  padding: 8px 32px 34px;
  font-size: 15px;
  line-height: 1.75;
}
.dialog-body h3 {
  font-size: 21px;
  margin-top: 26px;
  color: #f0c995;
}
.source-item {
  display: block;
  font-size: 14px;
  margin: 13px 0;
  line-height: 1.5;
  color: #b4deea;
  overflow-wrap: anywhere;
}
.source-item small {
  color: #9fb9c6;
  display: block;
  margin-top: 3px;
}
#menu15 {
  display: none;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 25px;
  z-index: 60;
  padding: 15px;
  background: #f7ebd5;
  color: #153344;
}
.skip-link:focus {
  top: 10px;
}
.no-js .episode {
  height: auto;
  min-height: 100svh;
}
.no-js .stage15 {
  position: relative;
}
.no-js .story-tools {
  display: none;
}
.no-js .world img:not([data-world="world"]) {
  display: none;
}
.no-js .episode {
  background: linear-gradient(
    90deg,
    rgba(6, 24, 38, 0.9),
    rgba(7, 28, 46, 0.9)
  );
}
body.calm .art15 {
  transform: none !important;
}
body.calm .episode .figure15 figcaption {
  transition: none;
}
body.calm .world img {
  transform: none !important;
}
@media (min-width: 1101px) and (max-height: 800px) {
  .stage15 {
    min-height: 570px;
    padding-top: 74px;
    padding-bottom: 30px;
    gap: 2vw;
  }
  .copy15 {
    padding-bottom: 0;
  }
  .copy15 h2 {
    font-size: clamp(34px, 3.3vw, 49px);
    margin-bottom: 22px;
  }
  .copy15 .eyebrow {
    margin-bottom: 19px;
  }
  .copy15 .narrative {
    font-size: 17px;
    line-height: 1.62;
  }
  .copy15 .meaning {
    font-size: 12px;
    margin-top: 20px;
  }
  .figure15 {
    max-width: 800px;
  }
  .figure15 figcaption {
    font-size: 13px;
    min-height: 40px;
    margin-top: 0;
  }
  .final-voice {
    font-size: 17px;
    padding-top: 12px;
    margin-top: 14px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .stage15 {
    padding: 90px 35px 30px;
    grid-template-columns: 44fr 56fr;
    gap: 15px;
  }
  .copy15 h2 {
    font-size: 37px;
  }
  .copy15 .narrative {
    font-size: 16px;
    line-height: 1.6;
  }
  .copy15 .meaning {
    font-size: 12px;
  }
  .figure15 figcaption {
    font-size: 13px;
  }
  .topbar .top-cta {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 10px;
  }
  .topbar {
    top: 18px;
  }
  .brand {
    width: 175px;
  }
  .topbar .top-cta {
    padding: 9px 12px;
    font-size: 11px;
  }
  #menu15 {
    display: none;
  }
  #opening {
    min-height: 810px;
  }
  .hero .copy {
    top: 116px;
  }
  .hero .copy h1 {
    font-size: clamp(36px, 9.2vw, 56px);
  }
  .hero .copy .body {
    font-size: 16px;
    max-width: 385px;
  }
  .hero .art {
    bottom: 60px;
    opacity: 0.8;
  }
  .hero .art .glass small {
    display: none;
  }
  .hero .art .glass strong {
    font-size: 12px;
  }
  .opening-bottom {
    bottom: 20px;
  }
  .opening-bottom .scroll-cue {
    padding-right: 85px;
  }
  .episode {
    height: auto !important;
    min-height: 0;
    padding: 45px 0 65px;
  }
  .stage15 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: 70px 25px 20px;
    gap: 28px;
  }
  .copy15 {
    padding-bottom: 0;
    max-width: 560px;
    width: 100%;
  }
  .copy15 .eyebrow {
    font-size: 9px;
    letter-spacing: 0.2em;
    margin-bottom: 19px;
  }
  .copy15 h2 {
    font-size: clamp(35px, 8.9vw, 48px);
    line-height: 1.11;
    letter-spacing: -0.04em;
    margin-bottom: 25px;
    max-width: 500px;
  }
  .copy15 .narrative {
    font-size: 17px;
    line-height: 1.63;
    max-width: 550px;
  }
  .copy15 .narrative p {
    margin-bottom: 14px;
  }
  .copy15 .meaning {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 21px;
  }
  .figure15 {
    width: 100%;
    align-self: stretch;
  }
  .art15 {
    width: calc(100% + 14px);
    margin-left: -7px;
    aspect-ratio: 880/650;
  }
  .storysvg .fine-text {
    display: none;
  }
  .figure15 figcaption {
    font-size: 14px;
    line-height: 1.65;
    margin: 3px 0 0;
    padding: 0;
    min-height: 0;
    color: #dce9ed;
  }
  .mobile-legend {
    display: block;
    margin: 8px 0 14px;
    padding: 12px 15px;
    border-left: 1px solid #d7bf91;
    background: linear-gradient(90deg, rgba(23, 60, 76, 0.44), transparent);
    color: #e1eff2;
    font-size: 15px;
    line-height: 1.6;
  }
  .mobile-legend strong {
    font-weight: 500;
    color: #f1cda0;
  }
  .story-tools {
    bottom: 14px;
    right: 15px;
  }
  .story-tools button {
    width: 38px;
    height: 38px;
  }
  .topbar:before {
    inset: -20px -26px -18px;
  }
  .world img {
    object-position: 70% center !important;
  }
  .reading-shade {
    background: linear-gradient(
      90deg,
      rgba(4, 22, 37, 0.67),
      rgba(4, 22, 37, 0.47)
    );
  }
  .final-voice {
    font-size: 19px;
    line-height: 1.5;
  }
  .final-voice a {
    font-size: 14px;
  }
  .dialog-head {
    padding: 25px 23px 16px;
  }
  .dialog-head h2 {
    font-size: 27px;
  }
  .dialog-body {
    padding: 5px 24px 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .topbar {
    transition: none;
  }
}
/* Refinement pass: same story and hero; stronger drawing hierarchy and real plates. */
.visual-runway {
  min-width: 0;
  position: relative;
  width: 100%;
  align-self: center;
}
.art15 {
  aspect-ratio: 900/660;
  filter: none;
}
.storysvg text {
  stroke: none;
  paint-order: normal;
  letter-spacing: 0;
}
.storysvg {
  overflow: visible;
}
.figure15 {
  filter: none !important;
}
.figure15:before {
  content: none !important;
}
.figure15 figcaption {
  font-size: 15px;
  line-height: 1.65;
  min-height: 70px;
  max-width: 780px;
  margin-top: 15px;
  padding: 0 8px;
  color: #dfebee;
  text-shadow: 0 2px 14px #061725;
}
.figure15 {
  border-radius: 28px;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(6, 22, 32, 0.46),
    rgba(6, 22, 32, 0.2) 68%,
    transparent 95%
  );
}
.mobile-diagram {
  display: none;
}
.desktop-diagram {
  display: block;
  height: 100%;
}
.reading-shade {
  background: linear-gradient(
    90deg,
    rgba(3, 18, 29, 0.8),
    rgba(4, 21, 33, 0.73) 39%,
    rgba(6, 24, 37, 0.38) 62%,
    rgba(9, 24, 34, 0.18)
  ) !important;
}
.world img {
  object-position: 50% 50% !important;
  transform: none !important;
  filter: none !important;
}
.phase-track {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0 auto;
  padding: 8px 10px 0;
  max-width: 760px;
}
.phase-track span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #c5d7de;
  font-size: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(197, 225, 237, 0.22);
  flex: 1;
  max-width: 228px;
  min-width: 0;
  line-height: 1.3;
}
.phase-track b {
  font-size: 11px;
  font-weight: 400;
  color: #92acb9;
  flex: none;
  letter-spacing: 0.07em;
}
.phase-track span.active {
  color: #f8d3a5;
  border-top-color: #edc99b;
}
.phase-track span.active b {
  color: #f8d3a5;
}
.copy15 h2 {
  font-size: clamp(36px, 3.35vw, 59px);
  line-height: 1.11;
}
.copy15 .narrative {
  font-size: clamp(17px, 1.21vw, 20px);
  line-height: 1.67;
}
.stage15 {
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: 3vw;
  padding-bottom: 45px;
}
.copy15 .meaning {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 22px;
  color: #bcd3dd;
}
.opening-byline {
  position: absolute;
  right: var(--page);
  bottom: 101px;
  display: flex;
  gap: 18px;
  align-items: center;
  z-index: 3;
  font-size: 13px;
  line-height: 1.5;
  color: #eef0ed;
  text-shadow: 0 2px 12px #061522;
}
.opening-byline span {
  padding-right: 18px;
  border-right: 1px solid #d2dddf60;
}
.opening-byline a {
  color: #f5d6ab;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.signature {
  display: flex;
  align-items: center;
  gap: 19px;
  margin: 17px 0 3px;
  padding-top: 14px;
  border-top: 1px solid #8fb5c449;
  flex-wrap: wrap;
}
.signature > span {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #eef5f5;
}
.final-voice .signature > a {
  font-size: 15px;
  line-height: 1.6;
  color: #f2caa0;
  margin: 0;
  min-height: 38px;
}
.opening-byline a:hover,
.signature a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #f3d4a9;
  outline-offset: 5px;
}
.final-voice {
  margin-top: 14px;
  font-size: 19px;
}
.final-voice > a {
  margin-top: 5px;
  font-size: 13px;
}
@media (min-width: 1101px) and (max-height: 820px) {
  .stage15 {
    padding-top: 56px;
    padding-bottom: 26px;
    gap: 2.6vw;
  }
  .copy15 h2 {
    font-size: clamp(32px, 3vw, 45px);
    margin-bottom: 21px;
  }
  .copy15 .narrative {
    font-size: 16px;
    line-height: 1.61;
  }
  .copy15 .eyebrow {
    margin-bottom: 17px;
  }
  .copy15 .meaning {
    font-size: 12px;
    margin-top: 15px;
  }
  .figure15 figcaption {
    font-size: 13px;
    min-height: 60px;
    margin-top: 9px;
  }
  .phase-track {
    gap: 16px;
    padding-top: 0;
  }
  .phase-track span {
    font-size: 12px;
    padding-top: 7px;
  }
  .final-voice {
    font-size: 17px;
    padding-top: 10px;
  }
  .signature {
    gap: 15px;
    padding-top: 10px;
    margin-top: 10px;
  }
  .signature > span {
    font-size: 17px;
  }
  .final-voice .signature > a {
    font-size: 14px;
    min-height: 30px;
  }
  .opening-byline {
    bottom: 71px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .stage15 {
    padding: 65px 28px 24px;
    gap: 20px;
    grid-template-columns: 42fr 58fr;
  }
  .copy15 h2 {
    font-size: 32px;
  }
  .copy15 .narrative {
    font-size: 15px;
    line-height: 1.62;
  }
  .copy15 .meaning {
    font-size: 12px;
  }
  .figure15 figcaption {
    font-size: 13px;
  }
  .phase-track {
    gap: 12px;
  }
  .phase-track span {
    font-size: 11px;
  }
  .phase-track b {
    display: none;
  }
}
@media (max-width: 760px) {
  .opening-byline {
    left: 24px;
    right: auto;
    bottom: 70px;
    font-size: 12px;
    gap: 12px;
  }
  .opening-byline span {
    padding-right: 12px;
  }
  .opening-byline a {
    min-height: 38px;
  }
  .episode {
    padding: 32px 0 48px;
  }
  .stage15 {
    position: relative;
    padding: 55px 22px 12px;
    display: flex;
    gap: 26px;
    height: auto;
    min-height: 0;
  }
  .copy15 h2 {
    font-size: clamp(34px, 8.7vw, 48px);
    margin-bottom: 24px;
  }
  .copy15 .narrative {
    font-size: 17px;
    line-height: 1.67;
  }
  .copy15 .meaning {
    font-size: 13px;
  }
  .visual-runway {
    height: calc(100vw * 1.47 + 420px);
    min-height: 850px;
    align-self: stretch;
  }
  .figure15 {
    position: sticky;
    top: 24px;
    width: 100%;
    margin: 0;
    align-self: auto;
    max-width: none;
    background: radial-gradient(
      ellipse at 50% 42%,
      rgba(6, 22, 32, 0.73),
      rgba(6, 22, 32, 0.35) 70%,
      transparent 98%
    );
  }
  .art15 {
    width: 100%;
    max-width: calc((100svh - 200px) * 0.6842);
    margin: 0 auto;
    aspect-ratio: 520/760;
    filter: none;
    min-width: 0;
  }
  .storysvg .fine-text {
    display: initial;
  }
  .mobile-diagram {
    display: block;
    height: 100%;
  }
  .desktop-diagram {
    display: none;
  }
  .phase-track {
    gap: 12px;
    margin-top: 8px;
    padding: 0 2px;
  }
  .phase-track span {
    font-size: 12px;
    line-height: 1.3;
    padding-top: 10px;
    gap: 6px;
  }
  .phase-track b {
    font-size: 10px;
  }
  .figure15 figcaption {
    font-size: 14px;
    line-height: 1.6;
    padding: 0;
    min-height: 90px;
    margin-top: 12px;
    text-wrap: pretty;
  }
  .reading-shade {
    background: linear-gradient(
      90deg,
      rgba(3, 18, 30, 0.8),
      rgba(5, 23, 38, 0.65)
    ) !important;
  }
  .world img {
    object-position: 65% 50% !important;
  }
  .world img[data-world="world"] {
    object-position: 72% 50% !important;
  }
  .signature {
    gap: 4px 15px;
    margin-top: 16px;
    padding-top: 15px;
  }
  .signature > span {
    font-size: 19px;
  }
  .final-voice .signature > a {
    font-size: 16px;
  }
  .final-voice {
    font-size: 20px;
  }
  .no-js .visual-runway {
    height: auto;
    min-height: 0;
  }
  .no-js .figure15 {
    position: relative;
  }
  .no-js .art15 {
    max-width: 100%;
  }
}
@media (max-width: 760px) and (max-height: 720px) {
  .figure15 {
    top: 10px;
  }
  .phase-track {
    margin-top: 4px;
  }
  .figure15 figcaption {
    font-size: 13px;
    min-height: 92px;
  }
  .art15 {
    max-width: calc((100svh - 188px) * 0.6842);
  }
  .phase-track span {
    font-size: 11px;
  }
  .phase-track b {
    display: none;
  }
}
/* A body-level overflow:auto creates a false sticky containing block on phones. */
html {
  overflow-x: clip;
  overflow-y: visible;
}
body {
  overflow: visible !important;
}
@media (max-width: 760px) {
  html {
    overflow-x: clip;
    overflow-y: visible;
  }
  body {
    overflow: visible !important;
  }
}
.signature-final {
  position: absolute;
  left: var(--page);
  bottom: 28px;
  z-index: 4;
  border: 0;
  margin: 0;
  padding: 8px 0;
  gap: 20px;
}
.signature-final > span {
  font-size: 19px;
  color: #edf4f4;
  letter-spacing: -0.015em;
}
.signature-final > a {
  font-size: 16px;
  color: #f3cfa3;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 760px) {
  .signature-final {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 15px 25px 10px;
    padding: 24px 0 22px;
    border-top: 1px solid #abc9d640;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 18px;
  }
  .signature-final > span {
    font-size: 22px;
  }
  .signature-final > a {
    font-size: 17px;
  }
}
.no-js .signature-final {
  position: relative;
  left: auto;
  bottom: auto;
  margin: 25px var(--page);
}
