/* =========================================================
   Money Masters Initiative — Design System
   Extracted from reference project (Outfit + Playfair Display,
   Gold #D4A017 primary, near-black secondary)
   ========================================================= */

:root {
  /* Color tokens (HSL so we can alpha them easily) */
  --background: 0 0% 100%;
  --foreground: 0 0% 4%;
  --border: 0 0% 90%;

  --card: 0 0% 98%;
  --card-foreground: 0 0% 4%;

  --primary: 43 67% 50%;        /* gold */
  --primary-foreground: 0 0% 4%;

  --secondary: 0 0% 4%;         /* near-black */
  --secondary-foreground: 0 0% 100%;

  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 40%;

  --accent: 43 67% 95%;
  --accent-foreground: 43 67% 30%;

  /* Typography */
  --font-sans: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 32px;
  --space-5: 64px;
  --space-6: 96px;

  --radius: 4px;
  --container: 1200px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: hsl(var(--foreground));
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
.lead {
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
}

.eyebrow {
  display: inline-block;
  color: hsl(var(--primary));
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }
.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-white { color: #fff; }
.text-white-70 { color: rgba(255,255,255,0.72); }
.text-white-90 { color: rgba(255,255,255,0.9); }

.accent-bar {
  display: block;
  width: 80px;
  height: 4px;
  background: hsl(var(--primary));
  margin: 0 0 2rem;
}
.accent-bar.center { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

.section-dark { background: hsl(var(--secondary)); color: #fff; }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-muted { background: hsl(var(--muted)); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2 { gap: 4rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.items-center { align-items: center; }
.text-center { text-align: center; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.25s ease,
              color 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.0625rem; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: hsl(var(--primary));
  color: #0a0a0a;
  box-shadow: 0 6px 20px -8px hsl(var(--primary) / 0.45);
}
.btn-primary:hover {
  background: hsl(43 67% 55%);
  box-shadow: 0 12px 28px -10px hsl(var(--primary) / 0.55);
}

.btn-dark {
  background: hsl(var(--secondary));
  color: #fff;
}
.btn-dark:hover { background: hsl(0 0% 12%); }

.btn-outline-light {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.45);
}

.btn-outline-dark {
  background: transparent;
  color: hsl(var(--secondary));
  border-color: rgba(0,0,0,0.2);
}
.btn-outline-dark:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.45);
}

.btn-block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 0.875rem; }
.btn-row.center { justify-content: center; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.link-arrow:hover { gap: 0.75rem; border-bottom-color: hsl(var(--primary)); }
.link-arrow.on-dark:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: background 0.3s ease, padding 0.3s ease,
              backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}
