@font-face {
  font-family: "Pib Display";
  src: url("fonts/Bricolage.413e7357809d.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pib Text";
  src: url("fonts/Newsreader.8a08d13f8a6c.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pib Mono";
  src: url("fonts/PlexMono.a9b4c49bb299.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-blue: #10253f;
  --ink-deep: #0a1728;
  --paper: #e8e4da;
  --paper-pale: #f5f3ee;
  --paper-soft: #d9d7d0;
  --text: #182636;
  --muted: #637080;
  --line: rgba(24, 38, 54, 0.18);
  --line-light: rgba(245, 243, 238, 0.23);
  --amber: #f4c95d;
  --brass: #d98b49;
  --red: #d8544b;
  --red-deep: #a63c3b;
  --mint: #7fb9b1;
  --mint-deep: #3d7777;
  --blue: #78a7cb;
  --display: "Pib Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --text-font: "Pib Text", Georgia, serif;
  --mono: "Pib Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1180px, calc(100vw - 40px));
  --space: clamp(4.5rem, 10vw, 9rem);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: var(--text-font);
  font-size: 1.08rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

::selection { color: var(--paper-pale); background: var(--red-deep); }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 80;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--paper-pale);
  background: var(--ink-deep);
  transform: translateY(-180%);
}

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

.eyebrow,
.source-card__org,
.source-card__period,
.language-switch,
.wordmark,
.menu-button,
.clock-stamp,
.instrument-label,
.instrument-legend,
.hero-object__caption,
.step-label,
.direction,
.readout-unit,
.updated-line,
.footer-grid,
.hand-toggle,
.scroll-cue,
.source-card__topline {
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 1.1rem; color: var(--mint-deep); }
.eyebrow--light { color: var(--amber); }
.eyebrow--small { display: block; margin-bottom: 0.55rem; font-size: 0.59rem; letter-spacing: 0.08em; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 680;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  max-width: 8.8ch;
  margin-bottom: 1.6rem;
  color: var(--paper-pale);
  font-size: clamp(3.4rem, 8vw, 8.2rem);
  line-height: 0.88;
}

h2 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5.6vw, 5.6rem);
  line-height: 0.93;
}

h3 { margin-bottom: 0.7rem; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1; }

p { max-width: 68ch; }

