/* Mobile-only line breaks: hidden on desktop, shown on mobile */
.mobile-br { display: none; }

/* Team dots: hidden on desktop */
.team__dot { display: none; }
.team__bio-reveal { display: none; }

/* ===== STICKY P ICON ===== */
.sticky-p {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 999;
  width: 72px;
  height: 72px;
  opacity: 0;
  transform: scale(0.5) rotate(-20deg);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticky-p.is-visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto;
}

.sticky-p img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sticky-p:hover {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-red: #FA0E1C;
  --color-dark: #161817;
  --color-gray-dark: #303030;
  --color-gray-mid: #3d3b3f;
  --color-gray-60: #999999;
  --color-gray-light: #F5F5F5;
  --color-gray-input: #EEEEEE;

  /* Fonts */
  --font-serif: 'Benne', serif;
  --font-sans: 'Inter', sans-serif;
  --font-slab: 'Arbutus Slab', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== SHARED STYLES ===== */
.accent-dot {
  color: var(--color-red);
}

.accent-comma {
  color: var(--color-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.7px;
  letter-spacing: -0.14px;
  line-height: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) {
  .btn:hover {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

.btn--red {
  background-color: var(--color-red);
  color: var(--color-white);
  border-radius: 100px;
  padding: 28px 46px;
}


/* ===== HERO STAR ANIMATIONS ===== */
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  opacity: 0.3;
  animation: twinkle 3s ease-in-out infinite alternate;
}

.star--bright {
  width: 4px;
  height: 4px;
  opacity: 0.5;
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.4);
}

@keyframes twinkle {
  0%   { opacity: 0.2; transform: scale(0.8); }
  50%  { opacity: 0.8; transform: scale(1.1); }
  100% { opacity: 0.3; transform: scale(0.9); }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100lvh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__bg img,
.hero__bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__bg-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 0;
}

.hero__bg-full {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__bg-full.is-loaded {
  opacity: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1%;
  padding-bottom: 8%;
  /* No z-index here — children manage their own stacking */
}

.hero__logo-wrapper {
  position: relative;
  z-index: 1;
  width: 55.8%;  /* 1071 / 1920 */
  margin-bottom: 0;
}

.hero__logo {
  width: 100%;
  height: auto;
}

.hero__rock-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__rock-layer.is-loaded {
  opacity: 1;
}

.hero__rock-layer picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__rock-layer img {
  /* Must match hero__bg img object-fit behavior exactly */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__character-layer {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  bottom: 50%;
  width: 8%;
}

.hero__character-layer img {
  width: 100%;
  height: auto;
}

.hero__tagline {
  position: absolute;
  bottom: calc(14% + 110px);
  left: 0;
  right: 0;
  z-index: 3;
}

.hero__character {
  display: none;
}

.hero__character-float {
  position: relative;
  z-index: 1;
  width: 280px;
  margin-top: -280px;
  margin-left: auto;
  margin-right: 40px;
  margin-bottom: -20px;
  pointer-events: none;
}

.hero__character-float video {
  width: 100%;
  height: auto;
}

.hero__character img {
  width: 100%;
  height: auto;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.24vw, 43px);  /* scales with viewport */
  color: var(--color-white);
  letter-spacing: -1.32px;
  line-height: 1;
  margin-top: 2.1vw;
  margin-bottom: 2.1vw;
  text-align: center;
}

.hero .btn--red {
  position: absolute;
  bottom: calc(8% + 100px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 1.46vw 2.4vw;
  font-size: 15px;
}

/* Hero wave */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 3;
  overflow: hidden;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__wave-path {
  animation: waveMotion 8s linear infinite;
  transform-origin: center bottom;
}

@keyframes waveMotion {
  0% {
    d: path("M0,60 L0,25 Q120,8 240,22 Q360,36 480,22 Q600,8 720,22 Q840,36 960,22 Q1080,8 1200,22 Q1320,36 1440,25 L1440,60 Z");
  }
  25% {
    d: path("M0,60 L0,18 Q120,32 240,18 Q360,4 480,18 Q600,32 720,18 Q840,4 960,18 Q1080,32 1200,18 Q1320,4 1440,18 L1440,60 Z");
  }
  50% {
    d: path("M0,60 L0,22 Q120,8 240,25 Q360,38 480,25 Q600,8 720,25 Q840,38 960,25 Q1080,8 1200,25 Q1320,38 1440,22 L1440,60 Z");
  }
  75% {
    d: path("M0,60 L0,18 Q120,32 240,18 Q360,4 480,18 Q600,32 720,18 Q840,4 960,18 Q1080,32 1200,18 Q1320,4 1440,18 L1440,60 Z");
  }
  100% {
    d: path("M0,60 L0,25 Q120,8 240,22 Q360,36 480,22 Q600,8 720,22 Q840,36 960,22 Q1080,8 1200,22 Q1320,36 1440,25 L1440,60 Z");
  }
}


/* ===== MISSION SECTION ===== */
.mission {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  padding: 169px 20px 60px;
  text-align: center;
}

.mission__container {
  max-width: 1100px;
  margin: 0 auto;
}

.mission__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 150px;
  line-height: 135px;
  letter-spacing: -7.5px;
  color: var(--color-gray-mid);
  margin-bottom: 45px;
}

.mission__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mission__text p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.25px;
  color: var(--color-gray-dark);
  text-align: center;
}

/* Video Player */
.mission__video {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.video-player {
  position: relative;
  width: 100%;
  max-width: 944px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.video-player__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.video-player__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
  border-radius: 0;
}

.video-player__overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-player__play-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0;
}

.video-player__play-btn:hover {
  transform: scale(1.1);
}

.video-player__play-btn svg circle {
  transition: fill 0.2s ease;
}

.video-player__play-btn:hover svg circle {
  fill: rgba(0, 0, 0, 0.7);
}


/* ===== CTA DIVIDER ===== */
.cta-divider {
  text-align: center;
  padding: 60px 20px;
  background: var(--color-white);
}

/* ===== SESSION HEADER ===== */
.session-header {
  background: var(--color-white);
  padding: 60px 20px;
  text-align: center;
}

.session-header__wrapper {
  display: inline-block;
  position: relative;
}

.session-header__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  color: var(--color-black);
}

.session-header__pebble-word {
  position: relative;
  display: inline-block;
}

.session-header__sparkle {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 93px;
  height: 111px;
  transform: translateX(-47%) rotate(135deg);
  margin-top: -22px;
}


/* ===== FEATURES TIMELINE ===== */
.features {
  background: var(--color-white);
  padding: 60px 20px 100px;
}

.features__container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* 3-column grid: [left side] [marker on timeline] [right side] */
.features__item {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  column-gap: 30px;
  align-items: start;
  margin-bottom: 80px;
  position: relative;
}

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

/* Timeline hand-drawn SVG line */
.features__timeline-line {
  display: none; /* replaced by SVG */
}

.features__timeline-svg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  z-index: 1;
  overflow: visible;
  /* top and height set by JS */
}

