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

html {
  scroll-behavior: smooth;
  background-color: var(--light-neutral);
  color: var(--dark-neutral);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--light-neutral);
  color: var(--dark-neutral);
  font-family: var(--font-mono);
}

body.modal-open {
  overflow: hidden;
}

picture {
  display: block;
  width: 100%;
  height: 100%;
}

img {
  display: block;
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.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;
}

/* Crunchy Motion Keyframes */
@keyframes crunch-collide-left {
  0% {
    transform: translate3d(-32px, 0, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes crunch-collide-right {
  0% {
    transform: translate3d(32px, 0, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes crunch-modal-stamp {
  0% {
    transform: translate3d(4px, 6px, 0) scale(0.96);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes crunch-cut {
  0% {
    transform: translate3d(0, 12px, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes crunch-drawer-in {
  0% {
    transform: translate3d(0, -10px, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes shutter-wipe {
  0% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0);
  }
}

@keyframes arrow-relay {
  0% {
    transform: translate3d(0, 0, 0);
  }

  45% {
    transform: translate3d(0, 115%, 0);
  }

  46% {
    transform: translate3d(0, -115%, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Shared Shutter Button Overlay */
.nav-link-btn,
.btn-signin,
.btn-subscribe,
.report-cta-btn,
.modal-close-btn,
.chapter-tab-btn,
.form-submit-btn,
.mobile-drawer-subscribe,
.mobile-drawer-signin {
  position: relative;
  isolation: isolate;
}

.nav-link-btn::before,
.btn-signin::before,
.btn-subscribe::before,
.report-cta-btn::before,
.modal-close-btn::before,
.chapter-tab-btn::before,
.form-submit-btn::before,
.mobile-drawer-subscribe::before,
.mobile-drawer-signin::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--dark-neutral);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
  transition: transform 200ms var(--ease-snap);
}

.btn-signin::before,
.mobile-drawer-signin::before {
  background-color: var(--light-neutral);
}

.modal-close-btn::before {
  background-color: var(--primary);
}

.nav-link-btn:hover::before,
.nav-link-btn:focus-visible::before,
.nav-link-btn[aria-expanded='true']::before,
.btn-signin:hover::before,
.btn-signin:focus-visible::before,
.btn-subscribe:hover::before,
.btn-subscribe:focus-visible::before,
.report-cta-btn:hover::before,
.report-cta-btn:focus-visible::before,
.modal-close-btn:hover::before,
.modal-close-btn:focus-visible::before,
.chapter-tab-btn:hover::before,
.chapter-tab-btn:focus-visible::before,
.chapter-tab-btn.is-active::before,
.form-submit-btn:hover::before,
.form-submit-btn:focus-visible::before,
.mobile-drawer-subscribe:hover::before,
.mobile-drawer-subscribe:focus-visible::before,
.mobile-drawer-signin:hover::before,
.mobile-drawer-signin:focus-visible::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* Main page shell (1280px Figma frame centered on wider screens) */
.landing-page {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  background-color: var(--light-neutral);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

/* Header (node 53:384) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  height: var(--header-height);
  padding: 16px;
  background-color: var(--light-neutral);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-lockup-btn {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-snap) var(--ease-snap);
}

.brand-lockup-btn:hover {
  transform: translate(-2px, -2px);
}

.brand-lockup-btn:active {
  transform: translate(1px, 1px);
  transition-duration: 45ms;
}

.brand-lockup-img {
  width: auto;
  height: var(--header-logo-height);
}

.nav-menu {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.3vw, 42px);
}

.nav-link-btn {
  padding: 4px 8px;
  margin: -4px -8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(14px, 0.9vw, 18px);
  line-height: 1.25;
  color: var(--dark-neutral);
  white-space: nowrap;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap);
}

.nav-link-btn:hover,
.nav-link-btn:focus-visible,
.nav-link-btn[aria-expanded='true'] {
  color: var(--light-neutral);
  box-shadow: 3px 3px 0 0 var(--primary);
  transform: translate(-1px, -1px);
}

.nav-link-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--primary);
  transition-duration: 45ms;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1vw, 18px);
  flex-shrink: 0;
}

.btn-signin {
  background-color: var(--dark-neutral);
  color: var(--light-neutral);
  border: 2px solid var(--dark-neutral);
  padding: clamp(7px, 0.5vw, 11px) clamp(11px, 0.8vw, 18px);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(14px, 0.9vw, 18px);
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap),
    border-color var(--dur-color) var(--ease-snap);
}

.btn-signin:hover,
.btn-signin:focus-visible {
  color: var(--dark-neutral);
  border-color: var(--dark-neutral);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--secondary);
}

.btn-signin:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--secondary);
  transition-duration: 45ms;
}

.btn-subscribe {
  background-color: var(--primary);
  color: var(--dark-neutral);
  border: 2px solid var(--primary);
  padding: clamp(7px, 0.5vw, 11px) clamp(11px, 0.8vw, 18px);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(14px, 0.9vw, 18px);
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap),
    border-color var(--dur-color) var(--ease-snap);
}

.btn-subscribe:hover,
.btn-subscribe:focus-visible {
  color: var(--light-neutral);
  border-color: var(--dark-neutral);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--primary);
}

.btn-subscribe:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--primary);
  transition-duration: 45ms;
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--dark-neutral);
  cursor: pointer;
  transition: transform var(--dur-snap) var(--ease-snap);
}

.mobile-menu-toggle:active {
  transform: scale(0.9) rotate(-4deg);
  transition-duration: 45ms;
}

.menu-icon-bars {
  width: 20px;
  height: 16px;
}

.menu-icon-close {
  width: 18px;
  height: 18px;
}

.mobile-menu-toggle[aria-expanded='false'] .menu-icon-close,
.mobile-menu-toggle[aria-expanded='true'] .menu-icon-bars {
  display: none;
}

/* Hero (node 53:396) */
.hero-section {
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  min-height: 520px;
  padding: 0 clamp(28px, 3.5vw, 56px) clamp(28px, 4.5vh, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background-color: var(--light-neutral);
}

.hero-title-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(78px, min(13.2vw, 22vh), 260px);
  line-height: 0.92;
  text-align: center;
  white-space: nowrap;
}

.hero-title-climate {
  position: relative;
  display: block;
  margin: 0;
  color: var(--dark-neutral);
  white-space: nowrap;
}

.hero-title-climate::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--secondary);
  transform-origin: right;
  animation: shutter-wipe 520ms var(--ease-snap) both;
  pointer-events: none;
}

.hero-title-week {
  position: relative;
  display: block;
  margin: 0;
  color: var(--primary);
}

.hero-title-week::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--dark-neutral);
  transform-origin: left;
  animation: shutter-wipe 520ms var(--ease-snap) 90ms both;
  pointer-events: none;
}

.scroll-down-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--dark-neutral);
  background-color: var(--dark-neutral);
  color: var(--light-neutral);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap),
    border-color var(--dur-color) var(--ease-snap);
}

.scroll-down-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 200ms var(--ease-snap);
  pointer-events: none;
}

.scroll-down-img {
  width: 100%;
  height: 100%;
}

.scroll-down-btn:hover,
.scroll-down-btn:focus-visible {
  transform: translate(-2px, -2px);
  color: var(--dark-neutral);
}

.scroll-down-btn:hover::before,
.scroll-down-btn:focus-visible::before {
  transform: scaleY(1);
}

.scroll-down-btn:hover .scroll-down-img,
.scroll-down-btn:focus-visible .scroll-down-img {
  animation: arrow-relay 360ms var(--ease-snap) both;
}

.scroll-down-btn:active {
  transform: translate(1px, 1px);
  transition-duration: 45ms;
}

/* Mountain Banner (node 123:49 / 53:401) */
.mountain-banner {
  width: 100%;
  height: clamp(240px, 31.09375vw, 1194px);
  position: relative;
  overflow: hidden;
  background-color: var(--dark-neutral);
}

.mountain-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Dark Editorial Section (node 53:402) */
.editorial-section {
  width: 100%;
  background-color: var(--dark-neutral);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editorial-copy {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(42px, 5.8vh, 74px) clamp(28px, 4vw, 56px) clamp(46px, 6.4vh, 84px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.1vh, 24px);
  color: var(--light-neutral);
}

.editorial-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(55px, min(7.1vw, 11.5vh), 112px);
  line-height: 0.96;
}

.editorial-headline-line {
  display: block;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.editorial-subhead {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, min(3.2vw, 5.1vh), 48px);
  line-height: 1.22;
}

.editorial-subhead .text-secondary {
  background-image: linear-gradient(var(--secondary), var(--secondary));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  padding: 0 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition:
    background-size 360ms var(--ease-snap) 220ms,
    color 140ms var(--ease-snap) 220ms;
}

.editorial-subhead .text-secondary:last-of-type {
  transition-delay: 320ms;
}

.editorial-copy.is-crunch-visible .editorial-subhead .text-secondary {
  background-size: 100% 100%;
  color: var(--dark-neutral);
}

.editorial-lead {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(17px, 1.32vw, 21px);
  line-height: 1.55;
  max-width: 66ch;
  color: var(--light-neutral);
}

.editorial-copy.is-crunch-ready .editorial-headline-line,
.editorial-copy.is-crunch-ready .editorial-subhead,
.editorial-copy.is-crunch-ready .editorial-lead {
  opacity: 0;
}

.editorial-copy.is-crunch-visible .editorial-headline-line:first-child {
  animation: crunch-collide-left var(--dur-collide) var(--ease-collide) both;
}

.editorial-copy.is-crunch-visible .editorial-headline-line:last-child {
  animation: crunch-collide-right var(--dur-collide) var(--ease-collide) 70ms both;
}

.editorial-copy.is-crunch-visible .editorial-subhead {
  animation: crunch-cut var(--dur-crunch) var(--ease-crunch) 120ms both;
}

.editorial-copy.is-crunch-visible .editorial-lead {
  animation: crunch-cut var(--dur-crunch) var(--ease-crunch) 180ms both;
}

/* Paired Photo Strip & Stats Grid (nodes 53:407 + 53:411) */
.story-showcase {
  width: 100%;
  background-color: var(--light-neutral);
  display: grid;
  grid-template-columns: 424fr 432fr 424fr;
  align-items: stretch;
}

.story-pair {
  --accent-rule: var(--primary);
  position: relative;
  appearance: none;
  margin: 0;
  padding: 0 0 8px;
  border: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 648px 1fr;
  align-items: stretch;
  justify-items: stretch;
  min-width: 0;
  background-color: var(--light-neutral);
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  transition:
    box-shadow var(--dur-snap) var(--ease-snap),
    background-color var(--dur-color) var(--ease-snap);
}

.story-pair[data-pair='ev'] {
  --accent-rule: var(--secondary);
}

.story-pair:hover,
.story-pair:focus-visible {
  background-color: #f6f6f6;
  box-shadow: inset 0 -6px 0 0 var(--accent-rule);
}

.story-pair:focus-visible {
  z-index: 2;
  outline: none;
}

.story-pair:focus-visible::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary);
  pointer-events: none;
  z-index: 3;
}

.story-photo-cell {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--dark-neutral);
  display: block;
  transition: opacity 180ms var(--ease-snap);
}

.story-photo-cell::after {
  content: attr(data-dossier);
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 10px;
  background-color: var(--dark-neutral);
  color: var(--light-neutral);
  border-left: 4px solid var(--accent-rule);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  transform: translate3d(-16px, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 200ms var(--ease-snap),
    opacity 120ms var(--ease-snap);
}

.story-pair:hover .story-photo-cell::after,
.story-pair:focus-visible .story-photo-cell::after {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.story-photo-img,
.story-photo-img-ev {
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--dur-crunch) var(--ease-crunch),
    filter var(--dur-crunch) var(--ease-snap);
}

.story-photo-img {
  width: 100%;
}

.story-photo-img-ev {
  position: absolute;
  top: 0;
  left: -16.79%;
  width: 116.83%;
  max-width: none;
}

.story-pair:hover .story-photo-img,
.story-pair:focus-visible .story-photo-img,
.story-pair:hover .story-photo-img-ev,
.story-pair:focus-visible .story-photo-img-ev {
  transform: scale(1.035);
  filter: contrast(1.1);
}

.stat-card {
  width: 100%;
  margin-top: 16px;
  padding: 24px 40px 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: transparent;
  text-align: center;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    background-color var(--dur-color) var(--ease-snap),
    color var(--dur-color) var(--ease-snap);
}

.stat-graphic-box {
  width: 100%;
  height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--dur-snap) var(--ease-snap);
}

.stat-graphic-stack {
  width: 100%;
  height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform var(--dur-snap) var(--ease-snap);
}

.story-pair:hover .stat-graphic-box,
.story-pair:focus-visible .stat-graphic-box,
.story-pair:hover .stat-graphic-stack,
.story-pair:focus-visible .stat-graphic-stack {
  transform: translate(-3px, -3px);
}

.story-pair:active .stat-graphic-box,
.story-pair:active .stat-graphic-stack {
  transform: translate(1px, 1px);
  transition-duration: 45ms;
}

.stat-svg-primary,
.stat-svg-more-than,
.stat-svg-one-in-five {
  display: block;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.stat-svg-primary {
  max-width: 344px;
  aspect-ratio: 344 / 152;
}

.stat-svg-more-than {
  max-width: 352px;
  aspect-ratio: 352 / 32;
}

.stat-svg-one-in-five {
  max-width: 352px;
  aspect-ratio: 352 / 102;
}

.stat-caption {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  color: var(--dark-neutral);
  width: 100%;
  transition: color 120ms var(--ease-snap);
}

/* Report CTA Band (node 53:445) */
.cta-band {
  width: 100%;
  background-color: var(--light-neutral);
  padding: clamp(36px, 5.8vh, 64px) 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-cta-btn {
  max-width: 100%;
  background-color: var(--primary);
  color: var(--dark-neutral);
  border: 2px solid var(--primary);
  padding: 16px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap),
    border-color var(--dur-color) var(--ease-snap);
}

.report-cta-btn:hover,
.report-cta-btn:focus-visible {
  color: var(--light-neutral);
  border-color: var(--dark-neutral);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--primary);
}

.report-cta-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--primary);
  transition-duration: 45ms;
}

.report-cta-label {
  width: auto;
  max-width: 100%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: inherit;
  text-align: center;
  display: block;
}

/* Footer (node 53:448) */
.site-footer {
  width: 100%;
  background-color: var(--light-neutral);
  padding: 23px clamp(23px, 3.5vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 21px;
  color: var(--dark-neutral);
}

.footer-copy,
.footer-sources {
  margin: 0;
  white-space: nowrap;
}

/* Modals & Drawers */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(37, 37, 37, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-panel {
  width: 100%;
  max-width: 800px;
  max-height: 88vh;
  overflow-y: auto;
  background-color: var(--light-neutral);
  color: var(--dark-neutral);
  border: 3px solid var(--dark-neutral);
  box-shadow: 8px 8px 0 0 var(--dark-neutral);
  padding: 32px;
  position: relative;
  animation: crunch-modal-stamp var(--dur-crunch) var(--ease-crunch) both;
}

.modal-panel.is-static {
  animation: none;
}

.modal-panel-narrow {
  max-width: 500px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-header>div:first-child {
  min-width: 0;
}

.modal-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 37px;
  line-height: 1.08;
  color: var(--dark-neutral);
}

.modal-close-btn {
  background-color: var(--dark-neutral);
  color: var(--light-neutral);
  border: 2px solid var(--dark-neutral);
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap);
}

.modal-close-btn:hover,
.modal-close-btn:focus-visible {
  color: var(--dark-neutral);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--dark-neutral);
}

.modal-close-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--dark-neutral);
  transition-duration: 45ms;
}

