/* ========================================
   ION — Premium Design System
   Chief UI/UX — Apple-tier experience
   ======================================== */

:root {
  --background: #edf0f3;
  --foreground: #0d1b2a;
  --muted: #6b7a8d;
  --accent: #2a6b8a;
  --card-bg: #ffffff;
  --border: #e8ecf0;
  --border-light: #d0d8e4;
  --muted-light: #8a9ab0;
  --muted-lighter: #b0bcc8;
  --number-color: #d0d8e4;

  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;

  --max-width: 1200px;
  --card-radius: 16px;
  --card-shadow: 0 1px 3px rgba(13, 27, 42, 0.04), 0 4px 16px rgba(13, 27, 42, 0.06);
  --card-shadow-hover: 0 8px 40px rgba(13, 27, 42, 0.1);
  --card-shadow-lg: 0 2px 8px rgba(13, 27, 42, 0.04), 0 8px 32px rgba(13, 27, 42, 0.08);
  --btn-radius: 10px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(13, 27, 42, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(13, 27, 42, 0.3); }

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #1a4a63);
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ========================================
   LOADING SCREEN
   ======================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  opacity: 0;
  transform: scale(0.8);
}

.loader-text {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--muted);
  opacity: 0;
}

.loader-line {
  width: 60px;
  height: 1px;
  background: var(--border-light);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.loader-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: loader-sweep 1.2s var(--ease-in-out) infinite;
}

@keyframes loader-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--foreground);
  line-height: 1.15;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-block;
}

/* Split text animation containers */
.split-heading {
  overflow: hidden;
  padding-bottom: 0.1em;
}

.split-heading .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
  padding-bottom: 0.05em;
}

.split-heading .word.revealed {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--foreground);
  color: #ffffff;
  border: none;
  border-radius: var(--btn-radius);
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  will-change: transform;
}

.btn-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.25);
}

.btn-dark:hover::before { opacity: 1; }

.btn-dark:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--foreground);
  border: 1.5px solid rgba(13, 27, 42, 0.2);
  border-radius: var(--btn-radius);
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  will-change: transform;
}

.btn-outline:hover {
  border-color: var(--foreground);
  background: var(--foreground);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.15);
}

.btn-outline:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(13, 27, 42, 0.2);
  border-radius: 28px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-pill:hover {
  border-color: var(--foreground);
  background: var(--foreground);
  color: #fff;
  transform: translateY(-1px);
}

/* Magnetic button wrapper */
.magnetic {
  display: inline-block;
  will-change: transform;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(232, 236, 240, 0.6);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  will-change: transform;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/* 3D tilt — JS applies via CSS custom properties */
.card-tilt {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
[data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
}

[data-reveal="fade-up"] {
  transform: translateY(40px);
}

[data-reveal="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="fade"].is-visible {
  opacity: 1;
  transition: opacity 1s var(--ease-out-expo);
}

[data-reveal="scale-up"] {
  transform: scale(0.92);
}

[data-reveal="scale-up"].is-visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="slide-right"] {
  transform: translateX(-40px);
}

[data-reveal="slide-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

[data-reveal="slide-left"] {
  transform: translateX(40px);
}

[data-reveal="slide-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 80ms !important; }
[data-delay="2"] { transition-delay: 160ms !important; }
[data-delay="3"] { transition-delay: 240ms !important; }
[data-delay="4"] { transition-delay: 320ms !important; }
[data-delay="5"] { transition-delay: 400ms !important; }
[data-delay="6"] { transition-delay: 480ms !important; }
[data-delay="7"] { transition-delay: 560ms !important; }
[data-delay="8"] { transition-delay: 640ms !important; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  background: transparent;
  transition: background 0.5s var(--ease-out-expo),
              box-shadow 0.5s var(--ease-out-expo),
              height 0.5s var(--ease-out-expo),
              backdrop-filter 0.5s;
}

.navbar.scrolled {
  height: 64px;
  background: rgba(237, 240, 243, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(13, 27, 42, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease-out-expo);
}

.navbar-logo:hover { transform: scale(1.03); }

.navbar-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: height 0.5s var(--ease-out-expo);
}

.navbar.scrolled .navbar-logo img {
  height: 32px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-out-expo);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.4s var(--ease-out-expo), left 0.4s var(--ease-out-expo);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--foreground);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
  left: 0;
}

.navbar-cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  background: var(--foreground);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  letter-spacing: 0.02em;
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--foreground);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(237, 240, 243, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--foreground);
  padding: 12px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), color 0.3s;
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.3s; }

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

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-constellation {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s var(--ease-out-expo);
}

