/* ============================================================
   ZAS DIGITAL — Design System
   Token-first. No Bootstrap. No frameworks.
   Accent: #00E5CC (Cyan-Teal — AI/precision energy, 2026)
   ============================================================ */


/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Color */
  --bg:        #080809;
  --bg-2:      #0f1011;
  --bg-3:      #161719;
  --fg:        #f0f0f2;
  --fg-2:      #a8a9b0;
  --fg-3:      #8a8f98;
  --accent:    #00E5CC;
  --accent-dim:#00e5cc22;
  --border:    #1e1f22;
  --border-2:  #2a2b30;

  /* Typography */
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Scale — fluid with clamp() */
  --text-xs:   clamp(11px, 1.2vw, 13px);
  --text-sm:   clamp(13px, 1.4vw, 15px);
  --text-base: clamp(16px, 1.8vw, 18px);
  --text-lg:   clamp(18px, 2.2vw, 22px);
  --text-xl:   clamp(22px, 3vw, 30px);
  --text-2xl:  clamp(28px, 4vw, 44px);
  --text-3xl:  clamp(38px, 6vw, 72px);
  --text-4xl:  clamp(52px, 8vw, 96px);

  /* Space */
  --s-2:    4px;
  --s-4:    8px;
  --s-6:    12px;  /* half-step */
  --s-8:    16px;
  --s-10:   20px;
  --s-12:   24px;
  --s-16:   32px;
  --s-20:   40px;  /* half-step */
  --s-24:   48px;
  --s-28:   56px;  /* half-step */
  --s-32:   64px;
  --s-14:   28px;  /* half-step */
  --s-48:   96px;
  --s-64:  128px;
  --s-96:  192px;

  /* Layout */
  --max-w:      1200px;
  --max-w-text: 680px;

  /* Motion */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast:  200ms;
  --dur-base:  350ms;
  --dur-slow:  600ms;

  /* Nav */
  --nav-h: 72px;
}


/* ── LIGHT MODE ─────────────────────────────────────────── */
[data-theme="light"] {
  --bg:         #f9f9fb;
  --bg-2:       #f1f1f4;
  --bg-3:       #e6e6eb;
  --fg:         #09090b;
  --fg-2:       #42424c;
  --fg-3:       #90909a;
  --accent:     #007a6a;
  --accent-dim: #007a6a11;
  --border:     #dcdce4;
  --border-2:   #c6c6d0;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:         #f9f9fb;
    --bg-2:       #f1f1f4;
    --bg-3:       #e6e6eb;
    --fg:         #09090b;
    --fg-2:       #42424c;
    --fg-3:       #90909a;
    --accent:     #007a6a;
    --accent-dim: #007a6a11;
    --border:     #dcdce4;
    --border-2:   #c6c6d0;
  }
}
/* Cross-fade on theme switch — scoped to interactive/structural elements only.
   Broad transitions on every element are a paint/composite performance antipattern. */
:root {
  --theme-transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .65s var(--ease), transform .65s var(--ease);
}
.nav, .nav.scrolled, .nav__mobile, .nav__dropdown-panel,
.proof-card, .work-card, .thinking-card, .tension__item,
.btn, .form-input, .form-textarea,
.footer, footer, .pricing-card, .team-card,
.client-stat-box, .visual-card, .fit-card,
.automate-card, .example-card, .sprint-box, .no-ai-item, .expertise-card {
  transition: var(--theme-transition);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Smooth scroll — respects reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── FOCUS VISIBLE (WCAG 2.1 AA) ───────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Suppress outline for mouse users on elements with custom focus styles */
.form-input:focus:not(:focus-visible),
.form-textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
/* Typography — text-wrap: balance for headings, pretty for body (baseline 2024) */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p { text-wrap: pretty; }

.t-display {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.t-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.t-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.t-large { font-size: var(--text-xl); font-weight: 300; line-height: 1.5; }
.t-body  { font-size: var(--text-base); line-height: 1.7; color: var(--fg-2); }
.t-small { font-size: var(--text-sm); color: var(--fg-3); }
.t-mono  { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.t-accent { color: var(--accent); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-16);
}
@media (min-width: 768px) { .container { padding: 0 var(--s-24); } }
@media (min-width: 1200px) { .container { padding: 0 var(--s-32); } }

.section {
  padding: var(--s-64) 0;
}
@media (min-width: 768px) { .section { padding: var(--s-96) 0; } }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* Always opaque — prevents page content bleeding through the nav bar on scroll */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--border);
  box-shadow: 0 1px 0 0 var(--border), 0 4px 24px rgba(0,0,0,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s-16);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: none;
}
.nav__logo-accent { color: var(--accent); }
@media (min-width: 980px) {
  .nav__logo-name { display: inline; }
}

/* Center pill nav */
/* NOTE: No backdrop-filter here — it would create a stacking context that traps
   the dropdown panel and prevents it from rendering above page content. */
.nav__links {
  display: none;
  align-items: center;
  gap: 2px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 4px 6px;
}
@media (min-width: 980px) { .nav__links { display: flex; } }

.nav__link {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-3);
  padding: 6px 13px;
  border-radius: 30px;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.nav__link:hover { color: var(--fg); background: var(--bg-3); }
.nav__link.active {
  color: var(--fg);
  background: var(--bg-3);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ── RESOURCES DROPDOWN ────────────────────────────────── */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-3);
  padding: 6px 13px;
  border-radius: 30px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.nav__dropdown-btn:hover, .nav__dropdown-btn.active { color: var(--fg); background: var(--bg-3); }
.nav__dropdown-chevron {
  width: 12px; height: 12px;
  transition: transform var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.nav__dropdown.open .nav__dropdown-chevron { transform: rotate(180deg); }

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 320px;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  z-index: 200;
}
[data-theme="light"] .nav__dropdown-panel {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.nav__dropdown.open .nav__dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
  text-decoration: none;
  color: inherit;
}
.nav__dropdown-item:hover { background: var(--bg-2); }
.nav__dropdown-item.active { background: color-mix(in srgb, var(--accent-dim) 60%, transparent); }

.nav__dropdown-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.nav__dropdown-icon svg { width: 15px; height: 15px; }

.nav__dropdown-text { flex: 1; min-width: 0; }
.nav__dropdown-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 2px;
}
.nav__dropdown-desc {
  font-size: 11.5px;
  color: var(--fg-3);
  line-height: 1.4;
}
.nav__dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

/* ── NAV RIGHT GROUP ────────────────────────────────────── */
.nav__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ── THEME TOGGLE ───────────────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--fg-3);
  cursor: pointer;
  background: transparent;
  flex-shrink: 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.theme-toggle:hover { color: var(--fg); border-color: var(--border-2); background: var(--bg-2); }
.theme-toggle svg   { width: 14px; height: 14px; pointer-events: none; }
/* Dark mode (default): show moon, hide sun */
.icon-sun  { display: none; }
.icon-moon { display: block; }
/* Light mode: show sun, hide moon */
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }
/* OS-level light preference with no explicit theme set */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .icon-sun  { display: block; }
  :root:not([data-theme="dark"]) .icon-moon { display: none; }
}

/* CTA pill */
.nav__cta {
  display: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  background: var(--bg-3);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  letter-spacing: 0.005em;
  align-items: center;
  gap: 6px;
}
@media (min-width: 980px) { .nav__cta { display: flex; } }
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.nav__cta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
  transition: background var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.nav__cta:hover .nav__cta-dot { background: var(--bg); animation: none; }

/* ── MOBILE HAMBURGER ──────────────────────────────────── */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
@media (min-width: 980px) { .nav__hamburger { display: none; } }
.nav__hamburger:hover { background: var(--bg-2); border-color: var(--border-2); }
.nav__hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg-2);
  transition: all var(--dur-base) var(--ease);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.nav__mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: var(--s-16) var(--s-16) var(--s-48);
  flex-direction: column;
  gap: 2px;
  z-index: 99;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  /* Smooth open/close animation */
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.nav__mobile.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__mobile-link {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--fg-2);
  padding: 14px var(--s-12);
  border-radius: 10px;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__mobile-link:hover { color: var(--fg); background: var(--bg-2); }
.nav__mobile-link.active { color: var(--fg); background: var(--bg-3); }
.nav__mobile-link--cta {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--s-8);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: var(--accent-dim);
}
.nav__mobile-link--cta:hover { color: var(--accent); background: var(--accent-dim); opacity: 0.9; }

.nav__mobile-group {
  margin-top: var(--s-8);
  padding: 0 var(--s-4);
}
.nav__mobile-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-3);
  margin-bottom: 4px;
  padding: 8px var(--s-8) 4px;
}
.nav__mobile-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-3);
  padding: 10px var(--s-12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  text-decoration: none;
}
.nav__mobile-sub:hover { color: var(--fg); background: var(--bg-2); }
.nav__mobile-sub-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.nav__mobile-sub-icon svg { width: 13px; height: 13px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: var(--s-32);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  will-change: transform;
}
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,204,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin-bottom: var(--s-12);
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-16);
  max-width: 900px;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--fg-2);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: var(--s-24);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: var(--s-48);
  display: flex;
  align-items: center;
  gap: var(--s-24);
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stat-num {
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero__stat-label {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.hero__divider {
  width: 1px;
  height: 40px;
  background: var(--border-2);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 400;
  font-family: var(--font-body);
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.btn--primary:hover {
  background: #1af0da;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--fg-2);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover {
  color: var(--fg);
  border-color: var(--fg-3);
}
.btn--text {
  background: transparent;
  color: var(--fg-2);
  padding: 0;
  gap: var(--s-4);
}
.btn--text:hover { color: var(--fg); }
.btn__arrow {
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--full {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: var(--text-base);
}

/* ── SECTIONS ────────────────────────────────────────────── */
.section--dark { background: var(--bg-2); }
.section--darker { background: var(--bg-3); }
.section--bordered { border-top: 1px solid var(--border); }

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-head {
  margin-bottom: var(--s-48);
}
.section-head__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--s-8);
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.section-head__label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.section-head__title {
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 700px;
}
.section-head__body {
  margin-top: var(--s-12);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--fg-2);
  max-width: 560px;
  line-height: 1.6;
}

/* ── NARRATIVE BLOCKS (homepage) ─────────────────────────── */
.narrative {
  padding: var(--s-64) 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .narrative { padding: var(--s-96) 0; } }

.narrative__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: var(--s-16);
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.narrative__label span {
  color: var(--accent);
  font-weight: 400;
}

.narrative--belief .narrative__title {
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 820px;
}
.narrative--belief .narrative__title em {
  font-style: normal;
  color: var(--accent);
}

.narrative--tension {
  background: var(--bg-2);
}
.narrative--tension .narrative__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-32);
}
@media (min-width: 768px) {
  .narrative--tension .narrative__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-64);
    align-items: start;
  }
}
.narrative--tension .narrative__title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.narrative--tension .narrative__body {
  font-size: var(--text-base);
  color: var(--fg-2);
  line-height: 1.75;
}
.narrative--tension .narrative__body p + p { margin-top: var(--s-12); }

