/* ═══════════════════════════════════════════════════════
   INNOVATOR CREWS — Premium Agency CSS 2026
   Stack: Pure CSS3 / Custom Properties / No frameworks
═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Blues */
  --blue-50:  #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-300: #93C5FD;
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;

  /* Neutrals */
  --gray-0:   #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Brand */
  --brand:      var(--blue-600);
  --brand-dark: var(--blue-700);
  --brand-light:var(--blue-500);
  --accent:     #6366F1;

  /* Text */
  --text-primary:   var(--gray-900);
  --text-body:      var(--gray-700);
  --text-muted:     var(--gray-500);
  --text-inverse:   #fff;

  /* Surfaces */
  --surface:        var(--gray-0);
  --surface-2:      var(--gray-50);
  --surface-3:      var(--gray-100);
  --border:         var(--gray-200);
  --border-dark:    var(--gray-300);

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
  --grad-soft:   linear-gradient(135deg, var(--blue-50) 0%, #EDE9FE 100%);
  --grad-hero:   linear-gradient(135deg, #EFF6FF 0%, #E0E7FF 50%, #F0F9FF 100%);

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(15,23,42,.04);
  --shadow-sm:  0 2px 8px rgba(15,23,42,.06);
  --shadow-md:  0 4px 24px rgba(15,23,42,.08);
  --shadow-lg:  0 8px 48px rgba(15,23,42,.12);
  --shadow-xl:  0 16px 64px rgba(15,23,42,.16);
  --shadow-blue:0 8px 32px rgba(37,99,235,.25);

  /* Radii */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --r-full:9999px;

  /* Spacing */
  --space-section: 120px;
  --space-section-sm: 80px;
  --nav-height: 72px;
  --container-max: 1280px;
  --container-pad: clamp(20px, 5vw, 80px);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --t-fast: 150ms var(--ease);
  --t-base: 250ms var(--ease);
  --t-slow: 400ms var(--ease);
}

/* ─── RESET ─── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-height) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.72;
  font-size: 1.0rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── SECTION SPACING ─── */
.section      { padding: var(--space-section) 0; }
.section-sm   { padding: var(--space-section-sm) 0; }
.section, .section-sm, .cta-section, .proof-strip { overflow: clip; }

/* ─── SHARED TEXT UTILITIES ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--brand);
  border-radius: var(--r-full);
}
.gt {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before { display: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.inline-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-blue);
  transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,.35);
  filter: brightness(1.08);
}
.btn-full { width: 100%; justify-content: center; }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-blue);
  transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,99,235,.4);
  filter: brightness(1.08);
}
.btn-hero-primary i { transition: transform var(--t-base); }
.btn-hero-primary:hover i { transform: translateX(4px); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-dark);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.btn-hero-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn-hero-ghost .fa-play { font-size: .65rem; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-height);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
/* PNG logo — square icon mark */
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  transition: opacity 0.2s var(--ease);
}
.nav-logo:hover .logo-img { opacity: .85; }
/* Accessibility fallback — visually hidden, readable by screen readers */
.logo-fallback {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--brand);
  background: var(--blue-50);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-blue);
  transition: transform var(--t-base), filter var(--t-base);
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.nav-cta i   { font-size: .75rem; transition: transform var(--t-base); }
.nav-cta:hover i { transform: translateX(3px); }

