@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Host+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --accent:       #00D870;
  --accent-lime:  #C8E82C;
  --accent-dark:  #00A858;
  --accent-soft:  #E8F8EE;
  --magenta:      #FF1493;
  --magenta-soft: #FFE0F0;
  --ink:          #0F1A20;
  --ink-2:        #1A2332;
  --ink-soft:     #5A6470;
  --ink-mute:     #9AA5AF;
  --bg:           #FFFFFF;
  --bg-soft:      #F7FAF6;
  --bg-cream:     #FAF9F4;
  --bg-dark:      #0F1A20;
  --font-sc:      'Noto Sans SC', 'PingFang SC', -apple-system, sans-serif;
  --font-en:      'Host Grotesk', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', monospace;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --radius:       16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sc);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
nav.scrolled { background: rgba(255,255,255,0.92); border-color: rgba(0,0,0,0.08); }
.nav-logo { font-family: var(--font-en); font-weight: 800; font-size: 20px; letter-spacing: -0.5px; color: var(--ink); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--font-en); font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { font-family: var(--font-en); font-size: 13px; font-weight: 600; padding: 8px 20px; background: var(--ink); color: white; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--accent-dark); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ── SECTION BASE ── */
section { position: relative; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ── MONO LABEL ── */
.mono-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute);
}
.mono-label.green { color: var(--accent-dark); }
.mono-label.magenta { color: var(--magenta); }

/* ── SECTION TITLE QUOTE ── */
.quote-mark {
  font-family: Georgia, serif; font-size: 120px; line-height: 0.7;
  color: var(--accent); display: block; margin-bottom: 16px;
  opacity: 0.18; user-select: none;
}
.quote-mark.magenta { color: var(--magenta); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 80px;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; position: relative; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-mute); margin-bottom: 32px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.5s var(--ease-out) 0.1s forwards;
}
.hero-title {
  font-size: clamp(44px, 7.6vw, 112px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.hero-title .line {
  display: block; overflow: hidden;
  opacity: 0; transform: translateY(100%);
}
.hero-title .line:nth-child(1) { animation: slideUp 0.6s var(--ease-out) 0.25s forwards; }
.hero-title .line:nth-child(2) { animation: slideUp 0.6s var(--ease-out) 0.4s forwards; }
.hero-title .line:nth-child(3) { animation: slideUp 0.6s var(--ease-out) 0.55s forwards; }
.strike {
  position: relative; color: var(--ink-mute);
  text-decoration: none;
}
.strike::after {
  content: ''; position: absolute;
  left: 0; top: 50%; height: 6px; width: 0;
  background: var(--ink-soft);
  border-radius: 3px;
  animation: strikeThrough 0.5s var(--ease-out) 1.2s forwards;
}
.strike-2::after { animation-delay: 1.35s; }
.accent-green { color: var(--accent); }
.accent-magenta { color: var(--magenta); }
.hero-sub {
  max-width: 640px; font-size: 17px; line-height: 1.75; color: var(--ink-soft);
  margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.6s var(--ease-out) 0.7s forwards;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.6s var(--ease-out) 0.85s forwards;
}
.btn-primary {
  font-family: var(--font-en); font-weight: 600; font-size: 15px;
  padding: 14px 28px; background: var(--ink); color: white;
  border-radius: 10px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost {
  font-family: var(--font-en); font-weight: 600; font-size: 15px;
  padding: 14px 28px; background: transparent; color: var(--ink);
  border: 1.5px solid rgba(15,26,32,0.2); border-radius: 10px; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.hero-glow {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,216,112,0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: glowFloat 30s ease-in-out infinite;
}

/* ── IMPACT STATS ── */
#stats { padding: 80px 0; background: var(--bg); border-top: 1px solid rgba(0,0,0,0.06); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius);
  overflow: hidden;
}
.stat-cell {
  padding: 40px 36px; position: relative;
}
.stat-cell + .stat-cell { border-left: 1px solid rgba(0,0,0,0.08); }
.stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-mute); margin-bottom: 20px; text-transform: uppercase; }
.stat-before { font-size: 14px; color: var(--ink-mute); text-decoration: line-through; text-decoration-thickness: 2px; margin-bottom: 6px; }
.stat-after { font-size: 36px; font-weight: 900; color: var(--ink); font-family: var(--font-en); letter-spacing: -0.02em; margin-bottom: 16px; }
.stat-after.green { color: var(--accent-dark); }
.stat-after.magenta { color: var(--magenta); }
.stat-delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  background: var(--accent-soft); color: var(--accent-dark);
}
.stat-delta.magenta { background: var(--magenta-soft); color: var(--magenta); }

