@font-face {
  font-family: "Fraunces";
  src: url("/seismic-year-2026/assets/fraunces-700-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Fraunces";
  src: url("/seismic-year-2026/assets/fraunces-700-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-024F;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/seismic-year-2026/assets/ibmplexsans-400-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/seismic-year-2026/assets/ibmplexsans-400-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-024F;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/seismic-year-2026/assets/ibmplexsans-600-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/seismic-year-2026/assets/ibmplexsans-600-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-024F;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/seismic-year-2026/assets/ibmplexmono-400-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/seismic-year-2026/assets/ibmplexmono-400-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-024F;
}

:root {
  --coal: #101619;
  --coal-2: #182126;
  --ink: #1b252a;
  --paper: #ece6db;
  --paper-2: #f6f2ea;
  --rule: rgba(27, 37, 42, 0.18);
  --red: #e15042;
  --red-dark: #b93832;
  --amber: #d9a45e;
  --teal: #51beb5;
  --muted: #607076;
  --white-muted: #c3d0cf;
  --shadow: 0 22px 70px rgba(16, 22, 25, 0.12);
  --display: "Fraunces", Georgia, serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::selection {
  background: var(--red);
  color: var(--paper-2);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--paper-2);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 64px);
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--paper-2);
  text-decoration: none;
}

.wordmark-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(246, 242, 234, 0.42);
  border-radius: 50%;
  color: var(--amber);
  font-size: 0.75rem;
}

