:root {
  color-scheme: light dark;

  /* Primary semantic tokens — dark (default) */
  --color-bg:               #09090B;
  --color-surface:          #111113;
  --color-surface-raised:   #18181B;
  --color-border:           rgba(255, 255, 255, 0.06);
  --color-border-strong:    rgba(255, 255, 255, 0.10);
  --color-border-hover:     rgba(99, 102, 241, 0.4);
  --color-accent:           #6366F1;
  --color-accent-hover:     #818CF8;
  --color-accent-muted:     rgba(99, 102, 241, 0.10);
  --color-accent-glow:      rgba(99, 102, 241, 0.35);
  --color-text-primary:     #FAFAFA;
  --color-text-secondary:   #A1A1AA;
  --color-text-tertiary:    #71717A;

  /* Legacy aliases — kept so existing rules cascade without churn.
     "--green" no longer means green; it's the new indigo accent. */
  --green:       var(--color-accent);
  --green-bright:var(--color-accent-hover);
  --green-dim:   var(--color-accent-muted);
  --green-glow:  var(--color-accent-glow);
  --violet:      var(--color-accent);
  --violet-dim:  var(--color-accent-muted);

  --bg:          var(--color-bg);
  --bg2:         var(--color-surface);
  --bg3:         var(--color-surface-raised);
  --bg4:         #1f1f23;
  --bg-elev:     var(--color-surface-raised);
  --border:      var(--color-border);
  --border-2:    var(--color-border-strong);

  --text:        var(--color-text-primary);
  --text-muted:  var(--color-text-secondary);
  --text-dim:    var(--color-text-tertiary);

  /* Theme-aware surfaces */
  --nav-bg:        rgba(9, 9, 11, 0.80);
  --mobile-bg:     rgba(9, 9, 11, 0.95);
  --chip-bg:       rgba(255, 255, 255, 0.04);
  --glass-bg:      rgba(255, 255, 255, 0.03);
  --mesh-blend:    screen;
  --mesh-opacity:  0.22;
  --mesh-opacity-soft: 0.10;
  --grid-mask-opacity: 0.4;
  --card-shadow:   0 8px 32px -16px rgba(0, 0, 0, 0.6);
  --card-shadow-hover: 0 12px 40px -16px rgba(99, 102, 241, 0.15);
  --shadow-soft:   0 8px 24px -8px rgba(0, 0, 0, 0.5);

  /* Radii & motion */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── LIGHT THEME (auto via system preference) ── */
@media (prefers-color-scheme: light) {
  :root {
    --color-bg:             #ffffff;
    --color-surface:        #fafafa;
    --color-surface-raised: #f4f4f5;
    --color-border:         rgba(0, 0, 0, 0.06);
    --color-border-strong:  rgba(0, 0, 0, 0.10);
    --color-border-hover:   rgba(99, 102, 241, 0.45);
    --color-accent-muted:   rgba(99, 102, 241, 0.08);
    --color-text-primary:   #09090B;
    --color-text-secondary: #52525B;
    --color-text-tertiary:  #A1A1AA;

    --bg4:         #e4e4e7;

    --nav-bg:        rgba(255, 255, 255, 0.80);
    --mobile-bg:     rgba(255, 255, 255, 0.96);
    --chip-bg:       rgba(0, 0, 0, 0.04);
    --glass-bg:      rgba(255, 255, 255, 0.60);
    --mesh-blend:    multiply;
    --mesh-opacity:  0.16;
    --mesh-opacity-soft: 0.08;
    --grid-mask-opacity: 0.45;
    --card-shadow:   0 8px 32px -16px rgba(0, 0, 0, 0.10);
    --card-shadow-hover: 0 16px 48px -16px rgba(99, 102, 241, 0.18);
    --shadow-soft:   0 8px 32px -16px rgba(0, 0, 0, 0.08);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Visually-hidden helper (for form labels, skip-link target) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 1000;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  background: var(--color-bg);
  color: var(--color-text-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-text-primary);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
strong { color: var(--color-text-primary); font-weight: 500; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  color: var(--color-text-primary);
}
.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text-primary); }
.btn-nav {
  padding: 8px 16px !important;
  border: 1px solid var(--color-border-hover) !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent) !important;
  transition: border-color 0.15s, background 0.15s, color 0.15s !important;
}
.btn-nav:hover {
  border-color: var(--color-accent) !important;
  background: var(--color-accent) !important;
  color: #ffffff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--mobile-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu ul { padding: 24px; }
.mobile-menu li + li { margin-top: 16px; }
.mobile-menu a {
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text-secondary);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--color-text-primary); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 160px 0 112px;
  overflow: hidden;
  isolation: isolate;
}
/* Replace the line grid with a refined dot grid (Vercel/Linear style) */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-border-strong) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 70% 60% at center, rgba(0,0,0,var(--grid-mask-opacity)) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, rgba(0,0,0,var(--grid-mask-opacity)) 0%, transparent 75%);
  pointer-events: none;
  opacity: 0.6;
  z-index: -1;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -2;
  filter: blur(100px);
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  opacity: var(--mesh-opacity);
  mix-blend-mode: var(--mesh-blend);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
