/* ============================================
   EPIC — MVP Website Styles
   Palette: Navy #212C4C · Coral #F1734C · Rust #B7480A · Maroon #4B100E · Dark Navy #241D32
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAF7F4;
  --color-text: #1A1A1A;
  --color-text-light: #555555;
  --color-accent: #212C4C;
  --color-accent-hover: #1a2240;
  --color-coral: #F1734C;
  --color-coral-hover: #e0623d;
  --color-rust: #B7480A;
  --color-maroon: #4B100E;
  --color-dark-navy: #241D32;
  --color-white: #FFFFFF;
  --color-pz-bg: #1A1A1A;
  --color-pz-accent: #F5D623;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --nav-height: 64px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-white);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav--scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 28px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav__cta {
  color: var(--color-accent) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-coral);
  color: var(--color-white);
  border: 2px solid var(--color-coral);
}

.btn--primary:hover {
  background: transparent;
  color: var(--color-coral);
}

.btn--secondary {
  background: var(--color-coral);
  color: var(--color-white);
  border: 2px solid var(--color-coral);
}

.btn--secondary:hover {
  background: transparent;
  color: var(--color-coral);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-coral);
}

.btn--white:hover {
  background: #F0F0F0;
}

.btn--pz {
  background: var(--color-pz-accent);
  color: var(--color-pz-bg);
  border: 2px solid var(--color-pz-accent);
}

.btn--pz:hover {
  background: var(--color-pz-bg);
  color: var(--color-pz-accent);
  border-color: var(--color-pz-accent);
}

.badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: var(--nav-height);
  padding-bottom: 80px;
  text-align: center;
}

/* Scroll runway — tall container that gives the hero scroll distance for the animation */
.hero-scroll-runway {
  min-height: 250vh;
  position: relative;
  background: #FAF7F4;
}

.hero--pinned {
  position: sticky;
  top: 0;
  min-height: 100vh;
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  gap: 40px;
  text-align: left;
}

.hero__text {
  position: relative;
  z-index: 2;
}

.hero--split .hero__headline-wrap {
  padding: 0;
}

.hero--split .hero__content {
  padding: 0 0 24px;
}

/* Collage */
.hero__collage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 2 / 3;
  justify-self: center;
  -webkit-mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 20%, transparent 65%);
  mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 20%, transparent 65%);
}

.hero__collage-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
}

.hero__collage-bg {
  z-index: 1;
}

.hero__collage-mid {
  z-index: 2;
}

.hero__collage-fg {
  z-index: 3;
}

/* Topo contour wrapper — spans hero + aira showcase */

.hero__headline-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

.hero__headline {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-text-light);
}

.hero__headline-accent {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero__headline-sub {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--color-text-light);
  margin-top: 12px;
  line-height: 1.4;
}

.hero__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 0;
  position: relative;
  z-index: 2;
}

.hero__subhead {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero__scroll-arrow {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 24px;
  color: var(--color-text-light);
  opacity: 0.5;
  animation: bounce-arrow 2s ease-in-out infinite;
  text-decoration: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero__scroll-arrow {
    pointer-events: auto;
    cursor: pointer;
  }
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Video placeholder */
.hero__video-placeholder {
  background: #FAFAFA;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
}

.hero__video-mock {
  max-width: 600px;
  margin: 0 auto 24px;
  background: var(--color-white);
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
}

.mock-prompt {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mock-cursor {
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--color-accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.mock-text {
  font-size: 15px;
  color: var(--color-text-light);
}

.hero__video-note {
  font-size: 13px;
  color: #999;
}

.section-divider {
  border: none;
  border-top: 1px solid #E0E0E0;
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 48px);
}

/* ============================================
   SECTIONS (generic)
   ============================================ */
.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--color-bg-alt);
}

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

.section__headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
  max-width: 700px;
}

.section__headline--light {
  color: var(--color-white);
}

.section__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-light);
  max-width: 640px;
  margin-bottom: 32px;
}