.hero-constellation.active { opacity: 0.12; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 60px 40px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(30px);
}

.hero-logo img {
  width: 140px;
  height: auto;
  margin: 0 auto 28px;
  object-fit: contain;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.65;
  font-weight: 300;
}

.hero-body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 44px;
}

.hero-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--muted-lighter);
  stroke-width: 1.5;
  animation: gentle-bounce 3s var(--ease-in-out) infinite;
}

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

/* Hero parallax — applied via JS */
.hero-content {
  will-change: transform;
}

/* ========================================
   INTERSTITIALS
   ======================================== */
.interstitial {
  padding: 160px 0;
  text-align: center;
  position: relative;
}

.interstitial-content {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 40px;
}

.interstitial-illustration {
  margin-bottom: 40px;
}

.interstitial-img {
  width: 180px;
  height: auto;
  margin: 0 auto;
  opacity: 0.85;
  filter: grayscale(10%);
  transition: opacity 0.6s var(--ease-out-expo);
}

/* SVG path draw animation */
.interstitial-illustration svg path,
.interstitial-illustration svg line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.interstitial-illustration.drawn svg path,
.interstitial-illustration.drawn svg line {
  stroke-dashoffset: 0;
}

.interstitial-illustration svg circle {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.interstitial-illustration.drawn svg circle {
  opacity: 1;
  transform: scale(1);
}

.interstitial-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.55;
}

.interstitial-text .highlight {
  font-style: italic;
  font-weight: 600;
  color: var(--foreground);
  display: inline;
}

.interstitial-text .soft {
  color: var(--muted-light);
  font-weight: 400;
}

.interstitial-arrow {
  margin-top: 48px;
  opacity: 0.5;
}

.interstitial-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted-lighter);
  stroke-width: 1.5;
  animation: gentle-bounce 3s var(--ease-in-out) infinite;
}

/* ========================================
   SECTION 3 — Challenge
   ======================================== */
.challenge {
  padding: 120px 48px;
}

.challenge-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.challenge-left .eyebrow { margin-bottom: 16px; }

.challenge-left h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Regulation curve */
.regulation-curve {
  margin-top: 36px;
  position: relative;
}

.regulation-canvas {
  width: 100%;
  height: 120px;
  display: block;
}

.regulation-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.regulation-label-left,
.regulation-label-right {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.regulation-label-left {
  color: var(--accent);
}

.regulation-label-right {
  color: #c0564a;
}

/* Arousal–Performance Curve (Yerkes-Dodson) */
.arousal-curve {
  margin-top: 40px;
  position: relative;
  /* Left padding creates space for the rotated Y-axis label */
  padding-left: 28px;
  /* Bottom padding holds the zone label row below the canvas */
  padding-bottom: 56px;
}

.arousal-canvas {
  width: 100%;
  height: 220px;
  display: block;
}

.arousal-axis-y {
  position: absolute;
  left: 0;
  /* Centre on canvas height only (not the full wrapper including padding-bottom) */
  top: calc((220px) / 2);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.arousal-axis-x {
  position: absolute;
  /* Sits in the bottom padding area, below the zone labels */
  bottom: 0;
  left: calc(50% + 14px);
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

/*
 * Zone labels live in a flex row below the canvas, inside the padding-bottom
 * area. Using flexbox avoids absolute-position collisions between the three
 * zones at any viewport width.
 */
.arousal-zones {
  position: absolute;
  bottom: 18px; /* sits above the X-axis label */
  left: 28px;   /* aligns with canvas left edge (matches padding-left) */
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.arousal-zone {
  text-align: center;
  flex: 1 1 0;
  min-width: 0; /* allow text to wrap rather than overflow */
  padding: 0 4px;
}

.arousal-zone-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arousal-zone-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}

.arousal-zone-low .arousal-zone-label { color: #5a7a9a; }
.arousal-zone-peak .arousal-zone-label { color: var(--accent); }
.arousal-zone-high .arousal-zone-label { color: #c0564a; }

.challenge-right p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

.challenge-right .condition-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--foreground);
  font-weight: 500;
  margin-top: 36px;
}

/* Accordion */
.accordion {
  margin-top: 20px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.accordion-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: color 0.3s var(--ease-out-expo);
}

.accordion-trigger:hover .accordion-title {
  color: var(--foreground);
}

.accordion-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out-expo);
}

.accordion-item.open .accordion-dot {
  transform: scale(1.4);
}

.accordion-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease-out-expo);
}