/* Mobile-only CTA inside nav menu */
.nav-mobile-cta-item { display: none; }
.nav-mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-blue);
  letter-spacing: .02em;
  transition: transform var(--t-base), filter var(--t-base);
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.nav-mobile-cta i { font-size: .75rem; transition: transform var(--t-base); }
.nav-mobile-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.nav-mobile-cta:hover i { transform: translateX(3px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--r-full);
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
}
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 20px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* ─── HERO ─── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0E7FF 50%, #F0F9FF 100%);
  padding: calc(var(--nav-height) + 80px) 0 80px;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(96,165,250,.35), transparent 70%);
  top: -120px; left: -100px;
  animation: blobFloat 18s ease-in-out infinite;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,.25), transparent 70%);
  top: 100px; right: -80px;
  animation: blobFloat 22s ease-in-out infinite reverse;
}
.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,.2), transparent 70%);
  bottom: 0; left: 35%;
  animation: blobFloat 16s ease-in-out infinite 4s;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,15px) scale(.95); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-text { max-width: 580px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.tag-dot {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37,99,235,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(37,99,235,.2); }
  50%      { box-shadow: 0 0 0 6px rgba(37,99,235,.05); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--gray-900);
}
.hero-em {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-avatars {
  display: flex;
}
.ta {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  overflow: hidden;
  margin-left: -8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.ta:first-child { margin-left: 0; }
.ta img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-text { display: flex; flex-direction: column; gap: 2px; }
.trust-stars {
  color: #FBBF24;
  font-size: .75rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.trust-text span { font-size: .8rem; font-weight: 500; color: var(--text-body); }

/* Hero Visual / Mockup */
.hero-visual { position: relative; }
.hero-mockup { position: relative; }
.mock-browser {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
}
.mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
}
.mock-dot:nth-child(1) { background: #FF5F57; }
.mock-dot:nth-child(2) { background: #FFBD2E; }
.mock-dot:nth-child(3) { background: #28CA41; }
.mock-url {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: .72rem;
  color: var(--text-muted);
  max-width: 180px;
}
.mock-screen { padding: 0; overflow: hidden; position: relative; }

/* ─── ANIMATED CURSOR ─── */
.ms-cursor {
  position: absolute;
  width: 12px; height: 12px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.2));
  animation: cursorPath 8s cubic-bezier(.4,0,.2,1) infinite;
}
.ms-cursor::before {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-left: 5px solid var(--gray-800);
  border-right: 5px solid transparent;
  border-bottom: 8px solid transparent;
  border-top: 0;
}
.ms-cursor::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(37,99,235,.25);
  top: -1px; left: -1px;
  transform: scale(0);
  animation: cursorClick 8s ease infinite;
}
@keyframes cursorPath {
  0%       { top: 55%; left: 60%; }
  10%      { top: 35%; left: 50%; }
  15%, 22% { top: 35%; left: 50%; }
  32%      { top: 58%; left: 22%; }
  37%, 44% { top: 58%; left: 22%; }
  54%      { top: 58%; left: 50%; }
  59%, 66% { top: 58%; left: 50%; }
  76%      { top: 58%; left: 78%; }
  81%, 88% { top: 58%; left: 78%; }
  100%     { top: 55%; left: 60%; }
}
@keyframes cursorClick {
  0%, 14%  { transform: scale(0); opacity: 1; }
  16%      { transform: scale(1.8); opacity: 0; }
  18%, 36%  { transform: scale(0); opacity: 1; }
  38%      { transform: scale(1.8); opacity: 0; }
  40%, 58%  { transform: scale(0); opacity: 1; }
  60%      { transform: scale(1.8); opacity: 0; }
  62%, 80%  { transform: scale(0); opacity: 1; }
  82%      { transform: scale(1.8); opacity: 0; }
  84%, 100% { transform: scale(0); }
}

/* ─── MINI WEBSITE INSIDE MOCK ─── */
.ms-nav {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  gap: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.ms-nav-logo {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--grad-brand);
  flex-shrink: 0;
  animation: scaleBreath 3s ease-in-out infinite;
}
.ms-nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.ms-nav-links span {
  width: 24px; height: 5px;
  border-radius: 3px;
  background: var(--gray-200);
}
.ms-nav-btn {
  width: 32px; height: 12px;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  margin-left: 6px;
}

/* Mini hero */
.ms-hero {
  background: linear-gradient(135deg, var(--blue-50) 0%, #EDE9FE 50%, #F0F9FF 100%);
  background-size: 200% 200%;
  animation: msHeroBgShift 6s ease infinite;
  padding: 20px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
@keyframes msHeroBgShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.ms-hero-badge {
  width: 48px; height: 8px;
  border-radius: var(--r-full);
  background: rgba(37,99,235,.12);
  margin-bottom: 2px;
}
.ms-hero-title {
  width: 75%; height: 9px;
  border-radius: 4px;
  background: var(--gray-800);
  animation: msRevealWidth 0.8s cubic-bezier(.16,1,.3,1) 0.3s both;
}
.ms-hero-title.short {
  width: 55%; height: 8px;
  background: var(--gray-700);
  animation-delay: 0.5s;
}
.ms-hero-sub {
  width: 65%; height: 5px;
  border-radius: 3px;
  background: var(--gray-300);
  margin-top: 2px;
}
.ms-hero-btns {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.ms-btn-primary {
  width: 50px; height: 14px;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  box-shadow: 0 2px 6px rgba(37,99,235,.2);
  position: relative;
  overflow: hidden;
  animation: msBtnPulse 3s ease-in-out infinite;
}
.ms-btn-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.4) 50%, transparent 100%);
  animation: msShimmerSweep 2.5s ease-in-out infinite;
}
@keyframes msShimmerSweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes msBtnPulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(37,99,235,.2); }
  50%      { box-shadow: 0 3px 12px rgba(37,99,235,.4); }
}
.ms-btn-ghost {
  width: 44px; height: 14px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--gray-300);
  background: #fff;
}