.tension__items {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}
.tension__item {
  padding: var(--s-16);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: transform .15s ease;
}
.tension__item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--border-2);
  transition: background var(--dur-base) var(--ease);
}
.tension__item:hover::before { background: var(--accent); }
.tension__item-title {
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--s-4);
  color: var(--fg);
}
.tension__item-body {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.6;
}

/* AI Speed comparison block */
.speed-compare {
  margin-top: var(--s-48);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.speed-compare__header {
  padding: var(--s-12) var(--s-16);
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.speed-compare__row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.speed-compare__row:last-child { border-bottom: none; }
.speed-compare__cell {
  padding: var(--s-12) var(--s-16);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.speed-compare__cell:nth-child(2) {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--fg-3);
}
.speed-compare__cell:nth-child(3) {
  color: var(--accent);
  font-weight: 500;
}
.speed-compare__cell--label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  display: flex;
  align-items: center;
}

/* Proof / case studies */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
.proof-card {
  background: var(--bg);
  padding: var(--s-24);
  transition: background var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.proof-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dim);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
  z-index: 0;
}
.proof-card:hover::after { opacity: 1; }
.proof-card > * { position: relative; z-index: 1; }
.proof-card__tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: var(--s-12);
}
.proof-card__year {
  color: var(--accent);
  margin-left: var(--s-8);
}
.proof-card__title {
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: var(--s-8);
}
.proof-card__desc {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.6;
  margin-bottom: var(--s-16);
}
.proof-card__metrics {
  display: flex;
  gap: var(--s-16);
  flex-wrap: wrap;
  padding-top: var(--s-16);
  border-top: 1px solid var(--border);
}
.proof-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof-metric__val {
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.proof-metric__key {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}

/* Principles */
.principles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .principles-list { grid-template-columns: 1fr 1fr; }
}
.principle {
  padding: var(--s-24) 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--s-16);
  align-items: start;
}
.principle__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  padding-top: 5px;
}
.principle__title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.principle__body {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
}

/* ── WORK PAGE ───────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  align-content: start;
}
@media (min-width: 768px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.work-card {
  background: var(--bg);
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  transition: background var(--dur-base) var(--ease);
  cursor: default;
  min-height: 280px;
}
.work-card[style*="display: none"] { display: none !important; }

/* Empty state when all cards filtered */
.work-grid__empty {
  padding: var(--s-48) var(--s-24);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-3);
  grid-column: 1 / -1;
  letter-spacing: 0.04em;
}
.work-card:hover { background: var(--bg-2); }
.work-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-8);
}
.work-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 3px;
}
.work-card__year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.work-card__title {
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
  flex: 1;
}
.work-card__client {
  font-size: var(--text-xs);
  color: var(--fg-3);
  font-family: var(--font-mono);
}
.work-card__desc {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.6;
  flex: 1;
}
.work-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.stack-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
}
.work-card__result {
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 500;
  padding-top: var(--s-8);
  border-top: 1px solid var(--border);
}

/* Filter tabs */
.work-filters {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-24);
}
.filter-btn {
  padding: 8px 16px;
  border-radius: 40px;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  border: 1px solid var(--border);
  transition: all var(--dur-fast) var(--ease);
}
.filter-btn:hover {
  color: var(--fg-2);
  border-color: var(--border-2);
}
.filter-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── APPROACH PAGE ───────────────────────────────────────── */
.approach-intro {
  padding: var(--s-96) 0 var(--s-48);
}
.approach-block {
  padding: var(--s-48) 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-24);
}
@media (min-width: 900px) {
  .approach-block {
    grid-template-columns: 240px 1fr;
    gap: var(--s-48);
  }
}
.approach-block__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  padding-top: 4px;
}
.approach-block__label span {
  display: block;
  color: var(--accent);
  font-size: var(--text-sm);
  margin-top: var(--s-4);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.approach-block__title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--s-12);
}
.approach-block__body {
  font-size: var(--text-base);
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 640px;
}
.approach-block__body p + p { margin-top: var(--s-12); }

.ai-workflow {
  margin-top: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 640px;
}
.ai-workflow__step {
  background: var(--bg-2);
  padding: var(--s-12) var(--s-16);
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: var(--s-12);
}
.ai-workflow__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
}
.ai-workflow__name {
  font-size: var(--text-sm);
  color: var(--fg-2);
}
.ai-workflow__time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
}

/* ── PROCESS STEP MOBILE ─────────────────────────────────── */
@media (max-width: 480px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .process-step__num { padding-bottom: 4px; }
}

/* ── THINKING PAGE ───────────────────────────────────────── */
.thinking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
}
@media (min-width: 768px) {
  .thinking-grid { grid-template-columns: 1fr 1fr; }
}
.thinking-card {
  padding: var(--s-24);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  transition: border-color var(--dur-base) var(--ease);
}
.thinking-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.thinking-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  background: var(--bg-3);
  border-color: var(--border-2);
}
@media (min-width: 768px) {
  .thinking-card--featured {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-32);
  }
}
.thinking-card__date {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.thinking-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-left: var(--s-8);
}
.thinking-card__title {
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
}
.thinking-card--featured .thinking-card__title {
  font-size: var(--text-2xl);
}
.thinking-card__excerpt {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
  flex: 1;
}
.thinking-card__read {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.thinking-card:hover .thinking-card__read { color: var(--accent); }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-48);
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-64);
    align-items: start;
  }
}
.contact-intro__title {
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s-16);
}
.contact-intro__body {
  font-size: var(--text-base);
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: var(--s-24);
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  margin-top: var(--s-24);
  padding-top: var(--s-24);
  border-top: 1px solid var(--border);
}
.contact-meta__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-meta__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.contact-meta__val {
  font-size: var(--text-sm);
  color: var(--fg-2);
}
.contact-meta__val a:hover { color: var(--accent); }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.form-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.form-input,
.form-textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--dur-fast) var(--ease);
  width: 100%;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--fg-3); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-note {
  font-size: var(--text-xs);
  color: var(--fg-3);
  line-height: 1.5;
}


/* ── CLIENTS SECTION ─────────────────────────────────────── */
.clients-section {
  padding: var(--s-64) 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .clients-section { padding: var(--s-96) 0; } }

.clients-section__header {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  margin-bottom: var(--s-48);
}
@media (min-width: 768px) {
  .clients-section__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-32);
  }
}

.clients-section__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.clients-section__label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--border-2);
  display: inline-block;
}

.clients-section__title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--fg);
}

.clients-section__sub {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.6;
  max-width: 340px;
}

.clients-marquee-wrap {
  position: relative;
  overflow: hidden;
}
.clients-marquee-wrap::before,
.clients-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.clients-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.clients-marquee {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.clients-marquee:hover { animation-play-state: paused; }

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

.clients-marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  padding: 20px 36px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: opacity var(--dur-fast) var(--ease);
}
.client-logo-item:hover { opacity: 0.8; }

.client-logo-item__icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.client-logo-item__name {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--fg-2);
  letter-spacing: -0.01em;
}

.client-logo-item__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.clients-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: var(--s-32);
}
@media (min-width: 640px) {
  .clients-stats-row { grid-template-columns: repeat(4, 1fr); }
}

.client-stat-box {
  background: var(--bg);
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background var(--dur-fast) var(--ease);
}
.client-stat-box:hover { background: var(--bg-2); }

.client-stat-box__val {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--fg);
  line-height: 1;
}
.client-stat-box__key {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  line-height: 1.3;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: var(--s-48) 0 var(--s-24);
  border-top: 1px solid var(--border);
  margin-top: var(--s-64);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-32);
  margin-bottom: var(--s-32);
}
@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s-32);
  }
}
.footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: var(--s-8);
}
.footer__tagline {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.6;
  max-width: 280px;
}
.footer__heading {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: var(--s-12);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease);
}
.footer__links a:hover { color: var(--fg-2); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-8);
  padding-top: var(--s-16);
  border-top: 1px solid var(--border);
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.footer__legal {
  display: flex;
  gap: var(--s-16);
}
.footer__legal a {
  font-size: var(--text-xs);
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease);
}
.footer__legal a:hover { color: var(--fg-2); }

.footer__social {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease);
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  display: inline-flex;
}
.footer__social:hover { color: var(--fg-2); border-color: var(--border-2); }

