/* ─────────────────────────────────────────────
   STABLEBUILD — style.css
   All original design tokens and styles are
   100% preserved. New GSAP-related additions
   are clearly marked with section headers.
───────────────────────────────────────────── */

/* ── TOKENS ── */
:root {
  --token-3b069a18: #f7f7f7;
  --token-8ac55fa3: #5e5e5e;
  --token-72664eae: #000;
  --token-2dcb62c5: #c7c7c7;
  --token-c10351cf: #ff312f;
  --token-711abf08: #ff8b17;
  --token-456eaf92: #ededed4d;
  --token-1bcfb8f1: #fa651e;
  --token-aa2bb69a: #d9d9d9;
  --token-35112954: #6e6e6e;
  --token-88286b27: #1c1c1c;
}

:root {
  --bg: var(--token-3b069a18);
  --bg-white: #ffffff;
  --bg-surface: var(--token-456eaf92);
  --bg-ink: var(--token-72664eae);
  --text: var(--token-88286b27);
  --text-black: var(--token-72664eae);
  --text-2: var(--token-35112954);
  --text-3: var(--token-8ac55fa3);
  --text-4: var(--token-2dcb62c5);
  --border: var(--token-aa2bb69a);
  --border-sub: var(--token-2dcb62c5);
  --accent: var(--token-1bcfb8f1);
  --accent-o: var(--token-711abf08);
  --accent-r: var(--token-c10351cf);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── CHAR GRID CANVAS ── */
#charCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(250, 101, 30, 0.07) 0%,
    rgba(255, 139, 23, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  /* Subtle breathing pulse — signals life without distraction */
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 247, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-sub);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-black);
  text-decoration: none;
  transition: opacity 0.2s;
}

.wordmark:hover {
  opacity: 0.8;
}

.wordmark span {
  color: var(--accent);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wordmark-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

#menu-toggle:checked ~ .nav-links {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(247, 247, 247, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-sub);
    backdrop-filter: blur(12px);
  }

  .nav-inner {
    padding: 0 20px;
  }
}

.btn-ghost {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-surface);
}

.btn-primary {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-primary:hover {
  background: #e85918;
  box-shadow: 0 4px 20px rgba(250, 101, 30, 0.35);
}

.btn-primary-lg {
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 6px;
}

.btn-outline-lg {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  padding: 13px 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.15s,
    color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-outline-lg:hover {
  border-color: var(--text-3);
  color: var(--text);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 32px 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(250, 101, 30, 0.08);
  border: 1px solid rgba(250, 101, 30, 0.22);
  border-radius: 220px;
  padding: 5px 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero-headline {
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 6.5vw, 72px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-black);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-o) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 44px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-sub);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.stat + .stat {
  border-left: 1px solid var(--border-sub);
}

.stat-val {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-black);
  line-height: 1;
  /* Slight orange gradient on stat numbers — ties them to brand */
  background: linear-gradient(135deg, var(--text-black) 0%, #3a1a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* HERO Override */

/* ═══════════════════════════════════════════════
   HERO SPLIT LAYOUT
═══════════════════════════════════════════════ */
.hero-split {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 32px;
  gap: 56px;
}

.hero-left {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: center;
}

/* Neutralise any centering style your existing .hero-content has */
.hero-left .hero-content {
  margin-left: 0;
  margin-right: 0;
}

.hero-right {
  flex: 0 0 48%;
  position: relative;
  height: clamp(480px, 70vh, 720px);
  border-radius: 20px;
  overflow: hidden;
  /* subtle border so the globe "card" reads as a panel */
}

/* ── Globe canvas fills its panel ── */
#app {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Reposition globe UI to live inside .hero-right ── */
#label-tl {
  position: absolute;
  top: 20px;
  left: 22px;
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(14, 14, 22, 0.45);
  text-transform: uppercase;
  pointer-events: none;
}
#label-tl span {
  color: #e07028;
}

#hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(0, 0, 0, 0.16);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 2s ease;
}

/* ── Tooltip (stays fixed — works fine) ── */
#tooltip {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
}
#tooltip.on {
  opacity: 1;
  transform: translateY(0) scale(1);
}
#tip-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 254, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 10px 20px 10px 14px;
  white-space: nowrap;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.1);
}
#tip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition:
    background 0.1s,
    box-shadow 0.1s;
}
#tip-name {
  color: rgba(14, 14, 22, 0.8);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   MOBILE — globe top, text bottom
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 52px;
  }

  .hero-left {
    flex: 1 1 auto;
    width: 100%;
  }

  .hero-right {
    display: none;
  }
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  padding: 13px 0;
  background: var(--bg-white);
  /* Subtle fade on edges — makes the scroll feel natural */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: scrollLeft 28s linear infinite;
  width: max-content;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── SHARED SECTION ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px;
}

.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  /* Small accent line before eyebrow text */
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.13;
  color: var(--text-black);
  margin-bottom: 14px;
  /* clip-path reveal set by GSAP — see script.js */
}