/* Mini feature cards */
.ms-features {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
}
.ms-feature-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: msCardSlideUp 0.6s cubic-bezier(.16,1,.3,1) both;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ms-feature-card:nth-child(1) { animation-delay: 0.9s; }
.ms-feature-card:nth-child(2) { animation-delay: 1.1s; }
.ms-feature-card:nth-child(3) { animation-delay: 1.3s; }
@keyframes msCardSlideUp {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes msRevealWidth {
  from { width: 0; opacity: 0; }
  to   { opacity: 1; }
}
.ms-feat-icon {
  width: 20px; height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: msIconPop 0.5s cubic-bezier(.34,1.56,.64,1) both;
}
.ms-feature-card:nth-child(1) .ms-feat-icon { animation-delay: 1.1s; }
.ms-feature-card:nth-child(2) .ms-feat-icon { animation-delay: 1.3s; }
.ms-feature-card:nth-child(3) .ms-feat-icon { animation-delay: 1.5s; }
@keyframes msIconPop {
  from { transform: scale(0) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.ms-feat-icon.blue   { background: var(--blue-100); }
.ms-feat-icon.purple { background: #EDE9FE; }
.ms-feat-icon.green  { background: #DCFCE7; }
.ms-feat-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
.ms-feat-lines span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
  width: 100%;
  animation: msLineGrow 0.6s cubic-bezier(.16,1,.3,1) both;
}
.ms-feature-card:nth-child(1) .ms-feat-lines span:nth-child(1) { animation-delay: 1.2s; }
.ms-feature-card:nth-child(1) .ms-feat-lines span:nth-child(2) { animation-delay: 1.3s; }
.ms-feature-card:nth-child(2) .ms-feat-lines span:nth-child(1) { animation-delay: 1.4s; }
.ms-feature-card:nth-child(2) .ms-feat-lines span:nth-child(2) { animation-delay: 1.5s; }
.ms-feature-card:nth-child(3) .ms-feat-lines span:nth-child(1) { animation-delay: 1.6s; }
.ms-feature-card:nth-child(3) .ms-feat-lines span:nth-child(2) { animation-delay: 1.7s; }
@keyframes msLineGrow {
  from { width: 0; opacity: 0; }
  to   { opacity: 1; }
}
.ms-feat-lines span.w60 { width: 60%; }

/* Mini content block */
.ms-content-block {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-line {
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
  animation: msLineGrow 0.5s cubic-bezier(.16,1,.3,1) both;
}
.ms-line.full { width: 100%; animation-delay: 1.8s; }
.ms-line.w80  { width: 80%; animation-delay: 1.9s; }
.ms-line.w50  { width: 50%; animation-delay: 2.0s; }

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: floatY 5s ease-in-out infinite;
}
.fc-1 { top: -20px; right: -20px; animation-delay: 0s; }
.fc-2 { bottom: 30px; left: -30px; animation-delay: 2s; }
.fc-3 {
  bottom: -20px; right: 20px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-body);
  gap: 8px;
  animation-delay: 1s;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.fc-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.fc-num { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }
.fc-label { font-size: .72rem; color: var(--text-muted); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-icon {
  width: 28px; height: 44px;
  border: 2px solid var(--gray-400);
  border-radius: var(--r-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-pip {
  width: 4px; height: 8px;
  background: var(--brand);
  border-radius: var(--r-full);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ─── PROOF STRIP ─── */
.proof-strip {
  background: var(--gray-900);
  padding: 48px 0;
}
.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 48px;
  text-align: center;
  border-radius: var(--r-lg);
  transition: transform var(--t-base), background var(--t-base);
}
.proof-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.04);
}
.proof-value {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.proof-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.proof-suf {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.proof-label {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.proof-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ─── SERVICES ─── */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(59,130,246,0), rgba(59,130,246,.15), rgba(59,130,246,0));
  transform: translateX(-115%);
  transition: transform 700ms var(--ease);
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}
.svc-card:hover::after { transform: translateX(115%); }
.svc-hero-card {
  grid-column: span 2;
  background: var(--grad-soft);
  border-color: var(--blue-100);
}
.svc-accent-card {
  background: var(--grad-brand);
  border: none;
  color: #fff;
}
.svc-icon {
  width: 52px; height: 52px;
  background: var(--blue-50);
  color: var(--brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.svc-icon-white {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.2);
  color: #fff;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.3px;
}
.svc-card p { font-size: .9rem; color: var(--text-body); line-height: 1.65; }
.svc-accent-card p { color: rgba(255,255,255,.8); }
.svc-list, .svc-list-white {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.svc-list li, .svc-list-white li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  font-weight: 500;
}
.svc-list li { color: var(--text-body); }
.svc-list-white li { color: rgba(255,255,255,.85); }
.svc-list .fa-check, .svc-list-white .fa-check {
  color: var(--blue-500);
  font-size: .7rem;
  flex-shrink: 0;
}
.svc-list-white .fa-check { color: rgba(255,255,255,.8); }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: .85rem;
  font-weight: 600;
  margin-top: auto;
  transition: gap var(--t-base), color var(--t-base);
}
.svc-link:hover { gap: 10px; }
.svc-link-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 600;
  margin-top: auto;
  transition: gap var(--t-base);
}
.svc-link-white:hover { gap: 10px; }

/* ─── WHY US ─── */
.why { background: var(--surface-2); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.why-desc {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 20px 0 36px;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-50);
  color: var(--brand);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
}
.why-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.why-card p { font-size: .85rem; color: var(--text-body); line-height: 1.55; }

/* ─── PORTFOLIO ─── */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.pf-btn {
  padding: 9px 22px;
  border-radius: var(--r-full);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.pf-btn:hover { border-color: var(--brand); color: var(--brand); }
.pf-btn.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.port-featured { grid-column: span 2; }
.port-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.port-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.25) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  transition: left 750ms var(--ease);
  pointer-events: none;
}
.port-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.port-card:hover::after { left: 145%; }
.port-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.port-featured .port-image { height: 280px; }
.port-bg {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-slow);
}
.port-bg.port-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.port-card:hover .port-bg { transform: scale(1.04); }
.port-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
}
.port-card:hover .port-overlay { opacity: 1; }
.port-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--gray-900);
  font-weight: 700;
  font-size: .85rem;
  padding: 12px 22px;
  border-radius: var(--r-full);
  transform: translateY(8px);
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.port-card:hover .port-cta { transform: translateY(0); }
.port-cta:hover { background: var(--blue-600); color: #fff; }
.port-info { padding: 24px; }
.port-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.port-tag {
  background: var(--blue-50);
  color: var(--brand);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.port-result {
  color: #16A34A;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.port-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.port-info p { font-size: .85rem; color: var(--text-body); }
.port-cta-row {
  text-align: center;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.port-cta-row p { font-size: 1.1rem; color: var(--text-body); }

/* Mini mockup shapes inside port-bg */
.port-mockup-mini {
  width: 75%; max-width: 280px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pmm-bar {
  height: 20px;
  background: rgba(255,255,255,.15);
  margin-bottom: 8px;
}
.pmm-hero {
  height: 50px;
  background: rgba(255,255,255,.25);
  margin: 0 8px 8px;
  border-radius: 4px;
}
.accent-hero { background: rgba(255,255,255,.35); }
.warm-hero   { background: rgba(255,200,0,.3); }
.pmm-grid {
  display: flex;
  gap: 6px;
  padding: 0 8px 8px;
}
.pmm-card {
  flex: 1;
  height: 36px;
  background: rgba(255,255,255,.18);
  border-radius: 4px;
}
.pmm-cols { display: flex; gap: 6px; padding: 0 8px 8px; }
.pmm-rows { display: flex; flex-direction: column; gap: 6px; padding: 0 8px 8px; }
.pmm-row {
  height: 12px;
  background: rgba(255,255,255,.22);
  border-radius: 4px;
}
.pmm-row.short { width: 60%; }
.pmm-dash { display: flex; gap: 6px; padding: 0 8px 8px; }
.pmm-stat { flex: 1; height: 30px; background: rgba(255,255,255,.2); border-radius: 4px; }
.pmm-chart { height: 40px; margin: 0 8px 8px; background: rgba(255,255,255,.15); border-radius: 4px; }
.pmm-table { display: flex; flex-direction: column; gap: 5px; padding: 0 8px 8px; }
.pmm-tr { height: 14px; background: rgba(255,255,255,.18); border-radius: 3px; }
.pmm-brand-circle {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  margin: 8px auto;
}
.pmm-brand-text {
  height: 14px;
  background: rgba(255,255,255,.25);
  margin: 0 auto 8px;
  border-radius: 4px;
  width: 70%;
}
.pmm-brand-palette {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding-bottom: 8px;
}
.pmm-brand-palette span {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.pmm-brand-palette span:nth-child(2) { background: rgba(255,255,255,.6); }
.pmm-brand-palette span:nth-child(3) { background: rgba(255,255,255,.25); }
.pmm-brand-palette span:nth-child(4) { background: rgba(255,255,255,.15); }

/* Document/system mockup rows (OMSP, Terracore) */
.pmm-dash-header {
  height: 18px;
  background: rgba(255,255,255,.2);
  margin: 0 8px 6px;
  border-radius: 4px;
  width: 55%;
}
.pmm-doc-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 8px 10px;
}
.pmm-doc-row {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 4px 6px;
}
.pmm-doc-badge {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pmm-doc-badge.teal   { background: #5EEAD4; }
.pmm-doc-badge.navy   { background: rgba(255,255,255,.35); }
.pmm-doc-badge.amber  { background: #FCD34D; }
.pmm-doc-badge.dim    { background: rgba(255,255,255,.2); }
.pmm-doc-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.25);
  flex: 1;
}
.pmm-doc-line.long  { max-width: 70%; }
.pmm-doc-line.med   { max-width: 50%; }
.pmm-doc-line.short { max-width: 35%; }
.pmm-doc-status {
  width: 18px; height: 7px;
  border-radius: 3px;
  background: rgba(94,234,212,.5);
  flex-shrink: 0;
}
.pmm-doc-status.dim    { background: rgba(255,255,255,.18); }
.pmm-doc-status.amber-s { background: rgba(252,211,77,.5); }

/* ─── PROCESS ─── */
.process { background: var(--surface-2); }
.process-grid {
  display: flex;
  align-items: stretch;
  gap: 10px;
  overflow: visible;
}
.proc-step {
  flex: 1;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.proc-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.proc-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.proc-icon {
  width: 48px; height: 48px;
  background: var(--blue-50);
  color: var(--brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.proc-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.proc-step p { font-size: .85rem; color: var(--text-body); line-height: 1.6; }
.proc-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--blue-50);
  padding: 6px 12px;
  border-radius: var(--r-full);
  margin-top: auto;
  width: fit-content;
}
.proc-line {
  width: 56px;
  height: 34px;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.proc-line::before {
  content: '';
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue-300));
  border-radius: var(--r-full);
}
.proc-line::after {
  content: '';
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--blue-400);
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background:
    radial-gradient(circle at 16% 20%, rgba(59,130,246,.20), transparent 46%),
    radial-gradient(circle at 84% 78%, rgba(99,102,241,.18), transparent 50%),
    linear-gradient(160deg, var(--gray-900) 0%, var(--gray-800) 58%, var(--gray-900) 100%);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) .8px, transparent .8px);
  background-size: 26px 26px;
  opacity: .18;
  pointer-events: none;
}
.testimonials::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  background: rgba(59,130,246,.22);
  top: -120px;
  right: -120px;
  pointer-events: none;
}
.testimonials .container,
.testimonials .section-header,
.testimonials .testi-grid {
  position: relative;
  z-index: 1;
}
.testimonials .eyebrow { color: var(--blue-400); }
.testimonials .section-title { color: #fff; }
.testimonials .gt {
  background: linear-gradient(135deg, #60A5FA, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  perspective: 1000px;
}
.testi-card {
  background: linear-gradient(145deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.05) 100%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 36px rgba(2,6,23,.25);
  transition: transform var(--t-base), background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.testi-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.26) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  transition: left 760ms var(--ease);
  pointer-events: none;
}
.testi-card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.07) 100%);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 18px 48px rgba(2,6,23,.35);
  transform: translateY(-7px);
}
.testi-card:hover::after { left: 150%; }
.testi-big { grid-row: span 2; }
.testi-stars {
  color: #FBBF24;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--r-full);
  background: rgba(251,191,36,.14);
  border: 1px solid rgba(251,191,36,.25);
}
.testi-card blockquote {
  font-size: .98rem;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testi-big blockquote { font-size: 1.12rem; }
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.testi-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2,6,23,.35);
  border: 2px solid rgba(255,255,255,.18);
}
.testi-av img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.testi-author strong { display: block; color: #fff; font-size: .92rem; }
.testi-author span { font-size: .79rem; color: var(--gray-300); }

/* ─── TEAM ─── */
.team { background: var(--surface); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Horizontal editorial card */
.tm-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  transition: box-shadow var(--t-base), transform var(--t-base);
  box-shadow: var(--shadow-sm);
}
.tm-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Photo column */
.tm-photo-wrap {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: var(--gray-100);
}
.tm-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.tm-card:hover .tm-photo { transform: scale(1.05); }

/* Ghost watermark number */
.tm-num {
  position: absolute;
  bottom: 10px; right: 10px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(0,0,0,.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Text body column */
.tm-body {
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.tm-info-top { display: flex; flex-direction: column; gap: 6px; }

/* Role badge */
.tm-role-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  padding: 4px 10px;
  border-radius: var(--r-full);
}

/* Name */
.tm-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.025em;
  line-height: 1.15;
}

/* Bio */
.tm-bio {
  font-size: .84rem;
  color: var(--text-body);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Skill tags */
.tm-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tm-focus span {
  font-size: .66rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--r-full);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.tm-card:hover .tm-focus span {
  background: var(--blue-50);
  color: var(--brand);
  border-color: var(--blue-200);
}

/* Portfolio link — underline style */
.tm-portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand);
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: gap .22s var(--ease), color var(--t-fast), border-bottom-color var(--t-fast);
}
.tm-portfolio-link:hover {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
  gap: 13px;
}
.tm-portfolio-link i { font-size: .78rem; }

.tm-portfolio-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .74rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px dashed var(--border-dark);
  padding: 7px 16px;
  border-radius: var(--r-full);
  width: fit-content;
}