/* ── VISUAL CARDS ────────────────────────────────────────── */
.visuals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: var(--s-32);
}
@media (min-width: 768px) { .visuals-grid { grid-template-columns: repeat(3, 1fr); } }
.visual-card {
  background: var(--bg-2);
  padding: var(--s-32) var(--s-24) var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  transition: background .2s ease;
}
.visual-card:hover { background: var(--bg-3); }
.visual-card__fig {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fg-3);
}
.visual-card__art {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-8) 0;
}
.visual-card__art svg {
  height: 100%;
  width: auto;
  max-width: 180px;
  opacity: .6;
  transition: opacity .3s ease;
}
.visual-card:hover .visual-card__art svg { opacity: 1; }
.visual-card__title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -.01em;
}
.visual-card__desc {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
}

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: var(--s-32);
}
@media (min-width: 768px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.about-stat {
  background: var(--bg-2);
  padding: var(--s-24);
}
.about-stat__val {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-3);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  margin-top: var(--s-32);
}
@media (min-width: 600px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  position: relative;
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.team-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.team-card--founder {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 3%, var(--bg-2));
}
.team-card--founder:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 10%, transparent);
}
.team-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.team-card__exp {
  position: absolute;
  top: var(--s-12); right: var(--s-12);
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.06em;
  color: var(--fg-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 6px;
}
.team-card__name { font-size: var(--text-sm); font-weight: 500; color: var(--fg); }
.team-card__role {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
}
.team-card__bio { font-size: var(--text-sm); color: var(--fg-3); line-height: 1.6; flex: 1; }
.team-card__links { display: flex; gap: var(--s-8); margin-top: var(--s-4); }
.team-card__link {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease);
}
.team-card__link:hover { color: var(--accent); }
.team-card__projects {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.05em;
  color: var(--fg-3);
  line-height: 1.5;
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}
.team-card__projects a { color: var(--accent); }
.team-card__projects a:hover { text-decoration: underline; }
.team-trust-note {
  margin-top: var(--s-16);
  padding: var(--s-16);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
  max-width: 640px;
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  margin-top: var(--s-32);
}
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value-item {
  padding: var(--s-24);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s-12);
  align-items: start;
}
.value-item__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  padding-top: 2px;
}
.value-item__title { font-size: var(--text-sm); font-weight: 500; color: var(--fg); margin-bottom: 4px; }
.value-item__body  { font-size: var(--text-sm); color: var(--fg-3); line-height: 1.6; }

/* ── PRICING PAGE ────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  margin-top: var(--s-32);
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  position: relative;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.pricing-card--featured {
  border-color: var(--accent);
  background: var(--bg-3);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 40px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: translateY(-4px);
}
.pricing-card--featured:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 56px color-mix(in srgb, var(--accent) 24%, transparent);
}
.pricing-badge {
  position: absolute; top: var(--s-12); right: var(--s-12);
  font-family: var(--font-mono);
  font-size: 9px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px; border-radius: 3px;
}
.pricing-card__tier {
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--fg-3);
}
.pricing-card__price {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--fg); line-height: 1.1;
}
.pricing-card__price-note { font-size: var(--text-sm); color: var(--fg-3); }
.pricing-card__desc {
  font-size: var(--text-sm); color: var(--fg-2); line-height: 1.65;
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--border);
}
.pricing-features { display: flex; flex-direction: column; gap: var(--s-8); flex: 1; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: var(--s-8);
  font-size: var(--text-sm); color: var(--fg-2); line-height: 1.5;
}
.pricing-feature::before {
  content: "✓"; color: var(--accent);
  font-weight: 600; font-size: 11px;
  flex-shrink: 0; margin-top: 2px;
}
.pricing-card .btn { margin-top: auto; justify-content: center; width: 100%; }
.pricing-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .04em;
  color: var(--fg-3);
  margin-top: var(--s-24); line-height: 1.7;
}

/* ── COST DRIVERS BLOCK ──────────────────────────────────── */
.cost-drivers {
  margin-top: var(--s-32);
  padding: var(--s-24);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  max-width: 780px;
}
.cost-drivers__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: var(--s-16);
}
.cost-drivers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
}
@media (max-width: 600px) { .cost-drivers__grid { grid-template-columns: 1fr; } }
.cost-driver {
  display: flex;
  gap: var(--s-10);
  align-items: flex-start;
}
.cost-driver__plus {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  flex-shrink: 0;
  margin-top: 2px;
}
.cost-driver__title {
  font-size: var(--text-sm);
  color: var(--fg-2);
  font-weight: 500;
  margin-bottom: 2px;
}
.cost-driver__body {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.55;
}
.pricing-faq { margin-top: var(--s-48); }
.pricing-faq__title {
  font-size: var(--text-xl); font-weight: 300;
  letter-spacing: -.02em; color: var(--fg);
  margin-bottom: var(--s-24);
}
.faq-item {
  padding: var(--s-16) 0;
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { font-size: var(--text-base); font-weight: 400; color: var(--fg); margin-bottom: var(--s-8); }
.faq-a { font-size: var(--text-sm); color: var(--fg-3); line-height: 1.7; }

/* ── COLLAB / CTA SECTION ────────────────────────────────── */
.collab {
  padding: var(--s-96) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.collab__title {
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s-16);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.collab__sub {
  font-size: var(--text-base);
  color: var(--fg-3);
  margin-bottom: var(--s-24);
}
.collab__email {
  display: inline-block;
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}
.collab__email:hover { border-color: var(--accent); }

/* ── UTILITIES ───────────────────────────────────────────── */
main { padding-top: var(--nav-h); }
.page-intro { padding: calc(var(--nav-h) + var(--s-48)) 0 var(--s-48); }

/* ── REVEAL UPGRADE ──────────────────────────────────────── */
/* will-change tells the browser to promote these to their own compositor
   layer immediately, so the opacity:0 state is committed before JS runs. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); will-change: opacity, transform; }
/* Clean up will-change after animation to free GPU memory */
.reveal.visible { will-change: auto; }
/* Ensure reveal transition always wins over theme-transition on card elements */
.work-card.reveal, .proof-card.reveal, .thinking-card.reveal, .tension__item.reveal,
.pricing-card.reveal, .team-card.reveal, .client-stat-box.reveal,
.visual-card.reveal, .fit-card.reveal, .timeline-step.reveal, .faq-item.reveal,
.tool-item.reveal, .ai-use.reveal, .stack-item.reveal, .method-cell.reveal,
.process-step.reveal {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease,
              opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.no-js .reveal, body:not(.js-loaded) .reveal { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.reveal--delay-4 { transition-delay: 320ms; }

/* Card hover lift */
.proof-card, .work-card, .thinking-card {
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.proof-card:hover, .work-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.18); }
.tension__item:hover { transform: translateX(4px); }

/* Button shimmer */
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%);
  background-size: 200% 100%; opacity: 0;
}
.btn--primary:hover::after { opacity: 1; animation: shimmer .5s ease both; }
@keyframes shimmer { from { background-position: -200% center; } to { background-position: 200% center; } }

/* ── PAGE HERO SPLIT (shared component) ─────────────────── */
.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--s-32);
  width: 100%;
  min-height: calc(100svh - var(--nav-h));
  padding-top: calc(var(--nav-h) + var(--s-32));
  padding-bottom: var(--s-32);
}
.page-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-hero-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-2) 60%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 20px 16px 16px;
  overflow: hidden;
}
.page-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(0,229,204,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.phc-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phc-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.phc-svg { width: 100%; height: auto; display: block; }
.phc-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.phc-footer-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
@media (max-width: 900px) {
  .page-hero-split { grid-template-columns: 1fr; min-height: auto; }
  .page-hero-right { display: none; }
}

/* ── DELIVERY MODEL BADGES ───────────────────────────────── */
.work-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: var(--s-4);
  margin-bottom: var(--s-4);
  font-weight: 400;
}
.work-card__badge--ai {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.work-card__badge--ai::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.work-card__badge--traditional {
  background: var(--bg-3);
  color: var(--fg-3);
  border: 1px solid var(--border);
}

/* ── AI IMPACT SECTION (inside work cards) ───────────────── */
.work-card__ai-impact {
  margin-top: var(--s-8);
  padding: var(--s-8) var(--s-12);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent-dim) 60%, transparent);
}
.work-card__ai-impact-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--s-4);
  opacity: 0.8;
}
.work-card__ai-impact-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.work-card__ai-row {
  display: contents;
}
.work-card__ai-aspect {
  font-size: 11px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  padding: 3px 0;
  border-bottom: 1px solid var(--border);
}
.work-card__ai-value {
  font-size: 11px;
  color: var(--fg-2);
  padding: 3px 0;
  border-bottom: 1px solid var(--border);
}
.work-card__ai-value--highlight {
  color: var(--accent);
  font-weight: 500;
}

/* ── AI COMPARISON TABLE ─────────────────────────────────── */
.ai-comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: var(--text-sm);
  margin: var(--s-24) 0;
}
.ai-comparison-table th {
  background: var(--bg-2);
  padding: var(--s-8) var(--s-12);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  border-bottom: 1px solid var(--border);
}
.ai-comparison-table th:first-child { color: var(--fg-2); }
.ai-comparison-table td {
  padding: var(--s-8) var(--s-12);
  border-bottom: 1px solid var(--border);
  color: var(--fg-2);
  vertical-align: top;
  line-height: 1.5;
}
.ai-comparison-table tr:last-child td { border-bottom: none; }
.ai-comparison-table td:first-child { color: var(--fg); font-weight: 400; }
.ai-comparison-table .td--highlight { color: var(--accent); }
.ai-comparison-table .td--muted { color: var(--fg-3); }
.ai-comparison-table tbody tr:hover td { background: var(--bg-2); }

/* ── METHODOLOGY GRID ────────────────────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: var(--s-24) 0;
}
.method-cell {
  background: var(--bg-2);
  padding: var(--s-16) var(--s-16);
}
.method-cell--yes { background: color-mix(in srgb, var(--accent-dim) 40%, var(--bg-2)); }
.method-cell__icon {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.method-cell__icon--no { color: var(--fg-3); }
.method-cell__title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
}
.method-cell__body {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.6;
}
@media (max-width: 600px) {
  .method-grid { grid-template-columns: 1fr; }
  .ai-comparison-table { font-size: 12px; }
  .ai-comparison-table th, .ai-comparison-table td { padding: 8px; }
}

/* ── DISCLAIMER BLOCK ────────────────────────────────────── */
.disclaimer-block {
  padding: var(--s-16) var(--s-16);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--accent-dim);
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.7;
  max-width: var(--max-w-text);
  margin: var(--s-24) 0;
}
.disclaimer-block strong { color: var(--fg); }

