

:root {
  --color-accent: #c1cd23;
  --color-visitor: #4a5568;
  --color-resident: #c1cd23;
  --color-negative: #b91c1c;
  --color-seg2: #8b9c4a;
  --color-seg3: #5a6b2e;
  --color-seg4: #3d4a1f;
  --color-seg5: #2a3316;
  --color-bg-dark: #0d0d0d;
  --color-bg-light: #f5f5f5;
  --color-text: #1a1a1a;
  --color-text-muted: #4a4a4a;
  --color-on-dark: #fafafa;
  --color-on-dark-muted: #c8c8c8;
  --font: "DM Sans", system-ui, sans-serif;
  /* Type hierarchy */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --text-xs: 0.75rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.15rem;
  --text-xl: 1.3rem;
  --text-2xl: 1.65rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.75rem;
  --text-5xl: clamp(2.5rem, 8vw, 4.5rem);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --container: min(92%, 1100px);
  --container-narrow: min(92%, 720px);
  --radius: 0;
  --transition: 0.3s ease;
  --color-gold: #c9a227;
  --color-gold-dark: #8b6914;
  --color-gold-text: #2d2208;
}


/* Reduced motion: forced OFF - animations always run (per project requirement). */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Reserve space for scrollbar so it doesn't appear as "new" on load and cause a flash */
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

/* Global scroll progress bar (full-width, fills as you scroll - energy-profits style) */
.scroll-progress-global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
}

.scroll-progress-global__fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.12s ease-out;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-light);
  overflow-x: hidden;
}

/* When embedded (e.g. Squarespace Code block), .sas-impact is the root fragment */
main.sas-impact {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-light);
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
  /* Safe area for notched devices (e.g. iPhone X+) */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

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

/* -------------------------------------------------------------------------- */
/* Layout: container, section, block                                         */
/* -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  box-sizing: border-box;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Sections visible by default (no-JS fallback). When JS runs it adds .js-loaded to body and scroll-reveal applies. */
.section {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-loaded .section {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Sticky breaks when any ancestor has transform; keep scrolly-section, section.block and section-signpost free of transform */
body.js-loaded .section.scrolly-section,
body.js-loaded section.block,
body.js-loaded .section-signpost {
  transform: none !important;
}
body.js-loaded .section.scrolly-section.is-visible,
body.js-loaded section.block.is-visible,
body.js-loaded .section-signpost.is-visible {
  transform: none !important;
}

/* Staggered reveal: transform + opacity only for smoothness */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body.js-loaded .section.is-visible .reveal-item:nth-child(1) { transition-delay: 0.08s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(2) { transition-delay: 0.18s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(3) { transition-delay: 0.28s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(4) { transition-delay: 0.38s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(5) { transition-delay: 0.48s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(6) { transition-delay: 0.58s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(7) { transition-delay: 0.68s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(8) { transition-delay: 0.78s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(9) { transition-delay: 0.88s; }
body.js-loaded .section.is-visible .reveal-item:nth-child(10) { transition-delay: 0.98s; }

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

/* Section signposts: slide-in “next section” labels between major blocks */
.section-signpost {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 20vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg-light);
  color: var(--color-text);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Animated accent bar that grows in on reveal */
.section-signpost::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-loaded .section-signpost.reveal-item.is-visible::before {
  transform: scaleY(1);
}

.section-signpost.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-loaded .section-signpost.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-signpost__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Section number: pill + bold typography */
.section-signpost__part {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--color-bg-light);
  background: var(--color-accent);
  border-radius: 50%;
  line-height: 1;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 12px rgba(193, 205, 35, 0.35);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

body.js-loaded .section-signpost.reveal-item.is-visible .section-signpost__part {
  opacity: 1;
  transform: scale(1);
}

.section-signpost__title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

body.js-loaded .section-signpost.reveal-item.is-visible .section-signpost__title {
  opacity: 1;
  transform: translateX(0);
}

/* Dark variant: inverted number pill, strong contrast */
.section-signpost--dark {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section-signpost--dark::before {
  background: var(--color-accent);
}

.section-signpost--dark .section-signpost__part {
  color: var(--color-bg-dark);
  background: var(--color-accent);
  box-shadow: 0 2px 16px rgba(193, 205, 35, 0.4);
}

.section-signpost--dark .section-signpost__title {
  color: var(--color-on-dark);
  font-weight: 800;
}

.block {
  padding: var(--space-2xl) 0;
}

/* No gap between image above and Key findings: visitor satisfaction */
#where-money-goes.block {
  padding-bottom: 0;
}
#where-money-goes .section-figure:last-of-type {
  margin-bottom: 0;
}
#visitor-satisfaction.block {
  padding-top: var(--space-xl);
  padding-bottom: 0;
}
#visitor-satisfaction .section-figure:last-of-type,
#visitor-satisfaction .section-figure--bleed:last-of-type {
  margin-bottom: 0 !important;
}
#paid-parking.section.block {
  margin-top: 0;
}

#closing.block {
  padding-bottom: 0;
}
#closing .section-figure:last-of-type,
#closing .section-figure--bleed:last-of-type {
  margin-bottom: 0 !important;
}
#concluding-comments.section.block {
  margin-top: 0;
  padding-bottom: var(--space-2xl);
}

#concluding-comments + .section-figure--bleed {
  margin: 0;
}

.donate-section {
  padding-bottom: 0 !important;
}

#donate.donate-section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#donate + .section-figure,
#donate + .section-figure.section-figure--bleed {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.section-figure--bleed + .faq-section {
  padding-top: var(--space-2xl);
}

/* Sticky stacking: each section (signpost + block) sticks and the next slides over it (layer sliding effect). Z-index by document order. */
section.block {
  position: sticky;
  top: 0;
  min-height: 100vh;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.15);
}
.sas-impact > *:nth-child(1) { z-index: 1; }
.sas-impact > *:nth-child(2) { z-index: 2; }
.sas-impact > *:nth-child(3) { z-index: 3; }
.sas-impact > *:nth-child(4) { z-index: 4; }
.sas-impact > *:nth-child(5) { z-index: 5; }
.sas-impact > *:nth-child(6) { z-index: 6; }
.sas-impact > *:nth-child(7) { z-index: 7; }
.sas-impact > *:nth-child(8) { z-index: 8; }
.sas-impact > *:nth-child(9) { z-index: 9; }
.sas-impact > *:nth-child(10) { z-index: 10; }
.sas-impact > *:nth-child(11) { z-index: 11; }
.sas-impact > *:nth-child(12) { z-index: 12; }
.sas-impact > *:nth-child(13) { z-index: 13; }
.sas-impact > *:nth-child(14) { z-index: 14; }
.sas-impact > *:nth-child(15) { z-index: 15; }
.sas-impact > *:nth-child(16) { z-index: 16; }
.sas-impact > *:nth-child(17) { z-index: 17; }
.sas-impact > *:nth-child(18) { z-index: 18; }
.sas-impact > *:nth-child(19) { z-index: 19; }
.sas-impact > *:nth-child(20) { z-index: 20; }
.sas-impact > *:nth-child(21) { z-index: 21; }
.sas-impact > *:nth-child(22) { z-index: 22; }
.sas-impact > *:nth-child(23) { z-index: 23; }
.sas-impact > *:nth-child(24) { z-index: 24; }
.sas-impact > *:nth-child(25) { z-index: 25; }
.sas-impact > *:nth-child(26) { z-index: 26; }
.sas-impact > *:nth-child(27) { z-index: 27; }
.sas-impact > *:nth-child(28) { z-index: 28; }
.sas-impact > *:nth-child(29) { z-index: 29; }
.sas-impact > *:nth-child(30) { z-index: 30; }
.sas-impact > *:nth-child(31) { z-index: 31; }
.sas-impact > *:nth-child(32) { z-index: 32; }
.sas-impact > *:nth-child(33) { z-index: 33; }
.sas-impact > *:nth-child(34) { z-index: 34; }
.sas-impact > *:nth-child(35) { z-index: 35; }
.sas-impact > *:nth-child(36) { z-index: 36; }
.sas-impact > *:nth-child(37) { z-index: 37; }
.sas-impact > *:nth-child(38) { z-index: 38; }
.sas-impact > *:nth-child(39) { z-index: 39; }
.sas-impact > *:nth-child(40) { z-index: 40; }

.block--dark {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
}

.block--light {
  background: var(--color-bg-light);
  color: var(--color-text);
}

/* Never use white/light text on light background; highlights use their own background */
.block--light .block__title,
.block--light .block__intro,
.block--light .block__note,
.block--light .display-number,
.block--light .display-quote,
.block--light .display-quote--muted,
.block--light .scrolly-number__label,
.block--light .scrolly-number__value,
.block--light .chart-bar__caption,
.block--light .chart-bar__label,
.block--light .chart-bar__num {
  color: var(--color-text);
}

.block--light .block__intro,
.block--light .block__note,
.block--light .display-quote--muted,
.block--light .scrolly-number__label {
  color: var(--color-text-muted);
}

.block--light .display-number,
.block--light .scrolly-number__value {
  color: var(--color-seg3);
}

.block__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-md);
  line-height: 1.2;
}

.block__title .icon {
  flex-shrink: 0;
}

.block--dark .block__title { color: var(--color-on-dark); }
.block--dark .block__intro,
.block--dark .block__note { color: var(--color-on-dark-muted); }

.block__intro {
  margin: 0 0 var(--space-md);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
}

.block__note {
  margin: var(--space-sm) 0 0;
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
}

/* Section images (editorial): full-width or contained, lazy-loaded */
.section-figure {
  position: relative;
  margin: var(--space-xl) 0;
  padding: 0;
  overflow: hidden;
}

.section-figure img {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.section-figure img.is-loaded { opacity: 1; }

/* Full-bleed impactful images: break out of container, full viewport width */
.section-figure--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding: 0;
}

/* No gap between section image and the next section signpost (e.g. second image and "2 Movement of people") */
section.block:has(+ .section-signpost) .section-figure--bleed:last-of-type {
  margin-bottom: 0;
}
section.block:has(+ .section-signpost) {
  padding-bottom: 0.1px;
}
section.block:has(+ .section-signpost) .image-text-block:last-child {
  margin-bottom: 0;
}

/* No gap between scrolly steps and the photo in visitor-spending */
.visitor-spending__figure-wrap .section-figure {
  margin-top: 0;
}

/* No space after image under Climber ages (origins section) */
#origins .section-figure:last-of-type,
#origins .section-figure--bleed:last-of-type {
  margin-bottom: 0;
}

.section-figure--bleed img {
  width: 100%;
  max-height: none;
  min-height: 60vh;
  height: 60vh;
  object-fit: cover;
  border-radius: 0;
}

/* Parallax wrapper for section images.
   The image is taller than the visible container (60vh flow height)
   so the parallax shift always has image content to reveal.
   Negative margins keep the container's flow height at 60vh. */
.section-figure--parallax {
  overflow: hidden;
}

.section-figure--parallax img {
  will-change: transform;
  height: 100vh;
  min-height: 100vh;
  margin-top: -20vh;
  margin-bottom: -20vh;
}

/* Frame the upper third of the image (e.g. credibility section) */
.section-figure--frame-upper-third img {
  object-position: center 17%;
}

@media (max-width: 640px) {
  .section-figure--frame-left-mobile img {
    object-position: 33% center !important;
  }
  .section-figure--frame-left-far-mobile img {
    object-position: 20% center !important;
  }
  .section-figure--frame-right-mobile img {
    object-position: 67% center !important;
  }
  .section-figure--frame-right-far-mobile img {
    object-position: 90% center !important;
  }
  .section-figure--frame-right-soft-mobile img {
    object-position: 58% center !important;
  }
}

.section-figure--full img {
  max-height: none;
  border-radius: 0;
}

/* Big text with image inside (background-clip: text) */
.image-text-block {
  position: relative;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg-light);
}

/* No full-bleed img behind the block - only the image clipped inside the text; avoids text on top of img */
.image-text-block__bg {
  display: none;
}

.image-text-block__bg::after {
  content: none;
}

.block--dark .image-text-block {
  background: var(--color-bg-dark);
}

.image-text-block__text {
  position: relative;
  z-index: 1;
  font-size: clamp(4rem, 20vw, 14rem);
  font-weight: var(--fw-bold);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 0 var(--space-md);
}