.section__body--light {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   WHO IS EPIC — INTRO / GROUNDING SECTION
   ============================================ */
.epic-intro {
  background: var(--color-bg-alt);
  padding: 100px 0;
}

.epic-intro__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  border-top: 1px solid #E0E0E0;
  padding-top: 100px;
}

.epic-intro__eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.epic-intro__headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.epic-intro__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.epic-intro__stat {
  margin-bottom: 32px;
}

.epic-intro__stat-number {
  display: block;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.epic-intro__stat-label {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-light);
}

.epic-intro__mission-title,
.epic-intro__purpose-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.epic-intro__mission,
.epic-intro__purpose {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.epic-intro__purpose {
  margin-bottom: 0;
}

.epic-intro__collage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  justify-self: center;
  -webkit-mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 20%, transparent 65%);
  mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 20%, transparent 65%);
}

.epic-intro__collage-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
}

.epic-intro__collage-bg { z-index: 1; }
.epic-intro__collage-mid { z-index: 2; }
.epic-intro__collage-fg { z-index: 3; }

@media (max-width: 768px) {
  .epic-intro {
    padding: 64px 0;
    position: relative;
    overflow: hidden;
  }

  .epic-intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .epic-intro__text {
    order: 1;
    position: relative;
    z-index: 4;
  }

  .epic-intro__collage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 65%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 65%);
  }

  .epic-intro__stat-number {
    font-size: 56px;
  }
}

/* ============================================
   PSA 2.0 — TEAL BAND, TWO-COL, NUMBERED
   ============================================ */
.psa2 {
  background: var(--color-accent);
  padding: 100px 0;
}

.psa2__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.psa2__headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.psa2__body {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}
.psa2__body + .psa2__body {
  margin-top: 16px;
}

.psa2__link {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.psa2__link:hover {
  opacity: 0.8;
}

.psa2__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.psa2__pillar {
  background: var(--color-white);
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.psa2__pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.psa2__number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: rgba(33, 44, 76, 0.08);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.psa2__label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.psa2__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .psa2__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* ============================================
   AIRA SHOWCASE
   ============================================ */
.aira-showcase {
  padding: 80px 0;
  text-align: center;
  background: var(--color-bg-alt);
}

.aira-showcase__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  border-top: 1px solid #E0E0E0;
  padding-top: 80px;
}

.aira-showcase__headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.aira-showcase__intro {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.aira-showcase__video {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.aira-showcase__video video {
  width: 100%;
  display: block;
}

.aira-showcase__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.aira-showcase__subhead {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 28px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .aira-showcase {
    padding: 48px 0 32px;
  }

  .aira-showcase__subhead br {
    display: none;
  }

}

/* ============================================
   THE WHY — RESEARCH / SAY-DO GAP
   ============================================ */
.why {
  padding: 100px 0;
  background: var(--color-white);
}

.why__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why__stat {
  padding: 28px 0;
}

.why__stat:first-child {
  padding-top: 0;
}

.why__stat:last-child {
  padding-bottom: 0;
}

.why__stat-divider {
  height: 4px;
  background: #E0E0E0;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.why__stat-divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
}

.why__stat-divider--78::after {
  width: 78%;
}

.why__stat-divider--16::after {
  width: 16%;
}

.why__stat-number {
  display: block;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.why__stat--highlight .why__stat-number {
  color: var(--color-accent);
}

.why__stat-unit {
  font-size: 36px;
  letter-spacing: -1px;
}

.why__stat-label {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-light);
}

.why__stat-source {
  display: block;
  font-size: 12px;
  color: #ACACAC;
  margin-top: 4px;
}

.why__headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.why__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.why__body--accent {
  color: var(--color-accent);
  font-weight: 600;
}

.why__body:last-of-type {
  margin-bottom: 32px;
}

.why__blueprint {
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid #E0E0E0;
}

.why__blueprint-headline {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 16px;
}

.why__blueprint-text .why__body:last-of-type {
  margin-bottom: 32px;
}

.why__blueprint-video {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why__video {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  background: #000;
}

.why__video-caption {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 12px;
  font-style: italic;
  text-align: center;
}

@media (max-width: 768px) {
  .why__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why__blueprint {
    grid-template-columns: 1fr;
    margin-top: 40px;
    padding-top: 40px;
  }

  .why__video {
    max-width: 220px;
  }

  .why__stats {
    order: 2;
  }

  .why__text {
    order: 1;
  }

  .why__stat-number {
    font-size: 56px;
  }
}

/* ============================================
   NORMALIZING CLIMATE UNDERSTANDING — 4 PILLARS
   ============================================ */
.normalize {
  background: var(--color-bg-alt);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.normalize__collage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  max-width: 1400px;
  aspect-ratio: 16 / 9;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.45) 0%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.45) 0%, transparent 65%);
  opacity: 0.7;
}

.normalize__collage-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
}

