/* ==============================================
   REFORGED — Design System
   Palantir-inspired hybrid: dark sections + light base
   ============================================== */

/* -- CSS Custom Properties -- */
:root {
  /* Brand Colors */
  --forge-black: #1A1A1A;
  --deep-black: #0A0A0A;
  --steel-white: #F8F8F8;
  --pure-white: #FFFFFF;
  --reforged-green: #1B4332;
  --patina-green: #2D6A4F;
  --light-green: #40916C;
  --bright-green: #52B788;
  --cool-slate: #64748B;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-light: #E2E8F0;
  --glass: rgba(255,255,255,0.03);
  --glass-border: rgba(255,255,255,0.08);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', monospace;

  /* Spacing */
  --container-max: 1100px;
  --section-pad-x: 48px;

  /* Easing */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font-primary);
  background: var(--deep-black);
  color: var(--steel-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* -- Subtle grid overlay (dark pages) -- */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ==============================================
   NAVIGATION
   ============================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 var(--section-pad-x); height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s;
}
.nav.scrolled {
  height: 56px;
  background: rgba(10,10,10,0.85);
}
.nav-wordmark {
  font-weight: 900; font-size: 17px; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--steel-white);
  text-decoration: none;
}
.nav-wordmark:hover { opacity: 0.9; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.3s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: rgba(255,255,255,0.8); }
.nav-links a.active { color: rgba(255,255,255,0.7); }
.nav-cta {
  color: var(--bright-green) !important;
  padding: 8px 20px; border-radius: 6px;
  border: 1px solid rgba(82,183,136,0.3);
  background: rgba(82,183,136,0.06);
  font-size: 12px !important; font-weight: 600 !important;
  letter-spacing: 0.02em; transition: all 0.3s !important;
}
.nav-cta:hover {
  background: rgba(82,183,136,0.12) !important;
  border-color: rgba(82,183,136,0.5) !important;
  box-shadow: 0 0 20px rgba(82,183,136,0.1);
}

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.6); transition: all 0.3s;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-drawer.open { opacity: 1; pointer-events: all; }
.mobile-drawer a {
  font-size: 20px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.3s;
}
.mobile-drawer a:hover { color: var(--steel-white); }
.mobile-drawer .drawer-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 28px; cursor: pointer; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* ==============================================
   SCROLL PROGRESS BAR
   ============================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--reforged-green), var(--bright-green));
  z-index: 1002; transform-origin: left;
  transform: scaleX(0); transition: transform 0.1s ease;
}

/* ==============================================
   SIDE PROGRESS DOTS (Desktop)
   ============================================== */
.side-progress {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 999; display: flex; flex-direction: column; gap: 12px;
}
.side-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.12); transition: all 0.4s; cursor: pointer;
}
.side-dot.active {
  background: var(--bright-green);
  box-shadow: 0 0 12px rgba(82,183,136,0.4);
}

/* ==============================================
   LAYOUT
   ============================================== */
section { position: relative; z-index: 1; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--section-pad-x); }

/* ==============================================
   TYPOGRAPHY
   ============================================== */
.section-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--bright-green); margin-bottom: 20px; opacity: 0.7;
}
.section-label-dark {
  color: var(--reforged-green);
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn-glow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 14px;
  text-decoration: none; border: none; cursor: pointer;
  font-family: inherit; transition: all 0.35s;
  background: linear-gradient(135deg, var(--reforged-green), var(--patina-green));
  color: #fff; position: relative;
}
.btn-glow::after {
  content: ''; position: absolute; inset: -1px; border-radius: 9px;
  background: linear-gradient(135deg, var(--bright-green), var(--patina-green));
  z-index: -1; opacity: 0; transition: opacity 0.35s;
  filter: blur(16px);
}
.btn-glow:hover { transform: translateY(-2px); }
.btn-glow:hover::after { opacity: 0.4; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 500; font-size: 14px;
  text-decoration: none; cursor: pointer; font-family: inherit;
  color: rgba(255,255,255,0.5); background: transparent;
  border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s;
}
.btn-ghost:hover {
  color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
}