/* ─── FAQ ─── */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-header .section-title { margin-bottom: 16px; }
.faq-header p { color: var(--text-body); font-size: .95rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--t-base);
}
.faq-q:hover { color: var(--brand); }
.faq-icon {
  color: var(--brand);
  font-size: .85rem;
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { font-size: .9rem; color: var(--text-body); line-height: 1.7; }

/* ─── CTA SECTION ─── */
.cta-section {
  background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.78) 0%, rgba(30,58,138,.62) 100%);
  z-index: 0;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-bg-orbs { display: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,.1);
  top: -100px; left: -100px;
}
.cta-orb-2 {
  width: 300px; height: 300px;
  background: rgba(255,255,255,.08);
  bottom: -80px; right: -60px;
}
.eyebrow-light {
  color: rgba(255,255,255,.8);
}
.eyebrow-light::before { background: rgba(255,255,255,.6); }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.cta-inner h2 em {
  font-style: italic;
  color: rgba(255,255,255,.9);
}
.cta-inner > p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--r-full);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
}
.btn-cta-primary:hover { transform: translateY(-3px); filter: brightness(.96); }
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: var(--r-full);
  transition: border-color var(--t-base), background var(--t-base);
}
.btn-cta-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
}
.cta-guarantee .fa-shield-check { color: rgba(255,255,255,.9); }

