@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@300;400&display=swap');

/* ============================================================
   CSS VARIABLES — BRAND SYSTEM
   ============================================================ */
:root {
  --ink: #0A0C10;
  --ink-card: #0F1320;
  --emerald: #00C896;
  --emerald-dark: #007A5E;
  --emerald-glow: rgba(0,200,150,0.15);
  --gold: #D4A017;
  --gold-dark: #8B6914;
  --slate: #2A3045;
  --grey: #6B7280;
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --alert-red: #CC3322;
  --border-dark: rgba(255,255,255,0.07);
  --border-emerald: rgba(0,200,150,0.15);
  --border-emerald-hover: rgba(0,200,150,0.35);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--ink);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.54rem, 3.5vw, 2.45rem); font-weight: 800; }
h2 { font-size: clamp(1.26rem, 2.45vw, 1.68rem); font-weight: 700; }
h3 { font-size: clamp(0.84rem, 1.4vw, 1.12rem); font-weight: 700; }
h4 { font-size: 0.77rem; font-weight: 500; font-family: 'DM Sans', sans-serif; letter-spacing: 0; }

p { line-height: 1.75; }

.mono { font-family: 'DM Mono', monospace; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 3rem;
}
@media (max-width: 900px) { .container { padding: 0 1.5rem; } }

.section-pad {
  padding: 6rem 0;
}
@media (max-width: 900px) { .section-pad { padding: 4rem 0; } }
@media (max-width: 640px) { .section-pad { padding: 2.5rem 0; } }

/* Section backgrounds */
.bg-dark { background: var(--ink); }
.bg-card { background: var(--ink-card); }
.bg-light { background: var(--paper); }
.bg-white-sec { background: var(--white); }

/* Grid systems */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--emerald);
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--emerald);
  color: var(--ink);
  font-weight: 700;
}
.btn-primary:hover { background: #00E6AC; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}
.btn-gold:hover { background: #E8B420; }

/* ============================================================
   CARDS
   ============================================================ */
.card-dark {
  background: var(--ink-card);
  border: 1px solid var(--border-emerald);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card-dark:hover { border-color: var(--border-emerald-hover); transform: translateY(-2px); }

.card-light {
  background: var(--white);
  border: 1px solid rgba(10,12,16,0.12);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card-light:hover { border-color: var(--emerald); transform: translateY(-2px); }

.card-number {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--emerald);
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-block;
  background: rgba(0,200,150,0.10);
  color: var(--emerald);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}
.tag-gold {
  background: rgba(212,160,23,0.12);
  color: var(--gold);
}
.tag-red {
  background: rgba(204,51,34,0.12);
  color: var(--alert-red);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.form-label.dark { color: var(--slate); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--emerald); }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--ink-card); color: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; }

/* Light form variants */
.form-input.light, .form-select.light, .form-textarea.light {
  background: var(--white);
  border-color: rgba(10,12,16,0.18);
  color: var(--slate);
}
.form-input.light::placeholder { color: var(--grey); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,12,16,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s ease;
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 900px) { .navbar-inner { padding: 0 1.5rem; } }

.navbar-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.navbar-logo .logo-top {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.navbar-logo .logo-top span { color: var(--emerald); }
.navbar-logo .logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
  overflow: hidden;
}
.navbar-links a {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 0.55rem;
  border-radius: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--white); }

.navbar-cta { flex-shrink: 0; }
.navbar-cta .btn { font-size: 0.8rem; padding: 0.6rem 1.2rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 1.5rem;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--emerald); }
.mobile-nav .close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 68px;
  background: var(--ink);
  overflow: hidden;
}

/* Grid background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,150,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,150,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--emerald);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.68rem, 3.5vw, 2.66rem);
}
.hero h1 em {
  font-style: normal;
  color: var(--emerald);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   TERMINAL COMPONENT
   ============================================================ */
.terminal-wrap {
  position: relative;
}

.terminal {
  background: #060810;
  border: 1px solid rgba(0,200,150,0.2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,200,150,0.07), 0 24px 64px rgba(0,0,0,0.6);
}

