:root {
  --story-ink: #14110f;
  --story-black: #090908;
  --story-paper: #f6f3ee;
  --story-white: #ffffff;
  --story-gold: #ffcb06;
  --story-cyan: #70d6ff;
  --story-green: #6ce5b1;
  --story-red: #e85c52;
  --story-line: rgba(20, 17, 15, 0.14);
}

.stratora-story {
  position: relative;
  overflow: clip;
  background: var(--story-paper);
  color: var(--story-ink);
  font-family: 'Inter Tight', Arial, sans-serif;
}

.story-intro {
  --title-color: var(--story-ink);
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  padding: 130px 7%;
  border-bottom: 1px solid var(--story-line);
  background: #ecefeb;
}

.story-intro::before,
.story-intro::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.story-intro::before {
  top: 0;
  bottom: 0;
  left: 8%;
  width: 1px;
  background: rgba(20, 17, 15, 0.09);
}

.story-intro::after {
  right: 8%;
  bottom: 0;
  width: 18%;
  height: 1px;
  background: var(--story-gold);
}

.story-intro__inner {
  width: min(1180px, 100%);
}

.story-eyebrow,
.story-step__label,
.story-outcome__eyebrow,
.story-misses__eyebrow,
.story-cta__eyebrow {
  display: block;
  margin: 0 0 24px;
  color: rgba(20, 17, 15, 0.52);
  font-family: 'Chivo Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story-intro h2,
.story-step h3,
.story-outcome h2,
.story-misses h2,
.story-cta h2 {
  margin: 0;
  font-family: 'Funnel Display', 'Inter Tight', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.story-intro h2 {
  max-width: 1060px;
  color: var(--story-ink);
  font-size: 72px;
  line-height: 1.02;
}

.story-intro__lead {
  max-width: 720px;
  margin: 34px 0 0 auto;
  color: rgba(20, 17, 15, 0.68);
  font-size: 20px;
  line-height: 1.55;
}

.story-intro__sequence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 86px 0 0;
  padding: 0;
  border-top: 1px solid rgba(20, 17, 15, 0.18);
  list-style: none;
}

@keyframes popDot {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.5); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInSequenceText {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.story-intro__sequence li {
  position: relative;
  min-height: 76px;
  padding: 18px 12px 0 0;
  color: rgba(20, 17, 15, 0.54);
  font-family: 'Chivo Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInSequenceText 0.6s ease-out forwards;
}

.story-intro__sequence li::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--story-ink);
  transform: scale(0);
  opacity: 0;
  animation: popDot 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.story-intro__sequence li:last-child::before {
  background: var(--story-gold);
}

.story-intro__sequence li:nth-child(1),
.story-intro__sequence li:nth-child(1)::before { animation-delay: 0.4s; }
.story-intro__sequence li:nth-child(2),
.story-intro__sequence li:nth-child(2)::before { animation-delay: 1.2s; }
.story-intro__sequence li:nth-child(3),
.story-intro__sequence li:nth-child(3)::before { animation-delay: 2.0s; }
.story-intro__sequence li:nth-child(4),
.story-intro__sequence li:nth-child(4)::before { animation-delay: 2.8s; }

.story-scroll {
  position: relative;
  background: var(--story-black);
  color: var(--story-white);
}

.story-scroll__shell {
  width: min(1460px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.28fr);
  gap: 72px;
  padding: 0 5%;
}

.story-copy-rail {
  position: relative;
  z-index: 3;
}

.story-copy-rail::before {
  content: '';
  position: absolute;
  top: 12vh;
  bottom: 12vh;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.story-step {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 8px 96px 42px;
  opacity: 0.34;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-step::before {
  content: attr(data-story-number);
  position: absolute;
  top: 50%;
  left: -18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--story-black);
  color: rgba(255, 255, 255, 0.56);
  font-family: 'Chivo Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  transform: translateY(-50%);
  transition: border-color 400ms ease, color 400ms ease, background 400ms ease;
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.story-step.is-active::before {
  border-color: var(--story-gold);
  background: var(--story-gold);
  color: var(--story-ink);
}

.story-step__label {
  color: var(--story-gold);
  margin-bottom: 20px;
}

.story-step h3 {
  max-width: 520px;
  color: var(--story-white);
  font-size: 54px;
  line-height: 1.03;
}

.story-step p {
  max-width: 470px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  line-height: 1.58;
}

.story-step__proof {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  max-width: 380px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.44);
  font-family: 'Chivo Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story-step__proof strong {
  display: inline-block;
  background: var(--story-gold, #ffcb06);
  color: var(--story-ink, #14110f);
  padding: 4px 10px;
  font: 700 11px/1.2 'Chivo Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 !important;
}

.story-visual-column {
  position: relative;
  min-width: 0;
}

.story-visual-sticky {
  position: sticky;
  top: 78px;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
}

.story-workspace {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: #f2f1ed;
  box-shadow: 0 46px 110px rgba(0, 0, 0, 0.52);
  color: var(--story-ink);
}

.story-workspace__topbar {
  height: 52px;
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid rgba(20, 17, 15, 0.12);
  background: #ffffff;
  font-size: 10px;
}

.story-workspace__brand,
.story-workspace__file,
.story-workspace__status {
  min-width: 0;
  padding: 0 16px;
}

.story-workspace__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Chivo Mono', monospace;
  font-weight: 800;
  text-transform: uppercase;
}

.story-workspace__brand i {
  width: 9px;
  height: 9px;
  background: var(--story-gold);
}

.story-workspace__file {
  overflow: hidden;
  border-left: 1px solid rgba(20, 17, 15, 0.1);
  color: rgba(20, 17, 15, 0.7);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-workspace__status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(20, 17, 15, 0.58);
  font-family: 'Chivo Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-workspace__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--story-green);
}

.story-workspace__body {
  height: calc(100% - 52px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 250px;
}

.story-workspace__thumbs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
  border-right: 1px solid rgba(20, 17, 15, 0.11);
  background: #e9e8e3;
  list-style: none;
}

.story-thumb {
  width: 40px;
  aspect-ratio: 0.76;
  border: 1px solid rgba(20, 17, 15, 0.14);
  background: #e7e4db url('../images/construction-document-atlas-v1.jpg') 0 0 / 204% 204% no-repeat;
}

.story-thumb:nth-child(2) { background-position: 100% 0; }
.story-thumb:nth-child(3) { background-position: 0 100%; }
.story-thumb.is-current { border: 2px solid var(--story-gold); }

.story-workspace__canvas {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #d7d7d2;
}

.story-drawing {
  position: absolute;
  inset: 5% 7% 9%;
  border: 1px solid rgba(20, 17, 15, 0.2);
  background: #ece9df url('../images/construction-document-atlas-v1.jpg') 0 0 / 204% 204% no-repeat;
  box-shadow: 0 18px 42px rgba(20, 17, 15, 0.2);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 500ms ease;
}

.story-workspace[data-story-state='evidence'] .story-drawing,
.story-workspace[data-story-state='quantity'] .story-drawing,
.story-workspace[data-story-state='decision'] .story-drawing {
  transform: scale(1.04);
}

.story-workspace[data-story-state='decision'] .story-drawing {
  filter: saturate(0.7) brightness(0.84);
}

.story-evidence-highlight,
.story-detection,
.story-change-marker {
  position: absolute;
  z-index: 4;
  opacity: 0;
  transition: opacity 350ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-evidence-highlight {
  top: 28%;
  left: 42%;
  width: 23%;
  height: 18%;
  border: 2px solid var(--story-cyan);
  background: rgba(112, 214, 255, 0.11);
  transform: scale(0.9);
}

.story-evidence-highlight::before {
  content: 'D101 / 90 MIN';
  position: absolute;
  left: -2px;
  bottom: 100%;
  padding: 5px 7px;
  background: var(--story-cyan);
  color: var(--story-ink);
  font: 800 8px/1 'Chivo Mono', monospace;
  white-space: nowrap;
}

.story-workspace[data-story-state='evidence'] .story-evidence-highlight,
.story-workspace[data-story-state='decision'] .story-evidence-highlight {
  opacity: 1;
  transform: scale(1);
}

.story-detection {
  width: 7%;
  height: 11%;
  border: 2px solid var(--story-gold);
  background: rgba(255, 203, 6, 0.12);
  transform: scale(0.8);
}

.story-detection--1 { top: 35%; left: 22%; }
.story-detection--2 { top: 27%; left: 56%; }
.story-detection--3 { top: 55%; left: 49%; }
.story-detection--4 { top: 61%; left: 30%; }

.story-workspace[data-story-state='quantity'] .story-detection,
.story-workspace[data-story-state='decision'] .story-detection {
  opacity: 1;
  transform: scale(1);
}

.story-change-marker {
  top: 11%;
  right: 10%;
  max-width: 220px;
  padding: 9px 11px;
  border-left: 3px solid var(--story-red);
  background: rgba(255, 255, 255, 0.94);
  color: var(--story-ink);
  font: 700 9px/1.35 'Chivo Mono', monospace;
  transform: translateY(-10px);
}

.story-workspace[data-story-state='decision'] .story-change-marker {
  opacity: 1;
  transform: translateY(0);
}

.story-canvas-toolbar {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(20, 17, 15, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(20, 17, 15, 0.58);
  font: 700 8px/1 'Chivo Mono', monospace;
  transform: translateX(-50%);
}

.story-workspace__panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid rgba(20, 17, 15, 0.12);
  background: #faf9f6;
}

.story-panel-state {
  position: absolute;
  inset: 0;
  padding: 22px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity 400ms ease, transform 550ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 550ms;
}

.story-panel-state.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 80ms, 80ms, 0s;
}

.story-panel-state__agent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(20, 17, 15, 0.54);
  font: 800 9px/1 'Chivo Mono', monospace;
  text-transform: uppercase;
}

.story-panel-state__agent i {
  width: 8px;
  height: 8px;
  background: var(--story-gold);
}

.story-panel-state h4 {
  margin: 0 0 12px;
  color: var(--story-ink);
  font-family: 'Funnel Display', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.story-panel-state p {
  margin: 0;
  color: rgba(20, 17, 15, 0.62);
  font-size: 11px;
  line-height: 1.5;
}

.story-panel-rule {
  margin-top: 22px;
  border-top: 1px solid rgba(20, 17, 15, 0.12);
}

.story-panel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(20, 17, 15, 0.1);
  color: rgba(20, 17, 15, 0.64);
  font-size: 9px;
  line-height: 1.35;
}

.story-panel-row strong {
  color: var(--story-ink);
  font-weight: 800;
  text-align: right;
}

.story-panel-source {
  display: block;
  margin-top: 16px;
  color: rgba(20, 17, 15, 0.44);
  font: 700 8px/1.4 'Chivo Mono', monospace;
  text-transform: uppercase;
}

.story-panel-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 17, 15, 0.16);
  color: rgba(20, 17, 15, 0.5);
  font: 700 8px/1 'Chivo Mono', monospace;
  text-transform: uppercase;
}