.features__timeline-path {
  fill: none;
  stroke: var(--color-red);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Glow path — hidden */
.features__timeline-progress {
  display: none;
}

/* Background path — dotted guide line */
.features__timeline-path[stroke-opacity] {
  stroke-dasharray: 4 8;
  stroke-width: 2.5;
  stroke-opacity: 0.35;
}

/* Organic hand-drawn marker dots */
.features__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding-top: 3px;
}

.features__marker-icon {
  display: none; /* hide old SVG icons */
}

.features__marker-dot {
  width: 18px;
  height: 18px;
  background: var(--color-red);
  border-radius: 50% 45% 55% 48%;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Each dot gets a slightly different organic shape */
.features__item:nth-child(2) .features__marker-dot {
  border-radius: 45% 55% 48% 52%;
  width: 20px;
  height: 17px;
}

.features__item:nth-child(3) .features__marker-dot {
  border-radius: 52% 48% 45% 55%;
  width: 17px;
  height: 19px;
}

.features__item:nth-child(4) .features__marker-dot {
  border-radius: 48% 52% 55% 45%;
  width: 19px;
  height: 18px;
}

.features__item:nth-child(5) .features__marker-dot {
  border-radius: 55% 45% 50% 48%;
  width: 18px;
  height: 20px;
}

/* Dot pulse when active (scrolled to) */
.features__marker-dot.is-active {
  transform: scale(1.4);
}

/* Each side holds image + text */
.features__side {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.features__side--empty {
  display: block;
}

/* Left items: content is in left column, right-aligned toward timeline */
.features__item--left .features__side:first-child {
  justify-content: flex-end;
}

/* Right items: content is in right column, left-aligned away from timeline */
.features__item--right .features__side:last-child {
  justify-content: flex-start;
}

.features__image-wrapper {
  flex-shrink: 0;
}

.features__image {
  width: 280px;
  height: auto;
  border-radius: 16px;
}

.features__text {
  max-width: 192px;
  flex-shrink: 0;
  padding-top: 0;
}

.features__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.5px;
  color: var(--color-black);
  margin-bottom: 10px;
}

.features__description {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.features__cta {
  margin-top: 20px;
  padding: 16px 32px;
  font-size: 13px;
}


/* ===== TESTIMONIALS BANNER ===== */
.testimonials {
  background: var(--color-gray-light);
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

/* Wavy top and bottom edges */
.testimonials::before,
.testimonials::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--color-white);
  z-index: 1;
}

.testimonials::before {
  top: -1px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.testimonials::after {
  bottom: -1px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.testimonials__track {
  display: flex;
  width: max-content;
  animation: testimonialScroll 45s linear infinite;
}

.testimonials__track:hover {
  animation-play-state: paused;
}

.testimonials__scroll {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

.testimonials__card {
  flex-shrink: 0;
  width: 360px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.testimonials__quote {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: -0.3px;
  color: var(--color-gray-dark);
}

.testimonials__author {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: var(--color-red);
}


@keyframes testimonialScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ===== PIONEERS CTA ===== */
.pioneers {
  background: var(--color-dark);
  padding: 140px 20px 80px;
  text-align: center;
}

.pioneers__container {
  max-width: 976px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.pioneers__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 150px;
  line-height: 135px;
  letter-spacing: -7.5px;
  color: var(--color-white);
}

.pioneers__text {
  max-width: 549px;
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.pioneers__text p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: -0.15px;
  color: var(--color-white);
  text-align: center;
}

.pioneers .btn--red {
  padding: 18px 40px;
}

.pioneers__sparkles {
  width: 141px;
  height: 149px;
}

.pioneers__sparkles svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Heart burst from star click */
.heart-burst {
  position: fixed;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: heartFly 1.2s ease-out forwards;
}

.heart-burst svg {
  width: 100%;
  height: 100%;
}

@keyframes heartFly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg) translateX(0) translateY(0);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(var(--scale, 1)) rotate(var(--rotation, 0deg)) translateX(var(--drift, 0px)) translateY(-60px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(var(--scale, 1)) rotate(var(--rotation, 0deg)) translateX(var(--drift, 0px)) translateY(-180px);
  }
}

/* Small star — fast irregular flicker */
.pioneers__star-small {
  animation: starFlicker 0.8s steps(1) infinite;
}

@keyframes starFlicker {
  0% { opacity: 1; }
  7% { opacity: 0; }
  12% { opacity: 1; }
  18% { opacity: 0; }
  22% { opacity: 1; }
  47% { opacity: 1; }
  50% { opacity: 0; }
  53% { opacity: 1; }
  54% { opacity: 0; }
  58% { opacity: 1; }
  76% { opacity: 1; }
  78% { opacity: 0; }
  82% { opacity: 1; }
  100% { opacity: 1; }
}


/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--color-white);
  padding: 120px 20px;
  text-align: center;
}

.manifesto__container {
  max-width: 1007px;
  margin: 0 auto;
}

.manifesto__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -0.4px;
  color: var(--color-black);
  margin-bottom: 56px;
}

