
/* ═══════════════════════════════════════════════════════════════
   AYU PARTNERS — bioluminescent partners page
   matches Common Planet homepage v25
═══════════════════════════════════════════════════════════════ */

:root {
  /* VOID — the deep */
  --void:      #020509;
  --abyss:     #04101E;
  --ocean:     #071629;
  --deep:      #0A1F38;

  /* BIOLUMINESCENT SPECTRUM */
  --teal:      #00D4AA;
  --teal-dim:  #00A882;
  --azure:     #00B4FF;
  --azure-dim: #0088CC;
  --jade:      #00FF88;
  --jade-dim:  #00CC6A;
  --violet:    #9B59FE;
  --violet-dim:#7B39DE;
  --magenta:   #E040FB;
  --magenta-dim:#B020CC;
  --amber:     #FFB300;
  --amber-dim: #E09500;
  --crimson:   #FF3366;
  --gold:      #FFD700;
  --rose:      #FF69B4;
  --lime:      #AAFF00;

  /* LIGHT CREAM */
  --cream:     rgba(240, 250, 255, 0.97);
  --cream-mid: rgba(235, 250, 255, 0.98);
  --cream-dim: rgba(225, 245, 255, 0.82);
  --cream-ghost: rgba(200, 230, 255, 0.12);

  /* TYPOGRAPHY */

  /* SPACING & RHYTHM */
  --track-eyebrow: 0.22em;
  --track-body:    0.04em;
  --lh-snug:  1.55;
  --lh-body:  1.75;
  --text-strong: rgba(240, 250, 255, 0.97);
  --text-bright: rgba(235, 250, 255, 0.98);
  --text-body: rgba(235, 250, 255, 0.96);
  --text-meta: rgba(230, 248, 255, 0.90);
  --text-soft: rgba(225, 245, 255, 0.80);
  --text-faint: rgba(210, 238, 255, 0.55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 17px; overflow-x: hidden; }

body {
  background: var(--void);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* ═══ GRAIN OVERLAY ═══ */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

::selection { background: var(--jade); color: var(--void); }

/* ═══ FOCUS STYLES (accessibility fix from review) ═══ */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline-color: var(--jade);
}

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  background: var(--jade); color: var(--void);
  padding: 0.5rem 1rem; border-radius: 4px;
  font-weight: 700; z-index: 10000;
}
.skip-link:focus { left: 1rem; }

/* ═══ ANIMATED GRADIENT TEXT UTILITY ═══ */
.grad-text {
  background: linear-gradient(90deg, var(--teal), var(--azure), var(--jade), var(--violet), var(--teal));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 6s linear infinite;
}
.grad-text-jade {
  background: linear-gradient(90deg, var(--jade), var(--teal), var(--azure), var(--jade));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ═══ HERO ═══ */
.hero {
  min-height: min(100svh, 92vh);
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 35% 60%, rgba(0,255,136,0.07) 0%, transparent 55%),
              radial-gradient(ellipse at 75% 35%, rgba(0,180,255,0.06) 0%, transparent 55%),
              var(--void);
}
#hero-canvas {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: 0.5;
}
.hero-spotlight {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle 600px at var(--mx,50%) var(--my,50%),
    rgba(0,255,136,0.10) 0%,
    rgba(0,212,170,0.05) 40%,
    transparent 75%);
  transition: background 0.08s;
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 820px; text-align: center;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
  animation: riseIn 0.9s 0.05s ease both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 28px; height: 1px;
  background: rgba(0,255,136,0.4);
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  font-weight: 300; font-style: italic;
  line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  animation: riseIn 1s 0.1s ease both;
}
.hero-headline em {
  font-style: normal; font-weight: 400;
  background: linear-gradient(90deg, var(--jade), var(--teal), var(--azure));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 5s linear infinite;
}
.hero-body {
  font-size: 1.05rem; font-weight: 300; letter-spacing: 0.04em;
  color: var(--cream-mid);
  line-height: 1.85; max-width: 580px;
  margin: 0 auto 2.4rem;
  animation: riseIn 1s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  animation: riseIn 1s 0.3s ease both;
}
.btn-primary {
  background: linear-gradient(135deg, var(--jade-dim), var(--teal-dim));
  color: var(--void);
  border: none; padding: 0.95rem 2.2rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.25s;
  box-shadow: 0 0 30px rgba(0,255,136,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0,255,136,0.5);
}
.btn-outline {
  background: transparent; color: var(--cream-mid);
  border: 1px solid rgba(0,212,170,0.28);
  padding: 0.95rem 2.2rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: rgba(0,212,170,0.7);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,212,170,0.15);
}