.terminal-bar {
  background: #111420;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.terminal-dot.red { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: #28C840; }
.terminal-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.9;
  min-height: 340px;
  position: relative;
}

.terminal-line { display: block; white-space: pre-wrap; }
.t-prompt { color: rgba(255,255,255,0.5); }
.t-cmd { color: var(--white); }
.t-info { color: rgba(255,255,255,0.4); }
.t-pass { color: var(--emerald); }
.t-warn { color: var(--gold); }
.t-fail { color: var(--alert-red); }
.t-dim { color: rgba(255,255,255,0.2); }
.t-title { color: rgba(255,255,255,0.8); }

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--emerald);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Terminal stats */
.terminal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,200,150,0.12);
}
.stat-item {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(0,200,150,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 1.26rem;
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: #080B12;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 1.75rem 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ============================================================
   PROBLEM CARDS (RED ACCENT)
   ============================================================ */
.problem-card {
  background: var(--white);
  border-left: 3px solid var(--alert-red);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.problem-card h4 {
  color: var(--slate);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.problem-card p {
  color: var(--grey);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ============================================================
   SERVICES PAGE CARDS
   ============================================================ */
.service-block {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.service-block:last-child { border-bottom: none; }
.service-block.light-bg { background: var(--paper); }
.service-block.light-bg .service-title { color: var(--slate); }
.service-block.light-bg .service-body { color: var(--grey); }
.service-block.light-bg .outcome-item { color: var(--slate); }
.service-block.light-bg .outcome-item::before { color: var(--emerald); }

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,200,150,0.08);
  border: 1px solid var(--border-emerald);
  border-radius: 3px;
  padding: 0.3rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1.25rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; gap: 2rem; } }

.outcome-list { margin-top: 1.5rem; }
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,200,150,0.08);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.outcome-item:last-child { border-bottom: none; }
.outcome-item::before {
  content: '→';
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ============================================================
   TRAINING CARDS
   ============================================================ */
.training-card {
  background: var(--ink-card);
  border: 1px solid var(--border-emerald);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.training-card:hover { border-color: var(--border-emerald-hover); transform: translateY(-2px); }

.training-card-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.training-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.training-card-body { padding: 1.75rem 2rem 2rem; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps { counter-reset: step; }

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}
.process-step:last-child { border-bottom: none; }

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  color: rgba(0,200,150,0.15);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.3s;
}
.process-step:hover .step-number { color: rgba(0,200,150,0.35); }

.step-content h3 { margin-bottom: 0.6rem; color: var(--white); }
.step-content p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* ============================================================
   RESEARCH CARDS
   ============================================================ */
.research-card {
  background: var(--white);
  border: 1px solid rgba(10,12,16,0.1);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.research-card:hover { transform: translateY(-3px); border-color: var(--emerald); }
.research-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--emerald);
}
.research-card-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(0,200,150,0.12);
  margin-bottom: 0.75rem;
}
.research-card h3 { color: var(--slate); margin-bottom: 0.75rem; font-size: 1.1rem; }
.research-card p { color: var(--grey); font-size: 0.9rem; line-height: 1.7; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industry-section {
  padding: 4rem 0;
}
.industry-icon {
  width: 56px; height: 56px;
  background: rgba(0,200,150,0.08);
  border: 1px solid var(--border-emerald);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.industry-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.industry-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.industry-item.light { color: var(--slate); border-color: rgba(10,12,16,0.07); }
.industry-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* ============================================================
   FOUNDER PAGE
   ============================================================ */
.founder-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(0,200,150,0.1);
  border: 2px solid var(--border-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--emerald);
  margin: 0 auto 2rem;
}

.founder-card {
  background: var(--ink-card);
  border: 1px solid var(--border-emerald);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
}

.founder-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-align: left;
}
.founder-detail:last-child { border-bottom: none; }
.founder-detail-label {
  color: var(--emerald);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 80px;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT TABS
   ============================================================ */
.contact-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 2.5rem;
  overflow-x: auto;
}
.contact-tab {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.contact-tab.active {
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}
.contact-tab:hover { color: var(--white); }

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

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,200,150,0.08), transparent);
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #060810;
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-top: 0.75rem;
}

