/* ============================================
   THE HYBRID MONK — MASTER STYLESHEET
   ============================================ */

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

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

:root {
  --black:    #0a0a08;
  --charcoal: #141410;
  --charcoal2:#1c1c18;
  --gold:     #c9a84c;
  --gold-dim: #8a6f30;
  --gold-glow:rgba(201,168,76,0.15);
  --ivory:    #f0ead6;
  --ivory-dim:#b8b09a;
  --white:    #fafaf5;
  --smoke:    rgba(240,234,214,0.06);
  --border:   rgba(201,168,76,0.18);

  --ff-display: 'Cormorant Garamond', serif;
  --ff-ui:      'Syne', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;

  --nav-h: 72px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--ff-ui);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all 0.45s var(--ease);
}
body:has(a:hover) #cursor  { width: 20px; height: 20px; }
body:has(a:hover) #cursor-ring { width: 56px; height: 56px; border-color: var(--gold); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

/* ── UTILITY ── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.gold       { color: var(--gold); }
.mono       { font-family: var(--ff-mono); font-size: 0.75em; letter-spacing: 0.12em; }
.label      { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.35;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex; align-items: center;
  transition: background 0.5s, backdrop-filter 0.5s;
}
nav.scrolled {
  background: rgba(10,10,8,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ivory);
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo .logo-mark {
  width: 32px; height: 32px;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ivory); }
.nav-cta {
  font-family: var(--ff-mono);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  background: transparent;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--ivory);
  transition: all 0.3s;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
#geometry-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 2;
  padding: var(--nav-h) 0 80px;
}
.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1.2s var(--ease) 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ivory-dim);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 52px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 0.8s forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1s forwards;
}
.btn-primary {
  font-family: var(--ff-mono);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--ivory);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
}
.btn-primary:hover { color: var(--black); }
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-ghost {
  font-family: var(--ff-mono);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid rgba(240,234,214,0.25);
  color: var(--ivory-dim);
  text-decoration: none;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.5s forwards;
}
.hero-scroll span {
  font-family: var(--ff-mono);
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory-dim);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ── SECTION BASE ── */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

.section-header {
  margin-bottom: 72px;
}
.section-header .label { margin-bottom: 16px; display: block; }
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── DIVIDER ── */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── PROBLEM SECTION ── */
#problem {
  background: var(--charcoal);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.problem-cell {
  padding: 52px 48px;
  background: var(--charcoal2);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.problem-cell::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--gold);
  transition: height 0.5s var(--ease);
}
.problem-cell:hover::before { height: 100%; }
.problem-cell:hover { background: rgba(28,28,24,0.8); }
.problem-number {
  font-family: var(--ff-mono);
  font-size: 0.6rem; letter-spacing: 0.2em;
  color: var(--gold-dim);
  margin-bottom: 20px;
}
.problem-cell h3 {
  font-family: var(--ff-display);
  font-size: 1.7rem; font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}
.problem-cell p {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  line-height: 1.7;
}
.problem-quote {
  grid-column: 1 / -1;
  padding: 72px 80px;
  background: var(--black);
  text-align: center;
  border-top: 1px solid var(--border);
}
.problem-quote blockquote {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--ivory);
}
.problem-quote blockquote em { color: var(--gold); font-style: normal; }

/* ── PHILOSOPHY SECTION ── */
#philosophy {
  background: var(--black);
}
.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.philosophy-text p {
  color: var(--ivory-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}
.philosophy-pillars {
  display: flex; flex-direction: column; gap: 2px;
}
.pillar {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 28px 32px;
  background: var(--charcoal2);
  border-left: 2px solid transparent;
  transition: all 0.3s;
  cursor: default;
}
.pillar:hover {
  border-left-color: var(--gold);
  background: rgba(28,28,24,0.9);
  transform: translateX(4px);
}
.pillar-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--gold);
}
.pillar-body h4 {
  font-family: var(--ff-ui);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 6px;
}
.pillar-body p {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  line-height: 1.6;
}

/* ── STAGES SECTION ── */
#stages {
  background: var(--charcoal);
  overflow: hidden;
}
.stages-intro {
  max-width: 600px;
  margin-bottom: 80px;
}
.stages-intro p {
  color: var(--ivory-dim);
  line-height: 1.8;
  margin-top: 20px;
}
.stages-track {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.stages-track::before {
  content: '';
  position: absolute;
  top: 56px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 10%, var(--border) 90%, transparent);
}
.stage-item {
  flex: 0 0 220px;
  padding: 0 28px 32px;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.stage-item:hover { transform: translateY(-6px); }
.stage-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
  background: var(--charcoal);
  margin: 49px auto 28px;
  position: relative;
  transition: all 0.3s;
}
.stage-item:hover .stage-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.4);
}
.stage-num {
  font-family: var(--ff-mono);
  font-size: 0.58rem; letter-spacing: 0.2em;
  color: var(--gold-dim);
  text-align: center;
  margin-bottom: 12px;
}
.stage-name {
  font-family: var(--ff-display);
  font-size: 1.2rem; font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}
.stage-desc {
  font-size: 0.78rem;
  color: var(--ivory-dim);
  text-align: center;
  line-height: 1.6;
}