.story-panel-total strong {
  color: var(--story-ink);
  font-family: 'Funnel Display', sans-serif;
  font-size: 24px;
  letter-spacing: 0;
}

.story-panel-status {
  margin-top: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(20, 17, 15, 0.12);
  border-bottom: 1px solid rgba(20, 17, 15, 0.12);
  color: #287c5a;
  font: 800 9px/1 'Chivo Mono', monospace;
  text-transform: uppercase;
}

.story-mobile-proof {
  display: none;
}

.story-outcome {
  --title-color: var(--story-ink);
  padding: 140px 7%;
  background: #dfe7e2;
  color: var(--story-ink);
}

.story-outcome__inner,
.story-misses__inner,
.story-cta__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.story-outcome h2 {
  max-width: 980px;
  color: var(--story-ink);
  font-size: 68px;
  line-height: 1.03;
}

.story-outcome__eyebrow {
  color: #287c5a;
}

.story-outcome__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 90px;
  border-top: 1px solid rgba(20, 17, 15, 0.2);
}

.story-outcome__item {
  min-height: 220px;
  padding: 30px 34px 0 0;
  border-right: 1px solid rgba(20, 17, 15, 0.16);
}

.story-outcome__item + .story-outcome__item {
  padding-left: 34px;
}

.story-outcome__item:last-child {
  border-right: 0;
}