/* Light variants */
.btn-ghost-light {
  color: var(--cool-slate);
  border-color: rgba(0,0,0,0.08);
}
.btn-ghost-light:hover {
  color: var(--forge-black);
  border-color: rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.02);
}

/* Full-width button */
.btn-full { width: 100%; justify-content: center; }

/* ==============================================
   DIVIDERS
   ============================================== */
.glow-divider {
  height: 1px; position: relative; overflow: visible;
  background: var(--border); z-index: 1;
}
.glow-divider::after {
  content: ''; position: absolute; left: 10%; width: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--patina-green), transparent);
}

/* ==============================================
   DARK SECTION (atmospheric)
   ============================================== */
.section-dark {
  background: var(--forge-black);
  color: var(--steel-white);
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(27,67,50,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(45,106,79,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ==============================================
   LIGHT SECTION
   ============================================== */
.section-light {
  background: var(--steel-white);
  color: var(--forge-black);
  position: relative;
}

/* ==============================================
   GLASS CARD
   ============================================== */
.glass-card {
  padding: 28px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease-smooth);
}
.glass-card:hover {
  border-color: rgba(82,183,136,0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Light card */
.light-card {
  padding: 32px; border-radius: 12px;
  background: var(--pure-white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.light-card:hover {
  border-color: rgba(27,67,50,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

/* ==============================================
   STAT ROW
   ============================================== */
.stat-row {
  display: flex; gap: 56px; margin-top: 56px; flex-wrap: wrap;
}
.stat-number {
  font-family: var(--font-mono); font-size: 48px;
  font-weight: 500; margin-bottom: 4px;
  color: transparent;
  background: linear-gradient(135deg, var(--bright-green), var(--patina-green));
  -webkit-background-clip: text; background-clip: text;
}
.stat-label {
  font-size: 13px; color: rgba(255,255,255,0.25);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
/* Light stat variant */
.stat-row-light .stat-number {
  background: linear-gradient(135deg, var(--reforged-green), var(--patina-green));
  -webkit-background-clip: text; background-clip: text;
}
.stat-row-light .stat-label { color: var(--cool-slate); }

/* ==============================================
   SCROLL ANIMATIONS
   ============================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease-smooth),
              transform 0.8s var(--ease-smooth);
}
.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; }

/* ==============================================
   HERO (Home page — full dark immersive)
   ============================================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(27,67,50,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(45,106,79,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(27,67,50,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  top: 10%; right: -5%;
  background: radial-gradient(circle, rgba(45,106,79,0.12) 0%, rgba(27,67,50,0.04) 40%, transparent 70%);
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -30px) scale(0.95); }
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 120px; }
.hero h1 {
  font-weight: 900; font-size: 76px; letter-spacing: -0.04em;
  line-height: 0.98; max-width: 780px; margin-bottom: 32px;
}
.hero h1 .green {
  color: transparent;
  background: linear-gradient(135deg, var(--bright-green), var(--patina-green));
  -webkit-background-clip: text; background-clip: text;
}
.hero .subhead {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.4);
  max-width: 540px; margin-bottom: 48px;
}
.hero-ctas {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.hero .trust-line {
  margin-top: 32px; font-family: var(--font-mono);
  font-size: 12px; color: rgba(255,255,255,0.18); letter-spacing: 0.02em;
}

/* ==============================================
   PAGE HERO (inner pages — lighter, shorter)
   ============================================== */
.page-hero {
  padding: 140px 0 80px; position: relative;
}
.page-hero h1 {
  font-weight: 900; font-size: 56px; letter-spacing: -0.03em;
  line-height: 1.1; max-width: 720px; margin-bottom: 20px;
}
.page-hero .subhead {
  font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.35);
  max-width: 560px;
}
/* Light page hero */
.page-hero-light { background: var(--steel-white); color: var(--forge-black); }
.page-hero-light .subhead { color: var(--cool-slate); }
.page-hero-light .section-label { color: var(--reforged-green); }

/* ==============================================
   CASCADE (scroll-driven text reveal)
   ============================================== */
.cascade { padding: 180px 0; position: relative; overflow: hidden; }
.cascade::before {
  content: ''; position: absolute; left: -200px; top: 50%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,67,50,0.1) 0%, transparent 60%);
  transform: translateY(-50%);
}
.cascade-line {
  font-weight: 900; font-size: 52px; letter-spacing: -0.03em;
  line-height: 1.6; color: rgba(255,255,255,0.06);
  transition: all 1s var(--ease-smooth);
  transform: translateX(-20px);
}
.cascade-line.visible {
  color: var(--steel-white); transform: translateX(0);
}
.cascade-punchline {
  font-size: 18px; color: rgba(255,255,255,0.3); margin-top: 64px;
  line-height: 1.7; max-width: 480px;
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}
.cascade-punchline.visible { opacity: 1; transform: translateY(0); }

/* ==============================================
   TRIGGER CARDS (Problem Search)
   ============================================== */
.problem-search { padding: 140px 0; position: relative; }
.problem-search::before {
  content: ''; position: absolute; right: -100px; top: 20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,106,79,0.06) 0%, transparent 60%);
}
.problem-search h2 {
  font-weight: 900; font-size: 48px; letter-spacing: -0.03em; margin-bottom: 8px;
}
.problem-search .subtitle {
  font-size: 16px; color: rgba(255,255,255,0.35); margin-bottom: 56px; max-width: 460px;
}
.search-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; position: relative; z-index: 1;
}
.search-card {
  padding: 28px; border-radius: 12px; cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px); position: relative; overflow: hidden;
}
.search-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  background: radial-gradient(ellipse at 50% 0%, rgba(82,183,136,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.search-card:hover {
  border-color: rgba(82,183,136,0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.search-card:hover::before { opacity: 1; }
.search-card.active {
  border-color: rgba(82,183,136,0.25);
  background: rgba(45,106,79,0.08);
  box-shadow: 0 0 48px rgba(27,67,50,0.12), 0 8px 32px rgba(0,0,0,0.3);
}
.search-card.active::before { opacity: 1; }
.search-card .card-icon {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--bright-green); margin-bottom: 16px; display: block;
  opacity: 0.4; letter-spacing: 0.05em;
}
.search-card.active .card-icon { opacity: 0.8; }
.search-card .card-problem {
  font-weight: 700; font-size: 15px; line-height: 1.35; margin-bottom: 6px;
}
.search-card .card-subtext {
  font-size: 13px; color: rgba(255,255,255,0.25); line-height: 1.5;
}
.search-card .card-response {
  display: none; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 14px; color: var(--bright-green); font-weight: 500; line-height: 1.6;
  opacity: 0.8;
}
.search-card.active .card-response { display: block; }

.search-input-row {
  margin-top: 16px; padding: 20px 24px;
  border: 1px dashed rgba(255,255,255,0.06); border-radius: 12px;
  display: flex; align-items: center; gap: 16px;
  background: var(--glass); position: relative; z-index: 1;
}
.search-input-row input {
  flex: 1; border: none; outline: none; font-family: inherit;
  font-size: 15px; color: var(--steel-white); background: transparent;
}
.search-input-row input::placeholder { color: rgba(255,255,255,0.15); }
.search-input-row .input-icon {
  color: var(--bright-green); font-family: var(--font-mono);
  font-size: 13px; opacity: 0.5;
}
.search-cta {
  margin-top: 48px; text-align: center; position: relative; z-index: 1;
}
.search-cta p { font-size: 15px; color: rgba(255,255,255,0.3); margin-bottom: 24px; }

/* ==============================================
   PILLAR CARDS (The Difference)
   ============================================== */
.pillar-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
}
.pillar-card {
  padding: 40px 32px; border-radius: 16px;
  background: var(--pure-white);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
.pillar-card:hover {
  border-color: rgba(27,67,50,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
.pillar-card .pillar-num {
  font-family: var(--font-mono); font-size: 32px;
  font-weight: 500; color: rgba(27,67,50,0.3); margin-bottom: 20px;
}
.pillar-card h3 {
  font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
  color: var(--forge-black); margin-bottom: 12px;
}
.pillar-card p {
  font-size: 15px; color: var(--cool-slate); line-height: 1.7;
}

/* ==============================================
   OFFER CARDS (Pricing)
   ============================================== */
.offer-section { padding: 140px 0; position: relative; }
.offer-section::before {
  content: ''; position: absolute; left: 50%; top: 0;
  transform: translateX(-50%); width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82,183,136,0.15), transparent);
}
.offer-section h2 {
  font-weight: 900; font-size: 44px; letter-spacing: -0.03em; margin-bottom: 8px;
}
.offer-section .subtitle {
  font-size: 16px; color: rgba(255,255,255,0.35); margin-bottom: 56px;
}
.offer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.offer-card {
  padding: 36px; border-radius: 16px; transition: all 0.4s;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px); position: relative; overflow: hidden;
}
.offer-card.featured {
  border-color: rgba(82,183,136,0.2);
  background: rgba(45,106,79,0.05);
}
.offer-card.featured::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(82,183,136,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.offer-card:hover {
  border-color: rgba(82,183,136,0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
}
.offer-card .offer-tier {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--bright-green);
  margin-bottom: 12px; font-weight: 500; opacity: 0.7;
  position: relative;
}
.offer-card h3 {
  font-weight: 900; font-size: 24px; letter-spacing: -0.01em;
  margin-bottom: 6px; position: relative;
}
.offer-card .offer-price {
  font-family: var(--font-mono); font-size: 17px;
  color: var(--bright-green); font-weight: 500; margin-bottom: 4px;
  position: relative;
}
.offer-card .offer-time {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.2); margin-bottom: 24px; position: relative;
}
.offer-card ul { list-style: none; padding: 0; position: relative; }
.offer-card li {
  font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.5;
  padding: 7px 0 7px 20px; position: relative;
}
.offer-card li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--patina-green); opacity: 0.4;
}
.offer-card.featured li { color: rgba(255,255,255,0.55); }
.offer-card.featured li::before { opacity: 0.8; background: var(--bright-green); }

/* ==============================================
   PHILOSOPHY SECTION
   ============================================== */
.philosophy-section { padding: 120px 0; }
.philosophy-section h2 {
  font-weight: 900; font-size: 36px; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.philosophy-section .green-rule {
  width: 60px; height: 3px; background: var(--reforged-green);
  margin: 0 auto 24px;
}
.philosophy-section .philosophy-body {
  max-width: 680px; margin: 0 auto; text-align: center;
}
.philosophy-section .philosophy-body p {
  font-size: 17px; color: var(--cool-slate); line-height: 1.7;
  margin-bottom: 16px;
}
.philosophy-section .philosophy-body p.emphasis {
  font-style: italic; font-weight: 500; color: var(--reforged-green);
}

/* ==============================================
   TRUST SECTION (Credentials)
   ============================================== */
.trust-section {
  padding: 160px 0; position: relative; overflow: hidden;
}
.trust-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(27,67,50,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 70% 60%, rgba(45,106,79,0.1) 0%, transparent 50%);
}
.trust-section .container { position: relative; z-index: 1; }
.trust-section h2 {
  font-weight: 900; font-size: 44px; letter-spacing: -0.03em; margin-bottom: 20px;
}
.trust-section p {
  font-size: 17px; color: rgba(255,255,255,0.45); line-height: 1.7;
  max-width: 600px; margin-bottom: 16px;
}

/* ==============================================
   FOOTER CTA (Cinematic close)
   ============================================== */
.footer-cta {
  padding: 180px 0; text-align: center; position: relative; overflow: hidden;
}
.footer-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 500px at 50% 60%, rgba(27,67,50,0.2) 0%, transparent 60%);
}
.footer-cta .container { position: relative; z-index: 1; }
.footer-cta .pre-line {
  font-size: 15px; color: rgba(255,255,255,0.2); margin-bottom: 24px;
  font-style: italic;
}
.footer-cta h2 {
  font-weight: 900; font-size: 56px; letter-spacing: -0.03em;
  margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto;
  line-height: 1.04;
}
.footer-cta .footer-sub {
  font-size: 16px; color: rgba(255,255,255,0.3); margin-bottom: 44px;
  max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.footer-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
  color: rgba(255,255,255,0.2);
  padding: 48px var(--section-pad-x);
  text-align: center;
}
.site-footer .f-wordmark {
  font-weight: 900; font-size: 13px; letter-spacing: -0.02em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}
