/* Large photographic chapters give the home evidence room to tell its story. */
.decision-evidence-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.decision-evidence .decision-proof {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 58px);
}
.decision-evidence .decision-proof:nth-child(even) > figure { grid-column: 2; grid-row: 1; }
.decision-evidence .decision-proof:nth-child(even) > div { grid-column: 1; grid-row: 1; }
.decision-evidence .decision-proof img { display: block; width: 100%; height: auto; }
.decision-evidence .decision-proof h3 { font-size: clamp(30px, 3.5vw, 46px); max-width: 19ch; }
.decision-evidence .decision-proof-summary { max-width: 53ch; font-size: 16px; }
.decision-evidence .decision-proof .text-link { font-size: 14px; }

/* A timeline remains a complete chronological document, with native deep links. */
.history-chapters { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 28px; }
.history-chapters a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; color: #a8c3ee; font: 600 13px/1.4 "Courier New", monospace; }
.history-chapters a:hover, .history-chapters a[aria-current="location"] { color: white; border-color: currentColor; }
.history-chapters a:focus-visible { outline: 2px solid #a8c3ee; outline-offset: 4px; }
.story-readout { display: block; margin-top: 36px; padding-top: 24px; border-top: 1px solid #4c5d82; }
.story-readout[hidden] { display: none; }
.story-readout-value { display: block; font-size: clamp(38px, 4.8vw, 68px); font-weight: 500; line-height: 1.08; letter-spacing: -.065em; overflow-wrap: break-word; }
.story-readout-count { display: block; margin-top: 12px; white-space: nowrap; color: #a8c3ee; font: 12px/1.5 "Courier New", monospace; font-variant-numeric: tabular-nums; }
.about-history .about-history-list { border-top: 0; }
.about-history-list > li { position: relative; padding-left: 24px; }
.about-history-list > li::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 2px; background: #4c5d82; transform-origin: center top; }
.about-history-list > li::after { content: ''; position: absolute; left: -4px; top: 26px; width: 10px; height: 10px; border: 2px solid #a8c3ee; background: var(--deep); border-radius: 50%; }
.about-history-list > .story-step-past::before,
.about-history-list > .story-step-current::before { background: #a8c3ee; }
.about-history-list > .story-step-current::after { background: white; border-color: white; transform: scale(1.35); }
.about-history-list > .story-step-current .about-history-date { color: white; }

/* Step emphasis follows reading or keyboard focus without concealing other steps. */
.decision-stages > li { position: relative; }
.decision-stages > li::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.decision-stages > li.story-step-current::after,
.decision-stages > li.story-step-past::after { transform: scaleX(1); }
.decision-stages > .story-step-current .process-number { color: var(--blue); background: #e8effb; }
.decision-stage-toggle { transition: transform 260ms ease; }

@media (min-width: 901px) and (min-height: 700px) {
  .about-history-intro { align-self: start; position: sticky; top: calc(var(--site-header-height, 86px) + 28px); }
}
@media (max-width: 900px) {
  /* Date ranges and single years occupy the same space while the reader scrolls. */
  .story-readout-value { min-height: 2.16em; }
}
@media (prefers-reduced-motion: no-preference) {
  .about-history-list > li::after { transition: transform 300ms ease, background-color 300ms ease; }
  .decision-stages > li::after { transition: transform 450ms cubic-bezier(.16,1,.3,1); }
}
@media (max-width: 767px) {
  .decision-evidence .decision-proof,
  .decision-evidence .decision-proof:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 30px; }
  .decision-evidence .decision-proof > div { display: block; }
  .decision-evidence .decision-proof:nth-child(even) > figure,
  .decision-evidence .decision-proof:nth-child(even) > div { grid-column: auto; grid-row: auto; }
  .decision-evidence .decision-proof h3 { font-size: clamp(29px, 7vw, 38px); margin-bottom: 15px; }
  .decision-evidence .decision-proof .decision-proof-summary { margin-bottom: 16px; }
  .decision-evidence .decision-proof .decision-proof-certificates { margin-bottom: 12px; }
  .story-readout { margin-top: 26px; padding-top: 18px; }
  .story-readout-value { font-size: 54px; }
  .history-chapters { gap: 2px 18px; margin-top: 18px; }
}
@media (max-width: 600px) {
  .about-history-list > li { padding-left: 20px; }
  .about-history-list > li::after { top: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .decision-stage-toggle, .history-chapters a { transition: none; }
}
@media print {
  .story-readout, .history-chapters { display: none; }
  .about-history-intro { position: static; }
  .decision-evidence .decision-proof { break-inside: avoid; }
}