/* Responsive fine-tuning */
@media (max-width: 480px) { .hero__divider { display: none; } .hero__meta { gap: var(--s-12); } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .thinking-card--featured { grid-column: 1 / -1; } }
@media (min-width: 1024px) and (max-width: 1180px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1440px) { :root { --max-w: 1360px; } }


/* ── FIT CHECK CARDS ─────────────────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  max-width: 900px;
}
@media (min-width: 768px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-24);
  }
}

.fit-card {
  border-radius: 12px;
  padding: var(--s-24);
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fit-card--good {
  background: color-mix(in srgb, var(--accent-dim) 40%, var(--bg-2));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.fit-card--good::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.fit-card--good:hover::before { opacity: 1; }

.fit-card--not {
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.fit-card--not::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--border-2);
  opacity: 0.3;
  transition: opacity var(--dur-base) var(--ease);
}
.fit-card--not:hover::before { opacity: 0.8; }

.fit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.fit-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-20);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--border);
}

.fit-card__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 400;
}
.fit-card__badge--good { color: var(--accent); }
.fit-card__badge--not { color: var(--fg-3); }

.fit-card__indicator {
  display: flex;
  align-items: center;
  gap: 4px;
}
.fit-card__indicator span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease);
}
.fit-card:hover .fit-card__indicator span {
  transform: scale(1.2);
}
.fit-card__indicator span:nth-child(1) { animation: pulse 2s 0s infinite; }
.fit-card__indicator span:nth-child(2) { animation: pulse 2s 0.2s infinite; }
.fit-card__indicator span:nth-child(3) { animation: pulse 2s 0.4s infinite; }

.fit-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  margin-bottom: var(--s-24);
  flex: 1;
}

.fit-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-12);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--fg-2);
}

.fit-card__icon {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.fit-card__icon--good { color: var(--accent); }
.fit-card__icon--not { color: var(--fg-3); }

.fit-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  opacity: 0.5;
  transition: opacity var(--dur-fast) var(--ease);
}
.fit-card:hover .fit-card__footer {
  opacity: 1;
}

.fit-note {
  margin-top: var(--s-32);
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.6;
  max-width: 570px;
  padding-top: var(--s-24);
  border-top: 1px solid var(--border);
}

.fit-note__link {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: all var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
  margin-left: var(--s-4);
}
.fit-note__link:hover {
  border-bottom-color: var(--accent);
}
/* ── SKIP TO MAIN CONTENT (Accessibility) ─────────────────── */
/* Use clip-path pattern rather than opacity:0 — opacity hides visually
   but doesn't remove from accessibility tree. clip-path does both. */
.skip-link {
  position: absolute;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 9999;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  left: var(--s-16);
  top: var(--s-8);
}
.skip-link:focus {
  clip-path: none;
  clip: auto;
  overflow: visible;
  width: auto;
  height: auto;
}

/* ── SHARED PAGE HERO SVG ANIMATION ─────────────────────── */
@keyframes phc-fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO INDEX — SPLIT LAYOUT + SVG ANIMATIONS ─── */

/* ── HERO SPLIT LAYOUT ── */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--s-32);
  width: 100%;
  padding-top: var(--s-32);
  padding-bottom: var(--s-32);
}
@media (max-width: 900px) {
  .hero__split {
    grid-template-columns: 1fr;
    padding-top: var(--s-24);
    padding-bottom: var(--s-24);
  }
  .hero__visual {
    display: none;
  }
}

/* ── HERO VISUAL CONTAINER ── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── HERO CONTENT OVERRIDES FOR SPLIT ── */
.hero__split .hero__title {
  max-width: 100%;
}
.hero__split .hero__meta {
  margin-top: var(--s-32);
}
.hero__visual-inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-2) 60%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 16px 16px;
  overflow: hidden;
}
.hero__visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(0,229,204,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hv-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hv-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.hv-svg {
  width: 100%;
  height: auto;
}
.hv-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.hv-footer-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ── NODE ENTRANCE ANIMATIONS ── */
.hv-node { opacity: 0; animation: hv-fade-in 0.5s var(--ease) forwards; }
.hv-node--1  { animation-delay: 0.3s; }
.hv-node--2  { animation-delay: 0.7s; }
.hv-node--3a { animation-delay: 1.1s; }
.hv-node--3b { animation-delay: 1.3s; }
.hv-node--4  { animation-delay: 1.7s; }
.hv-node--5  { animation-delay: 2.1s; }

@keyframes hv-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PACKET TRAVEL ANIMATIONS ── */
.hv-packet--a {
  animation: hv-packet-ab 3s 1.2s ease-in-out infinite;
}
.hv-packet--b {
  animation: hv-packet-b 3s 1.8s ease-in-out infinite;
}
.hv-packet--c {
  animation: hv-packet-c 3s 2.0s ease-in-out infinite;
}
.hv-packet--d {
  animation: hv-packet-d 3s 2.4s ease-in-out infinite;
}
.hv-packet--e {
  animation: hv-packet-e 3s 2.6s ease-in-out infinite;
}
.hv-packet--f {
  animation: hv-packet-f 3.5s 3.0s ease-in-out infinite;
}

@keyframes hv-packet-ab {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; transform: translateY(36px); }
  100% { opacity: 0; transform: translateY(36px); }
}
@keyframes hv-packet-b {
  0%   { opacity: 0; transform: translate(0,0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; transform: translate(-30px, 30px); }
  100% { opacity: 0; transform: translate(-30px, 30px); }
}
@keyframes hv-packet-c {
  0%   { opacity: 0; transform: translate(0,0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; transform: translate(30px, 30px); }
  100% { opacity: 0; transform: translate(30px, 30px); }
}
@keyframes hv-packet-d {
  0%   { opacity: 0; transform: translate(0,0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; transform: translate(32px, 32px); }
  100% { opacity: 0; transform: translate(32px, 32px); }
}
@keyframes hv-packet-e {
  0%   { opacity: 0; transform: translate(0,0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; transform: translate(-32px, 32px); }
  100% { opacity: 0; transform: translate(-32px, 32px); }
}
@keyframes hv-packet-f {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; transform: translateY(40px); }
  100% { opacity: 0; transform: translateY(40px); }
}

/* ── AI PULSE RINGS ── */
.hv-pulse-ring {
  transform-origin: 175px 136px;
}
.hv-pulse-ring--1 {
  animation: hv-ring 2.4s 1.8s ease-out infinite;
}
.hv-pulse-ring--2 {
  animation: hv-ring 2.4s 2.4s ease-out infinite;
}
@keyframes hv-ring {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.8); }
}

/* ── HEARTBEAT ── */
.hv-heartbeat {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: hv-draw 2.5s 2.5s ease-out forwards;
}
@keyframes hv-draw {
  to { stroke-dashoffset: 0; opacity: 0.6; }
}

/* ── STATUS DOTS ── */
.hv-status-dot {
  animation: pulse 2s ease-in-out infinite;
}

/* ── TICK DOT ── */
.hv-tick--1 {
  opacity: 0;
  animation: hv-fade-in 0.4s 0.5s ease forwards;
}

/* ── AI RING ROTATE ── */
.hv-ai-ring {
  transform-origin: 175px 136px;
  animation: hv-ring-rotate 8s linear infinite;
}
@keyframes hv-ring-rotate {
  from { stroke-dasharray: 60 20; stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -88; }
}


/* ── APPROACH PAGE ─────────────────────────────────── */
    .stack-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      max-width: 640px;
      margin-top: var(--s-24);
    }
    .stack-item {
      background: var(--bg-2);
      padding: var(--s-12) var(--s-16);
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .stack-item__name {
      font-size: var(--text-sm);
      color: var(--fg-2);
      font-weight: 400;
    }
    .stack-item__role {
      font-family: var(--font-mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--fg-3);
    }
    .process-steps {
      display: flex;
      flex-direction: column;
      gap: 0;
      max-width: 640px;
    }
    .process-step {
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: var(--s-16);
      padding: var(--s-16) 0;
      border-bottom: 1px solid var(--border);
      align-items: start;
    }
    .process-step:first-child { border-top: 1px solid var(--border); }
    .process-step__num {
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding-top: 3px;
    }
    .process-step__title {
      font-size: var(--text-base);
      font-weight: 500;
      color: var(--fg);
      margin-bottom: 4px;
      letter-spacing: -0.01em;
    }
    .process-step__body {
      font-size: var(--text-sm);
      color: var(--fg-3);
      line-height: 1.65;
    }
    .process-step__time {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--accent);
      background: var(--accent-dim);
      padding: 2px 8px;
      border-radius: 3px;
      display: inline-block;
      margin-top: 6px;
    }
    .ai-uses {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      max-width: 640px;
      margin-top: var(--s-24);
    }
    @media (max-width: 500px) { .ai-uses { grid-template-columns: 1fr; } }
    .ai-use {
      background: var(--bg-2);
      padding: var(--s-16);
    }
    .ai-use__title {
      font-size: var(--text-sm);
      font-weight: 500;
      color: var(--fg-2);
      margin-bottom: 4px;
    }
    .ai-use__desc {
      font-size: 12px;
      color: var(--fg-3);
      line-height: 1.6;
    }
    .ai-use__badge {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: var(--s-8);
    }


/* ── CONTACT PAGE ───────────────────────────────────── */

    .contact-page {
      min-height: 100svh;
      padding-top: calc(var(--nav-h) + var(--s-48));
      padding-bottom: var(--s-64);
    }
    .availability {
      display: flex;
      align-items: center;
      gap: var(--s-8);
      margin-top: var(--s-24);
    }
    .availability__dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
      flex-shrink: 0;
    }
    .availability__text {
      font-size: var(--text-sm);
      color: var(--fg-2);
    }
    .select-wrapper {
      position: relative;
    }
    .select-wrapper select {
      appearance: none;
      -webkit-appearance: none;
      background: var(--bg-2);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 12px 40px 12px 16px;
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--text-sm);
      width: 100%;
      outline: none;
      cursor: pointer;
      transition: border-color var(--dur-fast) var(--ease);
    }
    .select-wrapper select:focus {
      border-color: var(--accent);
    }
    .select-wrapper::after {
      content: '';
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid var(--fg-3);
      pointer-events: none;
    }
    .select-wrapper select option {
      background: var(--bg-2);
    }
    .social-links {
      display: flex;
      gap: var(--s-16);
      margin-top: var(--s-24);
    }
    .social-link {
      font-family: var(--font-mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--fg-3);
      transition: color var(--dur-fast) var(--ease);
      display: flex;
      align-items: center;
      gap: var(--s-4);
    }
    .social-link:hover { color: var(--fg-2); }

    /* Contact page gets hero padding from the existing contact-layout */
    .contact-page {
      min-height: 100svh;
      padding-top: calc(var(--nav-h) + var(--s-32));
      padding-bottom: var(--s-48);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }


