@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #07101d;
  --ink-2: #0a1730;
  --paper: #eef3fa;
  --paper-dim: #b6c2d4;
  --line: rgba(241, 239, 229, 0.18);
  --blue: #3d8bff;
  --orange: #ff774d;
  --cyan: #5be0d0;
  --violet: #9a8cff;
  --yellow: #ffd35a;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Onest", "Helvetica Neue", Arial, sans-serif;
  --body: "Onest", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 8%, rgba(91, 224, 208, 0.06), transparent 25rem),
    var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: center;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 29, 0);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: header-enter 900ms var(--ease-out) 80ms both;
  transition: background-color 320ms ease, backdrop-filter 320ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(7, 16, 29, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-mark {
  width: 14px;
  height: 14px;
  border: 4px dotted var(--blue);
  border-radius: 50%;
}

.site-menu {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.35vw, 26px);
}

.site-menu a {
  position: relative;
  padding: 5px 0;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 240ms ease;
}

.site-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms var(--ease-out);
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu a.is-active {
  color: var(--paper);
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after,
.site-menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  color: var(--paper);
  background: transparent;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 360ms var(--ease-out), opacity 200ms ease;
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::before,
.menu-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle i::before {
  top: -5px;
}

.menu-toggle i::after {
  top: 5px;
}

.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 50px) clamp(20px, 4vw, 64px) 56px;
  isolation: isolate;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -3%;
  background: url("assets/backgrounds/hero-long-exposure.jpg") center / cover no-repeat;
  animation: hero-cinematic 18s var(--ease-out) both;
}

.hero-data-wall,
.hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-data-wall {
  display: none;
}

.hero-band {
  opacity: 0;
  animation: band-in 700ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--delay);
}

.hero-band-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(52vw, 760px);
  margin-bottom: 5px;
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-band-meta strong {
  color: var(--paper);
}

.hero-band > i {
  position: relative;
  display: block;
  width: var(--w);
  min-width: 12%;
  height: clamp(15px, 2.6vh, 28px);
  background: var(--tone);
  box-shadow: 0 0 30px color-mix(in srgb, var(--tone), transparent 66%);
}

.hero-band > i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100vw;
  height: 1px;
  background: rgba(238, 243, 250, 0.12);
}

@keyframes band-in {
  from { opacity: 0; transform: translateX(50px) scaleX(0.72); transform-origin: left; }
  to { opacity: 1; transform: translateX(0) scaleX(1); transform-origin: left; }
}

.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.96) 0%, rgba(7, 16, 29, 0.78) 40%, rgba(7, 16, 29, 0.12) 82%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.86), transparent 48%);
}

.hero-copy {
  width: min(1100px, 92vw);
}

.hero .eyebrow,
.hero-kicker,
.hero-number,
.hero-subtitle,
.hero-lede,
.hero-foot {
  opacity: 0;
  animation: hero-copy-enter 1050ms var(--ease-out) both;
}

.hero .eyebrow { animation-delay: 180ms; }
.hero-kicker { animation-delay: 270ms; }
.hero-number { animation-delay: 360ms; }
.hero-subtitle { animation-delay: 450ms; }
.hero-lede { animation-delay: 580ms; }
.hero-foot { animation-delay: 720ms; }

.eyebrow,
.section-number,
.stage-kicker,
.story-index,
.persona-label,
.profile-head,
.profile-section-title span {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-dim);
}

.eyebrow span {
  width: 42px;
  height: 1px;
  background: var(--blue);
}

.hero h1 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-weight: 520;
  line-height: 0.82;
  letter-spacing: -0.048em;
  text-transform: uppercase;
}

.hero-kicker,
.hero-subtitle {
  display: block;
  font-size: clamp(42px, 7vw, 108px);
}

.hero-number {
  display: block;
  margin-left: -0.035em;
  color: var(--blue);
  font-size: clamp(74px, 14vw, 220px);
  white-space: nowrap;
}

.hero-subtitle {
  margin-left: clamp(16px, 16vw, 250px);
}

.hero-lede {
  width: min(520px, 90%);
  margin: 34px 0 0 clamp(16px, 16vw, 250px);
  color: var(--paper-dim);
  font-size: clamp(17px, 1.5vw, 22px);
}