.accordion-item.open .accordion-title {
  color: var(--foreground);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--muted-light);
  border-radius: 1px;
  transition: all 0.4s var(--ease-out-expo);
}

.accordion-icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-item.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-item.open .accordion-icon::before {
  background: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
  padding: 0 0 0 19px;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 0 0 20px 19px;
}

.accordion-content p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out-expo) 0.1s, transform 0.4s var(--ease-out-expo) 0.1s;
}

.accordion-item.open .accordion-content p {
  opacity: 1;
  transform: translateY(0);
}

/* Accordion show more */
.accordion-hidden {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out-expo);
}

.accordion-hidden.expanded {
  max-height: 2000px;
}

.accordion-hidden .accordion-item {
  opacity: 0;
  transform: translateX(-16px);
}

.accordion-hidden.expanded .accordion-item {
  opacity: 1;
  transform: translateX(0);
}

.accordion-show-more {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: gap 0.3s var(--ease-out-expo), opacity 0.3s;
}

.accordion-show-more:hover {
  gap: 12px;
}

.accordion-show-more-icon {
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.4s var(--ease-out-expo);
}

.accordion-show-more-icon::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-70%, -50%) rotate(45deg);
}

.accordion-show-more-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%) rotate(-45deg);
}

.accordion-show-more.expanded .accordion-show-more-icon {
  transform: rotate(180deg);
}

.challenge-right .btn-dark { margin-top: 36px; }

/* ========================================
   SECTION 5 — Approach + Quote
   ======================================== */
.approach {
  padding: 120px 48px;
  text-align: center;
}

.approach-inner {
  max-width: 800px;
  margin: 0 auto;
}

.approach h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-top: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.quote-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 64px 72px;
  box-shadow: var(--card-shadow-lg);
  border: 1px solid rgba(232, 236, 240, 0.6);
  margin-top: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient accent */
.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #1a4a63);
  border-radius: 0 0 2px 2px;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--foreground);
  line-height: 1.75;
  font-weight: 400;
}

.quote-card .attribution {
  margin-top: 36px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

/* ========================================
   SECTION 6 — Technology Cards
   ======================================== */
.tech-cards { padding: 120px 48px; }

.tech-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tech-card {
  padding: 44px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient on hover */
.tech-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.tech-card:hover::after { opacity: 0.5; }

.tech-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42, 107, 138, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.tech-card:hover .icon {
  background: rgba(42, 107, 138, 0.12);
  transform: scale(1.05);
}

.tech-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-top: 20px;
  letter-spacing: -0.01em;
}

.tech-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 12px;
  font-weight: 300;
}

.tech-card .tech-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: gap 0.3s var(--ease-out-expo);
}

.tech-card:hover .tech-link { gap: 10px; }

/* ========================================
   SECTION 8 — Philosophy
   ======================================== */
.philosophy {
  padding: 120px 48px;
  text-align: center;
}

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

.philosophy h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  margin-top: 16px;
  letter-spacing: -0.02em;
}

.philosophy-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 24px auto 0;
  font-weight: 300;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
  text-align: left;
}

.philosophy-card {
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.philosophy-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.philosophy-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42, 107, 138, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-card .icon-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.philosophy-card .card-number {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--number-color);
  line-height: 1;
  user-select: none;
  opacity: 0.5;
  transition: opacity 0.4s;
}

.philosophy-card:hover .card-number { opacity: 0.8; }

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 28px;
  letter-spacing: -0.01em;
}

.philosophy-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 12px;
  font-weight: 300;
}

/* ========================================
   SECTION 9 — Team
   ======================================== */
.team {
  padding: 120px 48px;
}

