/* ════════════════════════════════════════════════
   ALIEN AI TECHNOLOGIES — PREMIUM REDESIGN
   Theme: Editorial Black & White / Light
   Fonts: Cormorant Garamond + DM Sans + DM Mono
════════════════════════════════════════════════ */

:root {
  --ink:     #0a0a0a;
  --ink-2:   #1a1a1a;
  --ink-3:   #444;
  --ink-4:   #777;
  --bg:      #fafaf8;
  --bg-2:    #f2f0ec;
  --bg-3:    #e8e5df;
  --white:   #ffffff;
  --rule:    rgba(10,10,10,0.12);
  --rule-2:  rgba(10,10,10,0.06);
  --accent:  #0a0a0a;
  
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    'DM Mono', monospace;
  
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  
  --max: 1320px;
  --pad: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Content sits above grid */
.hero, .solutions, .industries, .tech-stack, .process, .capabilities, .testimonials, .cta-banner, footer {
  position: relative;
  z-index: 1;
}





















img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease), width 0.25s, height 0.25s, background 0.25s;
}
.cursor-trail {
  width: 32px; height: 32px;
  border: 1px solid rgba(10,10,10,0.3);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: top 0.18s var(--ease), left 0.18s var(--ease), width 0.3s, height 0.3s, opacity 0.3s;
}
body:hover .cursor { opacity: 1; }
a:hover ~ .cursor, button:hover ~ .cursor { transform: translate(-50%, -50%) scale(3); }


/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ *//* ══════════════════════════════════════════════
     NAVIGATION — UPDATED
══════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