.wordmark-year {
  color: var(--amber);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.site-nav a {
  color: var(--white-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--paper-2);
}

.language-link {
  padding: 6px 10px;
  border: 1px solid rgba(246, 242, 234, 0.34);
  border-radius: 999px;
  color: var(--paper-2) !important;
}

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  padding: 144px clamp(20px, 5vw, 84px) 64px;
  background:
    radial-gradient(circle at 75% 40%, rgba(81, 190, 181, 0.09), transparent 30%),
    linear-gradient(135deg, #0d1316 0%, #101619 52%, #172125 100%);
  color: var(--paper-2);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(246, 242, 234, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 242, 234, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.hero-meta,
.eyebrow,
.kicker,
.micro-label,
.source-tag,
.chart-head,
.hero-topline {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(246, 242, 234, 0.18);
  color: var(--white-muted);
}

.hero-topline strong {
  color: var(--amber);
  font-weight: 400;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(34px, 5vw, 88px);
  align-items: center;
  min-height: 700px;
  padding-top: 42px;
}

.kicker {
  margin: 0 0 20px;
  color: var(--teal);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(4.2rem, 9.3vw, 9.4rem);
  line-height: 0.98;
}

.standfirst {
  max-width: 650px;
  margin-bottom: 28px;
  color: #d5dfdd;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.48;
}

.hero-meta {
  max-width: 540px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 242, 234, 0.22);
  color: var(--white-muted);
}

.hero-meta span {
  display: inline-block;
  margin-right: 14px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.canvas-shell {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(246, 242, 234, 0.23);
  background: #0b1012;
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.28);
}

.hero-canvas-shell {
  min-height: 520px;
}

.seismic-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.hero-canvas {
  min-height: 520px;
}

.canvas-note {
  position: absolute;
  right: 18px;
  bottom: 16px;
  max-width: 210px;
  color: rgba(246, 242, 234, 0.63);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

.canvas-corner {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canvas-legend {
  position: absolute;
  right: 18px;
  top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(246, 242, 234, 0.72);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.red { background: var(--red); }
.legend-dot.amber { background: var(--amber); }
.legend-dot.teal { background: var(--teal); }

.hero-annotation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 18px;
  color: var(--white-muted);
  font-size: 0.88rem;
}

.hero-annotation p {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-link::after {
  color: var(--amber);
  content: "↘";
  font-size: 1.1rem;
}

.paper-section {
  background: var(--paper);
  color: var(--ink);
}

.paper-section.light {
  background: var(--paper-2);
}

.dark-section {
  background: var(--coal);
  color: var(--paper-2);
}

.rust-section {
  background: #2c2320;
  color: var(--paper-2);
}

.section-inner {
  padding: clamp(76px, 10vw, 148px) clamp(20px, 5vw, 84px);
}

.claim-section .section-inner {
  padding-bottom: clamp(72px, 9vw, 124px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--red-dark);
}

.dark-section .eyebrow,
.rust-section .eyebrow {
  color: var(--amber);
}

h2 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.4vw, 6rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.1;
}

.section-lede {
  max-width: 730px;
  margin-bottom: 48px;
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  line-height: 1.55;
}

.dark-section .section-lede,
.rust-section .section-lede {
  color: #c7d0ce;
}

.section-lede code,
.methodology code {
  padding: 0.15em 0.35em;
  background: rgba(81, 190, 181, 0.12);
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 0.88em;
}

.dark-section .section-lede code,
.rust-section .section-lede code {
  background: rgba(217, 164, 94, 0.13);
  color: var(--amber);
}

.claim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.claim-stat {
  min-width: 0;
  padding: 28px 24px 26px 0;
  border-right: 1px solid var(--rule);
}

.claim-stat:last-child {
  border-right: 0;
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  line-height: 0.95;
}

.stat-value.red { color: var(--red-dark); }
.stat-value.teal { color: #208b83; }
.stat-value.amber { color: #a56d26; }

.stat-label {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.stat-detail {
  display: block;
  max-width: 250px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.9rem;
}

.threshold-section .section-inner {
  padding-top: clamp(72px, 9vw, 128px);
}

.threshold-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.threshold-viz {
  min-width: 0;
}

.threshold-copy {
  min-width: 0;
  padding-top: 3px;
}

.threshold-copy h2 {
  max-width: 520px;
}

.threshold-controls {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid rgba(246, 242, 234, 0.2);
  background: rgba(246, 242, 234, 0.035);
}

.control-label {
  display: block;
  margin-bottom: 16px;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.range-wrap {
  display: grid;
  gap: 10px;
}

.range-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.range-value strong {
  color: var(--amber);
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
}

.range-value span {
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-align: right;
  text-transform: uppercase;
}

input[type="range"] {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--red);
  cursor: ew-resize;
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.mode-control {
  margin-top: 28px;
}

.mode-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mode-button,
.reset-button {
  min-height: 44px;
  border: 1px solid rgba(246, 242, 234, 0.24);
  border-radius: 0;
  background: transparent;
  color: var(--paper-2);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mode-button[aria-pressed="true"] {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--coal);
}

.mode-descriptor {
  min-height: 40px;
  margin: 10px 0 0;
  color: var(--white-muted);
  font-size: 0.85rem;
}

.threshold-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.threshold-result {
  padding-top: 14px;
  border-top: 1px solid rgba(246, 242, 234, 0.23);
}

.threshold-result strong {
  display: block;
  color: var(--paper-2);
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
  line-height: 0.95;
}

.threshold-result span {
  display: block;
  margin-top: 8px;
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.threshold-footnote {
  margin: 26px 0 0;
  color: var(--white-muted);
  font-size: 0.88rem;
}

.reset-button {
  width: 100%;
  margin-top: 18px;
  color: var(--amber);
}

.reset-button:hover,
.mode-button:hover:not([aria-pressed="true"]) {
  border-color: var(--amber);
}

.viz-caption {
  margin: 14px 0 0;
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.5;
}

.energy-section .section-inner {
  padding-top: clamp(78px, 10vw, 152px);
}

.energy-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: end;
  margin-bottom: 68px;
}

.energy-punch {
  padding: 25px 0 0;
  border-top: 1px solid rgba(246, 242, 234, 0.3);
}

.energy-punch strong {
  display: block;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 12rem);
  line-height: 0.78;
}

.energy-punch span {
  display: block;
  max-width: 260px;
  margin-top: 20px;
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.energy-note {
  max-width: 720px;
  margin: -20px 0 56px auto;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(217, 164, 94, 0.07);
  color: #d2dcda;
  font-size: 0.88rem;
}

.top-list {
  display: grid;
  gap: 8px;
}

.top-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1.2fr) minmax(100px, 1fr) 72px;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(246, 242, 234, 0.16);
}

.top-rank,
.top-mag,
.top-share {
  font-family: var(--mono);
  font-size: 0.68rem;
}

.top-rank {
  color: var(--amber);
}

.top-place {
  min-width: 0;
  color: var(--paper-2);
  font-size: 0.95rem;
  line-height: 1.3;
}

.top-place a {
  color: inherit;
  text-decoration-color: rgba(246, 242, 234, 0.36);
}

.top-bar {
  height: 12px;
  overflow: hidden;
  background: rgba(246, 242, 234, 0.1);
}

.top-bar-fill {
  height: 100%;
  min-width: 2px;
  background: var(--red);
}

.top-bar-fill.amber { background: var(--amber); }
.top-bar-fill.teal { background: var(--teal); }
.top-bar-fill.ink { background: #8d9a97; }

.bar-scale-0 { width: 0%; }
.bar-scale-5 { width: 5%; }
.bar-scale-10 { width: 10%; }
.bar-scale-15 { width: 15%; }
.bar-scale-20 { width: 20%; }
.bar-scale-25 { width: 25%; }
.bar-scale-30 { width: 30%; }
.bar-scale-35 { width: 35%; }
.bar-scale-40 { width: 40%; }
.bar-scale-45 { width: 45%; }
.bar-scale-50 { width: 50%; }
.bar-scale-55 { width: 55%; }
.bar-scale-60 { width: 60%; }
.bar-scale-65 { width: 65%; }
.bar-scale-70 { width: 70%; }
.bar-scale-75 { width: 75%; }
.bar-scale-80 { width: 80%; }
.bar-scale-85 { width: 85%; }
.bar-scale-90 { width: 90%; }
.bar-scale-95 { width: 95%; }
.bar-scale-100 { width: 100%; }

.top-share {
  color: var(--white-muted);
  text-align: right;
}

.top-caption {
  margin: 18px 0 0;
  color: var(--white-muted);
  font-family: var(--mono);
  font-size: 0.69rem;
  line-height: 1.5;
}

.months-section .section-inner {
  padding-top: clamp(78px, 10vw, 148px);
}

.month-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 44px 0 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.month-legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.legend-line {
  display: inline-block;
  width: 24px;
  height: 5px;
  background: var(--ink);
}

.legend-line.energy {
  background: var(--red);
}

.month-table {
  border-top: 1px solid var(--rule);
}

.month-row {
  display: grid;
  grid-template-columns: 62px minmax(150px, 0.65fr) minmax(150px, 1.25fr) 150px;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.month-name {
  font-family: var(--display);
  font-size: 1.25rem;
}

.month-bar {
  position: relative;
  height: 18px;
  background: rgba(27, 37, 42, 0.08);
}

.month-bar-fill {
  height: 100%;
  min-width: 2px;
  background: var(--ink);
}

.month-bar.energy .month-bar-fill {
  background: var(--red);
}

.month-value {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-align: right;
}

.month-value strong {
  color: var(--ink);
  font-weight: 600;
}

.month-value span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.64rem;
}

.month-table-caption {
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.boundary-section .section-inner {
  padding-top: clamp(74px, 9vw, 138px);
  padding-bottom: clamp(74px, 9vw, 138px);
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: var(--rule);
}

.boundary-card {
  min-width: 0;
  padding: 30px clamp(22px, 4vw, 44px) 36px 0;
  background: var(--paper-2);
}

.boundary-card + .boundary-card {
  padding-left: clamp(22px, 4vw, 44px);
}

.boundary-card h3 {
  color: var(--red-dark);
}

.boundary-card:last-child h3 {
  color: #207f78;
}

.boundary-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.boundary-list li {
  position: relative;
  padding-left: 24px;
}

.boundary-list li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.boundary-card:last-child .boundary-list li::before {
  background: var(--teal);
}

.takeaway {
  max-width: 970px;
  margin: 76px auto 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  line-height: 1.08;
}

.source-section {
  background: #d8d2c7;
}

.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.methodology {
  max-width: 500px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.92rem;
}

.methodology-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-cards {
  display: grid;
  gap: 1px;
  background: var(--rule);
}

.source-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
  padding: 22px 0;
  background: #d8d2c7;
}

.source-tag {
  color: var(--red-dark);
}

.source-card h3 {
  margin-bottom: 8px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.source-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.source-card a {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-decoration-color: rgba(27, 37, 42, 0.3);
}

.source-accessed {
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.closing-section {
  background: var(--coal);
  color: var(--paper-2);
}

.closing-section .section-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: 42px;
  align-items: end;
  padding-top: clamp(92px, 12vw, 190px);
  padding-bottom: clamp(84px, 11vw, 168px);
}

.closing-section h2 {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--paper-2);
}

.closing-note {
  max-width: 300px;
  margin: 0 0 8px auto;
  color: var(--white-muted);
  font-size: 1rem;
}

.site-footer {
  position: relative;
  background: #0b1012;
  color: var(--white-muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  padding: 38px clamp(20px, 5vw, 84px) 42px;
}

.footer-credit,
.footer-status,
.footer-privacy {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.55;
}

.footer-credit a {
  color: var(--paper-2);
}

.footer-status {
  max-width: 610px;
  margin-top: 9px;
}

.footer-privacy {
  margin-top: 9px;
  color: rgba(195, 208, 207, 0.62);
}

.footer-links {
  display: grid;
  gap: 12px;
  justify-items: end;
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--paper-2);
}

.back-top {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(246, 242, 234, 0.28);
  background: var(--coal);
  color: var(--paper-2);
  text-decoration: none;
  transition: opacity 160ms ease, visibility 160ms ease, background 160ms ease;
}

.js-ready .back-top {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.back-top:hover {
  background: var(--red-dark);
}

.back-top.is-fixed {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.back-top.is-fixed.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.noscript-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.fallback-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.fallback-table th,
.fallback-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.fallback-table th {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .site-nav a:not(.language-link) {
    display: none;
  }

  .hero-grid,
  .threshold-layout,
  .energy-header,
  .source-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 780px;
    margin-left: auto;
  }

  .threshold-copy {
    max-width: 720px;
  }

  .energy-punch {
    max-width: 500px;
  }

  .energy-note {
    margin-left: 0;
  }

  .methodology {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .wordmark span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .hero-topline {
    gap: 18px;
    font-size: 0.58rem;
  }

  h1 {
    font-size: clamp(3.7rem, 16vw, 7rem);
    line-height: 1;
  }

  .hero-grid {
    gap: 48px;
    padding-top: 34px;
  }

  .hero-canvas-shell,
  .hero-canvas,
  .seismic-canvas {
    min-height: 360px;
  }

  .hero-annotation {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .claim-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .claim-stat,
  .claim-stat:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .claim-stat:last-child {
    border-bottom: 0;
  }

  .boundary-card,
  .boundary-card + .boundary-card {
    padding: 26px 20px 32px 0;
  }

  .boundary-card + .boundary-card {
    padding-left: 0;
    border-top: 1px solid var(--rule);
  }

  .top-row {
    grid-template-columns: 28px minmax(0, 1fr) 58px;
    gap: 10px;
  }

  .top-bar {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .top-share {
    font-size: 0.62rem;
  }

  .month-row {
    grid-template-columns: 44px minmax(0, 1fr) 92px;
    gap: 10px;
  }

  .month-bar.count {
    grid-column: 2;
  }

  .month-bar.energy {
    grid-column: 2;
    grid-row: 3;
  }

  .month-value {
    grid-column: 3;
    grid-row: 1 / 4;
  }

  .month-row::after {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    color: var(--muted);
    content: "";
  }

  .source-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .footer-inner,
  .closing-section .section-inner {
    grid-template-columns: 1fr;
  }

  .footer-links,
  .closing-note {
    justify-items: start;
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 440px) {
  body {
    font-size: 15px;
  }

  .hero,
  .section-inner,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-topline {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .canvas-corner,
  .canvas-legend {
    font-size: 0.56rem;
  }

  .canvas-note {
    right: 12px;
    bottom: 12px;
    max-width: 150px;
    font-size: 0.55rem;
  }

  .threshold-controls {
    padding: 18px;
  }

  .threshold-results {
    grid-template-columns: 1fr;
  }

  .threshold-result strong {
    font-size: 3rem;
  }

  .energy-punch strong {
    font-size: 5.2rem;
  }

  .top-row {
    grid-template-columns: 24px minmax(0, 1fr) 54px;
  }

  .top-place {
    font-size: 0.87rem;
  }

  .month-row {
    grid-template-columns: 38px minmax(0, 1fr) 84px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .back-top,
  .threshold-controls,
  .text-link {
    display: none !important;
  }

  .hero,
  .dark-section,
  .rust-section,
  .closing-section {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
  }
}