.story-outcome__item span {
  color: rgba(20, 17, 15, 0.46);
  font: 700 9px/1 'Chivo Mono', monospace;
  text-transform: uppercase;
}

.story-outcome__item h3 {
  margin: 36px 0 12px;
  color: var(--story-ink);
  font-family: 'Funnel Display', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.story-outcome__item p {
  max-width: 310px;
  margin: 0;
  color: rgba(20, 17, 15, 0.62);
  font-size: 15px;
  line-height: 1.55;
}

.story-misses {
  --title-color: var(--story-ink);
  padding: 140px 7% 170px;
  background: var(--story-paper);
  color: var(--story-ink);
}

.story-misses__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.42fr);
  gap: 80px;
  align-items: end;
}

.story-misses h2 {
  max-width: 760px;
  color: var(--story-ink);
  font-size: 68px;
  line-height: 1.03;
}

.story-misses__heading p {
  margin: 0 0 8px;
  color: rgba(20, 17, 15, 0.64);
  font-size: 17px;
  line-height: 1.55;
}

.story-misses__list {
  margin-top: 82px;
  border-top: 1px solid rgba(20, 17, 15, 0.22);
}

.story-miss {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: 28px;
  align-items: center;
  min-height: 132px;
  border-bottom: 1px solid rgba(20, 17, 15, 0.16);
  opacity: 0.42;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-miss.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-miss__number {
  color: rgba(20, 17, 15, 0.38);
  font: 700 10px/1 'Chivo Mono', monospace;
}

.story-miss h3 {
  margin: 0;
  color: var(--story-ink);
  font-family: 'Funnel Display', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.story-miss p {
  margin: 0;
  color: rgba(20, 17, 15, 0.62);
  font-size: 15px;
  line-height: 1.5;
}

.story-cta {
  --title-color: var(--story-ink);
  position: relative;
  padding: 128px 7%;
  overflow: hidden;
  border-top: 1px solid rgba(20, 17, 15, 0.2);
  background: var(--story-gold);
  color: var(--story-ink);
}

.story-cta::after {
  content: '';
  position: absolute;
  top: 0;
  right: 8%;
  bottom: 0;
  width: 1px;
  background: rgba(20, 17, 15, 0.2);
}

.story-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: end;
}

.story-cta__eyebrow {
  color: rgba(20, 17, 15, 0.56);
}

.story-cta h2 {
  max-width: 820px;
  color: var(--story-ink);
  font-size: 66px;
  line-height: 1.02;
}

.story-cta__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 8px;
}