/* Scrolled state */
.nav.scrolled {
  background: rgba(250, 250, 248, 0.98);
  border-bottom-color: rgba(10, 10, 10, 0.15);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ===== LOGO STYLES ===== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: opacity 0.2s var(--ease);
  position: relative;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-mark {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.nav-logo:hover .logo-mark {
  transform: rotate(15deg);
}

.logo-text {
  font-weight: 500;
}

/* Logo with tagline (optional) */
.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-tagline {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

/* Logo image style */
.logo-image {
  height: 32px;
  width: auto;
  display: block;
}

/* SVG logo style */
.logo-svg {
  width: 28px;
  height: 28px;
  color: var(--ink);
  transition: transform 0.2s var(--ease);
}

.nav-logo:hover .logo-svg {
  transform: rotate(15deg);
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Active link state */
.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* ===== CTA BUTTON ===== */
.nav-cta {
  padding: 8px 20px;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 3px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  opacity: 0.85 !important;
  transform: translateY(-1px);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger:hover span {
  background: var(--ink-2);
}

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-out);
  visibility: hidden;
}

.mobile-overlay.open {
  transform: none;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mob-link {
  font-family: var(--f-display);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 400;
  color: var(--ink);
  padding: 6px 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  text-decoration: none;
}

.mob-link:hover {
  opacity: 0.5;
  transform: translateX(4px);
}

.mob-meta {
  margin-top: 40px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
  text-align: center;
}

.mob-meta a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s;
}

.mob-meta a:hover {
  color: var(--ink);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-inner {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 20px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  
  .logo-mark {
    font-size: 18px;
  }
}


/* ══════════════════════════════════════════════
   SHARED LAYOUT
══════════════════════════════════════════════ */
.section-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-bottom: 64px;
}
.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-sub {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-3);
  max-width: 540px;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.8; }
.btn-primary.large { padding: 16px 36px; font-size: 15px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 4px;
  color: var(--ink-3);
  font-size: 14px;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }


/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Grid lines */
.hero-grid-lines {
  position: absolute; inset: 0;
  pointer-events: none;
}
.gl {
  position: absolute;
  background: var(--rule-2);
}
.gl-v { width: 1px; top: 0; bottom: 0; }
.gl-h { height: 1px; left: 0; right: 0; }

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--pad) 40px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 40px;
}
.dot {
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.line { display: block; overflow: hidden; }
.line.indent { padding-left: clamp(40px, 8vw, 140px); }

.reveal-line {
  opacity: 0;
  transform: translateY(100%);
  animation: revealLine 0.9s var(--ease-out) forwards;
}
.reveal-line:nth-child(1) { animation-delay: 0.1s; }
.reveal-line:nth-child(2) { animation-delay: 0.22s; }
.reveal-line:nth-child(3) { animation-delay: 0.34s; }
.reveal-line:nth-child(4) { animation-delay: 0.46s; }
@keyframes revealLine {
  to { opacity: 1; transform: none; }
}

.hero-footer {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-sub {
  flex: 1; min-width: 240px;
  font-size: 16px;
  color: var(--ink-3);
  max-width: 420px;
  line-height: 1.7;
  padding-top: 4px;
}
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: center; gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad);
  border-top: 1px solid var(--rule);
  margin-top: auto;
  position: relative; z-index: 2;
}
.stat {
  flex: 1; padding: 8px 24px;
  display: flex; flex-direction: column; gap: 2px;
}
.stat:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-unit {
  font-family: var(--f-display);
  font-size: 0.55em;
  color: var(--ink-3);
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.stat-divider { width: 1px; height: 56px; background: var(--rule); flex-shrink: 0; }

.scroll-hint {
  position: absolute;
  bottom: 32px; right: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.4;
}
.scroll-line {
  width: 1px; height: 40px;
  background: var(--ink);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.scroll-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: var(--ink-4);
}


/* ══════════════════════════════════════════════
   TICKER MARQUEE
══════════════════════════════════════════════ */
.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 20px;
}
.ticker-track .sep {
  color: rgba(255,255,255,0.3);
  padding: 0;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════════
   SOLUTIONS
══════════════════════════════════════════════ */
.solutions {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}
.solutions .section-header { margin-bottom: 56px; }

.solutions-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--rule);
}
.sol-card {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.25s;
  overflow: hidden;
}
.sol-card::before {
  content: attr(data-num);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 24px;
}
.sol-icon {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--ink-3);
  transition: color 0.25s;
}
.sol-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.sol-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.75;
}
.sol-arrow {
  position: absolute;
  bottom: 28px; right: 28px;
  font-size: 18px;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.sol-card:hover {
  background: var(--ink);
}
.sol-card:hover h3,
.sol-card:hover p,
.sol-card:hover .sol-icon,
.sol-card:hover::before {
  color: var(--white);
}
.sol-card:hover p { color: rgba(255,255,255,0.65); }
.sol-card:hover .sol-arrow { opacity: 1; transform: none; color: var(--white); }


/* ══════════════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════════════ */
.industries {
  padding: 120px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}

.ind-tabs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}
.ind-tab {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-4);
  padding: 14px 28px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}
.ind-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.ind-tab:hover { color: var(--ink-2); }