.normalize__collage-bg { z-index: 1; }
.normalize__collage-mid { z-index: 2; }
.normalize__collage-fg { z-index: 3; }

.normalize__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 4;
}

.normalize__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.normalize__eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.normalize__headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.normalize__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-light);
}

.normalize__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.normalize__pillar {
  background: var(--color-white);
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.normalize__pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.normalize__number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: rgba(33, 44, 76, 0.08);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.normalize__label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.normalize__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-light);
}

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

@media (max-width: 768px) {
  .normalize {
    padding: 64px 0;
  }

  .normalize__header {
    margin-bottom: 40px;
  }

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

/* ============================================
   PRODUCTS
   ============================================ */
/* Products carousel */
.products-carousel {
  margin-top: 48px;
  position: relative;
}

.products-carousel__track {
  position: relative;
  overflow: hidden;
}

.products-carousel__slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(100%);
  pointer-events: none;
}

.products-carousel__slide--active {
  transform: translateX(0);
  pointer-events: auto;
}

.products-carousel__slide--sliding {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-carousel__image {
  border-radius: 12px;
  overflow: hidden;
}

.products-carousel__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.products-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: var(--color-white);
  color: var(--color-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 5;
}

.products-carousel__arrow:hover {
  background: var(--color-bg-alt);
  border-color: #bbb;
  color: var(--color-text);
}

.products-carousel__arrow--prev {
  left: -60px;
}

.products-carousel__arrow--next {
  right: -60px;
}

.products-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.products-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.products-carousel__dot--active {
  background: var(--color-coral);
  transform: scale(1.2);
}

.product-card {
  background: var(--color-white);
  border: 1.5px solid #E0E0E0;
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
}

.product-card--pz {
  background: var(--color-pz-bg);
  border-color: var(--color-pz-bg);
}

.product-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent);
  background: rgba(33, 44, 76, 0.10);
  padding: 4px 10px;
  border-radius: 4px;
}

.product-card__name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.product-card--pz .product-card__name {
  color: var(--color-pz-accent);
}

