/* ============================================================
   FICTUS LABS — MAIN STYLESHEET
   Design System: Apple + Google Veo Inspired | Premium AI Agency
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;500;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --ink: #111318;
  --ink-muted: #4a4f5e;
  --ink-light: #8b91a0;
  --surface: #f8f8f9;
  --surface-2: #f0f1f4;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);

  /* Brand Gradients */
  --grad-hero: linear-gradient(135deg, #e8f4ff 0%, #f0ebff 35%, #fce8ff 65%, #fff0eb 100%);
  --grad-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --grad-warm: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
  --grad-cool: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #8b5cf6 100%);
  --grad-green: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
  --grad-text: linear-gradient(135deg, #1a1a2e 0%, #6366f1 50%, #d946ef 100%);

  /* Typography */
  --font-display: 'Google Sans', sans-serif;
  --font-heading: 'Google Sans', sans-serif;
  --font-body: 'Google Sans', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1440px;
  --gutter: clamp(24px, 4vw, 64px);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.12), 0 16px 40px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 60px rgba(99,102,241,0.20), 0 0 120px rgba(139,92,246,0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-mid: 0.4s;
  --dur-slow: 0.7s;
  --dur-xl: 1.1s;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Noise Texture Overlay ─────────────────────────────── */
.noise-overlay {
  position: relative;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-style: normal;
}

.display-xl {
  font-size: clamp(44px, 6vw, 90px);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-style: normal;
}

.display-lg {
  font-size: clamp(32px, 4vw, 62px);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-style: normal;
}

.display-md {
  font-size: clamp(26px, 3vw, 44px);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-style: normal;
}

.display-serif {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.02em;
}

.text-lg { font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.text-md { font-size: 17px; line-height: 1.65; }
.text-sm { font-size: 14px; line-height: 1.5; }
.text-xs { font-size: 12px; line-height: 1.4; letter-spacing: 0.04em; }

.text-muted { color: var(--ink-muted); }
.text-light { color: var(--ink-light); }
.font-weight-400 { font-weight: 400; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }

/* Gradient Text */
.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Label / Eyebrow */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

/* ─── Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section-sm {
  padding-block: clamp(48px, 6vw, 80px);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.gap-64 { gap: 64px; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--dur-mid) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-style: normal;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}
.btn-primary:active { transform: translateY(0); }

.btn-gradient {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(99,102,241,0.35);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(99,102,241,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-white {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* Arrow Icon */
.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ─── Navigation ────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--dur-mid) var(--ease-out);
}

.nav-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}

.nav-logo-mark svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--dur-fast) var(--ease-out);
  letter-spacing: -0.01em;
}
.nav-link:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--dur-mid) var(--ease-out);
}

/* ─── Mobile Menu ───────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu .nav-link {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 24px;
}

/* ─── Hero Section ──────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #c7d7ff 0%, #e0c7ff 50%, transparent 70%);
  top: -20%;
  left: -15%;
  animation-delay: 0s;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #ffd6f5 0%, #ffc7e0 50%, transparent 70%);
  top: -10%;
  right: -10%;
  animation-delay: -3s;
}
.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #c7f0ff 0%, #d4e4ff 50%, transparent 70%);
  bottom: -20%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.08); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding-inline: var(--gutter);
  padding-block: 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 36px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  box-shadow: var(--shadow-sm);
  animation: fadeSlideUp 0.8s var(--ease-out) 0.1s both;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 8px rgba(99,102,241,0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-headline {
  font-size: clamp(32px, 4vw, 58px);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.2s both;
}

.hero-headline .italic-serif {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.025em;
}

/* Hero chips */
.hero-chips {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.5s both;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  box-shadow: var(--shadow-sm);
}

.hero-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-accent);
  flex-shrink: 0;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--ink-muted);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 28px;
  line-height: 1.65;
  font-weight: 400;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.35s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeSlideUp 0.9s var(--ease-out) 0.45s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeSlideUp 1s var(--ease-out) 1s both;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ink-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.scroll-label {
  font-size: 10px;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-weight: 600;
}

