* {
  min-width: 0;
}

html {
  overflow-x: clip;
  background: var(--field);
}

body.read-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--shell-page-bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.56;
}

.read-page a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.read-page a:hover {
  color: var(--volt);
}

.read-page a:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
}

.read-skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  border: 1px solid var(--volt);
  background: var(--field);
  font-family: var(--mono);
  font-size: 0.72rem;
  transform: translateY(-180%);
}

.read-skip:focus {
  transform: translateY(0);
}

.read-page main {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 24px 14px 42px;
  background: var(--board);
}

.lede-head {
  margin: 0 0 10px;
}

.eyebrow,
.diagnostic,
figcaption,
.differences__label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 10px;
}

.read-page h1,
.read-page h2,
.read-page h3 {
  text-wrap: balance;
}

.read-page h1 {
  max-width: 15ch;
  margin: 0 0 13px;
  font-size: clamp(2.4rem, 12vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.read-page h2 {
  margin: 0 0 13px;
  font-size: clamp(1.48rem, 6.5vw, 1.84rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.read-page h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.read-page p {
  max-width: 64ch;
  margin: 0 0 14px;
}

.standfirst {
  max-width: 41ch;
  color: #b9c0c9;
  font-size: 1.04rem;
  line-height: 1.47;
}

.thesis,
.premium,
.decode,
.verdict {
  max-width: 64ch;
  padding: 13px 14px;
  border-left: 3px solid var(--volt);
  background: rgb(206 255 0 / 8%);
  font-weight: 690;
  line-height: 1.46;
}

.premium {
  border-color: var(--gold);
  background: rgb(201 173 70 / 9%);
}

.not-decide {
  color: #b9c0c9;
  font-size: 0.92rem;
}

.read-page article > section + section {
  margin-top: 40px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.read-page .pivot-chip,
.read-page .mid-pivot,
.read-page .play-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--raised);
  color: var(--volt);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.pivot-chip {
  padding: 10px 14px;
}

.mid-pivot {
  width: 100%;
  margin-top: 8px;
  padding: 12px 15px;
}

.read-page .play-cta {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  padding: 14px 16px;
  border-color: var(--volt);
  background: var(--volt);
  color: var(--field);
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.play-cta:hover {
  color: var(--field) !important;
  filter: brightness(1.06);
}

.read-page figure {
  margin: 22px 0;
}

.read-page figcaption {
  margin: 9px 2px 0;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.card {
  display: grid;
  min-height: 62px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--para);
  border-radius: 2px;
  background: var(--raised);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.3;
}

.card > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--volt);
  color: var(--field);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 900;
}

.card--lead {
  border-left-color: var(--volt);
}

.card--warn {
  border-left-color: var(--loss);
}

.loop {
  max-width: 34rem;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.loop li {
  position: relative;
  padding: 12px 13px 12px 43px;
  border: 1px solid var(--line);
  background: var(--raised);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.35;
}

.loop li + li {
  border-top: 0;
}

.loop li::before {
  position: absolute;
  top: 50%;
  left: 11px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--volt);
  color: var(--field);
  content: counter(step);
  counter-increment: step;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.loop li.loop--out {
  border-left: 3px solid var(--loss);
}

.loop li.loop--reveal {
  border-left: 3px solid var(--gold);
}

.loop li.loop--return {
  border-left: 3px solid var(--volt);
}

.loop li.loop--asset {
  border-left: 3px solid var(--para);
}

.diagnostic {
  display: inline-block;
  margin-bottom: 10px !important;
}

.mapwrap {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--raised);
}

.map-side {
  margin: 0 !important;
  color: #b9c0c9;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.map-side--top {
  padding-bottom: 8px;
}

.map-side--bottom {
  padding-top: 8px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.corner {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: center;
  padding: 9px 7px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--board);
  font-size: clamp(0.68rem, 3.05vw, 0.8rem);
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
}

.corner strong {
  display: contents;
  font-weight: 920;
}

.corner--ur {
  border-color: var(--volt);
  background: rgb(206 255 0 / 7%);
}

.corner--ul,
.corner--ll {
  border-color: rgb(207 106 92 / 70%);
  background: rgb(207 106 92 / 7%);
}

.map-axis {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 2px 0;
  color: #b9c0c9;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 760;
  line-height: 1.3;
}

.map-axis span {
  flex: 1 1 0;
}

.map-axis span:last-child {
  text-align: right;
}

.decode {
  margin-top: 17px !important;
}

.differences {
  margin: 20px 0;
  padding: 16px 15px 2px;
  border: 1px solid var(--gold);
  border-top: 4px solid var(--gold);
  border-radius: 2px;
  background: rgb(201 173 70 / 7%);
}

.differences__label {
  margin-bottom: 6px !important;
  color: var(--gold);
}

.differences p:not(.differences__label) {
  font-size: 0.94rem;
}

.read-footer {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chart-figure {
  max-width: 34rem;
}

.chart-figure--full {
  max-width: none;
}

.chart-figure svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--raised);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 7px !important;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chart-legend .lg::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 1px;
  content: "";
}

.lg--volt::before {
  background: var(--volt);
}

.lg--kiln::before {
  background: var(--kiln);
}

.lg--para::before {
  background: var(--para);
}

.ch-grid {
  stroke: var(--soft-line);
}

.ch-txt {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ch-txt--ink {
  fill: var(--ink);
}

.ch-txt--volt {
  fill: var(--volt);
}

.ch-txt--kiln {
  fill: var(--kiln);
}

.ch-txt--para {
  fill: var(--para);
}

.ch-txt--small {
  font-size: 8.5px;
}

.ch-line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ch-line--volt {
  stroke: var(--volt);
}

.ch-line--kiln {
  stroke: var(--kiln);
}

.ch-line--para {
  stroke: var(--para);
}

.ch-dot--volt {
  fill: var(--volt);
}

.ch-dot--kiln {
  fill: var(--kiln);
}

.ch-dot--para {
  fill: var(--para);
}

.ch-rule {
  stroke: var(--ink);
  stroke-dasharray: 4 3;
  stroke-width: 1;
}

.ch-rule--v {
  stroke-dasharray: 1 3;
}

.ch-cell {
  fill: var(--volt);
}

.ch-num {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  text-anchor: middle;
}

.ch-num--dark {
  fill: var(--field);
}

.ch-canon {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-dasharray: 3 2;
}

@media (min-width: 560px) {
  .read-page main {
    padding: 34px 22px 56px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .corner {
    min-height: 108px;
  }
}

@media (min-width: 1152px) {
  .consequence-figure,
  .lifecycle-figure,
  .map-figure,
  .differences {
    width: calc(100vw - var(--page-gutter) - var(--page-gutter));
    max-width: 920px;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

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