/* hero stat strip */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto);
  justify-content: center;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(0,255,136,0.14);
  padding-top: 2rem;
  max-width: 740px; margin-left: auto; margin-right: auto;
  animation: riseIn 1s 0.45s ease both;
}
.h-stat {
  padding: 0.4rem 2.2rem;
  border-right: 1px solid rgba(0,255,136,0.1);
  text-align: center;
}
.h-stat:last-child { border-right: none; }
.h-stat-n {
  font-family: var(--serif);
  font-size: 1.95rem; font-weight: 300;
  background: linear-gradient(135deg, var(--jade), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.h-stat-l {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim);
}

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

/* ═══ WAVE DIVIDERS ═══ */
.wave-divider {
  position: relative; width: 100%; overflow: visible;
  pointer-events: none; z-index: 10;
  height: 16px; margin-top: -1px; margin-bottom: -1px;
  background: transparent;
}
.wave-divider svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 5px rgba(0,212,170,0.6)) drop-shadow(0 0 12px rgba(0,255,136,0.4)); }
.wave-path  { animation: waveFlow  8s ease-in-out infinite alternate; }
.wave-path-2 { animation: waveFlow2 10s ease-in-out infinite alternate; }
.wave-path-3 { animation: waveFlow3 12s ease-in-out infinite alternate; }
@keyframes waveFlow {
  0%   { d: path("M0,8 C120,0 240,16 360,8 C480,0 600,16 720,8 C840,0 960,16 1080,8 C1200,0 1320,16 1440,8"); }
  100% { d: path("M0,8 C120,16 240,0 360,8 C480,16 600,0 720,8 C840,16 960,0 1080,8 C1200,16 1320,0 1440,8"); }
}
@keyframes waveFlow2 {
  0%   { d: path("M0,10 C160,2 320,18 480,10 C640,2 800,18 960,10 C1100,2 1280,18 1440,10"); }
  100% { d: path("M0,6 C160,14 320,0 480,8 C640,16 800,2 960,9 C1100,17 1280,3 1440,7"); }
}
@keyframes waveFlow3 {
  0%   { d: path("M0,12 C200,4 400,16 600,6 C800,0 1000,14 1200,8 C1320,4 1400,14 1440,10"); }
  100% { d: path("M0,5 C200,15 400,3 600,13 C800,18 1000,4 1200,11 C1320,15 1400,5 1440,9"); }
}
@keyframes waveColorShift {
  0%   { stop-color: #00D4AA; }
  20%  { stop-color: #00FF88; }
  40%  { stop-color: #00B4FF; }
  60%  { stop-color: #9B59FE; }
  80%  { stop-color: #00D4AA; }
  100% { stop-color: #00D4AA; }
}
.wave-color-mid  { animation: waveColorShift 5s linear infinite; }
.wave-color-mid2 { animation: waveColorShift 7s 1.5s linear infinite; }

/* ═══ SHARED LAYOUT ═══ */
section { padding: 4rem 2rem; position: relative; overflow-x: clip; }
.container { max-width: 980px; margin: 0 auto; position: relative; }
.container-wide { max-width: 1180px; margin: 0 auto; position: relative; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
.eyebrow.teal   { color: var(--teal); }
.eyebrow.jade   { color: var(--jade); }
.eyebrow.azure  { color: var(--azure); }
.eyebrow.violet { color: var(--violet); }
.eyebrow.amber  { color: var(--amber); }
.eyebrow.gold   { color: var(--gold); }

.section-h {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 300; font-style: italic;
  line-height: 1.1; margin-bottom: 1.25rem;
  letter-spacing: -0.01em; color: var(--cream);
}
.section-h em { font-style: normal; font-weight: 400; }
.section-p {
  font-size: 1rem; letter-spacing: 0.04em;
  color: var(--cream-mid); line-height: 1.85; font-weight: 300;
}

/* Standard section subtext widths.
   Width belongs on the intro paragraph, not scattered parent/override rules. */
.section-subtext-narrow {
  max-width: 590px;
  width: min(590px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.section-subtext-wide {
  max-width: 690px;
  width: min(690px, 100%);
  margin-left: auto;
  margin-right: auto;
}


/* ═══ WHAT IS A PARTNER ═══ */
.what-section {
  background: radial-gradient(ellipse at 20% 30%, rgba(0,255,136,0.08) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 70%, rgba(0,180,255,0.06) 0%, transparent 55%),
              var(--abyss);
  padding: 4.5rem 2rem;
}
.what-head { max-width: 740px; margin: 0 auto 3rem; text-align: center; }
.what-split {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 3rem; align-items: stretch;
  max-width: 1080px; margin: 0 auto;
}
.what-left .section-p { margin-bottom: 1.5rem; }
.what-left .section-p:last-child { margin-bottom: 0; }
.what-left strong { color: var(--jade); font-weight: 500; }

.what-principle {
  border-radius: 22px;
  padding: 2.75rem 2.5rem;
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(0,255,136,0.10), rgba(0,212,170,0.06), rgba(7,22,41,0.94));
  --from-color: var(--jade); --to-color: var(--teal);
  backdrop-filter: blur(12px);
}
.what-principle::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--from-color), var(--to-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.55;
}
.what-principle::after {
  content: '2%';
  position: absolute; bottom: -2.5rem; right: 1rem;
  font-family: var(--serif);
  font-size: 11rem; font-weight: 300;
  background: linear-gradient(135deg, rgba(0,255,136,0.12), rgba(0,212,170,0.04));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; pointer-events: none;
  letter-spacing: -0.04em;
}
.what-principle .c-eye {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--jade); margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.what-principle h3 {
  font-family: var(--serif);
  font-size: 1.85rem; font-weight: 300; font-style: italic;
  color: var(--cream); margin-bottom: 1rem; line-height: 1.18;
  position: relative; z-index: 1;
}
.what-principle h3 em {
  font-style: normal; font-weight: 500; color: var(--jade);
}
.what-principle p {
  font-size: 0.93rem; color: rgba(225,245,255,0.86); line-height: 1.82;
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.what-principle p:last-child { margin-bottom: 0; }
.what-principle strong { color: var(--jade); font-weight: 500; }

/* ═══ POOLS ═══ */
.pools-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,170,0.08) 0%, transparent 55%),
              var(--ocean);
  padding: 4.5rem 2rem;
  position: relative;
}
.pools-intro {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 3rem; align-items: start;
  max-width: 1080px; margin: 0 auto 3rem;
}
.pool-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 1080px; margin: 0 auto;
}
.pool-card {
  border-radius: 22px;
  padding: 2.75rem 2.4rem;
  position: relative; overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.pool-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.5; transition: opacity 0.3s;
}
.pool-card:hover { transform: translateY(-5px); }
.pool-card:hover::before { opacity: 0.85; }
.pool-card.pool-a {
  background: linear-gradient(145deg, rgba(0,255,136,0.10), rgba(0,212,170,0.06), rgba(7,22,41,0.95));
  --p1: var(--jade); --p2: var(--teal);
}
.pool-card.pool-b {
  background: linear-gradient(145deg, rgba(0,180,255,0.09), rgba(155,89,254,0.06), rgba(7,22,41,0.95));
  --p1: var(--azure); --p2: var(--violet);
}
.pool-a:hover { box-shadow: 0 20px 60px -20px rgba(0,255,136,0.25); }
.pool-b:hover { box-shadow: 0 20px 60px -20px rgba(0,180,255,0.25); }

.pool-letter {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.8vw, 3.35rem); font-weight: 300; line-height: 1.05;
  margin-bottom: 1.05rem;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.85;
  letter-spacing: -0.03em;
}
.pool-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 300; font-style: italic;
  color: var(--cream); margin-bottom: 0.55rem; line-height: 1.18;
}
.pool-size {
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim); margin-bottom: 1.25rem;
}
.pool-card p {
  font-size: 0.92rem; letter-spacing: 0.03em;
  color: rgba(225,245,255,0.84); line-height: 1.78;
  margin-bottom: 1.4rem;
}
.pool-alloc {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0.5rem 1.05rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
  align-self: flex-start;
}
.pool-a .pool-alloc {
  background: rgba(0,255,136,0.08); color: var(--jade);
  border: 1px solid rgba(0,255,136,0.3);
}
.pool-b .pool-alloc {
  background: rgba(0,180,255,0.08); color: var(--azure);
  border: 1px solid rgba(0,180,255,0.3);
}
.pool-alloc::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

.pools-note {
  margin: 2rem auto 0; max-width: 1080px;
  padding: 1.25rem 1.6rem; border-radius: 14px;
  background: rgba(7,22,41,0.7);
  border: 1px solid rgba(0,212,170,0.18);
  font-size: 0.88rem; letter-spacing: 0.03em;
  color: var(--cream-mid); line-height: 1.78;
  position: relative;
  backdrop-filter: blur(8px);
}
.pools-note strong { color: var(--teal); font-weight: 600; }

/* ═══ WHO SHOULD APPLY ═══ */
.who-section {
  background: radial-gradient(ellipse at 80% 30%, rgba(155,89,254,0.10) 0%, transparent 55%),
              radial-gradient(ellipse at 15% 75%, rgba(0,180,255,0.07) 0%, transparent 55%),
              var(--abyss);
  padding: 4.5rem 2rem;
}
.who-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.who-head .section-p { margin-left: auto; margin-right: auto; }
.who-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: 1080px; margin: 0 auto;
}
.who-card {
  border-radius: 18px;
  padding: 2rem 1.75rem;
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(200,230,255,0.09);
  backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.who-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--jade), var(--teal), var(--azure));
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}
.who-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,136,0.28);
  box-shadow: 0 16px 50px -16px rgba(0,255,136,0.22);
}
.who-card:hover::after { width: 100%; }
.who-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.who-card h4 {
  font-family: var(--serif);
  font-size: 1.18rem; font-weight: 300; font-style: italic;
  color: var(--cream); margin-bottom: 0.55rem; line-height: 1.22;
}
.who-card p {
  font-size: 0.88rem; letter-spacing: 0.03em;
  color: rgba(220,245,255,0.82); line-height: 1.74;
}