.story-cta__primary,
.story-cta__secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--story-ink);
  font: 800 11px/1 'Chivo Mono', monospace;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.story-cta__primary {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--story-ink);
  border-radius: 4px;
  background: var(--story-ink);
  color: var(--story-white);
}

.story-cta__secondary {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(20, 17, 15, 0.54);
}

.story-cta__primary:hover,
.story-cta__primary:focus-visible,
.story-cta__secondary:hover,
.story-cta__secondary:focus-visible {
  outline: 2px solid var(--story-ink);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .story-scroll__shell {
    grid-template-columns: minmax(300px, 0.68fr) minmax(540px, 1.32fr);
    gap: 42px;
    padding-inline: 4%;
  }

  .story-step h3 { font-size: 46px; }
  .story-workspace__body { grid-template-columns: 56px minmax(0, 1fr) 222px; }
  .story-workspace { min-height: 480px; }
  .story-outcome h2,
  .story-misses h2 { font-size: 58px; }
  .story-cta h2 { font-size: 56px; }
}

@media (max-width: 900px) {
  .story-intro { min-height: 680px; padding: 110px 6%; }
  .story-intro h2 { font-size: 56px; }
  .story-intro__lead { font-size: 18px; }

  .story-scroll__shell {
    display: block;
    padding: 0 7%;
  }

  .story-visual-column { display: none; }
  .story-copy-rail::before { left: 0; }

  .story-step {
    min-height: auto;
    padding: 110px 0 110px 38px;
    opacity: 1;
    transform: none;
  }

  .story-step::before { left: -18px; }
  .story-step h3 { font-size: 46px; }
  .story-step p { max-width: 600px; }

  .story-mobile-proof {
    position: relative;
    display: block;
    width: 100%;
    min-height: 340px;
    margin-top: 46px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: #e7e4db url('../images/construction-document-atlas-v1.jpg') 0 0 / 204% 204% no-repeat;
  }

  .story-mobile-proof::before {
    content: attr(data-proof-label);
    position: absolute;
    right: 16px;
    bottom: 16px;
    max-width: 70%;
    padding: 10px 12px;
    border-left: 3px solid var(--story-gold);
    background: rgba(9, 9, 8, 0.88);
    color: var(--story-white);
    font: 700 9px/1.4 'Chivo Mono', monospace;
    text-transform: uppercase;
  }

  .story-mobile-proof--evidence::after,
  .story-mobile-proof--quantity::after,
  .story-mobile-proof--decision::after {
    content: '';
    position: absolute;
    border: 2px solid var(--story-cyan);
    background: rgba(112, 214, 255, 0.12);
  }

  .story-mobile-proof--evidence::after {
    top: 28%;
    left: 42%;
    width: 24%;
    height: 18%;
  }

  .story-mobile-proof--quantity::after {
    top: 36%;
    left: 25%;
    width: 10%;
    height: 13%;
    border-color: var(--story-gold);
    box-shadow: 120px -28px 0 -2px rgba(255, 203, 6, 0.16), 120px -28px 0 0 var(--story-gold);
  }

  .story-mobile-proof--decision::after {
    inset: 18% 16%;
    border-color: var(--story-red);
    background: rgba(232, 92, 82, 0.08);
  }

  .story-outcome,
  .story-misses { padding: 110px 7%; }

  .story-outcome h2,
  .story-misses h2 { font-size: 48px; }

  .story-outcome__columns { grid-template-columns: 1fr; margin-top: 60px; }
  .story-outcome__item,
  .story-outcome__item + .story-outcome__item {
    min-height: auto;
    padding: 28px 0 40px;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 17, 15, 0.16);
  }

  .story-misses__heading { grid-template-columns: 1fr; gap: 28px; }
  .story-misses__list { margin-top: 60px; }
  .story-miss { grid-template-columns: 52px 0.8fr 1.2fr; }

  .story-cta { padding: 100px 7%; }
  .story-cta__inner { grid-template-columns: 1fr; gap: 48px; }
  .story-cta h2 { font-size: 50px; }
}