.text-link { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.text-link span { display: inline-block; margin-left: 0.2rem; text-decoration: none; }

.note-pin {
  display: inline-block;
  width: 0.56rem;
  height: 0.56rem;
  margin-right: 0.55rem;
  vertical-align: 0.04em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0.25rem rgba(216, 84, 75, 0.14);
}

.note-pin--amber { background: var(--amber); box-shadow: 0 0 0 0.25rem rgba(244, 201, 93, 0.16); }
.note-pin--red { background: var(--red); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper-pale);
  background: var(--ink-blue);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(127, 185, 177, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 185, 177, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero::after {
  top: 12%;
  right: 4%;
  width: min(48vw, 720px);
  height: min(48vw, 720px);
  border: 1px solid rgba(244, 201, 93, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(244, 201, 93, 0.045), 0 0 0 76px rgba(244, 201, 93, 0.035);
}

.hero-grain { position: absolute; inset: 0; opacity: 0.12; background-image: radial-gradient(rgba(245, 243, 238, 0.35) 0.7px, transparent 0.7px); background-size: 7px 7px; mix-blend-mode: soft-light; pointer-events: none; }
.hero-shell { position: relative; z-index: 1; padding-top: 1.2rem; padding-bottom: 3.5rem; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.wordmark, .language-switch, .menu-button { color: var(--paper-pale); text-decoration: none; }
.wordmark { font-size: 0.63rem; opacity: 0.82; }
.topbar__right { display: flex; align-items: center; gap: 1rem; }
.language-switch { color: var(--amber); }
.menu-button { display: none; border: 1px solid var(--line-light); padding: 0.55rem 0.7rem; color: var(--paper-pale); background: transparent; }
.hero-nav { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 0.9rem; }
.hero-nav a { color: rgba(245, 243, 238, 0.68); text-decoration: none; font-family: var(--mono); font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-nav a:hover { color: var(--amber); }

.hero-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; min-height: 67svh; padding: 4rem 0 3rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-deck { max-width: 35rem; margin-bottom: 1.6rem; color: rgba(245, 243, 238, 0.82); font-size: clamp(1.12rem, 1.7vw, 1.42rem); line-height: 1.38; }
.hero-note { max-width: 35rem; margin-bottom: 0; color: rgba(245, 243, 238, 0.55); font-size: 0.91rem; }

.hero-instrument { position: relative; min-height: 440px; display: grid; place-items: center; }
.instrument-label { position: absolute; color: var(--amber); font-size: 0.62rem; }
.instrument-label--top { top: 3%; left: 8%; }
.instrument-label--bottom { right: 7%; bottom: 5%; color: var(--mint); }
.dial--hero { width: min(100%, 490px); }
.dial-face { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(245, 243, 238, 0.36); border-radius: 50%; background: rgba(10, 23, 40, 0.47); box-shadow: inset 0 0 0 1.2rem rgba(10, 23, 40, 0.2), inset 0 0 0 1.35rem rgba(244, 201, 93, 0.08), 0 0 0 0.8rem rgba(244, 201, 93, 0.05), 0 1.8rem 4rem rgba(0, 0, 0, 0.24); }
.dial-face::before, .dial-face::after { position: absolute; content: ""; inset: 9%; border: 1px solid rgba(127, 185, 177, 0.26); border-radius: 50%; }
.dial-face::after { inset: 19%; border-color: rgba(216, 84, 75, 0.2); }
.dial-grid { position: absolute; inset: 0; opacity: 0.35; background-image: linear-gradient(90deg, transparent 49.8%, rgba(245, 243, 238, 0.18) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgba(245, 243, 238, 0.18) 50%, transparent 50.2%); }
.dial-tick { position: absolute; inset: 1.05rem; transform: rotate(calc(var(--tick) * 360deg / var(--tick-count))); }
.dial-tick::before { position: absolute; top: 0; left: calc(50% - 1px); width: 2px; height: 0.75rem; content: ""; background: rgba(245, 243, 238, 0.8); }
.dial-tick:nth-of-type(5n)::before { width: 3px; height: 1.25rem; background: var(--amber); }
.dial-hand { position: absolute; bottom: 50%; left: 50%; z-index: 2; width: 3px; height: 42%; transform: translateX(-50%) rotate(var(--angle)); transform-origin: 50% 100%; transition: opacity 300ms ease, filter 300ms ease; }
.dial-hand::before { position: absolute; inset: 0 0 auto; height: 100%; content: ""; border-radius: 50% 50% 0 0; background: var(--red); box-shadow: 0 0 0 1px rgba(216, 84, 75, 0.14), 0 0 1rem rgba(216, 84, 75, 0.26); }
.dial-hand--lift::before { background: var(--mint); box-shadow: 0 0 0 1px rgba(127, 185, 177, 0.14), 0 0 1rem rgba(127, 185, 177, 0.26); }
.dial-hand span { position: absolute; bottom: -0.1rem; left: 50%; width: 0.8rem; height: 0.8rem; transform: translateX(-50%); border: 2px solid var(--paper-pale); border-radius: 50%; background: var(--amber); }
.dial-center { position: absolute; top: 50%; left: 50%; z-index: 5; width: 1.1rem; height: 1.1rem; transform: translate(-50%, -50%); border: 3px solid var(--paper-pale); border-radius: 50%; background: var(--amber); }
.dial-readout { position: absolute; top: 50%; left: 50%; z-index: 4; display: grid; transform: translate(-50%, -50%); place-items: center; pointer-events: none; }
.dial-readout b { color: var(--paper-pale); font-family: var(--display); font-size: clamp(3.2rem, 6vw, 5.7rem); letter-spacing: -0.08em; line-height: 0.82; }
.dial-readout small { margin-top: 0.7rem; color: var(--amber); font-family: var(--mono); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.08em; }
.instrument-legend { position: absolute; right: 7%; bottom: 18%; display: grid; gap: 0.35rem; color: rgba(245, 243, 238, 0.62); font-size: 0.58rem; }
.legend-dot { display: inline-block; width: 0.48rem; height: 0.48rem; margin-right: 0.35rem; border-radius: 50%; background: var(--red); }
.legend-dot--lift, .legend-dot--mint { background: var(--mint); }
.legend-dot--blue { background: var(--blue); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.hero-stat { display: grid; gap: 0.6rem; min-height: 7.5rem; padding: 1rem 1rem 0.95rem 0; border-right: 1px solid var(--line-light); }
.hero-stat:not(:first-child) { padding-left: 1rem; }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { font-family: var(--display); font-size: clamp(1.55rem, 3.2vw, 3rem); line-height: 0.9; letter-spacing: -0.07em; }
.hero-stat span { max-width: 16rem; color: rgba(245, 243, 238, 0.64); font-family: var(--mono); font-size: 0.61rem; line-height: 1.42; text-transform: uppercase; letter-spacing: 0.035em; }
.hero-stat--amber strong { color: var(--amber); }
.hero-stat--red strong { color: #ef8a7b; }
.hero-stat--mint strong { color: var(--mint); }
.hero-stat--blue strong { color: var(--blue); }
.scroll-cue { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.5rem; color: var(--paper-pale); text-decoration: none; }
.scroll-cue__line { display: inline-block; width: 3.6rem; height: 1px; background: var(--amber); }

.section { padding: var(--space) 0; }
.section--idea { background: var(--paper-pale); }
.idea-grid { display: grid; grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 8vw, 9rem); }
.section-lead h2 { margin-bottom: 0; }
.lead-copy { max-width: 55rem; margin-bottom: 2.4rem; font-size: clamp(1.4rem, 2.7vw, 2.3rem); line-height: 1.17; letter-spacing: -0.025em; }
.evidence-band { display: grid; grid-template-columns: 0.45rem 1fr; gap: 1.1rem; align-items: stretch; margin-bottom: 2.6rem; }
.evidence-band__mark { background: var(--red); }
.evidence-band p { max-width: 45rem; margin: 0; }
.prompt-line { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--line); }
.prompt-line__label { color: var(--red-deep); font-family: var(--mono); font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.05em; }
.prompt-line strong { font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.04; }

.section--release { color: var(--paper-pale); background: var(--ink-blue); }
.release-shell { display: grid; gap: 2.2rem; }
.section-heading-copy--release h2 { max-width: 13ch; color: var(--paper-pale); }
.section-heading-copy--release > p:last-child { max-width: 49rem; color: rgba(245, 243, 238, 0.72); }
.comparison-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line-light); background: var(--line-light); }
.comparison-card { min-height: 16rem; padding: 1.2rem 1.1rem 1.35rem; background: var(--ink-blue); }
.comparison-card .eyebrow { margin-bottom: 1.6rem; color: rgba(245, 243, 238, 0.58); }
.comparison-card strong { display: block; margin-bottom: 1rem; color: var(--amber); font-family: var(--display); font-size: clamp(2.6rem, 4.8vw, 5rem); line-height: 0.84; letter-spacing: -0.09em; }
.comparison-card p:last-child { margin: 0; color: rgba(245, 243, 238, 0.68); font-size: 0.96rem; }
.comparison-card--official strong { color: var(--mint); }
.comparison-card--delta strong { color: #ef8a7b; }
.comparison-card--quarter strong { color: var(--blue); }
.release-caveat { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0; padding: 1.05rem 1.2rem; border-left: 4px solid var(--amber); color: rgba(245, 243, 238, 0.78); background: rgba(10, 23, 40, 0.32); font-family: var(--mono); font-size: 0.62rem; line-height: 1.5; text-transform: uppercase; }

.section--clock { background: var(--paper); }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) 12rem; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading-copy { max-width: 54rem; }
.section-heading-copy h2 { max-width: 10ch; }
.section-heading-copy p:last-child { max-width: 49rem; margin-bottom: 0; font-size: 1.2rem; }
.clock-stamp { display: grid; align-content: start; justify-items: end; color: var(--red-deep); text-align: right; }
.clock-stamp b { display: block; margin: 0.3rem 0; color: var(--red); font-family: var(--display); font-size: 7rem; line-height: 0.75; letter-spacing: -0.1em; }
.clock-stamp small { font-size: 0.62rem; }

.nowcast-panel { position: relative; padding: 1.4rem 1.5rem 1.2rem; color: var(--paper-pale); background: var(--ink-blue); }
.nowcast-readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.nowcast-readout > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem 0.75rem; }
.nowcast-readout .eyebrow { flex-basis: 100%; margin-bottom: 0; color: var(--mint); }
.nowcast-readout strong { color: var(--amber); font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 0.86; letter-spacing: -0.08em; }
.nowcast-readout > div:nth-child(2) strong { color: var(--paper-pale); font-size: clamp(1.7rem, 3vw, 3rem); letter-spacing: -0.06em; }
.readout-unit { color: rgba(245, 243, 238, 0.55); font-size: 0.57rem; }
.sensitivity-track { position: relative; height: 2.8rem; margin: 1.5rem 0 0.75rem; border-top: 1px solid rgba(245, 243, 238, 0.34); border-bottom: 1px solid rgba(245, 243, 238, 0.18); }
.sensitivity-track::before { position: absolute; top: 0.5rem; bottom: 0.5rem; left: 50%; width: 1px; content: ""; background: var(--amber); }
.sensitivity-zero { position: absolute; top: 0.2rem; left: 50%; height: 0.45rem; border-left: 1px solid var(--amber); }
.sensitivity-range { position: absolute; top: 0.82rem; left: 15%; width: 70%; height: 0.85rem; background: rgba(216, 84, 75, 0.63); }
.sensitivity-marker { position: absolute; top: 0.42rem; left: 38%; width: 1.65rem; height: 1.65rem; transform: translateX(-50%); border: 3px solid var(--amber); border-radius: 50%; background: var(--ink-blue); box-shadow: 0 0 0 0.3rem rgba(244, 201, 93, 0.12); }
.nowcast-status { margin: 0; color: rgba(245, 243, 238, 0.84); font-size: 1rem; }
.nowcast-note { margin: 0.9rem 0 0; color: rgba(245, 243, 238, 0.57); font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; }

.hand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.hand-card { position: relative; display: flex; min-height: 30rem; flex-direction: column; padding: 1.1rem 1rem 1.1rem; border-top: 5px solid var(--red); background: var(--paper-pale); transition: opacity 220ms ease, background-color 220ms ease; }
.hand-card--lift { border-color: var(--mint-deep); }
.hand-card.is-stopped { opacity: 0.58; background: rgba(245, 243, 238, 0.5); }
.hand-card.is-stopped .hand-card__detail { opacity: 0.76; }
.hand-card__head { display: flex; min-height: 7rem; flex-direction: column; justify-content: space-between; gap: 1rem; }
.hand-card__head h3 { margin-bottom: 0; }
.hand-toggle { display: inline-flex; align-items: center; align-self: flex-start; gap: 0.42rem; border: 1px solid var(--line); padding: 0.4rem 0.55rem; color: var(--text); background: transparent; font-size: 0.55rem; }
.hand-toggle:hover { border-color: var(--red); }
.hand-card--lift .hand-toggle:hover { border-color: var(--mint-deep); }
.hand-toggle__dot { width: 0.52rem; height: 0.52rem; border-radius: 50%; background: var(--red); }
.hand-card--lift .hand-toggle__dot { background: var(--mint-deep); }
.hand-card.is-stopped .hand-toggle__dot { background: var(--muted); }
.hand-card.is-stopped .hand-toggle { color: var(--muted); }
.hand-card__measure { display: grid; gap: 0.3rem; margin: 2rem 0 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.hand-card__measure strong { font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); line-height: 0.85; letter-spacing: -0.08em; }
.hand-card--drag .hand-card__measure strong { color: var(--red-deep); }
.hand-card--lift .hand-card__measure strong { color: var(--mint-deep); }
.hand-card__measure > span:nth-child(2) { color: var(--muted); font-family: var(--mono); font-size: 0.59rem; line-height: 1.35; text-transform: uppercase; }
.hand-sensitivity { color: var(--text-soft); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.04em; text-transform: uppercase; }
.direction { display: inline-flex; align-items: center; margin-top: 0.35rem; color: var(--red-deep); font-size: 0.58rem; }
.direction i { display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.35rem; border-radius: 50%; background: var(--red); }
.direction--lift { color: var(--mint-deep); }
.direction--lift i { background: var(--mint-deep); }
.hand-card__detail { margin-top: auto; font-size: 0.94rem; transition: opacity 220ms ease; }
.hand-card__detail p { margin-bottom: 1rem; }
.hand-card__reading { padding-top: 0.8rem; border-top: 1px solid var(--line); }
.hand-card__reading .eyebrow { margin-bottom: 0.28rem; color: var(--red-deep); }
.hand-card--lift .hand-card__reading .eyebrow { color: var(--mint-deep); }
.section-note { margin: 1rem 0 0; color: var(--muted); font-family: var(--mono); font-size: 0.65rem; line-height: 1.45; text-transform: uppercase; }

.section--split { color: var(--paper-pale); background: var(--ink-blue); }
.section-heading-copy--wide h2 { max-width: 13ch; color: var(--paper-pale); }
.section-heading-copy--wide > p:last-child { color: rgba(245, 243, 238, 0.7); }
.split-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; border: 1px solid var(--line-light); background: var(--line-light); }
.split-card { min-height: 22rem; padding: 1.3rem 1.3rem 1.6rem; background: var(--ink-blue); }
.split-card__tag { margin-bottom: 3.5rem; color: rgba(245, 243, 238, 0.55); font-family: var(--mono); font-size: 0.59rem; text-transform: uppercase; }
.split-card h3 { color: var(--paper-pale); }
.split-card strong { display: block; max-width: 15rem; margin-bottom: 0.7rem; color: var(--amber); font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.split-card p { color: rgba(245, 243, 238, 0.68); font-size: 1rem; }
.mini-bar { height: 1.5rem; margin-top: 2.5rem; border: 1px solid var(--line-light); }
.mini-bar span { display: block; width: var(--bar); height: 100%; background: var(--red); }
.split-card--investment .mini-bar span { background: var(--brass); }
.split-card--external .mini-bar span { background: var(--mint); }
.energy-witness { display: grid; grid-template-columns: 1fr 15rem; gap: 2rem; align-items: end; margin-top: 2px; padding: 1.3rem; border: 1px solid var(--line-light); background: rgba(10, 23, 40, 0.28); }
.energy-witness p { max-width: 55rem; margin: 0; color: rgba(245, 243, 238, 0.72); }
.energy-witness .eyebrow { color: var(--mint); }
.energy-witness > strong { color: var(--mint); font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 0.8; letter-spacing: -0.08em; text-align: right; }
.energy-witness small { display: block; margin-top: 0.7rem; color: rgba(245, 243, 238, 0.55); font-family: var(--mono); font-size: 0.54rem; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.05em; }

.section--method { background: var(--paper-soft); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem clamp(2rem, 8vw, 8rem); }
.method-intro h2 { max-width: 11ch; }
.method-intro > p { max-width: 42rem; font-size: 1.18rem; }
.formula { margin-top: 2.4rem; padding: 1rem 0 0.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.formula strong { display: block; max-width: 36rem; font-family: var(--display); font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.05; }
.method-steps { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.method-steps li { display: grid; grid-template-columns: 6.3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.step-label { color: var(--red-deep); font-size: 0.6rem; }
.method-steps p { margin: 0; font-size: 1.04rem; }
.method-warning { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1fr); gap: 0.8rem 2rem; padding: 1.3rem 0 0; border-top: 1px solid var(--line); }
.method-warning p { margin: 0; }
.method-warning .eyebrow { margin: 0; color: var(--red-deep); }
.method-source-note { grid-column: 2; margin-top: 1rem !important; color: var(--muted); font-family: var(--mono); font-size: 0.63rem; line-height: 1.45; text-transform: uppercase; }

.section--sources { background: var(--paper-pale); }
.sources-shell { display: grid; gap: 2rem; }
.sources-heading { display: grid; grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.45fr); gap: 2rem; align-items: start; }
.sources-heading h2 { margin-bottom: 0; }
.sources-heading > p { max-width: 45rem; margin: 0.5rem 0 0; font-size: 1.12rem; }
.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.source-card { min-height: 20rem; padding: 1.1rem 1rem 1.2rem; border-top: 4px solid var(--blue); background: var(--paper); }
.source-card--official-result { border-color: var(--mint-deep); }
.source-card--context { border-color: var(--brass); }
.source-card--energy { border-color: var(--mint-deep); }
.source-card--calendar { border-color: var(--red); }
.source-card__topline { display: flex; justify-content: space-between; gap: 0.6rem; color: var(--muted); }
.source-card__topline .eyebrow { margin-bottom: 0; color: var(--red-deep); font-size: 0.53rem; }
.source-card__org { font-size: 0.54rem; text-align: right; }
.source-card h3 { margin-top: 2rem; font-size: 1.35rem; }
.source-card p { font-size: 0.92rem; }
.source-card__period { margin-top: auto; color: var(--muted); font-size: 0.57rem; }
.source-card .text-link { display: inline-block; margin-top: 0.7rem; }
.limits-block { display: grid; grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.45fr); gap: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.limits-block ul { display: grid; gap: 0.5rem; padding: 0; margin: 0; list-style: none; columns: 2; column-gap: 2rem; }
.limits-block li { break-inside: avoid; padding-left: 1rem; border-left: 2px solid var(--red); font-size: 0.94rem; }
.sources-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 0.61rem; text-transform: uppercase; }

.site-footer { padding: 2.3rem 0 2.8rem; color: var(--paper-pale); background: var(--ink-deep); }
.footer-grid { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.footer-grid p { margin: 0; color: rgba(245, 243, 238, 0.62); font-family: var(--text-font); font-size: 1rem; text-transform: none; letter-spacing: 0; }
.footer-grid .eyebrow { margin-bottom: 0.45rem; font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; }
.footer-grid a { color: var(--amber); }
.back-top { display: inline-flex; gap: 0.5rem; color: var(--paper-pale); text-decoration: none; }

body.has-js .back-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0.7rem 0.8rem; color: var(--ink-deep); background: var(--amber); box-shadow: 0 0.4rem 1.5rem rgba(10, 23, 40, 0.2); }
body.has-js .back-top.is-visible { display: inline-flex; }

@media (max-width: 1080px) {
  .hand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hand-card { min-height: 28rem; }
  .comparison-grid { grid-template-columns: repeat(2, 1fr); }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .hero-layout { grid-template-columns: 1fr; gap: 1rem; min-height: unset; padding-top: 4.4rem; }
  .hero-copy { max-width: 42rem; }
  .hero-instrument { min-height: 390px; margin-top: 1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .hero-stat:nth-child(3) { padding-left: 0; }
  .idea-grid, .method-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading-row { grid-template-columns: 1fr; }
  .clock-stamp { justify-items: start; text-align: left; }
  .clock-stamp b { font-size: 5rem; }
  .split-grid { grid-template-columns: 1fr; }
  .split-card { min-height: 17rem; }
  .split-card__tag { margin-bottom: 1.8rem; }
  .method-warning { grid-template-columns: 1fr; gap: 0.35rem; }
  .method-source-note { grid-column: auto; }
  .sources-heading, .limits-block { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  h1 { max-width: 9ch; font-size: clamp(3.1rem, 15vw, 5.4rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 4.4rem); }
  .hero-shell { padding-top: 0.8rem; }
  .hero-nav { display: none; flex-direction: column; align-items: flex-start; padding: 0.8rem 0; border-bottom: 1px solid var(--line-light); }
  body.has-js .menu-button { display: inline-block; }
  body.has-js .hero-nav.is-open { display: flex; }
  .hero-layout { padding-top: 3.5rem; }
  .hero-instrument { min-height: 310px; }
  .instrument-label--top { left: 0; }
  .instrument-label--bottom { right: 0; }
  .instrument-legend { right: 0; bottom: 13%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { min-height: 7.1rem; padding-right: 0.6rem; }
  .hero-stat:not(:first-child) { padding-left: 0.6rem; }
  .hero-stat strong { font-size: 1.75rem; }
  .hero-stat span { font-size: 0.53rem; }
  .prompt-line { grid-template-columns: 1fr; gap: 0.4rem; }
  .nowcast-readout { grid-template-columns: 1fr; }
  .nowcast-readout > div:nth-child(2) { padding-top: 0.8rem; border-top: 1px solid rgba(245, 243, 238, 0.18); }
  .hand-grid, .source-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .hand-card { min-height: 0; }
  .hand-card__head { min-height: 0; }
  .hand-card__measure { margin-top: 1.6rem; }
  .energy-witness { grid-template-columns: 1fr; }
  .energy-witness > strong { text-align: left; }
  .limits-block ul { columns: 1; }
  .sources-footer, .footer-grid { align-items: flex-start; flex-direction: column; }
  .back-top { position: static; }
  body.has-js .back-top { position: fixed; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