/* ═══ APPLY ═══ */
.apply-section {
  background:
    radial-gradient(ellipse at 25% 55%, rgba(0,255,136,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(0,180,255,0.07) 0%, transparent 50%),
    linear-gradient(180deg, var(--ocean) 0%, #061A2A 100%);
  padding: 5rem 2rem;
  position: relative; overflow: hidden;
}
.apply-fractal-bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.3; pointer-events: none;
}
.apply-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 2;
}
.apply-left .section-p { margin-bottom: 1.25rem;
}
.apply-card {
  border-radius: 22px;
  padding: 2.5rem 2.25rem;
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(0,255,136,0.10), rgba(0,212,170,0.05), rgba(2,5,9,0.94));
  backdrop-filter: blur(12px);
  --c1: var(--jade); --c2: var(--teal);
}
.apply-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.55;
}
.apply-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 300; font-style: italic;
  color: var(--cream); margin-bottom: 0.65rem; line-height: 1.2;
  position: relative; z-index: 1;
}
.apply-card > p {
  font-size: 0.92rem; color: rgba(225,245,255,0.84);
  line-height: 1.78; margin-bottom: 1.6rem;
  position: relative; z-index: 1;
}
.apply-checklist {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  position: relative; z-index: 1;
}
.apply-checklist li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 0.88rem; letter-spacing: 0.02em;
  color: rgba(225,245,255,0.84);
  padding: 0.6rem 0;
  border-top: 1px solid rgba(200,230,255,0.08);
  line-height: 1.55;
}
.apply-checklist li:first-child { border-top: 1px solid rgba(200,230,255,0.08); }
.apply-checklist li:last-child { border-bottom: 1px solid rgba(200,230,255,0.08); }
.check-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,255,136,0.14);
  border: 1px solid rgba(0,255,136,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.1rem;
  color: var(--jade); font-size: 0.65rem; font-weight: 700;
}
.apply-btn {
  display: block; width: 100%; text-align: center;
  background: linear-gradient(135deg, var(--jade-dim), var(--teal-dim));
  color: var(--void);
  border: none; padding: 1rem 2rem; border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 0 30px rgba(0,255,136,0.3);
  position: relative; z-index: 1;
}
.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0,255,136,0.55);
}
.apply-contact {
  margin-top: 1.25rem; text-align: center;
  font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--cream-dim);
  position: relative; z-index: 1;
}
.apply-contact a {
  color: var(--teal); text-decoration: none;
  transition: color 0.2s;
}
.apply-contact a:hover { color: var(--jade); }