.site-footer p { font-size: 12px; }
.site-footer a { color: rgba(255,255,255,0.3); text-decoration: none; }
.site-footer a:hover { color: rgba(255,255,255,0.5); }
.site-footer .f-tagline {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.1); margin-top: 12px;
}

/* Light footer */
.site-footer-light {
  background: var(--steel-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  color: var(--cool-slate);
}
.site-footer-light .f-wordmark { color: rgba(26,26,26,0.3); }
.site-footer-light p { color: var(--cool-slate); }
.site-footer-light a { color: var(--cool-slate); }
.site-footer-light .f-tagline { color: rgba(100,116,139,0.4); }

/* ==============================================
   HOW-WE-WORK — FORGE Steps
   ============================================== */
.forge-steps { position: relative; padding-left: 48px; }
.forge-steps::before {
  content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, var(--patina-green), rgba(45,106,79,0.1));
}
.forge-step {
  position: relative; margin-bottom: 56px; padding-left: 24px;
  opacity: 0; transform: translateX(-16px);
  transition: all 0.7s var(--ease-smooth);
}
.forge-step.visible { opacity: 1; transform: translateX(0); }
.forge-step:last-child { margin-bottom: 0; }
.forge-step::before {
  content: ''; position: absolute; left: -48px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--patina-green);
  box-shadow: 0 0 12px rgba(45,106,79,0.4);
}
.forge-step .step-num {
  font-family: var(--font-mono); font-size: 12px;
  font-weight: 500; color: var(--bright-green); opacity: 0.6;
  margin-bottom: 8px; letter-spacing: 0.05em;
}
.forge-step h3 {
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  margin-bottom: 8px; line-height: 1.3;
}
.forge-step p {
  font-size: 15px; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 540px;
}