/* ─── Hero Video Reel ───────────────────────────────────── */
.hero-reel-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  animation: fadeSlideUp 1s var(--ease-out) 0.6s both;
}

.hero-reel {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink);
  position: relative;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border: 1px solid var(--border);
}

.hero-reel video,
.hero-reel .video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  gap: 16px;
  font-family: var(--font-heading);
}

.play-btn-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-mid) var(--ease-out);
  cursor: pointer;
}
.play-btn-large:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(255,255,255,0.2);
}
.play-btn-large svg { width: 28px; height: 28px; fill: white; margin-left: 4px; }

.reel-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.6;
}

/* ─── Trusted By / Logos ────────────────────────────────── */
#logos {
  padding-block: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}

.logos-track-wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

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

.logo-item {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: -0.03em;
  opacity: 0.5;
  transition: opacity var(--dur-mid) var(--ease-out);
  white-space: nowrap;
}
.logo-item:hover { opacity: 0.9; }

/* ─── What We Do (Services) ─────────────────────────────── */
#services {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.services-header {
  max-width: 700px;
  margin-bottom: 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  transition: all var(--dur-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  border-radius: inherit;
  z-index: 0;
}

/* Ensure all direct card content renders above the ::before overlay */
.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.card-col-8 { grid-column: span 8; }
.card-col-4 { grid-column: span 4; }
.card-col-6 { grid-column: span 6; }
.card-col-5 { grid-column: span 5; }
.card-col-7 { grid-column: span 7; }