/* ── TOOLS SECTION ── */
#tools {
  background: var(--black);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.tool-card {
  padding: 52px 40px;
  background: var(--charcoal2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  group: true;
}
.tool-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.tool-card:hover::after { opacity: 1; }
.tool-card:hover { transform: translateY(-4px); }
.tool-icon {
  width: 48px; height: 48px;
  margin-bottom: 28px;
  color: var(--gold);
}
.tool-card h3 {
  font-family: var(--ff-ui);
  font-size: 1rem; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.tool-card p {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  line-height: 1.7;
}

/* ── INSIGHT SECTION ── */
#insight {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
#insight::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.insight-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.insight-visual {
  position: relative;
}
.birth-card {
  background: var(--charcoal2);
  border: 1px solid var(--border);
  padding: 48px;
  position: relative;
}
.birth-card::before {
  content: '';
  position: absolute; top: -1px; left: 20px; right: 20px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.birth-card-label {
  font-family: var(--ff-mono);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.birth-fields {
  display: flex; flex-direction: column; gap: 16px;
}
.birth-field {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  background: rgba(240,234,214,0.03);
  border: 1px solid rgba(240,234,214,0.08);
  font-size: 0.85rem;
  color: var(--ivory-dim);
}
.birth-field .field-icon { color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.insight-text p {
  color: var(--ivory-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}
.insight-pillars {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.insight-pill {
  padding: 14px 20px;
  background: var(--charcoal2);
  border-left: 2px solid var(--gold);
  font-size: 0.82rem;
  color: var(--ivory-dim);
}

/* ── COMMUNITY SECTION ── */
#community {
  background: var(--black);
}
.community-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.badge {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 16px;
  background: var(--charcoal2);
  border: 1px solid transparent;
  transition: all 0.3s;
  text-align: center;
}
.badge:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.badge-icon {
  width: 36px; height: 36px;
  color: var(--gold);
}
.badge-name {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.community-feed {
  display: flex; flex-direction: column; gap: 2px;
}
.feed-item {
  padding: 32px 36px;
  background: var(--charcoal2);
  border-left: 2px solid transparent;
  transition: all 0.3s;
}
.feed-item:hover { border-left-color: var(--gold); }
.feed-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.feed-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--charcoal));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600;
  color: var(--ivory);
}
.feed-user {
  font-size: 0.8rem; font-weight: 600;
  color: var(--ivory);
}
.feed-stage {
  font-family: var(--ff-mono);
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--gold);
  padding: 3px 10px;
  border: 1px solid var(--border);
}
.feed-text {
  font-family: var(--ff-display);
  font-size: 1rem; font-style: italic;
  color: var(--ivory-dim);
  line-height: 1.6;
}

/* ── CTA SECTION ── */
#cta {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
#cta-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
}
.cta-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub {
  color: var(--ivory-dim);
  margin-bottom: 52px;
  line-height: 1.7;
}

/* ── SIGNUP FORM ── */
.signup-form {
  background: var(--charcoal2);
  border: 1px solid var(--border);
  padding: 52px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.signup-form::before {
  content: '';
  position: absolute; top: -1px; left: 40px; right: 40px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.form-label {
  font-family: var(--ff-mono);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.form-field {
  width: 100%;
  padding: 14px 20px;
  background: rgba(240,234,214,0.04);
  border: 1px solid rgba(240,234,214,0.12);
  color: var(--ivory);
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 20px;
}
.form-field:focus { border-color: var(--gold); }
.form-field::placeholder { color: var(--ivory-dim); opacity: 0.5; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.btn-submit {
  width: 100%;
  padding: 18px 40px;
  background: var(--gold);
  color: var(--black);
  border: none;
  font-family: var(--ff-mono);
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.btn-submit:hover { background: var(--ivory); }
.form-note {
  font-size: 0.72rem;
  color: var(--ivory-dim);
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand {
  font-family: var(--ff-display);
  font-size: 1.3rem; font-weight: 300;
  margin-bottom: 16px;
  color: var(--ivory);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  line-height: 1.7;
  max-width: 280px;
  font-style: italic;
}
.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links {
  display: flex; flex-direction: column; gap: 10px;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--ivory); }
.newsletter-input {
  display: flex; gap: 0;
  margin-top: 4px;
}
.newsletter-input input {
  flex: 1;
  padding: 12px 16px;
  background: var(--charcoal2);
  border: 1px solid rgba(240,234,214,0.1);
  border-right: none;
  color: var(--ivory);
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  outline: none;
}
.newsletter-input input::placeholder { color: var(--ivory-dim); opacity: 0.5; }
.newsletter-input button {
  padding: 12px 20px;
  background: var(--gold);
  border: none;
  color: var(--black);
  font-family: var(--ff-mono);
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-input button:hover { background: var(--ivory); }
.social-links {
  display: flex; gap: 16px;
  margin-top: 24px;
}
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid rgba(240,234,214,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: all 0.3s;
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(240,234,214,0.06);
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--ivory-dim);
}
.footer-legal {
  display: flex; gap: 24px; list-style: none;
}
.footer-legal a {
  font-size: 0.72rem;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--ivory); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 32px;
  border-bottom: 1px solid var(--border);
  flex-direction: column; gap: 24px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateY(0); display: flex; }
.mobile-menu a {
  font-size: 1.2rem;
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--ff-display);
  padding: 8px 0;
  border-bottom: 1px solid rgba(240,234,214,0.06);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .philosophy-layout,
  .insight-layout,
  .community-layout { grid-template-columns: 1fr; gap: 48px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .problem-quote { padding: 48px 32px; }
  .signup-form { padding: 36px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .badges-grid { grid-template-columns: repeat(3, 1fr); }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 80px 0; }
  .hero-title { font-size: 2.2rem; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
}
