/* Scoped to the private discovery; loaded only with its selected entry. */
.death-story { --death-orange: #ff681f; --death-brown: #291b10; }
.death-opening { background: var(--death-orange); color: var(--death-brown); }
.death-opening-inner { max-width: 1500px; margin-inline: auto; padding: 48px 5vw 0; }
.death-opening :is(h1,h2) { font-size: clamp(52px, 7.2vw, 96px); font-weight: 550; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.death-finding { display: flex; align-items: center; gap: clamp(24px, 5vw, 80px); margin-block: 34px 24px; }
.death-number { font-size: clamp(160px, 25vw, 350px); font-weight: 550; line-height: .85; letter-spacing: -.04em; flex: 0 0 auto; }
.death-number span { font-size: .42em; vertical-align: 10%; letter-spacing: -.03em; }
.death-meaning { max-width: 470px; padding-top: 24px; }
.death-claim { font-size: clamp(27px, 3vw, 46px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.death-scope { font-size: 16px; line-height: 1.5; margin-top: 28px; max-width: 43ch; }
.death-attribution { font-size: 14px; margin-top: 34px; }
.death-story cite { font-style: italic; }
.death-story a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
.death-story a:hover { text-decoration-thickness: 2px; }
.death-story summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 66px; font-size: 18px; line-height: 1.3; }
.death-story summary::-webkit-details-marker { display: none; }
.death-story summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.death-story summary:focus-visible, .death-story a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.death-opening ::selection { background: var(--death-brown); color: var(--death-orange); }
.death-uncertainty { margin-top: 36px; border-top: 1px solid var(--death-brown); }
.death-uncertainty > summary { padding-block: 22px; }
.death-disclosure-mark { position: relative; flex: 0 0 18px; height: 18px; }
.death-disclosure-mark::before, .death-disclosure-mark::after { content: ''; position: absolute; inset: 8px 0; background: currentColor; height: 2px; }
.death-disclosure-mark::after { transform: rotate(90deg); }
.death-story details[open] > summary .death-disclosure-mark::after { transform: none; }
.death-interval-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6vw; align-items: center; padding: 20px 0 40px; }
.death-interval-content h3 { font-size: 32px; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 18px; }
.death-interval-content p { font-size: 17px; line-height: 1.55; max-width: 44ch; }
.death-interval { min-width: 0; }
.death-interval svg { width: 100%; height: auto; display: block; overflow: visible; }
.death-axis { stroke: currentColor; stroke-width: 1; fill: none; }
.death-range { stroke: currentColor; stroke-width: 5; fill: none; }
.death-point { fill: currentColor; }
.death-chart-labels { fill: currentColor; font-size: 24px; font-variant-numeric: tabular-nums; }
.death-interval figcaption { font-size: 14px; line-height: 1.4; text-align: center; }
.death-context { max-width: 1500px; margin-inline: auto; padding: 90px 5vw 76px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 8vw; }
.death-context h3 { font-size: clamp(42px, 4.5vw, 68px); line-height: 1.06; letter-spacing: -.04em; }
.death-explanation { max-width: 60ch; font-size: 19px; }
.death-explanation > p + p { margin-top: 22px; }
.death-explanation .death-consequence { margin-top: 36px; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.28; font-weight: 500; letter-spacing: -.02em; }
.death-evidence { max-width: 1500px; margin-inline: auto; padding: 0 5vw 28px; }
.death-receipts { border-top: 1px solid var(--line); }
.death-methods { max-width: 72ch; margin-left: auto; padding-block: 18px 24px; font-size: 17px; }
.death-methods > p + p { margin-top: 20px; }
.death-methods table { border-collapse: collapse; width: 100%; margin-block: 28px 12px; font-size: 16px; font-variant-numeric: tabular-nums; }
.death-methods caption { text-align: left; line-height: 1.5; margin-bottom: 14px; }
.death-methods th, .death-methods td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px 8px 12px 0; line-height: 1.4; }
.death-methods tbody th { font-weight: 400; }
.death-methods :is(th,td):last-child { text-align: right; }
.death-data-link { display: inline-block; padding-block: 12px; min-height: 44px; }
.death-source-links { margin-block: 20px; line-height: 2; }
.death-source-links a { display: inline-block; padding-block: 5px; }
.death-check { font-size: 14px; color: var(--muted); padding-top: 18px; }
@media (min-width: 1500px) { .death-opening-inner, .death-context, .death-evidence { padding-inline: 75px; } }
@media (max-width: 900px) {
  .death-finding { gap: 32px; }
  .death-meaning { padding-top: 12px; }
  .death-scope { font-size: 15px; margin-top: 20px; }
  .death-claim br { display: none; }
  .death-context { gap: 40px; }
}
@media (max-width: 600px) {
  .death-opening-inner { padding: 34px 22px 0; }
  .death-opening :is(h1,h2) { font-size: clamp(46px, 11.7vw, 68px); }
  .death-finding { display: block; margin-block: 30px 0; }
  .death-number { font-size: clamp(148px, 42vw, 245px); }
  .death-meaning { padding-top: 26px; max-width: none; }
  .death-claim { font-size: 29px; max-width: 19ch; }
  .death-scope { font-size: 16px; margin-top: 20px; }
  .death-attribution { margin-top: 22px; font-size: 13px; }
  .death-uncertainty { margin-top: 26px; }
  .death-story summary { font-size: 17px; }
  .death-interval-content { grid-template-columns: 1fr; gap: 24px; padding-bottom: 30px; }
  .death-chart-labels { font-size: 28px; }
  .death-interval figcaption { font-size: 13px; }
  .death-context { display: block; padding: 55px 22px 46px; }
  .death-context h3 { font-size: 46px; margin-bottom: 28px; }
  .death-explanation { font-size: 18px; }
  .death-evidence { padding-inline: 22px; }
  .death-methods { font-size: 16px; }
  .death-check { font-size: 13px; }
}

/* Original, explicitly illustrative Three.js field; no perpetual render loop. */
.death-graphic { background: #29211b; color: #fff8f0; padding: 56px max(5vw, calc((100vw - 1350px) / 2)) 32px; }
.death-graphic-heading { display: flex; align-items: start; justify-content: space-between; gap: 32px; }
.death-graphic-heading h3 { font-size: clamp(36px, 4vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.death-graphic-reading { text-align: right; flex: 0 1 360px; padding-top: 4px; }
.death-marker-ratio { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; font-size: 22px; line-height: 1.1; white-space: nowrap; }
.death-marker-ratio strong { font-size: 68px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.death-graphic-reading > p:last-child { margin-top: 12px; color: #e8c9b4; font-size: 15px; text-wrap: balance; }
.death-field { height: clamp(430px, 48vw, 650px); position: relative; margin-top: 8px; }
.death-canvas { width: 100%; height: 100%; display: block; }
.death-field-fallback { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 22px; font-size: 20px; }
.death-fallback-line { display: block; height: 36px; background: #a96a45; }
.death-fallback-line i { display: block; width: 4.1%; height: 100%; background: #fff8e8; }
.death-graphic-tools { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-top: 22px; }
.death-rate-controls { border: 0; margin: 0; padding: 0; display: flex; gap: 10px; min-width: 0; }
.death-rate-controls legend { font-size: 14px; color: #e8c9b4; margin-bottom: 12px; line-height: 1.45; }
.death-rate-controls button { background: transparent; color: #fff8f0; border: 1px solid #96745b; border-radius: 4px; padding: 12px 18px; min-height: 48px; min-width: 104px; font-size: 15px; text-align: left; }
.death-rate-controls button strong { display: block; font-size: 21px; font-weight: 500; margin-top: 3px; }
.death-rate-controls button[aria-pressed=true] { background: #fff8e8; color: #291b10; border-color: #fff8e8; }
.death-rate-controls button:hover { border-color: #fff8e8; }
.death-rate-controls button:not([aria-pressed=true]):hover { background: #3b2e24; }
.death-rate-controls button:active { border-color: #ff803b; }
.death-rate-controls button:focus-visible, .death-view-control input:focus-visible { outline: 2px solid #fff8e8; outline-offset: 5px; }
.death-view-control { display: grid; gap: 6px; min-width: 180px; font-size: 14px; }
.death-view-control input { accent-color: #ff803b; width: 100%; height: 44px; margin: 0; cursor: ew-resize; }
.death-graphic > figcaption { font-size: 15px; line-height: 1.5; color: #e8c9b4; max-width: 83ch; margin-top: 30px; }
.death-graphic-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 700px) {
  .death-graphic { padding: 38px 22px 30px; }
  .death-graphic-heading { display: block; }
  .death-graphic-heading h3 { font-size: 38px; }
  .death-graphic-heading h3 br { display: none; }
  .death-graphic-reading { text-align: left; margin-top: 24px; padding-top: 0; }
  .death-marker-ratio { justify-content: flex-start; gap: 10px; }
  .death-marker-ratio strong { font-size: 54px; }
  .death-graphic-reading > p:last-child { font-size: 14px; margin-top: 7px; }
  .death-field { height: 340px; margin-top: 0; }
  .death-graphic-tools { display: grid; gap: 24px; }
  .death-rate-controls { gap: 8px; }
  .death-rate-controls button { flex: 1; min-width: 0; padding: 11px 12px; font-size: 14px; }
  .death-rate-controls legend { max-width: 35ch; line-height: 1.45; }
  .death-view-control { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
  .death-graphic > figcaption { font-size: 14px; margin-top: 24px; }
}

.death-scene-switch { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; }
.death-scene-switch button { color: #e8c9b4; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; min-height: 44px; font: inherit; }
.death-scene-switch button[aria-pressed=true] { color: #fff8e8; border-color: #ff803b; }
.death-scene-switch button:hover { color: #fff8e8; border-bottom-color: #96745b; }
.death-scene-switch button[aria-pressed=true]:hover { border-bottom-color: #ff803b; }
.death-scene-switch button:focus-visible { outline: 2px solid #fff8e8; outline-offset: 5px; }
.death-scene-caption { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; color: #e8c9b4; font-size: 15px; }
.death-graphic ::selection { background: #fff8e8; color: #291b10; }
@media (max-width:700px) { .death-scene-caption { font-size: 13px; } }