.team-heading {
  text-align: center;
  margin-bottom: 72px;
}

.team-heading .eyebrow { margin-bottom: 12px; }

.team-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
}

/* Showcase: bio panel + carousel side by side */
.team-showcase {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Bio panel */
.team-bio-panel {
  position: sticky;
  top: 120px;
  min-height: 200px;
}

.team-bio-inner {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.team-bio-panel.visible .team-bio-inner {
  opacity: 1;
  transform: translateY(0);
}

.team-bio-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.team-bio-role {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 10px;
  font-weight: 500;
  display: block;
}

.team-bio-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 24px;
  font-weight: 300;
}

/* Carousel wrap */
.team-carousel-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.team-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
}

.team-nav button:hover {
  border-color: var(--foreground);
  background: var(--foreground);
}

.team-nav button:hover svg { stroke: #fff; }

.team-nav button svg {
  width: 14px;
  height: 14px;
  stroke: var(--foreground);
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}

/* Carousel */
.team-carousel {
  display: flex;
  gap: 16px;
  overflow: hidden;
  padding-bottom: 4px;
}

.team-card { display: none; }
.team-card.visible-card { display: block; }

/* Team cards */
.team-card {
  min-width: 200px;
  max-width: 200px;
  flex-shrink: 0;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo),
              box-shadow 0.5s var(--ease-out-expo),
              border-color 0.4s var(--ease-out-expo);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.team-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--card-shadow-hover);
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #e8ecf0 0%, #dce2e8 100%);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-out-expo);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-info {
  padding: 16px 20px 20px;
}

.team-card-info h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.team-card-info .role {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
  font-weight: 500;
  display: block;
}

/* ========================================
   SECTION 10 — Journals
   ======================================== */
.journals { padding: 120px 48px; }

.journals-header {
  max-width: 480px;
  margin-bottom: 64px;
}

.journals-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  margin-top: 12px;
  letter-spacing: -0.03em;
}

.journals-header p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 16px;
  font-weight: 300;
}

.journals-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.journal-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.journal-card .category {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.journal-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  margin-top: 14px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.journal-card:hover h3 { color: var(--accent); }

.journal-card .summary {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
  flex-grow: 1;
  font-weight: 300;
}

.journal-card .read-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: gap 0.3s var(--ease-out-expo);
}

.journal-card:hover .read-link { gap: 10px; }

.journals-footer {
  text-align: center;
  margin-top: 48px;
}

/* ========================================
   SECTION 11 — Webinars
   ======================================== */
.webinars { padding: 100px 48px; }

.webinars h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.webinars-grid {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.video-card .thumbnail {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2d42 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.6s var(--ease-out-expo);
}

.video-card:hover .thumbnail {
  transform: scale(0.98);
}

.video-card .thumbnail .placeholder-text {
  font-family: var(--font-display);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.3em;
}

.play-button {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-card:hover .play-button {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.video-card .video-title {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--foreground);
  margin-top: 16px;
  font-weight: 500;
}

/* Video Player (inline) */
.video-player-wrap {
  max-width: 1100px;
  margin-top: 48px;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow-hover);
  animation: playerFadeIn 0.4s var(--ease-out-expo);
}

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

.video-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
}

.video-player-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.video-player-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.3s;
}

.video-player-close:hover {
  color: var(--foreground);
}

.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player-container video,
.video-player-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ========================================
   SECTION 12 — Education
   ======================================== */
.education { padding: 100px 48px; }

.education-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.education-left .eyebrow { margin-bottom: 16px; }

.education-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
}

.education-left p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 20px;
  font-weight: 300;
}

.education-left .btn-dark { margin-top: 32px; }

.ebook-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--card-shadow-lg);
  border: 1px solid rgba(232, 236, 240, 0.6);
  min-width: 280px;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

.ebook-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.ebook-card .ebook-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  margin: 0 auto;
}

.ebook-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-top: 24px;
}

.ebook-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 300;
}

/* ========================================
   SECTION 13 — Newsletter
   ======================================== */
.newsletter {
  padding: 140px 48px;
  text-align: center;
}

.newsletter-inner {
  max-width: 680px;
  margin: 0 auto;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  margin-top: 16px;
  letter-spacing: -0.02em;
}

.newsletter p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 24px;
  font-weight: 300;
}