.product-card__descriptor {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.product-card--pz .product-card__descriptor {
  color: rgba(255, 255, 255, 0.6);
}

.product-card__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

.product-card--pz .product-card__body {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   FEATURED NAMES & PARTNERS
   ============================================ */
.featured-names {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.featured-name {
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-radius: 8px;
}

.featured-name strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.featured-name span {
  font-size: 14px;
  color: var(--color-text-light);
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.partner-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  filter: grayscale(100%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.section--accent .container {
  text-align: center;
}

.section--accent .section__headline {
  max-width: 100%;
}

.section--accent .section__body {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid #E8E8E8;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo img {
  height: 22px;
  width: auto;
  opacity: 0.6;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: var(--color-text-light);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__social {
  display: flex;
  align-items: center;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.footer__social-link:hover {
  opacity: 0.7;
}

.footer__social-icon {
  height: 22px;
  width: auto;
  opacity: 0.5;
}

.footer__copy {
  font-size: 13px;
  color: #999;
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

/* ============================================
   ABOUT / PEOPLE PAGE
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.page-header__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-header__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-header__subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  margin-top: 12px;
  max-width: 600px;
  line-height: 1.6;
}

.page-header__collage {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  -webkit-mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 20%, transparent 65%);
  mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, black 20%, transparent 65%);
}

.page-header__collage-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
}

.page-header__collage-bg { z-index: 1; }
.page-header__collage-mid { z-index: 2; }
.page-header__collage-fg { z-index: 3; }

@media (max-width: 768px) {
  .page-header {
    overflow: hidden;
  }

  .page-header__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-header__text {
    position: relative;
    z-index: 4;
  }

  .page-header__collage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    max-width: 600px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 65%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 65%);
  }
}

.council-section {
  padding: 48px 0;
  position: relative;
  z-index: 2;
}

.council-section__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

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

.person-card {
  text-align: center;
}

.person-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #E8E8E8;
  margin: 0 auto 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__photo-placeholder {
  font-size: 36px;
  font-weight: 700;
  color: #BDBDBD;
  user-select: none;
}

.person-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.person-card__title {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.4;
}

.person-card__org {
  font-size: 13px;
  color: #999;
}

.about-partners {
  padding: 60px 0;
  border-top: 1px solid #E8E8E8;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-partners__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-partners__conveners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.about-partners__convener img {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.about-partners__convener:hover img {
  opacity: 1;
}

/* Logo Grid Sections (Allies & Contributors) */
.logo-section {
  padding: 60px 0;
  border-top: 1px solid #E8E8E8;
  position: relative;
  z-index: 2;
}

.logo-section--alt {
  background: var(--color-bg-alt);
}

.logo-section__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 32px;
}

.logo-grid img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   SCROLL-REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children within pillar grids */
.reveal-stagger .psa2__pillar,
.reveal-stagger .normalize__pillar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger--visible .psa2__pillar,
.reveal-stagger--visible .normalize__pillar {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger--visible .psa2__pillar:nth-child(1),
.reveal-stagger--visible .normalize__pillar:nth-child(1) { transition-delay: 0s; }
.reveal-stagger--visible .psa2__pillar:nth-child(2),
.reveal-stagger--visible .normalize__pillar:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger--visible .psa2__pillar:nth-child(3),
.reveal-stagger--visible .normalize__pillar:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger--visible .psa2__pillar:nth-child(4),
.reveal-stagger--visible .normalize__pillar:nth-child(4) { transition-delay: 0.3s; }

/* Stat counter animation — numbers scale up */
.why__stat-number {
  transition: color 0.4s ease;
}

/* Hero parallax container */
.hero:not(.hero--pinned) {
  position: relative;
}

.hero__headline-wrap {
  position: relative;
  z-index: 2;
  will-change: transform;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid #E8E8E8;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #F0F0F0;
  }

  .nav__links li:last-child a {
    border-bottom: none;
  }

  .hero-scroll-runway {
    min-height: auto;
  }

  .hero--pinned {
    position: relative;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 48px;
  }

  .hero--split {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-height) + 24px) 24px 40px;
    text-align: center;
    gap: 32px;
  }

  .hero--split {
    position: relative;
    overflow: hidden;
  }

  .hero__collage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 65%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.4) 0%, transparent 65%);
  }

  .hero--split .hero__content {
    padding: 0 0 16px;
    position: relative;
    z-index: 4;
  }

  .hero--split .hero__headline-wrap {
    position: relative;
    z-index: 4;
  }

  .hero__headline {
    font-size: 16px;
  }

  .hero__headline-accent {
    font-size: 28px;
  }

  .hero__headline-sub {
    font-size: 16px;
  }

  .hero__headline br,
  .hero__subhead br {
    display: none;
  }

  .hero__video {
    margin-top: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .products-carousel__arrow {
    width: 36px;
    height: 36px;
    top: 35%;
  }

  .products-carousel__arrow--prev {
    left: 8px;
  }

  .products-carousel__arrow--next {
    right: 8px;
  }

  .featured-names {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    justify-content: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .people-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .person-card__photo {
    width: 100px;
    height: 100px;
  }

  .logo-grid {
    gap: 16px 20px;
  }

  .logo-grid img {
    height: 28px;
  }

  .about-partners__conveners {
    gap: 32px;
  }

  .about-partners__convener img {
    height: 36px;
  }
}

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