.section-title em {
  font-style: italic;
  color: var(--text-2);
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 500px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 52px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  padding: 36px 32px;
  transition:
    border-color 0.2s,
    box-shadow 0.25s;
  /* left-accent line revealed on hover */
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-o));
  border-radius: 8px 0 0 8px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.service-card:hover::after {
  transform: scaleY(1);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(250, 101, 30, 0.08);
  border: 1px solid rgba(250, 101, 30, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 17px;
  transition:
    background 0.2s,
    transform 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(250, 101, 30, 0.14);
  transform: scale(1.1) rotate(5deg);
}

.service-name {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
}

/* ── FOUNDERS ── */
.founders-bg {
  background: var(--bg-white);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.founder-card {
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  padding: 36px;
  transition:
    border-color 0.2s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.founder-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-o));
  border-radius: 8px 0 0 8px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.founder-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.founder-card:hover::after {
  transform: scaleY(1);
}

.founder-avatar-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-white);
  margin-bottom: 20px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.founder-card:hover .founder-avatar-ring {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(250, 101, 30, 0.1);
}

.founder-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-black);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.founder-handle {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 16px;
  display: block;
}

.founder-handle:hover {
  text-decoration: underline;
}

.founder-bio {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  padding: 3px 11px;
  border-radius: 220px;
  letter-spacing: 0.02em;
}

.tag-accent {
  background: rgba(250, 101, 30, 0.08);
  border: 1px solid rgba(250, 101, 30, 0.2);
  color: var(--accent);
}

.tag-neutral {
  background: transparent;
  border: 1px solid var(--border-sub);
  color: var(--text-3);
}

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 52px;
}

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  padding: 32px;
  text-decoration: none;
  display: block;
  transition:
    border-color 0.2s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

/* Corner accent — lights up on hover like a "live" indicator */
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 28px solid var(--accent);
  border-left: 28px solid transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 0 8px 0 0;
}

.project-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-o));
  border-radius: 8px 0 0 8px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.project-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover::after {
  transform: scaleY(1);
}

.project-type {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.project-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-black);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.project-card:hover .project-name {
  color: var(--accent);
}

.project-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.68;
  margin-bottom: 20px;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--bg-ink);
  text-align: center;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
  /* Subtle dot grid — adds depth without competing with content */
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
}

.cta-strip::before {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(250, 101, 30, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-strip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
}

.cta-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 18px;
}

.cta-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-o) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-sub);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.75;
}

.footer-copy {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--text-2);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .services-grid,
  .founders-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Hero — center text content */
  .hero-left {
    text-align: center;
  }

  .hero-left .hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .section-sub {
    max-width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--border-sub);
    padding-top: 24px;
  }

  /* Footer — stack and wrap links */
  .footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
}

/* ═══════════════════════════════════════════
   GSAP ANIMATION ADDITIONS
   New styles only — zero design changes above
═══════════════════════════════════════════ */

/* ── SCROLL PROGRESS BAR ──
   Fixed thin line at top of viewport.
   GSAP scrubs scaleX 0→1 tied to page scroll.
── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-o) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
}

/* ── ROLLING TEXT TUBE (Pattern 4 — 3D rotationX) ──
   Creates a "slot" that shows one rolling word at a
   time. Both words live in the same grid cell so the
   tube auto-sizes to the wider word.
── */
.rolling-tube {
  display: inline-grid;
  grid-template-areas: "slot";
  overflow: hidden;
  vertical-align: top;
  /* perspective set by GSAP on this element */
}

.roll-word {
  grid-area: slot;
  display: block;
  font-style: italic;
  backface-visibility: hidden;
  text-align: justify;
  margin-right: 7px;
  margin-left: 7px;

  /* transformOrigin + initial rotationX set by GSAP */
}

/* "fast." — same warm gradient as the existing em treatment */
.roll-fast {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-o) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* "Stable." — reversed gradient + subtle amber glow for emphasis */
.roll-stable {
  background: linear-gradient(90deg, var(--accent-o) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(255, 139, 23, 0.35));
}

/* ── CTA WAVE TRANSITION (Pattern 3 — elastic SVG bounce) ──
   A light-filled arch SVG sits at the boundary between
   the work section and the dark CTA strip. On scroll,
   GSAP animates the bezier control points to zero with
   an elastic ease — the arch snaps flat.
── */
.cta-wave-wrap {
  background: var(--bg-ink); /* dark — matches CTA strip */
  height: 72px;
  overflow: hidden; /* clips elastic overshoot */
  line-height: 0;
}

.cta-wave-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── TILT CARDS ──
   3D tilt effect driven by GSAP mousemove.
   transform-style needed for children in 3D space.
── */
.tilt-card {
  transform-style: preserve-3d;
}

/* ── MAGNETIC BUTTONS ──
   GSAP moves the button slightly toward cursor.
   will-change prevents layout reflow on transform.
── */
.btn-magnetic {
  will-change: transform;
}

/* ── PROJECT TABS ── */
.project-tabs {
  display: flex;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 220px;
  border: 1px solid var(--border-sub);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.tab-btn:hover {
  border-color: var(--border);
  color: var(--text-2);
}

.tab-btn.active {
  background: var(--text-black);
  border-color: var(--text-black);
  color: #fff;
}

/* ── FOUNDER SOCIAL LINKS ── */
.founder-socials {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.social-link {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--border-sub);
  border-radius: 220px;
  transition: color 0.15s, border-color 0.15s;
}

.social-link:hover {
  color: var(--accent);
  border-color: rgba(250, 101, 30, 0.35);
}

/* ── WILL-ANIMATE HINTS ──
   Prevents layout shift; actual opacity/transform
   values are set by GSAP (never fight GSAP with CSS).
── */
.hero-badge,
#hero-headline,
.hero-sub,
.hero-cta-row,
.hero-stats,
.eyebrow,
.section-title,
.section-sub,
.cta-eyebrow,
.cta-title,
.cta-sub,
.service-card,
.founder-card,
.project-card {
  will-change: transform, opacity;
}