.mesh-blob-1 { width: 520px; height: 520px; background: var(--color-accent); top: -10%; left: -8%; }
.mesh-blob-2 { width: 460px; height: 460px; background: var(--color-accent); bottom: -15%; right: -5%; opacity: var(--mesh-opacity-soft); animation-delay: -8s; }
.mesh-blob-3 { width: 360px; height: 360px; background: var(--color-accent); top: 30%; right: 20%; opacity: var(--mesh-opacity-soft); animation-delay: -14s; }
@keyframes mesh-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.10); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--chip-bg);
  border: 1px solid var(--border-2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: status-pulse 2.4s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--color-accent-glow); }
  50%      { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}
/* Legacy .tag kept for any callers; not used in hero anymore */
.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-transform: uppercase;
  border: 1px solid var(--color-accent-muted);
  padding: 6px 14px;
  border-radius: 100px;
}
.hero-tag { margin-bottom: 24px; }
.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--color-text-primary);
}
.hero-title-muted { color: var(--color-text-tertiary); font-weight: 600; }
.accent {
  color: var(--color-accent);
  display: inline-block;
  font-weight: 600;
}
.hero-desc {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}
.btn-full { width: 100%; justify-content: center; }

/* Hero stats — single bordered row container */
.hero-stats {
  display: flex;
  align-items: stretch;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 24px;
  max-width: 560px;
  gap: 24px;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-divider {
  width: 1px;
  height: auto;
  background: var(--color-border);
  align-self: stretch;
  margin: 0;
}
.stat-number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 0;
}
.stat-label {
  font-size: 12px;
  color: var(--color-text-tertiary);
  letter-spacing: 0;
  font-weight: 400;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── SECTIONS COMMON ── */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-tag.center { display: block; text-align: center; }
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}
.section-desc {
  color: var(--color-text-secondary);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* ── SERVICES (bento) ── */
.services { background: var(--bg); }
.services-grid.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
  overflow: hidden;
  transform-style: preserve-3d;
  color: var(--color-accent);
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2) { transition-delay: 0.06s; }
.service-card:nth-child(3) { transition-delay: 0.12s; }
.service-card:nth-child(4) { transition-delay: 0.18s; }
.service-card:nth-child(5) { transition-delay: 0.24s; }
.service-card:nth-child(6) { transition-delay: 0.30s; }
.service-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-raised);
}

.service-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: 44px 40px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(99, 102, 241, 0.10), transparent 60%),
    var(--color-surface-raised);
}
.service-card--feature .service-icon { color: var(--color-accent); }
.service-card--feature h3 { font-size: 26px; font-weight: 500; }
.service-card--feature p { font-size: 15px; max-width: 460px; }
.service-card-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.06;
  top: -80px; right: -80px;
  filter: blur(40px);
  pointer-events: none;
}
.service-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  background: var(--color-accent-muted);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-weight: 500;
}

