@font-face {
  font-family: Study;
  src: local("Helvetica Neue"), local("Arial");
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f4f5f2;
  --ink: #171a19;
  --muted: #5f6665;
  --orange: #c34213;
  --line: #d2d6d1;
  font-family: Study, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button,
input {
  touch-action: manipulation;
}
button {
  border: 0;
  border-radius: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #2059b0;
  outline-offset: 6px;
}
button:hover,
a:hover {
  opacity: 0.78;
}
button[aria-current="step"]:hover {
  opacity: 1;
}
::selection {
  background: #ffd3b9;
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 20;
  background: white;
  padding: 14px;
}
.skip:focus {
  top: 15px;
}
.masthead {
  height: 92px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 0 3.2vw;
  border-bottom: 1px solid #17201b15;
}
.wordmark {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
}
.masthead nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.masthead nav a {
  text-decoration: none;
}
.study-label {
  margin-left: auto;
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.study-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--orange);
  margin-right: 9px;
}
.story {
  height: 760svh;
  position: relative;
  overflow-anchor: none;
}
.stage {
  height: 100svh;
  min-height: 650px;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: var(--paper);
}
.scene {
  position: absolute;
  right: 0;
  top: 0;
  width: 69%;
  height: 100%;
  overflow: hidden;
  background: #e9ece7;
}
.scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}
.scene[data-renderer="3d"] canvas {
  opacity: 1;
}
.poster {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  /* The older concept image is a fallback, not the scene's loading frame. */
  visibility: hidden;
}
.scene[data-renderer="poster"] .poster {
  visibility: visible;
}
.scene-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--paper) 25%,
    #f4f5f2e8 32%,
    #f4f5f200 45%
  );
  pointer-events: none;
}
.room-mark {
  position: absolute;
  top: 130px;
  left: 49%;
  z-index: 2;
  padding: 6px 10px 6px 0;
  background: #f4f5f2d9;
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.divider {
  opacity: 0.35;
  margin: 0 4px;
}
.blue-light {
  width: 4px;
  height: 18px;
  background: #2d69b4;
  box-shadow: 0 0 8px #4989d344;
}
.chapters {
  position: absolute;
  inset: 27% auto auto 3.2vw;
  width: 40%;
  max-width: 670px;
  z-index: 2;
}
.chapter {
  display: none;
}
.chapter.active,
.chapter:first-child:not([hidden]) {
  display: block;
}
.eyebrow {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.12em;
  line-height: 1.7;
  margin: 0 0 24px;
  color: #4f5853;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.035;
  margin-bottom: 27px;
}
h1 {
  font-size: clamp(54px, 5.4vw, 94px);
}
.chapter h2 {
  font-size: clamp(52px, 5vw, 83px);
}
.intro {
  font-size: clamp(15px, 1.22vw, 19px);
  line-height: 1.6;
  color: #505855;
  max-width: 380px;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}
.primary {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: var(--orange);
  color: white;
  padding: 19px 22px;
  font-size: 13px;
}
.primary span {
  font-size: 22px;
  line-height: 16px;
}
.scroll-hint {
  font-size: 11px;
  color: var(--muted);
  margin: 35px 0 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.scroll-hint > span {
  font-size: 20px;
}
.requirements {
  font-size: 12px;
  max-width: 370px;
  margin: 5px 0 22px;
}
.requirements > div {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.requirements dt {
  min-width: 76px;
  color: var(--muted);
}
.requirements dd {
  margin: 0;
  line-height: 1.5;
}
.small-note {
  font:
    10px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #626b66;
  max-width: 340px;
}
.run-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 18px;
}
.orange-square {
  display: block;
  background: #dd5b24;
  width: 12px;
  height: 12px;
}
.text-link {
  font-size: 13px;
  text-underline-offset: 7px;
}
.text-link span {
  margin-left: 20px;
}
.bottom-bar {
  position: absolute;
  bottom: 64px;
  left: 3.2vw;
  right: 3.2vw;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  z-index: 4;
}
.sequence {
  display: flex;
  gap: 0;
  width: min(510px, 47%);
}
.sequence button {
  position: relative;
  background: transparent;
  text-align: left;
  font-size: 11px;
  width: 25%;
  padding: 10px 14px 0 0;
  white-space: nowrap;
  color: #59615b;
}
.sequence button:after {
  content: "";
  width: 40%;
  height: 1px;
  position: absolute;
  right: 15%;
  top: 14px;
  background: #b9c1b9;
}
.sequence button:last-child:after {
  display: none;
}
.sequence span {
  display: block;
  font:
    12px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  margin-bottom: 14px;
  color: #5a625c;
}
.sequence [aria-current="step"],
.sequence [aria-current="step"] span {
  color: var(--orange);
}
.sequence [aria-current="step"] span {
  font-weight: bold;
}
.motion-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}
.motion-controls input {
  width: 160px;
  accent-color: var(--orange);
  cursor: pointer;
}
.motion-controls button {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  border: 1px solid #8e9890;
  padding: 10px;
  background: #f4f5f2c9;
  min-width: 99px;
  white-space: nowrap;
}
.renderer-note {
  position: absolute;
  bottom: 21px;
  right: 3.2vw;
  left: 3.2vw;
  text-align: right;
  font:
    9px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.04em;
  color: #4e5852;
  margin: 0;
  z-index: 3;
}
.evidence {
  position: absolute;
  right: 3.2vw;
  top: 18%;
  width: min(700px, 49vw);
  background: #fafbf8;
  border: 1px solid #c5ccc5;
  box-shadow: 0 16px 40px #24362a17;
  padding: 25px;
  z-index: 3;
}
.evidence-heading {
  display: flex;
  justify-content: space-between;
  font:
    9px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.evidence p {
  font:
    9px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #657063;
  margin: 14px 0 0;
}
.direction,
.storyboard {
  padding: 95px 7.4vw;
  background: #f4f5f2;
  position: relative;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #a9b3a7;
  padding-top: 20px;
  margin-bottom: 75px;
}
.section-heading .eyebrow {
  margin: 0;
}
.section-heading > span {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.04em;
  color: #677264;
}
.direction h2,
.storyboard h2 {
  font-size: clamp(44px, 5vw, 76px);
  max-width: 690px;
}
.direction-intro {
  font-size: 20px;
  line-height: 1.6;
  max-width: 570px;
  color: var(--muted);
}
.ideas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin: 70px 0;
}
.ideas article {
  border-top: 1px solid #c5ccc3;
  padding-top: 20px;
}
.ideas article > span {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.06em;
  color: #65705f;
}
.ideas h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 27px 0 18px;
  max-width: 250px;
}
.ideas p,
.storyboard > p {
  font-size: 14px;
  line-height: 1.75;
  color: #5e685d;
  max-width: 570px;
}
.reference {
  margin: 70px 0 0;
}
.reference img {
  width: 100%;
  display: block;
  border: 1px solid #d0d5cd;
}
.reference figcaption {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.03em;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.reference figcaption a {
  text-underline-offset: 5px;
}
.storyboard {
  padding-top: 0;
}
.storyboard img {
  width: 100%;
  margin: 40px 0 50px;
  border: 1px solid #d0d5cd;
}
.study-footer {
  border-top: 1px solid #c5ccc3;
  padding-top: 25px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: baseline;
}
.study-footer p {
  font-size: 12px;
  line-height: 1.7;
  color: #677264;
  max-width: 570px;
  margin: 0;
}
.study-footer a {
  font-size: 12px;
  white-space: nowrap;
  text-underline-offset: 5px;
}
.footer {
  padding: 28px 3.2vw;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  border-top: 1px solid #c5ccc3;
  font:
    9px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  background: var(--paper);
}
body.motion-off .story {
  height: 100svh;
}
body.motion-off .stage {
  position: relative;
}
body.motion-off .scroll-hint {
  visibility: hidden;
}
body.motion-off .scene canvas {
  transition: none;
}
@media (min-width: 1700px) {
  .chapters {
    top: 30%;
  }
}
@media (max-width: 1050px) {
  .masthead {
    gap: 25px;
  }
  .study-label {
    font-size: 9px;
  }
  .chapters {
    width: 43%;
  }
  h1 {
    font-size: 57px;
  }
  .chapter h2 {
    font-size: 54px;
  }
  .intro {
    max-width: 310px;
    font-size: 15px;
  }
  .room-mark {
    left: 51%;
    font-size: 9px;
  }
  .motion-controls {
    gap: 12px;
  }
  .motion-controls input {
    width: 110px;
  }
  .sequence {
    width: 53%;
  }
  .sequence button:after {
    width: 25%;
  }
  .requirements {
    font-size: 11px;
  }
  .requirements dt {
    min-width: 65px;
  }
  .ideas {
    gap: 25px;
  }
}
@media (max-width: 700px) {
  .masthead {
    height: 65px;
    padding: 0 6vw;
    gap: 16px;
  }
  .wordmark {
    font-size: 10px;
    letter-spacing: 0.15em;
  }
  .masthead nav {
    margin-left: auto;
    font-size: 11px;
    gap: 12px;
  }
  .masthead nav a:last-child,
  .study-label {
    display: none;
  }
  .stage {
    min-height: 720px;
  }
  .scene {
    width: 100%;
    height: 46%;
    top: 8%;
    right: 0;
  }
  .scene-tint {
    background: linear-gradient(0deg, var(--paper) 42%, #f4f5f200 58%);
  }
  .room-mark {
    top: 11%;
    left: 6%;
    font-size: 8px;
    gap: 8px;
  }
  .blue-light {
    height: 11px;
    width: 3px;
  }
  .chapters {
    top: 53%;
    left: 6%;
    width: 88%;
    max-width: none;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
  }
  h1,
  .chapter h2 {
    font-size: clamp(36px, 9.4vw, 48px);
    line-height: 1.04;
    margin-bottom: 17px;
  }
  .intro {
    font-size: 13px;
    line-height: 1.5;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .primary {
    font-size: 11px;
    padding: 13px 18px;
    gap: 30px;
  }
  .scroll-hint {
    display: none;
  }
  .bottom-bar {
    left: 6%;
    right: 6%;
    bottom: 34px;
    align-items: center;
    gap: 10px;
  }
  .sequence {
    width: 100%;
    max-width: 330px;
  }
  .sequence button {
    font-size: 9px;
    padding-right: 9px;
  }
  .sequence span {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .sequence button:after {
    top: 14px;
    width: 30%;
  }
  .motion-controls input {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: -16px;
    height: 2px;
    opacity: 0.65;
  }
  .motion-controls button {
    font-size: 8px;
    min-width: 77px;
    padding: 9px;
  }
  .renderer-note {
    bottom: 10px;
    left: 6%;
    right: 6%;
    font-size: 7px;
    text-align: left;
  }
  .requirements {
    margin: 0 0 12px;
    max-width: 340px;
    font-size: 10px;
  }
  .requirements > div {
    padding: 8px 0;
  }
  .requirements dt {
    min-width: 65px;
  }
  .small-note {
    font-size: 8px;
    line-height: 1.45;
    max-width: 310px;
  }
  .run-caption {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .direction,
  .storyboard {
    padding: 60px 6vw;
  }
  .section-heading {
    margin-bottom: 45px;
    padding-top: 16px;
    gap: 15px;
  }
  .section-heading > span {
    font-size: 8px;
  }
  .direction h2,
  .storyboard h2 {
    font-size: 46px;
  }
  .direction-intro {
    font-size: 17px;
  }
  .ideas {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 45px 0;
  }
  .ideas h3 {
    max-width: 330px;
    font-size: 24px;
    margin: 18px 0 12px;
  }
  .ideas p {
    font-size: 14px;
  }
  .reference {
    margin-top: 45px;
  }
  .reference figcaption {
    font-size: 8px;
  }
  .storyboard {
    padding-top: 0;
  }
  .storyboard img {
    margin: 25px 0;
  }
  .study-footer {
    flex-direction: column;
    gap: 18px;
  }
  .study-footer p {
    font-size: 11px;
  }
  .footer {
    padding: 25px 6vw;
    flex-wrap: wrap;
    font-size: 8px;
  }
  .footer > :nth-child(2) {
    display: none;
  }
}
@media (max-height: 760px) and (min-width: 701px) {
  .chapters {
    top: 24%;
  }
  h1,
  .chapter h2 {
    font-size: 57px;
  }
  .eyebrow {
    margin-bottom: 18px;
  }
  .intro {
    font-size: 14px;
  }
  .bottom-bar {
    bottom: 55px;
  }
  .room-mark {
    top: 118px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .story {
    height: 100svh;
  }
  .stage {
    position: relative;
  }
}
.agent-panel {
  position: absolute;
  right: 3.2vw;
  top: 24%;
  width: 360px;
  padding: 19px 20px;
  background: #f9faf7ed;
  border: 1px solid #bdc6ba;
  box-shadow: 0 12px 40px #25332612;
  z-index: 3;
  --command-progress: 0;
}
.feed-title {
  font:
    9px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.feed-arrow {
  color: var(--orange);
  padding: 0 6px;
}
.feed-concept {
  color: #717a6d;
  font-size: 8px;
}
.command-history {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  min-height: 36px;
}
.command-history li {
  font:
    10px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #737d70;
}
.command-history li:before {
  content: "↳";
  color: #99a391;
  padding-right: 12px;
}
.current-command {
  display: flex;
  gap: 13px;
  align-items: baseline;
  margin: 16px 0 19px;
}
.command-index {
  font:
    9px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: var(--orange);
}
.current-command p {
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0;
  max-width: 230px;
}
.command-cursor {
  margin-left: auto;
  color: var(--orange);
}
.command-progress {
  height: 2px;
  background: #e2e6de;
  margin-bottom: 15px;
}
.command-progress span {
  display: block;
  background: var(--orange);
  height: 100%;
  transform: scaleX(var(--command-progress));
  transform-origin: left;
}
.controller-line {
  font:
    7px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.035em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.controller-line > :last-child {
  margin-left: auto;
  color: #687361;
  letter-spacing: 0;
}
.controller-light {
  width: 4px;
  height: 4px;
  display: inline-block;
  background: #56734b;
}
.motion-controls button:disabled {
  cursor: default;
  opacity: 0.6;
}
@media (max-width: 1050px) and (min-width: 701px) {
  .agent-panel {
    width: 250px;
    right: 2vw;
    padding: 15px;
  }
  .feed-title {
    font-size: 7px;
  }
  .feed-concept {
    font-size: 6px;
  }
  .current-command p {
    font-size: 14px;
  }
  .controller-line {
    font-size: 6px;
  }
  .command-history li {
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .agent-panel {
    top: 11%;
    right: 6%;
    width: 88%;
    padding: 12px 14px;
  }
  .feed-title {
    font-size: 8px;
  }
  .feed-concept {
    font-size: 7px;
  }
  .command-history {
    display: none;
  }
  .current-command {
    margin: 12px 0;
  }
  .current-command p {
    font-size: 14px;
    max-width: 100%;
  }
  .command-index {
    font-size: 8px;
  }
  .controller-line {
    font-size: 7px;
  }
  .command-progress {
    margin-bottom: 10px;
  }
  .command-cursor {
    font-size: 12px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .stage {
    min-height: 560px;
  }
  .scene {
    height: 38%;
    top: 9%;
  }
  .scene-tint {
    background: linear-gradient(0deg, var(--paper) 50%, #f4f5f200 64%);
  }
  .chapters {
    top: 45%;
  }
  .eyebrow {
    font-size: 7px;
    margin-bottom: 10px;
  }
  h1,
  .chapter h2 {
    font-size: 34px;
    margin-bottom: 13px;
  }
  .intro {
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .primary {
    padding: 11px 14px;
    font-size: 10px;
  }
  .requirements {
    font-size: 9px;
    margin-bottom: 9px;
  }
  .requirements > div {
    padding: 6px 0;
  }
  .small-note {
    font-size: 7px;
  }
  .bottom-bar {
    bottom: 35px;
  }
  .room-mark {
    top: 12%;
  }
  .agent-panel {
    width: 53%;
    top: 14%;
    padding: 9px;
  }
  .feed-title {
    font-size: 6px;
    gap: 5px;
  }
  .feed-concept {
    font-size: 6px;
  }
  .feed-arrow {
    padding: 0 2px;
  }
  .current-command {
    gap: 6px;
    margin: 9px 0;
  }
  .current-command p {
    font-size: 11px;
  }
  .controller-line {
    font-size: 5px;
  }
  .controller-line > :last-child {
    display: none;
  }
  .command-progress {
    margin-bottom: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.motion-off) .story {
    height: 760svh;
  }
  body:not(.motion-off) .stage {
    position: sticky;
  }
}
.evidence-heading {
  font-size: 9px;
  gap: 12px;
}
.evidence-heading > :last-child {
  color: #737d6c;
  font-size: 8px;
}
.evidence h3 {
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: 28px;
  margin-bottom: 21px;
}
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(150px, 1fr);
  gap: 23px;
}
.result-media video {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: #dce2d8;
  border: 1px solid #d2d8cd;
}
.evidence .result-media p {
  font-size: 9px;
  margin: 10px 0 0;
}
.cost-summary {
  border-left: 1px solid #d6ddd0;
  padding-left: 20px;
}
.cost-label {
  font:
    8px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.07em;
}
.total-cost {
  font-size: clamp(34px, 3.4vw, 52px);
  letter-spacing: -0.06em;
  margin: 13px 0 20px;
  white-space: nowrap;
}
.total-cost > span {
  font:
    11px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0;
  padding-right: 6px;
}
.cost-summary dl {
  font-size: 10px;
  margin: 0;
}
.cost-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #d6ddd0;
}
.cost-summary dt {
  color: #62705a;
}
.cost-summary dd {
  margin: 0;
  white-space: nowrap;
}
.evidence .cost-summary p {
  font-size: 8px;
  line-height: 1.6;
}
.result-artifacts {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  padding: 17px 0;
  border-top: 1px solid #cdd6c6;
  border-bottom: 1px solid #cdd6c6;
  font:
    9px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.result-artifacts span:before {
  content: "↗";
  margin-right: 8px;
  color: #86927c;
}
.evidence .result-caption {
  font-size: 8px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 540px;
}
@media (max-width: 1050px) and (min-width: 701px) {
  .evidence {
    width: 51vw;
    padding: 18px;
    right: 2vw;
  }
  .result-layout {
    gap: 15px;
    grid-template-columns: minmax(0, 1.4fr) minmax(125px, 1fr);
  }
  .cost-summary {
    padding-left: 13px;
  }
  .cost-summary dl {
    font-size: 8px;
  }
  .total-cost {
    font-size: 34px;
    margin-bottom: 13px;
  }
  .result-artifacts {
    font-size: 8px;
    gap: 12px;
  }
  .evidence-heading {
    font-size: 8px;
  }
  .evidence-heading > :last-child {
    font-size: 7px;
  }
  .evidence h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }
}
@media (max-width: 700px) {
  .evidence {
    width: 88%;
    right: 6%;
    top: 12%;
    padding: 14px;
  }
  .evidence-heading {
    font-size: 7px;
    margin-bottom: 12px;
  }
  .evidence-heading > :last-child {
    font-size: 6px;
  }
  .evidence h3 {
    font-size: 20px;
    margin-bottom: 13px;
  }
  .result-layout {
    gap: 13px;
    grid-template-columns: minmax(0, 1.5fr) minmax(105px, 1fr);
  }
  .cost-summary {
    padding-left: 12px;
  }
  .cost-label {
    font-size: 6px;
  }
  .total-cost {
    font-size: 32px;
    margin: 9px 0 11px;
  }
  .total-cost > span {
    font-size: 8px;
    padding-right: 3px;
  }
  .cost-summary dl {
    font-size: 7px;
  }
  .cost-summary dl > div {
    padding: 6px 0;
    gap: 6px;
  }
  .evidence .cost-summary p {
    font-size: 6px;
    margin-top: 8px;
  }
  .evidence .result-media p {
    font-size: 6px;
    margin-top: 7px;
  }
  .result-artifacts {
    font-size: 6px;
    gap: 12px;
    padding: 12px 0;
    margin-top: 13px;
  }
  .result-artifacts span:before {
    margin-right: 4px;
  }
  .evidence .result-caption {
    font-size: 6px;
    line-height: 1.5;
    margin-top: 9px;
    max-width: none;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .evidence {
    top: 12%;
    padding: 10px;
  }
  .evidence-heading {
    font-size: 6px;
    margin-bottom: 7px;
  }
  .evidence-heading > :last-child {
    font-size: 5px;
  }
  .evidence h3 {
    font-size: 16px;
    margin-bottom: 7px;
  }
  .result-layout {
    gap: 9px;
    grid-template-columns: minmax(0, 1.5fr) minmax(100px, 1fr);
  }
  .cost-summary {
    padding-left: 9px;
  }
  .total-cost {
    font-size: 26px;
    margin: 6px 0;
  }
  .cost-label {
    font-size: 5px;
  }
  .cost-summary dl {
    font-size: 6px;
  }
  .cost-summary dl > div {
    padding: 4px 0;
  }
  .evidence .cost-summary p {
    font-size: 5px;
  }
  .evidence .result-media p {
    font-size: 5px;
    margin-top: 5px;
  }
  .result-artifacts {
    font-size: 5px;
    gap: 9px;
    padding: 8px 0;
    margin-top: 8px;
  }
  .evidence .result-caption {
    font-size: 5px;
    margin-top: 6px;
  }
}

@media (max-width: 700px) and (max-height: 740px) {
  .result-media video {
    aspect-ratio: 16/9;
  }
  .evidence .result-caption {
    display: none;
  }
}
/* Agent session panel: transcript plus one widget per chapter. */
.transcript {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.transcript .line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #6b7469;
}
.transcript .line:last-child {
  color: var(--ink);
}
.transcript .who {
  font:
    8px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  color: #7c8678;
}
.transcript .dev .who {
  color: var(--orange);
}
.transcript .tool .text,
.transcript .room .text {
  font:
    11px/1.55 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0;
}
.transcript .tool .text:before {
  content: "↳ ";
  color: #99a391;
}
.transcript .typing .text:after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 12px;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--orange);
}
.widget {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d7ddd3;
}
.widget-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font:
    8px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.07em;
  color: #6c7668;
  margin: 0 0 10px;
}
.widget .command-history {
  margin-top: 6px;
  min-height: 0;
}
.widget .current-command {
  margin-top: 8px;
}
.room-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.room-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 10px;
  padding: 7px 8px;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.room-list li.shown {
  opacity: 1;
  transform: none;
}
.room-list b {
  font-weight: 500;
  font-size: 13px;
}
.room-list span {
  grid-column: 1;
  font-size: 11px;
  color: #6b7469;
}
.room-list em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font:
    normal 8px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #56734b;
}
.room-list [data-room="laundry"] em {
  color: #8b8f86;
}
.room-list [data-room="rtx"] em {
  color: #2d69b4;
}
.room-list li.selected {
  border-color: var(--orange);
  background: #fff4ec;
}
.room-list li.selected em:after {
  content: " · CHOSEN";
  color: var(--orange);
}
.approval dl {
  margin: 0 0 12px;
  font-size: 12px;
}
.approval dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e1e5dd;
}
.approval dt {
  color: #6b7469;
}
.approval dd {
  margin: 0;
}
.approve-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cap {
  font-size: 28px;
  letter-spacing: -0.05em;
}
.cap small {
  font:
    8px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.07em;
  margin-right: 8px;
  vertical-align: 6px;
}
.approve {
  background: var(--orange);
  color: white;
  font-size: 12px;
  padding: 10px 16px;
  transition: background 0.3s;
}
.approve.done {
  background: #3f7a4f;
}
.setup-body {
  display: flex;
  align-items: center;
  gap: 18px;
}
.setup-clock {
  font-size: 40px;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  min-width: 102px;
}
.setup-clock.done {
  color: #3f7a4f;
}
.setup-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  font:
    10px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #8d968a;
}
.setup-steps li:before {
  content: "○";
  margin-right: 8px;
}
.setup-steps li.done {
  color: var(--ink);
}
.setup-steps li.done:before {
  content: "✓";
  color: #3f7a4f;
}
.agent-summary {
  display: flex;
  gap: 12px;
  font-size: 13px !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  margin-top: 16px !important;
  letter-spacing: -0.01em;
}
.agent-summary span {
  font:
    8px/2 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  color: #7c8678;
}

/* Warehouse overview labels, positioned by the scene each frame. */
.room-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.room-label {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 3px;
  padding: 6px 9px;
  background: #f9faf7e8;
  border: 1px solid #c0c8bd;
  white-space: nowrap;
  font-size: 11px;
  color: #5e675c;
  transition:
    opacity 0.3s,
    border-color 0.3s;
}
.room-label b {
  font:
    600 8px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.room-label.selected {
  border-color: var(--orange);
  background: #fff4ec;
}
.room-label.selected b {
  color: var(--orange);
}
.room-label.dimmed {
  opacity: 0.45;
}

/* Product sections below the motion story. */
.product {
  padding: 95px 7.4vw 30px;
  background: var(--paper);
}
.product h2 {
  font-size: clamp(44px, 5vw, 76px);
  max-width: 820px;
}
.product .lead {
  font-size: 20px;
  line-height: 1.6;
  max-width: 620px;
  color: var(--muted);
}
.product .ideas {
  margin-bottom: 50px;
}
.prompt-strip {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid #c5ccc3;
  border-bottom: 1px solid #c5ccc3;
}
.prompt-strip span {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.prompt-strip p {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.room-tag {
  color: #b9c2b7;
}
.room-tag {
  font:
    9px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.1em;
  color: #6c7668;
}
.terms {
  margin: 55px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 45px;
}
.terms > div {
  border-top: 1px solid #c5ccc3;
  padding: 20px 0 34px;
}
.terms dt {
  font:
    10px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.terms dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #3e4542;
}
.vision {
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.3;
  max-width: 900px;
  margin: 40px 0 60px;
}
@media (max-width: 1050px) and (min-width: 701px) {
  .agent-panel {
    width: 290px;
  }
  .transcript .line {
    font-size: 12px;
  }
  .terms {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  /* The result package takes the place of the chapter copy on small screens. */
  .story[data-chapter="5"] .chapters {
    display: none;
  }
  .transcript {
    margin-top: 10px;
  }
  .transcript .line {
    display: none;
    font-size: 12px;
    grid-template-columns: 38px 1fr;
  }
  .transcript .line:last-child {
    display: grid;
  }
  .widget {
    margin-top: 10px;
    padding-top: 10px;
  }
  .room-list li {
    padding: 4px 6px;
  }
  .room-list b {
    font-size: 11px;
  }
  .room-list span {
    font-size: 9px;
  }
  .room-list li:nth-child(n + 4) {
    display: none;
  }
  .approval dl {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .approval dl > div {
    padding: 4px 0;
  }
  .cap {
    font-size: 22px;
  }
  .approve {
    font-size: 10px;
    padding: 8px 12px;
  }
  .setup-clock {
    font-size: 30px;
    min-width: 78px;
  }
  .setup-steps {
    font-size: 8px;
    line-height: 1.7;
  }
  .agent-summary {
    font-size: 10px !important;
    margin-top: 10px !important;
  }
  .room-label {
    padding: 3px 5px;
    font-size: 8px;
  }
  .room-label b {
    font-size: 6px;
  }
  .product {
    padding: 60px 6vw 20px;
  }
  .product h2 {
    font-size: 40px;
  }
  .product .lead {
    font-size: 16px;
  }
  .prompt-strip {
    flex-direction: column;
    gap: 10px;
  }
  .terms {
    grid-template-columns: 1fr;
  }
}