.chapter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chapter-tab-btn {
  background-color: var(--light-neutral);
  color: var(--dark-neutral);
  border: 2px solid var(--dark-neutral);
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap);
}

.chapter-tab-btn:hover,
.chapter-tab-btn:focus-visible {
  color: var(--light-neutral);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 0 var(--primary);
}

.chapter-tab-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--primary);
  transition-duration: 45ms;
}

.chapter-tab-btn.is-active {
  color: var(--light-neutral);
  box-shadow: 3px 3px 0 0 var(--primary);
}

.chapter-hero-metric {
  background-color: var(--dark-neutral);
  color: var(--light-neutral);
  padding: 24px;
  margin-bottom: 20px;
  animation: crunch-cut var(--dur-crunch) var(--ease-crunch) both;
}

.chapter-metric-value {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.04;
  color: var(--primary);
}

.chapter-metric-value.is-secondary {
  color: var(--secondary);
}

.chapter-metric-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25px;
  line-height: 32px;
}

.modal-body-copy {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-neutral);
}

.chapter-source-bar {
  border-top: 2px solid var(--dark-neutral);
  padding-top: 16px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.desk-list {
  display: grid;
  gap: 16px;
}

.desk-item {
  border: 2px solid var(--dark-neutral);
  padding: 18px;
  animation: crunch-cut var(--dur-crunch) var(--ease-crunch) both;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap);
}

