/* =====================================================
   INDIGO TRANSISTOR — v4 SEO + Animation Edition
   Design: Linear · Vercel · Stripe
   Mobile: Best-in-class
   ===================================================== */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
  tab-size: 4;
}
img, video { display: block; max-width: 100%; }
a          { color: inherit; text-decoration: none; }
ul, ol     { list-style: none; }
button     { cursor: pointer; font: inherit; background: none; border: none; }

/* ── Tokens ── */
:root {
  --blue:       #0062ff;
  --blue-dark:  #0047cc;
  --blue-soft:  #e8f0ff;
  --blue-mid:   #c7d9ff;
  --blue-glow:  rgba(0,98,255,0.18);

  --ink:        #0a0a0f;
  --ink-2:      #1e2030;
  --gray-1:     #f5f7fa;
  --gray-2:     #eef1f6;
  --gray-3:     #d4d9e4;
  --gray-4:     #8892a4;
  --white:      #ffffff;

  --bg:         #ffffff;
  --surface:    #f8fafd;
  --surface-2:  #f1f5fb;

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --r-xs: 4px;  --r-sm: 8px;
  --r-md: 12px; --r-lg: 20px; --r-xl: 28px;

  --shadow-xs:   0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-lg:   0 24px 48px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-blue: 0 8px 24px rgba(0,98,255,0.25);

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Mobile-safe spacing */
  --safe-top:    env(safe-area-inset-top,    0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left,   0px);
  --safe-right:  env(safe-area-inset-right,  0px);

  --s4:4px;  --s8:8px;   --s12:12px; --s16:16px; --s20:20px;
  --s24:24px;--s32:32px; --s40:40px; --s48:48px; --s64:64px;
  --s80:80px;--s96:96px;
}

/* ── Base ── */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography — fluid + accessible ── */
h1 {
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
p {
  color: var(--gray-4);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s16);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: calc(var(--s20) + var(--safe-left));
}
@media (min-width: 640px)  { .container { padding-inline: var(--s32); } }
@media (min-width: 1024px) { .container { padding-inline: var(--s48); } }

section { padding-block: var(--s80); }
@media (min-width: 768px) { section { padding-block: var(--s96); } }

/* ── Focus styles (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}


/* =====================================================
   ANIMATIONS
   ===================================================== */

/* Base reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* Word split — hero title */
.word-line    { overflow: hidden; display: block; }
.word-wrap    { display: inline-block; overflow: hidden; }
.word         {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.75s var(--ease), opacity 0.5s var(--ease);
}
.word.in      { transform: translateY(0); opacity: 1; }

/* Hero element fade-ups (JS-driven) */
.hero-animate { opacity: 0; transform: translateY(16px); }

/* Count-up numbers */
.count-up { display: inline-block; }

/* Hover lift */
.hover-lift {
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Floating animated orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  opacity: 0;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: clamp(200px, 40vw, 480px);
  height: clamp(200px, 40vw, 480px);
  background: radial-gradient(circle, rgba(0,98,255,0.14) 0%, transparent 70%);
  top: -15%; right: -10%;
  animation-delay: 0s;
  animation-duration: 9s;
}
.orb-2 {
  width: clamp(150px, 28vw, 320px);
  height: clamp(150px, 28vw, 320px);
  background: radial-gradient(circle, rgba(96,165,250,0.12) 0%, transparent 70%);
  bottom: 0; left: -5%;
  animation-delay: 3s;
  animation-duration: 11s;
}
.orb-3 {
  width: clamp(100px, 18vw, 220px);
  height: clamp(100px, 18vw, 220px);
  background: radial-gradient(circle, rgba(0,98,255,0.09) 0%, transparent 70%);
  top: 40%; left: 60%;
  animation-delay: 6s;
  animation-duration: 7s;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0px) scale(1); }
  33%      { transform: translateY(-24px) scale(1.04); }
  66%      { transform: translateY(12px) scale(0.97); }
}