/* ── WORK PAGE SPECIFIC ────────────────────────────── */

    @keyframes phc-fade-in {
      from { opacity: 0; transform: translateY(5px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .work-filters-bar {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: var(--s-12) 0;
      position: sticky;
      top: var(--nav-h);
      z-index: 10;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      background: color-mix(in srgb, var(--bg) 85%, transparent);
    }

    /* ── TIER HEADER ── */
    .tier-header {
      padding: var(--s-48) 0 var(--s-24);
      border-top: 1px solid var(--border);
    }
    .tier-header:first-of-type {
      border-top: none;
      padding-top: var(--s-32);
    }
    .tier-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 6px 12px;
      border-radius: 4px;
      margin-bottom: var(--s-12);
    }
    .tier-badge--ai {
      background: color-mix(in srgb, var(--accent) 12%, transparent);
      color: var(--accent);
      border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
    }
    .tier-badge--traditional {
      background: var(--bg-2);
      color: var(--fg-3);
      border: 1px solid var(--border);
    }
    .tier-badge__dot {
      width: 5px; height: 5px;
      border-radius: 50%;
      background: currentColor;
      flex-shrink: 0;
    }
    .tier-badge--ai .tier-badge__dot {
      animation: pulse 2s ease-in-out infinite;
    }
    .tier-header__title {
      font-size: var(--text-2xl);
      font-weight: 300;
      letter-spacing: -0.025em;
      color: var(--fg);
      margin-bottom: var(--s-8);
    }
    .tier-header__desc {
      font-size: var(--text-sm);
      color: var(--fg-3);
      max-width: 640px;
      line-height: 1.65;
    }

    /* ── OWNERSHIP INDICATOR ── */
    .work-card__ownership {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.07em;
      color: var(--fg-3);
      margin-top: var(--s-8);
      padding-top: var(--s-8);
      border-top: 1px solid var(--border);
    }
    .work-card__ownership-icon {
      width: 12px; height: 12px;
      flex-shrink: 0;
      opacity: 0.6;
    }

    /* ── AI GOVERNANCE SECTION ── */
    .ai-governance {
      background: var(--bg-2);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: var(--s-24);
      margin: var(--s-32) 0;
    }
    .ai-governance__title {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: var(--s-12);
    }
    .ai-governance__heading {
      font-size: var(--text-lg);
      font-weight: 300;
      letter-spacing: -0.02em;
      color: var(--fg);
      margin-bottom: var(--s-16);
    }
    .ai-governance__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--s-12);
    }
    @media (max-width: 600px) {
      .ai-governance__grid { grid-template-columns: 1fr; }
    }
    .ai-gov-row {
      display: flex;
      gap: var(--s-12);
      padding: var(--s-12);
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--bg);
    }
    .ai-gov-row__icon {
      width: 28px; height: 28px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      font-family: var(--font-mono);
      font-size: 9px;
      letter-spacing: 0.05em;
    }
    .ai-gov-row__icon--yes {
      background: color-mix(in srgb, var(--accent) 15%, transparent);
      color: var(--accent);
    }
    .ai-gov-row__icon--no {
      background: var(--bg-3);
      color: var(--fg-3);
    }
    .ai-gov-row__text {
      font-size: var(--text-sm);
      color: var(--fg-2);
      line-height: 1.5;
    }
    .ai-gov-row__label {
      font-family: var(--font-mono);
      font-size: 9px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 2px;
    }
    .ai-gov-row__label--yes { color: var(--accent); }
    .ai-gov-row__label--no  { color: var(--fg-3); }

    /* ── FEATURED CASE STUDY ── */
    .case-study-featured {
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: var(--s-24);
      background: var(--bg);
    }
    .case-study-featured__header {
      padding: var(--s-20) var(--s-24);
      background: color-mix(in srgb, var(--accent) 5%, transparent);
      border-bottom: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--s-12);
      flex-wrap: wrap;
    }
    .case-study-featured__label {
      font-family: var(--font-mono);
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .case-study-featured__label::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
    }
    .case-study-featured__tags {
      display: flex;
      gap: var(--s-8);
      flex-wrap: wrap;
    }
    .case-study-featured__body {
      padding: var(--s-24);
    }
    .case-study-featured__title {
      font-size: var(--text-2xl);
      font-weight: 300;
      letter-spacing: -0.025em;
      margin-bottom: var(--s-8);
    }
    .case-study-featured__client {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.08em;
      color: var(--fg-3);
      margin-bottom: var(--s-16);
    }
    .case-study-featured__problem {
      margin-bottom: var(--s-16);
    }
    .case-study-featured__problem-label {
      font-family: var(--font-mono);
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--fg-3);
      margin-bottom: var(--s-4);
    }
    .case-study-featured__problem-text {
      font-size: var(--text-sm);
      color: var(--fg-2);
      line-height: 1.65;
    }
    .case-study-featured__cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--s-20);
      margin-top: var(--s-20);
    }
    @media (max-width: 600px) {
      .case-study-featured__cols { grid-template-columns: 1fr; }
    }
    .case-study-col__label {
      font-family: var(--font-mono);
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--fg-3);
      margin-bottom: var(--s-8);
      padding-bottom: var(--s-8);
      border-bottom: 1px solid var(--border);
    }
    .case-study-col__item {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: var(--s-6);
      font-size: var(--text-sm);
      color: var(--fg-2);
    }
    .case-study-col__item::before {
      content: '–';
      color: var(--fg-3);
      flex-shrink: 0;
      margin-top: 1px;
    }
    .case-study-featured__metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--s-12);
      margin-top: var(--s-20);
      padding-top: var(--s-20);
      border-top: 1px solid var(--border);
    }
    @media (max-width: 480px) {
      .case-study-featured__metrics { grid-template-columns: 1fr 1fr; }
    }
    .cs-metric {
      text-align: center;
    }
    .cs-metric__val {
      font-size: var(--text-2xl);
      font-weight: 300;
      letter-spacing: -0.03em;
      color: var(--accent);
    }
    .cs-metric__key {
      font-family: var(--font-mono);
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--fg-3);
      margin-top: 2px;
    }

    /* ── INTERNAL LINK CTA (inline) ── */
    .inline-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: var(--text-sm);
      color: var(--accent);
      border-bottom: 1px solid transparent;
      transition: border-color var(--dur-fast) var(--ease);
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.05em;
    }
    .inline-cta:hover { border-color: var(--accent); }


/* ── AI MVP PAGE SPECIFIC ────────────────────────────── */

    .ai-mvp-hero {
      padding-top: calc(var(--nav-h) + var(--s-48));
      padding-bottom: var(--s-48);
      border-bottom: 1px solid var(--border);
    }
    .ai-mvp-hero__label {
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent);
      margin-bottom: var(--s-12);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .ai-mvp-hero__label::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s ease-in-out infinite;
    }
    .ai-mvp-hero__title {
      font-size: var(--text-3xl);
      font-weight: 300;
      letter-spacing: -0.03em;
      line-height: 1.05;
      color: var(--fg);
      max-width: 820px;
      margin-bottom: var(--s-16);
    }
    .ai-mvp-hero__title em {
      font-style: italic;
      color: var(--accent);
    }
    .ai-mvp-hero__sub {
      font-size: var(--text-lg);
      color: var(--fg-3);
      max-width: 640px;
      line-height: 1.6;
      margin-bottom: var(--s-24);
      font-weight: 300;
    }
    .ai-mvp-stats {
      display: flex;
      gap: var(--s-32);
      flex-wrap: wrap;
      margin-top: var(--s-32);
      padding-top: var(--s-32);
      border-top: 1px solid var(--border);
    }
    .ai-mvp-stat {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .ai-mvp-stat__num {
      font-size: var(--text-2xl);
      font-weight: 300;
      letter-spacing: -0.03em;
      color: var(--fg);
    }
    .ai-mvp-stat__label {
      font-family: var(--font-mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--fg-3);
    }
    .content-section {
      padding: var(--s-64) 0;
      border-bottom: 1px solid var(--border);
    }
    .content-section__label {
      font-family: var(--font-mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--accent);
      margin-bottom: var(--s-12);
    }
    .content-section__title {
      font-size: var(--text-2xl);
      font-weight: 300;
      letter-spacing: -0.03em;
      color: var(--fg);
      max-width: 580px;
      margin-bottom: var(--s-16);
      line-height: 1.15;
    }
    .content-section__body {
      font-size: var(--text-base);
      color: var(--fg-3);
      max-width: 640px;
      line-height: 1.7;
    }
    .timeline-steps {
      display: flex;
      flex-direction: column;
      gap: 0;
      max-width: 680px;
      margin-top: var(--s-32);
    }
    .timeline-step {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: var(--s-16);
      padding: var(--s-16) 0;
      border-bottom: 1px solid var(--border);
      align-items: start;
    }
    .timeline-step:first-child { border-top: 1px solid var(--border); }
    .timeline-step__when {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding-top: 3px;
    }
    .timeline-step__title {
      font-size: var(--text-base);
      font-weight: 500;
      color: var(--fg);
      margin-bottom: 4px;
    }
    .timeline-step__body {
      font-size: var(--text-sm);
      color: var(--fg-3);
      line-height: 1.65;
    }
    .two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--s-48);
      align-items: start;
    }
    @media (max-width: 768px) {
      .two-col { grid-template-columns: 1fr; gap: var(--s-32); }
    }
    .tool-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }
    .tool-item {
      display: flex;
      align-items: center;
      gap: var(--s-12);
      padding: var(--s-12) var(--s-16);
      border-bottom: 1px solid var(--border);
    }
    .tool-item:last-child { border-bottom: none; }
    .tool-item__icon {
      width: 32px; height: 32px;
      border-radius: 6px;
      background: var(--accent-dim);
      border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 9px;
      color: var(--accent);
      flex-shrink: 0;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .tool-item__name {
      font-size: var(--text-sm);
      color: var(--fg-2);
      font-weight: 400;
    }
    .tool-item__role {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--fg-3);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .refuse-list {
      display: flex;
      flex-direction: column;
      gap: var(--s-8);
      max-width: 560px;
    }
    .refuse-item {
      display: flex;
      align-items: flex-start;
      gap: var(--s-8);
      font-size: var(--text-sm);
      color: var(--fg-3);
      line-height: 1.6;
    }
    .refuse-item__marker {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--fg-3);
      flex-shrink: 0;
      padding-top: 3px;
    }
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      max-width: 680px;
    }
    .faq-item {
      padding: var(--s-16) 0;
      border-bottom: 1px solid var(--border);
    }
    .faq-item:first-child { border-top: 1px solid var(--border); }
    .faq-item__q {
      font-size: var(--text-base);
      font-weight: 500;
      color: var(--fg);
      margin-bottom: var(--s-4);
    }
    .faq-item__a {
      font-size: var(--text-sm);
      color: var(--fg-3);
      line-height: 1.7;
    }