.ind-panels {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.ind-panel { display: none; padding: 64px 0 0; }
.ind-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.ind-panel h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.ind-panel p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.8;
  margin-bottom: 32px;
}
.ind-list li {
  font-size: 14px;
  color: var(--ink-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 10px;
}
.ind-list li::before {
  content: '→';
  font-size: 12px;
  color: var(--ink-4);
}

/* Visual area */
.ind-visual {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 48px;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.ind-diagram { position: relative; width: 220px; height: 220px; }
.id-svg { position: absolute; inset: 0; }
.id-node {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 11px;
  font-family: var(--f-mono);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
.id-center {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  z-index: 2;
}
.id-1 { top: 0; left: 0; transform: translate(-30%, -20%); }
.id-2 { top: 0; right: 0; transform: translate(30%, -20%); }
.id-3 { bottom: 0; left: 0; transform: translate(-30%, 20%); }
.id-4 { bottom: 0; right: 0; transform: translate(30%, 20%); }

.ind-chart {
  width: 100%; display: flex; flex-direction: column; gap: 16px;
}
.chart-bars {
  display: flex; align-items: flex-end; gap: 10px; height: 160px;
}
.cb {
  flex: 1;
  background: var(--ink);
  border-radius: 2px 2px 0 0;
  opacity: 0.12;
  transition: opacity 0.2s;
}
.cb:last-child { opacity: 1; }
.cb:nth-child(n+6) { opacity: 0.6; }
.chart-label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ind-flow {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.flow-node {
  padding: 12px 20px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 13px;
  font-family: var(--f-mono);
  background: var(--bg-2);
}
.flow-node.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.flow-arrow { color: var(--ink-4); font-size: 18px; }


/* ══════════════════════════════════════════════
   TECHNOLOGY STACK
══════════════════════════════════════════════ */
.tech-stack {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

.tech-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
}
.tech-block {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.tech-block:nth-child(3n) { border-right: none; }
.tech-block:nth-child(n+4) { border-bottom: none; }
.tech-block:hover { background: var(--bg-2); }
.tech-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.tech-block h4 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.tech-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tech-tags span {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 5px 10px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}
.tech-block:hover .tech-tags span {
  background: var(--white);
}


/* ══════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════ */
.process {
  padding: 120px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}

.process-timeline {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: calc(var(--pad) + 28px);
  top: 0; bottom: 0;
  width: 1px;
  background: var(--rule);
}
.pt-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 56px;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.pt-step.visible { opacity: 1; transform: none; }

.pt-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--ink);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pt-body { padding-top: 8px; }
.pt-body h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pt-body p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.75;
}


/* ══════════════════════════════════════════════
   CAPABILITIES PILLS
══════════════════════════════════════════════ */
.capabilities {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.cap-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.cap-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 28px;
}
.cap-pills {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.cap-pills span {
  font-family: var(--f-body);
  font-size: 13.5px;
  padding: 10px 22px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  color: var(--ink-3);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cap-pills span:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}


/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.testi-track {
  display: flex;
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  overflow: hidden;
  position: relative;
}
.testi-card {
  min-width: 100%;
  padding: 48px 0;
  display: none;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid var(--rule);
}
.testi-card.active { display: flex; }
.testi-quote {
  font-family: var(--f-display);
  font-size: 80px;
  line-height: 0.7;
  color: var(--bg-3);
  font-weight: 300;
}
.testi-card p {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 800px;
  letter-spacing: -0.01em;
}
.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--f-body);
  margin-bottom: 2px;
}
.testi-author span {
  font-size: 13px;
  color: var(--ink-4);
  font-family: var(--f-mono);
  letter-spacing: 0.03em;
}
.testi-controls {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 0 var(--pad);
  display: flex; align-items: center; gap: 24px;
}
.testi-prev, .testi-next {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--ink-3);
  transition: background 0.2s, color 0.2s;
}
.testi-prev:hover, .testi-next:hover {
  background: var(--ink); color: var(--white); border-color: var(--ink);
}
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 6px; height: 6px;
  background: var(--bg-3);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testi-dot.active { background: var(--ink); transform: scale(1.3); }


/* ══════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════ */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0;
}
.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-text h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 440px;
}
.cta-actions { display: flex; flex-direction: column; gap: 32px; }
.btn-primary-inv {
  display: inline-flex; align-items: center;
  padding: 16px 36px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
  width: fit-content;
}
.btn-primary-inv:hover { opacity: 0.85; }
.cta-contact {
  display: flex; flex-direction: column; gap: 6px;
}
.cta-contact span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.cta-contact a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.2s;
}
.cta-contact a:hover { color: var(--white); }

/* Override btn-primary inside cta-banner */
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--ink);
}


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: 80px 0 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-logo .logo-mark { font-size: 22px; }
.footer-brand p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.7;
}
.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.fnc h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 20px;
}
.fnc a {
  display: block;
  font-size: 14px;
  color: var(--ink-3);
  padding: 5px 0;
  transition: color 0.2s;
}
.fnc a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom span, .footer-legal a {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--ink); }