.service-icon {
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--r);
  color: var(--color-accent);
}
.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-text-primary);
  letter-spacing: -0.015em;
}
.service-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.service-tags li {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--color-text-tertiary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 3px 9px;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.service-card:hover .service-tags li {
  color: var(--color-text-secondary);
  border-color: var(--color-border-strong);
}

/* ── ABOUT ── */
.about { background: var(--bg2); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content .section-tag { display: block; margin-bottom: 16px; }
.about-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s, transform 0.5s, border-color 0.3s;
}
.pillar:hover { border-color: var(--color-border-strong); }
.pillar.visible { opacity: 1; transform: translateX(0); }
.pillar:nth-child(2) { transition-delay: 0.1s; }
.pillar:nth-child(3) { transition-delay: 0.2s; }
.pillar-icon { font-size: 18px; flex-shrink: 0; opacity: 0.85; }
.pillar strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
  color: var(--color-text-primary);
}
.pillar span { font-size: 12px; color: var(--color-text-secondary); }

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.spectrum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 220px;
}
.sg-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--green);
  animation: pulse-cell 3s ease-in-out infinite;
}
.sg-1 { opacity: 1;   animation-delay: 0.0s; }
.sg-2 { opacity: 0.8; animation-delay: 0.2s; }
.sg-3 { opacity: 0.6; animation-delay: 0.4s; }
.sg-4 { opacity: 0.7; animation-delay: 0.6s; }
.sg-5 { opacity: 0.4; animation-delay: 0.8s; }
.sg-6 { opacity: 0.9; animation-delay: 1.0s; }
.sg-7 { opacity: 0.3; animation-delay: 1.2s; }
.sg-8 { opacity: 0.5; animation-delay: 1.4s; }
.sg-9 { opacity: 0.15;animation-delay: 1.6s; }
@keyframes pulse-cell {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.4); }
}
.about-badge { text-align: center; }
.badge-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.badge-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-accent-hover);
}

/* ── PROCESS ── */
.process { background: var(--bg); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step {
  flex: 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
.step.visible { opacity: 1; transform: translateY(0); }
.step:nth-child(3) { transition-delay: 0.1s; }
.step:nth-child(5) { transition-delay: 0.2s; }
.step:nth-child(7) { transition-delay: 0.3s; }
.step-number {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
}
.step-content h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}
.step-content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
.step-arrow {
  color: var(--color-accent);
  opacity: 0.4;
  font-size: 20px;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ── TECH MARQUEE ── */
.techstack {
  padding: 60px 0;
  background: var(--bg2);
  overflow: hidden;
}
.tech-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  padding: 12px 0;
}
.tech-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tech-item {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-text-secondary);
  padding: 6px 14px;
  white-space: nowrap;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s;
}
.tech-item:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

/* ── FAQ ── */
.faq { background: var(--bg2); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-accent-hover); }
.faq-icon {
  font-size: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-bottom: 24px;
}

/* ── CONTACT ── */
.contact { background: var(--bg); }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 64px;
}
.contact-content .section-tag { display: block; margin-bottom: 16px; }
.contact-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-link {
  color: var(--color-accent);
  font-size: 14px;
  border-bottom: 1px solid var(--color-accent-muted);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.contact-link:hover { border-color: var(--color-accent); color: var(--color-accent-hover); }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  padding: 12px 14px;
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--color-surface); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-muted);
}
.form-group textarea { resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-tertiary); }
.form-success { text-align: center; padding: 48px 24px; }
.form-success .check {
  display: block;
  font-size: 36px;
  color: var(--green);
  margin-bottom: 16px;
}
.form-success p { color: var(--text-muted); font-size: 15px; }

