/* ══════════════════════════════════════════════════════════
   KAI LABS AI — LUXURY DARK THEME
   Award-level design system
   ══════════════════════════════════════════════════════════ */

:root {
  --black:        #040810;
  --surface-1:    #070d18;
  --surface-2:    #0b1224;
  --surface-3:    #101830;
  --surface-4:    #172040;
  --border:       #1c2640;
  --border-glow:  #1a2540;
  --accent:       #3b82f6;
  --accent-light: #60a5fa;
  --accent-dim:   #1e40af;
  --accent-glow:  rgba(59,130,246,.18);
  --white:        #FAF7F2;
  --off-white:    #E8E2D9;
  --muted:        #5a6275;
  --muted-2:      #2e3a52;
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-sans:    'Outfit', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* Lenis handles smooth scroll */

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

body.is-loading { overflow: hidden; }
body.lenis-smooth { scroll-behavior: auto !important; }

a { text-decoration: none; color: inherit; cursor: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── PRELOADER ─── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preloader-logo {
  width: 64px;
  height: 64px;
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-k {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}

.preloader-bar {
  width: 200px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.preloader-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

.preloader-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── CUSTOM CURSOR ─── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9000;
  pointer-events: none;
  will-change: transform;
}

.cursor-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, opacity 0.2s ease;
}

.cursor-ring {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(59,130,246,.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.15s var(--ease), height 0.15s var(--ease),
              border-color 0.15s ease, transform 0.1s ease;
}

.cursor-label {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
}

body.cursor-cta .cursor-ring {
  width: 80px;
  height: 80px;
  border-color: var(--accent);
  background: rgba(59,130,246,.06);
}

body.cursor-cta .cursor-label {
  opacity: 1;
}

/* ─── NOISE ─── */
#noise-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 7.5vw, 7rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }

.accent { color: var(--accent-light); }
.italic { font-style: italic; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* word/char animation wrappers from GSAP SplitText */
.word { overflow: hidden; display: inline-block; vertical-align: bottom; }
.char { display: inline-block; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 8rem 0; }
.section-dark { background: var(--surface-1); }
.section-alt { border-top: 1px solid rgba(59,130,246,.08); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.section-desc {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: none;
  border: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  white-space: nowrap;
  z-index: 0;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 0.4s var(--ease);
  transform-origin: bottom;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  animation: btnGlow 3s ease-in-out infinite;
}
.btn-primary::before {
  background: var(--accent-light);
  transform: scaleY(0);
}
.btn-primary:hover::before { transform: scaleY(1); }
.btn-primary:hover { animation: none; }

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--border);
}
.btn-outline::before {
  background: var(--surface-3);
  transform: scaleY(0);
}
.btn-outline:hover { border-color: var(--accent-dim); color: var(--accent); }
.btn-outline:hover::before { transform: scaleY(1); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--off-white); border-color: var(--border); }

.btn-large { padding: 1.1rem 2.8rem; font-size: 0.85rem; }
.btn:active { transform: scale(0.97); }

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(59,130,246,.15), 0 4px 16px rgba(0,0,0,.4); }
  50%       { box-shadow: 0 0 30px rgba(59,130,246,.25), 0 4px 16px rgba(0,0,0,.4); }
}

/* ─── NAVIGATION ─── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease;
}

#nav.scrolled {
  background: rgba(4,8,16,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(59,130,246,.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(59,130,246,.45);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-text em { font-style: normal; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  flex: 1;
}
.nav-link {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--off-white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--off-white); }

.nav-cta { margin-left: auto; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--off-white);
  transform-origin: center;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem 2rem 2rem;
  background: rgba(4,8,16,.98);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.8rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--off-white); }
.mobile-menu .btn-primary {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 10rem 2.5rem 7rem;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(59,130,246,.25);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
  background: rgba(59,130,246,.04);
  opacity: 0;
}

.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: glow-pulse 2.5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,.5); }
  50% { box-shadow: 0 0 0 5px rgba(59,130,246,0); }
}

.hero-headline {
  color: var(--white);
  margin-bottom: 1.75rem;
  overflow: hidden;
  letter-spacing: -0.03em;
}
.hero-headline em {
  font-size: 1.05em;
}

.hero-sub {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 2.0;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.proof-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 20px rgba(59,130,246,.15);
}
.proof-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.proof-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 3s forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

.scroll-mouse {
  width: 22px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 2px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ─── MARQUEE ─── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.marquee-inner .sep { color: var(--accent-dim); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  gap: 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}

.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }

.service-card-inner {
  padding: 3rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.service-card-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-line { transform: scaleX(1); }
.service-card:hover {
  background: var(--surface-2);
  border-left: 2px solid var(--accent-dim);
}

/* gold hover glow */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(59,130,246,.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.service-card:hover::after { opacity: 1; }

.sc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  opacity: 0.75;
  transition: opacity 0.3s;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card:hover .service-icon { opacity: 1; }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--border);
  letter-spacing: 0.12em;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: var(--accent-dim); }