.manifesto__text--bold {
  font-size: 40px;
  line-height: 56px;
  margin-bottom: 0;
}


/* Hand-drawn underline on "Better" */
.manifesto__better {
  display: inline;
  position: relative;
}

.manifesto__better-svg {
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: 8px;
  overflow: visible;
  pointer-events: none;
}

.manifesto__better-line {
  fill: none;
  stroke: var(--color-red);
  stroke-width: 2;
  stroke-linecap: round;
}

/* ===== TEAM SECTION ===== */
.team {
  background: var(--color-white);
  padding: 0 20px 80px;
}

.team__container {
  max-width: 808px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 150px;
  line-height: 135px;
  letter-spacing: -7.5px;
  text-align: center;
  margin-bottom: 32px;
  color: var(--color-black);
}

.team__photo-wrapper {
  width: 100%;
  max-width: 808px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 60px;
}

.team__photo {
  width: 100%;
  height: auto;
  display: block;
}

/* Team arrows */
.team__container {
  position: relative;
}

.team__bios {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  max-width: 700px;
}

.team__bios--four {
  max-width: 100%;
  gap: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.team__bio {
  flex: 1;
  max-width: 293px;
}

.team__bios--four .team__bio {
  max-width: none;
}

.team__bio p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: -0.15px;
  color: var(--color-black);
}