/* ── FOOTER ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-tagline { font-size: 13px; color: var(--color-text-tertiary); letter-spacing: -0.005em; font-weight: 400; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px;
  color: var(--color-text-tertiary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  font-size: 12px;
  color: var(--color-text-tertiary);
  flex-wrap: wrap;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: var(--color-text-tertiary); transition: color 0.2s; }
.footer-socials a:hover { color: var(--color-text-primary); }
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal a { color: var(--color-text-tertiary); transition: color 0.2s; }
.footer-legal a:hover { color: var(--color-text-primary); }

/* ── ANIMATIONS ── */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--color-accent);
  z-index: 200;
  width: 0;
  transition: width 0.05s linear;
}

/* Hero stagger entrance */
.hero-tag,
.hero-title,
.hero-desc,
.hero-actions,
.hero-stats {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-tag     { animation-delay: 0.15s; }
.hero-title   { animation-delay: 0.3s; }
.hero-desc    { animation-delay: 0.45s; }
.hero-actions { animation-delay: 0.6s; }
.hero-stats   { animation-delay: 0.75s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Accent glow pulse (legacy keyframe — kept for any callers) */
@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(99, 102, 241, 0); }
  50%      { text-shadow: 0 0 60px rgba(99, 102, 241, 0.3); }
}

/* ── WORK / CASE STUDIES ── */
.work { background: var(--bg2); position: relative; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg3) 0%, var(--bg2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.5s var(--ease);
}
.work-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--card-shadow-hover);
}
.work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.work-industry { color: var(--color-accent-hover); }
.work-year { color: var(--color-text-tertiary); }
.work-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
}
.work-snippet {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.work-snippet strong {
  color: var(--text);
  font-weight: 500;
  display: inline-block;
  margin-right: 4px;
}
.work-metrics {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: auto;
}
.metric { flex: 1; }
.metric-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.metric-label {
  display: block;
  font-size: 11px;
  color: var(--color-text-tertiary);
  letter-spacing: 0;
  font-weight: 400;
}
.work-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.work-stack li {
  font-size: 12px;
  color: var(--color-text-tertiary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 3px 9px;
  border-radius: 4px;
}
.work-note {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* ── PRICING / ENGAGEMENT MODELS ── */
.pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.pricing-card:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-raised);
}
.pricing-card--feature {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(99, 102, 241, 0.10), transparent 60%),
    var(--color-surface-raised);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), 0 8px 32px -12px rgba(99, 102, 241, 0.25);
}
.pricing-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
  align-self: flex-start;
  font-weight: 500;
}
.pricing-eyebrow--feature {
  color: var(--color-accent-hover);
  background: var(--color-accent-muted);
  border-color: rgba(99, 102, 241, 0.3);
}
.pricing-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--color-text-primary);
}
.pricing-duration {
  font-size: 13px;
  color: var(--color-accent-hover);
  letter-spacing: 0;
  margin-bottom: 16px;
  font-weight: 500;
}
.pricing-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-features .check {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.testimonial:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}
.quote-mark {
  color: var(--color-accent);
  opacity: 0.3;
  width: 48px;
  height: 48px;
}
.testimonial blockquote {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  letter-spacing: -0.005em;
  font-style: italic;
  font-weight: 400;
  flex: 1;
}
.testimonial figcaption {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  font-size: 12px;
}
.testimonial figcaption strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.testimonial figcaption span { color: var(--color-text-tertiary); }

/* ── REVEAL ON SCROLL (shared) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }

/* ── NAV LINK UNDERLINE ── */
.nav-links a:not(.btn-nav) {
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn-nav):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── BUTTON REFINE ── */
.btn {
  gap: 8px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn-primary {
  box-shadow: 0 8px 24px -8px var(--green-glow);
}
.btn-primary:hover {
  box-shadow: 0 12px 32px -8px var(--green-glow);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid.bento { grid-template-columns: repeat(2, 1fr); }
  .service-card--feature { grid-column: span 2; grid-row: auto; }
  .work-grid,
  .pricing-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: block; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 8px; }
  .contact-box { grid-template-columns: 1fr; gap: 48px; padding: 40px 32px; }
}