/* ── APPROACH HERO SVG ANIMATIONS ─── */

          .ap-node { opacity: 0; animation: phc-fade-in 0.5s var(--ease) forwards; }
          .ap-node--1 { animation-delay: 0.2s; }
          .ap-node--2 { animation-delay: 0.7s; }
          .ap-node--3 { animation-delay: 1.3s; }
          .ap-chip, .ap-tag { opacity: 0; animation: phc-fade-in 0.35s var(--ease) forwards; }
          .ap-chip--1 { animation-delay: 0.4s; }
          .ap-chip--2 { animation-delay: 0.55s; }
          .ap-chip--3 { animation-delay: 0.7s; }
          .ap-tag--1 { animation-delay: 0.9s; }
          .ap-tag--2 { animation-delay: 1.0s; }
          .ap-tag--3 { animation-delay: 1.1s; }
          .ap-tag--4 { animation-delay: 1.2s; }
          .ap-tag--5 { animation-delay: 1.3s; }
          .ap-tag--6 { animation-delay: 1.4s; }
          .ap-arrowhead { animation: phc-fade-in 0.3s var(--ease) forwards; }
          .ap-arrowhead--1 { animation-delay: 0.8s; }
          .ap-arrowhead--2 { animation-delay: 0.9s; }
          .ap-arrowhead--3 { animation-delay: 1.0s; }
          .ap-arrowhead--4 { animation-delay: 1.5s; }
          .ap-arrowhead--5 { animation-delay: 1.6s; }
          .ap-arrowhead--6 { animation-delay: 1.7s; }
          .ap-ai-ring {
            transform-origin: 67px 207px;
            animation: ap-ring-spin 8s linear infinite;
          }
          @keyframes ap-ring-spin {
            to { transform: rotate(360deg); }
          }


/* ── PRICING HERO SVG ANIMATIONS ─── */

          .pr-node { opacity: 0; animation: phc-fade-in 0.45s var(--ease) forwards; }
          .pr-node--1 { animation-delay: 0.2s; }
          .pr-node--2 { animation-delay: 0.4s; }
          .pr-node--3 { animation-delay: 0.6s; }
          .pr-feat { opacity: 0; animation: phc-fade-in 0.3s var(--ease) forwards; }
          .pr-feat--s1 { animation-delay: 0.5s; } .pr-feat--s2 { animation-delay: 0.65s; }
          .pr-feat--s3 { animation-delay: 0.8s; } .pr-feat--s4 { animation-delay: 0.95s; }
          .pr-feat--s5 { animation-delay: 1.1s; }
          .pr-feat--p1 { animation-delay: 0.7s; } .pr-feat--p2 { animation-delay: 0.85s; }
          .pr-feat--p3 { animation-delay: 1.0s; } .pr-feat--p4 { animation-delay: 1.15s; }
          .pr-feat--p5 { animation-delay: 1.3s; } .pr-feat--p6 { animation-delay: 1.45s; }
          .pr-feat--r1 { animation-delay: 0.9s; } .pr-feat--r2 { animation-delay: 1.05s; }
          .pr-feat--r3 { animation-delay: 1.2s; } .pr-feat--r4 { animation-delay: 1.35s; }
          .pr-feat--r5 { animation-delay: 1.5s; }
          /* Scope fill bar animations */
          .pr-bar { animation: pr-fill var(--dur) var(--delay) var(--ease) forwards; width: 0; }
          .pr-bar--1 { animation: pr-fill-s 0.8s 0.7s var(--ease) forwards; }
          .pr-bar--2 { animation: pr-fill-p 0.8s 0.9s var(--ease) forwards; }
          .pr-bar--3 { animation: pr-fill-r 0.8s 1.1s var(--ease) forwards; }
          @keyframes pr-fill-s { to { width: 55px; } }
          @keyframes pr-fill-p { to { width: 100px; } }
          @keyframes pr-fill-r { to { width: 70px; } }


/* ── THINKING HERO SVG ANIMATIONS ─── */

          .th-dot { opacity: 0; animation: phc-fade-in 0.3s var(--ease) forwards; }
          .th-dot--1 { animation-delay: 0.2s; }
          .th-dot--2 { animation-delay: 0.55s; }
          .th-dot--3 { animation-delay: 0.9s; }
          .th-dot--4 { animation-delay: 1.25s; }
          .th-dot--5 { animation-delay: 1.6s; }
          .th-branch { opacity: 0; animation: phc-fade-in 0.25s var(--ease) forwards; }
          .th-branch--1 { animation-delay: 0.3s; }
          .th-branch--2 { animation-delay: 0.65s; }
          .th-branch--3 { animation-delay: 1.0s; }
          .th-branch--4 { animation-delay: 1.35s; }
          .th-branch--5 { animation-delay: 1.7s; }
          .th-card { opacity: 0; animation: phc-fade-in 0.4s var(--ease) forwards; }
          .th-card--1 { animation-delay: 0.35s; }
          .th-card--2 { animation-delay: 0.7s; }
          .th-card--3 { animation-delay: 1.05s; }
          .th-card--4 { animation-delay: 1.4s; }
          .th-card--5 { animation-delay: 1.75s; }


/* ── ABOUT HERO SVG ANIMATIONS ─── */

          .ab-line { opacity: 0; animation: phc-fade-in 0.4s var(--ease) forwards; }
          .ab-line--1  { animation-delay: 0.5s; }
          .ab-line--2  { animation-delay: 0.6s; }
          .ab-line--3  { animation-delay: 0.7s; }
          .ab-line--4  { animation-delay: 0.8s; }
          .ab-line--5  { animation-delay: 0.9s; }
          .ab-line--6  { animation-delay: 1.0s; }
          .ab-line--7  { animation-delay: 1.1s; }
          .ab-line--8  { animation-delay: 1.2s; }
          .ab-line--9  { animation-delay: 1.3s; }
          .ab-line--10 { animation-delay: 1.4s; }
          .ab-node { opacity: 0; animation: phc-fade-in 0.45s var(--ease) forwards; }
          .ab-node--c  { animation-delay: 0.2s; }
          .ab-node--1  { animation-delay: 0.7s; }
          .ab-node--2  { animation-delay: 0.85s; }
          .ab-node--3  { animation-delay: 1.0s; }
          .ab-node--4  { animation-delay: 1.15s; }
          .ab-node--5  { animation-delay: 1.3s; }
          .ab-label { opacity: 0; animation: phc-fade-in 0.35s var(--ease) forwards; }
          .ab-label--c { animation-delay: 0.4s; }
          .ab-label--1 { animation-delay: 0.9s; }
          .ab-label--2 { animation-delay: 1.05s; }
          .ab-label--3 { animation-delay: 1.2s; }
          .ab-label--4 { animation-delay: 1.35s; }
          .ab-label--5 { animation-delay: 1.5s; }
          .ab-pulse-ring {
            transform-origin: 210px 190px;
            animation: ab-ring-pulse 2.5s 0.3s ease-out infinite;
          }
          @keyframes ab-ring-pulse {
            0%   { opacity: 0.6; transform: scale(1); }
            100% { opacity: 0; transform: scale(2.2); }
          }
          .ab-status-ring {
            transform-origin: 388px 358px;
            animation: ab-ring-pulse 2s 1.5s ease-out infinite;
          }


/* ── WORK BODY STYLES ─── */

        .wc-card { opacity: 0; animation: phc-fade-in 0.45s var(--ease) forwards; }
        .wc-card--1 { animation-delay: 0.2s; }
        .wc-card--2 { animation-delay: 0.45s; }
        .wc-card--3 { animation-delay: 0.7s; }
        .wc-card--4 { animation-delay: 0.95s; }
        .wc-card--5 { animation-delay: 1.2s; }
        .wc-card--6 { animation-delay: 1.45s; }
        .wc-progress {
          animation: wc-bar 2s 1.6s var(--ease) forwards;
          width: 0;
        }
        @keyframes wc-bar {
          to { width: 80px; }
        }