/* Ripple effect on buttons */
.ripple-btn { position: relative; overflow: hidden; }
.ripple-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* Tilt card 3D */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: clamp(20px, 4vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.3; transform: scaleY(0.5); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .word   { opacity: 1; transform: none; }
  .orb    { animation: none; opacity: 0.5; }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  transition: background 0.18s, transform 0.18s var(--spring), box-shadow 0.18s;
  white-space: nowrap;
  line-height: 1;
  /* Touch — no 300ms delay */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* min touch target */
  min-height: 44px;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,98,255,0.28);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gray-2);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--gray-1);
  border-color: var(--gray-3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:active { transform: translateY(0); }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding-block: var(--s16);
  padding-top: calc(var(--s16) + var(--safe-top));
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  padding-block: var(--s12);
  padding-top: calc(var(--s12) + var(--safe-top));
  box-shadow: 0 1px 0 var(--gray-2), var(--shadow-xs);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s8);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  touch-action: manipulation;
}
.nav-logo img { width: 26px; height: 26px; object-fit: contain; }
.nav-logo .dot { color: var(--blue); }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--s32);
}
@media (min-width: 700px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-4);
  transition: color 0.15s;
  padding-block: var(--s4);
  touch-action: manipulation;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s12);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s8);
  border-radius: var(--r-sm);
  transition: background 0.15s;
  /* min 44px touch target */
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hamburger:hover { background: var(--gray-1); }
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (min-width: 700px) { .hamburger { display: none; } }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 62px;
  background: var(--white);
  border-top: 1px solid var(--gray-2);
  padding: var(--s32) var(--s20);
  padding-bottom: calc(var(--s32) + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s, transform 0.3s var(--ease);
  z-index: 190;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: var(--s12) 0;
  border-bottom: 1px solid var(--gray-2);
  transition: color 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: block;
  min-height: 56px;
  display: flex;
  align-items: center;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100svh;
  min-height: 100dvh; /* dynamic viewport for mobile browsers */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(80px + var(--safe-top));
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Canvas dot grid (animated via JS) */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-canvas.ready { opacity: 1; }

/* Top accent */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 35%, #60a5fa 65%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: var(--s64);
}
@media (max-height: 700px) { .hero-inner { padding-block: var(--s40); } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  background: var(--blue-soft);
  border: 1px solid var(--blue-mid);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: var(--s24);
}
.hero-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-title {
  max-width: 820px;
  margin-bottom: var(--s24);
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}

.hero-sub {
  max-width: 500px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink);
  font-weight: 500;
  margin-bottom: var(--s40);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s12);
  margin-bottom: var(--s48);
}
@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s20) var(--s40);
  padding-top: var(--s32);
  border-top: 1px solid var(--gray-2);
}
.stat strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.stat span {
  font-size: 0.75rem;
  color: var(--gray-4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* =====================================================
   MISSION — 01
   ===================================================== */
.mission { background: var(--surface); }

.mission-grid {
  display: grid;
  gap: var(--s40);
  align-items: center;
}
@media (min-width: 800px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s64);
  }
}

.mission-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.mission-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.mission-img-wrap:hover img { transform: scale(1.04); }

.img-badge {
  position: absolute;
  bottom: var(--s16);
  left: var(--s16);
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-md);
  padding: var(--s12) var(--s16);
  box-shadow: var(--shadow-md);
}
.img-badge strong { display: block; font-size: 0.85rem; color: var(--ink); font-weight: 650; }
.img-badge span   { font-size: 0.75rem; color: var(--gray-4); }

.mission-copy h2 { margin-bottom: var(--s20); }
.mission-copy p  { margin-bottom: var(--s16); max-width: 480px; }

/* =====================================================
   PROJECTS — 02
   ===================================================== */
.projects { background: var(--white); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s16);
  margin-bottom: var(--s48);
}
.section-head h2 { max-width: 440px; }

.projects-grid {
  display: grid;
  gap: var(--s16);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
  /* prevent text selection during tilt drag */
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.project-card:hover { box-shadow: var(--shadow-lg); }

/* On touch devices, still show lift on tap */
@media (hover: none) {
  .project-card:active { box-shadow: var(--shadow-lg); }
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
  transition: transform 0.7s var(--ease), filter 0.3s;
}
.project-card:hover img { transform: scale(1.05); filter: brightness(0.45); }

.card-body {
  position: relative;
  z-index: 1;
  padding: var(--s24);
  background: linear-gradient(to top,
    rgba(8,12,28,0.97) 0%,
    rgba(8,12,28,0.65) 55%,
    transparent 100%);
}

.card-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
  border: 1px solid rgba(147,197,253,0.3);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: var(--s8);
}
.card-body h3 { color: var(--white); font-size: 1rem; margin-bottom: var(--s8); }
.card-body p  { font-size: 0.83rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* =====================================================
   STRENGTHS — 03
   ===================================================== */
.strengths { background: var(--surface); }

.strengths-intro { max-width: 540px; margin-bottom: var(--s48); }
.strengths-intro h2 { margin-bottom: var(--s16); }

.strengths-grid {
  display: grid;
  gap: var(--s12);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .strengths-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .strengths-grid { grid-template-columns: repeat(4, 1fr); } }

.strength-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-lg);
  padding: var(--s24);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  touch-action: manipulation;
}
.strength-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
  transform: translateY(-4px);
}
@media (hover: none) {
  .strength-card:active { box-shadow: var(--shadow-md); border-color: var(--blue-mid); }
}

