/* Stories: a reading page. Same brand, quieter rhythm. */
.stories-page { background: var(--sc-canvas); }
.st { padding-top: calc(var(--bar-h) + clamp(32px, 6vw, 72px)); }
.st__head { max-width: 980px; }
.st__kicker { font: 700 12px var(--sc-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); margin: 0; }
.st__h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.2rem); line-height: 1.04; margin-top: 14px; max-width: 18ch; }
.st__lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--sc-ink-soft); max-width: 56ch; margin: 20px 0 0; }
.st__disclaimer { margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: #FFF6E5; border: 1px solid #F0DCAE; color: #5E4A17; font-size: 15px; max-width: 760px; }
.st__index { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); max-width: 860px; }
.st__index li { border-bottom: 1px solid var(--line); }
.st__index a { display: flex; gap: 14px; padding: 12px 0; text-decoration: none; color: var(--sc-ink); font-weight: 700; }
.st__index a:hover { color: var(--red-deep); }
.st__index span { font: 600 13px var(--sc-font-mono); color: #8A94A0; padding-top: 2px; }
.story { padding-block: clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--line); scroll-margin-top: var(--bar-h); }
.story__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.story__n { font: 600 14px var(--sc-font-mono); color: #8A94A0; margin-right: 6px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red-deep); }
.pill--crit { background: var(--red); color: #fff; }
.story__h { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); margin-top: 14px; max-width: 22ch; line-height: 1.08; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); margin-top: 28px; align-items: start; }
.story__text p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.65; color: #26303A; max-width: 62ch; }
.math { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--sc-e2); }
.math__k { margin: 0 0 8px; font: 700 11.5px var(--sc-font-mono); letter-spacing: .12em; text-transform: uppercase; color: #6A7480; }
.math table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.math td { padding: 8px 0; border-bottom: 1px dashed #D5DBE3; vertical-align: top; }
.math td:last-child { text-align: right; font: 600 14.5px var(--sc-font-mono); padding-left: 12px; white-space: nowrap; }
.math tr:last-child td { border-bottom: 0; }
.math__total td { color: var(--red-deep); font-weight: 800; font-size: 17px; border-bottom: 2px solid var(--sc-ink) !important; }
.math__total td:last-child { font-size: 19px; }
.story__caught { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.story__caught .k { margin: 0 0 6px; font: 700 11.5px var(--sc-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); }
.story__caught p { margin: 0; color: var(--sc-ink-soft); font-size: 15.5px; }
.st__end { padding-block: clamp(64px, 9vw, 120px); max-width: 900px; }
.st__end .sc-body { margin-top: 14px; font-size: 17px; }
.st__fine { margin-top: 28px; font-size: 13.5px; color: #6A7480; max-width: 70ch; }
.foot--light { color: #6A7480; border-top: 1px solid var(--line); padding: 24px 16px; }
.foot--light a { color: var(--sc-ink-soft); }
.foot--light a:hover { color: var(--sc-ink); }
@media (max-width: 900px) {
  .st__index { grid-template-columns: minmax(0, 1fr); }
  .story__grid, .story__caught { grid-template-columns: minmax(0, 1fr); }
  .story__text p { font-size: 16.5px; }
}