/* ─── CONTACT ─── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-left { position: sticky; top: calc(var(--nav-height) + 32px); }
.contact-left .section-title { margin-bottom: 14px; }
.contact-left > p { color: var(--text-body); font-size: .95rem; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.cd-item { display: flex; align-items: flex-start; gap: 14px; }
.cd-icon {
  width: 44px; height: 44px;
  background: var(--blue-50);
  color: var(--brand);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cd-item strong { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 2px; }
.cd-item span { font-size: .85rem; color: var(--text-body); }
/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label { font-size: .82rem; font-weight: 600; color: var(--text-body); }
.cf-group label .req { color: #EF4444; }
.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .9rem;
  color: var(--text-primary);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
  appearance: none;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.cf-group input.error,
.cf-group select.error,
.cf-group textarea.error { border-color: #EF4444; }
.cf-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: .9rem;
  font-weight: 500;
}
.form-success.visible { display: flex; }

/* ─── FOOTER ─── */
.footer-main { background: var(--gray-900); padding: 80px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
/* Invert dark PNG to white for dark footer */
.logo-img--white {
  filter: brightness(0) invert(1);
  height: 44px;
  opacity: .90;
}
.footer-brand > p {
  font-size: .85rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .85rem;
  color: var(--gray-400);
  transition: color var(--t-base);
}
.footer-col a:hover { color: #fff; }
.footer-cta-text { font-size: .85rem; color: var(--gray-400); margin-bottom: 16px; line-height: 1.55; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
  box-shadow: var(--shadow-blue);
  letter-spacing: .02em;
  transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
}
.footer-cta-btn i { font-size: .75rem; transition: transform var(--t-base); }
.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,.35);
  filter: brightness(1.08);
}
.footer-cta-btn:hover i { transform: translateX(3px); }
.footer-available {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: #4ADE80;
}
.avail-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse 2s infinite;
}
.footer-bottom {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; color: var(--gray-500); }

/* ─── BACK TO TOP ─── */
.btt {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  width: 44px; height: 44px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-base), transform var(--t-base);
  pointer-events: none;
}
.btt.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.btt:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* ─── SCROLL ANIMATIONS ─── */
/* Base hidden state for all AOS elements */
[data-aos] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.75s cubic-bezier(.16,1,.3,1), transform 0.75s cubic-bezier(.16,1,.3,1);
}
[data-aos="fade-up"]    { transform: translateY(48px); }
[data-aos="fade-down"]  { transform: translateY(-48px); }
[data-aos="fade-left"]  { transform: translateX(56px); }
[data-aos="fade-right"] { transform: translateX(-56px); }
[data-aos="zoom-in"]    { transform: scale(0.88); }
[data-aos="flip-up"]    { transform: rotateX(-18deg) translateY(36px); transform-origin: bottom center; }
[data-aos].aos-visible  { opacity: 1; transform: none; }

/* Stagger delays applied by JS via data-aos-delay attribute */
[data-aos-delay="1"] { transition-delay: 80ms; }
[data-aos-delay="2"] { transition-delay: 160ms; }
[data-aos-delay="3"] { transition-delay: 240ms; }
[data-aos-delay="4"] { transition-delay: 320ms; }
[data-aos-delay="5"] { transition-delay: 400ms; }
[data-aos-delay="6"] { transition-delay: 480ms; }

