@charset "UTF-8";
@font-face {
  font-family: "Vitruvian Man";
  src: url("presentation/vitruvian-man.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Old London";
  src: url("presentation/old-london.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "OldNewspaperTypes";
  src: url("presentation/old-newspaper.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Vintage Machine";
  src: url("presentation/vintage-machine.otf") format("opentype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --soot: #15110e;
  --iron: #211b16;
  --ivory: #f1e7d4;
  --muted: #c4b8a2;
  --brass: #b99355;
  --gold: #dfc18a;
  --red: #77291f;
  --ember: #f29a45;
  --line: #655039;
  --display: "OldNewspaperTypes", Georgia, serif;
  --body: "Segoe UI", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--soot);
  color: var(--ivory);
  font: 17px/1.65 var(--body);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.025;
  background-image: url("presentation/iron-texture.webp");
  background-size: 700px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
button {
  background: none;
  border: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
  font-family: var(--display);
  font-weight: normal;
}
h2 {
  font-size: clamp(34px, 3.5vw, 52px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 27px;
}
h2 em {
  color: var(--gold);
  font-style: normal;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: 0;
  left: 16px;
  transform: translateY(-150%);
  z-index: 100;
  background: var(--ivory);
  color: var(--soot);
  padding: 12px;
}
.skip:focus {
  transform: none;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4.5%;
  border-bottom: 1px solid #b9935538;
  background: linear-gradient(#120e0ee8, #120e0e60);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.06em;
}
.brand-mark {
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--brass);
  height: 35px;
  width: 35px;
  transform: rotate(-8deg);
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}
.header nav a:hover,
.text-link:hover {
  color: var(--gold);
}
.header-play {
  font-size: 13px;
  color: var(--gold);
  border-bottom: 1px solid var(--brass);
  padding: 8px 0;
}
.header-play span {
  margin-left: 16px;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  width: 44px;
  height: 44px;
}
.mobile-nav {
  position: absolute;
  top: 87px;
  right: 16px;
  left: 16px;
  background: #211b16;
  z-index: 30;
  padding: 20px;
  border: 1px solid var(--brass);
}
.mobile-nav a {
  display: block;
  padding: 10px;
}
.hero {
  position: relative;
  min-height: 720px;
  height: min(850px, 100svh);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("presentation/forge-hero.webp") center/cover;
}
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #100d0dec 0%, #100d0db8 35%, #100d0d25 65%),
    linear-gradient(0deg, var(--soot) 0%, transparent 22%, #100d0d28 70%);
}
.hero-content {
  width: 60%;
  max-width: 780px;
  padding: 90px 0 50px 7%;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(65px, 7.2vw, 110px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ivory);
  text-shadow:
    0 3px 0 #36241c,
    0 8px 32px #000;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 57px);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero-copy {
  max-width: 490px;
  font-size: 18px;
  line-height: 1.65;
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  min-height: 52px;
  padding: 14px 25px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--brass);
  position: relative;
  transition:
    transform 0.18s,
    background 0.18s;
  letter-spacing: 0.01em;
}
.button::before,
.button::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--brass);
  opacity: 0.45;
}
.button::before {
  left: 4px;
}
.button::after {
  right: 4px;
}
.primary {
  background: linear-gradient(#8f3827, #632419);
  box-shadow:
    inset 0 0 0 3px #291610,
    0 8px 24px #0008;
  color: #fff4db;
}
.secondary {
  background: #211b16;
  color: var(--ivory);
}
.button:hover {
  transform: translateY(-2px);
  background: #4b3321;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 14px;
  border-bottom: 1px solid #b9935566;
  padding: 5px 0;
}
.fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 20px;
}
.hero .fine {
  opacity: 0.85;
}
.hero-goblin {
  position: absolute;
  width: min(53vw, 720px);
  right: -3%;
  bottom: 2%;
  filter: drop-shadow(0 20px 20px #000a);
  z-index: 1;
}
.furnace-glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 55%, #f1752617, transparent 45%);
  animation: furnace 5s ease-in-out infinite alternate;
}
.hero-bottom {
  position: absolute;
  bottom: 23px;
  left: 7%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
  z-index: 3;
}
.hero-bottom a,
.hero-bottom button {
  font-size: 11px;
  letter-spacing: 0.03em;
  min-height: 44px;
}
.section {
  max-width: 1280px;
  padding: 100px 48px;
  margin: auto;
  scroll-margin-top: 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 44px;
}
.section-head > p {
  max-width: 370px;
  font-size: 16px;
}
.section-head h2 {
  max-width: 750px;
}
.game-stage {
  background: #100d0b;
  border: 1px solid var(--brass);
  box-shadow:
    0 0 0 5px #211b16,
    0 0 0 6px #655039,
    0 25px 65px #0006;
  position: relative;
}
.stage-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 8px 20px;
  font-size: 10px;
  letter-spacing: 0.12em;
  background: linear-gradient(#32281e, #1b1611);
  border-bottom: 1px solid var(--line);
}
.stage-toolbar > span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.stage-toolbar button {
  min-height: 36px;
  letter-spacing: 0;
  font-size: 13px;
}
.lamp {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b4c25b;
  box-shadow: 0 0 10px #a5bd51;
}
.stage-window {
  position: relative;
  aspect-ratio: 16/9;
}
.game-poster,
.game-poster > img,
#embed,
#embed iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.game-poster > img {
  object-fit: cover;
}
.game-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #100d0bbc 90%);
}
.poster-action {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 32px;
  z-index: 2;
  gap: 12px;
}
.poster-action > span {
  font-size: 12px;
  background: #110e0bcc;
  padding: 4px 10px;
}
#embed iframe {
  border: 0;
  display: block;
  background: #100d0b;
}
.stage-status {
  font-size: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
}
.play-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-top: 32px;
}
.play-details p {
  font-size: 15px;
  color: var(--ivory);
}
.play-details p span {
  font-size: 13px;
  color: var(--muted);
}
.play-details .actions {
  margin: 0;
  gap: 15px;
}
.mobile-note {
  max-width: 850px;
}
.game-stage.expanded {
  position: fixed;
  inset: 12px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: #100d0b;
}
.expanded .stage-window {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}
.expanded iframe {
  object-fit: contain;
}
.embed-expanded {
  overflow: hidden;
}
.mechanics {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 90px;
  border-top: 1px solid #65503970;
}
.mechanics-intro h2 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
}
.mechanics-intro > p:not(.eyebrow) {
  margin-top: 26px;
  max-width: 360px;
}
.mechanics-intro > img {
  width: 270px;
  margin: 25px 0 0 -12px;
  filter: drop-shadow(0 20px 15px #0009);
}
.mechanic-steps > article {
  display: flex;
  gap: 23px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.mechanic-steps > article:first-child {
  padding-top: 8px;
}
.step-number {
  font: 14px/1.7 monospace;
  color: var(--brass);
  padding-top: 4px;
}
.mechanic-steps h3 {
  margin-bottom: 16px;
}
.mechanic-steps p {
  font-size: 15px;
}
.reel-example {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 15px;
  background: #090806;
  border: 1px solid #65503990;
}
.reel-example img {
  width: calc((100% - 32px) / 5);
  height: 60px;
  object-fit: contain;
}
.reel-example img:nth-child(-n + 3) {
  filter: drop-shadow(0 0 4px #d28c36);
}
.mechanic-steps .fine {
  font-size: 11px;
}
.multiplier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 25px 0;
}
.multiplier span {
  font: 32px var(--display);
  color: var(--gold);
}
.multiplier b {
  font-size: 15px;
  color: var(--line);
}
.world-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 95px max(7%, calc((100vw - 1140px) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, #130f0dfa, #130f0d99),
    url("presentation/forge-workshop.webp") center/cover;
  border-block: 1px solid var(--line);
}
.world-strip > div {
  max-width: 610px;
}
.world-strip p:not(.eyebrow) {
  max-width: 470px;
  margin-top: 24px;
}
.world-strip > img {
  width: 32%;
  filter: drop-shadow(0 20px 20px #000);
}
.engineering {
  padding-top: 115px;
}
.architecture {
  padding: 35px;
  background: linear-gradient(135deg, #29221a, #171310);
  border: 1px solid var(--line);
  position: relative;
}
.architecture-label {
  font: 10px var(--body);
  letter-spacing: 0.13em;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.architecture-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
}
.architecture-top strong {
  font: 25px var(--display);
}
.architecture-top > span:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.flow-arrow {
  text-align: center;
  font-size: 28px;
  color: var(--brass);
  margin: 9px 0;
}
.architecture-core {
  display: grid;
  grid-template-columns: 1fr 44px 1.25fr 44px 1fr;
  align-items: center;
  gap: 10px;
}
.architecture-core article {
  padding: 24px 20px;
  border: 1px solid #655039b0;
  min-height: 190px;
  background: #100d0b77;
}
.architecture-core h3 {
  font-size: 23px;
  margin-bottom: 12px;
}
.architecture-core p {
  font-size: 13px;
}
.architecture-core .service-highlight {
  border-color: var(--brass);
  background: #38291a44;
}
.math-chip {
  font-size: 12px;
  color: var(--gold);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 18px;
}
.math-chip span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.architecture-db {
  max-width: 520px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
}
.architecture-db > span {
  font-size: 35px;
  color: var(--brass);
}
.architecture-db strong {
  font: 21px var(--display);
}
.architecture-db p {
  font-size: 12px;
}
.architecture > .fine {
  text-align: center;
  max-width: 880px;
  margin: 24px auto 0;
}
.spin-flow {
  margin: 45px 0;
}
.spin-flow h3 {
  margin-bottom: 24px;
}
.spin-flow ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: spin;
}
.spin-flow li {
  counter-increment: spin;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.spin-flow li::before {
  content: counter(spin, decimal-leading-zero);
  font: 11px monospace;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.spin-flow strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.spin-flow span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.engineering-details {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  padding: 23px 0;
  font-size: 18px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span:last-child {
  color: var(--gold);
  font-size: 22px;
}
details[open] > summary > span:last-child {
  transform: rotate(45deg);
}
.detail-body {
  padding: 0 0 28px;
  max-width: 850px;
}
.detail-body p {
  font-size: 15px;
  margin-bottom: 14px;
}
.detail-body .fine {
  font-size: 12px;
}
.detail-body pre {
  padding: 20px;
  background: #0d0b09;
  border-left: 2px solid var(--brass);
  overflow: auto;
  color: var(--gold);
  font-size: 14px;
}
code {
  font-family: Consolas, monospace;
}
.evidence {
  border-top: 1px solid #65503970;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.evidence-grid article {
  border-left: 1px solid var(--line);
  padding: 0 30px;
}
.evidence-grid article:first-child {
  padding-left: 0;
  border: 0;
}
.metric {
  font: clamp(48px, 5vw, 72px) var(--display);
  color: var(--gold);
}
.metric small {
  font-size: 24px;
}
.evidence-grid h3 {
  font-size: 21px;
  margin: 12px 0;
}
.evidence-grid p {
  font-size: 14px;
  max-width: 290px;
}
.evidence-caption {
  font-size: 12px;
  margin-top: 30px;
}
.readiness {
  border-block: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
.readiness strong {
  font: 24px/1.4 var(--display);
}
.readiness p {
  font-size: 14px;
}
.work {
  background: linear-gradient(#211a1488, #211a1433);
  max-width: none;
  padding-inline: max(48px, calc((100vw - 1184px) / 2));
  border-block: 1px solid var(--line);
}
.work h2 {
  margin-bottom: 45px;
}
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.offer-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.offers h3 {
  font-size: 33px;
  margin: 18px 0 22px;
}
.offers p {
  font-size: 15px;
  max-width: 490px;
}
.offers ul {
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.offers li {
  padding: 8px 0;
  border-bottom: 1px solid #65503980;
}
.offers li::before {
  content: "◇";
  color: var(--brass);
  margin-right: 12px;
}
.offers .button {
  min-width: 260px;
}
.offers .fine {
  font-size: 12px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
}
.faq summary {
  font-size: 16px;
}
.faq details p {
  font-size: 14px;
  margin: 0 0 25px;
}
.closing {
  text-align: center;
  padding: 95px 25px;
  background:
    linear-gradient(#15110eb8, #15110ef5),
    url("presentation/forge-workshop.webp") center/cover;
  border-top: 1px solid var(--line);
}
.closing h2 {
  font-size: clamp(40px, 5vw, 65px);
}
.closing .actions {
  justify-content: center;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 6%;
  gap: 30px;
  border-top: 1px solid var(--line);
}
footer p {
  font-size: 11px;
}
footer > a:last-child {
  font-size: 12px;
  color: var(--gold);
}
dialog {
  max-width: 560px;
  width: calc(100% - 36px);
  padding: 40px;
  background: var(--iron);
  color: var(--ivory);
  border: 1px solid var(--brass);
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
dialog p {
  margin: 22px 0;
}
dialog .eyebrow {
  margin-top: 0;
}
dialog > .dialog-close:first-child {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}
.noscript-note {
  padding: 20px;
  font-size: 13px;
}
.motion-paused * {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
}
.is-playing .furnace-glow {
  animation-play-state: paused;
}
.document-hidden .furnace-glow {
  animation-play-state: paused;
}
@keyframes furnace {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .hero-content {
    padding-left: max(7%, calc((100vw - 1280px) / 2));
  }
  .hero-goblin {
    right: 6%;
  }
}
@media (max-width: 1050px) {
  .header nav {
    gap: 16px;
    font-size: 12px;
  }
  .hero {
    min-height: 650px;
  }
  .hero-content {
    width: 67%;
    padding-left: 6%;
  }
  .hero-goblin {
    right: -10%;
    width: 58vw;
    opacity: 0.85;
  }
  .hero-content .eyebrow {
    max-width: 350px;
  }
  .section {
    padding: 75px 32px;
  }
  .section-head {
    gap: 30px;
  }
  .mechanics {
    gap: 40px;
  }
  .play-details {
    align-items: flex-start;
    flex-direction: column;
  }
  .architecture {
    padding: 25px;
  }
  .architecture-core {
    gap: 5px;
    grid-template-columns: 1fr 25px 1.2fr 25px 1fr;
  }
  .architecture-core article {
    padding: 18px 12px;
  }
  .offers {
    gap: 35px;
  }
  .work {
    padding-inline: 32px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 20px;
  }
  .header {
    padding: 17px 22px;
  }
  .header nav,
  .header-play {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .brand {
    font-size: 20px;
  }
  .hero {
    height: auto;
    min-height: 780px;
    align-items: flex-start;
  }
  .hero-content {
    width: 100%;
    padding: 130px 24px 300px;
  }
  .hero-content .eyebrow {
    font-size: 9px;
    max-width: 280px;
    line-height: 1.8;
  }
  .wordmark {
    font-size: clamp(49px, 12vw, 84px);
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
  }
  .hero-copy {
    font-size: 16px;
    max-width: 470px;
  }
  .hero-scene {
    background-position: 58% center;
  }
  .hero-scene::after {
    background: linear-gradient(
      180deg,
      #100d0dbb 0%,
      #100d0dd9 55%,
      #100d0d22 85%,
      var(--soot)
    );
  }
  .hero-goblin {
    width: 320px;
    right: -38px;
    bottom: 24px;
    opacity: 0.7;
    z-index: -1;
  }
  .hero-content .actions {
    gap: 18px;
    margin-top: 25px;
  }
  .hero-content .text-link {
    font-size: 12px;
  }
  .hero-bottom {
    left: 24px;
    right: 24px;
    bottom: 15px;
  }
  .hero-bottom > span {
    display: none;
  }
  .section {
    padding: 65px 24px;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head > p {
    margin-top: 24px;
    max-width: 100%;
  }
  h2 {
    font-size: 35px;
  }
  .stage-toolbar {
    padding: 8px 12px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }
  .poster-action {
    padding: 12px;
    gap: 4px;
  }
  .poster-action .button {
    min-height: 44px;
    padding: 9px 20px;
  }
  .poster-action > span {
    font-size: 9px;
  }
  .stage-status {
    font-size: 11px;
    padding: 10px 12px;
  }
  .play-details {
    padding-top: 25px;
  }
  .play-details .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-note {
    font-size: 11px;
  }
  .game-stage.expanded {
    inset: 5px;
  }
  .mechanics {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mechanics-intro {
    position: relative;
  }
  .mechanics-intro h2 {
    font-size: 56px;
  }
  .mechanics-intro > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 15px;
  }
  .mechanics-intro > img {
    position: absolute;
    right: 0;
    top: 40px;
    width: 125px;
    opacity: 0.45;
    z-index: -1;
  }
  .mechanic-steps > article {
    gap: 16px;
  }
  .world-strip {
    padding: 65px 24px;
    position: relative;
  }
  .world-strip > img {
    position: absolute;
    right: -30px;
    bottom: 0;
    width: 170px;
    opacity: 0.3;
  }
  .world-strip > div {
    position: relative;
    z-index: 1;
  }
  .world-strip p:not(.eyebrow) {
    font-size: 15px;
  }
  .architecture {
    padding: 24px 16px;
  }
  .architecture-core {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .architecture-core article {
    width: 100%;
    min-height: 0;
    padding: 20px;
  }
  .architecture-core > .flow-arrow {
    transform: rotate(90deg);
  }
  .architecture-db {
    padding: 16px;
    gap: 10px;
  }
  .architecture-db p {
    font-size: 11px;
  }
  .architecture > .fine {
    text-align: left;
    font-size: 11px;
  }
  .spin-flow ol {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .spin-flow li {
    display: grid;
    grid-template-columns: 32px 85px 1fr;
    gap: 12px;
    padding: 17px 0;
    align-items: baseline;
  }
  .spin-flow li::before {
    margin: 0;
  }
  .spin-flow span {
    margin: 0;
  }
  .spin-flow strong {
    font-size: 14px;
  }
  .spin-flow .fine {
    font-size: 11px;
  }
  .engineering-details summary {
    font-size: 16px;
  }
  .detail-body pre {
    font-size: 12px;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .evidence-grid article {
    padding: 0 0 25px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .evidence-grid article:first-child {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }
  .evidence-grid p {
    max-width: 100%;
  }
  .metric {
    font-size: 60px;
  }
  .readiness {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .offers {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .offers article + article {
    border-top: 1px solid var(--line);
    padding-top: 40px;
  }
  .offers h3 {
    font-size: 30px;
  }
  .offers .button {
    min-width: 0;
    width: 100%;
  }
  .work h2 {
    font-size: 34px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .closing {
    padding: 65px 24px;
  }
  .closing .actions {
    flex-direction: column;
    gap: 16px;
  }
  .closing .button {
    width: 100%;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
  }
  dialog {
    padding: 30px 24px;
  }
  .hero .fine {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Forge identity: material, light and motion replace repeated outlined boxes. */
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.wordmark,
.brand {
  font-family: "OldNewspaperTypes", var(--display);
}
.wordmark {
  font-size: clamp(66px, 7vw, 105px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #f6e9cc;
}
.hero h1 {
  font-size: clamp(37px, 4vw, 59px);
}
.hero-copy {
  font-size: 21px;
  line-height: 1.5;
}
.eyebrow,
.fine,
.header nav,
.header-play,
.button,
.text-link,
.stage-toolbar,
.offer-label,
.architecture-label,
.state-track,
.lab-controls,
.evidence-caption {
  font-family: "Segoe UI", Arial, sans-serif;
}
.metric,
.balance-ledger strong {
  font-family: "Vintage Machine", var(--display);
  font-variant-numeric: tabular-nums;
}
.header {
  border: 0;
  background: linear-gradient(#120e0ee6, #120e0e05);
}
.brand-mark {
  border: 0;
  color: var(--ember);
  font-size: 32px;
  transform: none;
}
.hero-scene {
  animation: forge-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-goblin {
  animation: goblin-breath 5.6s ease-in-out infinite;
  transform-origin: 70% 90%;
  will-change: transform;
}
.furnace-glow {
  background: radial-gradient(ellipse at 80% 55%, #ff8c363b, transparent 48%);
  animation: furnace 3.5s ease-in-out infinite alternate;
}
.hero-scene::after {
  background:
    linear-gradient(90deg, #100d0de8 0%, #100d0db5 33%, #100d0d08 70%),
    linear-gradient(0deg, var(--soot), transparent 25%, #100d0d30 80%);
}
.hero-bottom {
  font-family: "Segoe UI", Arial, sans-serif;
}
.embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.embers span {
  position: absolute;
  bottom: -20px;
  left: var(--ember-x);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffb255;
  box-shadow: 0 0 14px #ff7d20;
  animation: ember-rise var(--ember-duration) linear infinite;
  animation-delay: var(--ember-delay);
  opacity: 0;
}
.hero-content {
  z-index: 3;
}
.hero-bottom {
  z-index: 4;
}
.button {
  border: 0;
  padding: 16px 27px;
  clip-path: polygon(
    7px 0,
    calc(100% - 7px) 0,
    100% 7px,
    100% calc(100% - 7px),
    calc(100% - 7px) 100%,
    7px 100%,
    0 calc(100% - 7px),
    0 7px
  );
}
.button::before,
.button::after {
  display: none;
}
.primary {
  background: linear-gradient(130deg, #a3472a, #622319);
  box-shadow:
    inset 0 2px #dba36570,
    inset 0 -3px #2f100e,
    0 12px 25px #0006;
}
.secondary {
  background: linear-gradient(130deg, #463525, #2a2119);
  box-shadow:
    inset 0 1px #ac895550,
    inset 0 -2px #120e0c;
}
.button:hover {
  background: linear-gradient(130deg, #b25231, #753323);
  transform: translateY(-3px);
}
.button:active {
  transform: translateY(1px);
}
.text-link {
  border: 0;
  color: var(--gold);
}
.game-stage {
  border: 0;
  box-shadow: 0 30px 70px #0008;
  background: #100c09;
}
.stage-toolbar {
  border: 0;
  background: linear-gradient(90deg, #35231a, #17110d);
  padding: 14px 24px;
}
.stage-status {
  border: 0;
  background: linear-gradient(90deg, #251a11, transparent);
}
.game-stage::before {
  content: "";
  position: absolute;
  inset: -15px;
  z-index: -1;
  background: radial-gradient(ellipse, #bb713329, transparent 70%);
}
.mechanics,
.evidence,
.work,
.world-strip,
.closing,
footer {
  border: 0;
}
.mechanic-steps > article {
  border: 0;
  padding-block: 35px;
}
.reel-example {
  border: 0;
  background: radial-gradient(ellipse, #c9802620, transparent 70%);
}
.world-strip {
  min-height: 430px;
  background:
    linear-gradient(90deg, #130f0de0, #130f0d55),
    url("presentation/forge-workshop.webp") center/cover;
}
.world-strip > img {
  animation: inventor-sway 7s ease-in-out infinite;
  transform-origin: 50% 85%;
}
.world-strip::after,
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    var(--soot),
    transparent 20%,
    transparent 80%,
    var(--soot)
  );
}
.world-strip > div {
  z-index: 2;
}
.architecture {
  border: 0;
  background: radial-gradient(ellipse at 50% 38%, #5d3c2433, transparent 75%);
  padding: 50px 30px;
}
.architecture-core article,
.architecture-core .service-highlight,
.architecture-db {
  border: 0;
  background: linear-gradient(145deg, #34251880, #15110e00);
}
.architecture-core .service-highlight {
  background: radial-gradient(ellipse, #ae6b2930, transparent 80%);
}
.math-chip {
  border: 0;
  color: var(--ember);
}
.flow-arrow {
  color: var(--ember);
  animation: signal-pulse 2.8s ease-in-out infinite;
}
.architecture > .fine {
  margin-top: 36px;
}
.spin-flow li {
  border: 0;
  position: relative;
}
.spin-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 10px;
  color: var(--brass);
}
.engineering-details,
details,
.readiness,
.evidence-grid article,
.offers li,
.offers article + article {
  border: 0;
}
.engineering-details details,
.faq details {
  background: linear-gradient(90deg, #54321a20, transparent);
  padding-inline: 16px;
  margin-bottom: 8px;
}
.detail-body pre {
  border: 0;
  background: #0d0b0980;
  padding: 25px;
}
.readiness {
  background: radial-gradient(ellipse at left, #90542620, transparent 75%);
  padding: 35px;
}
.work {
  background: radial-gradient(ellipse at 80% 40%, #582a182c, transparent 70%);
}
.offers {
  gap: 90px;
}
.offers article {
  position: relative;
}
.offers .offer-label {
  color: var(--ember);
}
.offers ul {
  margin-block: 26px;
}
.offers li::before {
  content: "✦";
}
.offers .button {
  margin-top: 10px;
}
.closing {
  position: relative;
  isolation: isolate;
}
.closing::before {
  z-index: -1;
}
.section-head > p,
.mechanics-intro > p:not(.eyebrow),
.detail-body p,
.offers p,
.engineering-essays p,
.data-journey p {
  font-size: 18px;
  line-height: 1.6;
}
.fine,
.detail-body .fine,
.offers .fine {
  font-size: 12px;
}
.section {
  padding-block: 115px;
}
.arrived {
  animation: chapter-arrival 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.motion-paused .arrived {
  animation: none;
  opacity: 1;
  transform: none;
}
.document-hidden *,
.is-playing * {
  animation-play-state: paused !important;
}
.document-hidden .arrived,
.is-playing .arrived {
  animation: none;
  opacity: 1;
  transform: none;
}
.cascade-lab {
  position: relative;
  background: radial-gradient(ellipse at 25% 40%, #75402225, transparent 70%);
}
.lab-controls {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.lab-step {
  font-size: 14px;
  padding: 14px 0;
  min-height: 48px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 15px;
}
.lab-step span {
  color: var(--brass);
  font-family: "Vintage Machine", serif;
  font-size: 22px;
}
.lab-step[aria-pressed="true"] {
  color: var(--ivory);
  text-shadow: 0 0 18px #e8973d70;
}
.lab-step[aria-pressed="true"] span {
  color: var(--ember);
}
.lab-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  align-items: center;
}
.outcome-board {
  margin: 0 0 25px;
}
.outcome-board figcaption {
  font:
    12px "Segoe UI",
    sans-serif;
  color: var(--gold);
  margin-bottom: 20px;
}
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 25px 5px;
  background: radial-gradient(ellipse, #ba632319, transparent 70%);
}
.symbol {
  display: grid;
  place-items: center;
  min-height: 80px;
  font:
    36px "OldNewspaperTypes",
    serif;
  color: #deccb1;
  background: radial-gradient(ellipse, #3c2a1b80, transparent 75%);
  transition:
    color 0.3s,
    transform 0.4s;
}
.symbol-winning,
.symbol.winning {
  color: #ffd68f;
  background: radial-gradient(ellipse, #ff932c3b, transparent 75%);
  animation: winning-heat 2.4s ease-in-out infinite alternate;
}
.symbol-wild {
  font-size: 42px;
  color: #a9c878;
}
.symbol-scatter {
  font-size: 28px;
  color: #d88651;
}
.lab-reading h3 {
  font-size: 35px;
  margin-bottom: 20px;
}
.lab-reading > p {
  font-size: 18px;
}
.lab-reading > .fine {
  font-size: 12px;
}
.payout-chart {
  margin: 28px 0;
}
.payout-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  font:
    12px "Segoe UI",
    sans-serif;
}
.payout-bar {
  height: 30px;
  background: linear-gradient(90deg, #8d4a25, #e6a85b);
  display: flex;
  align-items: center;
  padding-left: 10px;
  color: #160e09;
}
.payout-bar.first {
  width: 50%;
}
.payout-bar.second {
  width: 100%;
}
.payout-chart > p {
  font:
    13px "Segoe UI",
    sans-serif;
  margin-top: 20px;
}
.payout-chart strong {
  float: right;
  color: var(--gold);
}
.algorithm {
  margin-top: 65px;
}
.algorithm ol {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.algorithm strong {
  display: block;
  font: 26px var(--display);
  color: var(--ivory);
  margin-bottom: 12px;
}
.algorithm span {
  font-size: 16px;
  color: var(--muted);
}
.algorithm > p:not(.eyebrow) {
  margin-top: 30px;
  max-width: 900px;
  font-size: 17px;
}
.hash {
  overflow-wrap: anywhere;
  font-size: 10px;
}
.data-story {
  background: radial-gradient(ellipse at 85% 40%, #63502616, transparent 60%);
}
.data-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 65px;
}
.data-journey article > span,
.deployment-scene article > span,
.deployment-public > span {
  font:
    10px "Segoe UI",
    sans-serif;
  color: var(--ember);
  letter-spacing: 0.18em;
}
.data-journey h3 {
  font-size: 29px;
  margin: 20px 0;
}
.ledger-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin: 90px 0;
  align-items: center;
}
.ledger-story h3 {
  font-size: 38px;
  margin-bottom: 25px;
}
.ledger-story p {
  font-size: 18px;
}
.ledger-story .fine {
  font-size: 12px;
}
.balance-ledger {
  padding: 25px 0;
  background: radial-gradient(ellipse, #83582923, transparent 80%);
}
.balance-ledger > div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 25px;
}
.balance-ledger span {
  font:
    13px "Segoe UI",
    sans-serif;
  align-self: center;
  color: var(--muted);
}
.balance-ledger strong {
  font-size: 34px;
  color: var(--gold);
}
.balance-ledger .debit strong {
  color: #db9877;
}
.balance-ledger .credit strong {
  color: #b5c876;
}
.balance-ledger .result {
  margin-top: 14px;
  background: linear-gradient(90deg, #85592728, transparent);
}
.record-chain {
  display: grid;
  grid-template-columns: 1fr 35px 1fr 35px 1fr;
  gap: 20px;
  align-items: center;
}
.record-chain > span {
  color: var(--ember);
  font-size: 26px;
}
.record-chain h3 {
  font-size: 28px;
  margin: 20px 0;
}
.record-chain p,
.journal-node p {
  font-size: 17px;
}
.journal-node {
  max-width: 700px;
  margin: 35px auto 0;
  padding: 25px;
  background: radial-gradient(ellipse, #8b572124, transparent 80%);
}
.journal-node h3 {
  margin-bottom: 18px;
}
.states {
  margin-top: 65px;
}
.state-track {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 25px 0;
  font-size: 12px;
  color: var(--gold);
}
.state-track b {
  color: var(--brass);
}
.states > p {
  max-width: 900px;
  font-size: 18px;
}
.deployment-scene {
  background: radial-gradient(ellipse at center, #8d572426, transparent 80%);
  padding: 40px 0;
}
.deployment-public {
  text-align: center;
  margin-bottom: 55px;
}
.deployment-public h3 {
  font-size: 35px;
  margin: 15px 0;
}
.deployment-public p {
  font-size: 17px;
}
.deployment-private {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 75px;
  padding: 10px 35px;
}
.deployment-private h3 {
  font-size: 30px;
  margin: 20px 0;
}
.deployment-private p {
  font-size: 17px;
}
.deployment-scene > .fine {
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0;
}
.engineering-essays {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px 75px;
  margin: 80px 0;
}
.engineering-essays h3 {
  font-size: 31px;
  margin-bottom: 25px;
}
.engineering-essays p + p {
  margin-top: 20px;
}
.access-story > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.access-story h3 {
  font-size: 30px;
  margin-bottom: 18px;
}
.access-story strong {
  font:
    45px "Vintage Machine",
    serif;
  color: var(--gold);
  display: block;
  margin: 18px 0;
}
.access-story p {
  font-size: 18px;
}
.access-story .fine {
  font-size: 12px;
  max-width: 900px;
}
.evidence-grid {
  gap: 40px;
}
.evidence-grid article {
  padding: 0;
}
.evidence-grid h3 {
  font-size: 25px;
}
.evidence-grid p {
  font-size: 17px;
}
.readiness p {
  font-size: 17px;
}
.offers p {
  max-width: 100%;
}
.offers .fine {
  font-size: 12px;
}
@keyframes goblin-breath {
  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg) scale(1);
  }
  50% {
    transform: translateY(-8px) rotate(0.45deg) scale(1.012);
  }
}
@keyframes forge-drift {
  from {
    transform: scale(1.02) translateX(-0.4%);
  }
  to {
    transform: scale(1.07) translateX(0.4%);
  }
}
@keyframes ember-rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(55px, -700px, 0);
    opacity: 0;
  }
}
@keyframes inventor-sway {
  0%,
  100% {
    transform: rotate(-1deg) translateY(0);
  }
  50% {
    transform: rotate(1deg) translateY(-6px);
  }
}
@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 12px #f29a45;
  }
}
@keyframes winning-heat {
  from {
    filter: drop-shadow(0 0 2px #ce822655);
  }
  to {
    filter: drop-shadow(0 0 9px #f4a13b99);
  }
}
@keyframes chapter-arrival {
  from {
    opacity: 0.15;
    transform: translate3d(0, 25px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (max-width: 1050px) {
  .wordmark {
    font-size: clamp(65px, 7vw, 95px);
  }
  .lab-layout {
    gap: 30px;
  }
  .ledger-story {
    gap: 45px;
  }
  .data-journey {
    gap: 25px;
  }
  .engineering-essays {
    gap: 45px;
  }
  .offers {
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .hero-content {
    padding-bottom: 320px;
  }
  .wordmark {
    font-size: clamp(45px, 12vw, 70px);
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-copy {
    font-size: 18px;
  }
  .hero-scene::after {
    background: linear-gradient(
      180deg,
      #100d0dd0,
      #100d0dbb 55%,
      #100d0d20 85%,
      var(--soot)
    );
  }
  .section {
    padding-block: 75px;
  }
  .section-head > p,
  .offers p,
  .engineering-essays p,
  .data-journey p {
    font-size: 17px;
  }
  .lab-layout,
  .ledger-story,
  .data-journey,
  .engineering-essays,
  .access-story > div,
  .deployment-private {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .lab-controls {
    gap: 20px;
    margin-bottom: 25px;
  }
  .lab-step {
    font-size: 11px;
    gap: 10px;
  }
  .lab-step span {
    font-size: 18px;
  }
  .symbol-grid {
    gap: 5px;
    padding: 10px 0;
  }
  .symbol {
    min-height: 58px;
    font-size: 27px;
  }
  .symbol-wild {
    font-size: 32px;
  }
  .symbol-scatter {
    font-size: 22px;
  }
  .algorithm ol {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .algorithm strong {
    font-size: 25px;
  }
  .algorithm span {
    font-size: 15px;
  }
  .ledger-story {
    margin-block: 60px;
  }
  .ledger-story h3 {
    font-size: 32px;
  }
  .balance-ledger > div {
    padding-inline: 8px;
  }
  .balance-ledger strong {
    font-size: 30px;
  }
  .record-chain {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .record-chain > span {
    transform: rotate(90deg);
    text-align: center;
  }
  .record-chain article {
    text-align: center;
  }
  .journal-node {
    padding: 20px 0;
  }
  .state-track {
    gap: 12px;
    font-size: 10px;
  }
  .deployment-private {
    padding: 0;
  }
  .deployment-public h3 {
    font-size: 30px;
  }
  .engineering-essays {
    margin-block: 55px;
    gap: 45px;
  }
  .engineering-essays h3 {
    font-size: 29px;
  }
  .access-story > div {
    gap: 35px;
  }
  .offers article + article {
    padding-top: 10px;
  }
  .world-strip {
    min-height: 380px;
  }
  .architecture {
    padding-inline: 0;
  }
  .spin-flow li:not(:last-child)::after {
    display: none;
  }
  .readiness {
    padding: 25px 0;
  }
  .reel-example {
    padding-inline: 0;
  }
  .poster-action > span {
    font-size: 10px;
  }
  .faq details {
    padding-inline: 0;
  }
  .hero-goblin {
    animation-name: goblin-breath;
  }
  .offers .fine {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .arrived {
    opacity: 1;
    transform: none;
  }
  .embers {
    display: none;
  }
}

.paused-offscreen * {
  animation-play-state: paused !important;
}
.paused-offscreen.arrived {
  animation: none;
  opacity: 1;
  transform: none;
}

.workshop-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 32px;
  padding: 20px 24px;
  background: linear-gradient(90deg, transparent, #6c3e1925, transparent);
  font:
    12px "Segoe UI",
    sans-serif;
  color: var(--gold);
}
.workshop-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.workshop-nav a:hover {
  color: var(--ivory);
}

.hero h1,
.mechanics-intro h2,
.world-strip h2 {
  font-family: "Vitruvian Man", serif;
  letter-spacing: 0.045em;
  word-spacing: 0.2em;
  line-height: 1.2;
}
.architecture h3,
.architecture-top strong,
.architecture-db strong {
  font-family: "OldNewspaperTypes", serif;
  letter-spacing: 0;
}
.offers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offers .button {
  min-width: 0;
  max-width: 100%;
}
.engineering h2 {
  font-size: clamp(34px, 3.2vw, 48px);
  letter-spacing: 0;
  line-height: 1.2;
}
.symbol {
  letter-spacing: 0;
}
@media (max-width: 760px) {
  .offers {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 40px;
  }
  .engineering h2 {
    font-size: 34px;
  }
}

.contract-library {
  margin-top: 65px;
}
.contract-library > h3 {
  font-size: 32px;
  margin-bottom: 25px;
}
.contract-library > p:not(.eyebrow):not(.fine) {
  max-width: 850px;
  font-size: 18px;
  margin-bottom: 30px;
}
.contract-library details {
  margin: 15px 0;
}
.contract-library pre {
  max-height: 520px;
  overflow: auto;
}
.lab-reading > .eyebrow,
.access-story > .eyebrow,
.ledger-story .eyebrow {
  font-size: 11px;
  line-height: 1.6;
}

/* Task 1: one role map derived from the composed game runtime. */
:root {
  --type-signature: "Vitruvian Man", serif;
  --type-narrative: "OldNewspaperTypes", serif;
  --type-instrument: "Old London", serif;
  --type-control: "Vintage Machine", serif;
  --type-reading: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
.wordmark {
  width: min(100%, 560px);
  margin: 0 0 26px;
  font-size: 44px;
  line-height: 1;
  text-shadow: none;
}
.wordmark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 12px #0008);
}
.brand {
  font-family: var(--type-narrative);
  font-weight: 400;
  letter-spacing: 0;
}
.brand img {
  width: 160px;
  max-width: 100%;
  height: auto;
}
.brand-mark {
  display: none;
}
.hero h1,
.mechanics-intro h2,
.world-strip h2 {
  font-family: var(--type-signature);
}
.hero-copy,
.mechanics-intro > p:not(.eyebrow),
.world-strip p:not(.eyebrow) {
  font-family: var(--type-narrative);
  font-weight: 400;
}
.engineering,
.data-story,
.production-story,
.evidence {
  font-family: var(--type-reading);
}
.architecture h3,
.architecture-top strong,
.architecture-db strong {
  font-family: var(--type-reading);
  font-weight: 600;
}
.lab-step {
  font-family: var(--type-control);
  font-size: 18px;
  font-weight: 400;
}
.lab-step span,
.multiplier span,
.balance-ledger strong {
  font-family: var(--type-instrument);
  font-weight: 400;
}
.metric,
.access-story strong {
  font-family: var(--type-reading);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.symbol {
  font-family: Consolas, monospace;
  font-weight: 400;
}
@media (max-width: 760px) {
  .wordmark {
    width: min(100%, 330px);
    margin-bottom: 23px;
  }
  .brand img {
    width: 140px;
  }
  .lab-step {
    font-size: 16px;
  }
  .hero-copy {
    font-size: 18px;
  }
}

/* Task 2: the forge, then the playable machine; dedicated phone composition. */
.hero-content {
  width: 50%;
  max-width: 700px;
  padding: 110px 0 65px 7%;
}
.hero .wordmark {
  width: min(100%, 450px);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
}
.hero-copy {
  font-size: 20px;
  max-width: 420px;
}
.hero .actions {
  gap: 22px;
  margin-top: 25px;
}
.hero-goblin {
  width: min(32vw, 430px);
  right: 3%;
  bottom: 24%;
  z-index: 0;
  opacity: 0.9;
}
.hero-machine {
  position: absolute;
  right: 3%;
  bottom: 12%;
  width: 48%;
  max-width: 690px;
  z-index: 2;
  transform: rotate(-3deg);
  margin: 0;
  filter: drop-shadow(0 25px 35px #0009);
}
.hero-machine img {
  width: 100%;
  mask-image: linear-gradient(180deg, #000 93%, transparent);
}
.hero-machine figcaption {
  font-family: var(--type-control);
  font-size: 21px;
  color: var(--gold);
  padding: 8px 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.hero-machine figcaption span {
  font: 10px/1.5 var(--type-reading);
  color: var(--muted);
  max-width: 170px;
}
.hero-machine a {
  display: block;
  transition: transform 0.3s;
}
.hero-machine a:hover {
  transform: translateY(-4px);
}
.experience {
  max-width: 1360px;
  padding-top: 75px;
}
.experience .section-head {
  max-width: 1184px;
  margin-inline: auto;
}
.game-stage {
  box-shadow: 0 35px 65px #0007;
}
.game-poster::after {
  background: linear-gradient(transparent 45%, #100d0bba);
}
.poster-action {
  padding-bottom: 26px;
}
.phone-stage-launch {
  display: none;
}
.game-film {
  margin-top: 32px;
  padding: 0 18px;
  background: radial-gradient(ellipse at left, #8753221e, transparent 70%);
}
.game-film summary {
  font-family: var(--type-control);
  font-size: 22px;
}
.game-film video {
  display: block;
  width: 100%;
  max-height: 650px;
  background: #0c0907;
}
.game-film p {
  padding-bottom: 20px;
}
.capture-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 65px;
}
.capture-gallery figure {
  margin: 0;
}
.capture-gallery img {
  width: 100%;
  filter: drop-shadow(0 15px 30px #0006);
}
.capture-gallery figcaption {
  margin-top: 22px;
}
.capture-gallery figcaption strong {
  display: block;
  font: 26px/1.25 var(--type-narrative);
  color: var(--ivory);
  margin-bottom: 10px;
}
.capture-gallery figcaption span {
  font: 12px/1.6 var(--type-reading);
  color: var(--muted);
}
.mechanics {
  display: block;
  padding-top: 90px;
  background: radial-gradient(ellipse at 65% 30%, #8b522220, transparent 65%);
}
.mechanics-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 15px 60px;
  align-items: end;
  position: relative;
}
.mechanics-intro .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 8px;
}
.mechanics-intro h2 {
  font-size: 56px;
  line-height: 1.2;
}
.mechanics-intro h2 span {
  white-space: nowrap;
}
.mechanics-intro > p:not(.eyebrow) {
  margin: 0;
  max-width: 450px;
  font-size: 17px;
}
.mechanics-intro > img {
  position: absolute;
  width: 125px;
  right: -10px;
  bottom: -165px;
  opacity: 0.6;
  z-index: 1;
  transform: rotate(8deg);
}
.mechanic-machine {
  max-width: 950px;
  margin: 50px auto 38px;
  position: relative;
}
.mechanic-machine > img {
  width: 100%;
  filter: drop-shadow(0 25px 40px #0009);
}
.mechanic-machine figcaption {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 35px;
  padding: 25px 15px;
}
.mechanic-machine figcaption > span {
  font: 25px var(--type-narrative);
  color: var(--gold);
}
.mechanic-machine figcaption p {
  font: 13px/1.6 var(--type-reading);
  max-width: 580px;
}
.mechanic-steps {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 35px;
}
.mechanic-steps > article,
.mechanic-steps > article:first-child {
  padding: 20px 0;
  display: block;
}
.step-number {
  font: 32px var(--type-instrument);
  display: block;
  margin-bottom: 18px;
  color: var(--brass);
}
.mechanic-steps h3 {
  font-size: 27px;
}
.mechanic-steps p {
  font: 15px/1.65 var(--type-reading);
}
.mechanic-steps .fine {
  font-size: 11px;
}
.mechanic-steps .text-link {
  font-size: 12px;
}
.multiplier {
  margin-block: 22px;
}
.multiplier span {
  font-size: 29px;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .hero-content {
    padding-left: 5%;
    width: 51%;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .wordmark {
    width: 360px;
  }
  .hero-copy {
    font-size: 18px;
  }
  .hero-machine {
    width: 48%;
    right: 1%;
    bottom: 15%;
  }
  .hero-goblin {
    right: 1%;
    width: 36vw;
    bottom: 30%;
  }
  .hero-machine figcaption {
    padding-inline: 10px;
    font-size: 17px;
  }
  .hero-machine figcaption span {
    font-size: 9px;
  }
  .mechanics-intro {
    gap: 20px;
  }
  .mechanics-intro h2 {
    font-size: 46px;
  }
  .mechanic-steps {
    gap: 22px;
  }
  .capture-gallery {
    gap: 25px;
  }
}
@media (max-width: 760px) {
  .hero {
    display: block;
    height: auto;
    min-height: 0;
    padding-bottom: 15px;
  }
  .hero-content {
    width: 100%;
    max-width: none;
    padding: 118px 24px 0;
  }
  .hero .wordmark {
    width: min(100%, 310px);
    margin-bottom: 18px;
  }
  .hero .eyebrow {
    margin-bottom: 16px;
    max-width: 300px;
  }
  .hero h1 {
    font-size: 39px;
    margin-bottom: 20px;
  }
  .hero-copy {
    font-size: 18px;
    line-height: 1.5;
    max-width: 460px;
  }
  .hero .actions {
    gap: 18px;
    margin-top: 24px;
  }
  .hero .fine {
    margin-top: 17px;
  }
  .hero-goblin {
    display: none;
  }
  .hero-machine {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    max-width: 560px;
    margin: 28px auto 15px;
    transform: none;
    filter: drop-shadow(0 14px 20px #0009);
  }
  .hero-machine figcaption {
    padding: 8px 10px;
    font-size: 18px;
    align-items: flex-start;
  }
  .hero-machine figcaption span {
    font-size: 9px;
    max-width: 160px;
  }
  .hero-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0 24px;
    justify-content: space-between;
  }
  .hero-scene {
    background-position: 80% center;
  }
  .hero-scene::after {
    background: linear-gradient(
      180deg,
      #100d0dd1,
      #100d0dbf 52%,
      #100d0d48 78%,
      var(--soot)
    );
  }
  .experience {
    padding-top: 50px;
  }
  .poster-action {
    padding: 10px;
  }
  .poster-action #play-here {
    display: none;
  }
  .phone-stage-launch {
    display: inline-flex;
    font-size: 12px;
    min-height: 44px;
    padding: 9px 20px;
  }
  .poster-action > span {
    font-size: 9px;
  }
  .capture-gallery {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 45px;
  }
  .capture-gallery figcaption {
    margin-top: 15px;
  }
  .capture-gallery figcaption strong {
    font-size: 24px;
  }
  .game-film {
    padding: 0 4px;
    margin-top: 25px;
  }
  .game-film summary {
    font-size: 19px;
  }
  .mechanics-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mechanics-intro h2 {
    font-size: 48px;
    max-width: 330px;
  }
  .mechanics-intro > img {
    display: none;
  }
  .mechanics-intro > p:not(.eyebrow) {
    max-width: 100%;
  }
  .mechanic-machine {
    margin-top: 30px;
  }
  .mechanic-machine figcaption {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .mechanic-machine figcaption > span {
    font-size: 24px;
  }
  .mechanic-steps {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .mechanic-steps > article,
  .mechanic-steps > article:first-child {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    padding: 23px 0;
  }
  .step-number {
    font-size: 25px;
    margin: 0;
  }
  .mechanic-steps h3 {
    font-size: 26px;
  }
  .multiplier {
    max-width: 360px;
  }
  .mobile-note {
    margin-top: 30px;
  }
  .play-details {
    gap: 20px;
  }
}

@media(min-width:761px){.hero-goblin{width:min(28vw,385px);top:6%;bottom:auto;right:3.5%}.hero-machine img{mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(180deg,transparent,#000 3%,#000 95%,transparent);mask-composite:intersect}}

.poster-action{justify-content:center}.poster-action .button{box-shadow:0 8px 28px #000b,inset 0 1px #e4b67b45}
/* Task 3: a user-controlled reveal, followed by a readable responsibility trace. */
.machine-reveal { margin-block: 45px 70px; background: radial-gradient(ellipse at 20% 0%, #5d3c242b, transparent 65%); }
.machine-reveal > summary { display: grid; grid-template-columns: 1.2fr 1fr; gap: 55px; align-items: center; padding: 25px 0; list-style: none; }
.machine-reveal > summary::-webkit-details-marker { display: none; }
.machine-reveal > summary > img { width: 100%; height: auto; display: block; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reveal-copy { display: grid; gap: 16px; }
.machine-reveal[open] > summary > .reveal-copy { transform: none; }
.reveal-copy > strong { font: 500 clamp(26px, 3vw, 40px)/1.2 var(--body); letter-spacing: -.025em; }
.reveal-copy > span:not(.eyebrow):not(.reveal-action) { font: 17px/1.6 var(--body); color: var(--muted); }
.reveal-action { color: var(--gold); font: 600 16px/1.6 var(--body); }
.reveal-close, .machine-reveal[open] .reveal-open { display: none; }
.machine-reveal[open] .reveal-close { display: inline; }
.machine-reveal[open] > summary { grid-template-columns: 190px 1fr; gap: 35px; }
.machine-reveal[open] .reveal-copy { grid-template-columns: 1fr auto; gap: 8px 30px; }
.machine-reveal[open] .reveal-copy > strong { font-size: 26px; }
.machine-reveal[open] .reveal-copy > .eyebrow, .machine-reveal[open] .reveal-copy > span:not(.reveal-action) { grid-column: 1; }
.machine-reveal[open] .reveal-action { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.machine-workshop { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 50px; padding-block: 25px; }
.machine-reveal[open] .machine-workshop { animation: machine-uncover .65s ease-out both; }
@keyframes machine-uncover { from { opacity: .4; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.machine-workshop .architecture { position: sticky; top: 110px; padding: 20px 0; }
.machine-workshop .architecture-core { grid-template-columns: 1fr; gap: 0; }
.machine-workshop .architecture-core > .flow-arrow { display: none; }
.machine-workshop .architecture-core article { min-height: 0; padding: 16px 22px; margin-bottom: 8px; }
.machine-workshop .architecture-core h3 { font-size: 20px; margin-bottom: 4px; }
.machine-workshop .architecture-label { font-size: 11px; margin-bottom: 4px; }
.machine-workshop .architecture-core p, .machine-workshop .architecture-db p { font-size: 15px; line-height: 1.5; }
.machine-workshop .math-chip { margin-top: 12px; padding: 8px 10px; font: 14px/1.5 var(--body); }
.machine-workshop .math-chip span { font: 12px/1.5 var(--body); }
.machine-workshop .architecture-db { padding: 16px; }
.machine-workshop .architecture > .fine { margin-top: 20px; font-size: 13px; line-height: 1.6; text-align: left; }
.machine-workshop .flow-arrow { animation: none; font-size: 22px; margin: 0; }
[data-trace-node] { transition: background-color .25s ease, box-shadow .25s ease; }
.trace-enhanced .trace-active { background-color: #5d3c243f; box-shadow: inset 3px 0 var(--gold); }
.trace-intro h3, .engineering-overview h3 { font: 500 30px/1.25 var(--body); letter-spacing: -.025em; }
.trace-intro > p:last-child { font-size: 16px; color: var(--muted); margin-top: 15px; }
.trace-status { min-height: 3.2em; margin-block: 22px; font: 14px/1.6 var(--body); color: var(--gold); }
.trace-status:empty { display: none; }
.trace-steps { list-style: none; padding: 0; margin: 0; }
.trace-steps > li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 22px 0; }
.trace-number { font: 13px/44px Consolas, monospace; color: var(--brass); }
.trace-steps h4 { margin: 0; font: 600 19px/1.4 var(--body); }
.trace-step { background: transparent; border: 0; padding: 7px 10px; min-height: 44px; margin-left: -10px; text-align: left; font: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.trace-step[aria-pressed="true"] { color: var(--gold); text-decoration-color: var(--gold); }
.trace-step:hover { text-decoration-color: var(--gold); }
.trace-step:focus-visible, .machine-reveal > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.trace-enhanced .trace-label { display: none; }
.trace-steps p { margin: 10px 0 0; font: 16px/1.65 var(--body); color: var(--muted); }
.trace-steps .trace-route { color: var(--ivory); font-size: 14px; }
.trace-steps .trace-state { color: var(--gold); font: 12px/1.6 Consolas, monospace; }
.trace-selected .trace-number { color: var(--ivory); }
.trace-boundary { margin: 25px 0 0; padding: 20px 0; }
.trace-boundary strong { font: 600 17px/1.5 var(--body); }
.trace-boundary p { font: 15px/1.65 var(--body); color: var(--muted); margin-top: 12px; }
.engineering-reading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; }
.engineering-overview { padding-top: 22px; }
.engineering-overview > p { max-width: 38ch; }
.engineering-overview > p:not(.eyebrow):not(.fine) { margin-block: 20px; }
.engineering-overview > .text-link { display: block; margin-block: 16px; font-size: 15px; }
.engineering-overview .fine { margin-top: 30px; }
.engineering-reading .engineering-details { min-width: 0; }
.engineering-reading .engineering-details summary { font: 600 19px/1.45 var(--body); }
.engineering-reading .engineering-details details { padding: 0; margin-bottom: 12px; background: transparent; }
.engineering-reading .detail-body p { font: 17px/1.7 var(--body); }
.engineering-reading .detail-body { padding: 8px 0 25px; }
.engineering-essays { grid-template-columns: 1fr; gap: 0; }
.engineering-essays > article { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 80px; padding-block: 32px; }
.engineering-essays > article > h3 { grid-column: 1; grid-row: 1 / span 2; font: 500 25px/1.3 var(--body); max-width: 21ch; }
.engineering-essays > article > p { grid-column: 2; font-size: 17px; max-width: 64ch; }
@media (max-width: 1100px) {
 .machine-workshop { grid-template-columns: 1fr; gap: 25px; }
 .machine-workshop .architecture { position: static; }
 .machine-workshop .architecture-core { grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; }
 .machine-workshop .architecture-core article { padding: 18px 12px; }
 .engineering-reading { gap: 45px; }
 .engineering-essays > article { column-gap: 40px; }
}
@media (max-width: 760px) {
 .machine-reveal > summary, .machine-reveal[open] > summary { grid-template-columns: 1fr; gap: 22px; }
 .machine-reveal[open] > summary > img { max-width: 220px; }
 .machine-reveal[open] .reveal-copy { display: grid; grid-template-columns: 1fr; gap: 14px; }
 .machine-reveal[open] .reveal-action { grid-column: 1; grid-row: auto; }
 .machine-workshop .architecture-core { grid-template-columns: 1fr; gap: 0; }
 .machine-workshop .architecture-core article { padding: 16px 18px; }
 .machine-workshop .architecture-top strong { font-size: 22px; }
 .machine-workshop .architecture-db { justify-content: start; }
 .trace-steps > li { gap: 12px; grid-template-columns: 25px 1fr; }
 .trace-intro h3 { font-size: 26px; }
 .engineering-reading, .engineering-essays > article { grid-template-columns: 1fr; gap: 25px; }
 .engineering-essays > article > h3, .engineering-essays > article > p { grid-column: 1; grid-row: auto; }
 .engineering-essays > article > h3 { max-width: none; }
 .engineering-essays > article { gap: 16px; }
}
.motion-paused .machine-workshop, .document-hidden .machine-workshop, .paused-offscreen .machine-workshop { animation-play-state: paused; }
.motion-paused [data-trace-node], .document-hidden [data-trace-node], .paused-offscreen [data-trace-node] { transition: none; }
@media (prefers-reduced-motion: reduce) { .machine-reveal[open] .machine-workshop { animation: none; } [data-trace-node] { transition: none; } }
/* Forge continuation: art lives in clipped decorative layers, text stays above it. */
.scenic-section { position: relative; isolation: isolate; }
.chapter-atmosphere { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
.chapter-scene { position: absolute; inset: 0; background: linear-gradient(180deg, #15110e45, #15110edc 48%, #15110e45), url('presentation/forge-workshop.webp') center top / 1400px auto repeat-y; opacity: .48; mask-image: linear-gradient(180deg, transparent, #000 8%, #000 85%, transparent); }
.chapter-light { position: absolute; width: 600px; height: 650px; right: -100px; top: 40px; background: radial-gradient(ellipse, #a6592230, transparent 65%); animation: chapter-fire 8s ease-in-out infinite alternate; }
.chapter-art { position: absolute; object-fit: contain; width: min(30vw, 380px); height: auto; opacity: .48; filter: drop-shadow(0 20px 18px #0009); animation: chapter-drift 10s ease-in-out infinite alternate; }
.art-primary { right: -35px; top: 0; transform-origin: 70% 75%; }
.art-secondary { width: min(18vw, 220px); left: -35px; bottom: 20px; opacity: .28; animation-delay: -4s; }
.chapter-atmosphere .chapter-art, .chapter-atmosphere .chapter-light, .algorithm-graph .graph-wire { animation-play-state: paused; }
.chapter-atmosphere.visual-in-view .chapter-art, .chapter-atmosphere.visual-in-view .chapter-light, .algorithm-graph.visual-in-view .graph-wire { animation-play-state: running; }
.engineering .chapter-scene { background-image: linear-gradient(180deg, #15110e60, #15110eea 35%, #15110eb0), url('presentation/forge-hero.webp'); }
.engineering .art-primary { top: -45px; right: -20px; width: min(32vw, 420px); opacity: .5; }
.engineering .section-head, .production-story .section-head { position: relative; z-index: 1; }
.engineering .section-head > p, .production-story .section-head > p { background: linear-gradient(90deg, #15110ef0, #15110e80); padding: 12px; }
.data-story .art-primary { right: -60px; top: 200px; width: 300px; opacity: .26; }
.data-story .chapter-scene { opacity: .34; }
.production-story .art-primary { right: 0; top: 180px; width: 300px; opacity: .32; }
.production-story .art-secondary { left: -20px; bottom: 160px; width: 280px; opacity: .32; }
.evidence .art-primary { right: -10px; top: -5px; width: 250px; opacity: .3; }
.evidence .art-secondary { left: -30px; bottom: -25px; width: 310px; opacity: .35; }
.evidence .evidence-grid { position: relative; background: linear-gradient(90deg, #15110e80, #15110ee0 25%, #15110ee0 85%, #15110e80); }
.work .art-primary { width: 500px; right: -60px; top: -50px; opacity: .23; }
.work .art-secondary { width: 310px; left: 40%; bottom: 0; opacity: .4; }
.work .offers > article { background: linear-gradient(180deg, #15110e85, #15110ed9); padding: 24px 18px; }
.faq .art-primary { width: 240px; opacity: .26; }
.faq .chapter-scene { opacity: .26; }
@keyframes chapter-drift { from { transform: translate3d(0, 0, 0) rotate(-3deg); } to { transform: translate3d(-8px, -10px, 0) rotate(2deg); } }
@keyframes chapter-fire { from { opacity: .45; transform: scale(.94); } to { opacity: 1; transform: scale(1.05); } }
.event-flow .art-primary { width: 300px; right: -40px; top: 0; opacity: .42; }
.event-flow .art-secondary { width: 260px; left: -40px; bottom: 80px; opacity: .32; }
.flow-figure { margin: 35px 0; padding: 30px 0; }
.flow-figure figcaption { max-width: 68ch; margin-bottom: 24px; }
.flow-figure h3 { font: 500 28px/1.3 var(--body); letter-spacing: -.025em; margin-bottom: 14px; }
.flow-figure figcaption > p { font: 16px/1.65 var(--body); }
.algorithm-graph { display: block; width: 100%; height: auto; color: var(--brass); background: radial-gradient(ellipse at center, #37271de6, #15110eeb 75%); }
.graph-node rect { fill: #231c16; stroke: #8b6d44; stroke-width: 1; }
.graph-node .graph-terminal { fill: #38291b; stroke: var(--gold); }
.graph-node .graph-exception { fill: #331e18; stroke: #b87958; }
.graph-node .graph-decision { fill: #3a2c1c; stroke: var(--gold); stroke-width: 1; }
.algorithm-graph text { fill: var(--ivory); font: 600 18px var(--body); }
.algorithm-graph .graph-sub { fill: var(--muted); font: 15px var(--body); }
.algorithm-graph .graph-edge-label { fill: var(--gold); font: 15px var(--body); }
.graph-wire { fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-dasharray: 10 5; animation: forge-signal 4s linear infinite; }
.graph-loop { stroke: var(--gold); }
@keyframes forge-signal { to { stroke-dashoffset: -45; } }
.graph-explanation { margin-top: 16px; }
.graph-explanation > summary, .math-algorithm > summary { font: 600 19px/1.5 var(--body); padding: 20px 0; }
.graph-text { padding: 0 0 0 22px; max-width: 80ch; }
.graph-text li { padding: 14px 0; font: 16px/1.7 var(--body); color: var(--muted); }
.graph-text strong { color: var(--ivory); }
.event-boundaries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-block: 35px 70px; }
.event-boundaries p { font: 16px/1.65 var(--body); }
.event-boundaries strong { display: block; color: var(--gold); margin-bottom: 10px; }
.math-algorithm:not([open]) .graph-wire { animation: none; }
.graph-phone { display: none; }
@media (max-width: 1100px) { .algorithm-graph, .graph-explanation { display: none; } .graph-phone { display: block; } }
@media (max-width: 760px) {
 .chapter-art { opacity: .34; }
 .art-primary { width: 190px; right: -40px; top: 20px; }
 .art-secondary { width: 145px; left: -25px; bottom: 30px; }
 .chapter-scene { opacity: .3; background-size: 900px auto; }
 .engineering .art-primary, .production-story .art-primary { width: 200px; right: -45px; top: 0; opacity: .3; }
 .data-story .art-primary { width: 180px; right: -55px; top: 0; }
 .production-story .art-secondary { width: 180px; left: -40px; bottom: 70px; }
 .evidence .art-primary { width: 155px; right: -40px; opacity: .3; }
 .evidence .art-secondary { width: 180px; left: -45px; }
 .work .art-primary { width: 260px; right: -70px; opacity: .25; }
 .work .art-secondary { width: 180px; left: 40%; }
 .event-flow .art-primary { width: 180px; right: -45px; }
 .event-flow .art-secondary { width: 150px; left: -45px; }
 .faq .art-primary { width: 150px; right: -50px; }
 .work .offers > article { padding: 16px 0; }
 .event-boundaries { grid-template-columns: 1fr; gap: 20px; }
 .graph-text { list-style: none; padding: 0; }
 .graph-text li { position: relative; margin-bottom: 22px; padding: 18px 12px; background: linear-gradient(90deg, #4b3326c0, #211b16df); }

 .flow-figure h3 { font-size: 24px; }
 .math-algorithm > summary { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .chapter-art, .chapter-light, .graph-wire { animation: none !important; } }

/* Phone flow semantics: arrows belong to the main path, never an exit branch. */
.phone-flow-caption { display: none; }
@media (max-width: 1100px) {
 .desktop-flow-caption { display: none; }
 .phone-flow-caption { display: block; }
 .phone-path-label { font: 600 13px/1.5 var(--body); color: var(--gold); letter-spacing: .08em; margin-block: 22px; }
 .phone-path { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; }
 .phone-main-step { position: relative; min-width: 0; padding: 20px 16px; background: linear-gradient(90deg, #4b3326c0, #211b16ef); font: 16px/1.7 var(--body); color: var(--muted); }
 .phone-main-step:not(:last-child)::after { content: '↓'; position: absolute; bottom: -32px; left: 16px; color: var(--gold); font: 22px/1 var(--body); }
 .phone-step-copy > strong { display: block; color: var(--ivory); margin-bottom: 10px; font-weight: 600; }
 .phone-step-copy p { margin: 12px 0 0; }
 .phone-callback-note { color: var(--gold); font-size: 14px; }
 .phone-branch { margin: 20px 0 0 10px; padding: 16px 12px; border-left: 2px solid #c28a68; background: #241711e8; font: 15px/1.7 var(--body); }
 .phone-branch-label { margin: 0 0 12px; color: #f0c6ac; font-weight: 600; }
 .phone-branch strong { color: var(--ivory); }
 .phone-branch-destination { margin: 12px 0 0; color: #e0c5b4; font-size: 14px; }
 .phone-branch::after { content: none; }
 .branch-skip { border-color: var(--brass); background: #2c2419e8; }
 .branch-skip .phone-branch-label { color: var(--gold); }
 .phone-transition { margin: 20px 0 0; font: 600 14px/1.6 var(--body); color: var(--gold); }
 .phone-loop-note { margin: 28px 0; padding: 16px 0; color: var(--gold); font: 15px/1.7 var(--body); }
 .phone-loop-note a, .phone-branch-destination a { text-decoration: underline; text-underline-offset: 4px; }
}

/* Math chapter: static evidence, with the existing forge atmosphere lifecycle. */
.math-chapter { --math-zero: #a88772; --math-below: #bf854e; --math-even: #f1e7d4; --math-above: #c5ca98; }
.math-chapter .chapter-scene { opacity: .26; }
.math-chapter .art-primary { top: 25px; right: -30px; opacity: .25; }
.math-chapter .art-secondary { bottom: 90px; opacity: .22; }
.math-chapter h3 { font: 500 clamp(25px, 2.5vw, 34px)/1.25 var(--body); letter-spacing: -.025em; }
.math-chapter h4 { font: 600 19px/1.4 var(--body); margin: 12px 0; }
.math-chapter code { overflow-wrap: anywhere; font-family: Consolas, monospace; font-size: .88em; }
.math-chapter a { text-decoration: underline; text-underline-offset: 4px; }
.math-opening, .math-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.math-opening { max-width: 1000px; margin: 35px 0 65px; }
.math-reading { margin-block: 70px; }
.math-reading h3 { margin-block: 16px 24px; }
.math-reading p + p { margin-top: 18px; }
.math-figure { margin: 65px 0 90px; padding: 32px clamp(16px, 3vw, 40px); background: linear-gradient(125deg, #302319ed, #15110ef5 75%); }
.math-figure figcaption { max-width: 75ch; margin-bottom: 35px; }
.math-figure figcaption h3 { margin-block: 14px 18px; }
.math-stage { display: block; color: var(--gold); font: 600 12px/1.6 var(--body); letter-spacing: .07em; text-transform: uppercase; }
.stop-pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; list-style: none; margin: 0 0 28px; padding: 0; }
.stop-pipeline li { position: relative; }
.stop-pipeline li:not(:last-child)::after { content: '→'; position: absolute; right: -22px; top: 27px; color: var(--gold); }
.stop-pipeline strong, .calibration-path strong { display: block; margin-block: 12px; font: 600 18px/1.4 var(--body); }
.stop-pipeline p, .calibration-path p { font-size: 15px; line-height: 1.65; }
.math-qualification { font: 14px/1.75 var(--body); color: var(--muted); margin-top: 24px; max-width: 100ch; }
.math-formulas { margin: 24px 0; }
.math-formulas dt { color: var(--gold); font-size: 13px; margin-top: 18px; }
.math-formulas dd { margin: 5px 0; font: 16px/1.7 Consolas, monospace; }
.math-detail { margin-top: 22px; }
.math-detail summary { padding-block: 14px; color: var(--gold); font: 600 16px/1.6 var(--body); cursor: pointer; }
.math-detail > div { padding: 14px 0 4px; max-width: 85ch; }
.math-detail p { margin-bottom: 16px; font-size: 16px; }
.math-equation { display: block; margin-bottom: 18px; color: var(--ivory); }
.payout-composition { display: block; width: 100%; height: 24px; margin-block: 35px; }
.payout-kind-0 { --category-color: var(--math-zero); }
.payout-kind-1 { --category-color: var(--math-below); }
.payout-kind-2 { --category-color: var(--math-even); }
.payout-kind-3 { --category-color: var(--math-above); }
.payout-composition rect { fill: var(--category-color); }
.payout-categories { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 50px; }
.payout-category { display: grid; grid-template-columns: 12px 1fr auto; align-items: baseline; gap: 14px; }
.payout-key { width: 10px; height: 10px; background: var(--category-color); }
.payout-category strong { font: 600 16px/1.5 var(--body); }
.payout-category div > span { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }
.payout-category b { font: 500 20px/1.5 var(--body); font-variant-numeric: tabular-nums; color: var(--category-color); }
.math-insight { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 42px; }
.math-insight strong { color: var(--ivory); }
.math-reference { display: grid; grid-template-columns: 1fr 1.4fr; gap: 45px; margin: 36px 0 24px; align-items: center; }
.math-reference span { display: block; font-size: 14px; color: var(--gold); }
.math-reference strong { display: block; font: 500 clamp(32px, 4vw, 52px)/1.3 var(--body); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.math-reference p { font-size: 16px; }
.rtp-plot { display: block; width: 100%; height: auto; margin: 24px 0; overflow: visible; }
.rtp-plot text { fill: var(--ivory); font: 17px var(--body); }
.rtp-grid line { stroke: #65503980; stroke-width: 1; }
.rtp-grid text, .rtp-plot .rtp-axis-label, .rtp-plot .rtp-tick { fill: var(--muted); font-size: 16px; }
.rtp-whisker { stroke: var(--gold); stroke-width: 2; fill: none; }
.rtp-observation circle { fill: var(--ivory); stroke: var(--soot); stroke-width: 2; }
.rtp-reference-line { stroke: var(--math-above); stroke-width: 2; stroke-dasharray: 7 5; }
.rtp-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; margin: 16px 0 30px; }
.rtp-legend span:last-child { color: var(--math-above); }
.rtp-table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.rtp-table caption { text-align: left; color: var(--gold); font-size: 14px; padding-bottom: 16px; }
.rtp-table th, .rtp-table td { padding: 14px 12px 14px 0; text-align: left; border-bottom: 1px solid #65503970; }
.rtp-table thead th { font-weight: 600; font-size: 14px; color: var(--muted); }
.rtp-table tbody th { font-weight: 500; }
.calibration-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; list-style: none; padding: 0; }
.calibration-return { color: var(--gold); font-size: 15px; margin-block: 28px 45px; }
.adaptation-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.adaptation-map p { font-size: 15px; }
.math-provenance { margin-bottom: 0; }
@media (max-width: 1100px) {
 .stop-pipeline { grid-template-columns: 1fr; gap: 36px; }
 .stop-pipeline li { padding-left: 20px; max-width: 75ch; }
 .stop-pipeline li:not(:last-child)::after { content: '↓'; top: auto; right: auto; bottom: -28px; left: 20px; }
 .stop-pipeline strong { margin-block: 5px; }
 .calibration-path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .math-reading, .math-opening { gap: 35px; }
 .payout-categories { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
 .math-opening, .math-reading, .math-insight, .math-reference, .adaptation-map, .calibration-path { grid-template-columns: 1fr; gap: 28px; }
 .math-opening { margin-bottom: 40px; }
 .math-figure { margin-block: 40px 60px; padding: 26px 16px; }
 .math-figure figcaption { margin-bottom: 25px; }
 .math-reading { margin-block: 45px; gap: 45px; }
 .math-chapter .art-primary { width: 190px; right: -45px; top: 10px; opacity: .23; }
 .math-chapter .art-secondary { width: 160px; }
 .payout-category { grid-template-columns: 10px 1fr; gap: 10px; }
 .payout-category b { grid-column: 2; }
 .math-insight { gap: 16px; margin-top: 30px; }
 .rtp-plot, .rtp-legend { display: none; }
 .rtp-table { font-size: 14px; }
 .rtp-table thead th { font-size: 12px; }
 .rtp-table th, .rtp-table td { padding: 12px 6px 12px 0; }
 .rtp-table td:last-child { overflow-wrap: anywhere; }
}

/* Scroll navigation start: fixed only after enhancement; no changes to game surfaces. */
:root { --navigation-height: 88px; }
html { scroll-padding-top: calc(var(--navigation-height) + 16px); }
.navigation-ready .header { position: fixed; height: var(--navigation-height); padding-block: 12px; gap: 20px; z-index: 40; transition: transform .28s ease, background-color .2s ease, box-shadow .2s ease; }
.navigation-ready .header-scrolled { background: #15110ef7; box-shadow: 0 10px 30px #0005; }
.navigation-ready .header-hidden { transform: translate3d(0, calc(-100% - 2px), 0); pointer-events: none; }
.navigation-ready .header:focus-visible, .navigation-ready .header:has(:focus-visible) { transform: none; pointer-events: auto; }
.header-motion { flex-shrink: 0; min-height: 44px; padding: 8px; color: var(--gold); font: 500 13px/1.4 var(--body); }
.header-motion:disabled { cursor: default; opacity: 1; color: var(--muted); }
.navigation-shortcut { max-width: calc(100vw - 32px); }
.navigation-ready .mobile-nav { position: fixed; top: calc(var(--navigation-height) + 4px); max-height: calc(100dvh - var(--navigation-height) - 20px); overflow-y: auto; overscroll-behavior: contain; z-index: 45; }
.navigation-ready .mobile-nav a { min-height: 44px; }
.embed-expanded .header, .embed-expanded .mobile-nav, .embed-expanded .skip { visibility: hidden; pointer-events: none; }
html.motion-paused { scroll-behavior: auto; }
.motion-paused .header { transition: none; }
body:not(.navigation-ready) .header { position: relative; flex-wrap: wrap; }
body:not(.navigation-ready) .header nav { display: flex; flex-wrap: wrap; }
body:not(.navigation-ready) .menu-toggle, body:not(.navigation-ready) #motion-toggle, body:not(.navigation-ready) .navigation-shortcut { display: none; }
@media (max-width: 1100px) {
 :root { --navigation-height: 76px; }
 .navigation-ready .header { padding: 10px 20px; gap: 12px; }
 .header nav, .header-play { display: none; }
 .menu-toggle { display: block; flex-shrink: 0; }
 .header .brand { margin-right: auto; }
 .header .brand img { width: 140px; }
}
@media (max-width: 420px) {
 .navigation-ready .header { padding-inline: 16px; gap: 6px; }
 .header .brand img { width: 105px; }
 .header-motion { font-size: 12px; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .navigation-ready .header { transition: none; } }
/* Scroll navigation end. */