.newsletter p + p { margin-top: 12px; }

.newsletter-form {
  display: flex;
  justify-content: center;
  margin-top: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.4s var(--ease-out-expo), border-color 0.4s;
}

.newsletter-form:focus-within {
  box-shadow: 0 0 0 3px rgba(42, 107, 138, 0.1);
  border-color: var(--accent);
}

.newsletter-form input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 18px 24px;
  border: none;
  background: #fff;
  min-width: 300px;
  outline: none;
  font-weight: 300;
}

.newsletter-form input::placeholder { color: var(--muted-lighter); }

.newsletter-form button {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 18px 28px;
  background: var(--foreground);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.newsletter-form button:hover { background: #1a2d42; }

/* ========================================
   SECTION 14 — Contact
   ======================================== */
.contact { padding: 120px 48px; }

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: flex-start;
}

.contact-left .eyebrow { margin-bottom: 16px; }

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: -0.02em;
}

.contact-left > p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 400px;
  font-weight: 300;
}

.contact-details { margin-top: 40px; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease-out-expo);
}

.contact-row:hover { transform: translateX(4px); }

.contact-row svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row .label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.contact-row .value {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 300;
}

.contact-row .value a {
  color: var(--accent);
  transition: opacity 0.3s;
}

.contact-row .value a:hover { opacity: 0.7; }

.consultation-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--card-shadow-lg);
  border: 1px solid rgba(232, 236, 240, 0.6);
  position: relative;
  overflow: hidden;
}

.consultation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #1a4a63);
}

.consultation-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
}

.consultation-card > p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 20px;
  font-weight: 300;
}

.operating-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.operating-row .op-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.operating-row .op-value {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--foreground);
  font-weight: 500;
}

.consultation-card .btn-dark {
  margin-top: 32px;
  width: 100%;
  text-align: center;
  padding: 18px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--foreground);
  padding: 96px 48px 48px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient glow */
.footer::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(42, 107, 138, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.footer-col .footer-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
  display: inline-block;
  font-weight: 300;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: translateX(3px);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 72px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.footer-bottom span {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

/* ========================================
   SECTION DIVIDERS
   ======================================== */
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--border-light);
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.8s, width 0.8s var(--ease-out-expo);
}

.section-divider.is-visible {
  opacity: 1;
  width: 60px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* ========================================
   ARTICLES PAGE
   ======================================== */
.articles-page {
  padding: 60px 0 120px;
}

.articles-page-header {
  max-width: 560px;
  margin-bottom: 64px;
}

.articles-page-header .back-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  transition: gap 0.3s var(--ease-out-expo);
}

.articles-page-header .back-link:hover {
  gap: 10px;
}

.articles-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  margin-top: 12px;
  letter-spacing: -0.03em;
}

.articles-page-header p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 16px;
  font-weight: 300;
}

.articles-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-page-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.article-page-card:hover h3 {
  color: var(--accent);
}

.article-page-card:hover .read-link {
  gap: 10px;
}

@media (max-width: 768px) {
  .articles-page-grid {
    grid-template-columns: 1fr;
  }

  .articles-page { padding: 40px 0 80px; }
}

/* ========================================
   CONSTELLATION ANIMATION
   ======================================== */
@keyframes drift-dot {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(3px, -2px); }
  50% { transform: translate(-2px, 3px); }
  75% { transform: translate(2px, 1px); }
}

.constellation-dot {
  animation: drift-dot 20s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* ========================================
   TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .challenge { padding: 100px 32px; }
  .approach { padding: 100px 32px; }
  .tech-cards { padding: 100px 32px; }
  .philosophy { padding: 100px 32px; }
  .journals { padding: 100px 32px; }
  .webinars { padding: 80px 32px; }
  .education { padding: 80px 32px; }
  .newsletter { padding: 120px 32px; }
  .contact { padding: 100px 32px; }
  .footer { padding: 80px 32px 40px; }
  .team { padding: 100px 32px; }

  /* Team showcase — stack at tablet */
  .team-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-bio-panel {
    position: static;
    order: 2;
  }

  .team-carousel-wrap { order: 1; }

  /* Challenge grid tighter gap */
  .challenge-grid { gap: 60px; }

  /* Regulation curve */
  .regulation-canvas { height: 100px; }
  .arousal-canvas { height: 180px; }
  .arousal-axis-y { top: calc(180px / 2); }

  /* Contact grid */
  .contact-grid { gap: 60px; }

  /* Education grid */
  .education-grid { gap: 60px; }
}