.desk-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 0 var(--secondary);
}

.desk-item-meta {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: var(--secondary);
}

.desk-item-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
}

.desk-item-summary {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
}

.form-input {
  width: 100%;
  min-width: 0;
  border: 2px solid var(--dark-neutral);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 15px;
  background: var(--light-neutral);
  color: var(--dark-neutral);
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap);
}

.form-input:focus {
  outline: none;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--primary);
}

.form-submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--dark-neutral);
  border: 2px solid var(--dark-neutral);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
  transition:
    transform var(--dur-snap) var(--ease-snap),
    box-shadow var(--dur-snap) var(--ease-snap),
    color var(--dur-color) var(--ease-snap);
}

.form-submit-btn:hover,
.form-submit-btn:focus-visible {
  color: var(--light-neutral);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--primary);
}

.form-submit-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--primary);
  transition-duration: 45ms;
}

.form-feedback {
  padding: 16px 18px;
  background-color: var(--dark-neutral);
  color: var(--light-neutral);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
}

.mobile-nav-drawer {
  display: none;
}

.mobile-nav-drawer[hidden] {
  display: none !important;
}

/* Desktop & Tablet Story Polarity Curtain (>= 768px) */
@media (min-width: 768px) {
  .story-showcase {
    --stat-graphic-h: clamp(88px, min(8.3vw, 15vh), 162px);
  }

  .story-pair {
    padding: 0;
    grid-template-rows: clamp(320px, min(44vw, 55vh), 920px) 1fr;
  }

  .story-pair:hover,
  .story-pair:focus-visible {
    background-color: var(--light-neutral);
    box-shadow: none;
  }

  .story-showcase:hover .story-pair:not(:hover) .story-photo-cell,
  .story-showcase:hover .story-pair:not(:hover) .stat-card {
    opacity: 0.72;
  }

  .stat-card {
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin-top: 0;
    padding: clamp(23px, 3.2vh, 42px) clamp(23px, 2.8vw, 46px)
      clamp(23px, 3vh, 38px);
    gap: clamp(12px, 1.6vh, 21px);
    transition:
      opacity 180ms var(--ease-snap),
      box-shadow var(--dur-snap) var(--ease-snap),
      color var(--dur-color) var(--ease-snap);
  }

  .stat-graphic-box,
  .stat-graphic-stack {
    height: var(--stat-graphic-h);
    justify-content: center;
  }

  .stat-graphic-stack {
    gap: calc(var(--stat-graphic-h) * 0.105);
  }

  .stat-svg-primary,
  .stat-svg-more-than,
  .stat-svg-one-in-five {
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .stat-svg-primary {
    height: var(--stat-graphic-h);
  }

  .stat-svg-more-than {
    height: calc(var(--stat-graphic-h) * 0.21);
  }

  .stat-svg-one-in-five {
    height: calc(var(--stat-graphic-h) * 0.67);
  }

  .stat-caption {
    font-size: clamp(18px, min(1.75vw, 2.9vh), 30px);
    line-height: 1.18;
    max-width: 24ch;
  }

  .stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--dark-neutral);
    transform: scaleY(0);
    transform-origin: top;
    pointer-events: none;
    transition: transform 240ms var(--ease-snap);
  }

  .story-pair:hover .stat-card,
  .story-pair:focus-visible .stat-card {
    box-shadow: inset 0 -6px 0 0 var(--accent-rule);
  }

  .story-pair:hover .stat-card::before,
  .story-pair:focus-visible .stat-card::before {
    transform: scaleY(1);
  }

  .story-pair:hover .stat-caption,
  .story-pair:focus-visible .stat-caption {
    color: var(--light-neutral);
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  :root {
    --header-height: 62px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    padding: 12px;
    border-bottom: 1px solid rgba(37, 37, 37, 0.08);
  }

  .brand-lockup-img {
    width: auto;
    height: 36px;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
  }

  .header-cta {
    gap: 10px;
  }

  .header-cta .btn-signin {
    display: none;
  }

  .header-cta .btn-subscribe {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 16px;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 39;
    background-color: var(--light-neutral);
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: crunch-drawer-in var(--dur-crunch) var(--ease-crunch) both;
  }

  .mobile-drawer-nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-drawer .mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    color: var(--dark-neutral);
    box-shadow: none;
    transform: none;
    transition:
      padding-left var(--dur-snap) var(--ease-snap),
      padding-right var(--dur-snap) var(--ease-snap),
      color var(--dur-color) var(--ease-snap);
  }

  .mobile-nav-drawer .mobile-nav-item:hover,
  .mobile-nav-drawer .mobile-nav-item:active {
    padding-left: 8px;
    padding-right: 8px;
    background-color: transparent;
    color: var(--light-neutral);
    box-shadow: none;
    transform: none;
  }

  .mobile-nav-drawer .mobile-nav-item:hover::before,
  .mobile-nav-drawer .mobile-nav-item:active::before {
    transform-origin: left;
    transform: scaleX(1);
  }

  .mobile-nav-drawer .mobile-nav-item:hover .mobile-nav-chevron,
  .mobile-nav-drawer .mobile-nav-item:active .mobile-nav-chevron {
    color: var(--primary);
  }

  .mobile-nav-chevron {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1;
    color: rgba(37, 37, 37, 0.45);
  }

  .mobile-drawer-footer {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-drawer-subscribe {
    width: 100%;
    padding: 13px 16px;
    background-color: var(--primary);
    color: var(--dark-neutral);
    border: 2px solid var(--primary);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    transition:
      transform var(--dur-snap) var(--ease-snap),
      box-shadow var(--dur-snap) var(--ease-snap),
      color var(--dur-color) var(--ease-snap),
      border-color var(--dur-color) var(--ease-snap);
  }

  .mobile-drawer-subscribe:hover,
  .mobile-drawer-subscribe:focus-visible {
    color: var(--light-neutral);
    border-color: var(--dark-neutral);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 var(--primary);
  }

  .mobile-drawer-subscribe:active {
    transform: translate(1px, 1px);
    box-shadow: 0 0 0 0 var(--primary);
    transition-duration: 45ms;
  }

  .mobile-drawer-signin {
    width: 100%;
    padding: 13px 16px;
    background-color: var(--dark-neutral);
    color: var(--light-neutral);
    border: 2px solid var(--dark-neutral);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    transition:
      transform var(--dur-snap) var(--ease-snap),
      box-shadow var(--dur-snap) var(--ease-snap),
      color var(--dur-color) var(--ease-snap),
      border-color var(--dur-color) var(--ease-snap);
  }

  .mobile-drawer-signin:hover,
  .mobile-drawer-signin:focus-visible {
    color: var(--dark-neutral);
    border-color: var(--dark-neutral);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 0 var(--secondary);
  }

  .mobile-drawer-signin:active {
    transform: translate(1px, 1px);
    box-shadow: 0 0 0 0 var(--secondary);
    transition-duration: 45ms;
  }

  .hero-section {
    min-height: 460px;
    padding: 0 20px 32px;
    gap: 0;
  }

  .hero-title {
    font-size: clamp(58px, 17vw, 94px);
    line-height: 0.94;
  }

  .hero-title-climate {
    white-space: normal;
  }

  .mountain-banner {
    height: 240px;
  }

  .editorial-copy {
    padding: 36px 20px 44px;
    gap: 16px;
  }

  .editorial-headline {
    font-size: clamp(42px, 12vw, 60px);
    line-height: 0.98;
  }

  .editorial-subhead {
    font-size: clamp(25px, 6.9vw, 32px);
    line-height: 1.25;
  }

  .editorial-lead {
    font-size: 17px;
    line-height: 1.55;
  }

  /* Paired Story Photos + Stats Bento Grid (edge-to-edge, borderless) */
  .story-showcase {
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0;
    align-items: stretch;
  }

  .story-pair {
    display: flex;
    flex-direction: column;
    grid-template-rows: auto;
    padding: 0;
    border: 0;
    background-color: var(--light-neutral);
    overflow: hidden;
    min-width: 0;
  }

  .story-pair:hover,
  .story-pair:focus-visible {
    background-color: var(--light-neutral);
    box-shadow: none;
  }

  .story-photo-cell::after {
    top: 10px;
    left: 10px;
    padding: 4px 7px;
    font-size: 10px;
    line-height: 12px;
  }

  .stat-card {
    margin-top: 0;
    padding: 18px 16px 20px;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    background-color: var(--light-neutral);
  }

  .stat-graphic-box,
  .stat-graphic-stack {
    align-items: flex-start;
  }

  .story-pair:hover .stat-card,
  .story-pair:focus-visible .stat-card {
    background-color: #f5f5f5;
    box-shadow: inset 0 3px 0 0 var(--accent-rule);
  }

  /* Featured Row 1 Bento Tile: solar photo left + 88% dark panel right */
  .story-pair:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .story-pair:first-child .story-photo-cell {
    height: 100%;
    min-height: clamp(176px, 48vw, 260px);
  }

  .story-pair:first-child .stat-card {
    height: 100%;
    background-color: var(--dark-neutral);
    padding: 20px 18px;
    justify-content: center;
    gap: 10px;
  }

  .story-pair:first-child:hover .stat-card,
  .story-pair:first-child:focus-visible .stat-card {
    background-color: #1c1c1c;
    box-shadow: inset 0 3px 0 0 var(--primary);
  }

  .story-pair:first-child .stat-caption {
    color: var(--light-neutral);
    font-size: clamp(17px, 4.8vw, 26px);
    line-height: 1.1;
  }

  /* Paired Row 2 Bento Tiles: EV & Ozone with image above stat */
  .story-pair:nth-child(n + 2) .story-photo-cell {
    width: 100%;
    height: clamp(128px, 36vw, 220px);
    flex-shrink: 0;
  }

  .story-pair:nth-child(n + 2) .story-photo-img-ev {
    position: static;
    width: 100%;
    height: 100%;
    left: auto;
    object-position: center 45%;
  }

  .story-pair:nth-child(n + 2) .stat-card {
    flex: 1;
    padding: 18px 16px 20px;
    justify-content: flex-start;
    gap: 10px;
  }

  .story-pair:nth-child(2) {
    flex-direction: column-reverse;
  }

  .story-pair:nth-child(2):hover .stat-card,
  .story-pair:nth-child(2):focus-visible .stat-card {
    background-color: #eaedfc;
    box-shadow: inset 0 3px 0 0 var(--secondary);
  }

  .story-pair:nth-child(n + 2) .stat-graphic-box,
  .story-pair:nth-child(n + 2) .stat-graphic-stack {
    width: 100%;
    aspect-ratio: 344 / 152;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: clamp(5px, 1.5vw, 12px);
  }

  .story-pair:nth-child(n + 2) .stat-caption {
    font-size: clamp(14px, 3.85vw, 20px);
    line-height: 1.15;
  }

  .report-cta-label {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.4;
  }

  .site-footer {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 20px;
  }

  .footer-copy,
  .footer-sources {
    white-space: normal;
  }

  .modal-backdrop {
    padding: 16px;
  }

  .modal-panel {
    padding: clamp(20px, 5.5vw, 28px);
    max-height: 90vh;
    box-shadow: 6px 6px 0 0 var(--dark-neutral);
  }

  .modal-panel-narrow {
    max-width: 440px;
  }

  .modal-header {
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
  }

  .modal-eyebrow {
    font-size: 11px;
    line-height: 14px;
    margin-bottom: 4px;
  }

  .modal-title {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.05;
  }

  .modal-close-btn {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 16px;
  }

  .modal-body-copy {
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .modal-form {
    gap: 14px;
  }

  .form-input {
    padding: 10px 12px;
    font-size: 16px;
  }

  .form-submit-btn {
    padding: 12px;
    font-size: clamp(12px, 3.6vw, 14px);
    line-height: 18px;
  }

  .chapter-hero-metric {
    padding: 18px;
    margin-bottom: 16px;
  }

  .chapter-metric-value {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.05;
  }

  .chapter-metric-headline {
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.25;
  }
}

/* Compact Phones (< 360px) */
@media (max-width: 359px) {
  .site-header {
    padding: 12px;
  }

  .brand-lockup-img {
    height: 30px;
  }

  .header-cta {
    gap: 6px;
  }

  .mobile-menu-toggle {
    width: 34px;
    height: 34px;
  }

  .btn-signin,
  .header-cta .btn-subscribe {
    padding: 5px 8px;
    font-size: 12px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-panel {
    padding: 16px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-close-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-title-climate::after,
  .hero-title-week::after {
    display: none;
  }

  .editorial-copy.is-crunch-ready .editorial-headline-line,
  .editorial-copy.is-crunch-ready .editorial-subhead,
  .editorial-copy.is-crunch-ready .editorial-lead {
    opacity: 1;
  }
}