.image-text-block__caption {
  position: relative;
  z-index: 1;
  max-width: 36ch;
  margin: var(--space-sm) auto 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  text-align: center;
  color: var(--color-text-muted, #888);
  letter-spacing: 0.01em;
}
.block--dark .image-text-block__caption { color: rgba(255,255,255,0.6); }

/* Chart section with full-bleed image behind it */
.chart-on-image {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

/* Bars-only: no background image, solid background so bands are visible */
.chart-on-image--bars-only {
  background: var(--color-bg-light);
}
.chart-on-image--bars-only .chart-bar__track {
  background: rgba(0,0,0,0.08);
}
.chart-on-image--bars-only .chart-bar__caption,
.chart-on-image--bars-only .chart-bar__label,
.chart-on-image--bars-only .chart-bar__num {
  color: var(--color-text);
  text-shadow: none;
}

/* Where the money goes: two full-width bars (Visitors / Residents) with visible labels */
.spending-bars .chart-bar-wrap {
  display: block;
}
.spending-bars .chart-bar-row {
  display: block;
  margin-bottom: var(--space-md);
}
.spending-bars .chart-bar-row:last-child {
  margin-bottom: 0;
}
.spending-bars .chart-bar__track {
  overflow-x: visible;
  overflow-y: hidden;
  min-height: 108px;
}
.spending-bars .chart-bar__caption {
  visibility: visible;
  opacity: 1;
  color: var(--color-text);
}
.spending-bars .chart-bar__label,
.spending-bars .chart-bar__num {
  color: var(--color-text);
}

.chart-on-image__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.chart-on-image__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

.chart-on-image .container {
  position: relative;
  z-index: 1;
}

.chart-on-image .block__title,
.chart-on-image .block__intro,
.chart-on-image .display-number,
.chart-on-image .display-quote,
.chart-on-image .chart-bar-wrap {
  color: var(--color-on-dark);
}

.chart-on-image .block__intro { color: var(--color-on-dark-muted); }
.chart-on-image .display-quote--muted { color: var(--color-on-dark-muted); }
.chart-on-image .display-number { color: var(--color-accent); }
.chart-on-image .chart-bar__label,
.chart-on-image .chart-bar__num { color: var(--color-on-dark); }
.chart-on-image .chart-bar__track { background: rgba(255,255,255,0.15); }

/* Fullscreen bar chart: edge-to-edge full width (break out of container to viewport edges) */
.chart-bar-fullscreen-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
  box-sizing: border-box;
}

/* When fullscreen wrap is direct child of section (e.g. gender-bars, parking-bars), breakout reaches viewport left */
.section > .chart-bar-fullscreen-wrap {
  display: block;
  min-width: 100vw;
}

.chart-bar-wrap--fullscreen {
  margin: 0;
}

.chart-bar-wrap--fullscreen .chart-bar-row {
  display: block;
  margin: 0;
  grid-template-columns: unset;
  gap: 0;
}

.chart-bar-wrap--fullscreen .chart-bar__track {
  position: relative;
  width: 100%;
  height: 108px;
  margin: 0;
  border-radius: 0;
  background: rgba(0,0,0,0.2);
  --bar-scale: 0;
}

.chart-on-image .chart-bar-wrap--fullscreen .chart-bar__track {
  background: rgba(255,255,255,0.12);
}

.chart-bar-wrap--fullscreen .chart-bar__fill {
  border-radius: 0;
}

.chart-bar-wrap--fullscreen .chart-bar__fill--visitors {
  background: var(--color-visitor);
}

.chart-bar-wrap--fullscreen .chart-bar__fill--residents {
  background: var(--color-resident);
}

.chart-bar__caption {
  position: absolute;
  left: calc(var(--bar-scale, 0) * 100%);
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-left: var(--space-sm);
  transition: left 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  color: var(--color-text);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  z-index: 1;
  pointer-events: none;
}

.chart-on-image .chart-bar__caption {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.chart-bar__caption .chart-bar__label {
  font-weight: var(--fw-bold);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
}

.chart-bar__caption .chart-bar__num {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: var(--fw-bold);
  text-align: left;
}

/* Photo credit: always bottom-right corner of the image */
.section-figure figcaption,
.section-figure .image-credit {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  left: auto;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  z-index: 2;
  max-width: 85%;
  text-align: right;
}

.block--dark .section-figure figcaption,
.block--dark .section-figure .image-credit {
  color: rgba(255,255,255,0.95);
}

.section-figure .image-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-figure .image-credit a:hover {
  opacity: 0.9;
}

.section-figure figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.image-credit--overlay {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  left: auto;
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  z-index: 2;
}

.image-credit--overlay a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-figure-wrap {
  margin-top: var(--space-xl);
}

.visitor-spending__figure-wrap {
  margin-top: 0;
}

.visitor-spending__figure-wrap .section-figure,
.visitor-spending__figure-wrap .section-figure--bleed {
  margin: 0;
}

/* Huge display text - key numbers and phrases */
.display-number,
.display-quote {
  display: block;
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-md);
}

.display-number {
  font-size: clamp(3.25rem, 16vw, 10rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--color-accent);
}

.block--light .display-number {
  color: var(--color-seg3);
}

.display-quote {
  font-size: clamp(2.25rem, 9vw, 5.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-on-dark);
}

.block--light .display-quote {
  color: var(--color-text);
}

.display-quote--muted {
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-on-dark-muted);
}

.block--light .display-quote--muted {
  color: var(--color-text-muted);
}

.display-number-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-lg) var(--space-2xl);
  margin-bottom: var(--space-sm);
  --count-progress: 0;
}

.display-number-row .display-number {
  transform: scale(calc(0.55 + 0.45 * var(--count-progress, 0)));
  transform-origin: left bottom;
  transition: none;
}

.jobs-number {
  --count-progress: 0;
  transform: scale(calc(0.5 + 0.5 * var(--count-progress, 0)));
  transform-origin: center bottom;
  transition: none;
}

.display-number--small {
  font-size: clamp(2.25rem, 9vw, 5.5rem);
  font-weight: 800;
}

/* Visitors color-code: $21.1M and label (matches bar chart + left table header) */
.display-number--visitors,
.block--light .display-number--visitors {
  color: var(--color-visitor);
}

.display-quote--visitors,
.block--light .display-quote--visitors {
  color: var(--color-visitor);
  font-weight: var(--fw-bold);
}

/* Residents color-code: $4.3M and label (matches bar chart + right table header) */
.display-number--residents,
.block--light .display-number--residents {
  color: var(--color-resident);
}

.display-quote--residents {
  color: var(--color-resident);
  font-weight: var(--fw-bold);
}

.scrolly-section--light .display-quote {
  color: var(--color-text);
}

/* Scroll-triggered highlight for key data in paragraphs.
   Uses plain background-color on inline spans — wraps naturally
   across line breaks on all browsers including mobile Safari. */
.highlight-wrap .key-highlight {
  background-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Green-only highlight (e.g. impact-hook question) – both words use green */
.highlight-wrap.highlight-wrap--green.is-visible .key-highlight,
.highlight-wrap.highlight-wrap--green .key-highlight.is-in-view {
  background-color: #c1cd23;
}
.highlight-wrap.highlight-wrap--green.is-visible .key-highlight:nth-of-type(odd),
.highlight-wrap.highlight-wrap--green .key-highlight.is-in-view:nth-of-type(odd) {
  color: #000;
}
.highlight-wrap.highlight-wrap--green.is-visible .key-highlight:nth-of-type(even),
.highlight-wrap.highlight-wrap--green .key-highlight.is-in-view:nth-of-type(even) {
  color: #fff;
}
.highlight-wrap--green .key-highlight:nth-of-type(1) { transition-delay: 0s; }
.highlight-wrap--green .key-highlight:nth-of-type(2) { transition-delay: 0.12s; }

/* Visitor highlight: visitor color bg, white text (no animation) */
.highlight-wrap .key-highlight--visitor {
  background-color: var(--color-visitor) !important;
  color: #fff;
}
.highlight-wrap .key-highlight--visitor,
.highlight-wrap .key-highlight--visitor a {
  color: #fff;
}

/* Resident highlight: resident color bg, black text (no animation) */
.highlight-wrap .key-highlight--resident {
  background-color: var(--color-resident) !important;
  color: #000;
}
.highlight-wrap .key-highlight--resident,
.highlight-wrap .key-highlight--resident a {
  color: #000;
}

/* Accent highlight (#c1cd23) - odd key-highlights */
.highlight-wrap.is-visible .key-highlight:nth-of-type(odd),
.highlight-wrap .key-highlight.is-in-view:nth-of-type(odd),
.scrolly-step.is-active .highlight-wrap .key-highlight:nth-of-type(odd) {
  background-color: #c1cd23;
  color: #000;
}

.block--light .highlight-wrap.is-visible .key-highlight:nth-of-type(odd),
.block--light .highlight-wrap .key-highlight.is-in-view:nth-of-type(odd) {
  background-color: #c1cd23;
  color: #000;
}

/* Black highlight with white text - even key-highlights */
.highlight-wrap.is-visible .key-highlight:nth-of-type(even),
.highlight-wrap .key-highlight.is-in-view:nth-of-type(even),
.scrolly-step.is-active .highlight-wrap .key-highlight:nth-of-type(even) {
  background-color: #000;
  color: #fff;
}

.block--light .highlight-wrap.is-visible .key-highlight:nth-of-type(even),
.block--light .highlight-wrap .key-highlight.is-in-view:nth-of-type(even) {
  background-color: #000;
  color: #fff;
}

/* Visitor highlight: always white text (overrides nth-of-type odd) */
.highlight-wrap.is-visible .key-highlight--visitor,
.highlight-wrap .key-highlight--visitor.is-in-view,
.scrolly-step.is-active .highlight-wrap .key-highlight--visitor,
.block--light .highlight-wrap.is-visible .key-highlight--visitor {
  color: #fff !important;
}

/* Resident highlight: always black text (overrides nth-of-type even) */
.highlight-wrap.is-visible .key-highlight--resident,
.highlight-wrap .key-highlight--resident.is-in-view,
.scrolly-step.is-active .highlight-wrap .key-highlight--resident,
.block--light .highlight-wrap.is-visible .key-highlight--resident {
  color: #000 !important;
}

.highlight-wrap .key-highlight:nth-of-type(1) { transition-delay: 0s; }
.highlight-wrap .key-highlight:nth-of-type(2) { transition-delay: 0.08s; }
.highlight-wrap .key-highlight:nth-of-type(3) { transition-delay: 0.16s; }
.highlight-wrap .key-highlight:nth-of-type(4) { transition-delay: 0.24s; }
.highlight-wrap .key-highlight:nth-of-type(5) { transition-delay: 0.32s; }
.highlight-wrap .key-highlight:nth-of-type(6) { transition-delay: 0.4s; }
.highlight-wrap .key-highlight:nth-of-type(7) { transition-delay: 0.48s; }
.highlight-wrap .key-highlight:nth-of-type(8) { transition-delay: 0.56s; }
.highlight-wrap .key-highlight:nth-of-type(9) { transition-delay: 0.64s; }
.highlight-wrap .key-highlight:nth-of-type(10) { transition-delay: 0.72s; }

@media (max-width: 640px) {
  .section-figure img {
    max-height: 40vh;
  }
}

/* Section title icons (inline SVG) */
.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: middle;
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.block--dark .block__title .icon {
  color: var(--color-accent);
}

.block--light .block__title .icon {
  color: var(--color-seg3);
}

.button .icon--btn {
  width: 1em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: -0.15em;
}

.button .icon--btn svg {
  stroke: currentColor;
}

.bullet-list {
  padding-left: 1.35rem;
  margin: 0 0 var(--space-md);
  font-weight: var(--fw-regular);
}

.bullet-list li { margin-bottom: var(--space-sm); }

.block--dark .bullet-list { color: var(--color-on-dark-muted); }

#credibility .display-number {
  color: rgb(193, 205, 35);
}

#credibility .bullet-list {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
}
#credibility .bullet-list li { margin-bottom: var(--space-md); }

/* -------------------------------------------------------------------------- */
/* Hero - full bleed, bold statement + big number (energy-profits style)     */
/* -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg {
  will-change: transform;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero__bg img.is-loaded { opacity: 1; }

@media (max-width: 640px) {
  .hero__bg img {
    object-position: 67% center;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.hero__inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 160%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 40%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero__logo {
  display: block;
  margin: 0 auto var(--space-lg) auto;
  max-width: min(180px, 55%);
  height: auto;
}

.hero__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-indent: 0.08em;
  line-height: 1.1;
  margin: 0 0 var(--space-sm);
  color: #fff;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.95);
  margin: 0 0 var(--space-xs);
}

.hero__meta {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin: 0 0 var(--space-lg);
}

.hero__claim {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}

/* Wrapper: number centered on page, green bar fills inside the text */
.hero__display-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 var(--space-sm);
}

.hero__display {
  position: relative;
  font-size: clamp(4.25rem, 19vw, 12rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  min-height: 1em;
  text-align: center;
}

/* Number in white; green loading bar inside the text (left to right) via gradient clipped to text, --hero-pct e.g. 0% to 100% */
.hero__display-count {
  display: block;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    to right,
    var(--color-accent) 0%,
    var(--color-accent) var(--hero-pct, 0%),
    #fff var(--hero-pct, 0%),
    #fff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  transition: opacity 0.6s ease-out;
}

.hero__display-final {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  color: var(--color-accent);
  transition: opacity 0.6s ease-in;
}

/* When complete, keep the count visible (number stays green at 100%), do not switch to final */
.hero__display.is-complete .hero__display-count {
  opacity: 1;
}

.hero__display.is-complete .hero__display-final {
  opacity: 0;
}

.hero__framing {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.hero__credit-block {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  z-index: 2;
}

.hero__credit-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.hero__credit-text a { color: rgba(255,255,255,0.85); text-decoration: underline; }

.hero__scroll-hint {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: var(--space-xl) 0 0;
  animation: scroll-hint-pulse 2s ease-in-out infinite;
}

@keyframes scroll-hint-pulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* Hero is always visible (no scroll-in) */
.hero.section {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------------------- */
/* Impact hook: the answer + $42.3M counter (after splash)                    */
/* -------------------------------------------------------------------------- */

.impact-hook {
  text-align: center;
}

.impact-hook__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: var(--fw-bold);
  color: var(--color-on-dark);
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
}

.impact-hook__question {
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  font-weight: var(--fw-bold);
  color: var(--color-on-dark);
  margin: 0 0 var(--space-xl);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.impact-hook__number-row {
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.impact-hook__number {
  font-size: clamp(6.5rem, 28vw, 18rem);
  font-weight: 800;
  color: rgb(193, 205, 35);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  transform-origin: center bottom;
}

@media (max-width: 1024px) {
  .impact-hook__number {
    font-size: clamp(2.5rem, 10vw, 8rem);
  }
}

.impact-hook__label {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark-muted);
  margin: 0;
}

/* Same style and animation as hero "Scroll to explore" */
.impact-hook__label--scroll-hint {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: var(--space-xl) 0 0;
  animation: scroll-hint-pulse 2s ease-in-out infinite;
}

.impact-hook__skip-link {
  margin: 0.6rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
}

.impact-hook__skip-link .skip-to-report {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
  transition: color 0.2s, border-color 0.2s;
}

.impact-hook__skip-link .skip-to-report:hover,
.impact-hook__skip-link .skip-to-report:focus {
  color: rgba(255, 255, 255, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* Parallax: applied by JS; only transform for smoothness */

/* -------------------------------------------------------------------------- */
/* SAS CTA Interlude (gentle nudge after impact number)                       */
/* -------------------------------------------------------------------------- */

.sas-cta-interlude {
  background: var(--color-bg-dark);
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
}

.sas-cta-interlude__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.sas-cta-interlude__logo {
  display: block;
  max-width: 160px;
  height: auto;
  margin: 0 auto var(--space-xs);
}

.sas-cta-interlude__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-on-dark);
  margin: 0;
  line-height: 1.25;
}

.sas-cta-interlude__text {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--color-on-dark-muted);
  margin: 0;
  max-width: 600px;
}

.sas-cta-interlude__text strong {
  color: var(--color-on-dark);
}

.sas-cta-interlude__cta {
  margin: var(--space-sm) 0 0;
}

.sas-bg-tab-btn--opened {
  background: #4a7c3f !important;
  border-color: #4a7c3f !important;
  color: #fff !important;
  pointer-events: none;
}

.sas-cta-interlude__note {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  margin: var(--space-xs) 0 0;
  font-style: italic;
  max-width: 480px;
  line-height: 1.5;
}

.sas-cta-interlude__text--credit {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-sm);
}

.sas-cta-interlude__text--credit .skip-to-report {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.sas-cta-interlude__text--credit .skip-to-report:hover,
.sas-cta-interlude__text--credit .skip-to-report:focus {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .sas-cta-interlude {
    padding: var(--space-xl) 0;
  }
  .sas-cta-interlude__logo {
    max-width: 120px;
  }
  .sas-cta-interlude__inner {
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
  }
}

/* -------------------------------------------------------------------------- */
/* Floating CTA (scroll-driven donate/membership button)                      */
/* -------------------------------------------------------------------------- */

.sas-floating-cta {
  position: fixed;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 48px;
  padding: 0;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  text-decoration: none;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  white-space: nowrap;
  box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
}

.sas-floating-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
}

.sas-floating-cta__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-bg-dark);
}