/* ══════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-block:nth-child(3n) { border-right: 1px solid var(--rule); }
  .tech-block:nth-child(2n) { border-right: none; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  .solutions-grid { grid-template-columns: 1fr; border-left: none; }
  .sol-card { border-left: 1px solid var(--rule); }
  
  .tech-grid { grid-template-columns: 1fr; }
  .tech-block { border-right: 1px solid var(--rule) !important; }
  .tech-block:last-child { border-bottom: none; }
  
  .ind-panel.active { grid-template-columns: 1fr; }
  .ind-visual { display: none; }
  
  .hero-stats { flex-direction: column; gap: 24px; padding: 24px var(--pad); }
  .stat-divider { width: 40px; height: 1px; }
  
  .process-timeline::before { left: calc(var(--pad) + 20px); }

  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); }

  .scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero-footer { flex-direction: column; gap: 32px; }
  .ind-tabs { flex-direction: column; gap: 0; border-bottom: none; }
  .ind-tab { border-bottom: 1px solid var(--rule); border-left: 3px solid transparent; }
  .ind-tab.active { border-left-color: var(--ink); border-bottom-color: var(--rule); }
  .footer-nav-cols { grid-template-columns: 1fr; }
}



/* ══════════════════════════════════════════════
     PROJECTS SECTION
══════════════════════════════════════════════ */

.projects {
    padding: 120px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
}

.projects-grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Project Card */
.project-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Image Placeholder */
.project-image-placeholder {
    background: var(--bg-2);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image-placeholder.coming-soon {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
}

.placeholder-content {
    text-align: center;
    padding: 40px;
}

.placeholder-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.6;
}

.placeholder-text {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--ink-4);
    display: block;
    margin-bottom: 12px;
}

.image-link-trigger {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--ink-3);
    text-decoration: underline;
    cursor: pointer;
}

.coming-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    border-radius: 20px;
}

/* Project Content */
.project-content {
    padding: 40px 40px 40px 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    font-family: var(--f-mono);
    font-size: 10px;
    padding: 4px 10px;
    background: var(--bg-2);
    border-radius: 20px;
    color: var(--ink-3);
    letter-spacing: 0.03em;
}

.tag.tag-soon {
    background: var(--ink);
    color: var(--white);
}

.project-title {
    font-family: var(--f-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--ink);
}

.project-description {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Technology Stack */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    font-family: var(--f-mono);
    font-size: 10px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 3px;
    color: var(--ink-4);
}

/* Features */
.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding-top: 8px;
    border-top: 1px solid var(--rule-2);
}

.project-features span {
    font-size: 12px;
    color: var(--ink-3);
}

/* Links */
.project-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.project-link {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    transition: opacity 0.2s;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s var(--ease);
}

.project-link:hover::after {
    transform: scaleX(1);
}

.project-link.secondary {
    color: var(--ink-4);
}

.project-link.secondary::after {
    background: var(--ink-4);
}

.project-link.disabled {
    color: var(--ink-4);
    cursor: not-allowed;
    opacity: 0.5;
}

.project-link.disabled::after {
    display: none;
}

/* Footer */
.projects-footer {
    max-width: var(--max);
    margin: 64px auto 0;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.projects-note {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--ink-4);
    letter-spacing: 0.05em;
}

/* Filter Bar (Optional) */
.projects-filter {
    max-width: var(--max);
    margin: 0 auto 48px;
    padding: 0 var(--pad);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    font-family: var(--f-mono);
    font-size: 11px;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 30px;
    color: var(--ink-3);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

/* Responsive */
@media (max-width: 900px) {
    .project-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .project-content {
        padding: 32px;
    }
    
    .project-image-placeholder {
        min-height: 240px;
    }
    
    .projects-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .project-features {
        flex-direction: column;
        gap: 8px;
    }
    
    .project-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}