/* ── ABOUT ── */
#about { padding: 120px 0; background: var(--bg-soft); }
.about-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-quote-block { position: relative; }
.about-quote { font-size: clamp(28px, 3.5vw, 48px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.about-body { font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.about-body p + p { margin-top: 20px; }
.about-body strong { color: var(--ink); }

/* ── BUSINESS MATRIX ── */
#matrix { padding: 120px 0; background: var(--bg); }
.matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.matrix-card {
  border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius);
  padding: 36px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  background: var(--bg);
}
.matrix-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,216,112,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.matrix-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.1); }
.matrix-card:hover::before { opacity: 1; }
.ai-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid var(--accent); color: var(--accent-dark);
  background: var(--accent-soft);
  animation: breathe 3s ease-in-out infinite;
}
.matrix-platform { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); margin-bottom: 12px; letter-spacing: 0.1em; }
.matrix-title { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.matrix-desc { font-size: 14px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 24px; }
.matrix-kpis { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 20px; }
.matrix-kpi { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; }
.kpi-key { color: var(--ink-mute); }
.kpi-val { color: var(--ink); font-weight: 600; }
.kpi-val.accent { color: var(--accent-dark); }
.kpi-val.magenta { color: var(--magenta); }

/* ── JOURNEY TIMELINE ── */
#journey { padding: 120px 0; background: var(--bg-cream); overflow: hidden; }
.timeline-wrap { margin-top: 80px; position: relative; }
.timeline-svg-wrap { width: 100%; overflow: visible; }
.timeline-node-group { }
.node-label { font-family: var(--font-mono); font-size: 10px; fill: var(--ink-mute); letter-spacing: 0.1em; }
.node-title { font-family: var(--font-sc); font-size: 15px; font-weight: 700; fill: var(--ink); }
.node-desc { font-family: var(--font-sc); font-size: 12px; fill: var(--ink-soft); }

/* ── TECH STACK ── */
#tech { padding: 120px 0; background: var(--bg); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 64px; }
.tech-copy { font-size: 18px; line-height: 1.8; color: var(--ink-soft); }
.tech-copy strong { color: var(--ink); }
.tech-quote { font-size: 15px; font-family: var(--font-mono); color: var(--ink-mute); margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.tech-cards { display: flex; flex-direction: column; gap: 12px; }
.tech-card {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: center; gap: 20px;
  padding: 20px 24px; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
  background: var(--bg); cursor: default;
}
.tech-card:hover { transform: translateX(6px); border-color: var(--accent); box-shadow: 0 4px 20px rgba(0,216,112,0.1); }
.tech-layer { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.1em; }
.tech-name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.tech-desc { font-size: 12px; color: var(--ink-soft); }
.tech-role { font-family: var(--font-mono); font-size: 10px; color: var(--accent-dark); font-weight: 600; white-space: nowrap; }

/* ── DIGITAL EMPLOYEE WALL ── */
#employees {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.emp-glow {
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,216,112,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.emp-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.emp-header { position: relative; z-index: 2; margin-bottom: 48px; }
.emp-title { font-size: clamp(32px, 4vw, 56px); font-weight: 900; color: white; margin-bottom: 12px; }
.emp-subtitle { font-size: 15px; color: rgba(255,255,255,0.45); font-family: var(--font-mono); margin-bottom: 24px; }
.emp-meta { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.emp-meta-item { display: flex; flex-direction: column; gap: 4px; }
.emp-meta-val { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--accent-lime); }
.emp-meta-key { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; text-transform: uppercase; }
.emp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; position: relative; z-index: 2; }
.emp-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.3s var(--ease-out), background 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(24px);
}
.emp-card.visible { opacity: 1; transform: translateY(0); }
.emp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lime));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.emp-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.05); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.emp-card:hover::before { transform: scaleX(1); }
.emp-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.emp-avatar {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: white;
  flex-shrink: 0;
}
.emp-status {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  color: var(--accent); border: 1px solid rgba(0,216,112,0.3);
  padding: 4px 10px; border-radius: 20px;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.emp-name { font-size: 20px; font-weight: 900; color: white; margin-bottom: 4px; }
.emp-role { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; margin-bottom: 16px; }
.emp-rows { display: flex; flex-direction: column; gap: 0; }
.emp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-family: var(--font-mono); font-size: 11px;
}
.emp-row:last-child { border-bottom: none; }
.emp-row-key { color: rgba(255,255,255,0.35); }
.emp-row-val { color: rgba(255,255,255,0.75); text-align: right; }
.emp-row-val.lime { color: var(--accent-lime); font-weight: 600; }