.footer-address {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--emerald); }

.footer-frameworks {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-frameworks .trust-label { color: rgba(255,255,255,0.2); font-size: 0.6rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 8rem 0 5rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,150,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,150,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0.75rem 0 1.5rem; max-width: 760px; }
.page-hero .sub { 
  font-size: 1.05rem; 
  color: rgba(255,255,255,0.65); 
  max-width: 640px; 
  line-height: 1.8; 
}

/* ============================================================
   RESEARCH BIG TEXT BACKGROUND
   ============================================================ */
.research-hero {
  position: relative;
  overflow: hidden;
}
.research-bg-text {
  position: absolute;
  bottom: -0.2em;
  right: -0.05em;
  font-family: 'Syne', sans-serif;
  font-size: 7rem;
  font-weight: 800;
  color: rgba(0,200,150,0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* ============================================================
   VALUES (ABOUT PAGE)
   ============================================================ */
.value-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  border-bottom: 1px solid var(--border-dark);
}
.value-card:last-child { border-bottom: none; }
.value-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--emerald);
  opacity: 0.5;
  min-width: 40px;
  flex-shrink: 0;
}
.value-card h3 { color: var(--white); margin-bottom: 0.5rem; font-size: 1.05rem; }
.value-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ============================================================
   CHECKLIST (DELIVERABLES)
   ============================================================ */
.checklist-box {
  background: rgba(0,200,150,0.04);
  border: 1px solid var(--border-emerald);
  border-radius: 10px;
  padding: 2.5rem;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,200,150,0.08);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
}
.checklist-item:last-child { border-bottom: none; }
.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,200,150,0.15);
  border: 1px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--emerald);
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

/* ============================================================
   PLACEHOLDER CARDS
   ============================================================ */
.placeholder-card {
  background: var(--ink-card);
  border: 1px dashed rgba(0,200,150,0.2);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
}
.placeholder-card p {
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
  font-style: italic;
}

/* ============================================================
   COLLAB CARDS (4-col icon grid)
   ============================================================ */
.collab-card {
  background: var(--ink-card);
  border: 1px solid var(--border-emerald);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.collab-card:hover { transform: translateY(-3px); border-color: var(--border-emerald-hover); }
.collab-icon {
  width: 52px; height: 52px;
  background: rgba(0,200,150,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 0.98rem;
}
.collab-card h4 { color: var(--white); margin-bottom: 0.75rem; }
.collab-card p { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.65; }

/* ============================================================
   ARTICLES (BLOG) GRID
   ============================================================ */
.article-card {
  background: var(--white);
  border: 1px solid rgba(10,12,16,0.1);
  border-radius: 8px;
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.article-card:hover { transform: translateY(-3px); border-color: var(--emerald); }
.article-card h4 {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.75rem 0 1rem;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--grey);
}

/* ============================================================
   INLINE MINI FORM (homepage CTA)
   ============================================================ */
.mini-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .mini-form { grid-template-columns: 1fr; }
}

/* ============================================================
   ZT TABLE
   ============================================================ */
.zt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 2rem;
}
.zt-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  background: rgba(0,200,150,0.06);
  border-bottom: 1px solid var(--border-emerald);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
}
.zt-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-dark);
  color: rgba(255,255,255,0.72);
  vertical-align: top;
}
.zt-table tr:last-child td { border-bottom: none; }
.zt-table .zt-pillar {
  color: var(--white);
  font-weight: 500;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; }
}

/* ============================================================
   UTILS
   ============================================================ */
.text-emerald { color: var(--emerald); }
.text-gold { color: var(--gold); }
.text-grey { color: var(--grey); }
.text-slate { color: var(--slate); }
.text-muted { color: rgba(255,255,255,0.55); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border-dark); margin: 2rem 0; }
.divider-emerald { height: 1px; background: var(--border-emerald); margin: 2rem 0; }