.sas-floating-cta__label {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

/* Spawned at inline button position, label visible, no transition yet */
.sas-floating-cta--spawned {
  opacity: 1;
  pointer-events: none;
}

.sas-floating-cta--spawned .sas-floating-cta__label {
  max-width: 200px;
  padding-right: 1.2rem;
  opacity: 1;
}

/* Flying from inline position to right edge */
.sas-floating-cta--departing {
  opacity: 1;
  pointer-events: none;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  border-radius: 8px 0 0 8px;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              right 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s ease;
}

.sas-floating-cta--departing .sas-floating-cta__label {
  max-width: 0;
  padding-right: 0;
  opacity: 0;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding-right 0.4s ease,
              opacity 0.25s ease;
}

/* Docked on right edge, only heart visible */
.sas-floating-cta--docked {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  pointer-events: auto;
  border-radius: 8px 0 0 8px;
  transition: background-color 0.3s ease;
}

.sas-floating-cta--docked .sas-floating-cta__label {
  max-width: 0;
  padding-right: 0;
  opacity: 0;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding-right 0.35s ease,
              opacity 0.25s ease;
}

.sas-floating-cta--docked:hover .sas-floating-cta__label,
.sas-floating-cta--docked:focus .sas-floating-cta__label {
  opacity: 1;
  max-width: 200px;
  padding-right: 1.2rem;
}

.sas-floating-cta--docked:hover,
.sas-floating-cta--docked:focus {
  background: #a8b31e;
}

/* Flying from docked position to bottom donate button */
.sas-floating-cta--landing {
  opacity: 1;
  pointer-events: none;
  border-radius: var(--radius);
  transform: translateY(-50%);
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              right 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s ease,
              opacity 0.3s ease 0.5s;
}

.sas-floating-cta--landing .sas-floating-cta__label {
  max-width: 200px;
  padding-right: 1.2rem;
  opacity: 1;
  transition: max-width 0.3s ease, padding-right 0.3s ease, opacity 0.3s ease;
}

/* Hidden */
.sas-floating-cta--hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Original inline button: invisible but keeps layout when floating is active */
.sas-cta-interlude__cta--ghost {
  visibility: hidden;
}

@media (max-width: 480px) {
  .sas-floating-cta {
    display: none !important;
  }
  .sas-cta-interlude__cta--ghost {
    visibility: visible;
  }
}

/* -------------------------------------------------------------------------- */
/* The Question - promise list                                                */
/* -------------------------------------------------------------------------- */

.block__title--small {
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-lg);
}

.block__title--top-spacer {
  margin-top: var(--space-xl);
}

.promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promise-list li {
  margin-bottom: var(--space-md);
  padding-left: 2rem;
  position: relative;
}

.promise-list li::before {
  content: counter(promise, upper-alpha) ".";
  counter-increment: promise;
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-accent);
}

.block--light .promise-list li::before { color: #5a6b2e; }

.promise-list {
  counter-reset: promise;
}

.promise-list__label {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Scrollytelling: sticky + pinned (expand impact)                            */
/* -------------------------------------------------------------------------- */

.scrolly-section {
  padding: 0;
}

.scrolly-viewport {
  position: relative;
}

.scrolly-sticky {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
}

/* Progress bar: fills as you scroll through the section */
.scrolly-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.scrolly-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 0;
  transition: width 0.15s ease-out;
}

.scrolly-visual {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.scrolly-number {
  margin: 0 0 var(--space-sm);
}

.scrolly-number__value {
  display: inline-block;
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  transition: transform 0.25s ease-out;
}

.scrolly-number__value.is-ticking {
  animation: scrolly-number-tick 0.4s ease-out;
}

@keyframes scrolly-number-tick {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.scrolly-number__label {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark-muted);
  line-height: 1.5;
  max-width: 32em;
  margin: 0 auto;
  transition: opacity 0.35s ease;
}

.scrolly-steps {
  position: relative;
  z-index: 1;
  background: var(--color-bg-dark);
}

.scrolly-step {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
  max-width: var(--container-narrow);
  margin: 0 auto;
  opacity: 0.35;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.scrolly-step.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scrolly-step--end {
  min-height: 40vh;
}

.scrolly-section--light .scrolly-steps {
  background: var(--color-bg-light);
}

.scrolly-section--light .scrolly-step {
  color: var(--color-text);
}

.scrolly-section--light .scrolly-step .block__intro {
  color: var(--color-text-muted);
}

.scrolly-section--light .scrolly-number__value {
  color: #5a6b2e;
}

.scrolly-section--light .scrolly-number__label {
  color: var(--color-text-muted);
}

.scrolly-section--light .scrolly-sticky {
  background: var(--color-bg-light);
}

/* -------------------------------------------------------------------------- */
/* Visitor spending section: clearer subsections, bigger type, cutout, reveal */
/* -------------------------------------------------------------------------- */

#visitor-spending.visitor-spending .scrolly-step {
  min-height: 80vh;
  padding: var(--space-2xl) var(--space-md);
}
#visitor-spending.visitor-spending .scrolly-step--end {
  min-height: 55vh;
}

.visitor-spending__number .scrolly-number__value {
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Visitor spending: count-up + scale like impact-hook number */
.visitor-spending__number-row {
  justify-content: center;
  margin-bottom: var(--space-sm);
  --count-progress: 0;
}
.visitor-spending__number-row .display-number {
  font-size: clamp(3rem, 10vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transform: scale(calc(0.55 + 0.45 * var(--count-progress, 0)));
  transform-origin: center bottom;
  transition: none;
}

@media (min-width: 1025px) {
  .visitor-spending__number-row .display-number {
    font-size: clamp(7rem, 18vw, 14rem);
  }
}
.scrolly-section--light .visitor-spending__number-row .display-number {
  color: #5a6b2e;
}

.visitor-spending__number-label {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  max-width: 28em;
}
.visitor-spending__sticky-eyebrow {
  margin-bottom: var(--space-xs);
  text-align: center;
}
.scrolly-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.visitor-spending__sticky-detail {
  max-width: 28em;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.visitor-spending__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.visitor-spending__title-cutout {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.visitor-spending__lead {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  font-weight: var(--fw-medium);
}
.visitor-spending__headline {
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-sm);
  text-align: center;
}
.visitor-spending__step .visitor-spending__subheading,
.visitor-spending__step .visitor-spending__detail {
  text-align: center;
}
.visitor-spending__amount {
  color: #5a6b2e;
  font-weight: 900;
  font-size: 1.6em;
  letter-spacing: -0.02em;
}
.visitor-spending__detail {
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  margin: 0;
  letter-spacing: 0.01em;
}
.visitor-spending__subheading {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0 0 var(--space-sm);
}
#visitor-spending.visitor-spending .visitor-spending__subheading {
  color: #5a6b2e;
}

/* Where it comes from: B.C. and U.S. flags full-width behind text */
.visitor-spending__step--flags {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  align-items: center;
  text-align: center;
}
.visitor-spending__flags-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 0;
}
.visitor-spending__flag {
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 1s ease, transform 1s ease;
}
.visitor-spending__flag--bc {
  object-position: right center;
  transform: translateX(-30px);
}
.visitor-spending__flag--us {
  object-position: left center;
  transform: translateX(30px);
}
.visitor-spending__step--flags.is-active .visitor-spending__flag {
  opacity: 0.13;
  transform: translateX(0);
}
/* Soft radial fade so flags don't compete with text */
.visitor-spending__flags-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--color-bg-light) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.visitor-spending__step-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
@media (max-width: 640px) {
  .visitor-spending__step--flags.is-active .visitor-spending__flag {
    opacity: 0.10;
  }
}
.visitor-spending__intro {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}
.visitor-spending__quote {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

/* #1 in Canada – green achievement block, centered */
.visitor-spending__step--achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: var(--space-2xl) var(--space-lg);
  border-radius: 0;
  background: var(--color-accent);
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.visitor-spending__step--achievement .visitor-spending__quote,
.visitor-spending__step--achievement .visitor-spending__intro {
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}
.visitor-spending__quote--gold {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
  margin-bottom: var(--space-sm);
}
/* Green section: dark text overrides */
#visitor-spending .visitor-spending__step--achievement .visitor-spending__intro,
#visitor-spending .visitor-spending__step--achievement .block__intro {
  color: #1a1a1a !important;
}
.visitor-spending__subheading--dark {
  color: rgba(0, 0, 0, 0.55) !important;
}
.visitor-spending__detail--dark {
  color: rgba(0, 0, 0, 0.6) !important;
}
/* Dark highlight for "all of Canada" */
#visitor-spending .visitor-spending__step--achievement .highlight-wrap .key-highlight {
  color: #fff !important;
  background-color: #1a1a1a !important;
}

.visitor-spending__cutout-text {
  font-size: clamp(5rem, 22vw, 16rem);
}
.visitor-spending__cutout {
  min-height: 45vh;
  margin: var(--space-2xl) 0 0 0;
}

/* Reveal within steps: animate in when step is active so intro is clear */
#visitor-spending .vs-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
#visitor-spending .scrolly-step.is-active .vs-reveal {
  opacity: 1;
  transform: translateY(0);
}
#visitor-spending .scrolly-step.is-active .vs-reveal:nth-child(1) { transition-delay: 0.05s; }
#visitor-spending .scrolly-step.is-active .vs-reveal:nth-child(2) { transition-delay: 0.15s; }
#visitor-spending .scrolly-step.is-active .vs-reveal:nth-child(3) { transition-delay: 0.25s; }
#visitor-spending .scrolly-step.is-active .vs-reveal:nth-child(4) { transition-delay: 0.35s; }
#visitor-spending .scrolly-step.is-active .vs-reveal:nth-child(5) { transition-delay: 0.45s; }

/* Standalone reveal block (image-text-block): trigger when in view, finish before leave */
#visitor-spending .vs-reveal-block {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#visitor-spending .vs-reveal-block.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* -------------------------------------------------------------------------- */
/* Beat - single big number + label (visitor spending, jobs, expand)          */
/* -------------------------------------------------------------------------- */

.beat {
  margin: var(--space-lg) 0;
}

.beat--single {
  margin: var(--space-md) 0;
}

.beat__value {
  display: block;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.block--light .beat__value { color: #5a6b2e; }

.beat__label {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-on-dark-muted);
  line-height: 1.5;
}

.block--light .beat__label { color: var(--color-text-muted); }

.beat--scroll .beat__label {
  margin-top: var(--space-xs);
}

/* -------------------------------------------------------------------------- */
/* Counters (methods section)                                                 */
/* -------------------------------------------------------------------------- */

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.counter-block {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
}

.counter-block__value {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.counter-block__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-on-dark-muted);
}

.block--light .counter-block {
  background: rgba(0,0,0,0.04);
}

.block--light .counter-block__value {
  color: var(--color-accent);
}

.block--light .counter-block__label {
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .counters { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/* Geography - map style + highlight toggle                                  */
/* -------------------------------------------------------------------------- */

.map-wrap {
  margin-top: 0;
  margin-bottom: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: 0;
}

#geography .section-figure:has(+ .map-wrap) {
  margin-bottom: 0;
}

#geography .map-wrap + .section-figure {
  margin-top: 0;
}

.geography-map {
  width: 100%;
  height: 960px;
  border-radius: 0;
  overflow: hidden;
  background: #2d2d2d;
}

.geography-map.leaflet-container {
  font-family: var(--font);
}