/* Philosophy card (How We Work) */
.philosophy-card {
  padding: 40px 48px; border-radius: 16px;
  background: rgba(27,67,50,0.04);
  border: 1px solid rgba(27,67,50,0.08);
  max-width: 640px; margin: 0 auto;
}
.philosophy-card h3 {
  font-weight: 700; font-size: 26px; letter-spacing: -0.01em;
  color: var(--forge-black); margin-bottom: 16px;
}
.philosophy-card p {
  font-size: 16px; color: var(--cool-slate); line-height: 1.7;
}

/* Sample output mockup */
.mockup-card {
  max-width: 600px; margin: 0 auto;
  background: var(--pure-white); border-radius: 8px;
  padding: 48px; color: var(--forge-black);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mockup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mockup-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 2px solid var(--reforged-green);
}
.mockup-header .mockup-logo {
  font-weight: 900; font-size: 14px; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--forge-black);
}
.mockup-header .mockup-type {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--cool-slate); text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mockup-section { margin-bottom: 24px; }
.mockup-section .mockup-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--reforged-green); margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.mockup-section h4 {
  font-weight: 700; font-size: 16px; margin-bottom: 8px;
  color: var(--forge-black);
}
.mockup-section p {
  font-size: 14px; color: var(--cool-slate); line-height: 1.6;
}
.mockup-section .redacted {
  background: rgba(100,116,139,0.15); border-radius: 3px;
  color: transparent; user-select: none;
}
.mockup-section .fit-good {
  color: var(--reforged-green); font-weight: 600;
}
.mockup-footer {
  margin-top: 32px; padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 13px; color: var(--cool-slate); font-style: italic;
}