.str-icon {
  width: 40px; height: 40px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-mid);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: var(--s20);
}

.strength-card h3 { font-size: 0.93rem; color: var(--ink); margin-bottom: var(--s8); }
.strength-card p  { font-size: 0.875rem; line-height: 1.65; }

/* =====================================================
   TECH — 04
   ===================================================== */
.tech { background: var(--white); }

.tech-header { max-width: 500px; margin-bottom: var(--s48); }
.tech-header h2 { margin-bottom: var(--s12); }

.marquee-outer {
  position: relative;
  overflow: hidden;
  margin-inline: calc(-1 * var(--s20));
}
@media (min-width: 640px)  { .marquee-outer { margin-inline: calc(-1 * var(--s32)); } }
@media (min-width: 1024px) { .marquee-outer { margin-inline: calc(-1 * var(--s48)); } }

.marquee-outer::before,
.marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-outer::before { left:  0; background: linear-gradient(to right, var(--white), transparent); }
.marquee-outer::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }

.marquee-track {
  display: flex;
  gap: var(--s12);
  width: max-content;
  padding-block: var(--s8);
  padding-inline: var(--s20);
  animation: slide 22s linear infinite;
}
/* Pause on hover — desktop only */
@media (hover: hover) {
  .marquee-track:hover { animation-play-state: paused; }
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: var(--s8);
  background: var(--surface);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-md);
  padding: 10px 18px;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
  /* min touch size */
  min-height: 44px;
}
.tech-chip:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.tech-chip img {
  width: 20px; height: 20px;
  object-fit: contain;
  filter: brightness(0) opacity(0.55);
  transition: filter 0.2s;
}
.tech-chip:hover img { filter: brightness(0) opacity(0.85); }
.tech-chip span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-4);
  letter-spacing: 0.04em;
}

/* Dark CTA */
.tech-cta {
  margin-top: var(--s64);
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(40px, 8vw, 80px) clamp(24px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tech-cta::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 280px;
  background: radial-gradient(ellipse, rgba(0,98,255,0.28) 0%, transparent 70%);
  pointer-events: none;
}
/* Shimmer on CTA */
.tech-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    transparent 0%,
    rgba(255,255,255,0.025) 40%,
    transparent 80%);
  pointer-events: none;
}
.tech-cta h2 { color: var(--white); margin-bottom: var(--s12); position: relative; }
.tech-cta p  {
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--s32);
  max-width: 400px;
  margin-inline: auto;
  position: relative;
}
.tech-cta .btn-primary { position: relative; }

/* =====================================================
   TESTIMONIAL
   ===================================================== */
.testimonial { background: var(--surface); }

.testimonial-inner { max-width: 700px; margin-inline: auto; text-align: center; }

.quote-icon {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blue-mid);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: var(--s4);
  animation: quotePulse 4s ease-in-out infinite;
}
@keyframes quotePulse {
  0%,100% { opacity: 0.5; } 50% { opacity: 1; }
}

.testimonial-text {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.58;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: var(--s32);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s16);
}
.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-2);
}
.testimonial-author strong { display: block; font-size: 0.9rem; font-weight: 650; color: var(--ink); }
.testimonial-author span   { font-size: 0.78rem; color: var(--gray-4); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact { background: var(--white); }

.contact-inner { max-width: 480px; margin-inline: auto; text-align: center; }
.contact-inner h2  { margin-bottom: var(--s12); }
.contact-inner > p { margin-bottom: var(--s32); }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  background: var(--surface);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-md);
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: var(--s20);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  word-break: break-all;
  touch-action: manipulation;
}
.contact-email:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-sm);
  background: var(--blue-soft);
}
.contact-email svg { width: 14px; height: 14px; flex-shrink: 0; }

.contact-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s8);
}
.contact-pill {
  display: flex;
  align-items: center;
  gap: var(--s8);
  padding: 11px 20px;
  border: 1px solid var(--gray-2);
  border-radius: var(--r-md);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-4);
  background: var(--white);
  transition: all 0.18s;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.contact-pill:hover { color: var(--ink); border-color: var(--gray-3); box-shadow: var(--shadow-xs); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-2);
  padding-block: var(--s32);
  padding-bottom: calc(var(--s32) + var(--safe-bottom));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--s8);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  touch-action: manipulation;
}
.footer-logo img { width: 20px; height: 20px; object-fit: contain; }

.footer-nav { display: flex; gap: var(--s24); flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.82rem;
  color: var(--gray-4);
  transition: color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
  touch-action: manipulation;
}
.footer-nav a:hover { color: var(--ink); }

.footer-copy { font-size: 0.78rem; color: var(--gray-4); }

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--gray-1); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
