
/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════ */
:root {
  --void:       #070A08;
  --forest:     #0C1E13;
  --deep:       #112819;
  --pine:       #1A3822;
  --moss:       #27522F;
  --sage:       #3A6E47;
  --mid:        #5E8A6C;
  --mist:       #9AB8A4;
  --fog:        #CDD9D2;
  --paper:      #F0F4F1;
  --white:      #F9FCF9;

  --lime:       #C8F04B;
  --lime-soft:  rgba(200,240,75,0.12);
  --lime-glow:  rgba(200,240,75,0.05);

  --text-primary:   #0C1E13;
  --text-secondary: #3D5E4A;
  --text-muted:     #6B8C76;
  --text-inv:       rgba(255,255,255,0.93);
  --text-dim:       rgba(255,255,255,0.52);
  --text-ghost:     rgba(255,255,255,0.22);

  --border:      rgba(12,30,19,0.09);
  --border-inv:  rgba(255,255,255,0.09);
  --border-lime: rgba(200,240,75,0.28);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', 'Courier New', monospace;

  --max: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.11), 0 6px 20px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 60px rgba(200,240,75,0.18), 0 0 120px rgba(200,240,75,0.06);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-mid: 280ms;
  --t-slow: 480ms;
}

/* ═══════════════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══════════════════════════════════════════════════════
   PAGE SYSTEM
═══════════════════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(249,252,249,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
nav.scrolled {
  background: rgba(249,252,249,0.96);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--forest);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: var(--lime);
  border-radius: 50%;
  bottom: 6px; right: 6px;
}
.nav-logo-mark svg {
  width: 16px; height: 16px;
  fill: rgba(255,255,255,0.85);
}
.nav-logo-text {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--text-primary); background: var(--paper); }
.nav-links a.active { color: var(--text-primary); background: var(--paper); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--forest);
  color: var(--text-inv);
  padding: 0.5625rem 1.25rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out);
  letter-spacing: -0.01em;
}
.nav-cta:hover { background: var(--pine); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ═══════════════════════════════════════════════════════
   TYPE UTILITIES
═══════════════════════════════════════════════════════ */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--lime);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow-inv {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200,240,75,0.7);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.eyebrow-inv::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--lime);
  border-radius: 2px;
  flex-shrink: 0;
}
.display {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.display em { font-style: italic; color: var(--sage); }
.display-inv {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-inv);
}
.display-inv em { font-style: italic; color: var(--lime); }
.headline {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
.headline-inv {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-inv);
}
.subhead {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 54ch;
}
.subhead-inv {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--text-dim);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--forest);
  color: var(--text-inv);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.875rem 1.875rem;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease);
}
.btn-primary:hover {
  background: var(--pine);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }

.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.875rem 1.875rem;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: filter var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease);
}
.btn-lime:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,240,75,0.35);
}
.btn-lime:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-inv);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.875rem 1.875rem;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.22);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.875rem 1.875rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out);
}
.btn-outline:hover {
  border-color: var(--forest);
  background: var(--paper);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   HERO — HOME
═══════════════════════════════════════════════════════ */
.hero {
  background: var(--forest);
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid rgba(200,240,75,0.08);
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,240,75,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,240,75,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 1;
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(200,240,75,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(42,90,56,0.4) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,240,75,0.85);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-lime);
  border-radius: 999px;
  background: rgba(200,240,75,0.05);
  margin-bottom: 2rem;
  width: fit-content;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--text-inv);
  max-width: 16ch;
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--lime);
}
.hero-sub {
  font-size: 1.1875rem;
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 50ch;
  margin-bottom: 2.75rem;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
}
.hero-divider {
  width: 100%;
  height: 1px;
  background: var(--border-inv);
  margin-bottom: 3rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 3rem;
  width: fit-content;
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.04em;
  margin-bottom: 0.35rem;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-ghost);
  line-height: 1.5;
  max-width: 18ch;
}