/* ── FORM VALIDATION STATES ──────────────────────────────── */
.form-error {
  display: block;
  font-size: var(--text-xs);
  color: #e05c5c;
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
[aria-invalid="true"].form-input,
[aria-invalid="true"].form-textarea {
  border-color: #e05c5c;
}
.form-success {
  padding: var(--s-24);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  color: var(--fg-2);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* ── MARQUEE PAUSE BUTTON ────────────────────────────────── */
.marquee-pause-btn {
  position: absolute;
  bottom: 8px;
  right: var(--s-16);
  z-index: 10;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--fg-3);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
  line-height: 1;
}
.marquee-pause-btn:hover {
  color: var(--fg);
  border-color: var(--border-2);
}

/* Pricing cost-reason-grid responsive — fixed to not need !important */
@media (max-width: 600px) {
  .cost-reason-grid {
    grid-template-columns: 1fr;
  }
}


/* ── INDEX PAGE SPECIFIC ─── */

    @media (max-width: 768px) { .evo-grid { grid-template-columns: 1fr; } }
    .clients-row {
      display: flex;
      align-items: center;
      gap: var(--s-24);
      flex-wrap: wrap;
      margin-top: var(--s-32);
      padding-top: var(--s-32);
      border-top: 1px solid var(--border);
    }
    .clients-label {
      font-family: var(--font-mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--fg-3);
      white-space: nowrap;
    }
    .clients-list {
      display: flex;
      gap: var(--s-16);
      flex-wrap: wrap;
      align-items: center;
    }
    .clients-list span {
      font-size: var(--text-sm);
      color: var(--fg-3);
      font-weight: 300;
      cursor: default;
    }
    .clients-list span:hover { color: var(--fg-2); transition: color var(--dur-fast) var(--ease); }

/* ── ABOUT PAGE — TEAM TOPOLOGY SVG ANIMATIONS ──────────── */
.ab-line { opacity: 0; animation: phc-fade-in 0.4s var(--ease) forwards; }
.ab-line--1  { animation-delay: 0.5s; }
.ab-line--2  { animation-delay: 0.6s; }
.ab-line--3  { animation-delay: 0.7s; }
.ab-line--4  { animation-delay: 0.8s; }
.ab-line--5  { animation-delay: 0.9s; }
.ab-line--6  { animation-delay: 1.0s; }
.ab-line--7  { animation-delay: 1.1s; }
.ab-line--8  { animation-delay: 1.2s; }
.ab-line--9  { animation-delay: 1.3s; }
.ab-line--10 { animation-delay: 1.4s; }
.ab-node { opacity: 0; animation: phc-fade-in 0.45s var(--ease) forwards; }
.ab-node--c  { animation-delay: 0.2s; }
.ab-node--1  { animation-delay: 0.7s; }
.ab-node--2  { animation-delay: 0.85s; }
.ab-node--3  { animation-delay: 1.0s; }
.ab-node--4  { animation-delay: 1.15s; }
.ab-node--5  { animation-delay: 1.3s; }
.ab-label { opacity: 0; animation: phc-fade-in 0.35s var(--ease) forwards; }
.ab-label--c { animation-delay: 0.4s; }
.ab-label--1 { animation-delay: 0.9s; }
.ab-label--2 { animation-delay: 1.05s; }
.ab-label--3 { animation-delay: 1.2s; }
.ab-label--4 { animation-delay: 1.35s; }
.ab-label--5 { animation-delay: 1.5s; }
.ab-pulse-ring {
  transform-origin: 210px 190px;
  animation: ab-ring-pulse 2.5s 0.3s ease-out infinite;
}
@keyframes ab-ring-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}
.ab-status-ring {
  transform-origin: 388px 358px;
  animation: ab-ring-pulse 2s 1.5s ease-out infinite;
}

/* ════════════════════════════════════════════════════════════
/* ════════════════════════════════════════════════════════════
   PRICING PAGE — new component styles (pricing.html rework)
   ════════════════════════════════════════════════════════════ */

/* ── Narrative alt (bg-2 variant without needing inline style) ── */
.narrative--alt {
  background: var(--bg-2);
}

/* ── Pricing card: fit-line tag ── */
.pricing-card__fit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  margin-bottom: var(--s-16);
  padding: var(--s-8) var(--s-12);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-2);
  line-height: 1.5;
}
.pricing-card__fit--accent {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}
.pricing-card__fit--muted {
  color: var(--fg-3);
  border-color: var(--border);
  background: var(--bg-2);
}

/* ── Not a fit grid ── */
.not-fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  margin-top: var(--s-32);
  max-width: 820px;
}
@media (min-width: 640px) {
  .not-fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-12) var(--s-32);
  }
}
.not-fit-item {
  display: flex;
  gap: var(--s-10);
  align-items: baseline;
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.6;
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--border);
}
.not-fit-dash {
  color: var(--fg-3);
  font-family: var(--font-mono);
  flex-shrink: 0;
  font-size: var(--text-sm);
}

/* ── Process timeline ── */
.process-timeline {
  margin-top: var(--s-48);
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}
.process-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 var(--s-20);
}
.process-step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--border-2);
  background: var(--bg);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.process-step__dot--accent {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.process-step__line {
  width: 1px;
  flex: 1;
  background: var(--border);
  min-height: var(--s-32);
  margin: var(--s-6) 0;
}
.process-step__content {
  padding-bottom: var(--s-32);
}
.process-step--last .process-step__content {
  padding-bottom: 0;
}
.process-step__time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.process-step__title {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: var(--s-6);
}
.process-step__body {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
}

/* ── After launch grid ── */
.after-launch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-24);
  margin-top: var(--s-48);
}
@media (min-width: 640px) {
  .after-launch-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-24) var(--s-32);
  }
}
.after-launch-item {
  display: flex;
  gap: var(--s-16);
  align-items: flex-start;
}
.after-launch-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.after-launch-item__title {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: var(--s-4);
}
.after-launch-item__body {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
}

/* ── narrative__title and narrative__body used outside narrative--tension ── */
.narrative__title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--fg);
}
.narrative__body {
  font-size: var(--text-base);
  color: var(--fg-2);
  line-height: 1.75;
}
.narrative__body p + p {
  margin-top: var(--s-12);
}

/* ── Footer social row (replaces inline style) ── */
.footer__social-row {
  margin-top: var(--s-16);
  display: flex;
  gap: var(--s-12);
}
.footer__location {
  color: var(--fg-3);
}

/* ── EXPERTISE SECTION ───────────────────────────────────── */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-top: var(--s-32);
}
@media (min-width: 640px)  { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .expertise-grid { grid-template-columns: repeat(3, 1fr); } }

.expertise-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-10);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--border-2);
  transition: background .2s ease;
}
.expertise-card:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.expertise-card:hover::before {
  background: var(--accent);
}
.expertise-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fg-3);
}
.expertise-card__title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.expertise-card__desc {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.7;
  flex: 1;
}
.expertise-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: var(--s-8);
  border-top: 1px solid var(--border);
}
.expertise-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: .02em;
}

/* Stack strip used in expertise section */
.stack-strip {
  margin-top: var(--s-32);
  padding: var(--s-20) var(--s-24);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.stack-strip__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fg-3);
  margin-bottom: var(--s-12);
}
.stack-strip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.stack-strip__note {
  margin-top: var(--s-12);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: .02em;
  line-height: 1.7;
}


/* ════════════════════════════════════════════════════════════
   AI IMPLEMENTATION PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.impl-hero {
  padding: calc(var(--nav-h) + var(--s-64)) 0 var(--s-64);
}
.impl-hero__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-16);
  display: flex;
  align-items: center;
  gap: 8px;
}
.impl-hero__label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.impl-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--s-24);
}
.impl-hero__title em {
  font-style: italic;
  color: var(--accent);
}
.impl-hero__sub {
  font-size: var(--text-lg);
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: var(--s-32);
}
.impl-hero__disclaimer {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  margin-top: var(--s-16);
  border-left: 2px solid var(--border-2);
  padding-left: var(--s-12);
  max-width: 520px;
  line-height: 1.65;
}

/* ── Automate cards grid ── */
.automate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  margin-top: var(--s-32);
}
@media (min-width: 560px) {
  .automate-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .automate-grid { grid-template-columns: repeat(3, 1fr); }
}
.automate-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s-24);
  background: var(--bg-2);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.automate-card:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.automate-card__num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-12);
}
.automate-card__title {
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-8);
  color: var(--fg-1, var(--fg));
  line-height: 1.35;
}
.automate-card__body {
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.65;
}

/* ── Decision table ── */
.decision-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-24);
  font-size: var(--text-sm);
}
.decision-table th {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: var(--s-12) var(--s-16);
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.decision-table td {
  padding: var(--s-12) var(--s-16);
  border-bottom: 1px solid var(--border);
  color: var(--fg-2);
  vertical-align: top;
  line-height: 1.55;
}
.decision-table tr:last-child td {
  border-bottom: none;
}
.decision-table td:first-child {
  color: var(--fg);
  font-weight: 400;
}
.decision-table td:last-child {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.decision-table tbody tr:hover td {
  background: var(--bg-2);
}
@media (max-width: 640px) {
  .decision-table thead { display: none; }
  .decision-table, .decision-table tbody, .decision-table tr, .decision-table td {
    display: block;
    width: 100%;
  }
  .decision-table td {
    padding: var(--s-8) var(--s-12);
    border-bottom: none;
  }
  .decision-table td:last-child {
    white-space: normal;
    padding-bottom: var(--s-12);
    border-bottom: 1px solid var(--border);
  }
  .decision-table tr:last-child td:last-child {
    border-bottom: none;
  }
}

/* ── Examples strip ── */
.examples-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
  margin-top: var(--s-32);
}
@media (min-width: 600px) {
  .examples-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .examples-strip { grid-template-columns: repeat(4, 1fr); }
}
.example-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s-24);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}
.example-card__role {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.example-card__problem {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.65;
  flex: 1;
}
.example-card__result {
  font-size: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  padding-top: var(--s-12);
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

/* ── Sprint box (offering callout) ── */
.sprint-box {
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: var(--s-32);
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}
.sprint-box__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-16);
}
.sprint-box__title {
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-12);
  line-height: 1.2;
}
.sprint-box__body {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: var(--s-24);
}
.sprint-box__items {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-24) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
}
.sprint-box__items li {
  font-size: var(--text-sm);
  color: var(--fg-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}
.sprint-box__items li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
.sprint-box__note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  line-height: 1.7;
  padding: var(--s-16);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}