.map-gesture-overlay {
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.map-gesture-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.map-gesture-overlay__text {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  padding: 0.75em 1.5em;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

/* Tint map tiles toward dark grey; polygon stays on top in overlay pane */
.geography-map.leaflet-container .leaflet-tile-pane {
  filter: brightness(2.35) saturate(0.75);
}

.map-study-label {
  position: absolute;
  left: 65%;
  top: 48%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1000;
  pointer-events: none;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgb(193, 205, 35);
  text-align: left;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.map-study-label__line {
  display: block;
}

.map-view {
  max-width: 100%;
  margin-bottom: var(--space-md);
}

.map-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.map-zone {
  transition: fill var(--transition), stroke var(--transition);
}

.map-zone--south.is-highlighted {
  fill: rgba(193, 205, 35, 0.2);
  stroke: var(--color-accent);
  stroke-width: 3;
}

.map-zone--north.is-highlighted {
  fill: rgba(193, 205, 35, 0.2);
  stroke: var(--color-accent);
  stroke-width: 3;
}

.map-label {
  fill: var(--color-on-dark);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  font-family: var(--font);
}

.map-sublabel {
  fill: var(--color-on-dark-muted);
  font-size: 11px;
  text-anchor: middle;
  font-family: var(--font);
}

.map-toggle {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.map-toggle__btn {
  padding: var(--space-xs) var(--space-md);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.1);
  color: var(--color-on-dark);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.map-toggle__btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}

.map-toggle__btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.map-toggle__btn.is-active {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-color: var(--color-accent);
}

.map-credit {
  font-size: 0.8125rem;
  color: var(--color-on-dark);
  margin: 0;
}
.map-credit a {
  color: var(--color-on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.map-credit a:hover {
  color: var(--color-accent);
}

/* -------------------------------------------------------------------------- */
/* Bar chart                                                                  */
/* -------------------------------------------------------------------------- */

.chart-bar-wrap {
  margin: var(--space-md) 0 0;
}

.chart-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 110px;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.chart-bar__label {
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
}

.chart-bar__track {
  height: 36px;
  background: rgba(0,0,0,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.block--dark .chart-bar__track { background: rgba(255,255,255,0.1); }

.chart-bar__fill {
  height: 100%;
  width: var(--pct, 0%);
  max-width: 100%;
  background: var(--color-accent);
  border-radius: var(--radius);
  transition: width 1s ease-out;
}

/* GPU-friendly bar animation: scaleX only (no layout) */
.chart-bar-wrap--animated .chart-bar__track {
  overflow: hidden;
}

.chart-bar-wrap--animated .chart-bar__fill {
  width: 100%;
  transform: scaleX(var(--bar-scale, 0));
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-bar__num {
  font-variant-numeric: tabular-nums;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-align: right;
}

/* -------------------------------------------------------------------------- */
/* Grades chart (vertical bars – visitor vs resident by difficulty)           */
/* -------------------------------------------------------------------------- */

/* Full-width grades chart (in line with gender / spending bar charts) */
.grades-chart-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: var(--space-xl) var(--space-lg);
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .grades-chart-wrap {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

.grades-chart {
  margin: var(--space-xl) 0;
  padding: var(--space-md) 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.grades-chart__y-axis {
  font-size: var(--text-xs);
  color: var(--color-on-dark-muted);
  margin-bottom: var(--space-sm);
  padding-left: 0;
}

.grades-chart__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: flex-end;
  min-height: 320px;
}

@media (max-width: 900px) {
  .grades-chart__categories {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: var(--space-md);
    min-height: 260px;
  }
}

.grades-chart__category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.grades-chart__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  text-align: center;
  line-height: 1.3;
  color: var(--color-on-dark);
}

.grades-chart__label small {
  display: block;
  font-size: 0.75em;
  font-weight: var(--fw-regular);
  color: var(--color-on-dark-muted);
  margin-top: 0.2em;
}

.grades-chart__bars {
  display: flex;
  gap: 0;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 280px;
}

@media (max-width: 900px) {
  .grades-chart__bars {
    height: 220px;
  }
}

.grades-chart__bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 88px;
  flex: 0 0 88px;
}

@media (max-width: 900px) {
  .grades-chart__bar-wrap {
    width: 64px;
    flex: 0 0 64px;
  }
}

.grades-chart__bar {
  width: 100%;
  max-width: 88px;
  min-height: 4px;
  height: calc(var(--pct, 0) * 0.01 * 280px);
  max-height: 280px;
  border-radius: 0;
  transform-origin: bottom;
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 900px) {
  .grades-chart__bar {
    max-width: 64px;
    height: calc(var(--pct, 0) * 0.01 * 220px);
    max-height: 220px;
  }
}

.grades-chart__bar--visitor {
  background: var(--color-visitor);
}

.grades-chart__bar--resident {
  background: var(--color-resident);
}

.grades-chart__bar-value {
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
  margin-top: var(--space-xs);
  color: var(--color-on-dark-muted);
}

.grades-chart__legends {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}

/* Ages chart (vertical bars, animated - same pattern as grades) */
.ages-chart__heading {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark);
  margin: var(--space-xl) 0 var(--space-sm);
}

.ages-chart {
  margin: var(--space-lg) 0;
  padding: var(--space-md) 0;
}

.ages-chart__legend {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}

.ages-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.ages-chart__swatch {
  width: 12px;
  height: 12px;
  border-radius: 0;
}

.ages-chart__swatch--visitor {
  background: var(--color-visitor);
}

.ages-chart__swatch--resident {
  background: var(--color-resident);
}

/* Population pyramid (SVG) */
.ages-chart__pyramid-wrap {
  position: relative;
  max-width: 100%;
  margin: var(--space-md) 0;
  color: var(--color-on-dark-muted);
}

.ages-chart__pyramid-wrap .ages-pyramid-svg {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
}

.ages-chart__pyramid-wrap .ages-pyramid-center-line {
  stroke: currentColor;
  stroke-opacity: 0.5;
  stroke-width: 1;
}

.ages-chart__pyramid-wrap .ages-pyramid-label {
  fill: currentColor;
  font-size: 12px;
  font-weight: 600;
}

.ages-chart__pyramid-wrap .ages-pyramid-scale text {
  fill: currentColor;
  font-size: 10px;
  opacity: 0.8;
}

/* Bar wraps: position via SVG transform attribute; inner group scales from center */
.ages-chart__pyramid-wrap .ages-pyramid-bar-scale {
  transform: scaleX(var(--s, 0));
}

.ages-chart__pyramid-wrap .ages-pyramid-bar-wrap .ages-pyramid-bar--visitor {
  fill: var(--color-visitor);
}

.ages-chart__pyramid-wrap .ages-pyramid-bar-wrap .ages-pyramid-bar--resident {
  fill: var(--color-resident);
}

.ages-chart__pyramid-wrap .ages-pyramid-bar-value {
  fill: currentColor;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--dx), 0);
}

.ages-chart__pyramid-wrap--bars-expanded .ages-pyramid-bar-value {
  opacity: 1;
  transform: translate(0, 0);
}

.ages-chart__pyramid-wrap .ages-pyramid-row {
  cursor: pointer;
  outline: none;
}

.ages-chart__pyramid-wrap .ages-pyramid-row:hover .ages-pyramid-bar,
.ages-chart__pyramid-wrap .ages-pyramid-row.is-highlighted .ages-pyramid-bar {
  opacity: 1;
}

.ages-chart__pyramid-wrap .ages-pyramid-row:not(:hover):not(.is-highlighted) .ages-pyramid-bar {
  opacity: 0.85;
}

.ages-chart__pyramid-tooltip {
  position: absolute;
  z-index: 10;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-on-dark);
  background: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ages-chart__pyramid-tooltip.is-visible {
  opacity: 1;
}

.ages-chart__pyramid-tooltip strong {
  color: var(--color-accent);
}

/* Mobile stacked bar charts (hidden by default, shown on mobile) */
.ages-pyramid-mobile {
  display: none;
}

.ages-pyramid-mobile__group {
  margin-bottom: var(--space-lg);
}

.ages-pyramid-mobile__group:last-child {
  margin-bottom: 0;
}

.ages-pyramid-mobile__heading {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid;
}

.ages-pyramid-mobile__heading--visitor {
  color: #8a95a8;
  border-color: var(--color-visitor);
}

.ages-pyramid-mobile__heading--resident {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.ages-pyramid-mobile__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ages-pyramid-mobile__label {
  flex: 0 0 42px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-on-dark-muted);
  text-align: right;
}

.ages-pyramid-mobile__track {
  flex: 1;
  height: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0;
  overflow: hidden;
}

.ages-pyramid-mobile__fill {
  height: 100%;
  border-radius: 0;
  width: 0%;
}

.ages-pyramid-mobile__fill--visitor {
  background: var(--color-visitor);
}

.ages-pyramid-mobile__fill--resident {
  background: var(--color-accent);
}

.ages-pyramid-mobile__value {
  flex: 0 0 32px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-on-dark-muted);
}

@media (max-width: 640px) {
  .ages-chart__pyramid-wrap .ages-pyramid-svg,
  .ages-chart__pyramid-wrap .ages-pyramid-tooltip {
    display: none;
  }

  .ages-chart__legend {
    display: none;
  }

  .ages-pyramid-mobile {
    display: block;
  }
}

.ages-chart__summary {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-on-dark-muted);
  margin: var(--space-lg) 0 0;
  max-width: 42em;
}

.ages-chart__summary strong {
  color: var(--color-accent);
}

.grades-chart__legend {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.grades-chart__legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 0;
}

.grades-chart__legend-swatch.grades-chart__bar--visitor {
  background: var(--color-visitor);
}

.grades-chart__legend-swatch.grades-chart__bar--resident {
  background: var(--color-resident);
}

.grades-summary {
  max-width: 36em;
  margin: var(--space-xl) 0 0;
  padding: var(--space-md) 0;
}

.grades-summary p {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-on-dark-muted);
}

.grades-summary p:last-child {
  margin-bottom: 0;
}

.grades-summary strong {
  color: var(--color-accent);
}

/* -------------------------------------------------------------------------- */
/* Economic grid                                                               */
/* -------------------------------------------------------------------------- */

.economic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.economic-card {
  padding: var(--space-lg);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}

.block--light .economic-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.economic-card__value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.economic-card__label {
  font-size: 0.9rem;
  color: var(--color-on-dark-muted);
}

.block--light .economic-card__label { color: var(--color-text-muted); }

/* -------------------------------------------------------------------------- */
/* Table                                                                      */
/* -------------------------------------------------------------------------- */

.table-wrap {
  margin-top: var(--space-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
}

.data-table th,
.data-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.block--dark .data-table th,
.block--dark .data-table td {
  border-color: rgba(255,255,255,0.12);
}

.data-table th {
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.05);
}

.block--dark .data-table th {
  background: rgba(255,255,255,0.06);
}

.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Expenditure categories (Where the money goes) */
.expenditure-heading {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--color-text);
}

.expenditure-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .expenditure-tables {
    grid-template-columns: 1fr 1fr;
  }
}

.expenditure-table-wrap {
  overflow: hidden;
}

.expenditure-table__title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}

/* Left table (Visitor spending): header background matches Visitors color */
.expenditure-table-wrap:first-child .expenditure-table__title {
  background: var(--color-visitor);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  margin: 0 0 0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.expenditure-table-wrap:first-child .data-table thead th {
  background: var(--color-visitor);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* Right table (Resident spending): header background matches Residents color */
.expenditure-table-wrap:last-child .expenditure-table__title {
  background: var(--color-resident);
  color: #1a1a1a;
  padding: var(--space-sm) var(--space-md);
  margin: 0 0 0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.expenditure-table-wrap:last-child .data-table thead th {
  background: var(--color-resident);
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.15);
}

.expenditure-table tbody td:first-child {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.expenditure-table__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.85;
}

.expenditure-table__icon svg {
  width: 100%;
  height: 100%;
}

.expenditure-table-wrap:first-child .expenditure-table__icon {
  color: #fff;
}

.expenditure-table-wrap:last-child .expenditure-table__icon {
  color: #fff;
}

.expenditure-table__total td {
  font-weight: var(--fw-bold);
  border-top: 2px solid rgba(0,0,0,0.2);
  padding-top: var(--space-sm);
}

.expenditure-table__total td:first-child {
  display: table-cell;
}

/* Row background = % share of total (full row bar), animated left-to-right when section is visible */
.expenditure-table-wrap:first-child .expenditure-table tbody tr:not(.expenditure-table__total) {
  background-color: color-mix(in srgb, var(--color-visitor) 14%, transparent);
  background-image: linear-gradient(to right, var(--color-visitor), var(--color-visitor));
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s ease-out;
}

.expenditure-table-wrap:last-child .expenditure-table tbody tr:not(.expenditure-table__total) {
  background-color: rgba(156, 169, 13, 0.18);
  background-image: linear-gradient(to right, #9ca90d, #9ca90d);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s ease-out;
}

.expenditure-tables.is-visible .expenditure-table-wrap:first-child .expenditure-table tbody tr:not(.expenditure-table__total) {
  background-size: calc(var(--pct) * 1%) 100%;
}

.expenditure-tables.is-visible .expenditure-table-wrap:last-child .expenditure-table tbody tr:not(.expenditure-table__total) {
  background-size: calc(var(--pct) * 1%) 100%;
}

/* Stagger row background animation */
.expenditure-tables.is-visible .expenditure-table tbody tr:nth-child(1):not(.expenditure-table__total) { transition-delay: 0.05s; }
.expenditure-tables.is-visible .expenditure-table tbody tr:nth-child(2):not(.expenditure-table__total) { transition-delay: 0.1s; }
.expenditure-tables.is-visible .expenditure-table tbody tr:nth-child(3):not(.expenditure-table__total) { transition-delay: 0.15s; }
.expenditure-tables.is-visible .expenditure-table tbody tr:nth-child(4):not(.expenditure-table__total) { transition-delay: 0.2s; }
.expenditure-tables.is-visible .expenditure-table tbody tr:nth-child(5):not(.expenditure-table__total) { transition-delay: 0.25s; }
.expenditure-tables.is-visible .expenditure-table tbody tr:nth-child(6):not(.expenditure-table__total) { transition-delay: 0.3s; }
.expenditure-tables.is-visible .expenditure-table tbody tr:nth-child(7):not(.expenditure-table__total) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .expenditure-table-wrap:first-child .expenditure-table tbody tr:not(.expenditure-table__total),
  .expenditure-table-wrap:last-child .expenditure-table tbody tr:not(.expenditure-table__total) {
    transition: none;
    background-size: calc(var(--pct) * 1%) 100%;
  }
}

.block--light .expenditure-table__total td {
  border-top-color: rgba(0,0,0,0.15);
}

@media (max-width: 640px) {
  .expenditure-table {
    font-size: 0.8rem;
  }

  .expenditure-table th,
  .expenditure-table td {
    padding: 0.5rem 0.4rem;
  }

  .expenditure-table__icon {
    display: none;
  }

  .expenditure-table tbody td:first-child {
    gap: 0;
  }
}

.expenditure-grand-total {
  margin: var(--space-xl) 0 var(--space-md);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.expenditure-summary {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius);
  margin: var(--space-lg) 0 var(--space-xl);
  border-left: 4px solid var(--color-accent);
}

.expenditure-summary p {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-base);
  line-height: 1.5;
}

.expenditure-summary p:last-child {
  margin-bottom: 0;
}

.expenditure-summary strong {
  color: var(--color-accent);
}

/* -------------------------------------------------------------------------- */
/* Origins donut                                                               */
/* -------------------------------------------------------------------------- */

.origins-chart-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-md);
}

