/* ============================================
   B&A — Bits and Atoms
   bitsandatoms.tech
   Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Mulish:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Core palette */
  --col-bg:           #07090C;
  --col-surface:      #0D1218;
  --col-elevated:     #141C25;
  --col-border:       #1D2830;
  --col-text:         #E6E2DA;
  --col-text-2:       #748290;
  --col-text-muted:   #3A4A58;

  /* Accent — "Atoms" (amber/gold — material, warm, physical) */
  --col-accent:       #C8942A;
  --col-accent-rgb:   200, 148, 42;

  /* Accent 2 — "Bits" (teal — cool, digital, precise) */
  --col-teal:         #2ABFC8;
  --col-teal-rgb:     42, 191, 200;

  /* Typography */
  --font-display:     'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-heading:     'Barlow Condensed', sans-serif;
  --font-body:        'Mulish', sans-serif;
  --font-mono:        'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --section-py:       clamp(80px, 10vw, 140px);
  --container-px:     clamp(20px, 5vw, 60px);
  --container-max:    1320px;
  --nav-h:            64px;

  /* Motion */
  --ease:             cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background: var(--col-bg);
  color: var(--col-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--container-px);
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--col-border);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--col-accent);
  line-height: 1;
}

.logo-full {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  color: var(--col-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--col-text-2);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--col-text); }

.nav-links .nav-cta {
  padding: 8px 20px;
  background: var(--col-accent);
  color: var(--col-bg);
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-links .nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: var(--col-bg);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--col-text);
  transition: all 0.3s var(--ease);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: var(--col-bg);
  padding: 40px var(--container-px);
  z-index: 99;
  border-top: 1px solid var(--col-border);
  flex-direction: column;
  gap: 28px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--col-text-2);
  transition: color 0.2s;
}

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

.nav-mobile .mobile-apply-btn {
  color: var(--col-accent);
  margin-top: 8px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Subtle grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 148, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 148, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Atmospheric glow */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 40%, rgba(200, 148, 42, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 75%, rgba(42, 191, 200, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-text-2);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-headline {
  font-family: var(--font-display);
  line-height: 0.87;
  letter-spacing: 0.015em;
  margin-bottom: 36px;
}

.hl-line {
  display: block;
  font-size: clamp(64px, 11vw, 160px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(230, 226, 218, 0.32);
  animation: hl-in 0.9s var(--ease) both;
}

.hl-line--1 { animation-delay: 0.05s; }
.hl-line--2 { animation-delay: 0.18s; }

.hl-with {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: var(--col-text-muted);
  line-height: 1;
  margin: 4px 0 2px;
  animation: hl-in 0.9s var(--ease) 0.32s both;
}

.hl-shenzhen {
  display: block;
  font-size: clamp(64px, 11vw, 160px);
  color: var(--col-accent);
  -webkit-text-stroke: 0;
  letter-spacing: 0.02em;
  line-height: 0.87;
  animation: hl-in 0.9s var(--ease) 0.44s both;
}

@keyframes hl-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero-sub {
  max-width: 520px;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--col-text-2);
  margin-bottom: 40px;
  animation: hl-in 0.9s var(--ease) 0.62s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: hl-in 0.9s var(--ease) 0.74s both;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--col-accent);
  color: #07090C;
}

.btn--primary:hover {
  background: #D4A535;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 148, 42, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--col-text-2);
  border: 1px solid var(--col-border);
}

.btn--ghost:hover {
  border-color: var(--col-text-muted);
  color: var(--col-text);
}

.btn--outline-accent {
  background: transparent;
  color: var(--col-accent);
  border: 1px solid var(--col-accent);
}

.btn--outline-accent:hover {
  background: rgba(var(--col-accent-rgb), 0.1);
}

.btn--outline-teal {
  background: transparent;
  color: var(--col-teal);
  border: 1px solid var(--col-teal);
}

.btn--outline-teal:hover {
  background: rgba(var(--col-teal-rgb), 0.1);
}

.btn--large {
  padding: 18px 40px;
  font-size: 13px;
}

/* ============================================
   HERO STATS BAR
   ============================================ */
.hero-stats {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--col-border);
  position: relative;
  z-index: 1;
  animation: hl-in 0.9s var(--ease) 0.88s both;
}

.stat-item {
  flex: 1;
  padding: 24px 28px;
  border-right: 1px solid var(--col-border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--col-accent);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--col-text-2);
}

/* ============================================
   MARQUEE BAND
   ============================================ */
.marquee-band {
  background: var(--col-accent);
  overflow: hidden;
  padding: 11px 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #07090C;
}

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

/* ============================================
   SECTION — SHARED BASE
   ============================================ */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--dark   { background: var(--col-surface); }
.section--darker { background: var(--col-elevated); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: 22px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--col-accent);
}

.section-tag--teal { color: var(--col-teal); }
.section-tag--teal::before { background: var(--col-teal); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0em;
  color: var(--col-text);
  margin-bottom: 20px;
}

