:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --ink: #292e2b;
  --muted: #60665f;
  --rule: #d7d9cf;
  --accent: #79513a;
  --accent-soft: #e9ded4;
  --report-green: #173c38;
  --report-green-hover: #0f302d;
  --report-gold: #cf9a58;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--report-green); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 8px 16px; background: var(--paper); border: 1px solid var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.shell { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.identity { display: flex; align-items: baseline; flex: none; gap: 14px; text-decoration: none; }
.identity strong { color: var(--report-green); font-size: 18px; font-weight: 650; letter-spacing: -.03em; }
.identity span { color: var(--muted); font-size: 12px; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 27px; font-size: 14px; font-weight: 600; }
nav a { padding-block: 2px; color: var(--report-green); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--report-green); text-decoration: underline; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 21px 27px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-section h2 { margin: 0 0 14px; color: var(--ink); font-size: 23px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }

/* Homepage */
.homepage { --content-indent: clamp(54px, 6vw, 76px); }
.review-note { width: fit-content; max-width: 100%; margin: 17px 0 0 auto; color: var(--muted); font-size: 11px; letter-spacing: .01em; }
.homepage p, .homepage h1, .homepage h2, .homepage h3 { margin-top: 0; }
.homepage section[id] { scroll-margin-top: 24px; }
.opening { padding-block: clamp(44px, 4.5vw, 60px) clamp(48px, 4.2vw, 58px); }
.opening-copy { max-width: 890px; }
.opening h1 { max-width: 23ch; margin-block: 0 23px; font-size: clamp(48px, 5.1vw, 72px); font-weight: 380; letter-spacing: -.058em; line-height: 1.04; text-wrap: balance; }
.opening h1 span { display: block; color: var(--accent); }
.opening-promise { margin-bottom: 27px; color: var(--accent); font-size: clamp(23px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.opening-lede { max-width: 72ch; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.opening-recognition { max-width: 75ch; margin-bottom: 13px; color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.6; }
.opening-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }
.primary-action { display: inline-flex; align-items: center; gap: 27px; padding: 13px 17px; border: 1px solid var(--report-green); color: var(--paper); background: var(--report-green); font-size: 13px; font-weight: 650; text-decoration: none; }
.primary-action:hover { border-color: var(--report-green-hover); color: var(--paper); background: var(--report-green-hover); text-decoration: underline; }
.primary-action span { color: inherit; font-size: 16px; }
.secondary-actions { display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: 13px; }
.secondary-actions a:hover { color: var(--report-green); text-decoration: underline; }
.homepage .opening-support { max-width: 73ch; margin: 27px 0 0; padding-top: 14px; border-top: 1px solid var(--report-gold); color: var(--muted); font-size: 13px; line-height: 1.65; }
.opening-support span { padding-inline: 4px; color: var(--report-gold); }

.home-section { border-top: 1px solid var(--rule); padding-block: clamp(64px, 7vw, 94px); }
.section-label { color: var(--report-green); font-size: 10px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.section-number, .entry-number, .story-step, .route-marker { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.section-introduction { display: grid; grid-template-columns: 34px minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(22px, 3.2vw, 46px); align-items: start; }
.section-number { margin: 0; padding-top: 0; line-height: 1.65; }
.section-introduction h2 { max-width: 18ch; margin-block: 14px 0; font-size: clamp(34px, 3.7vw, 52px); font-weight: 400; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
.section-copy { max-width: 47ch; padding-top: 27px; color: var(--muted); font-size: 16px; }
.section-copy p { margin-bottom: 17px; }
.section-copy p:last-child { margin-bottom: 0; }

.situation-list { list-style: none; padding: 0; margin: clamp(43px, 5vw, 61px) 0 0 var(--content-indent); border-top: 1px solid var(--ink); }
.situation-list li { display: grid; grid-template-columns: 34px minmax(150px, .65fr) minmax(0, 1.35fr); gap: 19px; padding-block: 20px 22px; border-bottom: 1px solid var(--rule); }
.situation-list h3 { margin-bottom: 0; font-size: 17px; font-weight: 600; line-height: 1.45; }
.situation-list li > p:last-child { max-width: 49ch; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.entry-number { padding-top: 4px; }

.draft-story { margin: clamp(43px, 5vw, 63px) 0 0 var(--content-indent); }
.draft-status { margin-bottom: 0; padding: 15px 18px; border-block: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.story-outline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.story-outline li { min-width: 0; padding: 25px 19px 29px 0; border-bottom: 1px solid var(--rule); }
.story-outline li + li { padding-left: 19px; border-left: 1px solid var(--rule); }
.story-step { margin-bottom: 28px; }
.story-outline h3 { max-width: 15ch; min-height: 3em; margin-bottom: 15px; font-size: 18px; font-weight: 600; line-height: 1.45; }
.story-outline li > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.draft-caption { max-width: 55ch; margin: 15px 0 0 auto; color: var(--muted); font-size: 11px; text-align: right; }

.home-story { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(220px, .45fr); gap: clamp(25px, 4vw, 54px); align-items: end; margin: clamp(43px, 5vw, 63px) 0 0 var(--content-indent); }
.home-story-figure { min-width: 0; }
.home-story-copy { padding-top: 18px; border-top: 1px solid var(--report-gold); }
.home-story-copy p { margin-bottom: 20px; color: var(--muted); }
.home-story-copy strong { color: var(--ink); font-weight: 650; }
.story-link { color: var(--report-green); font-weight: 650; }

.report-figure { margin: 0; }
.report-image-link, .report-image-link picture { display: block; }
.report-image-link { background: #fff; text-decoration: none; }
.report-image-link img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.report-figure figcaption { display: block; margin-top: 11px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.evidence-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(27px, 4vw, 56px); margin: clamp(46px, 5.5vw, 68px) 0 0 var(--content-indent); }
.evidence-opening { margin-bottom: 0; color: var(--accent); font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.025em; line-height: 1.3; }
.evidence-detail { min-width: 0; color: var(--muted); font-size: 16px; }
.evidence-detail p { margin-bottom: 21px; }
.evidence-close { grid-column: 1 / -1; min-width: 0; margin: 29px 0 0; padding: 23px 0 0 28%; border-top: 1px solid var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.015em; }

.free-line { color: var(--ink); font-weight: 650; }
.get-started .free-line { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; }
.homepage .free-terms { max-width: 95ch; margin: 23px 0 0 var(--content-indent); color: var(--muted); font-size: 14px; line-height: 1.65; }
.homepage .free-terms p { margin-bottom: 12px; }
.homepage .free-terms p:last-child { margin-bottom: 0; }
.route-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: clamp(43px, 5vw, 63px) 0 0 var(--content-indent); border-top: 1px solid var(--ink); }
.route { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 15px; padding: 25px 0 29px; border-bottom: 1px solid var(--rule); }
.route + .route { padding-left: clamp(22px, 3.5vw, 48px); border-left: 1px solid var(--rule); }
.route-marker { grid-row: 1 / 4; padding-top: 5px; }
.route h3 { margin-bottom: 10px; font-size: 23px; font-weight: 550; letter-spacing: -.025em; }
.route > p:not(.route-marker) { margin-bottom: 0; color: var(--muted); }
.route-status { align-self: end; margin-top: 28px !important; color: var(--accent) !important; font-size: 12px; font-weight: 600; }
.access-note { max-width: 66ch; margin: 20px 0 0 auto; color: var(--muted); font-size: 12px; text-align: right; }

/* Public investigations index; reuses the established secondary-page surface. */
.investigation-list { margin-top: 38px; border-top: 1px solid var(--rule); }
.investigation-list article { padding-block: 26px 12px; }
.investigation-list h2 { font-size: 27px; font-weight: 500; letter-spacing: -.025em; }
.investigation-list .text-link { color: var(--report-green); font-weight: 600; }

/* Worked investigation */
.story-page { min-width: 0; }
.story-page article { min-width: 0; }
.story-opening { padding-block: clamp(55px, 6.5vw, 88px) clamp(58px, 6.5vw, 88px); }
.story-opening p { margin-top: 0; }
.story-kicker, .story-number { color: var(--report-green); font-size: 10px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.story-opening h1 { max-width: 20ch; margin-block: 19px 28px; font-size: clamp(46px, 4.8vw, 68px); font-weight: 380; letter-spacing: -.055em; line-height: 1.04; text-wrap: balance; }
.story-deck { max-width: 77ch; color: var(--muted); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.65; }
.story-deck p { margin-bottom: 17px; }
.story-discoveries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: clamp(34px, 4vw, 50px) 0 0; border-block: 1px solid var(--ink); }
.story-discoveries li { min-width: 0; padding: 21px clamp(18px, 2.2vw, 30px) 22px 0; }
.story-discoveries li + li { padding-left: clamp(18px, 2.2vw, 30px); border-left: 1px solid var(--rule); }
.story-discoveries p { margin-bottom: 12px; color: var(--muted); font-size: 14px; line-height: 1.58; }
.story-discoveries .discovery-label { margin-bottom: 18px; color: var(--report-green); font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.story-discoveries .discovery-fact { min-height: 2.7em; margin-bottom: 16px; color: var(--ink); font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.025em; line-height: 1.3; }
.story-discoveries .discovery-fact strong { color: var(--accent); font-weight: 600; }
.story-discoveries .discovery-question { margin-block: 18px 10px; color: var(--ink); font-weight: 650; }
.story-discoveries .discovery-limit { margin-bottom: 0; font-size: 12px; }
.story-discoveries li { display: flex; flex-direction: column; }
.story-discoveries .discovery-link { align-self: flex-start; margin-top: auto; padding-top: 17px; color: var(--report-green); font-size: 13px; font-weight: 650; }
.story-page :is(#transaction-title, #amount-observation, #structure-finding) { scroll-margin-top: 28px; }
.story-proof { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 12px clamp(25px, 3vw, 44px); margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--report-gold); }
.story-proof p { margin-bottom: 0; }
.story-proof-copy { max-width: 78ch; color: var(--muted); font-size: 12px; line-height: 1.6; }
.story-proof-copy p + p { margin-top: 7px; }
.story-proof-copy strong { color: var(--ink); }
.story-proof-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 12px; font-weight: 650; line-height: 1.45; }
.story-proof-links a { color: var(--report-green); }
.story-proof-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 20px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.story-proof-note details { flex: 1; min-width: 170px; }
.story-proof-note summary { width: fit-content; cursor: pointer; color: var(--report-green); text-decoration: underline; text-underline-offset: .25em; }
.story-proof-note summary:focus-visible { outline: 2px solid var(--report-green); outline-offset: 4px; }
.story-proof-note details p { max-width: 85ch; margin-top: 9px; font-size: 12px; }
.link-qualifier { font-weight: 400; }
.story-section { display: grid; grid-template-columns: minmax(225px, .62fr) minmax(0, 1.38fr); gap: 30px clamp(42px, 6vw, 86px); padding-block: clamp(65px, 7.5vw, 100px); border-top: 1px solid var(--rule); }
.story-section-meta { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 15px; min-width: 0; }
.story-section-meta p { margin: 0; }
.story-section-meta .story-number { color: var(--muted); }
.story-section h2 { max-width: 17ch; margin: 0; font-size: clamp(33px, 3.4vw, 47px); font-weight: 400; letter-spacing: -.042em; line-height: 1.1; text-wrap: balance; }
.story-prose { min-width: 0; max-width: 760px; color: var(--muted); }
.story-prose > :first-child { margin-top: 0; }
.story-prose p { margin-bottom: 21px; }
.story-prose strong { color: var(--ink); }
.story-prose .text-link { color: var(--report-green); font-weight: 650; }
.story-report-figure { grid-column: 1 / -1; min-width: 0; margin-top: 16px; }
.story-report-figure .report-image-link { padding: clamp(9px, 1.5vw, 17px); border: 1px solid var(--rule); background: #fff; }
.story-report-figure .report-image-link img { border: 0; }
.story-implication { grid-column: 2; padding-top: 25px; border-top: 1px solid var(--report-gold); }
.report-caption { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 13px 25px; align-items: start; }
.report-caption-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.report-caption a { color: var(--report-green); }
.image-full-mobile { display: none; }
.hmrc-image-viewer { width: max-content; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); overflow: hidden; }
.hmrc-image-viewer:not([open]) { display: none; }
.hmrc-image-viewer[open] { display: flex; flex-direction: column; }
.hmrc-image-viewer::backdrop { background: rgb(22 30 28 / .72); }
.hmrc-viewer-toolbar { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.hmrc-viewer-report { min-width: 0; padding: 10px 14px; color: var(--report-green); font-size: 13px; font-weight: 650; line-height: 1.4; overflow-wrap: break-word; }
.hmrc-viewer-report:focus-visible { outline-offset: -4px; }
.hmrc-viewer-close { flex: 0 0 48px; width: 48px; height: 48px; padding: 0; margin-left: auto; border: 0; background: var(--report-green); color: var(--paper); font: 32px/1 sans-serif; cursor: pointer; }
.hmrc-viewer-close:hover { background: var(--ink); }
.hmrc-viewer-close:focus-visible { outline: 2px solid var(--paper); outline-offset: -6px; }
.hmrc-viewer-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; background: white; }
.hmrc-viewer-scroll img { display: block; width: auto; height: auto; max-width: none; }
.interpretation-fork { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--ink); }
.interpretation-fork li { padding: 17px 0 18px; border-bottom: 1px solid var(--rule); }
.interpretation-fork strong { display: inline-block; min-width: 112px; margin-right: 8px; }
.side-observations { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(27px, 4vw, 52px); max-width: none; }
.side-observations article { min-width: 0; padding-top: 22px; border-top: 1px solid var(--ink); }
.story-section > .side-observations > article { padding-top: 0; border-top: 0; }
.side-observations h3 { margin: 0 0 15px; color: var(--ink); font-size: 22px; font-weight: 550; letter-spacing: -.02em; line-height: 1.25; }
.other-findings-note { grid-column: 1 / -1; margin: 23px 0 0 !important; padding-top: 19px; border-top: 1px solid var(--rule); font-size: 13px; }
.story-question { margin-bottom: 38px !important; color: var(--accent); font-size: clamp(26px, 2.7vw, 36px); letter-spacing: -.03em; line-height: 1.3; }
.story-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--ink); }
.story-summary div { min-width: 0; padding: 19px 17px 21px 0; border-bottom: 1px solid var(--rule); }
.story-summary div + div { padding-left: 17px; border-left: 1px solid var(--rule); }
.story-summary dt { margin-bottom: 8px; color: var(--report-green); font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.story-summary dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 38px; }
.story-actions .text-link { color: var(--report-green); }

/* Existing secondary pages */
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.text-link { font-size: 13px; color: var(--accent); }
.page { max-width: 660px; min-height: calc(100svh - 183px); padding-block: 78px 100px; }
.page h1 { margin-block: 18px 28px; font-size: clamp(28px, 3vw, 39px); line-height: 1.3; font-weight: 400; letter-spacing: -.035em; }
.page p { max-width: 57ch; }
.page .quiet { color: var(--muted); }
.questions { list-style: none; padding: 0; margin-block: 36px; border-top: 1px solid var(--rule); }
.questions li { padding-block: 14px; border-bottom: 1px solid var(--rule); }
.page-note { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 40px; font-size: 14px; color: var(--muted); }

@media (max-width: 1100px) {
  .story-outline { grid-template-columns: 1fr 1fr; }
  .story-outline li:nth-child(3) { padding-left: 0; border-left: 0; }
  .story-outline li:nth-child(3), .story-outline li:nth-child(4) { border-top: 1px solid var(--rule); }
}

@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .site-header { align-items: flex-start; }
  .identity { flex-direction: column; gap: 0; }
  nav { max-width: 510px; gap: 9px 20px; }
  .homepage { --content-indent: clamp(48px, 7vw, 60px); }
  .opening h1 { font-size: clamp(45px, 6.2vw, 58px); }
  .section-introduction { grid-template-columns: 32px minmax(0, 1fr) minmax(220px, .82fr); gap: 22px; }
  .section-introduction h2 { font-size: 38px; }
  .home-story { grid-template-columns: 1fr; }
  .home-story-copy { max-width: 58ch; }
  .story-proof { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
  .story-section { grid-template-columns: 1fr; }
  .story-section h2 { max-width: 19ch; }
  .story-prose { max-width: 760px; }
  .story-implication { grid-column: auto; }
}

@media (max-width: 840px) {
  .evidence-body { grid-template-columns: 1fr; }
  .evidence-close { grid-column: auto; margin-top: 13px; padding-left: 0; }
}

@media (max-width: 760px) {
  .homepage { --content-indent: 0px; }
  .section-introduction { display: block; }
  .section-number { float: left; margin: 0 10px 0 0; padding-top: 0; }
  .section-introduction h2 { clear: both; padding-top: 12px; }
  .section-copy { padding-top: 24px; }
  .situation-list li { display: block; }
  .entry-number { float: left; margin: 3px 10px 0 0; padding-top: 0; }
  .situation-list li > p:last-child { clear: both; padding-top: 9px; }
}

@media (max-width: 680px) {
  html { scroll-behavior: auto; }
  .shell { width: calc(100% - 40px); }
  .site-header { flex-direction: column; gap: 19px; padding-block: 21px; }
  .identity { flex-direction: row; gap: 12px; }
  nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; justify-content: stretch; gap: 7px 18px; }
  .review-note { margin: 13px 0 0; line-height: 1.5; }
  .opening { padding-block: 38px 52px; }
  .opening h1 { max-width: 18ch; margin-bottom: 20px; font-size: clamp(38px, 10.3vw, 46px); }
  .opening-promise { margin-bottom: 23px; font-size: 22px; }
  .opening-recognition { font-size: 16px; }
  .opening-lede { font-size: 16px; line-height: 1.65; }
  .opening-actions { align-items: flex-start; flex-direction: column; margin-top: 29px; }
  .homepage .opening-support { margin-top: 26px; }
  .home-section { padding-block: 55px 61px; }
  .section-introduction h2 { font-size: 36px; }
  .situation-list, .draft-story, .evidence-body, .route-list { margin-top: 39px; }
  .draft-status { padding-inline: 0; }
  .story-outline { display: block; }
  .story-outline li, .story-outline li + li { display: block; padding: 21px 0 23px; border-left: 0; border-top: 0; }
  .story-step { float: left; margin: 4px 10px 0 0; }
  .story-outline h3 { min-height: 0; margin-bottom: 0; }
  .story-outline li > p:last-child { clear: both; padding-top: 7px; }
  .draft-caption { text-align: left; }
  .home-story { margin-top: 39px; }
  .report-caption { display: block !important; }
  .report-caption-links { display: block; margin-top: 8px; }
  .report-caption-links a { display: block; margin-top: 6px; }
  .image-full-desktop { display: none !important; }
  .image-full-mobile { display: block; }
  .evidence-opening { font-size: 27px; }
  .evidence-detail { margin-top: 2px; }
  .evidence-close { margin-top: 17px; }
  .route-list { display: block; }
  .route + .route { padding-left: 0; border-left: 0; }
  .route { display: block; }
  .route-marker { float: left; margin: 5px 10px 0 0; padding-top: 0; }
  .route h3 { margin-bottom: 0; }
  .route > p:not(.route-marker) { clear: both; padding-top: 8px; }
  .route-status { margin-top: 17px !important; }
  .access-note { margin-top: 18px; text-align: left; }
  .site-footer { flex-wrap: wrap; }
  .page { padding-block: 48px 65px; min-height: calc(100svh - 235px); }
  .story-opening { padding-block: 47px 59px; }
  .story-opening h1 { margin-bottom: 25px; font-size: clamp(40px, 11vw, 52px); }
  .story-deck { font-size: 17px; }
  .story-discoveries { display: block; margin-top: 30px; }
  .story-discoveries li, .story-discoveries li + li { padding: 19px 0 21px; border-left: 0; }
  .story-discoveries li + li { border-top: 1px solid var(--rule); }
  .story-discoveries .discovery-label { margin-bottom: 12px; }
  .story-discoveries .discovery-fact { min-height: 0; margin-bottom: 12px; font-size: 21px; }
  .story-proof { display: block; margin-top: 20px; padding-top: 17px; }
  .story-proof-links { margin-top: 13px; }
  .story-proof-note { margin-top: 9px !important; }
  .story-section { gap: 26px; padding-block: 57px 63px; }
  .story-section h2 { font-size: 35px; }
  .story-report-figure { margin-top: 5px; }
  .story-report-figure .report-image-link { padding: 8px; }
  .interpretation-fork strong { display: block; margin: 0 0 3px; }
  .side-observations { display: block; }
  .story-section > .side-observations > article + article { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--rule); }
  .side-observations article + article { margin-top: 39px; }
  .story-summary { display: block; }
  .story-summary div, .story-summary div + div { padding: 17px 0 19px; border-left: 0; }
  .story-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  nav { gap: 7px 12px; }
  .opening { padding-top: 47px; }
  .opening h1 { font-size: 40px; }
  .primary-action { width: 100%; justify-content: space-between; }
  .section-introduction h2 { font-size: 33px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