@media (max-width: 700px) {
  .services-grid.bento,
  .work-grid,
  .pricing-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .service-card--feature { grid-column: auto; }
  .hero-stats { gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .contact-box { padding: 32px 20px; }
  section { padding: 80px 0; }
  .hero { padding: 120px 0 64px; }
  .hero-title { font-size: clamp(44px, 12vw, 72px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .tech-track { animation: none; }
}

/* ── SERVICE DETAIL PAGES ── */
.service-hero {
  padding: 140px 0 56px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.service-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at center top, rgba(0,0,0,0.35) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center top, rgba(0,0,0,0.35) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.service-hero .container { position: relative; z-index: 1; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.breadcrumbs a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs span[aria-current] { color: var(--text); }
.breadcrumbs span[aria-hidden] { color: var(--text-dim); }

.service-hero-inner {
  max-width: 760px;
}
.service-hero-inner--center {
  margin: 0 auto;
  text-align: center;
}
.service-icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--color-accent-muted);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--r-lg);
  color: var(--color-accent);
  margin-bottom: 24px;
}
.service-hero-inner h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.service-tagline {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 620px;
}
.service-hero-inner--center .service-tagline { margin-left: auto; margin-right: auto; }

/* ── SERVICE BODY (prose + sidebar) ── */
.service-body { background: var(--bg); padding: 64px 0 96px; }
.service-body-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}
.service-prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}
.service-prose h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 48px 0 16px;
  line-height: 1.2;
}
.service-prose h2:first-child { margin-top: 0; }
.service-prose h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin: 32px 0 12px;
}
.service-prose p { margin-bottom: 18px; }
.service-prose strong { color: var(--text); font-weight: 600; }
.service-prose ul, .service-prose ol {
  margin: 0 0 18px 22px;
  padding: 0;
  list-style: disc;
}
.service-prose ul li, .service-prose ol li { margin-bottom: 6px; }
.service-prose code {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
}
.service-prose a {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent-muted);
  transition: border-color 0.2s, color 0.2s;
}
.service-prose a:hover { border-color: var(--color-accent); color: var(--color-accent-hover); }

.service-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.sidebar-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.sidebar-list li::before {
  content: '✓';
  color: var(--green);
  flex-shrink: 0;
  font-weight: 500;
}
.sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── TRUST BAR (solution pages) ── */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.trust-bar-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: -0.005em;
  max-width: 720px;
}
.trust-bar-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-bar-pillars > li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
.trust-pillar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.trust-pillar-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .trust-bar-pillars { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ── SERVICES HUB / SERVICE CARD AS LINK ── */
.service-card[href] {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--green);
  cursor: pointer;
}
.service-card[href]:hover { transform: translateY(-2px); }
.service-card-link {
  margin-top: 16px;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
  transition: opacity 0.2s, gap 0.2s;
}
.service-card[href]:hover .service-card-link { opacity: 1; }
.service-card[href] .service-tags { margin-bottom: 0; }

/* ── CONTACT ACTIONS (sidebar-like layout in service detail page) ── */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .service-body-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-sidebar {
    position: static;
  }
}

.services-footnote {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
}
.services-footnote a {
  color: var(--text-muted);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.services-footnote a:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ── BLOG LIST ── */
.blog-list-section { padding: 32px 0 96px; }
.blog-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
}
.blog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.blog-list-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.blog-list-item:hover { border-color: var(--color-border-hover); }
.blog-list-link {
  display: block;
  padding: 24px;
  transition: none;
}
.blog-list-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-tertiary);
  margin-bottom: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-list-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.blog-tag {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-tertiary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 3px 9px;
  border-radius: 4px;
}
.blog-list-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-list-item:hover .blog-list-title { color: var(--color-text-primary); }
.blog-list-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 640px;
}
.blog-list-cta {
  font-size: 13px;
  color: var(--color-accent);
  letter-spacing: 0;
  transition: color 0.2s;
}
.blog-list-item:hover .blog-list-cta { color: var(--color-accent-hover); }