.origins-donut {
  width: 360px;
  height: 360px;
  max-width: min(360px, 85vw);
  max-height: min(360px, 85vw);
  flex-shrink: 0;
}

.origins-donut__bg {
  color: rgba(255,255,255,0.1);
  pointer-events: none;
}

.origins-donut__seg {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1s ease-out, filter 0.2s ease;
  cursor: pointer;
}

.origins-donut__seg:hover {
  filter: brightness(1.25);
}

.origins-chart-wrap .origins-tooltip {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(0);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.origins-chart-wrap .origins-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

.origins-legend li {
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.15s ease;
}

.origins-legend li.origins-legend__item--highlight {
  opacity: 1;
  color: var(--color-text, inherit);
}

.block--dark .origins-legend li.origins-legend__item--highlight {
  color: var(--color-on-dark);
}

.origins-chart-wrap[data-highlight-segment] .origins-donut__seg {
  opacity: 0.5;
}

.origins-chart-wrap[data-highlight-segment] .origins-donut__seg.origins-donut__seg--highlight {
  opacity: 1;
  filter: brightness(1.2);
}

.origins-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}

.origins-legend li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}

.block--dark .origins-legend { color: var(--color-on-dark-muted); }

/* Gender chart – same fullscreen bar style as visitor/resident spending */
.gender-chart__heading {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark);
  margin: var(--space-xl) 0 var(--space-sm);
}

/* Gender bars legend: top center, Visitor (blue-grey) + Resident (lime) */
.gender-bars__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xs) 0 var(--space-xs) 0;
  margin: 0 auto;
}
.gender-bars__legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}
.gender-bars__legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 0;
  flex-shrink: 0;
}
.gender-bars__legend-swatch--visitor {
  background: var(--color-visitor);
}
.gender-bars__legend-swatch--resident {
  background: var(--color-resident);
}

/* Gender bars: full viewport height, bars distributed to fill screen */
.gender-bars {
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) 0;
}

.gender-bars .chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 0;
  width: 100%;
}

.gender-bars .chart-bar-wrap--fullscreen .chart-bar-row {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
  margin: 0;
}

.gender-bars .chart-bar-wrap--fullscreen .chart-bar__track {
  height: auto;
  width: 100%;
  min-height: 144px; /* 3× previous 48px for taller bars */
}

/* Fullscreen bars in dark block: readable caption and track */
.block--dark .gender-bars .chart-bar__track,
.block--dark .style-bars .chart-bar__track,
.block--dark .area-bars .chart-bar__track {
  background: rgba(255,255,255,0.12);
}

.area-bars .chart-bar-row + .chart-bar-row {
  margin-top: -1px;
}

.block--dark .gender-bars .chart-bar__caption,
.block--dark .style-bars .chart-bar__caption,
.block--dark .area-bars .chart-bar__caption,
.block--dark .volume-bars .chart-bar__caption {
  color: var(--color-on-dark);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Parking bars: same fullscreen layout and size as gender bars, keep parking colors */
.parking-bars {
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) 0;
}

.parking-bars__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-md);
  text-align: center;
  padding: 0 var(--space-md);
}

.parking-bars .chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 0;
  width: 100%;
}

.parking-bars .chart-bar-wrap--fullscreen .chart-bar-row {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
  margin: 0;
}

.parking-bars .chart-bar-wrap--fullscreen .chart-bar__track {
  height: auto;
  width: 100%;
  min-height: 144px;
  background: rgba(0,0,0,0.06);
}

.parking-bars .chart-bar__caption {
  color: var(--color-text);
}

.parking-bars .chart-bar__caption .chart-bar__num {
  color: inherit;
}

/* First two rows (negative impact): red caption like original */
.parking-bars .chart-bar-row:nth-child(1) .chart-bar__caption,
.parking-bars .chart-bar-row:nth-child(2) .chart-bar__caption {
  color: var(--color-negative);
  font-weight: var(--fw-semibold);
}

/* Parking bar fill colors (same as previous parking chart) */
.chart-bar__fill--very-likely {
  background: var(--color-negative);
}

.chart-bar__fill--somewhat-likely {
  background: rgba(185, 28, 28, 0.7);
}

.chart-bar__fill--somewhat-unlikely {
  background: #94a3b8;
}

.chart-bar__fill--unlikely,
.chart-bar__fill--other {
  background: rgba(0,0,0,0.2);
}

/* Cascade bars: same fullscreen layout as gender / parking bars */
.cascade-bars {
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-lg) 0;
}

.cascade-bars .chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.cascade-bars .chart-bar-wrap--fullscreen .chart-bar-row {
  display: flex;
  align-items: stretch;
  min-height: 0;
  margin: 0;
}

.cascade-bars .chart-bar-wrap--fullscreen .chart-bar__track {
  height: auto;
  width: 100%;
  min-height: 144px;
}

.block--dark .cascade-bars .chart-bar__track {
  background: rgba(255,255,255,0.12);
}

.cascade-bars .chart-bar__caption {
  left: var(--space-lg);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: opacity 0.6s ease;
}

.cascade-bars .chart-bar__caption .chart-bar__label {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cascade-bars .chart-bar__caption .chart-bar__num {
  font-weight: var(--fw-semibold);
  opacity: 0.7;
}

.chart-bar__fill--cascade-1 {
  background: var(--color-accent);
}

.chart-bar__fill--cascade-2 {
  background: var(--color-seg2);
}

.chart-bar__fill--cascade-3 {
  background: linear-gradient(90deg, var(--color-accent), #e0ec5a);
}

.cascade-bars__connector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-on-dark-muted);
}

.cascade-bars__sub {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  font-weight: var(--fw-regular);
}

.cascade-bars__delta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cascade-bars__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}

.cascade-bars__sub-final {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  padding: var(--space-sm) var(--space-lg) 0;
}

/* Volume breakdown bars */
.chart-bar__fill--volume-overnight { background: var(--color-accent); }
.chart-bar__fill--volume-sameday  { background: var(--color-seg2); }
.chart-bar__fill--volume-resident { background: var(--color-seg3); }

/* Monthly seasonality chart */
.monthly-chart {
  margin: var(--space-lg) 0;
  padding: 0 var(--space-sm);
}

.monthly-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: clamp(4px, 1.2vw, 12px);
  height: 220px;
  padding-bottom: var(--space-sm);
}

.monthly-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.monthly-chart__bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--color-accent);
  height: 0;
  transition: height 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.monthly-chart.is-visible .monthly-chart__bar,
.monthly-chart.in-view .monthly-chart__bar {
  height: calc(var(--bar-pct) * 1%);
}

.monthly-chart__bar--peak {
  background: var(--color-accent);
}

.monthly-chart__bar--off {
  background: var(--color-seg4);
  opacity: 0.6;
}

.monthly-chart__value {
  font-size: clamp(0.6rem, 1.4vw, 0.78rem);
  font-weight: var(--fw-bold);
  color: var(--color-on-dark);
  opacity: 0;
  transition: opacity 0.6s 0.8s ease;
}

.monthly-chart.is-visible .monthly-chart__value,
.monthly-chart.in-view .monthly-chart__value {
  opacity: 1;
}

.monthly-chart__label {
  font-size: clamp(0.6rem, 1.4vw, 0.78rem);
  font-weight: var(--fw-medium);
  color: var(--color-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.monthly-chart__note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: var(--space-sm);
  font-style: italic;
}

@media (max-width: 600px) {
  .monthly-chart__bars { height: 160px; }
  .monthly-chart__value { font-size: 0.55rem; }
  .monthly-chart__label { font-size: 0.55rem; }
}

.gender-chart__summary {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-on-dark-muted);
  margin: var(--space-lg) 0 0;
  max-width: 42em;
  padding-bottom: 8rem;
}

.origins-legend__swatch {
  width: 14px;
  height: 14px;
  border-radius: 0;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Donate section                                                              */
/* -------------------------------------------------------------------------- */

.donate-section {
  text-align: center;
}

.donate-section--has-bg {
  position: relative;
  overflow: hidden;
}

.donate-section__bg {
  position: absolute;
  inset: 0;
}

.donate-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donate-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.donate-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.donate-section__logo {
  display: block;
  max-width: 240px;
  height: auto;
  margin-bottom: var(--space-sm);
  opacity: 0.92;
}

.donate-section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: var(--fw-bold);
  color: var(--color-on-dark);
  margin: 0;
  line-height: 1.2;
}

.donate-section__text {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--color-on-dark-muted);
  max-width: 640px;
  margin: 0;
}

.donate-section__text strong {
  color: var(--color-on-dark);
}

.donate-section__highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
}

.donate-section__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 260px;
  text-align: left;
}

.donate-section__highlight-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  margin-top: 2px;
}

.donate-section__highlight-icon svg {
  width: 100%;
  height: 100%;
}

.donate-section__highlight-text {
  font-size: var(--text-base);
  color: var(--color-on-dark-muted);
  line-height: 1.45;
}

.donate-section__cta {
  margin-top: var(--space-sm);
  margin-bottom: 0;
  padding-bottom: 0;
}

@keyframes donate-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.button--donate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  animation: donate-pulse 2.4s ease-in-out infinite;
  transition: background-color var(--transition), color var(--transition), transform 0.25s ease;
}

.button--donate:hover {
  background: #a8b31e;
  color: var(--color-bg-dark);
  transform: translateY(-2px) scale(1.04);
  animation: none;
}

.button--donate:active {
  transform: translateY(0) scale(0.98);
}

.button--donate .icon--btn {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .donate-section__highlights {
    flex-direction: column;
    align-items: center;
  }
  .donate-section__highlight {
    max-width: 100%;
  }
  #donate.donate-section {
    padding: var(--space-xl) 0 var(--space-lg) !important;
  }
  .donate-section__inner {
    gap: var(--space-md);
    padding: 0 var(--space-sm);
  }
}

/* -------------------------------------------------------------------------- */
/* Closing + footer                                                            */
/* -------------------------------------------------------------------------- */

.closing__text {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  margin: 0 0 var(--space-lg);
  color: var(--color-text);
}

.closing__print-hint {
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
}

.closing__cta {
  margin: 0 0 var(--space-xl);
}

.button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  min-height: 44px;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.button--primary {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.button--primary:hover {
  background: #a8b31e;
}

.site-footer-wrap {
  padding: var(--space-2xl) 0;
  text-align: center;
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
}

.site-footer {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  color: var(--color-on-dark-muted);
}

.site-footer__credits {
  margin: 0 0 var(--space-sm);
}

.site-footer__links {
  margin: 0;
}

.site-footer a {
  color: var(--color-accent);
  text-decoration: underline;
}

.block--light .site-footer a {
  color: #5a6b2e;
}

/* -------------------------------------------------------------------------- */
/* FAQ - expandable accordion                                                 */
/* -------------------------------------------------------------------------- */

#faq.faq-section.block,
.faq-section.section.block {
  min-height: auto;
  padding-bottom: var(--space-lg);
}

.faq__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  max-width: var(--container);
}

@media (min-width: 768px) {
  .faq__container {
    grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
    gap: var(--space-3xl);
    align-items: start;
  }
}

.faq__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq__item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item:last-child {
  margin-bottom: 0;
}

.faq__item:hover,
.faq__item.is-open {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  text-align: left;
  background: rgba(0,0,0,0.04);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq__question:hover {
  background: rgba(0,0,0,0.06);
}

.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: var(--space-md);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
  background-size: 20px;
  transition: transform 0.3s ease;
}

.faq__item.is-open .faq__question::after {
  transform: rotate(180deg);
}

.faq__item.is-open .faq__question {
  background: rgba(193, 205, 35, 0.12);
  color: var(--color-text);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease-out;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq__answer-inner p {
  margin: 0;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Key finding callout (visitor satisfaction – crowding)                      */
/* -------------------------------------------------------------------------- */

.satisfaction-intro {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-on-dark-muted);
  margin: 0 0 var(--space-lg);
}

.key-finding {
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius);
  margin: var(--space-xl) 0;
  border-left: 4px solid var(--color-accent);
}