.hero-foot {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 30px;
  left: clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-foot p {
  margin: 0;
}

.hero-foot a {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.hero-foot i,
.wordmark {
  transition: transform 420ms var(--ease-out), color 240ms ease;
}

.hero-foot a:hover i,
.hero-foot a:focus-visible i {
  transform: translateY(5px);
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--blue);
}

.hero-foot i {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hero-foot i::before {
  content: "";
  position: absolute;
  inset: 10px 17px;
  background: var(--blue);
}

.hero-foot i::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 10px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  transform: rotate(45deg);
}

@keyframes header-enter {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-cinematic {
  from { opacity: 0.72; transform: scale(1.08) translate3d(-1.2%, 0.6%, 0); }
  to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes hero-copy-enter {
  from { opacity: 0; filter: blur(12px); transform: translateY(34px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.section-number {
  color: var(--blue);
}

.prologue,
.data-chapter,
.municipality {
  scroll-margin-top: var(--header-h);
}

.prologue {
  display: grid;
  grid-template-columns: 0.6fr 1.25fr 1fr;
  gap: clamp(28px, 5vw, 90px);
  padding: clamp(90px, 12vw, 180px) clamp(20px, 5vw, 80px);
}

.prologue h2,
.municipality h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.2vw, 105px);
  font-weight: 520;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.prologue-copy {
  padding-top: 10px;
  color: var(--paper-dim);
  font-size: clamp(17px, 1.35vw, 21px);
}

.prologue-copy p:first-child {
  margin-top: 0;
  color: var(--paper);
}

.source-credit {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-credit a {
  color: var(--paper);
  text-decoration: none;
  transition: color 220ms ease;
}

.source-credit a:hover,
.source-credit a:focus-visible {
  color: var(--blue);
}

.stage-topline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 12px;
}

.stage-kicker {
  color: var(--paper-dim);
}

.stage-topline h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 52px);
  line-height: 1;
  font-weight: 520;
  letter-spacing: -0.032em;
  text-transform: uppercase;
  color: var(--paper);
}

.data-story {
  position: relative;
  display: block;
  padding: 0;
  color: var(--paper);
  background: var(--ink);
}

.visual-measure {
  max-width: 220px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.data-chapter {
  --bg-focus: 68%;
  position: relative;
  isolation: isolate;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  overflow: hidden;
  padding: clamp(88px, 11vw, 168px) clamp(24px, 6vw, 104px);
  color: var(--paper);
  background: var(--ink);
}

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

.data-chapter::before {
  z-index: -2;
  inset: -3%;
  background: var(--chapter-image) var(--bg-focus) center / cover no-repeat;
  transform: scale(1.025);
}

.data-chapter::after {
  z-index: -1;
  inset: -1px 0;
  background:
    linear-gradient(
      180deg,
      var(--ink) 0%,
      rgba(7, 16, 29, 0.82) 2%,
      rgba(7, 16, 29, 0) 12%,
      rgba(7, 16, 29, 0) 86%,
      rgba(7, 16, 29, 0.86) 98%,
      var(--ink) 100%
    ),
    var(--chapter-overlay);
}

.data-chapter + .data-chapter {
  margin-top: -1px;
}

.js .data-chapter .chapter-copy > *,
.js .data-chapter .stage-topline,
.js .data-chapter .chapter-stage,
.js .data-chapter .visual-caption {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(34px);
  transition:
    opacity 850ms var(--ease-out),
    filter 850ms var(--ease-out),
    transform 850ms var(--ease-out);
}

.js .data-chapter.is-visible .chapter-copy > *,
.js .data-chapter.is-visible .stage-topline,
.js .data-chapter.is-visible .chapter-stage,
.js .data-chapter.is-visible .visual-caption {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.data-chapter .chapter-copy > :nth-child(1) { transition-delay: 80ms; }
.data-chapter .chapter-copy > :nth-child(2) { transition-delay: 150ms; }
.data-chapter .chapter-copy > :nth-child(3) { transition-delay: 240ms; }
.data-chapter .chapter-copy > :nth-child(4) { transition-delay: 320ms; }
.data-chapter .stage-topline { transition-delay: 140ms; }
.data-chapter .chapter-stage { transition-delay: 230ms; }
.data-chapter .visual-caption { transition-delay: 340ms; }

.data-chapter:nth-child(1) {
  --bg-focus: 68%;
  --chapter-image: url("assets/backgrounds/fleet-depth.jpg");
  --chapter-overlay:
    linear-gradient(90deg, rgba(7, 16, 29, 0.92) 0%, rgba(7, 16, 29, 0.76) 42%, rgba(7, 16, 29, 0.54) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.56), transparent 62%);
}

.data-chapter:nth-child(2) {
  --bg-focus: 68%;
  --chapter-image: url("assets/backgrounds/age-vintage.jpg");
  --chapter-overlay:
    linear-gradient(90deg, rgba(7, 16, 29, 0.9) 0%, rgba(7, 16, 29, 0.72) 42%, rgba(7, 16, 29, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.45), transparent 62%);
}

.data-chapter:nth-child(3) {
  --bg-focus: 70%;
  --chapter-image: url("assets/backgrounds/fuel-tesla.jpg");
  --chapter-overlay:
    linear-gradient(90deg, rgba(7, 16, 29, 0.94) 0%, rgba(7, 16, 29, 0.78) 42%, rgba(7, 16, 29, 0.56) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.58), transparent 62%);
}

.data-chapter:nth-child(4) {
  --bg-focus: 70%;
  --chapter-image: url("assets/backgrounds/brands-toyota.jpg");
  --chapter-overlay:
    linear-gradient(90deg, rgba(7, 16, 29, 0.94) 0%, rgba(7, 16, 29, 0.78) 42%, rgba(7, 16, 29, 0.54) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.58), transparent 62%);
}

.data-chapter:nth-child(5) {
  --bg-focus: 72%;
  --chapter-image: url("assets/backgrounds/emissions-exhaust.jpg");
  --chapter-overlay:
    linear-gradient(90deg, rgba(7, 16, 29, 0.94) 0%, rgba(7, 16, 29, 0.78) 42%, rgba(7, 16, 29, 0.52) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.58), transparent 62%);
}

.chapter-copy {
  max-width: 470px;
}

.chapter-visual {
  min-width: 0;
}

.visual-stage {
  width: 100%;
  height: clamp(500px, 62vh, 700px);
  min-height: 0;
  padding: clamp(24px, 3vw, 48px) 0;
}

.visual-stage > * {
  width: 100%;
}

.visual-caption {
  min-height: 42px;
  margin: 0;
  padding-top: 11px;
  color: var(--paper-dim);
  font-size: 12px;
}

.flow-chart {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(13px, 2.2vh, 25px);
}

.flow-row {
  opacity: 0;
  animation: chart-rise 520ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--delay);
}