/* ── BLOG POST ── */
.post-header {
  padding: 140px 0 32px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.post-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at center top, rgba(0,0,0,0.3) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center top, rgba(0,0,0,0.3) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}
.post-header .container { position: relative; z-index: 1; max-width: 760px; }
.post-meta {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.post-updated { color: var(--text-dim); margin-left: 4px; }
.post-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}
.post-lede {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 700px;
}
.post-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.post-body { padding: 32px 0 80px; background: var(--bg); }
.post-body-inner { max-width: 760px; margin: 0 auto; }
.post-prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}
.post-prose p { margin-bottom: 22px; color: var(--text-muted); }
.post-prose p strong { color: var(--text); }
.post-prose h2 {
  margin-top: 56px;
  font-size: 30px;
}
.post-prose h3 { margin-top: 36px; font-size: 22px; }
.post-prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0 32px;
}
.post-prose em {
  color: var(--text-muted);
  font-style: italic;
  display: block;
  font-size: 15px;
  line-height: 1.7;
}

.post-footer { padding: 0 0 96px; background: var(--bg); }
.post-footer-card {
  max-width: 760px;
  margin: 0 auto 48px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
}
.post-footer-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}
.post-footer-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.post-footer-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.post-footer-back {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
}
.post-footer-back a {
  color: var(--text-muted);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.post-footer-back a:hover {
  color: var(--green);
  border-color: var(--green);
}

@media (max-width: 700px) {
  .post-header { padding-top: 100px; }
  .post-footer-card { padding: 32px 24px; }
}

/* ── HOMEPAGE: Latest from the blog ── */
.latest-blog { background: var(--bg); padding: 88px 0; }
.latest-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.latest-blog-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.3s;
}
.latest-blog-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}
.latest-blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.latest-blog-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--chip-bg);
  border: 1px solid var(--border-2);
  padding: 2px 8px;
  border-radius: var(--r-sm);
}
.latest-blog-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}
.latest-blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.latest-blog-cta {
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.04em;
  margin-top: auto;
}
.latest-blog-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
}
.latest-blog-footer a {
  color: var(--text-muted);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.latest-blog-footer a:hover {
  color: var(--green);
  border-color: var(--green);
}

@media (max-width: 900px) {
  .latest-blog-grid { grid-template-columns: 1fr; }
}

/* ── BLOG: hero image on post page ── */
.post-hero {
  padding: 24px 0 40px;
  background: var(--bg);
}
.post-hero .container { max-width: 760px; }
.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg2);
}

/* ── BLOG: thumb on list cards ── */
.blog-list-link {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
}
.blog-list-thumb {
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-raised);
}
.blog-list-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}
.blog-list-content { min-width: 0; }

@media (max-width: 700px) {
  .blog-list-link { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
}

/* ── INDUSTRIES WE SERVE ── */
.industries { background: var(--color-bg); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.industry-card:hover {
  border-color: var(--color-border-hover);
}
.industry-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  color: var(--color-accent);
  margin-bottom: 18px;
}
.industry-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.industry-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.industry-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.industry-outcomes li {
  font-size: 11px;
  color: var(--color-text-tertiary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── FOOTER TRUST LINE ── */
.footer-trust {
  font-size: 13px;
  color: var(--color-text-tertiary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* Industry card "Learn more" link */
.industry-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.industry-link:hover { color: var(--color-accent-hover); }

/* ── OFFICES SECTION ── */
.offices { background: var(--bg); padding: 96px 0; }
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.office-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 200ms;
}
.office-card:hover { border-color: var(--color-border-hover); }
.office-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-accent-hover);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 16px;
}
.office-flag {
  display: block;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}
.office-city {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.office-country {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.office-timezone {
  font-size: 12px;
  color: var(--text-dim);
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  margin: 0 0 16px;
}
.office-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  .offices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .offices-grid { grid-template-columns: 1fr; }
}

/* ── CONTACT: office flag row ── */
.office-contacts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ── FOOTER: offices line ── */
.footer-offices {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-top: 4px;
  text-align: center;
}