/* ═══ QUOTE ═══ */
.quote-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,215,0,0.07) 0%, transparent 60%),
    var(--abyss);
  text-align: center; padding: 4.5rem 2rem;
  position: relative; overflow: hidden;
}
.quote-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.18;
}

.qm {
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3em;
  line-height: 0;
  margin: 0 0.06em;
  vertical-align: -0.12em;
  opacity: 0.9;
  text-shadow: 0 0 12px rgba(255,215,0,0.35);
}
.qtext {
  font-family: var(--serif); font-style: italic;
  font-weight: 300;
  font-size: clamp(1.08rem, 2.2vw, 1.85rem);
  color: rgba(240,250,255,0.72);
  line-height: 1.6; max-width: 820px;
  margin: 0 auto 1.8rem; letter-spacing: 0.01em;
  position: relative; z-index: 2;
}
.qattr {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(220,245,255,0.72);
  position: relative; z-index: 2;
}
.qattr em { color: var(--amber); font-style: normal; font-weight: 600; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--void);
  padding: 5rem 3rem 2.5rem;
  position: relative;
  border-top: 1px solid rgba(0,212,170,0.1);
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--violet), var(--azure), transparent);
  opacity: 0.35;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr;
  gap: 4rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(200,230,255,0.06);
  margin-bottom: 1.5rem;
}
.f-brand h3 {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 300; font-style: italic;
  color: var(--cream); margin-bottom: 0.7rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.f-brand h3 em { font-style: normal; color: var(--teal); font-weight: 400; }
.f-brand p {
  font-size: 0.87rem; letter-spacing: 0.04em;
  color: var(--text-body); line-height: 1.78;
  max-width: 440px; margin-bottom: 1.25rem;
}
.address {
  font-size: 0.77rem; letter-spacing: 0.06em;
  color: rgba(220,245,255,0.75); line-height: 1.75;
}
.f-col h4 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.f-col a {
  display: block; font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--text-body); text-decoration: none;
  margin-bottom: 0.55rem; transition: color 0.15s;
}
.f-col a:hover { color: var(--teal); }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  padding-top: 0.5rem;
  align-items: start;
}
.f-legal, .f-disc {
  font-size: 0.74rem; letter-spacing: 0.04em;
  color: var(--text-soft); line-height: 1.7;
  max-width: 100%;
}
.f-disc { text-align: left; }
@media (max-width: 700px) {
  .footer-bottom { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  footer { padding: 3rem 1rem 2rem; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #hero-canvas { display: none; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 980px) {
  .what-split { grid-template-columns: 1fr; gap: 2rem; }
  .pools-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .pool-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .apply-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 760px) {
section { padding: 4rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 3rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.5rem; }
  .h-stat { padding: 0.5rem 0; border-right: none; border-bottom: 1px solid rgba(0,255,136,0.1); }
  .h-stat:last-child { border-bottom: none; }
  .who-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .f-brand h3 { flex-wrap: wrap; }
  .what-principle::after { font-size: 7rem; bottom: -1.5rem; }
}
/* ═══ SCROLL REVEAL ═══ */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal,
  .js-ready .reveal.visible { opacity: 1; transform: none; transition: none; }
}

/* ═══ FIXED NAV / REVEAL FLICKER PATCH ═══
   Prevents scroll-reveal text from flashing behind the fixed blurred nav
   and isolates looping decorative animations onto their own paint layers. */
nav {
  transform: translateZ(0);
  will-change: transform;
  isolation: isolate;
  contain: paint;
  backface-visibility: hidden;
}
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: inherit;
  pointer-events: none;
}
.reveal {
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.reveal.visible {
  will-change: auto;
}
.grad-text,
.grad-text-warm,
.grad-text-jade,
.grad-text-azure,
.hero-headline em,
.hl-accent,
.wave-divider,
.wave-divider svg,
.wave-path,
.wave-path-2,
.wave-path-3,
.wave-color-mid,
.wave-color-mid2,
.wave-color-warm,
.wave-color-warm2,
.hero-spotlight,
#hero-canvas,
.game-a::before,
.game-b::before,
.story-panel::before,
.phase-step.active .phase-dot,
.phase-step.active .phase-dot::after {
  transform: translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .grad-text,
  .grad-text-warm,
  .grad-text-jade,
  .grad-text-azure,
  .hero-headline em,
  .hl-accent,
  .wave-path,
  .wave-path-2,
  .wave-path-3,
  .wave-color-mid,
  .wave-color-mid2,
  .wave-color-warm,
  .wave-color-warm2,
  .phase-step.active .phase-dot,
  .phase-step.active .phase-dot::after {
    animation: none !important;
  }
}



.hero { isolation: isolate; }
.hero-content { z-index: 4; }
@keyframes partners-ff-1 { 0%{transform:translate(0,0) scale(1);} 25%{transform:translate(8vw,-12vh) scale(1.1);} 50%{transform:translate(20vw,-28vh) scale(0.9);} 75%{transform:translate(35vw,-18vh) scale(1.05);} 100%{transform:translate(50vw,-38vh) scale(1);} }
@keyframes partners-ff-2 { 0%{transform:translate(0,0) scale(1);} 25%{transform:translate(-10vw,14vh) scale(1.15);} 50%{transform:translate(-22vw,8vh) scale(0.85);} 75%{transform:translate(-32vw,22vh) scale(1.05);} 100%{transform:translate(-44vw,36vh) scale(1);} }
@keyframes partners-ff-3 { 0%{transform:translate(0,0) scale(1);} 25%{transform:translate(12vw,-10vh) scale(1.05);} 50%{transform:translate(-8vw,-22vh) scale(1.1);} 75%{transform:translate(18vw,-35vh) scale(0.95);} 100%{transform:translate(-12vw,-52vh) scale(1);} }
@keyframes partners-ff-4 { 0%{transform:translate(0,0) scale(1);} 20%{transform:translate(-15vw,-8vh) scale(1.08);} 45%{transform:translate(6vw,-30vh) scale(0.92);} 70%{transform:translate(-28vw,-16vh) scale(1.12);} 100%{transform:translate(10vw,-44vh) scale(1);} }
@keyframes partners-ff-5 { 0%{transform:translate(0,0) scale(1);} 30%{transform:translate(22vw,10vh) scale(0.9);} 55%{transform:translate(38vw,-5vh) scale(1.06);} 80%{transform:translate(18vw,20vh) scale(0.95);} 100%{transform:translate(42vw,8vh) scale(1);} }
@keyframes partners-ff-6 { 0%{transform:translate(0,0) scale(1);} 20%{transform:translate(-6vw,-18vh) scale(1.12);} 40%{transform:translate(14vw,-32vh) scale(0.88);} 70%{transform:translate(-4vw,-46vh) scale(1.08);} 100%{transform:translate(20vw,-58vh) scale(1);} }
@keyframes partners-ff-blink-a { 0%,100%{opacity:0.10;} 20%{opacity:0.92;} 40%{opacity:0.30;} 60%{opacity:0.88;} 80%{opacity:0.48;} }
@keyframes partners-ff-blink-b { 0%,100%{opacity:0.08;} 15%{opacity:0.78;} 35%{opacity:0.22;} 58%{opacity:0.95;} 78%{opacity:0.38;} }
@keyframes partners-ff-blink-c { 0%,100%{opacity:0.12;} 25%{opacity:0.85;} 45%{opacity:0.40;} 65%{opacity:0.72;} 85%{opacity:0.18;} }
.partners-firefly-field { position:absolute; inset:0; z-index:3; pointer-events:none; overflow:hidden; }
.partners-firefly { position:absolute; width:4px; height:4px; border-radius:50%; opacity:0; filter:blur(0.2px); }
.partners-firefly.pf-medium { width:5px; height:5px; }
.partners-firefly.pf-large { width:6px; height:6px; }
.pf-gold { background:radial-gradient(circle, rgba(255,215,0,0.95) 0%, rgba(255,215,0,0) 70%); box-shadow:0 0 10px rgba(255,215,0,0.6), 0 0 20px rgba(255,215,0,0.3); }
.pf-jade { background:radial-gradient(circle, rgba(0,255,136,0.95) 0%, rgba(0,255,136,0) 70%); box-shadow:0 0 10px rgba(0,255,136,0.5), 0 0 20px rgba(0,255,136,0.25); }
.pf-azure { background:radial-gradient(circle, rgba(0,180,255,0.95) 0%, rgba(0,180,255,0) 70%); box-shadow:0 0 10px rgba(0,180,255,0.5), 0 0 20px rgba(0,180,255,0.25); }
.pf-violet { background:radial-gradient(circle, rgba(155,89,254,0.95) 0%, rgba(155,89,254,0) 70%); box-shadow:0 0 10px rgba(155,89,254,0.55), 0 0 20px rgba(155,89,254,0.28); }
.pf-teal { background:radial-gradient(circle, rgba(0,212,170,0.95) 0%, rgba(0,212,170,0) 70%); box-shadow:0 0 10px rgba(0,212,170,0.55), 0 0 20px rgba(0,212,170,0.28); }
.pf-magenta { background:radial-gradient(circle, rgba(224,64,251,0.95) 0%, rgba(224,64,251,0) 70%); box-shadow:0 0 10px rgba(224,64,251,0.5), 0 0 20px rgba(224,64,251,0.25); }
.pf-amber { background:radial-gradient(circle, rgba(255,179,0,0.95) 0%, rgba(255,179,0,0) 70%); box-shadow:0 0 10px rgba(255,179,0,0.55), 0 0 20px rgba(255,179,0,0.28); }
.pf-rose { background:radial-gradient(circle, rgba(255,105,180,0.95) 0%, rgba(255,105,180,0) 70%); box-shadow:0 0 10px rgba(255,105,180,0.5), 0 0 20px rgba(255,105,180,0.25); }
.pf-1{left:15%;top:60%;animation:partners-ff-1 57s ease-in-out infinite,partners-ff-blink-a 7.5s ease-in-out infinite}.pf-2{left:75%;top:25%;animation:partners-ff-2 69s ease-in-out infinite,partners-ff-blink-b 9s ease-in-out infinite;animation-delay:-12s,-2s}.pf-3{left:50%;top:80%;animation:partners-ff-3 78s ease-in-out infinite,partners-ff-blink-c 10.5s ease-in-out infinite;animation-delay:-28s,-4s}.pf-4{left:30%;top:35%;animation:partners-ff-4 66s ease-in-out infinite,partners-ff-blink-a 8.25s ease-in-out infinite;animation-delay:-7s,-1s}.pf-5{left:62%;top:55%;animation:partners-ff-5 87s ease-in-out infinite,partners-ff-blink-b 12s ease-in-out infinite;animation-delay:-34s,-3s}.pf-6{left:88%;top:72%;animation:partners-ff-6 61.5s ease-in-out infinite,partners-ff-blink-c 7.2s ease-in-out infinite;animation-delay:-5s,-1.5s}.pf-7{left:8%;top:18%;animation:partners-ff-1 73.5s ease-in-out infinite,partners-ff-blink-a 9.75s ease-in-out infinite;animation-delay:-19s,-3.5s}.pf-8{left:44%;top:42%;animation:partners-ff-2 54s ease-in-out infinite,partners-ff-blink-b 7.8s ease-in-out infinite;animation-delay:-9s,-.8s}.pf-9{left:22%;top:88%;animation:partners-ff-3 82.5s ease-in-out infinite,partners-ff-blink-c 11.7s ease-in-out infinite;animation-delay:-40s,-2.2s}.pf-10{left:68%;top:10%;animation:partners-ff-4 64.5s ease-in-out infinite,partners-ff-blink-a 8.7s ease-in-out infinite;animation-delay:-15s,-4.5s}.pf-11{left:5%;top:50%;animation:partners-ff-5 91.5s ease-in-out infinite,partners-ff-blink-b 13.5s ease-in-out infinite;animation-delay:-48s,-1.2s}.pf-12{left:82%;top:45%;animation:partners-ff-6 58.5s ease-in-out infinite,partners-ff-blink-c 8.4s ease-in-out infinite;animation-delay:-22s,-3.8s}.pf-13{left:38%;top:15%;animation:partners-ff-1 70.5s ease-in-out infinite,partners-ff-blink-a 9.3s ease-in-out infinite;animation-delay:-31s,-.5s}.pf-14{left:56%;top:68%;animation:partners-ff-2 79.5s ease-in-out infinite,partners-ff-blink-b 11.1s ease-in-out infinite;animation-delay:-17s,-2.8s}.pf-15{left:92%;top:32%;animation:partners-ff-3 52.5s ease-in-out infinite,partners-ff-blink-c 6.75s ease-in-out infinite;animation-delay:-3s,-1.8s}


.who-card-head { display:flex; align-items:center; gap:0.82rem; margin-bottom:0.68rem; }
.who-card-head .who-icon { width:44px; height:44px; margin:0; flex:0 0 44px; display:flex; align-items:center; justify-content:center; }
.who-card-head .who-icon img, .who-card-head .who-icon svg { width:44px; height:44px; display:block; object-fit:contain; }
.who-card-head h4 { margin:0; }

/* CP partners partner-model rhythm */
.what-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem) !important;
}
.what-split {
  margin-top: 0 !important;
}
@media (max-width: 760px) {
  .what-head {
    margin-bottom: 1.55rem !important;
  }
}
/* end CP partners partner-model rhythm */