.flow-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 6px;
}

.flow-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-label strong {
  color: var(--paper-dim);
  font-family: var(--display);
  font-size: clamp(15px, 1.3vw, 22px);
}

.flow-track {
  position: relative;
  height: clamp(20px, 3.4vh, 38px);
  background: rgba(238, 243, 250, 0.06);
}

.flow-track i {
  display: block;
  width: var(--w);
  min-width: 3px;
  height: 100%;
  background: var(--tone);
  transform-origin: left;
  animation: bar-grow 720ms cubic-bezier(.2,.8,.2,1) both;
}

.flow-track b {
  position: absolute;
  top: 50%;
  left: min(calc(var(--w) + 8px), 91%);
  padding-left: 6px;
  color: var(--paper);
  font-size: 10px;
  transform: translateY(-50%);
}

.age-visual,
.fuel-visual,
.brand-visual {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(280px, 1.18fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.age-ring,
.fuel-wheel {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--tone) 0 var(--value), rgba(238, 243, 250, 0.08) var(--value) 360deg);
  box-shadow: 0 0 80px rgba(61, 139, 255, 0.15);
  animation: ring-in 700ms cubic-bezier(.2,.8,.2,1) both;
}

.age-ring::before,
.fuel-wheel::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 40px rgba(61, 139, 255, 0.12);
}

.age-ring > div,
.fuel-wheel > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.age-ring > div {
  width: 72%;
  padding: clamp(10px, 1.2vw, 18px);
}

.age-ring strong,
.fuel-wheel strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 520;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.age-ring strong {
  font-size: clamp(40px, 4.8vw, 78px);
}