.service-card-1::before { background: linear-gradient(135deg, #f0f4ff, #f8f0ff); }
.service-card-2::before { background: linear-gradient(135deg, #fff0f8, #fff0e8); }
.service-card-3::before { background: linear-gradient(135deg, #f0fff8, #f0f8ff); }
.service-card-4::before { background: linear-gradient(135deg, #fffbf0, #fff0f8); }
.service-card-5::before { background: linear-gradient(135deg, #f0f8ff, #f8f0ff); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* MD3: service card vertical layout — tags sit below description */
.service-card .service-tags {
  margin-top: 20px;
  align-items: flex-start;
}

.icon-purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.icon-pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.icon-green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.icon-orange { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.icon-blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-desc {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 480px;
}

.service-visual {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e8eeff 0%, #f0e8ff 100%);
  overflow: hidden;
  position: relative;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

.tag-purple { background: #ede9fe; color: #6d28d9; }
.tag-pink { background: #fce7f3; color: #be185d; }
.tag-green { background: #d1fae5; color: #065f46; }
.tag-orange { background: #ffedd5; color: #9a3412; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.tag-indigo { background: #e0e7ff; color: #3730a3; }

/* ─── Process Section ───────────────────────────────────── */
#process {
  background: var(--white);
  overflow: hidden;
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 80px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent);
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--dur-slow) var(--ease-out);
}

.process-step.in-view {
  opacity: 1;
  transform: translateY(0);
}

.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }
.process-step:nth-child(5) { transition-delay: 0.4s; }

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  position: relative;
  z-index: 1;
  transition: all var(--dur-mid) var(--ease-out);
}

.process-step:hover .step-number {
  background: var(--grad-accent);
  color: white;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(99,102,241,0.35);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ─── Portfolio / Work ──────────────────────────────────── */
#work {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

#work .eyebrow {
  color: rgba(255,255,255,0.5);
}
#work .eyebrow::before {
  background: linear-gradient(to right, rgba(255,255,255,0.6), transparent);
}

.work-header {
  max-width: 800px;
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.work-headline {
  color: var(--white);
  font-size: clamp(26px, 3vw, 44px);
  white-space: nowrap;
}

.work-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--dur-fast) var(--ease-out);
  background: transparent;
}
.filter-btn.active,
.filter-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 72px;
  gap: 16px;
}

.portfolio-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #1a1a2e;
  transition: all var(--dur-mid) var(--ease-out);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* Row 1 — Nexaflow (lg) + Luminary (sm): same row span = same height, bottoms aligned */
.portfolio-item-lg   { grid-column: span 7; grid-row: span 7; }
/* Row 2 — Arcadia + Vega: both 6-col, same row span */
.portfolio-item-sm   { grid-column: span 5; grid-row: span 7; }
.portfolio-item-md   { grid-column: span 6; grid-row: span 4; }
/* Row 3 — Soliris (wide) + Quantum (narrow): same row span = same height, bottoms aligned */
.portfolio-item-wide { grid-column: span 8; grid-row: span 5; }
.portfolio-item-narrow { grid-column: span 4; grid-row: span 5; }

.portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.portfolio-item:hover .portfolio-thumb { transform: scale(1.05); }

.portfolio-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.4);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-info {
  color: white;
}
.portfolio-client {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.portfolio-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.play-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--dur-mid) var(--ease-spring);
}
.portfolio-item:hover .play-badge {
  opacity: 1;
  transform: scale(1);
}
.play-badge svg { width: 16px; height: 16px; fill: white; margin-left: 2px; }

/* ─── Results / Stats ───────────────────────────────────── */
#results {
  background: var(--white);
  overflow: hidden;
}

.results-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.results-text { max-width: 520px; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-mid) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
  line-height: 1.4;
}

.stat-card-featured {
  background: var(--ink);
  color: white;
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}
.stat-card-featured .stat-label { color: rgba(255,255,255,0.6); }

.results-quote {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  margin-top: 40px;
  position: relative;
}

.results-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--border-strong);
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 20px;
  padding-top: 24px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.quote-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.quote-role { font-size: 13px; color: var(--ink-muted); }

/* ─── Testimonials ──────────────────────────────────────── */
#testimonials {
  background: var(--surface);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.testimonials-track-outer {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: testimonialScroll 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover { animation-play-state: paused; }

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

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.star { color: #f59e0b; font-size: 16px; }

.testimonial-text {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.testimonial-role { font-size: 13px; color: var(--ink-muted); }

/* ─── Tech / Capabilities ───────────────────────────────── */
#capabilities {
  background: var(--white);
  overflow: hidden;
}

.capabilities-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.capabilities-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
}

.cap-orb-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--grad-hero);
  filter: blur(0px);
}

.capability-chips {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-chip {
  position: absolute;
  padding: 10px 18px;
  background: var(--white);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: chipFloat var(--dur) ease-in-out infinite alternate;
}

.cap-chip:nth-child(1) { top: 8%; left: 50%; transform: translateX(-50%); --dur: 3s; }
.cap-chip:nth-child(2) { top: 25%; right: 2%; --dur: 3.5s; }
.cap-chip:nth-child(3) { top: 45%; right: -4%; --dur: 2.8s; }
.cap-chip:nth-child(4) { bottom: 25%; right: 4%; --dur: 3.2s; }
.cap-chip:nth-child(5) { bottom: 8%; left: 50%; transform: translateX(-50%); --dur: 3.8s; }
.cap-chip:nth-child(6) { bottom: 25%; left: 2%; --dur: 2.6s; }
.cap-chip:nth-child(7) { top: 45%; left: -4%; --dur: 3.4s; }
.cap-chip:nth-child(8) { top: 25%; left: 4%; --dur: 3s; }

@keyframes chipFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.cap-chip:nth-child(1), .cap-chip:nth-child(5) {
  animation-name: chipFloatCenter;
}
@keyframes chipFloatCenter {
  from { transform: translateX(-50%) translateY(0); }
  to { transform: translateX(-50%) translateY(-10px); }
}

.cap-center-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-xl);
  font-family: var(--font-heading);
}
.cap-center-badge .badge-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.cap-center-badge .badge-text {
  font-size: 10px;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.capabilities-text .feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--dur-mid) var(--ease-out);
}
.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
  border-color: transparent;
}

.feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check svg { width: 14px; height: 14px; stroke: white; stroke-width: 2.5; fill: none; }

.feature-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.feature-desc { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

/* ─── Pricing ───────────────────────────────────────────── */
#pricing {
  background: var(--surface);
  overflow: hidden;
}