/* Negative / problem findings: red highlight */
.key-finding--problem {
  background: rgba(185, 28, 28, 0.1);
  border-left-color: var(--color-negative);
  border-left-width: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.key-finding--problem .key-finding__badge {
  color: var(--color-negative);
}

.key-finding--problem .key-finding__text strong,
.key-finding--problem .key-finding__stat-num {
  color: var(--color-negative);
}

.key-finding--positive {
  background: rgba(193, 205, 35, 0.12);
  border-left-color: var(--color-accent);
  border-left-width: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.key-finding--positive .key-finding__badge {
  color: var(--color-accent);
}

.key-finding--positive .key-finding__text strong {
  color: var(--color-accent);
}

.key-finding__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.key-finding__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-on-dark);
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
}

.key-finding__text {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-on-dark);
  margin: 0 0 var(--space-sm);
}

.key-finding__text:last-child,
.key-finding__text--action {
  margin-bottom: 0;
}

.key-finding__text--action {
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
}

.key-finding__text strong {
  color: var(--color-accent);
}

.key-finding__stat {
  margin: var(--space-md) 0 0;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: var(--text-base);
  color: var(--color-on-dark);
}

.key-finding__stat-num {
  font-weight: var(--fw-bold);
  font-size: 1.25em;
  color: var(--color-accent);
}

/* Key finding on light background (paid parking section) */
.key-finding--light {
  background: rgba(193, 205, 35, 0.15);
  border-left-color: #5a6b2e;
}

.key-finding--light .key-finding__badge {
  color: #5a6b2e;
}

.key-finding--light .key-finding__title,
.key-finding--light .key-finding__text {
  color: var(--color-text);
}

.key-finding--light .key-finding__text strong,
.key-finding--light .key-finding__text--action {
  color: #5a6b2e;
}

.key-finding--light .key-finding__stat {
  border-top-color: rgba(0,0,0,0.1);
  color: var(--color-text);
}

.key-finding--light .key-finding__stat-num {
  color: #5a6b2e;
}

/* Problem finding on light background: red highlight */
.key-finding--light.key-finding--problem {
  background: rgba(185, 28, 28, 0.08);
  border-left-color: var(--color-negative);
}

.key-finding--light.key-finding--problem .key-finding__badge,
.key-finding--light.key-finding--problem .key-finding__text strong,
.key-finding--light.key-finding--problem .key-finding__text--action,
.key-finding--light.key-finding--problem .key-finding__stat-num {
  color: var(--color-negative);
}

/* NPS highlight: standalone featured section (green, like #1 in Canada) */
.nps-highlight {
  background: var(--color-accent);
  text-align: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.nps-highlight__kicker {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: var(--space-sm);
}

.nps-highlight__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.nps-highlight__explainer {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.nps-highlight__cutout {
  background: #fff;
  margin: 0;
  min-height: 36vh;
}

.nps-highlight__cutout-text {
  font-size: clamp(6rem, 28vw, 18rem);
  letter-spacing: -0.02em;
}

.nps-highlight__cutout-caption {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: var(--fw-semibold);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 38ch;
}

.nps-highlight__body {
  font-size: var(--text-lg);
  color: rgba(0, 0, 0, 0.6);
  margin-top: var(--space-xl);
}

/* ── Showcase Gallery ── */
.showcase-gallery {
  padding: 0;
  margin: 0;
  background: #0d0d0d;
  position: relative;
}

.showcase-gallery__header {
  text-align: center;
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
}

.showcase-gallery__tagline {
  font-size: var(--text-lg);
  color: var(--color-on-dark-muted);
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.showcase-gallery__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.showcase-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

.showcase-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.showcase-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.showcase-gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.showcase-gallery__credit {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  left: auto;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  text-align: right;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.showcase-gallery__item:hover .showcase-gallery__credit {
  opacity: 1;
  pointer-events: auto;
}

.showcase-gallery__credit a {
  color: inherit;
}


/* Showcase Lightbox */
.showcase-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.showcase-lightbox[hidden] {
  display: none;
}

.showcase-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.showcase-lightbox__img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  pointer-events: none;
}

.showcase-lightbox.is-active .showcase-lightbox__img {
  transform: scale(1);
  opacity: 1;
}

.showcase-lightbox__credit {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  left: auto;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  text-align: right;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s;
  pointer-events: auto;
}

.showcase-lightbox__credit a {
  color: inherit;
}

.showcase-lightbox.is-active .showcase-lightbox__credit {
  opacity: 1;
}

@media (max-width: 640px) {
  .showcase-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-gallery__title {
    font-size: var(--text-3xl);
  }

  .showcase-lightbox__img {
    max-width: 95vw;
    max-height: 80vh;
  }
}

/* ── Migration callout ── */
.migration-callout {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-top: none;
  border-bottom: none;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.migration-callout__icons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-bottom: var(--space-lg);
}

@keyframes migrationIconScaleUp {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes migrationIconFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.migration-callout__icon-wrap {
  display: inline-flex;
  opacity: 0;
  will-change: transform, opacity;
}

.migration-callout.is-icon-animated .migration-callout__icon-wrap:nth-child(1) { animation: migrationIconScaleUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.migration-callout.is-icon-animated .migration-callout__icon-wrap:nth-child(2) { animation: migrationIconScaleUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.migration-callout.is-icon-animated .migration-callout__icon-wrap:nth-child(3) { animation: migrationIconScaleUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }

.migration-callout__icon-wrap--active {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  margin: 0 -1rem;
}

.migration-callout__icon-wrap--active:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
  z-index: 2;
}

.migration-callout__icon {
  display: block;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.4s ease;
}

.migration-callout__icon--big {
  width: clamp(16rem, 32vw, 26rem);
  height: auto;
  aspect-ratio: 18 / 17;
}

.migration-callout__icon--grey {
  width: 3.5rem;
  height: auto;
  aspect-ratio: 18 / 17;
  color: rgba(255, 255, 255, 0.15);
  margin-left: 0.5rem;
  flex-shrink: 0;
  opacity: 0;
  will-change: transform, opacity;
}

.migration-callout.is-icon-animated .migration-callout__icon--grey:nth-of-type(1) { animation: migrationIconFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
.migration-callout.is-icon-animated .migration-callout__icon--grey:nth-of-type(2) { animation: migrationIconFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both; }

@media (prefers-reduced-motion: reduce) {
  .migration-callout__icon-wrap,
  .migration-callout__icon--grey {
    opacity: 1;
    transform: none;
    will-change: auto;
    animation: none !important;
  }
}

.migration-callout__icons-break {
  display: none;
}

@media (max-width: 640px) {
  .migration-callout__icons {
    flex-wrap: wrap;
  }

  .migration-callout__icons-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }

  .migration-callout__icon--big {
    width: clamp(6rem, 25vw, 10rem);
  }

  .migration-callout__icon--grey {
    margin-left: 0.25rem;
    margin-top: 0.5rem;
  }
}

.migration-callout__stat {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--color-accent);
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.02em;
}

.migration-callout__label {
  font-size: var(--text-xl);
  color: var(--color-on-dark);
  font-weight: var(--fw-medium);
  margin: 0 0 var(--space-sm);
  line-height: 1.5;
}

.migration-callout__label em {
  font-style: italic;
  color: var(--color-accent);
}

.migration-callout__sub {
  font-size: var(--text-base);
  color: var(--color-on-dark-muted);
  margin: 0;
  line-height: 1.5;
}

.migration-callout__source {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
  margin-top: var(--space-sm);
}

/* ── Days per year callout ── */
.days-callout {
  text-align: center;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.days-callout__number {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--color-on-dark);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.days-callout__label {
  font-size: var(--text-xl);
  color: var(--color-on-dark-muted);
  font-weight: var(--fw-medium);
  margin: var(--space-xs) 0 var(--space-sm);
}

.days-callout__sub {
  font-size: var(--text-sm);
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  max-width: 28em;
  margin: 0 auto;
  line-height: 1.6;
}

/* Inline highlight for negative findings / problems in body text */
.negative,
.finding--negative {
  color: var(--color-negative);
  font-weight: var(--fw-semibold);
}

/* Parking chart (horizontal bars by response) */
.parking-chart {
  margin: var(--space-xl) 0;
}

.parking-chart__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-md);
}

.parking-chart__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.parking-chart__row {
  display: grid;
  grid-template-columns: 1fr  minmax(80px, 120px) 2.5em;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.parking-chart__row:last-child {
  margin-bottom: 0;
}

.parking-chart__label-inline {
  color: var(--color-text-muted);
}

.parking-chart__row--negative .parking-chart__label-inline,
.parking-chart__row--negative .parking-chart__pct {
  font-weight: var(--fw-semibold);
  color: var(--color-negative);
}

.parking-chart__bar-wrap {
  height: 20px;
  background: rgba(0,0,0,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.parking-chart__bar {
  display: block;
  height: 100%;
  border-radius: var(--radius);
  min-width: 2px;
  transition: width 0.5s ease-out;
}

.parking-chart__bar--very-likely {
  background: var(--color-negative);
}

.parking-chart__bar--somewhat-likely {
  background: rgba(185, 28, 28, 0.7);
}

.parking-chart__bar--somewhat-unlikely {
  background: #94a3b8;
}

.parking-chart__bar--unlikely,
.parking-chart__bar--other {
  background: rgba(0,0,0,0.12);
}

.parking-chart__pct {
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  text-align: right;
}

/* -------------------------------------------------------------------------- */
/* Concluding comments (card grid, before FAQ)                                */
/* -------------------------------------------------------------------------- */

.concluding-section .block__title {
  color: var(--color-on-dark);
}

.concluding-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.concluding-header .block__intro {
  font-size: var(--text-xl);
}

.concluding-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.concluding-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.concluding-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.concluding-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

.concluding-card:hover .concluding-card__accent {
  opacity: 1;
}

.concluding-card--feature {
  grid-column: 1 / -1;
  background: rgba(193, 205, 35, 0.06);
  border-color: rgba(193, 205, 35, 0.2);
}

.concluding-card--feature .concluding-card__accent {
  width: 5px;
  opacity: 0.8;
}

.concluding-card--feature:hover {
  background: rgba(193, 205, 35, 0.1);
  border-color: rgba(193, 205, 35, 0.35);
}

.concluding-card--wide {
  grid-column: 1 / -1;
}

.concluding-card__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(193, 205, 35, 0.12);
  color: var(--color-accent);
  transition: background 0.3s ease, transform 0.3s ease;
}

.concluding-card__icon-wrap svg {
  width: 22px;
  height: 22px;
}

.concluding-card:hover .concluding-card__icon-wrap {
  background: rgba(193, 205, 35, 0.22);
  transform: scale(1.08);
}

.concluding-card__content {
  flex: 1;
  min-width: 0;
}

.concluding-card__title {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.concluding-card__text {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-on-dark-muted);
}

.concluding-card--feature .concluding-card__title {
  font-size: var(--text-xl);
}

/* Override section-level batch reveal so cards animate in individually */
body.js-loaded .section.is-visible .concluding-card.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
body.js-loaded .section.is-visible .concluding-card.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.js-loaded .section.is-visible .concluding-card.reveal-item.is-visible:nth-child(odd) {
  transition-delay: 0.15s;
}
body.js-loaded .section.is-visible .concluding-card.reveal-item.is-visible:nth-child(even) {
  transition-delay: 0.35s;
}

@media (max-width: 800px) {
  .concluding-cards {
    grid-template-columns: 1fr;
  }
  .concluding-card--feature,
  .concluding-card--wide {
    grid-column: auto;
  }
  body.js-loaded .section.is-visible .concluding-card.reveal-item.is-visible:nth-child(even) {
    transition-delay: 0s;
  }
}

@media (max-width: 640px) {
  .parking-chart__row {
    grid-template-columns: 1fr 2.5em;
    gap: var(--space-xs);
  }
  .parking-chart__label-inline {
    grid-column: 1;
    grid-row: 1;
  }
  .parking-chart__bar-wrap {
    grid-column: 1;
    grid-row: 2;
  }
  .parking-chart__pct {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
  }
}

/* Satisfaction stacked bar (Likert-style) - full width, same height as expenditure bars, hover expand */
.satisfaction-chart {
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
}

.satisfaction-chart__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark);
  margin: 0 0 var(--space-sm);
  text-align: center;
}

.satisfaction-chart__bar {
  display: flex;
  width: 100%;
  height: 160px;
  border-radius: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.satisfaction-chart__bar.is-visible {
  transform: scaleX(1);
}

.satisfaction-chart__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.95);
  font-weight: var(--fw-semibold);
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: flex 0.35s ease-out, min-width 0.35s ease-out;
  padding: 0 8px;
  container-type: inline-size;
  container-name: sat-seg;
}

.satisfaction-chart__seg-short {
  display: block;
}

.satisfaction-chart__seg-full {
  display: none;
}

@container sat-seg (min-width: 150px) {
  .satisfaction-chart__seg-short { display: none; }
  .satisfaction-chart__seg-full { display: block; }
}

.satisfaction-chart__seg:hover .satisfaction-chart__seg-short,
.satisfaction-chart__seg:focus-visible .satisfaction-chart__seg-short,
.satisfaction-chart__seg.is-expanded .satisfaction-chart__seg-short {
  display: none;
}

.satisfaction-chart__seg:hover .satisfaction-chart__seg-full,
.satisfaction-chart__seg:focus-visible .satisfaction-chart__seg-full,
.satisfaction-chart__seg.is-expanded .satisfaction-chart__seg-full {
  display: block;
}

.satisfaction-chart__seg:hover,
.satisfaction-chart__seg:focus-visible,
.satisfaction-chart__seg.is-expanded {
  flex: 1 1 auto;
  min-width: 200px;
}

.satisfaction-chart__seg:focus-visible {
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 2px;
}

.satisfaction-chart__seg--very-sat {
  background: #4a5568;
}

.satisfaction-chart__seg--somewhat-sat {
  background: #718096;
}

.satisfaction-chart__seg--somewhat-dis {
  background: rgba(185, 28, 28, 0.7);
}

.satisfaction-chart__seg--very-dis {
  background: var(--color-negative);
}

.satisfaction-chart__note {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  margin: var(--space-sm) 0 0;
  text-align: center;
}

/* Expenditure stacked bar charts (same pattern as satisfaction “lack of crowds”) */
.expenditure-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
}

.expenditure-stack-chart {
  margin: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.expenditure-charts.is-visible .expenditure-stack-chart:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
}

.expenditure-charts.is-visible .expenditure-stack-chart:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.expenditure-stack-chart__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-on-light);
  margin: 0 0 var(--space-xs);
}