.fuel-wheel strong {
  font-size: clamp(32px, 4vw, 62px);
  letter-spacing: -0.04em;
}

.age-ring span,
.fuel-wheel span {
  display: block;
  margin-top: 12px;
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.age-strata {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vh, 28px);
}

.age-stratum {
  position: relative;
  opacity: 0;
  animation: chart-rise 520ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--delay);
}

.age-stratum > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  font-size: 11px;
}

.age-stratum > div strong {
  color: var(--paper-dim);
}

.age-stratum i {
  display: block;
  width: var(--w);
  height: clamp(12px, 2.2vh, 23px);
  background: var(--tone);
  animation: bar-grow 700ms cubic-bezier(.2,.8,.2,1) both;
}

.age-stratum small {
  position: absolute;
  right: 0;
  bottom: 1px;
  color: var(--paper-dim);
  font-size: 9px;
}

.fuel-wheel-wrap {
  position: relative;
}

.fuel-wheel-wrap > p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 16px 0 0;
  color: var(--paper-dim);
  font-size: 11px;
}

.fuel-wheel-wrap > p span {
  width: 26px;
  height: 3px;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(61, 139, 255, 0.8);
}

.fuel-list {
  border-top: 1px solid var(--line);
}

.fuel-item {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px 12px;
  align-items: center;
  padding: clamp(12px, 2vh, 20px) 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: chart-rise 500ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--delay);
}

.fuel-item > i {
  grid-row: 1 / span 2;
  width: 8px;
  height: 100%;
  min-height: 28px;
  background: var(--tone);
}

.fuel-item span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.fuel-item strong {
  font-family: var(--display);
  font-size: clamp(22px, 2.3vw, 38px);
  font-weight: 520;
}

.fuel-item small {
  grid-column: 2;
  color: var(--paper-dim);
  font-size: 10px;
}

.brand-visual {
  grid-template-columns: minmax(360px, 1.35fr) minmax(190px, 0.65fr);
}

.brand-ranking {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.1vh, 22px);
}

.brand-row {
  display: grid;
  grid-template-columns: 24px minmax(90px, 0.72fr) minmax(110px, 1fr) auto;
  gap: 12px;
  align-items: center;
  opacity: 0;
  animation: chart-rise 500ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--delay);
}

.brand-row > b {
  color: #6f7e94;
  font-size: 10px;
}

.brand-row > span {
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 28px);
  font-weight: 560;
  text-transform: uppercase;
}

.brand-row > div {
  height: 7px;
  background: rgba(238, 243, 250, 0.08);
}

.brand-row i {
  display: block;
  width: var(--w);
  height: 100%;
  background: var(--tone);
  animation: bar-grow 700ms cubic-bezier(.2,.8,.2,1) both;
}

.brand-row > strong {
  color: var(--paper-dim);
  font-size: 11px;
}

.brand-tail {
  padding-left: clamp(20px, 3vw, 48px);
  border-left: 1px solid var(--line);
}

.brand-tail > span {
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tail > strong {
  display: block;
  margin: 8px 0 18px;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 520;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.brand-tail p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 12px;
}

.emission-visual {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.emission-header {
  display: flex;
  align-items: end;
  gap: 16px;
}

.emission-header strong {
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 520;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.emission-header span {
  padding-bottom: 3px;
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.emission-skyline {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(6px, 1.2vw, 16px);
  align-items: end;
  margin-top: 28px;
}

.emission-column {
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 6px;
  opacity: 0;
  animation: chart-rise 520ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--delay);
}

.emission-column > strong {
  font-family: var(--display);
  font-size: clamp(15px, 1.5vw, 24px);
}

.emission-column > div {
  min-height: 120px;
  display: flex;
  align-items: end;
  background: linear-gradient(180deg, rgba(238, 243, 250, 0.02), rgba(238, 243, 250, 0.07));
}

.emission-column i {
  width: 100%;
  height: var(--h);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone), white 12%), var(--tone));
  box-shadow: 0 -12px 32px color-mix(in srgb, var(--tone), transparent 76%);
  transform-origin: bottom;
  animation: column-grow 760ms cubic-bezier(.2,.8,.2,1) both;
}