/* ── HUMAN × AI ── */
#humanai { padding: 120px 0; background: var(--bg); }
.humanai-center { text-align: center; margin-bottom: 80px; }
.humanai-headline { font-size: clamp(28px, 4vw, 48px); font-weight: 900; line-height: 1.3; }
.humanai-grid { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0; align-items: start; }
.humanai-col {
  padding: 36px; border-radius: var(--radius); border: 1px solid;
}
.humanai-col.ai { border-color: rgba(0,216,112,0.25); background: linear-gradient(135deg, rgba(0,216,112,0.05), transparent); }
.humanai-col.human { border-color: rgba(255,20,147,0.2); background: linear-gradient(135deg, rgba(255,20,147,0.04), transparent); }
.humanai-col-title { font-size: 18px; font-weight: 900; margin-bottom: 20px; }
.humanai-col.ai .humanai-col-title { color: var(--accent-dark); }
.humanai-col.human .humanai-col-title { color: var(--magenta); }
.humanai-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.humanai-list li { font-size: 14px; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.humanai-list li::before { content: '—'; color: var(--ink-mute); flex-shrink: 0; font-family: var(--font-mono); }
.humanai-divider { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.humanai-divider-line { flex: 1; width: 1px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.1), transparent); }
.humanai-divider-tag { font-family: var(--font-mono); font-size: 9px; color: var(--ink-mute); writing-mode: vertical-lr; letter-spacing: 0.1em; }

/* ── GLUMOO VIDEO ── */
#video-section { padding: 120px 0; background: var(--bg-cream); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 64px; }
.video-title { font-family: var(--font-en); font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; color: var(--magenta); margin-bottom: 8px; letter-spacing: -0.02em; }
.video-subtitle { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.video-body { font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 16px; }
.video-body strong { color: var(--ink); }
.video-highlight { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 32px; padding: 16px 20px; border-left: 3px solid var(--magenta); background: var(--magenta-soft); border-radius: 0 8px 8px 0; }
.btn-magenta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border: 1.5px solid var(--magenta); color: var(--magenta);
  border-radius: 10px; text-decoration: none; background: transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s; cursor: pointer;
}
.btn-magenta:hover { background: var(--magenta); color: white; transform: translateY(-2px); }
.flywheel-wrap { display: flex; align-items: center; justify-content: center; }
.flywheel-svg { width: 340px; height: 340px; cursor: pointer; }
.flywheel-outer { transform-origin: 170px 170px; animation: spin 60s linear infinite; }
.flywheel-svg:hover .flywheel-outer { animation-play-state: paused; }

/* ── QUOTE WALL ── */
#quotes { padding: 120px 0; background: var(--bg-dark); position: relative; overflow: hidden; }
#quotes .emp-grid-lines { opacity: 0.5; }
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; position: relative; z-index: 2; margin-top: 64px; }
.quote-card {
  padding: 32px; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  transition: transform 0.3s var(--ease-out), background 0.3s, border-color 0.3s;
  cursor: default;
}
.quote-card:hover { transform: translateY(-4px); }
.quote-card.green:hover { background: rgba(0,216,112,0.06); border-color: rgba(0,216,112,0.3); }
.quote-card.magenta:hover { background: rgba(255,20,147,0.06); border-color: rgba(255,20,147,0.3); }
.quote-open { font-family: Georgia, serif; font-size: 56px; line-height: 1; margin-bottom: 12px; display: block; }
.quote-card.green .quote-open { color: var(--accent); }
.quote-card.magenta .quote-open { color: var(--magenta); }
.quote-text { font-size: 16px; font-weight: 700; color: white; line-height: 1.65; margin-bottom: 16px; }
.quote-source { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── TEAM TOOLKIT ── */
#toolkit { padding: 120px 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.toolkit-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 64px; }
.toolkit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tool-card {
  padding: 28px; border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius);
  background: var(--bg); position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.tool-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,216,112,0.06) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: rgba(0,216,112,0.2); }