/* Phase list */
.phase-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.phase-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(0,200,150,0.04);
  border: 1px solid rgba(0,200,150,0.1);
  border-radius: 6px;
}
.phase-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--emerald);
  background: rgba(0,200,150,0.12);
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.phase-item p { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }

/* Quote block */
.pull-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.98rem, 2.1vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  padding: 2rem 0 2rem 2.5rem;
  border-left: 3px solid var(--emerald);
  margin: 2rem 0;
  font-style: italic;
}

/* Highlight box */
.highlight-box {
  background: rgba(0,200,150,0.06);
  border: 1px solid var(--border-emerald);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}
.highlight-box h4 { color: var(--emerald); margin-bottom: 0.75rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.highlight-box p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.75; }

/* Speaking topics */
.topic-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(0,200,150,0.04);
  border: 1px solid var(--border-emerald);
  border-radius: 8px;
  margin-top: 1.5rem;
}
.topic-pill {
  background: rgba(0,200,150,0.08);
  border: 1px solid rgba(0,200,150,0.2);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
}

/* Lead magnet */
.lead-magnet {
  background: linear-gradient(135deg, rgba(0,200,150,0.08) 0%, rgba(212,160,23,0.05) 100%);
  border: 1px solid var(--border-emerald);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 4rem;
}
.lead-magnet h3 { color: var(--white); margin-bottom: 0.5rem; }
.lead-magnet p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }
.lead-magnet-form { display: flex; gap: 1rem; flex-wrap: wrap; }
.lead-magnet-form .form-input { max-width: 280px; }

/* Active nav */
.active-page { color: var(--emerald) !important; }

/* ============================================================
   NAVBAR LOGO CANVAS
   ============================================================ */
.navbar-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
#navbar-logo-canvas {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.navbar-logo-text .logo-top {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.navbar-logo-text .logo-top span { color: var(--emerald); }
.navbar-logo-text .logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* ============================================================
   SPLASH SCREEN (injected by JS)
   ============================================================ */
#ts-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #03060f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#ts-splash-canvas {
  border-radius: 50%;
  display: block;
}

/* ============================================================
   V3 — NAVBAR FIX: tighten at all widths, raise hamburger to 1100px
   ============================================================ */
.navbar-links a {
  font-size: 0.72rem !important;
  padding: 0.35rem 0.42rem !important;
}
.navbar-cta .btn {
  font-size: 0.75rem !important;
  padding: 0.55rem 0.9rem !important;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .navbar-links { display: none !important; }
  .hamburger { display: flex !important; }
}
@media (min-width: 1101px) {
  .hamburger { display: none !important; }
  .navbar-links { display: flex !important; }
}

/* ============================================================
   V3 — MOBILE RESPONSIVENESS (≤768px)
   ============================================================ */

/* Hero — stack vertically, hide terminal on small phones */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .hero { padding-top: 80px; min-height: auto; padding-bottom: 3rem; }
  .hero h1 { font-size: 1.4rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; text-align: center; }
  .terminal-wrap { display: none; }
}

/* Page heroes */
@media (max-width: 768px) {
  .page-hero { padding: 6rem 0 3rem; }
  .page-hero h1 { font-size: 1.33rem; }
  .page-hero .sub { font-size: 0.9rem; }
}

/* Grids → single column */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-auto {
    grid-template-columns: 1fr !important;
  }
  .service-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 1.5rem !important; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* Contact tabs — scroll horizontally on mobile */
@media (max-width: 768px) {
  .contact-tabs {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0 !important;
    flex-wrap: nowrap !important;
  }
  .contact-tabs::-webkit-scrollbar { display: none; }
  .contact-tab {
    padding: 0.85rem 1rem !important;
    font-size: 0.78rem !important;
    flex-shrink: 0;
  }
}