.emission-column > span {
  min-height: 2.6em;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.emission-column > small {
  color: var(--paper-dim);
  font-size: 9px;
}

.emission-axis {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  color: #6f7e94;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.emission-axis i {
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.emission-axis b {
  margin-left: 18px;
  color: #8d99aa;
}

@keyframes chart-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes column-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes ring-in {
  from { opacity: 0; transform: scale(.82) rotate(-24deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.story-card {
  min-height: 0;
  display: block;
  padding: 0;
  opacity: 1;
  transform: none;
  color: var(--paper);
}

.story-index {
  color: var(--paper);
}

.story-card h3 {
  margin: 18px 0 26px;
  font-family: var(--display);
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 520;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.story-card > p:last-child {
  max-width: 440px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(17px, 1.3vw, 21px);
}

.story-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-stat strong {
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 550;
  letter-spacing: -0.04em;
}

.story-stat span {
  color: var(--paper);
  font-size: 12px;
  text-transform: uppercase;
}

.municipality {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(42px, 8vw, 150px);
  overflow: hidden;
  padding: clamp(90px, 12vw, 180px) clamp(20px, 6vw, 100px);
  color: var(--paper);
  background: var(--ink);
}

.municipality h2 {
  margin-top: 30px;
}

.municipality h2 em {
  color: var(--blue);
  font-style: normal;
  font-weight: 400;
}

.municipality-intro > p:not(.section-number) {
  max-width: 560px;
  margin-top: 30px;
  color: var(--paper-dim);
  font-size: clamp(17px, 1.35vw, 21px);
}

.municipality .section-number {
  color: var(--blue);
}

.municipality form {
  margin-top: 54px;
}

.municipality label {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  color: var(--paper-dim);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-row {
  display: flex;
  border-bottom: 1px solid rgba(238, 243, 250, 0.36);
  transition: border-color 260ms ease;
}

.search-row:focus-within {
  border-color: var(--blue);
}

.search-row input {
  min-width: 0;
  flex: 1;
  padding: 14px 0;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 520;
}

.search-row button {
  border: 0;
  color: var(--ink);
  background: var(--blue);
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 240ms ease, transform 420ms var(--ease-out);
}

.search-row button:hover,
.search-row button:focus-visible {
  background: #70a7ff;
  transform: translateX(4px);
}

.form-message {
  min-height: 1.5em;
  margin: 8px 0 0 !important;
  color: var(--orange) !important;
  font-size: 13px !important;
}

.profile {
  position: relative;
  padding: 22px 0 0;
  color: var(--paper);
  background: transparent;
  border-top: 1px solid var(--line);
  box-shadow: none;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  color: var(--paper-dim);
}

.profile-head p {
  margin: 0;
}

.persona-mark {
  position: absolute;
  top: 62px;
  right: 0;
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.persona-mark span {
  position: absolute;
  inset: 16px;
  border: 10px dotted var(--blue);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.persona-mark i {
  position: absolute;
  inset: 35px;
  border-radius: 50%;
  background: var(--orange);
}

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

.persona-label {
  margin-top: 72px;
  color: var(--blue);
}

.profile h3 {
  max-width: 80%;
  margin: 10px 0 18px;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 520;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.persona-copy {
  max-width: 520px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 17px;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-facts div {
  padding: 18px 14px 18px 0;
  border-right: 1px solid var(--line);
}

.profile-facts div:not(:first-child) {
  padding-left: 14px;
}

.profile-facts div:last-child {
  border-right: 0;
}

.profile-facts span,
.profile-facts strong {
  display: block;
}

.profile-facts span {
  color: var(--paper-dim);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-facts strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: clamp(25px, 2.3vw, 38px);
  font-weight: 520;
}

.profile-section {
  margin-top: 34px;
}

.profile-section-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.profile-section-title h4 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
}

.profile-section-title span {
  color: var(--paper-dim);
}

.profile-bar {
  display: grid;
  grid-template-columns: 85px 1fr 46px;
  gap: 10px;
  align-items: center;
  margin: 9px 0;
  font-size: 11px;
}

.profile-bar-track {
  height: 8px;
  background: rgba(241, 239, 229, 0.12);
}

.profile-bar-fill {
  height: 100%;
  background: var(--blue);
  transform-origin: left;
}

.profile-bar:nth-child(2) .profile-bar-fill {
  background: var(--cyan);
}

.profile-bar:nth-child(3) .profile-bar-fill {
  background: var(--violet);
}

.profile-bar:nth-child(4) .profile-bar-fill {
  background: var(--orange);
}

.profile-bar:nth-child(5) .profile-bar-fill {
  background: #78817c;
}

.profile-bar strong {
  text-align: right;
}

.age-blocks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.age-block {
  position: relative;
  height: 72px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: rgba(241, 239, 229, 0.08);
}

.age-block i {
  width: 100%;
  background: var(--yellow);
  transform-origin: bottom;
}

.age-block span {
  position: absolute;
  inset: auto 5px 4px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
}

.profile.is-updating .profile-bar-fill {
  animation: profile-bar-enter 760ms var(--ease-out) both;
}

.profile.is-updating .age-block i {
  animation: profile-age-enter 760ms var(--ease-out) both;
}

.profile.is-updating .profile-facts strong,
.profile.is-updating .persona-copy,
.profile.is-updating h3 {
  animation: profile-value-enter 620ms var(--ease-out) both;
}

.profile.is-updating .profile-bar:nth-child(2) .profile-bar-fill { animation-delay: 60ms; }
.profile.is-updating .profile-bar:nth-child(3) .profile-bar-fill { animation-delay: 120ms; }
.profile.is-updating .profile-bar:nth-child(4) .profile-bar-fill { animation-delay: 180ms; }
.profile.is-updating .profile-bar:nth-child(5) .profile-bar-fill { animation-delay: 240ms; }
.profile.is-updating .age-block:nth-child(2) i { animation-delay: 55ms; }
.profile.is-updating .age-block:nth-child(3) i { animation-delay: 110ms; }
.profile.is-updating .age-block:nth-child(4) i { animation-delay: 165ms; }
.profile.is-updating .age-block:nth-child(5) i { animation-delay: 220ms; }

@keyframes profile-bar-enter {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes profile-age-enter {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes profile-value-enter {
  from { opacity: 0; filter: blur(7px); transform: translateY(12px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.js .reveal-target {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition:
    opacity 780ms var(--ease-out) var(--reveal-delay, 0ms),
    filter 780ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 780ms var(--ease-out) var(--reveal-delay, 0ms);
}

.js .reveal-target.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.64);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

footer {
  padding: 40px clamp(20px, 5vw, 80px);
  color: var(--paper-dim);
  font-size: 12px;
}

footer p {
  margin: 0;
}

.footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}

footer strong {
  color: var(--blue);
}

.footer-design {
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-source {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--paper-dim);
  text-align: right;
}

.footer-source a,
.footer-source strong {
  color: var(--paper);
  font-weight: 700;
}

.footer-design a,
.footer-source a {
  text-decoration: none;
  transition: color 220ms ease;
}

.footer-design a:hover,
.footer-design a:focus-visible,
.footer-source a:hover,
.footer-source a:focus-visible {
  color: var(--blue);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .site-menu {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(24px, 6vw, 64px);
    padding: 18px clamp(20px, 4vw, 64px) 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 16, 29, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 260ms ease,
      visibility 260ms ease,
      transform 420ms var(--ease-out);
  }

  .site-menu a {
    padding: 12px 0;
  }

  .site-menu a::after {
    bottom: 5px;
  }

  .site-header.menu-open .site-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.menu-open .menu-toggle i {
    background: transparent;
  }

  .site-header.menu-open .menu-toggle i::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-header.menu-open .menu-toggle i::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .data-chapter {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 92px clamp(24px, 6vw, 60px);
  }

  .chapter-copy {
    max-width: 660px;
  }

  .visual-stage {
    height: 580px;
    padding: 20px 0;
  }

  .story-card {
    min-height: 0;
    margin: 0;
  }

  .prologue {
    grid-template-columns: 0.35fr 1fr;
  }

  .prologue-copy {
    grid-column: 2;
  }

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

@media (max-width: 680px) {
  :root {
    --header-h: 62px;
  }

  .site-header {
    padding: 0 18px;
  }

  .site-menu {
    grid-template-columns: 1fr;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-data-wall {
    inset: 10% -84% 8% 22%;
    padding: 5vh 5vw;
    opacity: 0.86;
  }

  .hero-band-meta {
    width: 96vw;
  }

  .hero-number {
    font-size: clamp(58px, 18vw, 110px);
  }

  .hero-subtitle,
  .hero-lede {
    margin-left: 0;
  }

  .hero-foot {
    right: 18px;
    left: 18px;
  }

  .hero-foot p {
    display: none;
  }

  .hero-foot a {
    margin-left: auto;
  }

  .prologue {
    grid-template-columns: 1fr;
    padding-right: 20px;
    padding-left: 20px;
  }

  .prologue-copy {
    grid-column: auto;
  }

  .data-chapter {
    gap: 28px;
    padding: 72px 18px;
  }

  .stage-topline {
    align-items: start;
  }

  .visual-measure {
    max-width: 128px;
  }

  .visual-stage {
    height: 440px;
    padding: 14px 0;
  }

  .visual-caption {
    min-height: 48px;
    padding: 8px 3px 0;
    font-size: 10px;
  }

  .age-visual,
  .fuel-visual {
    grid-template-columns: minmax(108px, 0.75fr) minmax(145px, 1.25fr);
    gap: 12px;
  }

  .age-ring,
  .fuel-wheel {
    width: min(100%, 165px);
  }

  .age-ring strong,
  .fuel-wheel strong {
    font-size: clamp(30px, 9vw, 48px);
  }

  .age-ring > div {
    width: 74%;
    padding: 8px 4px;
  }

  .age-ring strong {
    font-size: clamp(26px, 7.5vw, 38px);
  }

  .fuel-wheel strong {
    font-size: clamp(24px, 7vw, 36px);
  }

  .age-ring span,
  .fuel-wheel span {
    margin-top: 6px;
    font-size: 7px;
  }

  .age-strata {
    gap: 8px;
  }

  .age-stratum > div {
    margin-bottom: 3px;
    font-size: 8px;
  }

  .age-stratum i {
    height: 10px;
  }

  .fuel-wheel-wrap > p {
    margin-top: 7px;
    font-size: 8px;
  }

  .fuel-item {
    grid-template-columns: 8px 1fr auto;
    gap: 3px 7px;
    padding: 6px 0;
  }

  .fuel-item > i {
    width: 5px;
    min-height: 20px;
  }

  .fuel-item span,
  .fuel-item small {
    font-size: 7px;
  }

  .fuel-item strong {
    font-size: 16px;
  }

  .brand-visual {
    grid-template-columns: 1fr;
  }

  .brand-tail {
    display: none;
  }

  .brand-ranking {
    gap: 9px;
  }

  .brand-row {
    grid-template-columns: 18px minmax(72px, 0.72fr) minmax(70px, 1fr);
    gap: 7px;
  }

  .brand-row > strong {
    display: none;
  }

  .brand-row > span {
    font-size: clamp(13px, 4vw, 18px);
  }

  .emission-header strong {
    font-size: clamp(38px, 12vw, 60px);
  }

  .emission-header span {
    font-size: 7px;
  }

  .emission-skyline {
    gap: 4px;
    margin-top: 12px;
  }

  .emission-column > div {
    min-height: 80px;
  }

  .emission-column > span,
  .emission-column > small {
    font-size: 6px;
  }

  .emission-axis {
    margin-top: 6px;
    font-size: 6px;
  }

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

  .municipality {
    padding-right: 20px;
    padding-left: 20px;
  }

  .search-row {
    display: block;
    border-bottom: 0;
  }

  .search-row input {
    width: 100%;
    border-bottom: 1px solid rgba(238, 243, 250, 0.36);
  }

  .search-row button {
    width: 100%;
    padding: 16px;
  }

  .profile {
    margin: 0;
    padding: 22px 0 0;
    box-shadow: none;
  }

  .persona-mark {
    top: 72px;
    right: 0;
    width: 64px;
    height: 64px;
  }

  .persona-mark span {
    inset: 12px;
    border-width: 8px;
  }

  .persona-mark i {
    inset: 27px;
  }

  .profile h3 {
    max-width: 76%;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .profile-facts div,
  .profile-facts div:not(:first-child) {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .footer-credits {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-source {
    text-align: left;
  }
}

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

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

  .scroll-progress {
    box-shadow: none;
  }
}
