:root {
  --paper: #eee8d8;
  --paper-bright: #faf5e8;
  --paper-deep: #d9cfb9;
  --ink: #11170f;
  --ink-soft: #263226;
  --muted: #687263;
  --muted-light: #9da592;
  --night: #10150f;
  --night-soft: #171d15;
  --night-deep: #090c08;
  --solar: #f8b62d;
  --solar-bright: #ffd260;
  --solar-deep: #a96800;
  --teal: #1d6c70;
  --teal-light: #79b8b7;
  --blue: #3f7181;
  --green: #4c7259;
  --coral: #bd5b38;
  --purple: #716183;
  --line: rgba(17, 23, 15, 0.15);
  --line-strong: rgba(17, 23, 15, 0.28);
  --dark-line: rgba(250, 245, 232, 0.15);
  --dark-line-strong: rgba(250, 245, 232, 0.27);
  --dark-muted: rgba(250, 245, 232, 0.62);
  --shadow: 0 35px 90px rgba(18, 20, 13, 0.11);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --number: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  --shell: min(1400px, calc(100vw - 96px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 15%, rgba(255, 255, 255, 0.5), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection {
  color: var(--night);
  background: var(--solar);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
blockquote,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

strong,
b {
  font-weight: 600;
}

em {
  color: var(--solar-deep);
  font-style: normal;
}

.chapter-dark em {
  color: var(--solar);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--night);
  background: var(--solar-bright);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 130;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--solar);
  transform-origin: left;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 78px;
  padding: 0 max(32px, calc((100vw - 1450px) / 2));
  color: var(--paper-bright);
  border-bottom: 1px solid transparent;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(238, 232, 216, 0.91);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 180px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--solar);
}

.brand-mark::before {
  width: 1px;
  height: 46px;
}

.brand-mark::after {
  width: 46px;
  height: 1px;
}

.brand-mark i {
  width: 16px;
  height: 16px;
  background: var(--solar);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(248, 182, 45, 0.12);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.brand-text small {
  margin-top: 3px;
  color: currentColor;
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.17em;
  opacity: 0.66;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.site-nav a span {
  margin-right: 4px;
  color: var(--solar);
  font-family: var(--number);
  font-size: 9px;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.nav-toggle i {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle i::before,
.nav-toggle i::after {
  display: block;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] i::before {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] i::after {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 5vw;
  align-items: center;
  min-height: 100svh;
  padding: 132px max(48px, calc((100vw - 1400px) / 2)) 100px;
  overflow: hidden;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 77% 31%, rgba(248, 182, 45, 0.12), transparent 21rem),
    radial-gradient(circle at 8% 92%, rgba(63, 113, 129, 0.15), transparent 35rem),
    linear-gradient(125deg, #0b100b, #131a11 57%, #0a0d09);
  isolation: isolate;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -5;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(250, 245, 232, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 245, 232, 0.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 70% 50%, black, transparent 68%);
}

.hero-sun {
  position: absolute;
  top: 7%;
  right: -5%;
  z-index: -4;
  width: min(47vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.sun-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 39%;
  height: 39%;
  background:
    radial-gradient(circle at 40% 38%, #ffe6a3, var(--solar) 52%, #db8109 100%);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(248, 182, 45, 0.34),
    0 0 160px rgba(248, 182, 45, 0.14);
  transform: translate(-50%, -50%);
}

.sun-ring {
  position: absolute;
  border: 1px solid rgba(248, 182, 45, 0.22);
  border-radius: 50%;
}

.sun-ring-a {
  inset: 16%;
}

.sun-ring-b {
  inset: 3%;
  border-style: dashed;
  animation: orbit 38s linear infinite;
}

.sun-tick {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--solar);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(248, 182, 45, 0.09);
}

.sun-tick-a {
  top: 19%;
  right: 19%;
}

.sun-tick-b {
  bottom: 12%;
  left: 29%;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.hero-field {
  position: absolute;
  right: -6vw;
  bottom: -17vh;
  z-index: -3;
  width: 70vw;
  height: 50vh;
  opacity: 0.64;
  transform: rotate(-8deg) skewX(-18deg);
  transform-origin: center;
}

.field-row {
  position: relative;
  height: 12%;
  margin-top: 1.6%;
  background:
    repeating-linear-gradient(90deg, rgba(98, 155, 169, 0.2) 0 1px, transparent 1px 5.2%),
    linear-gradient(180deg, rgba(34, 69, 78, 0.64), rgba(10, 16, 13, 0.3));
  border: 1px solid rgba(109, 181, 196, 0.13);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.field-row::after {
  position: absolute;
  inset: 45% 0 auto;
  height: 1px;
  content: "";
  background: rgba(109, 181, 196, 0.13);
}

.field-row-b { margin-left: 5%; width: 96%; }
.field-row-c { margin-left: 11%; width: 91%; }
.field-row-d { margin-left: 18%; width: 85%; }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-top: 1rem;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 31px;
  color: rgba(250, 245, 232, 0.58);
  font-family: var(--number);
  font-size: 10px;
  letter-spacing: 0.17em;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--solar);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(248, 182, 45, 0.1);
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 33px;
  font-size: clamp(102px, 12.5vw, 196px);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.095em;
}

.hero-title span {
  display: block;
}

.hero-title .title-accent {
  position: relative;
  margin-left: 0.52em;
  color: var(--solar);
}

.hero-title .title-accent::after {
  position: absolute;
  right: 0.04em;
  bottom: 0.03em;
  left: 0.03em;
  height: 0.055em;
  content: "";
  background: var(--solar);
  transform: rotate(-1.2deg) scaleX(0.84);
  transform-origin: left;
}

.hero-deck {
  margin-bottom: 27px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.32;
  letter-spacing: -0.045em;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 36px;
  color: rgba(250, 245, 232, 0.62);
  font-size: 14px;
  line-height: 2;
}

.hero-intro strong {
  color: var(--solar-bright);
  font-weight: 500;
}

.read-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--paper-bright);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.read-link i {
  position: relative;
  width: 50px;
  height: 1px;
  background: currentColor;
  transition: width 220ms var(--ease);
}

.read-link i::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.read-link:hover i,
.read-link:focus-visible i {
  width: 70px;
}

.solar-dashboard {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: 28px;
  justify-self: end;
  color: var(--paper-bright);
  border: 1px solid rgba(250, 245, 232, 0.2);
  background:
    linear-gradient(145deg, rgba(29, 41, 26, 0.86), rgba(13, 18, 12, 0.91));
  box-shadow:
    20px 26px 0 rgba(248, 182, 45, 0.055),
    0 34px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(15px);
}

.solar-dashboard::before {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(250, 245, 232, 0.08);
  pointer-events: none;
}

.dashboard-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--dark-line);
}

.dashboard-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--solar);
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.dashboard-top h2 {
  max-width: 340px;
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.dashboard-stamp {
  padding: 4px 8px;
  color: var(--solar);
  border: 1px solid rgba(248, 182, 45, 0.4);
  font-size: 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transform: rotate(3deg);
}

.dashboard-hero {
  padding: 26px 0 19px;
}

.dashboard-number {
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: var(--solar);
}

.dashboard-number strong {
  font-family: var(--number);
  font-size: clamp(66px, 7vw, 98px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.dashboard-number small {
  color: var(--paper-bright);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.dashboard-hero p {
  margin: 9px 0 2px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.dashboard-hero > span {
  color: var(--dark-muted);
  font-size: 9px;
}

.capacity-ledger {
  padding: 17px 0;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  color: var(--dark-muted);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.ledger-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 49px;
  gap: 10px;
  align-items: center;
  margin-top: 9px;
  color: rgba(250, 245, 232, 0.7);
  font-size: 9px;
}

.ledger-row strong {
  color: var(--paper-bright);
  font-family: var(--number);
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ledger-track {
  height: 8px;
  overflow: hidden;
  background: rgba(250, 245, 232, 0.09);
}

.ledger-track i {
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--solar-deep), var(--solar));
}

.ledger-note {
  margin: 12px 0 0;
  color: rgba(250, 245, 232, 0.48);
  font-size: 8px;
  line-height: 1.65;
}

.dashboard-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  padding: 18px 0 14px;
}

.dashboard-facts div {
  min-width: 0;
}

.dashboard-facts span {
  display: block;
  margin-bottom: 7px;
  color: var(--dark-muted);
  font-size: 8px;
  white-space: nowrap;
}

.dashboard-facts strong {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: baseline;
  font-family: var(--number);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 500;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.dashboard-facts strong small {
  color: var(--dark-muted);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 400;
}

.dashboard-facts p {
  margin: 4px 0 0;
  color: rgba(250, 245, 232, 0.48);
  font-size: 7.5px;
  line-height: 1.5;
}

.dashboard-foot {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding-top: 12px;
  color: rgba(250, 245, 232, 0.36);
  border-top: 1px solid var(--dark-line);
  font-size: 7px;
}

.hero-coordinate {
  position: absolute;
  right: max(40px, calc((100vw - 1400px) / 2));
  bottom: 35px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(250, 245, 232, 0.38);
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.hero-coordinate i {
  width: 46px;
  height: 1px;
  background: currentColor;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 134px 0;
}

.opening {
  padding-top: 118px;
  padding-bottom: 138px;
}

.opening-rule {
  height: 1px;
  background: var(--line-strong);
}

.opening-grid {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 42px;
  padding-top: 48px;
}

.section-index {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}

.section-index span {
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 13px;
}

.section-index p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.opening-copy {
  max-width: 1000px;
}

.chapter-kicker {
  margin-bottom: 15px;
  color: var(--muted);
  font-family: var(--number);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.opening-copy h2 {
  max-width: 1000px;
  margin-bottom: 30px;
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 1.18;
  letter-spacing: -0.06em;
}

.opening-copy > p:not(.chapter-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.opening-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.opening-metrics div {
  display: grid;
  gap: 4px;
  padding: 23px 24px 0 0;
  border-right: 1px solid var(--line);
}

.opening-metrics div:not(:first-child) {
  padding-left: 24px;
}

.opening-metrics div:last-child {
  border-right: 0;
}

.opening-metrics strong {
  font-family: var(--number);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.opening-metrics span {
  color: var(--muted);
  font-size: 9px;
}

.chapter {
  position: relative;
}

.chapter-header {
  display: grid;
  grid-template-columns: 88px minmax(0, 1.02fr) minmax(320px, 0.68fr);
  gap: 39px;
  align-items: end;
  margin-bottom: 66px;
}

.chapter-number {
  padding-top: 9px;
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.chapter-heading h2 {
  margin-bottom: 0;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 1.01;
  letter-spacing: -0.075em;
}

.chapter-lede {
  max-width: 500px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.chapter-dark {
  width: 100%;
  max-width: none;
  padding-right: max(48px, calc((100vw - 1400px) / 2));
  padding-left: max(48px, calc((100vw - 1400px) / 2));
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 93% 12%, rgba(248, 182, 45, 0.07), transparent 30rem),
    linear-gradient(150deg, #0c110c, #111710 60%, #0b0f0a);
}

.chapter-dark .chapter-number,
.chapter-dark .chapter-kicker {
  color: var(--solar);
}

.chapter-dark .chapter-lede {
  color: var(--dark-muted);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 56px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.metric-cell {
  min-height: 170px;
  padding: 23px 22px 20px 0;
  border-right: 1px solid var(--line);
}

.metric-cell:not(:first-child) {
  padding-left: 22px;
}

.metric-cell:last-child {
  border-right: 0;
}

.metric-cell > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.metric-cell strong {
  display: block;
  margin: 15px 0 12px;
  font-family: var(--number);
  font-size: clamp(34px, 4vw, 53px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.metric-cell strong small {
  margin-left: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
}

.metric-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.chart-block {
  min-width: 0;
  margin: 0;
  padding: 27px;
  background: rgba(250, 245, 232, 0.65);
  border: 1px solid var(--line);
}

.chart-block.chart-wide {
  margin-bottom: 34px;
}

.dark-chart {
  background: rgba(250, 245, 232, 0.025);
  border-color: var(--dark-line);
}

.chart-head {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-overline {
  margin-bottom: 7px;
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.dark-chart .chart-overline,
.chapter-dark .chart-overline {
  color: var(--solar);
}

.chart-head h3,
.definitions h3,
.source-head h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.chart-note {
  max-width: 345px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  text-align: right;
}

.dark-chart .chart-note {
  color: var(--dark-muted);
}

.chart {
  width: 100%;
  min-width: 0;
}

.chart-large {
  height: 470px;
}

.chart-medium {
  height: 370px;
}

.chart-block figcaption,
.map-panel figcaption {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.dark-chart figcaption {
  color: var(--dark-muted);
}

.chart-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.chart-pair > *,
.map-layout > *,
.industry-layout > *,
.form-grid > *,
.caveat-grid > *,
.system-stats > * {
  min-width: 0;
}

.segmented {
  display: flex;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
}

.segmented button {
  padding: 7px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button:hover,
.segmented button:focus-visible {
  background: rgba(17, 23, 15, 0.05);
}

.segmented button.is-active {
  color: var(--paper-bright);
  background: var(--ink);
}

.dark-chart .segmented {
  border-color: var(--dark-line-strong);
}

.dark-chart .segmented button {
  border-color: var(--dark-line);
}

.dark-chart .segmented button.is-active {
  color: var(--night);
  background: var(--solar);
}

.milestone-rail {
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.milestone-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.milestone-head span {
  font-family: var(--serif);
  font-size: 20px;
}

.milestone-head small {
  color: var(--muted);
  font-size: 9px;
}

.milestones {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid var(--line);
}

.milestone {
  min-height: 184px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.milestone span {
  display: block;
  margin-bottom: 29px;
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 11px;
}

.milestone strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.milestone p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.reading-note {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 26px;
  margin-top: 54px;
  padding: 27px 29px;
  border: 1px solid var(--line-strong);
  background: rgba(248, 182, 45, 0.045);
}

.note-mark {
  color: var(--solar-deep);
  font-family: var(--serif);
  font-size: 17px;
}

.reading-note p {
  max-width: 990px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.dark-note {
  border-color: var(--dark-line-strong);
  background: rgba(248, 182, 45, 0.045);
}

.dark-note .note-mark {
  color: var(--solar);
}

.dark-note p {
  color: rgba(250, 245, 232, 0.74);
}

.capacity-hero {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: 50px;
  align-items: center;
  margin-bottom: 45px;
  padding: 32px 0;
  border-top: 1px solid var(--dark-line-strong);
  border-bottom: 1px solid var(--dark-line-strong);
}

.capacity-kpi {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.capacity-kpi > span {
  flex-basis: 100%;
  color: var(--dark-muted);
  font-size: 9px;
}

.capacity-kpi strong {
  color: var(--solar);
  font-family: var(--number);
  font-size: clamp(82px, 10vw, 145px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.capacity-kpi small {
  color: var(--paper-bright);
  font-size: 11px;
}

.capacity-copy p {
  max-width: 760px;
  margin-bottom: 14px;
  color: rgba(250, 245, 232, 0.72);
  font-size: 14px;
  line-height: 1.92;
}

.inline-source {
  display: block;
  max-width: 790px;
  color: var(--dark-muted);
  font-size: 8.5px;
  line-height: 1.65;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  gap: 22px;
  margin-bottom: 34px;
}

.map-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(250, 245, 232, 0.58);
}

.map-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.map-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.map-stage {
  position: relative;
}

#provinceMap {
  height: 590px;
}

.map-readout {
  position: absolute;
  right: 18px;
  bottom: 20px;
  min-width: 170px;
  padding: 14px 16px;
  background: rgba(250, 245, 232, 0.95);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 35px rgba(27, 31, 22, 0.08);
}

.map-readout span,
.map-readout small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.map-readout strong {
  display: block;
  margin: 4px 0 3px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.map-legend {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.legend-gradient {
  width: 170px;
  height: 7px;
}

.legend-scale {
  display: flex;
  gap: 4px;
  justify-content: space-between;
  width: 170px;
}

.map-caveat {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.7;
}

.region-notes {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.region-notes article {
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.region-swatch {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--solar-deep);
  border-radius: 50%;
}

.swatch-east { background: var(--teal); }
.swatch-south { background: var(--green); }

.region-notes h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 500;
}

.region-notes p {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.75;
}

.region-notes small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.province-charts {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 38px;
  padding: 1px;
  background: var(--line);
}

.form-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  background: var(--paper);
}

.form-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 10px;
}

.form-card h3 {
  margin: 28px 0 22px;
  font-size: clamp(25px, 2.3vw, 33px);
}

.form-card > strong {
  display: block;
  font-family: var(--number);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.form-card > strong small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
}

.form-card > p:not(.chapter-kicker) {
  margin: 9px 0 19px;
  color: var(--muted);
  font-size: 10px;
}

.form-meter {
  height: 2px;
  background: var(--line);
}

.form-meter span {
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--solar-deep);
}

.form-card > small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.65;
}

.form-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 35px;
  align-items: center;
  margin-top: 44px;
  padding: 30px 32px;
  border-top: 2px solid var(--ink);
  background: rgba(250, 245, 232, 0.46);
}

.form-note-number {
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 102px;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.form-note-number span {
  margin-left: 5px;
  color: var(--muted);
  font-size: 13px;
}

.form-note h3 {
  margin-bottom: 12px;
  font-size: 30px;
}

.form-note p:not(.chapter-kicker) {
  max-width: 960px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.chain-strip {
  display: grid;
  grid-template-columns: 1fr 46px 1fr 46px 1fr 46px 1fr 46px 1fr 46px 1fr;
  align-items: stretch;
  margin-bottom: 35px;
  padding: 23px 0;
  border-top: 1px solid var(--dark-line-strong);
  border-bottom: 1px solid var(--dark-line);
}

.chain-step span {
  color: var(--solar);
  font-family: var(--number);
  font-size: 9px;
}

.chain-step h3 {
  margin: 14px 0 6px;
  font-size: 20px;
  font-weight: 500;
}

.chain-step p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 8.5px;
  line-height: 1.65;
}

.chain-step-end h3 {
  color: var(--solar);
}

.chain-strip > i {
  position: relative;
  align-self: center;
  height: 1px;
  background: var(--dark-line-strong);
}

.chain-strip > i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-top: 1px solid var(--dark-line-strong);
  border-right: 1px solid var(--dark-line-strong);
  transform: rotate(45deg);
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 23px;
  margin-bottom: 25px;
}

.chart-wide-industry {
  margin: 0;
}

.industry-sidebar {
  display: grid;
  border-top: 1px solid var(--dark-line-strong);
}

.industry-stat {
  align-content: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--dark-line);
}

.industry-stat span {
  color: var(--dark-muted);
  font-size: 8px;
}

.industry-stat strong {
  display: block;
  margin: 13px 0 8px;
  color: var(--solar);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
}

.industry-stat p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 10px;
  line-height: 1.75;
}

.cost-hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 45px;
  padding: 30px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.cost-number span {
  display: block;
  color: var(--coral);
  font-family: var(--number);
  font-size: clamp(85px, 10vw, 150px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.cost-number small {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 9px;
}

.cost-copy p {
  max-width: 780px;
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.92;
}

.cost-copy .inline-source {
  color: var(--muted);
}

.cost-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.cost-notes article {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.cost-notes span {
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 9px;
}

.cost-notes h3 {
  margin: 26px 0 10px;
  font-size: 23px;
  font-weight: 500;
}

.cost-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.chapter-system {
  background:
    linear-gradient(145deg, rgba(29, 108, 112, 0.055), transparent 36%),
    var(--paper);
}

.system-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 37px;
  padding: 1px;
  background: var(--line);
}

.system-stats div {
  min-height: 160px;
  padding: 23px;
  background: var(--paper);
}

.system-stats span {
  color: var(--muted);
  font-size: 9px;
}

.system-stats strong {
  display: block;
  margin: 22px 0 9px;
  font-family: var(--number);
  font-size: clamp(38px, 4.6vw, 61px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.system-stats strong small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
}

.system-stats p {
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.6;
}

.system-charts {
  margin-top: 24px;
}

.duck-controls {
  margin-top: 14px;
}

.duck-controls label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.duck-controls output {
  color: var(--ink);
  font-family: var(--number);
  font-size: 11px;
}

.duck-controls input[type="range"] {
  width: 100%;
  margin-top: 9px;
  accent-color: var(--solar-deep);
}

.system-explainer {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 55px;
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.explainer-copy h3 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.35;
}

.explainer-copy p:not(.chapter-kicker) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.explainer-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.explainer-steps div {
  padding: 16px;
  border-left: 1px solid var(--line-strong);
}

.explainer-steps span {
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 8px;
}

.explainer-steps strong {
  display: block;
  margin: 14px 0 7px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.explainer-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.chapter-caveat {
  padding-bottom: 100px;
}

.caveat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.caveat-card {
  min-height: 260px;
  padding: 30px;
  background: var(--paper);
}

.caveat-card span {
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.caveat-card h3 {
  margin: 52px 0 14px;
  font-size: clamp(25px, 2.5vw, 34px);
}

.caveat-card p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.caveat-quote {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 60px;
  align-items: end;
  margin-top: 85px;
  padding: 38px 0 12px;
  border-top: 1px solid var(--line-strong);
}

.caveat-quote p {
  margin: 0;
  max-width: 910px;
  font-family: var(--serif);
  font-size: clamp(29px, 3.6vw, 50px);
  line-height: 1.48;
  letter-spacing: -0.045em;
}

.caveat-quote small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.conclusion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.conclusion-card {
  min-height: 300px;
  padding: 28px;
  border-top: 2px solid var(--ink);
  background: rgba(250, 245, 232, 0.44);
}

.conclusion-card > span {
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 10px;
}

.conclusion-card h3 {
  margin: 62px 0 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.38;
}

.conclusion-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

.ending-statement {
  margin-top: 102px;
  padding: 74px 0 32px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

.ending-statement p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 11px;
}

.ending-statement strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(37px, 4.8vw, 68px);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -0.05em;
}

.method {
  border-top: 1px solid var(--line-strong);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 65px;
  padding: 1px;
  background: var(--line);
}

.method-card {
  padding: 23px;
  background: var(--paper);
}

.method-label {
  color: var(--solar-deep);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.method-card h3 {
  margin: 23px 0 11px;
  font-family: var(--number);
  font-size: 23px;
  font-weight: 500;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.75;
}

.definitions {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 45px;
  margin-bottom: 70px;
}

.definition-list {
  border-top: 1px solid var(--ink);
}

.definition-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.definition-row dt {
  font-family: var(--serif);
  font-size: 17px;
}

.definition-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.source-section {
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: rgba(250, 245, 232, 0.46);
}

.source-head {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.source-download {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  font-size: 9px;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.source-download::after {
  content: "↓";
}

.source-download:hover,
.source-download:focus-visible {
  color: var(--paper-bright);
  background: var(--ink);
}

.source-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sourceCount;
}

.source-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: sourceCount;
}

.source-item::before {
  color: var(--solar-deep);
  font-family: var(--number);
  font-size: 10px;
  content: counter(sourceCount, decimal-leading-zero);
}

.source-item a {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(17, 23, 15, 0.25);
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease;
}

.source-item a:hover,
.source-item a:focus-visible {
  text-decoration-color: var(--solar-deep);
}

.source-item p {
  grid-column: 2;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.62;
}

.source-item time {
  color: var(--muted);
  font-family: var(--number);
  font-size: 8px;
  white-space: nowrap;
}

.source-disclaimer {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.72;
}

.ai-note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-top: 34px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-note span {
  color: var(--solar-deep);
  font-family: var(--serif);
  font-size: 17px;
}

.ai-note p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.78;
}

.site-footer {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  padding: 46px max(48px, calc((100vw - 1400px) / 2));
  color: var(--paper-bright);
  background: var(--night);
}

.footer-brand {
  display: flex;
  gap: 13px;
  align-items: center;
}

.footer-brand .brand-mark {
  color: var(--paper-bright);
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.footer-brand p {
  margin: 2px 0 0;
  color: var(--dark-muted);
  font-size: 8.5px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  color: var(--dark-muted);
  font-size: 8px;
}

.back-top {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--paper-bright);
  font-size: 9px;
}

.back-top i {
  font-style: normal;
}

.noscript-note {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: 380px;
  margin: 0;
  padding: 16px;
  color: var(--night);
  background: var(--solar);
  font-size: 11px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--solar-deep);
  outline-offset: 4px;
}

.chapter-dark :focus-visible {
  outline-color: var(--solar);
}

@media (max-width: 1220px) {
  :root {
    --shell: min(1120px, calc(100vw - 62px));
  }

  .hero {
    gap: 40px;
    padding-right: 42px;
    padding-left: 42px;
  }

  .hero-title {
    font-size: clamp(88px, 12.4vw, 145px);
  }

  .hero-sun {
    width: min(55vw, 650px);
    right: -12%;
  }

  .solar-dashboard {
    padding: 24px;
  }

  .chapter-dark {
    padding-right: 42px;
    padding-left: 42px;
  }

  .chapter-header {
    grid-template-columns: 58px minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 25px;
  }

  .chapter-heading h2 {
    font-size: clamp(49px, 6.6vw, 86px);
  }

  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-cell:nth-child(2) {
    border-right: 0;
  }

  .metric-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .milestones {
    grid-template-columns: repeat(3, 1fr);
  }

  .milestone:nth-child(-n + 3) {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .map-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  }

  #provinceMap {
    height: 540px;
  }

  .chain-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .chain-strip > i {
    display: none;
  }

  .chain-step {
    padding-top: 15px;
    border-top: 1px solid var(--dark-line);
  }

  .system-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    height: 68px;
    padding: 0 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark::before {
    height: 40px;
  }

  .brand-mark::after {
    width: 40px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 20px;
    color: var(--ink);
    border-bottom: 1px solid var(--line-strong);
    background: rgba(238, 232, 216, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 118px 24px 90px;
  }

  .hero-sun {
    top: 4%;
    right: -18%;
    width: 75vw;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(92px, 23vw, 145px);
  }

  .solar-dashboard {
    width: min(100%, 560px);
    margin: 55px auto 0;
  }

  .hero-coordinate {
    right: 24px;
    bottom: 25px;
  }

  .opening-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-index {
    gap: 10px;
  }

  .opening-copy h2 {
    font-size: clamp(38px, 8.6vw, 64px);
  }

  .chapter-header {
    grid-template-columns: 42px 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 48px;
  }

  .chapter-lede {
    grid-column: 2;
    margin-top: 6px;
  }

  .chapter-number {
    grid-row: 1 / span 2;
    padding-top: 6px;
  }

  .chapter-heading h2 {
    font-size: clamp(46px, 10vw, 76px);
  }

  .chapter-dark {
    padding-right: 20px;
    padding-left: 20px;
  }

  .chart-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .chart-large {
    height: 420px;
  }

  .chart-medium {
    height: 340px;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .region-notes {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    border-top: 0;
  }

  .region-notes article {
    border-top: 1px solid var(--line-strong);
    border-bottom: 0;
  }

  #provinceMap {
    height: 500px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    min-height: 0;
  }

  .form-card h3 {
    margin-top: 22px;
  }

  .form-note {
    grid-template-columns: 140px 1fr;
  }

  .form-note-number {
    font-size: 78px;
  }

  .industry-layout {
    grid-template-columns: 1fr;
  }

  .industry-sidebar {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .industry-stat {
    border-top: 1px solid var(--dark-line-strong);
    border-bottom: 0;
  }

  .cost-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cost-notes {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cost-notes h3 {
    margin-top: 15px;
  }

  .system-explainer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .caveat-quote {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .conclusion-grid {
    grid-template-columns: 1fr;
  }

  .conclusion-card {
    min-height: 0;
  }

  .conclusion-card h3 {
    margin-top: 28px;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .definitions {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 35px 24px;
  }

  .footer-meta {
    order: 3;
    width: 100%;
  }
}

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

  .hero {
    padding: 102px 18px 77px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .hero-title {
    margin-bottom: 26px;
    font-size: clamp(84px, 27vw, 126px);
    line-height: 0.82;
  }

  .hero-title .title-accent {
    margin-left: 0.35em;
  }

  .hero-deck {
    font-size: 25px;
  }

  .hero-intro {
    font-size: 12px;
    line-height: 1.9;
  }

  .solar-dashboard {
    margin-top: 47px;
    padding: 19px;
  }

  .dashboard-top h2 {
    font-size: 18px;
  }

  .dashboard-stamp {
    display: none;
  }

  .dashboard-number strong {
    font-size: 64px;
  }

  .ledger-row {
    grid-template-columns: 92px minmax(0, 1fr) 45px;
  }

  .dashboard-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dashboard-facts div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 10px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .dashboard-facts div:last-child {
    border-bottom: 0;
  }

  .dashboard-facts span {
    margin-bottom: 0;
  }

  .dashboard-facts strong {
    justify-self: end;
    font-size: 24px;
  }

  .dashboard-facts p {
    grid-column: 1 / -1;
  }

  .dashboard-foot {
    display: grid;
    gap: 4px;
  }

  .hero-coordinate {
    display: none;
  }

  .section-shell {
    padding: 78px 0;
  }

  .opening {
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .opening-copy h2 {
    font-size: clamp(35px, 9.7vw, 50px);
  }

  .opening-copy > p:not(.chapter-kicker) {
    font-size: 13px;
    line-height: 1.9;
  }

  .opening-metrics {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .opening-metrics div {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .opening-metrics div:not(:first-child) {
    padding-left: 0;
  }

  .opening-metrics strong {
    font-size: 25px;
  }

  .chapter-header {
    grid-template-columns: 31px 1fr;
    gap: 11px;
    margin-bottom: 35px;
  }

  .chapter-number {
    font-size: 12px;
  }

  .chapter-kicker {
    font-size: 7.5px;
  }

  .chapter-heading h2 {
    font-size: clamp(42px, 13.2vw, 62px);
    line-height: 1.06;
  }

  .chapter-lede {
    font-size: 12px;
    line-height: 1.85;
  }

  .metric-band {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
  }

  .metric-cell {
    min-height: 140px;
    padding: 17px 10px 15px 0;
  }

  .metric-cell:not(:first-child) {
    padding-left: 12px;
  }

  .metric-cell strong {
    margin: 11px 0;
    font-size: 28px;
  }

  .metric-cell strong small {
    font-size: 8px;
  }

  .metric-cell p {
    font-size: 7.5px;
  }

  .chart-block,
  .map-panel {
    padding: 16px;
  }

  .chart-head {
    display: block;
  }

  .chart-note {
    margin-top: 8px;
    text-align: left;
  }

  .chart-head h3,
  .definitions h3,
  .source-head h3 {
    font-size: 21px;
  }

  .segmented {
    width: 100%;
    margin-top: 13px;
  }

  .segmented button {
    flex: 1;
    padding: 7px 5px;
  }

  .chart-large,
  .chart-medium {
    height: 310px;
  }

  .milestones {
    grid-template-columns: 1fr 1fr;
  }

  .milestone {
    min-height: 152px;
    padding: 0 12px 19px;
    border-bottom: 1px solid var(--line);
  }

  .milestone:nth-child(-n + 3) {
    padding-bottom: 19px;
  }

  .milestone:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .reading-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .capacity-hero {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .capacity-kpi strong {
    font-size: 90px;
  }

  .capacity-copy p {
    font-size: 12px;
  }

  .map-head {
    display: block;
  }

  #provinceMap {
    height: 380px;
  }

  .map-readout {
    right: 6px;
    bottom: 9px;
    min-width: 135px;
    padding: 9px 10px;
  }

  .map-readout strong {
    font-size: 17px;
  }

  .region-notes {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .region-notes article {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .form-note {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px;
  }

  .form-note-number {
    font-size: 64px;
  }

  .form-note h3 {
    font-size: 25px;
  }

  .chain-strip {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .industry-sidebar {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .industry-stat strong {
    font-size: 25px;
  }

  .cost-number span {
    font-size: 82px;
  }

  .cost-copy p {
    font-size: 12px;
  }

  .system-stats {
    grid-template-columns: 1fr 1fr;
  }

  .system-stats div {
    min-height: 138px;
    padding: 16px;
  }

  .system-stats strong {
    margin: 16px 0 8px;
    font-size: 36px;
  }

  .explainer-steps {
    grid-template-columns: 1fr;
  }

  .explainer-steps div {
    padding: 12px 0 12px 14px;
  }

  .caveat-grid {
    grid-template-columns: 1fr;
  }

  .caveat-card {
    min-height: 0;
    padding: 22px;
  }

  .caveat-card h3 {
    margin-top: 29px;
  }

  .caveat-quote p {
    font-size: 28px;
  }

  .ending-statement {
    margin-top: 64px;
    padding-top: 49px;
  }

  .ending-statement strong {
    font-size: 30px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .definition-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .source-head {
    display: block;
  }

  .source-download {
    margin-top: 15px;
  }

  .source-actions {
    justify-content: flex-start;
  }

  .source-item {
    grid-template-columns: 24px 1fr;
  }

  .source-item time,
  .source-item p {
    grid-column: 2;
  }

  .ai-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .site-footer {
    display: grid;
    gap: 20px;
    padding: 30px 20px;
  }

  .footer-meta {
    display: grid;
    gap: 4px;
    order: initial;
  }

  .back-top {
    justify-self: start;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