.pricing-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-mid) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  background: var(--ink);
  color: white;
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}
.pricing-card-featured:hover { transform: scale(1.04) translateY(-6px); }

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad-accent);
  color: white;
  position: absolute;
  top: 24px;
  right: 24px;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.pricing-card-featured .pricing-tier { color: rgba(255,255,255,0.5); }

.pricing-price {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-period {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.pricing-card-featured .pricing-period { color: rgba(255,255,255,0.5); }

.pricing-desc {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.pricing-card-featured .pricing-desc { color: rgba(255,255,255,0.65); }

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}
.pricing-card-featured .pricing-divider { background: rgba(255,255,255,0.1); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.pricing-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pricing-feature-icon svg { width: 12px; height: 12px; stroke: #065f46; stroke-width: 2.5; fill: none; }
.pricing-card-featured .pricing-feature-icon { background: rgba(255,255,255,0.15); }
.pricing-card-featured .pricing-feature-icon svg { stroke: white; }

.pricing-cta { width: 100%; }

/* ─── Contact / CTA Section ─────────────────────────────── */
#contact {
  background: var(--white);
  overflow: hidden;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-headline {
  margin-bottom: 24px;
}

.contact-sub {
  color: var(--ink-muted);
  margin-bottom: 48px;
  font-size: 18px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--ink-muted); fill: none; stroke-width: 1.5; }

.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Form Wrapper */
.contact-form-wrapper {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

/* WordPress Shortcode Placeholder Styles */
.wpcf7-form,
.contact-form-placeholder {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Native form fields (used as placeholders / fallback) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea,
.form-select,
.wpcf7-text,
.wpcf7-email,
.wpcf7-select,
.wpcf7-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: all var(--dur-fast) var(--ease-out);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
}

.form-textarea,
.wpcf7-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
}

/* Woocommerce / CF7 override */
.wpcf7-submit {
  width: 100%;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: white;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--dur-mid) var(--ease-out);
}
.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ─── Final CTA Band ────────────────────────────────────── */
#cta-band {
  background: var(--ink);
  color: var(--white);
  padding-block: 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band-orb-1 {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  pointer-events: none;
}
.cta-band-orb-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,70,239,0.2) 0%, transparent 70%);
  bottom: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-band-content {
  position: relative;
  z-index: 1;
}

.cta-band-headline {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-band-sub {
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 48px;
  font-size: 18px;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Footer ────────────────────────────────────────────── */
#site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-block: 64px 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
  color: var(--ink-muted);
}
.social-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  transform: translateY(-2px);
}
.social-btn svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 15px;
  color: var(--ink-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-link:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-copyright {
  font-size: 14px;
  color: var(--ink-light);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--ink-light);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-legal a:hover { color: var(--ink); }

/* ─── Scroll Animations ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal-left.in-view { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal-right.in-view { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Animations ────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1200px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-col-8, .card-col-4, .card-col-6, .card-col-5, .card-col-7 {
    grid-column: span 1;
  }
  .portfolio-item-lg, .portfolio-item-sm, .portfolio-item-md,
  .portfolio-item-wide, .portfolio-item-narrow {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .results-inner,
  .capabilities-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card-featured { grid-column: span 2; flex-direction: column; text-align: center; }

  .capabilities-visual { max-width: 400px; margin-inline: auto; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-6px); }

  .work-header { flex-direction: column; align-items: flex-start; }
  .work-headline { white-space: normal; }

  .process-steps { grid-template-columns: 1fr 1fr; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
  .display-xl { font-size: 38px; }
  .display-lg { font-size: 28px; }
  .display-md { font-size: 22px; }

  .section { padding-block: 64px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 28px; }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .portfolio-item-lg, .portfolio-item-sm, .portfolio-item-md,
  .portfolio-item-wide, .portfolio-item-narrow {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .process-steps { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-card-featured { grid-column: span 1; }

  .cta-band-actions { flex-direction: column; align-items: center; }

  .footer-legal { flex-direction: column; gap: 12px; }
}

/* ─── Utility ───────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