.team__bio p + p {
  margin-top: 6px;
}

.team__name {
  font-weight: 700;
  color: var(--color-red);
}

.team__role {
  font-weight: 500;
  font-size: 13px;
  color: var(--color-gray-60);
  display: inline;
}

/* Advisors banner */
.team__advisors {
  width: 100%;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #EEEEEE;
  text-align: center;
}

.team__advisors-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-gray-60);
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}

.team__advisors-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #EEEEEE;
}

.team__advisor-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.4);
}

.team__advisor-logo:nth-child(2) {
  height: 35px;
}

.team__advisor-logo:nth-child(3) {
  height: 28px;
}


/* ===== PRINCIPLES ===== */
.principles {
  background: var(--color-white);
  padding: 20px 20px 60px;
  text-align: center;
}

.principles__container {
  max-width: 976px;
  margin: 0 auto;
}

.principles__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 150px;
  line-height: 135px;
  letter-spacing: -7.5px;
  color: var(--color-black);
  margin-bottom: 47px;
}

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

.principles__card {
  background: var(--color-gray-light);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  text-align: center;
}

.principles__card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 25px;
  letter-spacing: -0.5px;
  color: var(--color-black);
  margin-bottom: 12px;
}

.principles__card-text {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 15.6px;
  letter-spacing: -0.13px;
  color: var(--color-gray-60);
  max-width: 145px;
}


/* ===== MANIFESTO TOGGLE BUTTON ===== */
.btn--gray {
  background-color: #E8E8E8;
  color: var(--color-gray-dark);
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 12px;
  margin-top: 40px;
}

.btn--gray:hover {
  background-color: #DCDCDC;
}

/* ===== EXPANDABLE MANIFESTO ===== */
.manifesto-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
  background: var(--color-dark);
}

.manifesto-full.is-open {
  max-height: 2000px;
}

.manifesto-full__container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.manifesto-full__content {
  padding: 80px 0 100px;
}

.manifesto-full__content p {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: 24px;
}

.manifesto-full__content p:last-child {
  margin-bottom: 0;
}

.manifesto-full__closing {
  font-weight: 700;
  font-size: 26px !important;
  margin-top: 16px;
  color: var(--color-white) !important;
}