/* Mini inquiry form — stack on mobile */
@media (max-width: 768px) {
  .mini-form {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .mini-form .btn { width: 100%; justify-content: center; }
}

/* Lead magnet form — stack */
@media (max-width: 768px) {
  .lead-magnet-form {
    flex-direction: column !important;
  }
  .lead-magnet-form .form-input { max-width: 100% !important; }
  .lead-magnet-form .btn { width: 100%; justify-content: center; }
}

/* Hero buttons always stack on small screens */
@media (max-width: 480px) {
  .hero-btns .btn, .btn { width: 100%; justify-content: center; }
  div[style*="display:flex"][style*="gap:1rem"] { flex-wrap: wrap; }
}

/* Process steps — tighten on mobile */
@media (max-width: 768px) {
  .process-step { grid-template-columns: 48px 1fr !important; gap: 1rem !important; }
  .step-number { font-size: 1.75rem !important; }
}

/* Training cards — header stack */
@media (max-width: 768px) {
  .training-card-header { flex-direction: column !important; gap: 0.75rem; }
  .training-card-header > div:last-child { text-align: left !important; }
  .training-card-body .grid-2 { grid-template-columns: 1fr !important; }
}

/* Founder card — mobile */
@media (max-width: 768px) {
  .founder-card { padding: 1.5rem !important; }
}

/* ZT table — horizontal scroll */
@media (max-width: 768px) {
  .zt-table { font-size: 0.75rem; }
  div[style*="overflow-x:auto"] { overflow-x: auto; }
  .zt-table th, .zt-table td { padding: 0.6rem 0.7rem; }
}

/* Splash canvas — smaller on mobile */
@media (max-width: 480px) {
  #ts-splash-canvas { width: 220px !important; height: 220px !important; }
}

/* Contact page sidebar grid */
@media (max-width: 768px) {
  /* contact grid: forms + sidebar stack */
  section .container > .grid-2 { grid-template-columns: 1fr !important; }
}

/* Section padding tighter on mobile */
@media (max-width: 480px) {
  .section-pad { padding: 2rem 0 !important; }
  .container { padding: 0 1rem !important; }
  h1 { font-size: 1.22rem !important; }
  h2 { font-size: 0.98rem !important; }
}

/* Fix pull-quote on mobile */
@media (max-width: 768px) {
  .pull-quote { font-size: 1.2rem !important; padding-left: 1.25rem !important; }
}

/* value cards stack tighter */
@media (max-width: 480px) {
  .value-card { flex-direction: column !important; gap: 0.5rem !important; padding: 1.25rem !important; }
}

/* Industry list items */
@media (max-width: 768px) {
  .industry-section .grid-2 { grid-template-columns: 1fr !important; }
}

/* ============================================================
   ABOUT DROPDOWN NAV — checkbox toggle, zero JS dependency
   ============================================================ */
.dd-toggle { display: none !important; }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  padding: 0.35rem 0.42rem;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  user-select: none;
}
.nav-dropdown-trigger:hover { color: var(--white); }
.nav-dropdown-trigger.active-page { color: var(--white); }

.nav-dropdown-trigger .chevron {
  width: 10px; height: 10px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

/* Menu hidden by default */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background: rgba(10,12,16,0.99);
  border: 1px solid var(--border-emerald);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  z-index: 9999;
  /* Hidden until checked */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Show menu when checkbox is checked */
.dd-toggle:checked ~ .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Rotate chevron when checked */
.dd-toggle:checked ~ .nav-dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid var(--border-dark);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: rgba(0,200,150,0.07); color: var(--white); }
.nav-dropdown-menu a .menu-icon {
  font-size: 14px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.nav-dropdown-menu a .menu-label { flex: 1; }
.nav-dropdown-menu a .menu-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1px;
  font-weight: 400;
}

/* Mobile — dropdown items shown inline */
.mobile-nav .mobile-dropdown-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}
.mobile-nav .mobile-dropdown-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 1.5rem 0.25rem;
  display: block;
}
.mobile-nav .mobile-dropdown-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-bottom: 0.5rem;
}
.mobile-nav .mobile-dropdown-items a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  padding: 0.4rem 1.5rem;
}
.mobile-nav .mobile-dropdown-items a:hover { color: var(--emerald); }