.section-lead {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--col-text-2);
  max-width: 660px;
}

/* ============================================
   WHY NOW — SECTION 2
   ============================================ */
.why-now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--col-border);
  border: 1px solid var(--col-border);
  margin-top: 56px;
}

.why-now-item {
  background: var(--col-bg);
  padding: clamp(28px, 4vw, 52px);
  transition: background 0.3s;
}

.why-now-item:hover { background: var(--col-surface); }

.why-now-ghost {
  font-family: var(--font-display);
  font-size: 72px;
  color: rgba(200, 148, 42, 0.07);
  line-height: 1;
  margin-bottom: 20px;
  user-select: none;
}

.why-now-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--col-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.why-now-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--col-text-2);
}

/* ============================================
   WHY SHENZHEN — SECTION 3
   ============================================ */
.szx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.szx-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--col-border);
  background:
    url('/images/shenzhen-manufacturing.png') center/cover no-repeat,
    linear-gradient(135deg, #0D1A28 0%, #0A1218 100%);
}

.szx-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,9,12,0.6) 0%, transparent 50%);
  z-index: 1;
}

.szx-image-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-accent);
  z-index: 2;
}

.szx-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  color: rgba(200, 148, 42, 0.07);
  letter-spacing: 0.05em;
  z-index: 0;
}

.szx-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.szx-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.szx-item:hover {
  border-color: var(--col-border);
  background: var(--col-surface);
}

.szx-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--col-accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.szx-item-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--col-text);
  margin-bottom: 3px;
}

.szx-item-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--col-text-2);
}

/* ============================================
   WHAT B&A DOES — SECTION 4
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--col-border);
  border: 1px solid var(--col-border);
  margin-top: 56px;
}

.service-card {
  background: var(--col-bg);
  padding: clamp(28px, 3.5vw, 44px);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--col-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover { background: var(--col-surface); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--col-accent);
  margin-bottom: 18px;
  opacity: 0.8;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--col-text);
  margin-bottom: 8px;
}

.service-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--col-text-2);
}

/* ============================================
   WHO IT'S FOR — SECTION 5
   ============================================ */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}

.who-pillar {
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--col-border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s;
}

.who-pillar--amber:hover { border-color: rgba(var(--col-accent-rgb), 0.45); }
.who-pillar--teal:hover  { border-color: rgba(var(--col-teal-rgb), 0.45); }

.who-pillar-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.who-pillar--amber .who-pillar-glow {
  background: radial-gradient(ellipse 70% 60% at 10% 50%, rgba(var(--col-accent-rgb), 0.07) 0%, transparent 70%);
}

.who-pillar--teal .who-pillar-glow {
  background: radial-gradient(ellipse 70% 60% at 90% 50%, rgba(var(--col-teal-rgb), 0.07) 0%, transparent 70%);
}

.who-pillar:hover .who-pillar-glow { opacity: 1; }

.who-type-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.who-type-tag--amber { color: var(--col-accent); }
.who-type-tag--teal  { color: var(--col-teal); }

.who-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--col-text);
  margin-bottom: 14px;
}

.who-text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--col-text-2);
  margin-bottom: 28px;
}

.who-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  padding: 5px 10px;
  border-radius: 2px;
  background: var(--col-surface);
  color: var(--col-text-2);
  border: 1px solid var(--col-border);
}

/* ============================================
   FIRST COHORT — SECTION 6
   ============================================ */
.cohort-highlight {
  text-align: center;
  margin-bottom: 56px;
}

.cohort-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-text-muted);
  margin-bottom: 8px;
  display: block;
}

.cohort-date {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 130px);
  color: var(--col-accent);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.cohort-sub {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 300;
  color: var(--col-text-2);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cohort-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--col-border);
  border: 1px solid var(--col-border);
}

.cohort-card {
  background: var(--col-bg);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.25s;
}

.cohort-card:hover { background: var(--col-surface); }

.cohort-card-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--col-text);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.cohort-card-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--col-text-2);
}

.cohort-card-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--col-text-muted);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ============================================
   REQUEST FOR FOUNDER — SECTION 7
   ============================================ */
.rff-lead {
  max-width: 700px;
  margin-bottom: 56px;
}

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

.rff-card {
  border: 1px solid var(--col-border);
  padding: clamp(28px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.rff-card:hover {
  border-color: rgba(var(--col-accent-rgb), 0.35);
  background: var(--col-surface);
}

.rff-id {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--col-accent);
  opacity: 0.6;
  margin-bottom: 14px;
  display: block;
}

.rff-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--col-text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.rff-problem {
  font-size: 13px;
  line-height: 1.68;
  color: var(--col-text-2);
  margin-bottom: 22px;
}

.rff-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.rff-meta-row { display: flex; flex-direction: column; gap: 2px; }

.rff-meta-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--col-text-muted);
}