.service-card-inner h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin: 0;
}

.service-card-inner p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.85;
  margin: 0;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
}
.service-list li {
  font-size: 0.75rem;
  color: var(--muted-2);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: 0.04em;
}
.service-list li::before {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent-dim);
  flex-shrink: 0;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 7rem;
  align-items: start;
}

.about-visual {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.founder-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.founder-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo-link {
  display: block;
  position: relative;
  z-index: 1;
}
.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--accent-dim);
  filter: grayscale(100%) brightness(0.85) contrast(1.1);
  position: relative;
  z-index: 1;
  transition: filter 0.5s ease;
}
.founder-photo:hover {
  filter: grayscale(0%) brightness(1) contrast(1);
}

.founder-ring {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  opacity: 0.4;
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: .4; }
  50% { transform: scale(1.1); opacity: .1; }
}

.founder-meta strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.founder-meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.founder-tags span {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.about-stat-card {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-label-top {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.about-stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
}
.about-stat-num sup {
  font-size: 1.2rem;
  vertical-align: super;
}
.about-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.95;
  font-size: 1rem;
}
.about-copy strong { color: var(--off-white); }

.about-credentials {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cred-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  opacity: 0.7;
}
.credential div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.credential strong {
  font-size: 0.88rem;
  color: var(--off-white);
}
.credential span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── PROCESS ─── */
.process-steps {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1px 1fr;
  gap: 0 3rem;
  align-items: start;
  padding: 3rem 0;
}

.step-num-wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.4rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  border: 1px solid var(--accent-dim);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
}

.step-line-wrap {
  display: flex;
  justify-content: center;
}
.step-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-dim), transparent);
  min-height: 80px;
}

.step-body h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.step-body p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.95rem;
  max-width: 580px;
}

/* ─── RESULTS ─── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 4rem;
  gap: 0;
}

.result-card {
  background: var(--surface-2);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.result-card:last-child { border-right: none; }
.result-card:hover { background: var(--surface-3); }

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}
.result-card:hover::before { transform: scaleX(1); }

.result-num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--white);
}
.result-unit {
  font-size: 1.2rem;
  color: var(--accent);
}
.result-label {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ─── */
.testimonials-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-dim);
  border-radius: 8px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.3s, border-left-color 0.3s, transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.testimonial-card:hover {
  border-color: var(--accent-dim);
  border-left-color: var(--accent);
  transform: translateY(-4px);
}

.t-stars {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.testimonial-attribution {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-style: normal;
}

/* ─── CTA ─── */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--black) 0%, var(--surface-2) 50%, var(--black) 100%);
}

#cta-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-headline { max-width: 650px; }

.cta-inner > p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ─── FOOTER ─── */
#footer {
  background: var(--surface-1);
  border-top: 1px solid rgba(59,130,246,.1);
  padding: 5.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 4.5rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-col strong {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 0.4rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--off-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--muted-2);
  letter-spacing: 0.05em;
}

.footer-tagline { color: var(--accent-dim); }

/* ─── WORK / PORTFOLIO ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-item {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s var(--ease);
}
.work-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
  z-index: 1;
}
.work-item:hover::before {
  transform: scaleX(1);
}
.work-item:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}
.work-images {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}
.work-item:hover .work-img {
  filter: brightness(1);
}
.work-meta {
  padding: 1.5rem 2rem 2rem;
}
.work-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.work-meta p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.work-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

/* ─── MAGNETIC WRAPPER ─── */
.magnetic-wrap { display: inline-block; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-visual { position: static; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .founder-card { flex: 1; min-width: 260px; }
  .about-stat-card { flex: 1; min-width: 220px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .result-card:nth-child(2n) { border-right: none; }
  .result-card:nth-child(1), .result-card:nth-child(2), .result-card:nth-child(3) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .testimonials-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 2.5rem; }
  .process-step { grid-template-columns: 60px 1px 1fr; gap: 0 2rem; }
  .hero-proof { gap: 1.5rem; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 1.5rem; }
  .section { padding: 6rem 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .results-grid { grid-template-columns: 1fr; }
  .result-card { border-right: none; border-bottom: 1px solid var(--border); }
  .result-card:last-child { border-bottom: none; }
  body { cursor: auto; }
  #cursor { display: none; }
}