.tool-card:hover::after { opacity: 1; }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.tool-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 1px solid rgba(0,0,0,0.08);
  transition: background 0.25s, border-color 0.25s;
  position: relative; z-index: 1;
}
.tool-card:hover .tool-icon { background: var(--accent); border-color: var(--accent); }
.tool-icon svg { transition: stroke 0.25s; stroke: var(--ink-soft); }
.tool-card:hover .tool-icon svg { stroke: white; }
.tool-tag {
  font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 4px; position: relative; z-index: 1;
}
.tool-tag.live { background: var(--accent-soft); color: var(--accent-dark); }
.tool-tag.beta { background: var(--magenta-soft); color: var(--magenta); }
.tool-name { font-size: 17px; font-weight: 700; margin-bottom: 2px; position: relative; z-index: 1; }
.tool-domain { font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); margin-bottom: 10px; position: relative; z-index: 1; }
.tool-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; position: relative; z-index: 1; }
.tool-divider { height: 1px; background: rgba(0,0,0,0.06); margin-bottom: 14px; }
.tool-link {
  font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s, gap 0.2s; position: relative; z-index: 1;
}
.tool-card:hover .tool-link { color: var(--accent-dark); gap: 12px; }

/* ── FOOTER ── */
footer {
  padding: 64px 0 48px; background: #000;
  font-family: var(--font-en);
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.footer-logo { font-weight: 800; font-size: 22px; color: white; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); font-family: var(--font-mono); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── SECTION HEADING ── */
.section-eyebrow { margin-bottom: 16px; }
.section-heading { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; }
.section-sub { font-size: 17px; color: var(--ink-soft); max-width: 580px; line-height: 1.7; }

/* ── KEYFRAMES ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes strikeThrough { from { width: 0; } to { width: 100%; } }
@keyframes glowFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 30px); } }
@keyframes breathe { 0%,100% { box-shadow: 0 0 0 0 rgba(0,216,112,0.4); } 50% { box-shadow: 0 0 0 6px rgba(0,216,112,0); } }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulseRing { 0% { r: 10; opacity: 0.8; } 100% { r: 22; opacity: 0; } }

/* ── TWEAKS PANEL ── */
#tweaks-panel {
  display: none; position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: white; border: 1px solid rgba(0,0,0,0.1); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15); padding: 24px; width: 280px;
  font-family: var(--font-en);
}
#tweaks-panel.open { display: block; }
.tweaks-title { font-size: 14px; font-weight: 700; margin-bottom: 20px; color: var(--ink); display: flex; justify-content: space-between; }
.tweak-row { margin-bottom: 16px; }
.tweak-label { font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; display: block; }
.tweak-options { display: flex; gap: 8px; flex-wrap: wrap; }
.tweak-btn { font-size: 12px; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.1); background: var(--bg-soft); cursor: pointer; transition: all 0.15s; font-family: var(--font-mono); }
.tweak-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.tweak-btn:hover:not(.active) { border-color: var(--accent); }
.tweak-toggle { display: flex; align-items: center; gap: 10px; }
.tweak-toggle input { width: 36px; height: 20px; appearance: none; background: #ddd; border-radius: 10px; cursor: pointer; position: relative; transition: background 0.2s; }
.tweak-toggle input:checked { background: var(--accent); }
.tweak-toggle input::after { content: ''; position: absolute; width: 16px; height: 16px; background: white; border-radius: 50%; top: 2px; left: 2px; transition: left 0.2s; }
.tweak-toggle input:checked::after { left: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
  .matrix-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .tech-grid, .video-grid { gap: 48px; }
}
@media (max-width: 899px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section-inner, .hero-inner, .about-inner { padding: 0 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell + .stat-cell { border-left: none; }
  .stat-cell:nth-child(2n+1) { border-right: 1px solid rgba(0,0,0,0.08); }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-top: 1px solid rgba(0,0,0,0.08); }
  .matrix-grid, .about-grid, .tech-grid, .video-grid { grid-template-columns: 1fr; }
  .humanai-grid { grid-template-columns: 1fr; }
  .humanai-divider { flex-direction: row; }
  .humanai-divider-line { width: 100%; height: 1px; }
  .humanai-divider-tag { writing-mode: horizontal-tb; }
  .timeline-wrap { overflow-x: auto; }
  .toolkit-header { flex-direction: column; gap: 8px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .emp-meta { gap: 20px; }
  footer { padding: 48px 0 36px; }
  .footer-inner { padding: 0 24px; }
  #quotes .section-inner { padding: 0 24px; }
  #toolkit .section-inner { padding: 0 24px; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell + .stat-cell { border-left: none; border-top: 1px solid rgba(0,0,0,0.08); }
  .stat-cell:nth-child(2n+1) { border-right: none; }
  .quotes-grid { grid-template-columns: 1fr; }
  .flywheel-svg { width: 260px; height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