.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.1);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 60;
}
.brand-mark {
  width: 36px; height: 36px;
  background: hsl(var(--primary));
  border-radius: var(--radius);
  color: #0a0a0a;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 14px -4px hsl(var(--primary) / 0.55);
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  display: none;
}
@media (min-width: 640px) { .brand-name { display: block; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: hsl(var(--primary)); }

.nav-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) { .nav-cta { display: flex; } }
.nav-cta .contact-link {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-cta .contact-link:hover { color: #fff; }
.nav-cta .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem; }

.nav-toggle {
  display: block;
  color: #fff;
  z-index: 60;
  width: 40px; height: 40px;
  position: relative;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 55;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.mobile-menu a:hover, .mobile-menu a.active { color: hsl(var(--primary)); }
.mobile-menu .btn { margin-top: 1rem; font-size: 1.1rem; padding: 1rem 2rem; }

/* Light navbar variant (when pages start with non-dark hero) */
.navbar.light {
  border-bottom-color: rgba(0,0,0,0.06);
}
.navbar.light .brand-name { color: #0a0a0a; }
.navbar.light .nav-links a { color: rgba(10,10,10,0.75); }
.navbar.light .nav-links a:hover,
.navbar.light .nav-links a.active { color: hsl(var(--primary)); }
.navbar.light .nav-cta .contact-link { color: rgba(10,10,10,0.75); }
.navbar.light .nav-cta .contact-link:hover { color: #0a0a0a; }
.navbar.light .nav-toggle span { background: #0a0a0a; }
.navbar.light.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: rgba(0,0,0,0.08);
}
.navbar.light.scrolled .nav-toggle span { background: #0a0a0a; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #0a0a0a;
  overflow: hidden;
  padding-top: 6rem;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, hsl(var(--primary) / 0.25), transparent 55%),
    radial-gradient(circle at 80% 75%, hsl(var(--primary) / 0.12), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,0.4) 55%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 56rem;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.05;
}
.hero h1 .gold { color: hsl(var(--primary)); font-style: italic; }
.hero p {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  max-width: 40rem;
  margin-bottom: 3rem;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow .line {
  width: 48px; height: 1px;
  background: hsl(var(--primary));
}
.hero-eyebrow span {
  color: hsl(var(--primary));
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  background: hsl(var(--secondary));
  color: #fff;
  padding: 10rem 0 6rem;
}
.page-hero.muted { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.page-hero.muted h1 { color: hsl(var(--foreground)); }
.page-hero.muted p { color: hsl(var(--muted-foreground)); }
.page-hero h1 { color: #fff; margin-bottom: 1.5rem; }
.page-hero p {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.65;
  max-width: 44rem;
}
.page-hero.center { text-align: center; }
.page-hero.center p { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid hsl(var(--border));
  padding: 2.25rem;
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease,
              box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  border-color: hsl(var(--primary) / 0.6);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10,10,10,0.12);
}
.card-icon {
  width: 56px; height: 56px;
  background: hsl(var(--primary) / 0.1);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.25s ease;
}
.card-icon svg { width: 24px; height: 24px; color: hsl(var(--primary)); transition: color 0.25s ease; }
.card:hover .card-icon { background: hsl(var(--primary)); }
.card:hover .card-icon svg { color: #0a0a0a; }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: hsl(var(--muted-foreground)); margin: 0; line-height: 1.65; flex: 1; }

/* Dark card */
.card-dark {
  background: hsl(var(--secondary));
  color: #fff;
  padding: 3rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.card-dark h2 { color: hsl(var(--primary)); margin-bottom: 1.25rem; }
.card-dark p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

/* Value card (feature card style) */
.value-card {
  padding: 2.25rem;
  border: 1px solid hsl(var(--border));
  background: #fff;
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease,
              box-shadow 0.3s ease;
}
.value-card:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(10,10,10,0.15);
}
.value-card svg { width: 38px; height: 38px; color: hsl(var(--primary)); margin-bottom: 1.25rem; }
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { color: hsl(var(--muted-foreground)); margin: 0; }

/* Option card (Get Involved) */
.opt-card {
  padding: 2.5rem;
  border: 1px solid hsl(var(--border));
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.opt-card:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -24px rgba(10,10,10,0.18);
}
.opt-card .icon-box {
  width: 64px; height: 64px;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}
.opt-card:hover .icon-box { background: hsl(var(--primary)); }
.opt-card .icon-box svg { width: 28px; height: 28px; color: #0a0a0a; }
.opt-card h2 { margin-bottom: 0.75rem; }
.opt-card p { color: hsl(var(--muted-foreground)); flex: 1; margin-bottom: 1.75rem; font-size: 1.0625rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.stat h3 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.stat h3 .accent { color: hsl(var(--primary)); }
.stat p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* Stat cards (Impact page) */
.stat-card {
  padding: 2.75rem 2rem;
  text-align: center;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}
.stat-card svg { width: 40px; height: 40px; margin: 0 auto 1.25rem; display: block; }
.stat-card h3 { font-size: clamp(2.75rem, 4.5vw, 3.5rem); margin-bottom: 0.75rem; }
.stat-card p {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}
.stat-card.dark { background: hsl(var(--secondary)); color: #fff; }
.stat-card.dark h3 { color: #fff; }
.stat-card.dark p { color: rgba(255,255,255,0.78); }
.stat-card.dark svg { color: hsl(var(--primary)); }
.stat-card.muted { background: hsl(var(--muted)); }
.stat-card.muted svg { color: #0a0a0a; }
.stat-card.primary { background: hsl(var(--primary)); color: #0a0a0a; }
.stat-card.primary h3 { color: #0a0a0a; }
.stat-card.primary p { color: rgba(10,10,10,0.82); }
.stat-card.primary svg { color: #0a0a0a; }

/* ---------- Visual block (problem section) ---------- */
.problem-visual {
  position: relative;
  height: 520px;
  background: #0a0a0a;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.problem-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, hsl(var(--primary) / 0.18), transparent 60%);
}
.problem-visual blockquote {
  position: relative;
  color: rgba(255,255,255,0.62);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.4;
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.75rem;
  max-width: 100%;
  margin: 0;
}

/* ---------- Pilot / highlight section ---------- */
.pilot-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem;
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  text-align: center;
}
.pilot-card .circle {
  width: 96px; height: 96px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.25rem;
  color: hsl(var(--primary));
}
.pilot-card h3 { color: #fff; margin-bottom: 1rem; }
.pilot-card p { color: rgba(255,255,255,0.72); margin-bottom: 2rem; max-width: 22rem; margin-left: auto; margin-right: auto; }

/* Quote blocks inside dark sections */
.quote-stack {
  border-left: 1px solid hsl(var(--primary) / 0.35);
  padding: 0.5rem 0 0.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.quote-stack .q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  margin: 0 0 0.5rem;
}
.quote-stack .who {
  color: hsl(var(--primary));
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Big testimonial cards */
.testimonial {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 2.5rem;
  border-radius: var(--radius);
}
.testimonial .quote-mark {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: hsl(var(--primary) / 0.25);
}
.testimonial blockquote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  margin: 0 0 2rem;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial .avatar {
  width: 48px; height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0a0a0a;
  font-size: 1.2rem;
}
.testimonial .avatar.gold { background: hsl(var(--primary)); }
.testimonial .avatar.white { background: #fff; }
.testimonial .author .name { font-weight: 700; font-size: 1rem; color: #fff; }
.testimonial .author .role { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--primary)); }
.testimonial .author .role.white { color: rgba(255,255,255,0.6); }

/* ---------- Founder preview ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .founder-grid { grid-template-columns: 5fr 7fr; gap: 5rem; }
}
.founder-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--muted));
}
.founder-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%);
  transition: filter 0.7s ease, transform 1.2s ease;
}
.founder-img-wrap:hover img { filter: grayscale(0%); transform: scale(1.02); }

/* ---------- Programs / checklist ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: 1.05rem; color: hsl(var(--muted-foreground)); }
.check-list li svg {
  width: 22px; height: 22px; color: hsl(var(--primary));
  flex-shrink: 0; margin-top: 3px;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.panel {
  background: hsl(var(--muted));
  padding: 2.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: hsl(var(--primary) / 0.15);
  border-radius: 999px;
  filter: blur(32px);
}
.panel-inner {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.panel-inner h4 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.875rem; font-family: var(--font-sans); font-weight: 700; }
.panel-inner h4 svg { width: 18px; height: 18px; color: hsl(var(--primary)); }
.panel-inner ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; color: hsl(var(--muted-foreground)); }
.panel-inner ul li { display: flex; align-items: center; gap: 0.75rem; }
.panel-inner ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: #0a0a0a;
  border-radius: 999px;
  display: inline-block;
}

/* ---------- Book cover ---------- */
.book-cover {
  aspect-ratio: 3 / 4;
  background: #0a0a0a;
  border: 8px solid hsl(var(--muted));
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.45);
}
.book-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, hsl(var(--primary) / 0.22), #0a0a0a 60%);
}
.book-inner {
  position: relative;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  margin: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  color: #fff;
}
.book-inner .top {
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  font-weight: 700;
}
.book-inner h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.book-inner .bar {
  width: 48px; height: 4px;
  background: hsl(var(--primary));
  margin: 0 auto 1.25rem;
}
.book-inner .tag {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.72);
}
.book-inner .bottom {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: hsl(var(--muted));
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .learn-grid { grid-template-columns: 1fr 1fr; } }
.learn-grid h3 { grid-column: 1 / -1; margin-bottom: 0.5rem; font-size: 1.25rem; }
.learn-grid .item { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }
.learn-grid .item svg { width: 20px; height: 20px; color: hsl(var(--primary)); flex-shrink: 0; }

/* ---------- Founder page ---------- */
.founder-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) {
  .founder-grid-full { grid-template-columns: 5fr 7fr; gap: 6rem; align-items: start; }
}
.founder-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--muted));
}
.founder-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.founder-quote {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: hsl(var(--secondary));
  color: #fff;
  border-left: 4px solid hsl(var(--primary));
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}
.founder-content .intro {
  font-size: 1.5rem;
  font-weight: 300;
  color: #0a0a0a;
  margin-bottom: 2rem;
  line-height: 1.4;
}
.founder-content p {
  color: hsl(var(--muted-foreground));
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.founder-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
}

/* ---------- Roadmap ---------- */
.phase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid hsl(var(--border));
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s ease, transform 0.25s ease;
  margin-bottom: 2rem;
}
.phase:hover { transform: translateY(-2px); }
@media (min-width: 768px) { .phase { flex-direction: row; gap: 3rem; padding: 3rem; } }
.phase.active { background: hsl(var(--primary) / 0.06); border-color: hsl(var(--primary) / 0.45); }
.phase .status-tag {
  position: absolute;
  top: 0; right: 0;
  background: hsl(var(--primary));
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-bottom-left-radius: var(--radius);
}
.phase .title-col { flex-shrink: 0; }
@media (min-width: 768px) { .phase .title-col { width: 33%; } }
.phase h2 { margin-bottom: 0.5rem; }
.phase .timeline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
}
.phase .timeline svg { width: 14px; height: 14px; }
.phase .bar { width: 48px; height: 3px; background: hsl(var(--border)); }
.phase.active .bar { background: hsl(var(--primary)); }
.phase .goals { flex: 1; }
.phase .goals ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.125rem; }
.phase .goals li { display: flex; align-items: flex-start; gap: 0.875rem; font-size: 1.0625rem; color: #0a0a0a; line-height: 1.55; }
.phase .goals li .bullet {
  width: 22px; height: 22px;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}
.phase .goals li .bullet svg { width: 14px; height: 14px; }
.phase.active .goals li .bullet {
  background: hsl(var(--primary) / 0.22);
}
.phase.active .goals li .bullet::after {
  content: '';
  width: 9px; height: 9px;
  background: hsl(var(--primary));
  border-radius: 999px;
  animation: pulse 2s ease-in-out infinite;
}
.phase.active .goals li .bullet svg { display: none; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 4fr 8fr; gap: 4rem; }
}
.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-info .lead { margin-bottom: 0; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item .icon-box {
  width: 48px; height: 48px;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.contact-item .icon-box svg { width: 20px; height: 20px; color: #0a0a0a; }
.contact-item h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; }
.contact-item a, .contact-item p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  margin: 0;
  transition: color 0.2s ease;
}
.contact-item a:hover { color: hsl(var(--primary)); }

.form-card {
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  padding: 2rem;
  border-radius: var(--radius);
}
@media (min-width: 768px) { .form-card { padding: 3rem; } }
.form-card h2 { margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.field label { font-size: 0.95rem; font-weight: 500; color: #0a0a0a; }
.field input, .field textarea {
  width: 100%;
  padding: 1rem 1.125rem;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #0a0a0a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.18);
}
.field textarea { min-height: 180px; resize: vertical; }

.form-msg {
  padding: 1rem 1.25rem;
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.5);
  color: #0a0a0a;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-weight: 500;
  display: none;
}
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.footer {
  background: #0a0a0a;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.footer h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.footer ul a, .footer ul li {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer ul a:hover { color: hsl(var(--primary)); }
.footer .brand-name { color: #fff; }
.footer .tag {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 20rem;
  margin-top: 1.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.875rem; margin: 0; }
.footer-bottom .socials { display: flex; gap: 1.5rem; }
.footer-bottom .socials a { color: rgba(255,255,255,0.4); font-size: 0.875rem; }
.footer-bottom .socials a:hover { color: hsl(var(--primary)); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Page CTA band ---------- */
.cta-band {
  padding: 6rem 0;
  background: hsl(var(--secondary));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, hsl(var(--primary) / 0.08), transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 1.5rem; font-size: clamp(2.25rem, 4vw, 3.5rem); }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.25rem; margin-bottom: 2.5rem; font-weight: 300; }

.cta-muted {
  padding: 6rem 0;
  background: hsl(var(--muted));
  text-align: center;
  border-top: 1px solid hsl(var(--border));
}
.cta-muted h2 { margin-bottom: 1.5rem; }
.cta-muted p {
  color: hsl(var(--muted-foreground));
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

/* ---------- Utility ---------- */
.flex { display: flex; }
.gap-4 { gap: 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.sticky-founder { position: sticky; top: 7rem; }