@media (max-width: 600px) {
  .story-intro { min-height: 650px; padding: 92px 22px; }
  .story-intro h2 { font-size: 40px; }
  .story-intro__lead { margin-top: 26px; font-size: 16px; }
  .story-intro__sequence { grid-template-columns: 1fr 1fr; margin-top: 58px; }
  .story-intro__sequence li { min-height: 62px; }

  .story-scroll__shell { padding: 0 22px; }
  .story-step { padding: 88px 0 88px 30px; }
  .story-step::before { left: -14px; width: 30px; height: 30px; }
  .story-step h3 { font-size: 38px; }
  .story-step p { font-size: 16px; }
  .story-mobile-proof { min-height: 260px; margin-top: 36px; }

  .story-outcome,
  .story-misses { padding: 88px 22px; }
  .story-outcome h2,
  .story-misses h2 { font-size: 40px; }
  .story-outcome__columns { margin-top: 48px; }
  .story-outcome__item h3 { margin-top: 24px; }

  .story-miss {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 26px 0;
  }
  .story-miss p { grid-column: 2; }
  .story-miss h3 { font-size: 25px; }

  .story-cta { padding: 82px 22px; }
  .story-cta h2 { font-size: 40px; }
  .story-cta__actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .stratora-story *,
  .stratora-story *::before,
  .stratora-story *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .story-step,
  .story-miss {
    opacity: 1;
    transform: none;
  }
}

/* ── Defensive: the dark scroll section owns its background ─────────────────
   The nav anchor id (#agents) lives on this section. An old cream
   `#agents { background !important }` override in brand-override.css once beat
   the class rule by id specificity — white step text on a light background.
   The rule is deleted, but stale caches can resurrect it: this id-strength
   declaration (loaded last) wins against any cached copy. */
#agents.story-scroll {
  background: var(--story-black) !important;
}

/* Image-based White Tablet Mockup Wrapper */
.ipad-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 642 / 350;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 34px 64px rgba(20, 17, 15, 0.28));
}

.ipad-screen-content {
  position: absolute;
  top: 6.2%;
  bottom: 6.2%;
  left: 9.6%;
  right: 9.6%;
  overflow: hidden;
  background: #f2f1ed;
  border-radius: 4px;
}

.ipad-screen-content .story-workspace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border: none !important;
  box-shadow: none !important;
}

@keyframes simpleFadeIn {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

.anim-text-1 { opacity: 0; animation: simpleFadeIn 0.8s ease 0.4s forwards; }
.anim-text-2 { opacity: 0; animation: simpleFadeIn 0.8s ease 1.2s forwards; }
.anim-text-3 { opacity: 0; animation: simpleFadeIn 0.8s ease 2.0s forwards; }
.anim-text-4 { opacity: 0; animation: simpleFadeIn 0.8s ease 2.8s forwards; font-weight: 600; color: var(--story-gold); }