.manifesto-full__gif {
  width: 200px;
  height: auto;
  margin: 0 auto 40px;
  display: block;
  border-radius: 12px;
}

/* ===== SIGNUP FORM ===== */
.signup {
  background: var(--color-white);
  padding: 80px 20px;
  text-align: center;
}

.signup__container {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.signup__zap {
  width: 43px;
  height: 76px;
  position: relative;
  overflow: hidden;
}

.signup__zap img {
  width: 100%;
  height: 100%;
}

.signup__zap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 80%,
    transparent 100%
  );
  background-size: 100% 40%;
  background-repeat: no-repeat;
  background-position: 0 -40%;
  animation: zapShine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes zapShine {
  0%, 75% {
    background-position: 0 -40%;
  }
  85% {
    background-position: 0 140%;
  }
  85.1%, 100% {
    background-position: 0 -40%;
  }
}

.signup__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -1.2px;
  color: var(--color-black);
  margin-bottom: -10px;
}

.signup__subheading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -1.2px;
  color: var(--color-gray-60);
  margin-top: -30px;
}

.signup__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 280px;
}

.signup__input {
  width: 100%;
  height: 40px;
  background: var(--color-gray-input);
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-black);
  outline: none;
}

.signup__input::placeholder {
  color: var(--color-gray-60);
}

.signup__input:focus {
  box-shadow: 0 0 0 2px var(--color-red);
}

.signup__submit {
  width: 100%;
  height: 40px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.7px;
  line-height: 16.8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.signup__submit:hover {
  opacity: 0.85;
}


/* ===== CHARACTER BOTTOM ===== */
.character-bottom {
  background: var(--color-white);
  display: flex;
  justify-content: center;
  padding: 0 20px 40px;
  margin-top: -70px;
}

.character-bottom__img {
  width: 326px;
  height: auto;
}

.character-bottom__video {
  width: 420px;
  height: auto;
  background: transparent;
  pointer-events: none;
}

.character-bottom__video::-webkit-media-controls {
  display: none !important;
}

.character-bottom__video::-webkit-media-controls-panel {
  display: none !important;
}

.character-bottom__video::-webkit-media-controls-start-playback-button {
  display: none !important;
}


/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark);
  padding: 100px 20px;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 320px;
}

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

