@font-face { font-family: Anton; src: url('assets/fonts/Anton-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --green: #073f30;
  --deep: #071f1b;
  --gold: #d9b36a;
  --gold-soft: #f2d48d;
  --paper: #f5ecd9;
  --mint: #dce7d5;
  --ink: #12352b;
  --muted: #c3d0c5;
  --gutter: clamp(24px, 5.5vw, 100px);
  --display: Georgia, 'Times New Roman', serif;
  --numeral: Anton, 'Arial Narrow', sans-serif;
  --body: 'Avenir Next', Avenir, 'Trebuchet MS', sans-serif;
  --percentage-size: clamp(150px, 42vw, 640px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--gold) var(--deep); scrollbar-width: thin; }
body { margin: 0; color: var(--paper); background: var(--deep); font: 400 16px/1.5 var(--body); }
::selection { color: var(--deep); background: var(--gold); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border: 2px solid var(--deep); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }
::-webkit-scrollbar-thumb:active { background: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
button:active, .donate-link:active { transform: translateY(1px); }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; width: 20px; height: 20px; flex-shrink: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; padding: 12px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }
.masthead { position: absolute; z-index: 20; left: 0; top: 0; width: 100%; height: 104px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand > span { font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.report-date { margin: 0 0 0 auto; font-size: 12px; color: var(--muted); }
#screen-toggle { display: flex; gap: 9px; align-items: center; border: 1px solid #668071; border-radius: 30px; padding: 10px 16px; background: var(--deep); color: var(--paper); font-size: 12px; min-height: 44px; }
#screen-toggle:hover { background: var(--green); border-color: var(--gold); }
.scene { position: relative; isolation: isolate; min-height: 100svh; padding: 96px var(--gutter) 118px; scroll-margin-top: 0; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(56px, 6.1vw, 96px); }
h2 { font-size: clamp(43px, 4.5vw, 72px); }
h1 em, h2 em { font-weight: 400; color: var(--gold); }
.opening { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 6vw; padding-top: 144px; padding-bottom: 160px; }
.opening-copy { position: relative; z-index: 2; }
.intro { font-size: clamp(17px, 1.5vw, 22px); color: var(--muted); margin-top: 30px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 22px; font-size: 13px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid #557160; margin-top: 36px; }
.text-link:hover { color: var(--gold); border-color: var(--gold); }
.construction-photo { position: relative; max-width: 550px; width: 100%; justify-self: end; margin-top: 8px; }
.photo-window { position: relative; overflow: hidden; width: 100%; aspect-ratio: 317 / 362; border-radius: 48% 48% 2px 2px; background: #9cb8c6; }
/* The intact supplied poster is clipped to its real chantier photo. */
.photo-window img { position: absolute; max-width: none; width: 370.03%; height: auto; top: -47.24%; left: -15.77%; }
.construction-photo figcaption { display: flex; flex-direction: column; gap: 3px; position: absolute; bottom: 32px; left: -42px; padding: 17px 25px; background: var(--gold); color: var(--ink); min-width: 240px; }
.construction-photo figcaption span { font-size: 12px; }
.construction-photo figcaption strong { font-size: 16px; font-weight: 650; }
.opening-foot { position: absolute; bottom: 105px; left: var(--gutter); right: var(--gutter); border-top: 1px solid #456451; padding-top: 16px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
/* Foreground titles and rising numerals occupy separate, deliberately overlapping planes. */
.accomplished { --surface: #0b3028; background: var(--surface); color: var(--mint); display: flex; flex-direction: column; justify-content: center; }
.metric-stage { position: relative; width: 100%; padding-top: 0; }
.title-plane { position: relative; z-index: 3; text-align: center; padding: 12px 0 0; background: var(--surface); }
.title-plane h2 { color: var(--paper); font-size: clamp(40px, 4.1vw, 66px); }
.title-plane h2 em { color: var(--gold); }
.number-window { position: relative; overflow: clip; padding-block: .08em; }
.giant-percent { display: flex; align-items: baseline; justify-content: center; font: 400 var(--percentage-size)/1.07 var(--numeral); letter-spacing: -.025em; color: var(--mint); white-space: nowrap; }
.percent-symbol { font-size: .37em; line-height: 1; margin-left: .05em; letter-spacing: -.015em; }
.rise-number { transform-origin: center bottom; }
.accomplished-bottom { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 6px; font-size: 16px; line-height: 1.55; }
.accomplished-bottom > p:last-child { text-align: right; color: var(--muted); font-size: 14px; }
.funding-timeline { margin-top: 38px; }
.timeline-stats { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.investment { display: flex; flex-direction: column; gap: 6px; }
.investment strong { display: block; font: 400 clamp(30px, 4.1vw, 64px)/1.1 var(--numeral); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.investment > span, .timeline-objective > span { font-size: 13px; color: var(--muted); }
.currency { font-size: .67em; }
.timeline-objective { display: flex; flex-direction: column; text-align: right; gap: 5px; }
.timeline-objective strong { font: 400 clamp(20px, 2.6vw, 38px)/1.2 var(--numeral); letter-spacing: .01em; }
.funding-track { position: relative; height: clamp(58px, 5.4vw, 78px); overflow: hidden; border-radius: 99px; background: #264c40; }
.funding-fill { position: absolute; inset: 0 auto 0 0; width: 42.9%; background: var(--gold); border-radius: inherit; transform-origin: left center; }
.funding-label, .funding-remaining { position: absolute; top: 0; height: 100%; display: flex; align-items: center; font-size: 15px; font-weight: 650; }
.funding-label { left: 24px; color: var(--ink); }
.funding-remaining { right: 24px; color: var(--mint); }
.timeline-ticks { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--muted); }
.fine-print { font-size: 12px; line-height: 1.6; margin-top: 18px; }
.accomplished > .fine-print { color: var(--muted); }
.next-step { --surface: #d9b36a; background: var(--surface); color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.amount-stage { padding-top: 0; }
.amount-stage .title-plane h2, .amount-stage .title-plane h2 em { color: var(--ink); }
.amount { display: flex; align-items: baseline; justify-content: center; gap: .02em; font: 400 clamp(70px, 20vw, 310px)/1.15 var(--numeral); letter-spacing: -.018em; white-space: nowrap; color: var(--ink); }
.amount-tail { font-size: .29em; letter-spacing: -.015em; }
.amount-tail > span { margin-left: .16em; }
.next-heading, .promise-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-top: 10px; }
.amount-description { font-size: 21px; line-height: 1.4; }
.next-heading > p:last-child, .promise-intro > p:last-child { font-size: 15px; line-height: 1.65; max-width: 48ch; text-align: right; }
.balance-equation { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 25px; border-top: 1px solid #9a762f; margin-top: 46px; }
.balance-equation div { display: flex; flex-direction: column; gap: 9px; }
.balance-equation div > span { font-size: 13px; }
.balance-equation strong { font: 400 clamp(24px, 3vw, 45px)/1.2 var(--numeral); white-space: nowrap; font-variant-numeric: tabular-nums; }
.equation-sign { color: var(--ink); font-size: 30px; }
.financial-detail { margin-top: 20px; max-width: 720px; font-size: 14px; }
.financial-detail summary { display: inline-flex; gap: 16px; align-items: center; cursor: pointer; min-height: 44px; }
.financial-detail summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.financial-detail summary::-webkit-details-marker { display: none; }
.financial-detail[open] summary svg { transform: rotate(180deg); }
.financial-detail > div { padding: 12px 0; max-width: 65ch; }
.financial-detail p + p { margin-top: 12px; }
.next-step a:focus-visible, .next-step summary:focus-visible { outline-color: var(--ink); }
.promises { --surface: #dce7d5; background: var(--surface); color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.promises .amount { font-size: clamp(74px, 22vw, 338px); }
.promise-message { max-width: 45ch; margin-top: 34px; font: 400 clamp(25px, 2.7vw, 40px)/1.25 var(--display); text-wrap: pretty; }
.promise-message span { transition: opacity .35s ease-out; }
.promise-ledger { margin-top: 32px; padding-top: 22px; border-top: 1px solid #829885; display: flex; gap: 40px; justify-content: space-between; align-items: center; }
.promise-ledger p { display: flex; flex-direction: column; gap: 5px; }
.promise-ledger span { font-size: 13px; }
.promise-ledger strong { font: 400 clamp(25px, 3vw, 44px)/1.3 var(--numeral); }
.promise-ledger .pending-note { font-size: 13px; text-align: right; }
.horizon { display: grid; grid-template-columns: 1.1fr 1fr; align-content: center; gap: 34px 5vw; }
.horizon-copy > p { color: var(--muted); font-size: 16px; max-width: 43ch; margin-top: 25px; }
.total-budget { margin-top: 30px; }
.total-budget > span { font-size: 13px; color: var(--muted); }
.total-budget strong { display: block; font: 400 clamp(44px, 6.7vw, 102px)/1.3 var(--numeral); color: var(--gold); white-space: nowrap; letter-spacing: -.02em; }
.donate-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 650; margin-top: 22px; padding: 18px 20px; background: var(--gold); color: var(--deep); text-decoration: none; border-radius: 999px; }
.donate-link:hover { background: var(--gold-soft); }
.horizon-copy .thanks { font-size: 13px; margin-top: 18px; }
.project-figure { align-self: center; }
.project-figure > img { display: block; width: 100%; height: auto; }
.project-figure > figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 15px; }
.donation-qr { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 20px; padding-top: 24px; border-top: 1px solid #456451; }
.qr-window { position: relative; overflow: hidden; width: 110px; height: 110px; background: white; border: 9px solid white; flex-shrink: 0; }
.qr-window img { position: absolute; width: 1564%; height: auto; max-width: none; left: -1209.33%; top: -934.67%; }
.donation-qr p { font-size: 15px; }
.donation-qr p > span { font-size: 12px; color: var(--muted); }
.chapter-nav { position: fixed; z-index: 30; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 3px; padding: 6px; border: 1px solid #52725f; border-radius: 40px; background: var(--deep); max-width: calc(100% - 28px); }
.chapter-nav a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 11px; color: var(--muted); white-space: nowrap; padding: 12px 15px; border-radius: 30px; min-height: 44px; }
.chapter-number { font-size: 11px; color: var(--gold); }
.chapter-nav a:hover { background: var(--green); color: var(--paper); }
.chapter-nav a[aria-current] { background: var(--paper); color: var(--ink); }
.chapter-nav a[aria-current] .chapter-number { color: var(--ink); }
.prototype-note { text-align: center; font-size: 11px; color: var(--muted); padding: 20px 20px 110px; }
.screen-controls { position: fixed; z-index: 40; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 40px; background: var(--deep); border: 1px solid #52725f; overflow: hidden; }
.screen-controls button { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px; color: var(--paper); border: 0; border-radius: 24px; background: transparent; white-space: nowrap; font-size: 11px; }
.screen-controls button:hover { background: var(--green); color: var(--gold); }
#screen-position { font-size: 11px; white-space: nowrap; color: var(--muted); }
.screen-timer { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; }
.screen-timer > span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--elapsed, 0)); }
.screen-mode .masthead { position: fixed; background: var(--deep); height: 78px; }
.screen-mode .scene { min-height: 100svh; padding-top: 102px; padding-bottom: 100px; }
.screen-mode .chapter-nav, .screen-mode .prototype-note, .screen-mode .financial-detail, .screen-mode .opening-foot, .screen-mode .text-link { display: none; }
.screen-mode .giant-percent { font-size: min(42vw, 43svh); }
.screen-mode .metric-stage { padding-top: 0; }
.screen-mode .title-plane h2 { font-size: clamp(37px, 3.5vw, 54px); }
.screen-mode .amount-stage { padding-top: 0; }
.screen-mode .amount { font-size: min(20vw, 30svh); }
.screen-mode .promises .amount { font-size: min(22vw, 32svh); }
.screen-mode .funding-timeline { margin-top: 24px; }
.screen-mode .timeline-stats { margin-bottom: 12px; }
.screen-mode .funding-track { height: 56px; }
.screen-mode .investment strong { font-size: clamp(30px, 3.6vw, 52px); }
.screen-mode .accomplished-bottom { font-size: 14px; }
.screen-mode .accomplished-bottom > p:last-child { font-size: 13px; }
.screen-mode .timeline-ticks { margin-top: 8px; }
.screen-mode .fine-print { margin-top: 12px; font-size: 13px; }
.screen-mode .balance-equation { margin-top: 30px; }
.screen-mode .promise-message { margin-top: 24px; }
.screen-mode .promise-ledger { margin-top: 24px; }
.screen-mode .construction-photo { max-width: min(34vw, 52svh); }
.screen-mode .project-figure { max-width: min(37vw, 59svh); justify-self: center; }
.screen-mode .horizon { gap: 16px 5vw; }
.screen-mode .donation-qr { padding-top: 12px; }
.screen-mode .qr-window { width: 140px; height: 140px; }
.screen-mode .donation-qr p > span { font-size: 13px; }
.screen-mode .horizon-copy > p { margin-top: 18px; }
.screen-mode .total-budget { margin-top: 18px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .masthead { gap: 18px; }
  .construction-photo figcaption { left: -24px; }
  .amount-stage { padding-top: 0; }
  .next-heading > p:last-child, .promise-intro > p:last-child { font-size: 14px; }
  .promise-ledger { gap: 24px; }
}
@media (max-width: 760px) {
  :root { --percentage-size: 42vw; }
  .masthead { height: 86px; gap: 12px; padding: 0 22px; }
  .brand img { width: 37px; height: 37px; }
  .brand { gap: 8px; }
  .brand > span { font-size: 11px; }
  .brand small { font-size: 11px; letter-spacing: .06em; }
  .report-date { display: none; }
  #screen-toggle { margin-left: auto; padding: 9px 12px; font-size: 11px; }
  #screen-toggle svg { width: 16px; height: 16px; }
  .scene { min-height: auto; padding: 74px 22px 102px; }
  .opening { min-height: 100svh; grid-template-columns: 1fr; padding-top: 126px; gap: 44px; }
  h1 { font-size: clamp(45px, 11.7vw, 74px); }
  h2 { font-size: clamp(37px, 9vw, 58px); }
  .intro { font-size: 17px; margin-top: 24px; }
  .text-link { margin-top: 20px; }
  .construction-photo { width: 84%; margin: 0 0 10px; justify-self: end; }
  .construction-photo figcaption { bottom: 24px; left: -30px; padding: 14px 18px; min-width: 220px; }
  .construction-photo figcaption strong { font-size: 14px; }
  .opening-foot { display: none; }
  .metric-stage { padding-top: 0; }
  .title-plane h2 { font-size: clamp(28px, 7.5vw, 46px); }
  .title-plane { padding-bottom: 12px; }
  .giant-percent { font-size: var(--percentage-size); line-height: 1.13; }
  .accomplished-bottom { align-items: flex-start; gap: 16px; margin-top: 12px; font-size: 13px; }
  .accomplished-bottom > p { flex: 1; }
  .accomplished-bottom > p:last-child { font-size: 12px; }
  .funding-timeline { margin-top: 34px; }
  .timeline-stats { gap: 12px; align-items: flex-end; margin-bottom: 16px; }
  .investment strong { font-size: clamp(25px, 7.3vw, 44px); }
  .investment > span, .timeline-objective > span { font-size: 11px; }
  .timeline-objective strong { font-size: clamp(17px, 4.6vw, 26px); }
  .funding-track { height: 54px; }
  .funding-label, .funding-remaining { font-size: 12px; }
  .funding-label { left: 15px; }
  .funding-remaining { right: 16px; }
  .timeline-ticks { font-size: 11px; }
  .fine-print { font-size: 12px; margin-top: 20px; }
  .amount-stage { padding-top: 0; }
  .amount, .promises .amount { font-size: 19.8vw; line-height: 1.2; }
  .promises .amount { font-size: 22vw; }
  .next-heading, .promise-intro { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 22px; }
  .amount-description { font-size: 20px; }
  .next-heading > p:last-child, .promise-intro > p:last-child { font-size: 14px; text-align: left; }
  .balance-equation { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .balance-equation div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
  .balance-equation strong { font-size: 24px; }
  .balance-equation div > span { font-size: 12px; }
  .equation-sign { display: none; }
  .balance-result { padding-top: 16px; border-top: 1px solid #9a762f; }
  .financial-detail { margin-top: 17px; font-size: 13px; }
  .promise-message { font-size: 27px; margin-top: 30px; }
  .promise-ledger { flex-wrap: wrap; gap: 20px; margin-top: 26px; }
  .promise-ledger p { flex: 1 1 42%; }
  .promise-ledger span { font-size: 12px; }
  .promise-ledger strong { font-size: 29px; }
  .promise-ledger .pending-note { flex: 1 1 100%; text-align: left; font-size: 12px; }
  .horizon { grid-template-columns: 1fr; gap: 40px; }
  .horizon-copy > p { font-size: 15px; }
  .total-budget strong { font-size: 13.3vw; }
  .donate-link { font-size: 11px; gap: 14px; padding: 17px 16px; }
  .project-figure { width: 100%; }
  .donation-qr { grid-column: auto; gap: 16px; justify-content: flex-start; }
  .donation-qr p { font-size: 13px; }
  .donation-qr p > span { font-size: 11px; }
  .chapter-nav { bottom: 16px; padding: 5px; gap: 1px; }
  .chapter-nav a { padding: 10px; min-width: 41px; justify-content: center; }
  .chapter-nav a > span:last-child { display: none; }
  .chapter-nav a[aria-current] > span:last-child { display: inline; }
  .chapter-nav a[aria-current] { padding-inline: 10px; }
  .screen-controls { gap: 2px; padding: 5px; bottom: 16px; }
  #fullscreen-toggle { display: none; }
  .screen-mode .scene { min-height: 100svh; padding-top: 108px; padding-bottom: 98px; }
  .screen-mode .opening { gap: 22px; align-content: center; }
  .screen-mode h1 { font-size: clamp(37px, 10vw, 52px); }
  .screen-mode h2 { font-size: clamp(33px, 8.5vw, 46px); }
  .screen-mode .title-plane h2 { font-size: clamp(27px, 7.2vw, 42px); }
  .screen-mode .metric-stage { padding-top: 0; }
  .screen-mode .amount-stage { padding-top: 0; }
  .screen-mode .intro { font-size: 14px; margin-top: 16px; }
  .screen-mode .construction-photo { max-width: 210px; width: 62%; margin: 0; }
  .screen-mode .construction-photo figcaption { min-width: 205px; padding: 10px 14px; bottom: 10px; }
  .screen-mode .giant-percent { font-size: 42vw; }
  .screen-mode .investment strong { font-size: 7.3vw; }
  .screen-mode .amount { font-size: 19.8vw; }
  .screen-mode .promises .amount { font-size: 22vw; }
  .screen-mode .next-heading, .screen-mode .promise-intro { gap: 18px; margin-top: 16px; }
  .screen-mode .amount-description { font-size: 18px; }
  .screen-mode .next-heading > p:last-child, .screen-mode .promise-intro > p:last-child { font-size: 13px; }
  .screen-mode .promise-message { font-size: 25px; margin-top: 20px; }
  .screen-mode .promise-ledger { gap: 12px; margin-top: 22px; }
  .screen-mode .horizon { grid-template-columns: 1fr; gap: 18px; }
  .screen-mode .horizon-copy > p { font-size: 13px; margin-top: 16px; }
  .screen-mode .horizon-copy .thanks { display: none; }
  .screen-mode .project-figure { max-width: 210px; width: 70%; }
  .screen-mode .project-figure figcaption { margin-top: 3px; font-size: 11px; }
  .screen-mode .total-budget { margin-top: 12px; }
  .screen-mode .donate-link { margin-top: 14px; }
  .screen-mode .donation-qr { padding-top: 12px; }
  .screen-mode .qr-window { width: 75px; height: 75px; border-width: 5px; }
}
@media (max-width: 360px) {
  .chapter-nav a { min-width: 34px; padding-inline: 8px; }
  .chapter-nav a[aria-current] { padding-inline: 9px; gap: 5px; }
  .brand small { font-size: 11px; }
  .brand > span { font-size: 11px; }
  #screen-toggle { gap: 5px; padding-inline: 9px; }
  .investment strong { font-size: 7vw; }
  .timeline-objective strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-parallax], .rise-number, .funding-fill { transform: none !important; }
  .promise-message span { opacity: 1 !important; }
}
@media (forced-colors: active) { html { scrollbar-color: auto; } a, button { forced-color-adjust: auto; } .funding-track { border: 1px solid CanvasText; } .funding-fill { background: Highlight; } }
@media print {
  body { background: white; color: black; }
  .scene { min-height: auto; padding: 30px; break-inside: avoid; background: white; color: black; }
  .masthead, .chapter-nav, .screen-controls, .text-link, .financial-detail { display: none; }
  h1, h2, h1 em, h2 em, .amount, .giant-percent { color: black; }
  .title-plane { position: relative; background: transparent; }
  .metric-stage { padding-top: 0; }
  [data-parallax], .rise-number, .funding-fill { transform: none !important; }
  .promise-message span { opacity: 1 !important; }
}

/* The opaque title plane sits below the aperture that reveals the rising figure. */
.metric-stage .number-window { padding: 0; }
.metric-context { text-align: center; margin-top: 18px; font-size: clamp(14px, 1.6vw, 20px); }
.digit-window { display: inline-block; overflow: clip; height: 1.15em; line-height: 1.15; vertical-align: top; }
.digit-strip { display: flex; flex-direction: column; transform: translateY(-50%); }
.digit-strip > span { height: 1.15em; line-height: 1.15; }
[data-count] { display: inline-block; line-height: 1.15; }
.financial-detail { width: 100%; max-width: none; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); margin-top: 28px; }
.financial-detail > div { max-width: 75ch; line-height: 1.65; }
.financial-detail .balance-equation { flex-wrap: wrap; margin: 20px 0; padding: 0; border: 0; gap: 16px; }
.financial-detail .balance-equation strong { font-size: clamp(22px, 2.5vw, 32px); }
.opening-copy .financial-detail { margin-bottom: 20px; }
.screen-mode .giant-percent { font-size: min(42vw, 36svh); }
@media (max-width: 600px) { .financial-detail { font-size: 13px; } .title-plane { padding-top: 8px; } }

@media (max-width: 600px) { .scene.accomplished, .scene.next-step, .scene.promises { min-height: 100svh; } }

/* V4: soft reveal edges, no rectangular title plate or clipped digit rails. */
.metric-stage { isolation: isolate; }
.metric-stage .number-window { overflow: visible; mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 84%, transparent 100%); padding-block: .08em .16em; margin-bottom: 0; }
.title-plane { background: transparent; }
.accomplished .metric-stage::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: min(75vw, 750px); aspect-ratio: 1; left: 50%; top: 35%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgb(217 179 106 / .11), rgb(217 179 106 / .035) 42%, transparent 70%); }
.digit-window { mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 96%, transparent); }
.funding-track, .screen-mode .funding-track { height: 34px; }
.funding-label, .funding-remaining { font-size: 12px; }
@media (max-width: 600px) { .funding-track, .screen-mode .funding-track { height: 30px; } .funding-label, .funding-remaining { font-size: 10px; } }

.metric-stage .number-window { mask-size: 100% 125%; mask-repeat: no-repeat; }
/* Preserve glyph overhangs despite the display font's negative tracking. */
.digit-window { padding-inline: .035em; margin-inline: -.035em; }


/* One mechanical roll, no translucent duplicate glyphs. */
.metric-stage .number-window { overflow: visible; mask-image: none; -webkit-mask-image: none; }
.digit-window { position: relative; overflow: hidden; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.digit-window.is-settled { overflow: visible; mask-image: none; }

.title-line { display: block; }

/* Keep the final glyph fully opaque without switching its mask at rest. */
.digit-window { mask-image: linear-gradient(transparent, #000 7%, #000 97%, transparent); }

/* Figures sit in the scene itself; no masked or clipped reel viewport. */
.number-window, .metric-stage .number-window, .digit-window {
  overflow: visible; mask-image: none; -webkit-mask-image: none;
}
.digit-window { position: relative; perspective: 900px; }
.digit-face { position: absolute; inset: 0 .035em; line-height: 1.15; transform-origin: 50% 50%; backface-visibility: hidden; }
.digit-outgoing { transform: rotateX(90deg); opacity: 0; }
.giant-percent, .amount, .total-budget strong {
  text-shadow: .018em .03em .045em rgb(0 0 0 / .17);
}

/* Mobile composition: photo and message share the first screen. */
@media (max-width: 600px) {
  body:not(.screen-mode) .opening { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 106px 22px 108px; }
  body:not(.screen-mode) .opening-copy { display: contents; }
  body:not(.screen-mode) .opening h1 { order: 1; font-size: clamp(35px, 9.6vw, 48px); line-height: 1.05; }
  body:not(.screen-mode) .opening .intro { order: 2; margin-top: 14px; font-size: 15px; line-height: 1.5; }
  body:not(.screen-mode) .construction-photo { order: 3; width: min(76%, 248px); max-width: none; align-self: center; margin: 18px 0 0; transform: none !important; }
  body:not(.screen-mode) .photo-window { height: auto; aspect-ratio: 317 / 362; border-radius: 48% 48% 2px 2px; }
  body:not(.screen-mode) .photo-window img { top: -47.24%; transform: none; }
  body:not(.screen-mode) .construction-photo figcaption { position: static; min-width: 0; padding: 10px 14px; gap: 2px; border-radius: 0 0 12px 12px; }
  body:not(.screen-mode) .construction-photo figcaption span { font-size: 11px; }
  body:not(.screen-mode) .construction-photo figcaption strong { font-size: 13px; }
  body:not(.screen-mode) .opening .financial-detail { order: 4; margin: 18px 0 0; }
  body:not(.screen-mode) .opening .text-link { order: 5; align-self: flex-start; margin-top: 4px; font-size: 12px; }
  body:not(.screen-mode) .horizon { display: flex; flex-direction: column; gap: 0; padding-top: 66px; padding-bottom: 112px; }
  body:not(.screen-mode) .horizon-copy { display: contents; }
  body:not(.screen-mode) .horizon h2 { order: 1; font-size: 37px; }
  body:not(.screen-mode) .project-figure { order: 2; width: 68%; margin: 24px auto 0; transform: none !important; }
  body:not(.screen-mode) .total-budget { order: 3; margin-top: 24px; }
  body:not(.screen-mode) .horizon .donate-link { order: 4; margin-top: 18px; font-size: 12px; }
  body:not(.screen-mode) .horizon .financial-detail { order: 5; margin-top: 22px; }
  body:not(.screen-mode) .donation-qr { order: 6; margin-top: 20px; }
  body:not(.screen-mode) .horizon .thanks { order: 7; margin-top: 18px; font-size: 13px; }
  .chapter-nav { bottom: max(12px, env(safe-area-inset-bottom)); }
}

.project-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.project-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; min-height: 48px; border: 1px solid #668071; border-radius: 999px; color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 650; }
.project-links a:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 600px) { .project-links { flex-direction: column; } body:not(.screen-mode) .project-links { order: 4; margin-top: 12px; } }

.metric-stage > .metric-context { margin-top: 8px; margin-bottom: 24px; }

.metric-stage > .title-plane { padding-top: 0; margin-bottom: 24px; }
.metric-stage > .metric-context { margin-top: 8px; margin-bottom: 0; }

/* Full aerial photograph, centered on the building within the existing arch. */
.photo-window img, body:not(.screen-mode) .photo-window img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 62%; transform: scale(1.12);
}

/* Keep the financial timeline above the persistent chapter navigation. */
@media (min-width: 761px) {
  body:not(.screen-mode) .accomplished { padding-top: 48px; padding-bottom: 122px; }
  body:not(.screen-mode) .accomplished .giant-percent { font-size: min(42vw, 35svh); }
  body:not(.screen-mode) .accomplished .metric-stage > .title-plane { margin-bottom: 12px; }
  body:not(.screen-mode) .accomplished .funding-timeline { margin-top: 22px; }
}

@media (max-width: 760px) {
  #screen-toggle { display: none !important; }
}

@media (max-width: 600px) {
  body:not(.screen-mode) .opening { padding-top: 90px; padding-bottom: 150px; }
  body:not(.screen-mode) .construction-photo { margin-top: 12px; }
  body:not(.screen-mode) .horizon {
    padding-top: 42px;
    padding-bottom: calc(160px + env(safe-area-inset-bottom));
  }
  body:not(.screen-mode) .horizon h2 { font-size: clamp(30px, 8vw, 37px); }
  body:not(.screen-mode) .project-figure { width: min(56%, 230px); margin-top: 14px; }
  body:not(.screen-mode) .total-budget { margin-top: 14px; }
  body:not(.screen-mode) .total-budget strong { font-size: 12vw; line-height: 1.13; }
  body:not(.screen-mode) .horizon .donate-link { margin-top: 14px; }
  body:not(.screen-mode) .project-links {
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
    gap: 10px; margin-top: 10px;
  }
  body:not(.screen-mode) .project-links a { min-width: 0; gap: 8px; padding: 12px 15px; font-size: 12px; }
  body:not(.screen-mode) .horizon .financial-detail { margin-top: 16px; }
}

/* Share the canonical opening URL without crowding the donation action. */
.share-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 12px 20px; margin-top: 12px; border: 1px solid #668071; border-radius: 999px; background: transparent; color: var(--paper); font-size: 14px; font-weight: 650; }
.share-button:hover { border-color: var(--gold); color: var(--gold); }
.share-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.share-status { color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 10px; }
.share-status:empty { display: none; }
@media (max-width: 600px) {
  body:not(.screen-mode) .share-button { order: 5; width: 100%; margin-top: 10px; padding: 12px 15px; font-size: 12px; }
  body:not(.screen-mode) .share-status { order: 6; }
  body:not(.screen-mode) .horizon .financial-detail { order: 7; }
  body:not(.screen-mode) .horizon .thanks { order: 8; }
}