/* ═══════════════════════════════════════════════════════
   PROOF BAR
═══════════════════════════════════════════════════════ */
.proof-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem var(--pad);
  overflow: hidden;
}
.proof-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.proof-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.proof-divider {
  width: 1px; height: 20px;
  background: var(--border);
  flex-shrink: 0;
}
.proof-items {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.proof-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}
.proof-item-dot {
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  background: var(--void);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 0.875rem 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.ticker-item-dot {
  width: 4px; height: 4px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   THREE PILLARS
═══════════════════════════════════════════════════════ */
.pillars-section {
  padding: 6rem 0;
}
.pillars-header {
  text-align: center;
  margin-bottom: 4rem;
}
.pillars-header .eyebrow { justify-content: center; }
.pillars-header .eyebrow::before { display: none; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pillar {
  background: var(--white);
  padding: 2.75rem;
  position: relative;
  transition: background var(--t-mid) var(--ease);
}
.pillar:hover { background: var(--paper); }
.pillar-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--fog);
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  transition: color var(--t-mid) var(--ease);
}
.pillar:hover .pillar-number { color: var(--lime); }
.pillar-tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.875rem;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.pillar p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text-muted);
}
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage);
  margin-top: 1.75rem;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  letter-spacing: -0.01em;
}
.pillar-link:hover { gap: 0.75rem; color: var(--forest); }
.pillar-link-arrow {
  font-size: 1rem;
  transition: transform var(--t-fast) var(--ease-out);
}
.pillar-link:hover .pillar-link-arrow { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════
   PRODUCTS STRIP
═══════════════════════════════════════════════════════ */
.products-strip {
  background: var(--void);
  padding: 5rem var(--pad);
  position: relative;
  overflow: hidden;
}
.products-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,240,75,0.3), transparent);
}
.products-strip-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(42,90,56,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.products-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.product-card {
  background: rgba(12,30,19,0.6);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: background var(--t-mid) var(--ease);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
}
.product-card:hover { background: rgba(26,56,34,0.6); }
.product-card:hover::before { transform: scaleX(1); }
.product-type {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,240,75,0.6);
  margin-bottom: 1rem;
}
.product-name {
  font-family: var(--serif);
  font-size: 1.625rem;
  color: var(--text-inv);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.875rem;
}
.product-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-dim);
  flex: 1;
  margin-bottom: 1.75rem;
}
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-ghost);
}
.product-status.live { color: var(--lime); }
.product-status.live::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════
   DIFFERENTIATOR