.footer__links a {
  font-family: var(--font-slab);
  font-weight: 400;
  font-size: 16px;
  line-height: 20.8px;
  letter-spacing: -0.64px;
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.footer__links a:hover {
  opacity: 0.7;
}

.footer__logo {
  width: 133px;
  height: 33px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large screens (< 1400px) */
@media (max-width: 1400px) {
  .mission__heading {
    font-size: 120px;
    line-height: 110px;
    letter-spacing: -6px;
  }

  .pioneers__heading,
  .team__heading {
    font-size: 120px;
    line-height: 110px;
    letter-spacing: -6px;
  }

  .principles__heading {
    font-size: 120px;
    line-height: 110px;
    letter-spacing: -6px;
  }

  .footer__container {
    gap: 150px;
  }
}

/* Medium screens / tablets (< 1024px) */
@media (max-width: 1024px) {
  .mission__heading,
  .pioneers__heading,
  .principles__heading,
  .team__heading {
    font-size: 90px;
    line-height: 85px;
    letter-spacing: -4.5px;
  }

  .mission {
    padding: 100px 20px;
  }

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

  .hero__character {
    right: -10%;
    width: 50%;
  }

  .team__photo-wrapper {
    border-radius: 100px;
  }

  .footer__container {
    gap: 80px;
  }
}

/* Small tablets / large phones (< 768px) */
@media (max-width: 768px) {
  .mission__heading,
  .pioneers__heading,
  .principles__heading,
  .team__heading {
    font-size: 60px;
    line-height: 58px;
    letter-spacing: -3px;
  }

  .mission {
    padding: 60px 20px;
  }

  .mission__text p {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__tagline {
    font-size: 24px;
    line-height: 28px;
  }

  .hero__character {
    position: relative;
    right: auto;
    top: auto;
    width: 60%;
    max-width: 300px;
    margin: -40px auto 20px;
  }

  .hero__content {
    padding: 60px 20px 40px;
  }

  .features__container {
    position: relative;
    padding-left: 32px;
  }

  /* Show the timeline SVG on the left */
  .features__timeline-svg {
    display: block;
    transform: none;
  }

  .features__timeline-path {
    stroke-width: 2.5;
  }

  .features__item {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
    position: relative;
    margin-bottom: 80px;
  }

  /* Show organic dots, positioned on the left rail aligned with title */
  .features__marker {
    display: flex;
    position: absolute;
    left: -32px;
    top: 5px;
    width: 14px;
    height: auto;
    padding: 0;
    justify-content: center;
    z-index: 3;
  }

  .features__marker-dot {
    width: 10px !important;
    height: 10px !important;
    transform: scale(1);
  }

  .features__marker-dot.is-active {
    transform: scale(1.5);
  }

  .features__image {
    max-width: 85%;
    width: 85%;
    margin: 0;
  }

  .features__item--left .features__side:first-child,
  .features__item--right .features__side:last-child {
    justify-content: flex-start;
  }

  .features__side--empty {
    display: none;
  }

  /* On mobile: reorder so title+desc come first, then image */
  .features__side {
    display: flex;
    flex-direction: column;
  }

  .features__side .features__text {
    order: -1;
    text-align: left;
    margin-bottom: 16px;
  }

  .features__item--left .features__text,
  .features__item--right .features__text {
    text-align: left;
  }

  .features__text {
    max-width: 100%;
    padding-top: 0;
  }

  .features__item--left .features__description,
  .features__item--right .features__description {
    margin: 0;
  }

  .features__image {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }

  .features__description {
    max-width: 100%;
    margin: 0;
  }

  .pioneers__heading {
    font-size: 50px;
    line-height: 50px;
    letter-spacing: -2.5px;
  }

  .manifesto__text {
    font-size: 28px;
    line-height: 32px;
  }

  .manifesto__text--bold {
    font-size: 28px;
    line-height: 40px;
  }

  .team__bios {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .team__bios--four {
    display: none;
  }

  .team__bio {
    max-width: 100%;
    text-align: center;
  }

  .team__photo-wrapper {
    position: relative;
    border-radius: 60px;
  }

  /* Red dots on team photo */
  .team__dot {
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-red);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    transform: translate(-50%, -50%);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  /* Larger invisible tap target */
  .team__dot::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .team__dot.active {
    background: var(--color-white);
    border-color: var(--color-red);
  }

  /* Subtle ping animation */
  .team__dot-ping {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-red);
    animation: dotPing 2.5s ease-out infinite;
    pointer-events: none;
  }

  .team__dot.active .team__dot-ping {
    animation: none;
  }

  @keyframes dotPing {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
  }

  /* Bio reveal area */
  .team__bio-reveal {
    display: block;
    min-height: 0;
    text-align: center;
    padding: 0 20px;
    margin-top: -10px;
    overflow: hidden;
    transition: min-height 0.3s ease;
  }

  .team__bio-reveal:empty {
    padding: 0;
  }

  .team__bio-reveal .team__bio-card {
    animation: bioFadeIn 0.35s ease-out;
    padding: 8px 0 8px;
  }

  .team__bio-reveal .team__bio-card p:first-child {
    margin-bottom: 8px;
  }

  .team__bio-reveal .team__name {
    color: var(--color-red);
    font-weight: 700;
    font-size: 18px;
  }

  .team__bio-reveal .team__role {
    font-weight: 500;
    font-size: 14px;
    color: var(--color-gray-60);
  }

  .team__bio-reveal .team__bio-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray-80);
  }

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

  .team__advisors-logos {
    gap: 30px;
  }

  .hero__character-float {
    display: none;
  }

  /* Stack feature sides vertically */
  .features__side {
    flex-direction: column;
    align-items: center;
  }

  .features__text {
    max-width: 100%;
  }

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

  .session-header__title {
    font-size: 30px;
    line-height: 34px;
  }

  .signup__heading,
  .signup__subheading {
    font-size: 32px;
    line-height: 34px;
  }

  .footer__container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer__links {
    align-items: center;
  }
}

/* Mobile phones (< 480px) */
@media (max-width: 480px) {
  .mobile-br { display: block; }

  .video-player {
    aspect-ratio: 9 / 16;
    max-height: 70vh;
  }

  .cta-divider {
    padding: 24px 20px;
  }

  .video-player__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mission__heading {
    font-size: 70px;
    line-height: 68px;
    letter-spacing: -3.5px;
  }

  .pioneers__heading,
  .team__heading {
    font-size: 70px;
    line-height: 68px;
    letter-spacing: -3.5px;
  }

  .principles__heading {
    font-size: 70px;
    line-height: 68px;
    letter-spacing: -3.5px;
  }

  .mission {
    padding: 60px 16px;
  }

  .mission__text p {
    font-size: 15px;
    line-height: 22px;
  }

  .hero__logo-wrapper {
    width: 85%;
    transform: translateY(-85px);
  }

  .hero__tagline {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.8px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .hero .btn--red {
    padding: 22px 52px;
    font-size: 16px;
  }

  .btn--red {
    padding: 20px 36px;
  }

  .pioneers {
    padding: 60px 16px;
  }

  .pioneers__text p {
    font-size: 14px;
    line-height: 20px;
  }

  .manifesto {
    padding: 60px 16px;
  }

  .manifesto__text {
    font-size: 22px;
    line-height: 28px;
  }

  .manifesto__text--bold {
    font-size: 22px;
    line-height: 32px;
  }

  .team {
    padding: 0 16px 60px;
  }

  .team__bios--four {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team__photo-wrapper {
    border-radius: 40px;
  }

  .team__advisors-logos {
    gap: 20px;
  }

  .team__advisor-logo {
    height: 30px !important;
  }

  .team__advisor-logo:nth-child(2) {
    height: 26px !important;
  }

  .team__advisor-logo:nth-child(3) {
    height: 22px !important;
  }

  .principles {
    padding: 20px 16px 40px;
  }

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

  .principles__card {
    min-height: 160px;
    padding: 30px;
  }

  .principles__card-text {
    max-width: 100%;
  }

  .session-header__title {
    font-size: 24px;
    line-height: 28px;
  }

  .signup {
    padding: 60px 16px;
  }

  .signup__heading,
  .signup__subheading {
    font-size: 28px;
    line-height: 30px;
  }

  .character-bottom {
    margin-top: 0;
  }

  .character-bottom__img,
  .character-bottom__video {
    width: 240px;
  }

  .footer {
    padding: 60px 16px;
  }
}

/* ===== CONFIRMATION SCREEN ===== */
.confirmation {
  padding: 80px 20px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation__container {
  max-width: 520px;
  margin: 0 auto;
}

.confirmation__icon {
  width: 64px;
  height: 64px;
  background: #2d2d2d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
}

.confirmation__heading {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.confirmation__position {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #333;
}

.confirmation__subtext {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
}

.confirmation__referral {
  background: #f8f7f4;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
}

.confirmation__referral-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.confirmation__referral-box {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.confirmation__referral-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #555;
  background: var(--color-white);
  cursor: text;
}

.confirmation__referral-copy {
  padding: 10px 20px;
  background: #2d2d2d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.confirmation__referral-copy:hover {
  background: #444;
}

.confirmation__referral-note {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .confirmation__heading {
    font-size: 1.8rem;
  }
  .confirmation__referral {
    padding: 20px 16px;
  }
  .confirmation__referral-box {
    flex-direction: column;
  }
}