.expenditure-stack-chart__bar {
  display: flex;
  width: 100%;
  height: 160px;
  border-radius: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.expenditure-stack-chart__bar.is-visible {
  transform: scaleX(1);
}

.expenditure-stack-chart--resident .expenditure-stack-chart__bar {
  transition-delay: 0.2s;
}

.expenditure-stack-chart__seg {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.35s ease-out, min-width 0.35s ease-out;
  container-type: inline-size;
  container-name: seg;
}

/* Animate segment fill when bar scrolls into view */
.expenditure-stack-chart__seg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: inherit;
  z-index: 0;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg::before {
  width: 100%;
}

/* Segment fills start after left-to-right bar reveal (0.9s) */
.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(1)::before { transition-delay: 1s; }
.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(2)::before { transition-delay: 1.06s; }
.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(3)::before { transition-delay: 1.12s; }
.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(4)::before { transition-delay: 1.18s; }
.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(5)::before { transition-delay: 1.24s; }
.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(6)::before { transition-delay: 1.3s; }
.expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(7)::before { transition-delay: 1.36s; }

/* Resident bar has 0.2s delay so segment fills start after its left-to-right reveal (0.2s + 0.9s) */
.expenditure-stack-chart--resident .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(1)::before { transition-delay: 1.35s; }
.expenditure-stack-chart--resident .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(2)::before { transition-delay: 1.41s; }
.expenditure-stack-chart--resident .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(3)::before { transition-delay: 1.47s; }
.expenditure-stack-chart--resident .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(4)::before { transition-delay: 1.53s; }
.expenditure-stack-chart--resident .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(5)::before { transition-delay: 1.59s; }
.expenditure-stack-chart--resident .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(6)::before { transition-delay: 1.65s; }
.expenditure-stack-chart--resident .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg:nth-child(7)::before { transition-delay: 1.71s; }

@media (prefers-reduced-motion: reduce) {
  .expenditure-stack-chart {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .expenditure-stack-chart__bar,
  .expenditure-stack-chart__bar.is-visible {
    transform: none;
    transition: none;
  }
  .expenditure-stack-chart--resident .expenditure-stack-chart__bar {
    transition-delay: 0s;
  }
  .satisfaction-chart__bar,
  .satisfaction-chart__bar.is-visible {
    transform: none;
    transition: none;
  }
  .expenditure-stack-chart__seg::before {
    transition: none;
  }
  .expenditure-stack-chart__bar.is-visible .expenditure-stack-chart__seg::before {
    transition-delay: 0s;
  }
}

.expenditure-stack-chart__seg:hover,
.expenditure-stack-chart__seg:focus-visible {
  flex: 1 1 auto;
  min-width: 220px;
}

.expenditure-stack-chart__seg:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.expenditure-stack-chart__seg-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100%;
  padding: 0 10px;
  overflow: hidden;
}

.expenditure-stack-chart__seg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.95);
}

.expenditure-stack-chart__seg-icon svg {
  width: 100%;
  height: 100%;
}

.expenditure-stack-chart__seg-text {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.35s ease-out, opacity 0.25s ease-out;
}

/* Show text when segment has enough space (container query) */
@container seg (min-width: 130px) {
  .expenditure-stack-chart__seg-text {
    max-width: 200px;
    opacity: 1;
  }
}

.expenditure-stack-chart__seg:hover .expenditure-stack-chart__seg-text,
.expenditure-stack-chart__seg:focus-visible .expenditure-stack-chart__seg-text {
  max-width: 200px;
  opacity: 1;
}

@media (max-width: 767px) {
  .expenditure-stack-chart__seg:hover,
  .expenditure-stack-chart__seg:focus-visible {
    min-width: 180px;
  }
  .expenditure-stack-chart__seg-text {
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
  }
  .expenditure-stack-chart__seg:hover .expenditure-stack-chart__seg-text,
  .expenditure-stack-chart__seg:focus-visible .expenditure-stack-chart__seg-text {
    max-width: 300px;
  }
  .expenditure-stack-chart__seg-inner {
    overflow: visible;
  }
}

/* Segment track (visible before fill animation); fill color on ::before */
.expenditure-stack-chart__seg {
  background: rgba(0, 0, 0, 0.08);
}