═══════════════════════════════════════════════════════ */
.diff-section {
  background: var(--paper);
  padding: 6rem var(--pad);
  position: relative;
  overflow: hidden;
}
.diff-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.diff-left {}
.diff-quote {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  padding-left: 2rem;
  border-left: 3px solid var(--lime);
  margin-bottom: 2.5rem;
}
.diff-right p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.diff-right p:last-child { margin-bottom: 0; }
.diff-right strong { color: var(--text-secondary); font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════ */
.cta-band {
  background: var(--forest);
  padding: 5rem var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,240,75,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-band .eyebrow-inv { justify-content: center; }
.cta-band .eyebrow-inv::before { display: none; }
.cta-band .headline-inv { margin-bottom: 1.25rem; }
.cta-band .subhead-inv { margin-bottom: 2.5rem; max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════ */
.about-hero {
  background: var(--paper);
  padding: clamp(4rem, 8vw, 7rem) var(--pad) 0;
  border-bottom: 1px solid var(--border);
}
.about-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 5rem;
}
.about-hero .headline { max-width: 22ch; margin-top: 1rem; }

.about-section {
  padding: 5rem 0;
}
.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.about-timeline {
  display: flex;
  flex-direction: column;
}
.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.timeline-item:last-child { border-bottom: 1px solid var(--border); }
.timeline-year {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
}
.timeline-content h4 {
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}
.timeline-content p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.founder-card {
  background: var(--forest);
  border-radius: var(--r-lg);
  padding: 2.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(200,240,75,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.founder-name {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--text-inv);
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}
.founder-role {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.75rem;
}
.founder-bio {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-top: 1px solid var(--border-inv);
  padding-top: 1.75rem;
}
.credential {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  line-height: 1.5;
}
.credential-mark {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.build-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.75rem;
}
.build-note-head {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.build-note p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════════════════ */
.services-hero {
  background: var(--paper);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  border-bottom: 1px solid var(--border);
}
.services-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
}
.services-matrix {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}
.matrix-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.matrix-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.125rem;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease);
}
.matrix-chip:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.matrix-chip-name {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.3rem;
}
.matrix-chip-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.service-block {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}
.service-number {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--fog);
  letter-spacing: -0.05em;
  margin-bottom: 1.25rem;
}
.service-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  line-height: 1.2;
}
.service-fit {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-fit strong {
  color: var(--sage);
  display: block;
  margin-bottom: 0.3rem;
}
.service-lead {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.service-desc {
  font-size: 0.9375rem;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.deliverables {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.deliverable {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  line-height: 1.5;
}
.deliverable-mark {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--lime);
  background: var(--forest);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════ */
.contact-page {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-left {
  background: var(--forest);
  padding: clamp(3rem, 6vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.contact-left::before {
  content: '';
  position: absolute;
  top: -20%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(200,240,75,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.contact-left-content { position: relative; z-index: 1; }
.contact-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-inv);
  margin-bottom: 1.25rem;
}
.contact-headline em { font-style: italic; color: var(--lime); }
.contact-tagline {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 40ch;
  margin-bottom: 3rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-item-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.35rem;
  opacity: 0.8;
}
.contact-item-val {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.contact-bottom-note {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-ghost);
  border-top: 1px solid var(--border-inv);
  padding-top: 1.75rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.contact-right {
  padding: clamp(3rem, 6vw, 5.5rem);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-right h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.contact-right > p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}
.form-field { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.8125rem 1rem;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  -webkit-appearance: none;
  letter-spacing: -0.01em;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(58,110,71,0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; }
.form-fine {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   PORTFOLIO PAGE
═══════════════════════════════════════════════════════ */
.port-hero {
  background: var(--void);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  position: relative;
  overflow: hidden;
}
.port-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(42,90,56,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.port-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.port-hero .display-inv { max-width: 18ch; margin-bottom: 1.25rem; }
.port-hero-sub {
  font-size: 1.125rem;
  color: var(--text-dim);
  max-width: 52ch;
  line-height: 1.72;
}

.port-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad);
  position: sticky;
  top: 68px;
  z-index: 100;
}
.port-filter-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 0;
}
.filter-tab {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  letter-spacing: -0.01em;
}
.filter-tab:hover { color: var(--text-primary); }
.filter-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--forest);
}

.port-section { padding: 4rem 0; }
.port-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Case studies */
.case-featured {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: box-shadow var(--t-mid) var(--ease);
  box-shadow: var(--shadow-sm);
}
.case-featured:hover { box-shadow: var(--shadow-lg); }
.case-featured-left {
  background: var(--forest);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.case-featured-left::before {
  content: '';
  position: absolute;
  bottom: -30%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(200,240,75,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.case-type {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200,240,75,0.65);
  margin-bottom: 0.75rem;
}
.case-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text-inv);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.case-question {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.65;
  font-style: italic;
}
.case-tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.case-tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200,240,75,0.7);
  border: 1px solid var(--border-lime);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}
.case-featured-right {
  background: var(--white);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.case-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.case-stat {}
.case-stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--forest);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.case-stat-lbl {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.case-finding {
  background: var(--paper);
  border-left: 3px solid var(--lime);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.case-finding-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}
.case-finding p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text-secondary);
}
.case-deliverables {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.case-del {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}
.case-del::before {
  content: '→';
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.case-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.case-card-action {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
  letter-spacing: -0.01em;
}
.case-card-action:hover { color: var(--forest); }

/* Case grid */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 1.5rem;
}
.case-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background var(--t-mid) var(--ease);
}
.case-card:hover { background: var(--paper); }
.case-card-top {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.case-card-type {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}
.case-card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}
.case-card-question {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}
.case-card-finding {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.case-card-bottom {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.case-card-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.tag-sm {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* Tool cards */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.tool-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}
.tool-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tool-card-header {
  background: var(--forest);
  padding: 2rem;
}
.tool-type {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.tool-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--text-inv);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.tool-card-body {
  padding: 2rem;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tool-problem {
  font-family: var(--serif);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: var(--text-primary);
}
.tool-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.tool-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
}
.tool-feat {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  line-height: 1.5;
}
.tool-feat::before {
  content: '✓';
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.tool-card-footer {
  padding: 1.25rem 2rem;
  background: var(--paper);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-status {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.tool-status.live { color: var(--sage); }
.tool-status.live::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Brand card */
.brand-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 2fr;
  transition: box-shadow var(--t-mid) var(--ease);
}
.brand-card:hover { box-shadow: var(--shadow-md); }
.brand-left {
  background: linear-gradient(135deg, #1a1a2a 0%, #2d1a4a 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand-wordmark {
  font-family: var(--serif);
  font-size: 1.875rem;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--text-inv);
  line-height: 1.2;
}
.brand-tagline {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
}
.brand-rating { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.brand-stars { color: #f4a261; letter-spacing: 0.05em; font-size: 1rem; }
.brand-right { padding: 3rem; background: var(--white); }
.brand-right h3 {
  font-family: var(--serif);
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.brand-right p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.brand-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.brand-feat {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.brand-feat::before {
  content: '→';
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.restricted-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-sm);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: var(--void);
  padding: 4rem var(--pad) 3rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,240,75,0.2), transparent);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.875rem;
  cursor: pointer;
}
.footer-logo-mark {
  width: 28px; height: 28px;
  background: var(--pine);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.footer-logo-mark::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  bottom: 5px; right: 5px;
}
.footer-logo-mark svg {
  width: 14px; height: 14px;
  fill: rgba(255,255,255,0.7);
}
.footer-logo-text {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-ghost);
  max-width: 28ch;
  line-height: 1.6;
}
.footer-links-group {
  display: flex;
  gap: 4rem;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.footer-col ul a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-note {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════════════════════
   HAMBURGER
═══════════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease);
}
.nav-hamburger:hover { background: var(--paper); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-mid) var(--ease);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(249,252,249,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    z-index: 199;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border-radius: var(--r-sm);
  }
  .nav-cta { display: none; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 2rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .diff-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .services-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-page { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .case-featured { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links-group { gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #page-home section[style*="grid-template-columns:repeat(3,1fr)"] > div,
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .hero { padding: 4rem var(--pad) 3.5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-lime,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .section { padding: 4rem 0; }
  .pillars-grid { border-radius: var(--r-md); }
  .products-grid { border-radius: var(--r-md); }
  .matrix-row { grid-template-columns: 1fr; }
  .case-stats-grid { grid-template-columns: 1fr 1fr; }
  .brand-features { grid-template-columns: 1fr; }
  .footer-links-group { flex-direction: column; gap: 2rem; }
}


/* ═══════════════════════════════════════════════════════
   READABILITY + STYLE CLEANUP OVERRIDES
═══════════════════════════════════════════════════════ */
:root {
  --void: #0f1713;
  --forest: #14231c;
  --deep: #1b2d24;
  --pine: #21372b;
  --moss: #2f4b3a;
  --sage: #466a55;
  --mid: #6a8677;
  --mist: #a3b8ac;
  --fog: #d9e4dd;
  --paper: #f4f7f4;
  --white: #ffffff;

  --lime: #9fc65a;
  --lime-soft: rgba(159,198,90,0.12);
  --lime-glow: rgba(159,198,90,0.04);

  --text-primary: #16261e;
  --text-secondary: #30453a;
  --text-muted: #4e6358;
  --text-inv: #f6fbf7;
  --text-dim: #d9e5de;
  --text-ghost: #b7c6bd;

  --border: rgba(22,38,30,0.12);
  --border-inv: rgba(255,255,255,0.16);
  --border-lime: rgba(159,198,90,0.34);

  --serif: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  color: var(--text-primary);
  background: var(--white);
}

em,
.display em,
.display-inv em,
.hero-headline em,
.contact-headline em {
  font-style: normal;
  color: inherit;
}

.eyebrow,
.eyebrow-inv {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  gap: 0;
  margin-bottom: 0.85rem;
}
.eyebrow { color: var(--text-secondary); }
.eyebrow-inv { color: #dce8e1; }
.eyebrow::before,
.eyebrow-inv::before { display: none; }

.display,
.display-inv,
.headline,
.headline-inv,
.hero-headline,
.contact-headline,
.founder-name,
.case-title,
.product-name,
.service-title,
.pillar h3,
.diff-quote,
.contact-right h2,
.about-hero .headline,
.port-hero .display-inv {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.subhead,
.subhead-inv,
.hero-sub,
.product-desc,
.case-question,
.founder-bio,
.contact-tagline,
.port-hero-sub,
.contact-item-val,
.contact-bottom-note,
.credential,
.timeline-content p,
.case-finding p,
.case-del,
.proof-item,
.service-desc,
.deliverable,
.matrix-chip-desc,
.pillar p,
.diff-right p,
.build-note p,
.form-fine {
  color: var(--text-muted);
}

nav,
nav.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(22,38,30,0.06);
}
.nav-logo-text,
.nav-links a.active,
.nav-links a:hover,
.filter-tab.active,
.filter-tab:hover { color: var(--text-primary); }
.nav-links a,
.filter-tab,
.proof-label { color: var(--text-secondary); }

.hero,
.products-strip,
.cta-band,
.port-hero,
.contact-left,
.founder-card,
.case-featured-left {
  background: var(--forest);
}

.hero,
.products-strip,
.cta-band,
.port-hero {
  border-bottom-color: rgba(255,255,255,0.08);
}

.hero {
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 5.5rem);
}
.hero-badge {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
  color: #e7f0ea;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.hero-badge-dot {
  animation: none;
  opacity: 0.9;
}
.hero-headline {
  max-width: 14ch;
  line-height: 1.02;
}
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 56ch;
}
.hero-sub[style] {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: var(--text-ghost) !important;
  margin-top: 0.25rem !important;
}
.hero-actions {
  margin-bottom: 0;
}
.hero-divider,
.hero-stats,
.proof-bar,
.ticker-wrap,
.hero-noise,
.hero-glow-1,
.hero-glow-2,
.products-strip-glow { display: none !important; }

.btn-lime {
  background: var(--lime);
  color: #132119;
  font-weight: 700;
  box-shadow: none;
}
.btn-ghost {
  color: var(--text-inv);
  border-color: rgba(255,255,255,0.28);
}
.btn-outline {
  color: var(--text-primary);
  border-color: rgba(22,38,30,0.16);
}

.pillars-section,
.about-hero,
.services-hero,
.port-filter-bar,
.port-section,
.diff-section,
.contact-right {
  background: var(--white);
}

.pillars-header,
.products-header,
.about-hero-inner,
.services-hero-inner,
.port-hero-inner {
  max-width: var(--max);
}

.pillars-grid,
.products-grid,
.case-grid,
.case-featured,
.matrix-chip,
.build-note,
.founder-card,
.product-card,
.case-featured-right,
.case-grid .case-card,
.deliverables,
.credential-list {
  border-radius: 14px;
}

.pillars-grid,
.products-grid,
.case-featured,
.case-grid {
  background: var(--border);
  border-color: var(--border);
}

.pillar,
.case-featured-right,
.case-grid .case-card,
.matrix-chip,
.build-note {
  background: var(--white);
}
.pillar-number,
.service-number { color: #ccd8d0; }
.pillar:hover,
.matrix-chip:hover {
  background: #f8faf8;
}
.pillar-tag,
.product-type,
.case-type,
.case-finding-label,
.matrix-chip-name,
.service-fit,
.founder-role,
.contact-item-label,
.form-label,
.case-tag,
.product-status,
.timeline-year {
  font-family: var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pillar-tag,
.matrix-chip-name,
.service-fit,
.timeline-year,
.case-finding-label,
.form-label,
.build-note-head,
.contact-item-label {
  color: var(--text-secondary);
}

.products-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.product-card {
  background: #193025;
}
.product-card:hover { background: #21382d; }
.product-name,
.headline-inv,
.display-inv,
.contact-headline,
.contact-left .eyebrow-inv,
.case-title { color: var(--text-inv); }
.product-desc,
.case-question,
.port-hero-sub,
.contact-tagline,
.founder-bio,
.contact-item-val,
.contact-bottom-note,
.credential,
.subhead-inv {
  color: var(--text-dim);
}
.product-type,
.case-type,
.founder-role,
.eyebrow-inv,
.product-status,
.case-tag {
  color: #dce8e1;
}
.product-status.live,
.product-status,
.case-tag,
.btn-ghost,
.hero-badge {
  border-color: rgba(255,255,255,0.22);
}
.product-status,
.product-card a.product-status {
  color: #eef5f0;
}

.diff-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.diff-inner {
  gap: 3.5rem;
}
.diff-quote {
  border-left-color: var(--sage);
  padding-left: 1.5rem;
}

.cta-band .eyebrow-inv,
.products-header .eyebrow-inv,
.port-hero .eyebrow-inv,
.contact-left .eyebrow-inv {
  color: #dce8e1;
}

.about-hero,
.services-hero {
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.about-hero .headline,
.services-hero .headline,
.contact-right h2,
.service-lead,
.service-title,
.timeline-content h4,
.case-stat-num,
.hero-stat-num,
.founder-name,
.product-name,
.case-title {
  color: var(--text-primary);
}
.service-lead,
.diff-quote { line-height: 1.45; }
.service-desc,
.deliverable,
.timeline-content p,
.build-note p,
.case-del,
.case-stat-lbl { color: var(--text-muted); }

.contact-page {
  grid-template-columns: 1.05fr 0.95fr;
}
.contact-right {
  background: #f6f8f6;
}
.form-input,
.form-select,
.form-textarea {
  background: #ffffff;
  border-color: rgba(22,38,30,0.14);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(70,106,85,0.14);
}

.case-featured-left::before,
.founder-card::before,
.port-hero::before,
.cta-band::before {
  opacity: 0.45;
}
.case-stats-grid,
.case-deliverables,
.deliverables,
.credential-list {
  gap: 0.75rem;
}
.case-finding,
.build-note {
  background: #f7faf7;
  border-left-color: var(--sage);
}
.case-finding p,
.case-del,
.case-stat-lbl { color: var(--text-secondary); }

.reveal {
  transition-duration: 0.45s;
}

/* Force readable text inside dark cards that were previously styled with low-opacity inline colors */
.products-strip * ,
.cta-band *,
.contact-left *,
.founder-card *,
.case-featured-left * {
  text-shadow: none;
}

@media (max-width: 1024px) {
  .diff-inner,
  .about-grid,
  .services-hero-inner,
  .contact-page,
  .case-featured {
    grid-template-columns: 1fr;
  }
  .products-grid,
  .pillars-grid,
  .case-grid,
  .port-filter-inner {
    grid-template-columns: 1fr;
  }
  .products-grid { display: grid; }
}

@media (max-width: 760px) {
  .hero-headline,
  .display,
  .display-inv,
  .headline,
  .headline-inv,
  .contact-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-sub,
  .subhead,
  .subhead-inv,
  .port-hero-sub {
    font-size: 1rem;
  }
  .pillars-grid,
  .products-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}


/* FINAL REFINEMENT */
body { font-size: 16px; }
.hero-badge { display:none !important; }
.hero-headline { max-width: 17ch; font-size: clamp(2.8rem, 5.8vw, 5rem); }
.hero-sub { max-width: 62ch; }
.section, .pillars-section { padding-top: 5rem; padding-bottom: 5rem; }
.pillars-header { text-align:left; margin-bottom:2.5rem; }
.pillars-header .eyebrow { justify-content:flex-start; }
.pillars-header .headline,
.pillars-header .subhead { margin-left:0 !important; margin-right:0 !important; text-align:left !important; }
.pillars-grid { gap:1rem; background:transparent; border:none; border-radius:0; overflow:visible; }
.pillar { border:1px solid var(--border); border-radius:12px; padding:2.25rem; }
.pillar-number { font-size:1rem; font-family:var(--sans); font-weight:700; color:var(--text-secondary); letter-spacing:0; margin-bottom:1rem; }
.pillar:hover .pillar-number { color:var(--text-secondary); }
.pillar-link { color:var(--text-secondary); }
.pillar-link:hover { color:var(--text-primary); }
.case-question { font-style:normal; }
.case-tag { border-radius:4px; }
.case-featured, .product-card, .founder-card { box-shadow:none; }
.case-featured:hover { box-shadow:0 8px 30px rgba(17,35,28,0.08); }
.case-finding-label { font-weight:700; }
.restricted-badge { color:var(--text-muted); background:#f4f7f4; border:1px solid var(--border); }
.case-featured-left[style] { background:var(--forest) !important; }
.products-strip::before, .case-featured-left::before, .founder-card::before, .port-hero::before, .cta-band::before { display:none !important; }
.products-grid { gap:1rem; background:transparent; border:none; border-radius:0; }
.product-card { border:1px solid rgba(255,255,255,0.14); border-radius:12px; }
.product-card::before { display:none; }
.diff-quote { border-left:2px solid var(--sage); }
.nav-cta, .btn-primary, .btn-lime, .btn-ghost, .btn-outline { border-radius:6px; }
@media (max-width: 760px) {
  .section, .pillars-section { padding-top:3.75rem; padding-bottom:3.75rem; }
  .pillar { padding:1.5rem; }
}


/* CONTRAST AUDIT */
.engagement-dark p,
.engagement-dark div[style*="color:rgba(255,255,255,0.6)"],
.engagement-dark div[style*="color:rgba(255,255,255,0.5)"],
.engagement-dark div[style*="color:rgba(255,255,255,0.45)"],
.engagement-dark span[style*="color:rgba(255,255,255"] {
  color: #e0e9e3 !important;
}
.engagement-dark > div:first-child { color:#d8e5dc !important; }
.founder-card .credential,
.contact-left .contact-item-val,
.contact-left .contact-bottom-note {
  color:#d7e2db !important;
}
.case-featured-left .case-question,
.port-hero-sub,
.products-strip .product-desc,
.cta-band .subhead-inv {
  color:#dce6df !important;
}
.product-type,
.case-type,
.founder-role,
.contact-item-label {
  color:#d7e5dc !important;
}