/* ── No-AI items ── */
.no-ai-list {
  margin-top: var(--s-24);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
}
.no-ai-item {
  display: flex;
  gap: var(--s-16);
  align-items: flex-start;
  padding: var(--s-16) var(--s-20);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
  transition: border-color 0.2s var(--ease);
}
.no-ai-item:hover {
  border-color: var(--border-2);
}
.no-ai-item__icon {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  padding-top: 2px;
  flex-shrink: 0;
  width: 20px;
  letter-spacing: 0.05em;
}
.no-ai-item__text {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.65;
}
.no-ai-item__text strong {
  color: var(--fg);
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
  .clients-marquee,
  .clients-marquee-inner { animation: none !important; }
  .hero__grid { will-change: auto; }
}
/* ── LEGAL PAGE CLASSES (replaces inline styles in privacy.html/terms.html) ── */
.legal-page__container {
  max-width: 720px;
  padding-top: calc(var(--nav-h) + var(--s-64));
  padding-bottom: var(--s-96);
}
.legal-page__h1 {
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-32);
}
.legal-page__date {
  font-size: var(--text-sm);
  color: var(--fg-3);
  font-family: var(--font-mono);
  margin-bottom: var(--s-48);
  display: block;
}
.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-32);
  color: var(--fg-2);
  line-height: 1.7;
  font-size: var(--text-base);
}
.legal-page__h2 {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: var(--s-12);
}
.legal-page__back {
  margin-top: var(--s-48);
  padding-top: var(--s-32);
  border-top: 1px solid var(--border);
}

/* ── MOBILE NAV CTA INNER (replaces inline styles) ── */
.nav__mobile-cta-inner {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── FOOTER ADDRESS ── */
.footer__address {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--fg-3);
}

/* ── NAV UL RESET (nav__links is now a <ul>) ── */
ul.nav__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.nav__links li {
  display: contents;
}
/* ── SPACING UTILITIES ─────────────────────────────────── */
.mb-16 { margin-bottom: var(--s-16); }
.mb-24 { margin-bottom: var(--s-24); }
.mt-24 { margin-top: var(--s-24); }
.mt-16 { margin-top: var(--s-16); }
/* ══════════════════════════════════════════════════════════════
   CARD ANIMATION FIXES — What we do, AI systems, AI framework,
   Acceleration fit, Hero visuals
   ══════════════════════════════════════════════════════════════ */

/* ── Service Cards (What we actually do — index.html) ─────── */
.service-card {
  border-radius: 10px;
  padding: var(--s-28, 28px);
  display: flex;
  flex-direction: column;
  gap: var(--s-12);
  border: 1px solid var(--border);
  background: var(--bg-3);
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease),
              transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  cursor: default;
}
.service-card:hover {
  border-color: var(--border-2);
  background: var(--bg-2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.service-card--accent {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-3));
}
.service-card--accent:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-3));
  box-shadow: 0 12px 40px color-mix(in srgb, var(--accent) 12%, transparent);
}
.service-card__num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 2px;
}
.service-card--accent .service-card__num { color: var(--accent); }
.service-card__title {
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.service-card__body {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.65;
  flex: 1;
}
.service-card__link {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: var(--s-8);
}
.service-card--accent .service-card__link { color: var(--accent); }
.service-card__link:hover { color: var(--fg); }
.service-card--accent .service-card__link:hover { color: var(--fg); }

/* ── AI System Items (index.html) ─────────────────────────── */
.ai-system-item {
  display: flex;
  gap: var(--s-12);
  align-items: flex-start;
  padding: var(--s-14, 14px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease),
              transform 0.22s var(--ease);
}
.ai-system-item:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: var(--bg-3);
  transform: translateX(4px);
}
.ai-system-item__arrow {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
  width: 18px;
}
.ai-system-item__title {
  font-size: var(--text-sm);
  color: var(--fg-1);
  margin-bottom: 4px;
  font-weight: 400;
}
.ai-system-item__desc {
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.5;
}

/* ── Framework Cards (approach.html) ──────────────────────── */
.framework-card {
  padding: var(--s-24);
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease),
              transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.framework-card:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,.16);
}
.framework-card--accent {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 3%, var(--bg-2));
}
.framework-card--accent:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-2));
  box-shadow: 0 10px 36px color-mix(in srgb, var(--accent) 12%, transparent);
}
.framework-card__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: var(--s-12);
}
.framework-card--accent .framework-card__label { color: var(--accent); }
.framework-card__title {
  font-size: var(--text-sm);
  color: var(--fg-1);
  font-weight: 400;
  margin-bottom: var(--s-10);
}
.framework-card__body {
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.65;
}

/* ── Acceleration Fit Cards (ai-mvp-development.html) ─────── */
.fit-tier-card {
  padding: var(--s-16);
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
              transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.fit-tier-card:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.fit-tier-card--accent {
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-2));
}
.fit-tier-card--accent:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-2));
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 10%, transparent);
}
.fit-tier-card__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: var(--s-8);
}
.fit-tier-card--accent .fit-tier-card__label { color: var(--accent); }
.fit-tier-card__body {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.65;
}

/* ── Hero Visual Widgets ───────────────────────────────────── */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--s-10);
  width: 100%;
  max-width: 480px;
  margin: var(--s-32) auto 0;
}
.hero-visual__card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: hero-card-in 0.6s var(--ease) both;
}
.hero-visual__card:nth-child(1) { animation-delay: 0.3s; }
.hero-visual__card:nth-child(2) { animation-delay: 0.5s; }
.hero-visual__card:nth-child(3) { animation-delay: 0.7s; }
@keyframes hero-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-visual__card--accent {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-2));
}
.hero-visual__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  flex-shrink: 0;
}
.hero-visual__dot--green { background: var(--accent); animation: pulse 2s ease-in-out infinite; }
.hero-visual__dot--amber { background: #f59e0b; }
.hero-visual__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  flex: 1;
}
.hero-visual__val {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}
.hero-visual__bar {
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  margin-top: 8px;
}
.hero-visual__bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  animation: bar-grow 1.2s var(--ease) both;
}
@keyframes bar-grow {
  from { width: 0%; }
}


/* SEO: Hidden but readable to search engines */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ──────────────────────────────────────────────────────── */
/* BLOG POST STYLING */
/* ──────────────────────────────────────────────────────── */

.blog-post-container {
  padding: 0;
}

.blog-header {
  padding: var(--s-96) 0 var(--s-64);
  border-bottom: 1px solid var(--border);
}

.blog-header .breadcrumb-nav {
  font-size: var(--text-sm);
  color: var(--fg-3);
  margin-bottom: var(--s-24);
}

.blog-header .breadcrumb-nav a {
  color: var(--accent);
  text-decoration: none;
}

.blog-title {
  font-size: var(--text-4xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: var(--s-24) 0;
  max-width: 800px;
}

.blog-meta {
  display: flex;
  gap: var(--s-16);
  font-size: var(--text-sm);
  color: var(--fg-3);
  margin: var(--s-24) 0;
  flex-wrap: wrap;
}

.blog-excerpt {
  font-size: var(--text-lg);
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 700px;
  margin-top: var(--s-24);
}

.blog-content {
  padding: var(--s-64) 0;
}

.blog-content section {
  margin-bottom: var(--s-96);
}

.blog-content h2 {
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-top: var(--s-64);
  margin-bottom: var(--s-24);
  scroll-margin-top: 100px;
}

.blog-content h3 {
  font-size: var(--text-xl);
  font-weight: 400;
  margin-top: var(--s-32);
  margin-bottom: var(--s-16);
}

.blog-content p {
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--s-20);
  color: var(--fg-2);
}

.blog-content ul,
.blog-content ol {
  margin-left: var(--s-32);
  margin-bottom: var(--s-24);
}

.blog-content li {
  margin-bottom: var(--s-12);
  line-height: 1.75;
  color: var(--fg-2);
}

.blog-toc {
  background: var(--bg-2);
  padding: var(--s-28);
  border-radius: 8px;
  margin-bottom: var(--s-48);
}

.blog-toc h2 {
  margin-top: 0;
  margin-bottom: var(--s-16);
  font-size: var(--text-lg);
}

.blog-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-toc li {
  margin-bottom: var(--s-8);
}

.blog-toc a {
  color: var(--accent);
  text-decoration: none;
  font-size: var(--text-sm);
}

.pricing-table,
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--s-32);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.pricing-table th,
.comparison-table th {
  background: var(--bg-2);
  padding: var(--s-16);
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.pricing-table td,
.comparison-table td {
  padding: var(--s-16);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}

.pricing-table tr:last-child td,
.comparison-table tr:last-child td {
  border-bottom: none;
}

.note {
  background: var(--bg-2);
  padding: var(--s-16);
  border-left: 4px solid var(--accent);
  margin: var(--s-24) 0;
  font-size: var(--text-sm);
  line-height: 1.7;
}

.scenario {
  background: var(--bg-3);
  padding: var(--s-20);
  border-radius: 6px;
  margin-bottom: var(--s-16);
}

.scenario h4 {
  margin-top: 0;
  margin-bottom: var(--s-12);
  font-size: var(--text-base);
}

.scenario p {
  margin-bottom: var(--s-8);
}

.pros {
  color: #10b981;
  font-size: var(--text-sm);
}

.cons {
  color: #ef4444;
  font-size: var(--text-sm);
}

.related-posts {
  background: var(--bg-2);
  padding: var(--s-64) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.related-posts h3 {
  margin-top: 0;
  margin-bottom: var(--s-32);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-24);
}

.post-card {
  display: block;
  padding: var(--s-24);
  background: var(--bg-3);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.post-card:hover {
  background: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.post-card h4 {
  margin: 0 0 var(--s-12) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--fg);
}

.post-card p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--fg-3);
  line-height: 1.6;
}

.cta-section {
  padding: var(--s-64) 0;
  text-align: center;
}

.cta-section h2 {
  margin-top: 0;
  margin-bottom: var(--s-16);
}

.cta-section p {
  margin-bottom: var(--s-32);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  display: inline-block;
}