/* ==============================================
   ABOUT PAGE
   ============================================== */
.about-hero-grid {
  display: grid; grid-template-columns: 2fr 3fr; gap: 64px;
  align-items: start;
}
.about-photo {
  border-radius: 16px; width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(27,67,50,0.15), rgba(45,106,79,0.05));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--cool-slate); text-transform: uppercase;
  letter-spacing: 0.1em; border: 1px solid rgba(0,0,0,0.06);
}
.about-copy h1 {
  font-weight: 900; font-size: 48px; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 24px;
}
.about-copy p {
  font-size: 17px; color: var(--cool-slate); line-height: 1.7;
  margin-bottom: 16px;
}
.about-copy .highlight {
  font-weight: 500; color: var(--reforged-green);
}

/* Principles (About dark section) */
.principle { margin-bottom: 32px; }
.principle:last-child { margin-bottom: 0; }
.principle h3 {
  font-weight: 700; font-size: 20px; margin-bottom: 8px;
}
.principle p {
  font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.7;
}

/* Archetype cards */
.archetype-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
}
.archetype-card {
  padding: 32px; border-radius: 12px;
  background: var(--pure-white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.archetype-card:hover {
  border-color: rgba(27,67,50,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.archetype-card h3 {
  font-weight: 700; font-size: 18px; margin-bottom: 8px;
}
.archetype-card .revenue {
  font-family: var(--font-mono); font-size: 13px;
  color: rgba(100,116,139,0.6); margin-bottom: 12px;
}
.archetype-card .problem {
  font-size: 15px; color: var(--cool-slate); font-style: italic;
  line-height: 1.6; margin-bottom: 8px;
}
.archetype-card .fit {
  font-size: 14px; font-weight: 500; color: var(--reforged-green); line-height: 1.5;
}

/* Red flags */
.red-flag-item {
  padding: 16px 0 16px 28px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.6;
}
.red-flag-item::before {
  content: '\00d7'; position: absolute; left: 0; top: 16px;
  font-size: 20px; color: rgba(255,100,100,0.5); font-weight: 700;
}

/* ==============================================
   DIAGNOSTIC PAGE
   ============================================== */
.diagnostic-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.diagnostic-benefit {
  padding: 12px 0 12px 28px; position: relative;
  font-size: 16px; color: var(--cool-slate); line-height: 1.6;
}
.diagnostic-benefit::before {
  content: '\2713'; position: absolute; left: 0; top: 12px;
  font-size: 18px; color: var(--reforged-green); font-weight: 700;
}
.diagnostic-steps {
  margin-top: 32px;
}
.diagnostic-step {
  margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline;
}
.diagnostic-step .step-indicator {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(27,67,50,0.6); white-space: nowrap;
}
.diagnostic-step span {
  font-weight: 500; font-size: 15px;
}
.diagnostic-trust {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(100,116,139,0.5); line-height: 1.6; margin-top: 32px;
}

/* Diagnostic form */
.diagnostic-form {
  background: var(--pure-white); border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px; padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--forge-black); margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 16px; font-family: inherit;
  font-size: 15px; color: var(--forge-black);
  background: var(--steel-white);
  border: 1px solid rgba(100,116,139,0.2);
  border-radius: 8px; transition: all 0.3s ease;
}
.form-group input { height: 54px; }
.form-group textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--reforged-green);
  box-shadow: 0 0 0 3px rgba(27,67,50,0.1);
  background: var(--pure-white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(100,116,139,0.4); }

.form-submit {
  width: 100%; height: 54px; border: none; border-radius: 8px;
  background: var(--reforged-green); color: var(--pure-white);
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.form-submit:hover {
  background: #163828;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,67,50,0.25);
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-footer {
  font-size: 13px; color: rgba(100,116,139,0.6);
  line-height: 1.5; margin-top: 16px; text-align: center;
}

/* ==============================================
   INSIGHTS PAGE
   ============================================== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px; border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--cool-slate); cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  border-color: rgba(27,67,50,0.3);
  color: var(--reforged-green);
}
.filter-btn.active {
  background: var(--reforged-green);
  border-color: var(--reforged-green);
  color: var(--pure-white);
}

/* Featured post card */
.featured-post {
  background: var(--pure-white); border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px; padding: 48px;
  transition: all 0.3s ease; cursor: pointer;
  text-decoration: none; display: block;
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
}
.category-tag {
  display: inline-block; padding: 4px 12px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--reforged-green); color: var(--pure-white);
  margin-bottom: 16px;
}
.featured-post h2 {
  font-weight: 700; font-size: 32px; letter-spacing: -0.01em;
  line-height: 1.2; margin-bottom: 12px; color: var(--forge-black);
}
.featured-post .excerpt {
  font-size: 16px; color: var(--cool-slate); line-height: 1.7;
  margin-bottom: 20px; max-width: 680px;
}
.post-meta {
  font-size: 14px; color: rgba(100,116,139,0.6);
}
.read-more {
  font-weight: 500; font-size: 15px; color: var(--reforged-green);
  text-decoration: none; margin-top: 16px; display: inline-block;
}
.read-more:hover { text-decoration: underline; }

/* Post grid */
.post-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
}
.post-card {
  background: var(--pure-white); border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px; padding: 32px;
  transition: all 0.3s ease; cursor: pointer;
  display: flex; flex-direction: column;
  text-decoration: none;
}
.post-card:hover {
  border-color: rgba(27,67,50,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.post-card h3 {
  font-weight: 700; font-size: 20px; line-height: 1.3;
  margin-bottom: 12px; color: var(--forge-black);
}
.post-card .excerpt {
  font-size: 15px; color: var(--cool-slate); line-height: 1.6;
  margin-bottom: 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .post-meta { font-size: 13px; }

/* ==============================================
   MOBILE CTA BAR
   ============================================== */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: none; justify-content: center;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-smooth);
}
.mobile-cta-bar.visible { transform: translateY(0); }
.mobile-cta-bar .btn-glow { width: 100%; max-width: 400px; justify-content: center; }

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1023px) {
  .side-progress { display: none; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .diagnostic-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  :root { --section-pad-x: 24px; }

  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .mobile-cta-bar { display: flex; }

  /* Hero */
  .hero h1 { font-size: 42px; }
  .hero-content { padding: 120px 0 80px; }

  /* Page hero */
  .page-hero { padding: 100px 0 60px; }
  .page-hero h1 { font-size: 36px; }

  /* Cascade */
  .cascade { padding: 100px 0; }
  .cascade-line { font-size: 36px; }

  /* Grids */
  .search-grid,
  .pillar-grid,
  .offer-grid,
  .archetype-grid,
  .post-grid { grid-template-columns: 1fr; }
  .post-grid { gap: 16px; }

  /* Trigger cards */
  .problem-search { padding: 80px 0; }
  .problem-search h2 { font-size: 32px; }

  /* Offer */
  .offer-section { padding: 80px 0; }
  .offer-section h2 { font-size: 32px; }

  /* Stats */
  .stat-row { gap: 32px; }
  .stat-number { font-size: 36px; }

  /* Trust */
  .trust-section { padding: 100px 0; }
  .trust-section h2 { font-size: 32px; }

  /* Footer CTA */
  .footer-cta { padding: 100px 0; }
  .footer-cta h2 { font-size: 36px; }

  /* Philosophy */
  .philosophy-section h2 { font-size: 28px; }
  .philosophy-card { padding: 28px; }

  /* About */
  .about-copy h1 { font-size: 36px; }
  .about-photo { aspect-ratio: 4/3; }

  /* Diagnostic form */
  .diagnostic-form { padding: 32px; }

  /* Featured post */
  .featured-post { padding: 28px; }
  .featured-post h2 { font-size: 24px; }

  /* Sections padding */
  .section-dark,
  .section-light { /* controlled per-section */ }

  /* Pillar section */
  .pillar-grid { gap: 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cascade-line { color: var(--steel-white); transform: none; }
  .cascade-punchline { opacity: 1; transform: none; }
  .forge-step { opacity: 1; transform: none; }
}