.rff-meta-val {
  font-size: 13px;
  line-height: 1.55;
  color: var(--col-text-2);
}

.rff-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--col-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(var(--col-accent-rgb), 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}

.rff-link:hover {
  border-color: var(--col-accent);
  gap: 10px;
}

/* ============================================
   EXPERTS PREVIEW — SECTION 8
   ============================================ */
.experts-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 36px;
}

.domain-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  padding: 7px 13px;
  border: 1px solid var(--col-border);
  color: var(--col-text-2);
  border-radius: 2px;
  transition: all 0.2s;
}

.domain-pill:hover {
  border-color: var(--col-teal);
  color: var(--col-teal);
}

.experts-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--col-border);
  background:
    url('/images/expert-workshop.png') center/cover no-repeat,
    linear-gradient(135deg, #0D1A28 0%, #0A1218 100%);
  position: relative;
}

.experts-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 56px;
  color: rgba(42, 191, 200, 0.06);
}

/* ============================================
   PARTNERS PREVIEW — SECTION 9
   ============================================ */
.partner-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--col-border);
  border: 1px solid var(--col-border);
  margin-top: 40px;
  margin-bottom: 48px;
}

.partner-type-item {
  background: var(--col-bg);
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--col-text-2);
  transition: background 0.2s, color 0.2s;
}

.partner-type-item:hover {
  background: var(--col-surface);
  color: var(--col-text);
}

/* ============================================
   CLOSING CTA — SECTION 10
   ============================================ */
.closing-cta {
  text-align: center;
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(var(--col-accent-rgb), 0.06) 0%, transparent 70%);
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(60px, 11vw, 148px);
  line-height: 0.88;
  letter-spacing: 0.015em;
  color: var(--col-text);
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.closing-headline em {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--col-accent);
  font-style: normal;
}

.closing-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--col-surface);
  border-top: 1px solid var(--col-border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--col-border);
}

.footer-brand .logo-mark {
  font-size: 30px;
  display: block;
  margin-bottom: 2px;
}

.footer-brand .logo-full {
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--col-text-muted);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--col-text-2);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--col-text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--col-text-muted);
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 96px)) var(--container-px) clamp(56px, 8vw, 96px);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.page-hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 148, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 148, 42, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: -1;
}

.page-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--col-accent);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--col-text);
  margin-bottom: 32px;
}

.page-hero-sub {
  max-width: 560px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--col-text-2);
  margin-bottom: 40px;
}

/* ============================================
   FORM STYLES
   ============================================ */
.apply-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.type-tabs {
  display: flex;
  border: 1px solid var(--col-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 52px;
}

.type-tab {
  flex: 1;
  padding: 14px;
  background: var(--col-surface);
  color: var(--col-text-2);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
  border-right: 1px solid var(--col-border);
  transition: all 0.2s;
}

.type-tab:last-child { border-right: none; }
.type-tab:hover { background: var(--col-elevated); color: var(--col-text); }

.type-tab.active {
  background: var(--col-elevated);
  color: var(--col-accent);
  border-bottom: 2px solid var(--col-accent);
}

.form-panel { display: none; }
.form-panel.active { display: block; }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.field-group label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--col-text-2);
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  padding: 13px 15px;
  background: var(--col-surface);
  border: 1px solid var(--col-border);
  border-radius: 2px;
  color: var(--col-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--col-accent);
}

.field-group textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.65;
}

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

.form-note {
  font-size: 12px;
  color: var(--col-text-muted);
  margin-top: 20px;
  line-height: 1.6;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  border-top: 1px solid var(--col-border);
}

.faq-item {
  border-bottom: 1px solid var(--col-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--col-text);
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 600;
  text-align: left;
  gap: 20px;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--col-accent); }

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--col-border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s;
}

.faq-question:hover .faq-icon { border-color: var(--col-accent); }

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--col-text-2);
  transition: all 0.3s var(--ease);
}

.faq-icon::before { width: 9px; height: 1px; }
.faq-icon::after  { width: 1px; height: 9px; }

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--col-text-2);
}

.faq-item.open .faq-answer { max-height: 500px; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .why-now-grid      { grid-template-columns: 1fr; }
  .szx-grid          { grid-template-columns: 1fr; }
  .who-grid          { grid-template-columns: 1fr; }
  .experts-layout    { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .cohort-cards      { grid-template-columns: repeat(2, 1fr); }
  .rff-grid          { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .partner-types-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links       { display: none; }
  .nav-hamburger   { display: flex; }
  .hero-stats      { flex-direction: column; }
  .stat-item       { border-right: none; border-bottom: 1px solid var(--col-border); }
  .footer-top      { grid-template-columns: 1fr; gap: 40px; }
  .field-row       { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
  .cohort-cards    { grid-template-columns: 1fr 1fr; }
  .partner-types-grid { grid-template-columns: 1fr; }
  .closing-headline { font-size: clamp(52px, 15vw, 80px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track { animation: none; }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