/* Visitor segment colors (slate/gray shades) - applied to ::before fill */
.expenditure-stack-chart__seg--v1::before { background: #2d3748; }
.expenditure-stack-chart__seg--v2::before { background: #4a5568; }
.expenditure-stack-chart__seg--v3::before { background: #718096; }
.expenditure-stack-chart__seg--v4::before { background: #a0aec0; }
.expenditure-stack-chart__seg--v5::before { background: #4a5568; }
.expenditure-stack-chart__seg--v6::before { background: #718096; }
.expenditure-stack-chart__seg--v7::before { background: #a0aec0; }

/* Resident segment colors (lime/green shades) */
.expenditure-stack-chart__seg--r1::before { background: #9ca90d; }
.expenditure-stack-chart__seg--r2::before { background: #b8c41f; }
.expenditure-stack-chart__seg--r3::before { background: #c1cd23; }
.expenditure-stack-chart__seg--r4::before { background: #cad433; }
.expenditure-stack-chart__seg--r5::before { background: #a3af0f; }
.expenditure-stack-chart__seg--r6::before { background: #c1cd23; }
.expenditure-stack-chart__seg--r7::before { background: #b8c41f; }

.expenditure-stack-chart__sheet {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-on-light);
}

.expenditure-stack-chart__sheet-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 28px;
  padding: 2px 8px;
  border-radius: 0;
  overflow: hidden;
}

.expenditure-stack-chart__sheet-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--pct, 0) * 1%);
  max-width: 100%;
  z-index: 0;
  border-radius: 0;
}

.expenditure-stack-chart--visitor .expenditure-stack-chart__sheet-item::before {
  background: rgba(74, 85, 104, 0.18);
}

.expenditure-stack-chart--resident .expenditure-stack-chart__sheet-item::before {
  background: rgba(193, 205, 35, 0.22);
}

.expenditure-stack-chart__sheet-icon,
.expenditure-stack-chart__sheet-label {
  position: relative;
  z-index: 1;
}

.expenditure-stack-chart__sheet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.9;
}

.expenditure-stack-chart__sheet-icon svg {
  width: 100%;
  height: 100%;
}

.expenditure-stack-chart__sheet-label {
  font-weight: 500;
}

.expenditure-stack-chart__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.9;
}

.expenditure-stack-chart__icon svg {
  width: 100%;
  height: 100%;
}

/* -------------------------------------------------------------------------- */
/* Expand the Impact: Economic Cascade, Impact Tiles, Industry Chart          */
/* -------------------------------------------------------------------------- */

.econ-cascade {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--space-xl) 0;
  max-width: 640px;
}

.econ-cascade__tier {
  padding: var(--space-md) var(--space-lg);
}

.econ-cascade__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xs);
}

.econ-cascade__amount {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.econ-cascade__amount--highlight {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  color: var(--color-accent);
  text-shadow: 0 0 24px rgba(193, 205, 35, 0.3);
}

.econ-cascade__label {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark-muted);
}

.econ-cascade__bar-wrap {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: var(--space-xs);
}

.econ-cascade__bar {
  height: 100%;
  width: 0%;
  border-radius: 0;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.econ-cascade__bar--1 {
  background: var(--color-accent);
}

.econ-cascade__bar--2 {
  background: var(--color-seg2);
}

.econ-cascade__bar--3 {
  background: linear-gradient(90deg, var(--color-accent), #e0ec5a);
}

.econ-cascade__sub {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  font-weight: var(--fw-regular);
}

.econ-cascade__connector {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0 var(--space-xs) var(--space-md);
  color: var(--color-on-dark-muted);
}

.econ-cascade__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.5;
}

.econ-cascade__delta {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* Impact tiles (3-up grid) */
.impact-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.impact-tile {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border-top: 3px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-tile:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.impact-tile--accent {
  border-top-color: var(--color-accent);
  background: rgba(193, 205, 35, 0.08);
}

.impact-tile__icon {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.impact-tile__icon svg {
  width: 100%;
  height: 100%;
}

.impact-tile__value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.impact-tile__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-on-dark-muted);
  line-height: 1.5;
}

.block--light .impact-tiles {
  grid-template-columns: repeat(3, 1fr);
}

.block--light .impact-tile {
  background: rgba(0, 0, 0, 0.04);
  border-top-color: rgba(0, 0, 0, 0.08);
}

.block--light .impact-tile:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.block--light .impact-tile__label {
  color: var(--color-text-muted);
}

/* Subheading in expand section */
.expand-subhead {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-on-dark);
  margin: var(--space-xl) 0 var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.expand-subhead .icon {
  color: var(--color-accent);
}

.expand-jobs-strong {
  color: var(--color-accent);
  font-weight: 800;
}

/* Industry chart (horizontal bars) */
.industry-chart {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 var(--space-xl);
  max-width: 640px;
}

.industry-row {
  display: grid;
  grid-template-columns: 160px 1fr 52px;
  align-items: center;
  gap: var(--space-sm);
}

.industry-row__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-on-dark);
  white-space: nowrap;
}

.industry-row__track {
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0;
  overflow: hidden;
}

.industry-row__fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.industry-row__pct {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* Jobs industry stack chart (dark background variant) */
.expenditure-charts--jobs {
  padding: var(--space-lg) 0;
}

.expenditure-stack-chart--jobs .expenditure-stack-chart__seg {
  background: rgba(255, 255, 255, 0.10);
}

.expenditure-stack-chart--jobs .expenditure-stack-chart__seg-text,
.expenditure-stack-chart--jobs .expenditure-stack-chart__seg-icon {
  color: #fff;
}

.expenditure-stack-chart__seg--j1::before { background: #9ca90d; }
.expenditure-stack-chart__seg--j2::before { background: #7a8a06; }
.expenditure-stack-chart__seg--j3::before { background: #b8c41f; }
.expenditure-stack-chart__seg--j4::before { background: #6b7b04; }
.expenditure-stack-chart__seg--j5::before { background: #c1cd23; }
.expenditure-stack-chart__seg--j6::before { background: #5c6c03; }
.expenditure-stack-chart__seg--j7::before { background: #cad433; }
.expenditure-stack-chart__seg--j8::before { background: rgba(255, 255, 255, 0.15); }

/* Consistency: accent border on counter-block tiles (matches impact-tile style) */
.counter-block {
  border-top: 3px solid var(--color-accent);
}

/* -------------------------------------------------------------------------- */
/* Responsive - mobile first                                                  */
/* -------------------------------------------------------------------------- */

/* Mobile: prevent overflow, reduce scrolly height so steps advance without excessive scroll */
@media (max-width: 767px) {
  .scrolly-sticky {
    min-height: 40vh;
    padding: var(--space-md) var(--space-sm);
  }
  .scrolly-step {
    min-height: 55vh;
    padding: var(--space-xl) var(--space-md);
  }
  .scrolly-step--end {
    min-height: 30vh;
  }
  .container,
  .container--narrow {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .block {
    padding: var(--space-xl) 0;
  }
  .hero__inner {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .hero__credit-block {
    right: var(--space-sm);
  }
  .industry-row {
    grid-template-columns: 120px 1fr 48px;
  }
  .impact-tiles {
    grid-template-columns: 1fr;
  }
  .block--light .impact-tiles {
    grid-template-columns: 1fr;
  }
  .geography-map {
    height: 70vh;
    max-height: 70vh;
  }
  .visitor-spending__number-row .display-number {
    font-size: clamp(2.5rem, 11vw, 7rem);
  }

  /* --- Mobile: allow bar caption text to wrap instead of overflowing --- */
  .chart-bar-wrap--fullscreen .chart-bar__caption {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    flex-wrap: wrap;
    padding: var(--space-xs) var(--space-sm);
    line-height: 1.3;
    right: 0;
  }

  .parking-bars .chart-bar__caption {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    flex-wrap: wrap;
    padding: var(--space-xs) var(--space-sm);
    line-height: 1.3;
    right: 0;
  }

  .parking-bars .chart-bar__caption .chart-bar__label {
    font-size: clamp(0.85rem, 2.2vw, 1.1rem);
  }

  /* Area bars: move text inside the green fill when bar is wide enough */
  .area-bars .chart-bar__caption--inside {
    left: var(--space-sm);
    right: auto;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }
}

/* Small phones: ensure minimum touch targets and readable base font */
@media (max-width: 480px) {
  .chart-bar-row {
    grid-template-columns: 1fr;
  }
  .chart-bar__num { text-align: left; }
  .button {
    display: block;
    text-align: center;
    min-height: 44px;
    line-height: 44px;
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 768px) {
  .block { padding: var(--space-2xl) 0; }
}

@media (min-width: 1024px) {
  :root {
    --container: 1100px;
    --container-narrow: 720px;
  }
}

@media (min-width: 1440px) {
  :root { --container: 1200px; }
}

/* -------------------------------------------------------------------------- */
/* INTERACTIVE HOVER EFFECTS                                                  */
/* -------------------------------------------------------------------------- */

/* --- Section images: smooth zoom + brightness lift on hover --- */
.section-figure {
  overflow: hidden;
  cursor: pointer;
}

.hero__bg {
  cursor: pointer;
}

.image-text-block {
  cursor: pointer;
}

.section-figure img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.section-figure:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* Keep parallax images transform-compatible */
.section-figure--parallax:hover img {
  filter: brightness(1.08);
}

/* --- Data table rows: accent bar slide-in + background highlight --- */
.data-table tbody tr {
  position: relative;
  transition: background-color 0.25s ease;
}

.data-table tbody tr:not(.expenditure-table__total):hover {
  background-color: rgba(193, 205, 35, 0.08);
}

.block--dark .data-table tbody tr:not(.expenditure-table__total):hover {
  background-color: rgba(193, 205, 35, 0.12);
}

.data-table tbody tr::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.data-table tbody tr:not(.expenditure-table__total):hover::after {
  transform: scaleY(1);
}

/* --- Economic cascade tiers: lift + glow on hover --- */
.econ-cascade__tier {
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.econ-cascade__tier:hover {
  transform: translateX(6px);
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: -4px 0 0 var(--color-accent);
}

/* --- Cascade connector arrows: bounce on tier hover --- */
.econ-cascade__connector {
  transition: transform 0.3s ease;
}

.econ-cascade__tier:hover + .econ-cascade__connector {
  transform: translateY(3px);
}

/* --- Key finding callouts: lift + enhanced border glow --- */
.key-finding {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.key-finding:hover {
  transform: translateY(-2px) translateX(2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), -6px 0 0 var(--color-negative);
}

.key-finding--positive:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), -6px 0 0 var(--color-accent);
}

.key-finding--light:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), -6px 0 0 #5a6b2e;
}

/* --- Section signpost: number pulse on hover --- */
.section-signpost__part {
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, box-shadow 0.3s ease;
}

.section-signpost:hover .section-signpost__part {
  box-shadow: 0 4px 20px rgba(193, 205, 35, 0.6);
  transform: scale(1.1);
}

/* Re-assert the reveal transform when not yet visible */
body.js-loaded .section-signpost.reveal-item:not(.is-visible) .section-signpost__part {
  transform: scale(0.6);
}

.section-signpost__title {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, letter-spacing 0.3s ease;
}

.section-signpost:hover .section-signpost__title {
  letter-spacing: 0.06em;
}

/* --- Download button: scale + glow ring --- */
.button--primary {
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform 0.25s ease, box-shadow 0.25s ease;
}

.button--primary:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(193, 205, 35, 0.4), 0 0 0 4px rgba(193, 205, 35, 0.15);
}

.button--primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(193, 205, 35, 0.3);
}

/* --- Chart bar rows (gender, parking): glow accent on hover --- */
.chart-bar-row {
  transition: background-color 0.25s ease;
  border-radius: var(--radius);
}

.chart-bar-row:hover {
  background-color: rgba(193, 205, 35, 0.06);
}

.block--dark .chart-bar-row:hover {
  background-color: rgba(193, 205, 35, 0.08);
}

.chart-bar__fill {
  transition: filter 0.3s ease;
}

.chart-bar-row:hover .chart-bar__fill {
  filter: brightness(1.2) saturate(1.1);
}

/* --- Bullet list items: accent bar slide-in on hover --- */
.bullet-list li {
  position: relative;
  padding-left: 1em;
  transition: transform 0.25s ease, color 0.25s ease;
}

.bullet-list li::before {
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.bullet-list li:hover {
  transform: translateX(6px);
}

.bullet-list li:hover::before {
  transform: scale(1.4);
  background-color: var(--color-accent);
}

/* --- Grades chart categories: lift + glow on hover --- */
.grades-chart__category {
  padding: var(--space-sm);
  border-radius: var(--radius);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.grades-chart__category:hover {
  background-color: rgba(193, 205, 35, 0.08);
  transform: translateY(-2px);
}

.grades-chart__bar {
  transition: filter 0.3s ease;
}

.grades-chart__category:hover .grades-chart__bar {
  filter: brightness(1.25);
}

/* --- Hero logo: gentle float on hover --- */
.hero__logo {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.hero__logo:hover {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

/* --- Display quotes: subtle lift on hover --- */
.display-quote {
  transition: transform 0.3s ease;
  cursor: default;
}

.display-quote:hover {
  transform: scale(1.02);
}

/* --- Footer & credit links: animated underline --- */
.site-footer__links a,
.site-footer__credits a,
.image-credit a,
.hero__credit-text a {
  position: relative;
  text-decoration: none;
}

.site-footer__links a::after,
.site-footer__credits a::after,
.image-credit a::after,
.hero__credit-text a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__links a:hover::after,
.site-footer__credits a:hover::after,
.image-credit a:hover::after,
.hero__credit-text a:hover::after {
  width: 100%;
}

/* --- Origins legend items: scale bump on hover --- */
.origins-legend li {
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 4px 6px;
  margin: -4px -6px;
}

.origins-legend li:hover {
  transform: translateX(4px) scale(1.02);
}

.origins-legend li.origins-legend__item--highlight {
  opacity: 1;
}

/* --- Expenditure summary box: lift on hover --- */
.expenditure-summary {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expenditure-summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* --- Expenditure grand total: accent glow on hover --- */
.expenditure-grand-total {
  transition: transform 0.25s ease;
  cursor: default;
}

.expenditure-grand-total:hover {
  transform: scale(1.015);
}

/* --- FAQ chevron bounce on question hover --- */
.faq__question:hover::after {
  animation: faq-chevron-bounce 0.5s ease;
}

@keyframes faq-chevron-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(3px); }
  60% { transform: translateY(-1px); }
}

.faq__item.is-open .faq__question:hover::after {
  animation: faq-chevron-bounce-up 0.5s ease;
}

@keyframes faq-chevron-bounce-up {
  0%, 100% { transform: rotate(180deg) translateY(0); }
  40% { transform: rotate(180deg) translateY(3px); }
  60% { transform: rotate(180deg) translateY(-1px); }
}

/* --- Impact tile icon: spin on hover --- */
.impact-tile__icon {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.impact-tile:hover .impact-tile__icon {
  transform: rotateY(180deg);
  color: #e0ec5a;
}

/* --- Impact tile accent: top border expand on hover --- */
.impact-tile {
  border-top-width: 3px;
  border-top-style: solid;
}

.impact-tile:hover {
  border-top-color: var(--color-accent);
}

/* --- Concluding card icon: rotate on hover --- */
.concluding-card__icon-wrap svg {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.concluding-card:hover .concluding-card__icon-wrap svg {
  transform: rotate(8deg) scale(1.1);
}

/* --- Hero scroll hint: persistent bounce animation --- */
.hero__scroll-hint {
  animation: scroll-hint-bounce 2s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* --- Satisfaction chart segments: brightness lift on hover --- */
.satisfaction-chart__seg:hover {
  filter: brightness(1.2);
}

/* --- 3D tilt perspective on interactive cards --- */
.impact-tile,
.concluding-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* --- Image text block ($21M cutout): subtle hover --- */
.image-text-block__text {
  transition: transform 0.4s ease, letter-spacing 0.4s ease;
}

.image-text-block:hover .image-text-block__text {
  transform: scale(1.02);
  letter-spacing: 0.04em;
}

/* --- Visitor spending flags: tilt on hover --- */
.visitor-spending__flag {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.visitor-spending__flag:hover {
  transform: rotate(-3deg) scale(1.08);
}

/* --- Map study area label: scale on hover --- */
.map-study-label {
  transition: transform 0.3s ease;
  cursor: default;
}

.map-study-label:hover {
  transform: scale(1.03);
}

/* -------------------------------------------------------------------------- */
/* Print / PDF                                                                */
/* -------------------------------------------------------------------------- */
/* Historical chart (1986 vs 2025 growth) */
/* -------------------------------------------------------------------------- */

.historical-chart-wrap {
  margin-top: var(--space-xl);
}

.historical-chart {
  position: relative;
  max-width: 900px;
  margin: var(--space-lg) auto 0;
}

.historical-chart__svg {
  display: block;
  width: 100%;
  height: auto;
}

.historical-chart__path {
  opacity: 0;
}

.historical-chart__dot {
  opacity: 0;
}

.historical-chart__label {
  position: absolute;
  color: var(--color-on-dark);
  font-size: var(--text-sm);
  line-height: 1.35;
  opacity: 0;
}

.historical-chart__label--1985 {
  left: -10%;
  bottom: 22%;
  max-width: 160px;
}
.historical-chart__label--1985 .historical-chart__label-value {
  color: #fff;
}

.historical-chart__label--2025 {
  right: 0;
  top: 6%;
  text-align: right;
  max-width: 280px;
}

.historical-chart__label--2025 .historical-chart__label-value {
  font-size: var(--text-2xl);
}

.historical-chart__label--2025 .historical-chart__label-sub {
  font-size: var(--text-lg);
}

.historical-chart__label-value {
  display: block;
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  color: var(--color-accent);
}

.historical-chart__label-sub {
  display: block;
  color: var(--color-on-dark-muted);
  font-size: var(--text-sm);
}

.historical-chart__badges {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
}

.historical-chart__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #0d0d0d;
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  padding: 0.35em 0.85em;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .historical-chart__label--1985 {
    position: static;
    max-width: none;
    margin-top: var(--space-sm);
    text-align: center;
  }
  .historical-chart__label--2025 {
    position: static;
    max-width: none;
    text-align: center;
    margin-top: var(--space-xs);
  }
  .historical-chart__label,
  .historical-chart__badges {
    opacity: 1;
  }
}

/* -------------------------------------------------------------------------- */
/* Podium: Sport / Trad / Bouldering */
/* -------------------------------------------------------------------------- */

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.2rem, 5vw, 3rem);
  margin: var(--space-2xl) auto var(--space-2xl);
  max-width: 1425px;
}

.podium__place {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 420px;
}

.podium__medal {
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.podium__style {
  font-weight: var(--fw-bold);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--color-on-dark);
  letter-spacing: 0.01em;
}

.podium__pct {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--color-on-dark-muted);
  margin-bottom: 0.7rem;
}

.podium__block {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--color-accent);
  border-radius: 10px 10px 0 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.podium__block--1st {
  height: clamp(340px, 55vw, 520px);
}

.podium__block--2nd {
  height: clamp(250px, 40vw, 390px);
}

.podium__block--3rd {
  height: clamp(170px, 28vw, 280px);
}

.podium__place--1st { order: 2; }
.podium__place--2nd { order: 1; }
.podium__place--3rd { order: 3; }

.podium__place {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.podium__place.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.podium__block {
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
  will-change: transform;
  backface-visibility: hidden;
  contain: layout style paint;
}

.podium__place.is-visible .podium__block {
  transform: scaleY(1);
  will-change: auto;
}

.podium__place.is-visible .podium__block:hover {
  transform: scaleY(1) scaleX(1.08) scaleY(1.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.podium__rank {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  padding-bottom: 0.35em;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.podium__credit {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  margin-top: var(--space-sm);
  font-style: italic;
}

.podium__credit a {
  color: inherit;
}

/* -------------------------------------------------------------------------- */
/* Climbing area usage bars: accent for top two, muted for the rest */
/* -------------------------------------------------------------------------- */

.chart-bar__fill--area-default {
  background: var(--color-visitor);
}

/* -------------------------------------------------------------------------- */

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

  .scroll-progress-global {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .section-signpost {
    opacity: 1 !important;
    transform: none !important;
  }

  .section-figure img,
  .hero__bg img {
    opacity: 1 !important;
  }

  section.block {
    position: static !important;
    box-shadow: none !important;
    z-index: auto !important;
  }

  .section {
    page-break-inside: avoid;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__overlay {
    background: rgba(0,0,0,0.6);
  }

  .block--dark {
    background: #f0f0f0;
    color: #1a1a1a;
  }

  .block--dark .block__intro,
  .block--dark .block__note,
  .block--dark .bullet-list {
    color: #333;
  }

  .image-text-block__text {
    color: var(--color-accent) !important;
    background: none !important;
    -webkit-background-clip: unset;
    background-clip: unset;
  }
  .image-text-block__caption {
    color: #555;
  }

  .chart-on-image__bg { opacity: 0.15; }
  .chart-on-image__bg::after { background: rgba(255,255,255,0.85); }

  .hero__claim,
  .beat__value,
  .counter-block__value {
    color: #2d3a0f;
  }

  .chart-bar__fill {
    width: var(--pct) !important;
    transform: none !important;
  }

  .origins-donut__seg {
    transition: none;
  }

  .button--primary {
    background: #c1cd23;
    color: #000;
    border: 1px solid #000;
  }

  .site-footer {
    border-color: #ccc;
    margin-top: 2rem;
    page-break-before: avoid;
  }

  .econ-cascade__bar {
    width: var(--pct, 0%) !important;
    transition: none !important;
  }
  .econ-cascade__bar--1 { --pct: 60%; }
  .econ-cascade__bar--2 { --pct: 68%; }
  .econ-cascade__bar--3 { --pct: 100%; }

  .cascade-bars .chart-bar__fill {
    width: var(--pct) !important;
    transform: none !important;
  }
  .industry-row__fill {
    transition: none !important;
  }
  .historical-chart__path {
    stroke-dashoffset: 0 !important;
    stroke-dasharray: none !important;
  }
  .historical-chart__dot,
  .historical-chart__label,
  .historical-chart__badges {
    opacity: 1 !important;
  }
  a[href]::after { content: none; }
}