/* ─── KEYFRAME LIBRARY ─── */
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes floatUpDown {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-14px); }
}
@keyframes scaleBreath {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.04); }
}
@keyframes ringExpand {
  0%   { transform: scale(1); opacity: .65; }
  100% { transform: scale(2); opacity: 0; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(.93) translateY(22px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes heroRiseUp {
  from { opacity: 0; transform: translateY(50px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroVisualReveal {
  from { opacity: 0; transform: translateX(60px) scale(0.92); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes mockStripReveal {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes mockBlockPop {
  from { opacity: 0; transform: scale(0.8) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes floatCardPop {
  from { opacity: 0; transform: scale(0.4) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes mockGlow {
  0%, 100% { box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.06); }
  50%      { box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.06), 0 0 60px rgba(59,130,246,.12); }
}
@keyframes scrollReveal {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── HERO ENTRANCE ANIMATIONS ─── */
.hero-tag      { animation: slideInLeft 0.7s cubic-bezier(.16,1,.3,1) 0.10s both; }
.hero-headline { animation: heroRiseUp 1.0s cubic-bezier(.16,1,.3,1) 0.30s both; }
.hero-sub      { animation: heroRiseUp 0.8s cubic-bezier(.16,1,.3,1) 0.60s both; }
.hero-btns     { animation: heroRiseUp 0.8s cubic-bezier(.34,1.56,.64,1) 0.90s both; }
.hero-trust    { animation: heroRiseUp 0.7s cubic-bezier(.16,1,.3,1) 1.15s both; }
.hero-visual   { animation: heroVisualReveal 1.2s cubic-bezier(.16,1,.3,1) 0.50s both; }
.hero-scroll   { opacity: 0; animation: scrollReveal 0.6s cubic-bezier(.16,1,.3,1) 1.6s both; }

/* Gradient-animated headline accent — vibrant on dark bg */
.hero-em {
  background: linear-gradient(120deg, #60a5fa, #a78bfa, #38bdf8, #818cf8);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

/* Floating cards — entrance pop + continuous float */
.fc-1 {
  opacity: 0;
  animation:
    floatCardPop 0.6s cubic-bezier(.34,1.56,.64,1) 2.0s both,
    floatUpDown 5.0s ease-in-out 2.7s infinite;
}
.fc-2 {
  opacity: 0;
  animation:
    floatCardPop 0.6s cubic-bezier(.34,1.56,.64,1) 2.3s both,
    floatUpDown 5.0s ease-in-out 3.0s infinite;
}
.fc-3 {
  opacity: 0;
  animation:
    floatCardPop 0.6s cubic-bezier(.34,1.56,.64,1) 2.6s both,
    floatUpDown 5.0s ease-in-out 3.3s infinite;
}

/* ─── HERO MOCKUP BUILD-UP ─── */
.mock-hero-strip {
  transform-origin: left;
  animation: mockStripReveal 0.6s cubic-bezier(.16,1,.3,1) 1.1s both;
}
.mock-content > .mock-block.tall {
  opacity: 0;
  animation: mockBlockPop 0.45s cubic-bezier(.34,1.56,.64,1) 1.3s both;
}
.mock-cols .mock-block:nth-child(1) {
  opacity: 0;
  animation: mockBlockPop 0.4s cubic-bezier(.34,1.56,.64,1) 1.5s both;
}
.mock-cols .mock-block:nth-child(2) {
  opacity: 0;
  animation: mockBlockPop 0.4s cubic-bezier(.34,1.56,.64,1) 1.62s both;
}
.mock-cols .mock-block:nth-child(3) {
  opacity: 0;
  animation: mockBlockPop 0.4s cubic-bezier(.34,1.56,.64,1) 1.74s both;
}
.mock-content > .mock-block.short {
  opacity: 0;
  animation: mockBlockPop 0.4s cubic-bezier(.34,1.56,.64,1) 1.88s both;
}
.mock-browser {
  animation: mockGlow 6s ease-in-out 3.5s infinite;
}

/* Blob animation variations */
.blob-1 { animation: blobFloat 18s ease-in-out infinite; }
.blob-2 { animation: blobFloat 22s ease-in-out infinite reverse; }
.blob-3 { animation: blobFloat 16s ease-in-out infinite 4s; }

/* Tag dot pulse ring */
.tag-dot { position: relative; }
.tag-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,99,235,.4);
  animation: ringExpand 2s ease-out infinite;
}

/* Availability dot ring */
.avail-dot { position: relative; }
.avail-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(34,197,94,.4);
  animation: ringExpand 2.4s ease-out infinite;
}

/* Button shimmer on hover */
.nav-cta, .btn-hero-primary, .btn-primary { position: relative; overflow: hidden; }
.nav-cta:hover::after,
.btn-hero-primary:hover::after,
.btn-primary:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
  background-size: 200% 100%;
  animation: shimmer 0.75s ease;
  pointer-events: none;
}

/* Card hover: lift + glow */
.svc-card, .port-card, .tm-card, .why-card, .testi-card {
  transition:
    transform 0.4s cubic-bezier(.16,1,.3,1),
    box-shadow 0.4s cubic-bezier(.16,1,.3,1),
    border-color 0.3s var(--ease);
}
.svc-card:hover {
  box-shadow: 0 24px 60px rgba(37,99,235,.14), 0 0 0 1.5px var(--blue-200);
}
.svc-accent-card:hover {
  box-shadow: 0 24px 60px rgba(37,99,235,.32);
}

/* Portfolio image zoom */
.port-bg { transition: transform 0.7s cubic-bezier(.16,1,.3,1); }
.port-card:hover .port-bg { transform: scale(1.06); }

/* Testimonial hover */
.testi-card:hover { box-shadow: 0 16px 48px rgba(255,255,255,.06); }

/* FAQ hover nudge */
.faq-q { transition: padding-left 0.2s var(--ease), color 0.2s var(--ease); }
.faq-q:hover { padding-left: 6px; }

/* Accessibility — visible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37,99,235,.45);
  outline-offset: 2px;
}

/* ─── TYPOGRAPHY REFINEMENTS — Lora + Inter ─── */

/* Lora is an optical-size serif — generous letter-spacing and line-height needed */
.section-title {
  letter-spacing: -.02em;
  font-weight: 700;
  line-height: 1.18;
}
.hero-headline {
  font-weight: 700;
  line-height: 1.06;
}
.hero-headline em  { font-style: italic; font-weight: 600; }

/* Process number in italic Lora looks elegant */
.proc-num          { font-style: italic; letter-spacing: -.03em; font-weight: 600; }

/* Display font assignments */
.svc-card h3       { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.why-card h4       { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.proc-step h4      { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.faq-q span        { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.testi-name        { font-family: var(--font-display); font-weight: 600; }

/* Inter body — high readability at all sizes */
p, li,
.hero-sub,
.svc-card p,
.why-card p,
.proc-step p       { font-size: 1rem; line-height: 1.75; color: var(--text-body); }
.nav-link          { font-size: .88rem; font-weight: 500; letter-spacing: .005em; }
.eyebrow           { font-size: .76rem; font-weight: 600; letter-spacing: .12em; }
.footer-bottom p   { font-size: .84rem; letter-spacing: .005em; }
.btn-hero-primary,
.btn-hero-ghost,
.btn-primary,
.nav-cta           { font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — FULL SPECTRUM
   320 | 375 | 414 | 480 | 600 | 768 | 900 |
   1024 | 1280 | 1440 | 1920px+
═══════════════════════════════════════════════════ */

/* ── 1920px+ (ultra-wide) ── */
@media (min-width: 1920px) {
  :root {
    --container-max: 1440px;
    --space-section: 140px;
    font-size: 17px;
  }
  .hero-headline { font-size: 5.2rem; }
  .section-title  { font-size: 3.6rem; }
}

/* ── 1440px ── */
@media (max-width: 1440px) {
  :root { --container-max: 1200px; }
}

/* ── 1280px ── */
@media (max-width: 1280px) {
  :root { --container-pad: 40px; }
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .svc-hero-card  { grid-column: span 1; }
  .tm-card        { grid-template-columns: 136px 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .port-featured  { grid-column: span 2; }
}

/* ── 1024px (small laptop / tablet landscape) ── */
@media (max-width: 1024px) {
  :root {
    --space-section: 90px;
    --space-section-sm: 64px;
    --container-pad: 32px;
  }
  .hero-inner     { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual    { display: flex; justify-content: center; }
  .hero-mockup    { max-width: 480px; width: 100%; }
  .hero-btns      { justify-content: center; }
  .hero-trust     { justify-content: center; }
  .hero-text      { max-width: 640px; margin: 0 auto; }
  .hero-headline  { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .why-inner      { grid-template-columns: 1fr; gap: 48px; }
  .why-left       { text-align: center; }
  .why-left .btn-primary  { margin: 0 auto; }
  .why-left .eyebrow      { justify-content: center; }
  .why-left .eyebrow::before { display: none; }
  .contact-wrap   { grid-template-columns: 1fr; gap: 48px; }
  .contact-left   { position: static; }
  .faq-inner      { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .process-grid   { flex-wrap: wrap; gap: 20px; }
  .proc-line      { display: none; }
  .proc-step      { flex: 1 1 calc(50% - 10px); min-width: 200px; }
  .cta-section    { background-attachment: scroll; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  .team-grid   { grid-template-columns: 1fr; }
  .tm-card     { grid-template-columns: 128px 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-big  { grid-row: span 1; }
  .cta-inner h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
}

/* ── 768px (tablet portrait) ── */
@media (max-width: 768px) {
  :root {
    --space-section: 72px;
    --space-section-sm: 52px;
    --container-pad: 24px;
    --nav-height: 64px;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
    box-shadow: var(--shadow-xl);
    z-index: 899;
    animation: fadeInScale 0.2s var(--ease);
  }
  .nav-links.open .nav-link {
    padding: 13px 16px;
    display: block;
    border-radius: var(--r-md);
    font-size: .95rem;
  }
  .hamburger  { display: flex; }
  .nav-cta     { display: none; }
  .nav-mobile-cta-item { display: block; }
  .proof-grid { flex-direction: column; gap: 0; }
  .proof-sep  { width: 48px; height: 1px; align-self: center; }
  .proof-item { padding: 22px 0; width: 100%; }
  .services-bento { grid-template-columns: 1fr; gap: 16px; }
  .tm-card        { grid-template-columns: 116px 1fr; }
  .tm-photo-wrap  { min-height: 150px; }
  .tm-body        { padding: 14px 14px; }
  .tm-bio         { line-clamp: 2; -webkit-line-clamp: 2; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .port-featured  { grid-column: span 1; }
  .port-featured .port-image { height: 240px; }
  .testi-grid     { grid-template-columns: 1fr; }
  .testi-big      { grid-row: span 1; }
  .cf-row         { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 40px; }
  .hero-mockup    { max-width: 420px; margin: 24px auto; }
  .float-card     { padding: 10px 14px; gap: 10px; }
  .fc-icon        { width: 33px; height: 33px; font-size: .85rem; }
  .fc-num         { font-size: 1rem; }
  .fc-label       { font-size: .7rem; }
  .proc-step      { flex: 1 1 100%; }
  .process-grid   { gap: 16px; }
  .section-title  { font-size: clamp(1.8rem, 5.5vw, 2.6rem); }
  .why-cards      { grid-template-columns: 1fr; }
  .why-card       { display: flex; gap: 16px; align-items: flex-start; }
  .why-card-icon  { flex-shrink: 0; }
  .hero-headline  { font-size: clamp(2rem, 7vw, 3rem); }
}

/* ── 600px ── */
@media (max-width: 600px) {
  :root {
    --space-section: 60px;
    --container-pad: 20px;
  }
  .hero-headline  { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .section-title  { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .cta-inner h2   { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .proof-num      { font-size: 2.2rem; }
  .proof-suf      { font-size: 1.8rem; }
  .footer-bottom-row { flex-direction: column; text-align: center; gap: 8px; }
  .portfolio-filter { gap: 6px; }
  .pf-btn         { padding: 8px 16px; font-size: .8rem; }
}

/* ── 480px (large phones) ── */
@media (max-width: 480px) {
  :root {
    --space-section: 52px;
    --space-section-sm: 44px;
    --container-pad: 18px;
  }
  .hero-headline  { font-size: clamp(1.75rem, 9vw, 2.4rem); letter-spacing: -.02em; }
  .hero-sub       { font-size: 1rem; }
  .hero-btns      { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; justify-content: center; }
  .tm-card        { grid-template-columns: 104px 1fr; }
  .tm-body        { padding: 12px 12px; }
  .cta-btns       { flex-direction: column; align-items: stretch; }
  .btn-cta-primary, .btn-cta-ghost { width: 100%; justify-content: center; }
  .proof-num      { font-size: 2rem; }
  .proof-suf      { font-size: 1.65rem; }
  .testi-card     { padding: 24px; }
  .svc-card       { padding: 28px 24px; }
  .proc-step      { padding: 28px 24px; }
  .tm-photo-wrap  { min-height: 128px; }
  .hero-mockup    { max-width: 300px; margin: 24px auto; }
  .float-card     { padding: 9px 11px; gap: 8px; }
  .fc-icon        { width: 29px; height: 29px; font-size: .78rem; }
  .fc-num         { font-size: .88rem; }
  .fc-label       { font-size: .65rem; }
  .fc-1           { top: -14px; right: -12px; bottom: auto; left: auto; }
  .fc-2           { top: 30%; bottom: auto; left: -14px; right: auto; transform: none; }
  .fc-3           { bottom: -14px; top: auto; right: 12px; left: auto; font-size: .68rem; }
}

/* ── 414px (iPhone Plus) ── */
@media (max-width: 414px) {
  :root { --container-pad: 16px; }
  .hero-tag   { font-size: .72rem; padding: 6px 14px; }
  .logo-img   { height: 30px; }
  .proof-num  { font-size: 1.9rem; }
  .proof-suf  { font-size: 1.5rem; }
  .port-info h3 { font-size: .95rem; }
  .section-title { font-size: clamp(1.6rem, 8vw, 2rem); }
}

/* ── 375px (iPhone SE / standard) ── */
@media (max-width: 375px) {
  :root {
    --container-pad: 14px;
    --nav-height: 60px;
  }
  .hero-headline  { font-size: 1.65rem; }
  .section-title  { font-size: 1.55rem; }
  .btn-hero-primary,
  .btn-hero-ghost { font-size: .9rem; padding: 14px 20px; }
  .tm-initials    { width: 60px; height: 60px; font-size: 1.2rem; }
  .cta-guarantee  { flex-direction: column; gap: 4px; text-align: center; }
  .hero-mockup    { max-width: 260px; margin: 20px auto; }
  .float-card     { padding: 7px 9px; gap: 7px; }
  .fc-icon        { width: 26px; height: 26px; font-size: .72rem; }
  .fc-num         { font-size: .82rem; }
  .fc-label       { font-size: .62rem; }
  .fc-1           { top: -12px; right: -8px; bottom: auto; left: auto; }
  .fc-2           { top: 30%; bottom: auto; left: -10px; right: auto; transform: none; }
  .fc-3           { bottom: -12px; top: auto; right: 8px; left: auto; font-size: .64rem; }
}

/* ── 320px (small phones) ── */
@media (max-width: 320px) {
  :root {
    --container-pad: 12px;
    --nav-height: 58px;
  }
  .hero-headline  { font-size: 1.5rem; }
  .section-title  { font-size: 1.4rem; }
  .nav-cta        { display: none; }
  .hero-btns      { gap: 10px; }
  .hero-mockup    { max-width: 220px; margin: 18px auto; }
  .float-card     { padding: 6px 8px; gap: 6px; }
  .fc-icon        { width: 24px; height: 24px; font-size: .68rem; }
  .fc-num         { font-size: .78rem; }
  .fc-label       { font-size: .6rem; }
  .fc-1           { top: -10px; right: -6px; bottom: auto; left: auto; }
  .fc-2           { top: 30%; bottom: auto; left: -8px; right: auto; transform: none; }
  .fc-3           { bottom: -10px; top: auto; right: 6px; left: auto; font-size: .62rem; }
}

/* ── Touch / no-hover devices ── */
@media (hover: none) {
  .tm-card:hover    { transform: none; box-shadow: var(--shadow-sm); }
  .tm-card:hover .tm-photo { transform: none; }
  .tm-card:hover .tm-focus span { background: var(--gray-100); color: var(--gray-600); border-color: var(--border); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-aos] { opacity: 1; transform: none; }
}