/* ========================================
   MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {
  /* Nav */
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .navbar { height: 68px; }
  .navbar.scrolled { height: 60px; }
  .hero { padding-top: 68px; }

  /* Navbar logo */
  .navbar-logo img { height: 34px; }
  .navbar.scrolled .navbar-logo img { height: 28px; }

  /* Hero */
  .hero h1 { font-size: 32px; }
  .hero-content { padding: 40px 20px; }
  .hero-logo img { width: 100px; margin-bottom: 20px; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero-subtitle { font-size: 16px; }
  .hero-body { font-size: 14px; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
  }
  .hero-buttons .btn-dark,
  .hero-buttons .btn-outline,
  .hero-buttons .magnetic {
    width: 100%;
    max-width: 280px;
  }
  .hero-buttons .btn-dark,
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Interstitials */
  .interstitial { padding: 100px 0; }
  .interstitial-content { padding: 0 24px; }
  .interstitial-text { font-size: 21px; }
  .interstitial-img { width: 140px; }

  /* Reduce horizontal padding on all sections */
  .challenge { padding: 80px 20px; }
  .approach { padding: 80px 20px; }
  .philosophy { padding: 80px 20px; }
  .tech-cards { padding: 80px 20px; }
  .journals { padding: 80px 20px; }
  .webinars { padding: 80px 20px; }
  .education { padding: 80px 20px; }
  .contact { padding: 80px 20px; }
  .team { padding: 80px 20px; }
  .newsletter { padding: 80px 20px; }
  .footer { padding: 60px 20px 40px; }

  /* Challenge section */
  .challenge-grid { grid-template-columns: 1fr; gap: 40px; }
  .challenge-left h2 { font-size: 28px; }

  /* Arousal curve — prevent overflow */
  .arousal-curve { overflow: hidden; }
  .arousal-zone-label { white-space: normal; }

  /* Regulation curve */
  .regulation-canvas { height: 80px; }
  .arousal-canvas { height: 160px; }
  .arousal-axis-y { top: calc(160px / 2); }
  .arousal-zone-label { font-size: 9px; }
  .arousal-zone-desc { font-size: 8px; }
  .regulation-label-left,
  .regulation-label-right { font-size: 9px; }

  /* Accordion */
  .accordion-trigger { padding: 14px 0; }
  .accordion-title { font-size: 13px; }
  .accordion-content p { font-size: 13px; line-height: 1.75; }
  .accordion-item.open .accordion-content { max-height: 600px; }
  .accordion-show-more { font-size: 12px; }

  /* Approach + Quote */
  .approach h2 { font-size: 28px; }
  .quote-card { padding: 32px 24px; border-radius: 16px; }
  .quote-card blockquote { font-size: 16px; }
  .quote-card .attribution { font-size: 12px; }

  /* Tech cards */
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card h3 { font-size: 22px; }

  /* Philosophy */
  .philosophy h2 { font-size: 28px; }
  .philosophy-sub { font-size: 15px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-card .card-number { font-size: 56px; }

  /* Team */
  .team-showcase { grid-template-columns: 1fr; gap: 32px; }
  .team-bio-panel { position: static; order: 2; }
  .team-carousel-wrap { order: 1; }
  .team-card { min-width: 170px; max-width: 170px; }
  .team-card-info { padding: 14px 16px 16px; }
  .team-card-info h4 { font-size: 16px; }
  .team-card-info .role { font-size: 9px; }
  .team-bio-name { font-size: 26px; }
  .team-bio-text { font-size: 14px; line-height: 1.75; }
  .team-nav button { width: 36px; height: 36px; }

  /* Journals */
  .journals-header h2 { font-size: 36px; }
  .journals-grid { grid-template-columns: 1fr; }
  .journal-card { padding: 28px; }
  .journal-card h3 { font-size: 19px; }

  /* Webinars */
  .webinars-grid { grid-template-columns: 1fr; }
  .webinars h2 { font-size: 28px; }

  /* Education */
  .education-grid { grid-template-columns: 1fr; gap: 40px; }
  .education-left h2 { font-size: 28px; }
  .ebook-card { padding: 40px 32px; }

  /* Newsletter */
  .newsletter h2 { font-size: 30px; }
  .newsletter p { font-size: 14px; }
  .newsletter-form {
    flex-direction: column;
    border-radius: 12px;
    box-shadow: none;
    border: none;
    gap: 10px;
    background: transparent;
  }
  .newsletter-form:focus-within {
    box-shadow: none;
    border-color: transparent;
  }
  .newsletter-form input {
    min-width: 100%;
    border-radius: 10px;
    border: 1.5px solid var(--border-light);
  }
  .newsletter-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(42, 107, 138, 0.1);
  }
  .newsletter-form button {
    border-radius: 10px;
    width: 100%;
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-left h2 { font-size: 30px; }
  .consultation-card { padding: 32px; }
  .consultation-card h3 { font-size: 15px; }
  .operating-row { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Footer */
  .footer { padding: 64px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 48px; }

  /* Global padding */
  .container { padding: 0 24px; }
  .challenge, .approach, .tech-cards, .philosophy,
  .journals, .webinars, .education, .newsletter, .contact {
    padding-left: 24px;
    padding-right: 24px;
  }
  .team { padding-left: 24px; padding-right: 24px; }

  /* Mobile nav */
  .mobile-nav a { font-size: 28px; }

  /* Section dividers */
  .section-divider { width: 30px; }
  .section-divider.is-visible { width: 40px; }

  /* Buttons */
  .btn-dark, .btn-outline { padding: 14px 24px; font-size: 13px; }
  .btn-pill { padding: 12px 24px; font-size: 13px; }
}

/* ========================================
   SMALL MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
  /* Tighten padding further on small phones */
  .challenge,
  .approach,
  .philosophy,
  .tech-cards,
  .journals,
  .webinars,
  .education,
  .contact,
  .team,
  .newsletter { padding-left: 16px; padding-right: 16px; }
  .footer { padding-left: 16px; padding-right: 16px; }

  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .hero-logo img { width: 80px; }
  .hero-subtitle { font-size: 15px; }
  .mobile-nav a { font-size: 24px; }

  /* Team cards smaller */
  .team-card { min-width: 150px; max-width: 150px; }
  .team-card-info { padding: 12px 14px 14px; }
  .team-card-info h4 { font-size: 15px; }
  .team-bio-name { font-size: 22px; }
  .team-bio-role { font-size: 10px; }
  .team-bio-text { font-size: 13px; }

  /* Regulation curve compact */
  .regulation-canvas { height: 64px; }
  .arousal-canvas { height: 140px; }
  .arousal-axis-y { top: calc(140px / 2); }
  /* Reduce zone label size and hide descriptions to prevent crowding */
  .arousal-zone-label { font-size: 8px; letter-spacing: 0.04em; }
  .arousal-zone-desc { display: none; }
  /* Tighten zone row at very narrow widths */
  .arousal-zones { bottom: 16px; }
  .arousal-curve { padding-bottom: 48px; }

  /* Interstitial */
  .interstitial-text { font-size: 19px; }
  .interstitial-img { width: 120px; }
  .interstitial { padding: 80px 0; }

  /* Accordion */
  .accordion-trigger { gap: 10px; }
  .accordion-title { font-size: 13px; }
  .accordion-icon { width: 16px; height: 16px; }

  /* Quote */
  .quote-card { padding: 28px 20px; }
  .quote-card blockquote { font-size: 15px; }

  /* Philosophy */
  .philosophy-card { padding: 32px; }
  .philosophy-card .card-number { font-size: 48px; }
  .philosophy-card h3 { font-size: 20px; }

  /* Tech cards */
  .tech-card { padding: 32px; }
  .tech-card h3 { font-size: 20px; }

  /* Contact */
  .consultation-card { padding: 24px; }
  .contact-left h2 { font-size: 26px; }

  /* Newsletter */
  .newsletter { padding: 80px 24px; }
  .newsletter h2 { font-size: 26px; }

  /* Journals */
  .journals-header h2 { font-size: 30px; }

  /* Ebook */
  .ebook-card { padding: 32px 24px; }
}
