/* ================================================================
   CATALYST CODE — V2 DARK THEME
   Linear-inspired: dark canvas, gradient accents, precise type
   Load AFTER main.css to override
   ================================================================ */

/* ── Foundation ── */
:root {
  --v2-bg:         #08090a;
  --v2-surface:    #111113;
  --v2-surface-2:  #191a1c;
  --v2-border:     #222326;
  --v2-border-sub: #1a1b1e;
  --v2-text:       #f0f0f3;
  --v2-text-2:     #8b8b8e;
  --v2-text-3:     #5c5c63;
  --v2-accent:     #7c5cfc;
  --v2-accent-2:   #5e8afa;
  --v2-gradient:   linear-gradient(135deg, #7c5cfc 0%, #5e8afa 50%, #38bdf8 100%);
  --v2-glow:       rgba(124, 92, 252, 0.15);
  --v2-glow-2:     rgba(94, 138, 250, 0.10);
  --v2-radius:     12px;
  --v2-radius-sm:  8px;
  --v2-radius-xs:  6px;
  --v2-font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Bridge main.css CSS vars to v2 values ── */
/* This maps the old light-theme tokens to dark equivalents,
   fixing any element that uses var(--background), var(--surface), etc. */
:root {
  --background:    var(--v2-bg);
  --surface:       var(--v2-surface);
  --text-primary:  var(--v2-text);
  --text-secondary: var(--v2-text-2);
  --border-light:  var(--v2-border);
  --primary:       var(--v2-accent);
  --accent:        var(--v2-accent-2);
  --white:         var(--v2-text);
}

/* ── Typography scale ── */
/* Clear hierarchy: hero h1 > page h1 > section h2 > card h3 > body > caption */
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
}
h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  color: var(--v2-text) !important;
}
h4 {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: var(--v2-text) !important;
}

/* ── Page-level overrides ── */
body {
  background: var(--v2-bg) !important;
  color: var(--v2-text-2);
  font-family: var(--v2-font);
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
header {
  background: rgba(8, 9, 10, 0.8) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--v2-border) !important;
  box-shadow: none !important;
}

.logo-image {
  opacity: 0.9;
  border-radius: 6px;
}

.nav-link {
  color: var(--v2-text-3) !important;
  font-family: var(--v2-font);
  font-size: 0.875rem !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--v2-text) !important;
  text-decoration: none !important;
}
.nav-link.active {
  color: var(--v2-text) !important;
}

/* Remove old blue underline active state */
.nav-link.active::after,
.nav-link.active::before {
  display: none !important;
}

/* ── Hero ── */
.hero, .hero-v2 {
  background: var(--v2-bg) !important;
  min-height: auto !important;
  padding: clamp(4.25rem, 10vw, 7rem) 0 clamp(2.75rem, 5.5vw, 4.25rem) !important;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero-v2::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--v2-glow) 0%, var(--v2-glow-2) 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.hero h1, .hero-v2 h1 {
  font-family: var(--v2-font) !important;
  color: var(--v2-text) !important;
  font-size: clamp(3.5rem, 8vw, 5.5rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.05em !important;
  line-height: 1.04 !important;
  text-shadow: none !important;
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem !important;
}

.hero-subtitle {
  color: var(--v2-text-2) !important;
  font-family: var(--v2-font) !important;
  font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: -0.01em !important;
  text-shadow: none !important;
  max-width: 500px !important;
  margin-bottom: 2.5rem !important;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.hero-testimonial {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--v2-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.hero-testimonial-quote {
  font-size: 1.25rem;
  color: var(--v2-text);
  font-style: italic;
  font-family: var(--v2-font);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-testimonial-attr {
  font-size: 0.8125rem;
  color: var(--v2-text-3);
  font-family: var(--v2-font);
}

.cta-scarcity,
.cta-dark .cta-scarcity,
.cta-dark p.cta-scarcity {
  font-size: 0.8125rem !important;
  color: var(--v2-accent) !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem !important;
}

/* ── Buttons (Linear style) ── */
.cta-button, .hero-v2 .cta-button {
  background: var(--v2-text) !important;
  color: var(--v2-bg) !important;
  border: none !important;
  border-radius: var(--v2-radius-sm) !important;
  height: 42px !important;
  padding: 0 22px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  font-family: var(--v2-font) !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
  transition: opacity 0.15s ease !important;
}
.cta-button:hover, .hero-v2 .cta-button:hover {
  background: var(--v2-text) !important;
  color: var(--v2-bg) !important;
  opacity: 0.85;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.cta-button::before, .hero-v2 .cta-button::before { display: none !important; }

.secondary-button, .hero-v2 .secondary-button {
  background: transparent !important;
  color: var(--v2-text) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: var(--v2-radius-sm) !important;
  height: 42px !important;
  padding: 0 22px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  font-family: var(--v2-font) !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease !important;
}
.secondary-button:hover, .hero-v2 .secondary-button:hover {
  color: var(--v2-text) !important;
  border-color: rgba(255,255,255,0.4) !important;
  background: rgba(255,255,255,0.06) !important;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.secondary-button::before, .hero-v2 .secondary-button::before { display: none !important; }

/* ── Proof strip ── */
.proof-strip {
  background: var(--v2-surface) !important;
  border-top: 1px solid var(--v2-border) !important;
  border-bottom: 1px solid var(--v2-border) !important;
  padding: clamp(2rem, 4vw, 3rem) 0 !important;
}
.proof-strip-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.5rem 3rem !important;
  justify-items: center !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}
.proof-stat {
  color: var(--v2-text) !important;
  font-family: var(--v2-font);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.proof-stat--hero {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  background: var(--v2-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proof-label {
  color: var(--v2-text-3) !important;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.proof-item {
  text-align: center;
}
.proof-item--hero {
  grid-column: 1 / -1;
  padding-bottom: 1.25rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--v2-border);
}

/* ── Work section ── */
.work-section, .principles-section, .about-strip {
  background: var(--v2-bg) !important;
  border-color: var(--v2-border) !important;
}

.work-section-header {
  margin-bottom: 3rem !important;
}

.work-section-sub {
  font-size: 0.9375rem !important;
  color: var(--v2-text-3) !important;
  margin-top: 0.625rem;
  max-width: 440px !important;
}

.work-preview-grid {
  gap: 1rem !important;
}

.eyebrow {
  background: var(--v2-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.6875rem;
}

.work-section-heading,
h2 {
  color: var(--v2-text) !important;
  font-family: var(--v2-font) !important;
  letter-spacing: -0.04em;
}

.work-section-sub, .section-subheading {
  color: var(--v2-text-2) !important;
}

/* ── Work preview cards ── */
.work-preview-card {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.work-preview-card:hover {
  border-color: var(--v2-text-3) !important;
  box-shadow: 0 0 40px var(--v2-glow-2) !important;
  transform: none !important;
}

.work-card-category {
  background: var(--v2-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.work-card-title {
  color: var(--v2-text) !important;
  font-family: var(--v2-font);
}

.work-card-desc {
  color: var(--v2-text-2) !important;
}

.work-card-outcome {
  background: var(--v2-surface-2) !important;
  color: var(--v2-text-2) !important;
  border: 1px solid var(--v2-border);
}

.work-see-all {
  color: var(--v2-accent) !important;
}
.work-see-all:hover {
  color: var(--v2-accent-2) !important;
  text-decoration: none !important;
}

/* ── Principles ── */
.principles-section {
  border-top-color: var(--v2-border) !important;
}
.principle-number {
  color: var(--v2-text-3) !important;
}
.principle-title {
  color: var(--v2-text) !important;
  font-family: var(--v2-font);
}
.principle-desc {
  color: var(--v2-text-2) !important;
}

/* ── About section ── */
.about-section {
  background: var(--v2-surface) !important;
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
}

.about-strip {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: left !important;
  max-width: none !important;
  margin: 0 !important;
  border-top: none !important;
}

.about-strip-inner {
  max-width: 640px;
  border-left: 2px solid var(--v2-accent);
  padding-left: 2rem;
  text-align: left;
}

.about-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--v2-text-2) !important;
  margin-bottom: 1rem;
}

.about-lead strong {
  color: var(--v2-text) !important;
}

.about-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--v2-text-2) !important;
  margin-bottom: 1rem;
}

.about-close {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--v2-text-3) !important;
  margin-bottom: 0;
  font-style: italic;
}

/* ── Dark CTA ── */
.cta-dark {
  background: var(--v2-surface) !important;
  border-top: 1px solid var(--v2-border);
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
}
.cta-dark h2 {
  color: var(--v2-text) !important;
}
.cta-dark p {
  color: var(--v2-text-3) !important;
}
.btn-inverse {
  background: var(--v2-text) !important;
  color: var(--v2-bg) !important;
  border-radius: var(--v2-radius-sm) !important;
  font-family: var(--v2-font);
  font-size: 0.875rem;
  font-weight: 500;
}
.btn-inverse:hover {
  opacity: 0.85;
  background: var(--v2-text) !important;
  color: var(--v2-bg) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Portfolio page ── */
.portfolio-hero-v2 {
  background: var(--v2-bg) !important;
  border-bottom-color: var(--v2-border) !important;
}
.portfolio-hero-v2 h1 {
  color: var(--v2-text) !important;
  font-family: var(--v2-font) !important;
  letter-spacing: -0.05em !important;
}
.portfolio-hero-v2 .hero-subtitle {
  color: var(--v2-text-2) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Project grid */
.project-grid {
  background: var(--v2-bg);
  padding-top: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.project-card, .project-card--half {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.project-card:hover, .project-card--half:hover {
  border-color: var(--v2-text-3) !important;
  box-shadow: 0 0 50px var(--v2-glow-2) !important;
  transform: none !important;
}

.project-card--row {
  background: transparent !important;
}

.project-category {
  background: rgba(124, 92, 252, 0.12) !important;
  color: var(--v2-accent) !important;
}

.project-name, .project-name--sm {
  color: var(--v2-text) !important;
  font-family: var(--v2-font);
}

.project-tagline {
  color: var(--v2-accent-2) !important;
}

.project-description {
  color: var(--v2-text-2) !important;
}

.project-section-label {
  color: var(--v2-text-2) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}

.project-monogram {
  background: var(--v2-surface-2) !important;
  border-color: var(--v2-border) !important;
  color: var(--v2-text) !important;
}
.project-monogram--blue {
  background: rgba(94, 138, 250, 0.12) !important;
  border-color: rgba(94, 138, 250, 0.2) !important;
  color: var(--v2-accent-2) !important;
}

.project-metric {
  background: var(--v2-surface-2) !important;
  border-color: var(--v2-border) !important;
}
.project-metric-value {
  color: var(--v2-text) !important;
}
.project-metric-label {
  color: var(--v2-text-3) !important;
}

.project-tags {
  border-top: 1px solid var(--v2-border);
}
.project-tag {
  background: var(--v2-surface-2) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: var(--v2-text-2) !important;
  font-family: var(--v2-font);
}

.project-live {
  color: var(--v2-accent) !important;
}
.project-live::before {
  background: #22c55e !important;
}

.project-quote {
  background: var(--v2-surface-2) !important;
  border-left-color: var(--v2-border) !important;
}
.project-quote p {
  color: var(--v2-text-2) !important;
}
.project-quote cite {
  color: var(--v2-text-3) !important;
}

/* ── Footer ── */
footer {
  background: var(--v2-bg) !important;
  border-top: 1px solid var(--v2-border);
  padding-top: 0 !important;   /* kill the double-pad; footer-content handles it */
}
.footer-content {
  padding: clamp(2.5rem, 5vw, 4rem) 0 !important;
}
footer h3, footer h4 {
  color: var(--v2-text) !important;
}
footer p, footer a {
  color: var(--v2-text-3) !important;
}
footer a:hover {
  color: var(--v2-text-2) !important;
  text-decoration: none !important;
}
.footer-bottom {
  border-top-color: var(--v2-border) !important;
}
.footer-bottom p, .footer-legal-link {
  color: var(--v2-text-3) !important;
}

/* ── Hamburger (mobile) ── */
.hamburger,
.hamburger::before,
.hamburger::after {
  background-color: var(--v2-text) !important;
}

/* ── Skip link ── */
.skip-link {
  background: var(--v2-surface);
  color: var(--v2-text);
}

/* ── Focus states on dark ── */
*:focus-visible {
  outline-color: var(--v2-accent) !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--v2-bg); }
::-webkit-scrollbar-thumb { background: var(--v2-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--v2-text-3); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-menu {
    background: var(--v2-surface) !important;
    border: 1px solid var(--v2-border);
  }
  .nav-menu.active {
    background: var(--v2-surface) !important;
  }

  /* Proof strip: stack to single column */
  .proof-strip-inner {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    max-width: 400px !important;
  }
  .proof-item--hero {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
  }

  /* Hero: tighter on mobile */
  .hero, .hero-v2 {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem) !important;
  }
  .hero h1, .hero-v2 h1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem) !important;
  }
  .hero-testimonial {
    max-width: 100% !important;
  }

  /* Touch targets: minimum 44px */
  .cta-button, .secondary-button,
  .btn, .btn-primary {
    min-height: 44px !important;
    padding: 0 20px !important;
  }
  .nav-link {
    padding: 12px 0 !important;
  }

  /* Footer: center-align on mobile */
  footer .footer-section {
    text-align: center;
  }

  /* About strip: reduce left border indent */
  .about-strip-inner {
    padding-left: 1.25rem;
  }

  /* Service cards: full bleed feel */
  .service-card-detailed {
    border-radius: var(--v2-radius-sm) !important;
  }

  /* Contact hero: tighter */
  .contact-hero {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem) !important;
  }
}

/* Extra small: 375px and below */
@media (max-width: 400px) {
  .hero h1, .hero-v2 h1 {
    font-size: 2rem !important;
    letter-spacing: -0.04em !important;
  }
  .hero-buttons {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
  }
  .cta-button, .secondary-button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .proof-stat--hero {
    font-size: 1.375rem !important;
  }
}

/* ================================================================
   INNER PAGE OVERRIDES (services, about, contact)
   ================================================================ */

/* ── Hero: kill stock photo backgrounds ── */
.hero-with-bg {
  background-image: none !important;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--v2-glow), transparent) !important;
}
.hero-with-bg::before,
.hero-with-bg::after {
  display: none !important;
}
.hero-with-bg h1,
.hero-with-bg .hero-subtitle {
  color: var(--v2-text) !important;
  text-shadow: none !important;
}
.hero-with-bg .hero-subtitle {
  color: var(--v2-text-2) !important;
}

/* ── Contact hero ── */
.contact-hero {
  background: var(--v2-bg) !important;
  border-bottom: 1px solid var(--v2-border) !important;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem) !important;
  text-align: center !important;
}
.contact-hero h1 {
  color: var(--v2-text) !important;
  font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 1rem !important;
}
.contact-hero-subtitle {
  color: var(--v2-text-2) !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
}

/* ── Section headings and subtitles ── */
.main-services h2,
.process-section h2,
.portfolio-section h2,
.tech-stack-section h2,
.stats-section h2,
.section h2,
.values-section h2,
h2.text-center {
  color: var(--v2-text) !important;
}
.section-subtitle,
p.text-center,
.hero-subtitle {
  color: var(--v2-text-2) !important;
}

/* ── Service cards ── */
.service-card-detailed {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
}
.service-card-detailed:hover {
  border-color: rgba(124, 92, 252, 0.35) !important;
}
.service-title {
  color: var(--v2-text) !important;
}
.service-tagline {
  color: var(--v2-accent) !important;
  font-size: 0.8125rem !important;
}
.service-description,
.service-benefits li {
  color: var(--v2-text-2) !important;
}
.service-benefits li::before {
  color: var(--v2-accent) !important;
}
.tech-badge {
  background: var(--v2-surface-2) !important;
  border: 1px solid var(--v2-border) !important;
  color: var(--v2-text-2) !important;
}
.service-footer {
  border-top-color: var(--v2-border) !important;
}
.pricing-info {
  color: var(--v2-text-3) !important;
}
.service-icon-large {
  background: var(--v2-surface-2) !important;
  border: 1px solid var(--v2-border) !important;
  color: var(--v2-accent) !important;
}

/* ── Process steps ── */
.process-section {
  background: var(--v2-bg) !important;
  border-top: 1px solid var(--v2-border) !important;
  border-bottom: 1px solid var(--v2-border) !important;
}
.process-number {
  background: var(--v2-surface-2) !important;
  border: 1px solid var(--v2-border) !important;
  color: var(--v2-accent) !important;
}
.process-title {
  color: var(--v2-text) !important;
}
.process-description {
  color: var(--v2-text-2) !important;
}

/* ── Portfolio card (on services page) ── */
.portfolio-card {
  background: var(--v2-surface) !important;
  border-color: var(--v2-border) !important;
}
.portfolio-title {
  color: var(--v2-text) !important;
}
.portfolio-description {
  color: var(--v2-text-2) !important;
}

/* ── Tech stack grid (services page) ── */
.tech-stack-section {
  background: var(--v2-bg) !important;
  border-top: 1px solid var(--v2-border) !important;
}
.tech-stack-section > .container > div > div {
  background: var(--v2-surface) !important;
  border-color: var(--v2-border) !important;
}
.tech-stack-section h3 {
  color: var(--v2-accent) !important;
}
.tech-stack-section li {
  color: var(--v2-text-2) !important;
  border-bottom-color: var(--v2-border) !important;
}
.tech-stack-section li strong {
  color: var(--v2-text) !important;
}

/* ── Newsletter section ── */
.newsletter-section {
  background: var(--v2-surface) !important;
  border-top: 1px solid var(--v2-border) !important;
}
.newsletter-section h2 {
  color: var(--v2-text) !important;
}
.newsletter-section p {
  color: var(--v2-text-2) !important;
}
.newsletter-input {
  background: var(--v2-bg) !important;
  border: 1px solid var(--v2-border) !important;
  color: var(--v2-text) !important;
}
.newsletter-input::placeholder {
  color: var(--v2-text-3) !important;
}
.newsletter-btn {
  background: var(--v2-accent) !important;
  color: #fff !important;
  border: none !important;
}

/* ── About page: founder bio, stats, approach, values ── */
.about-content {
  color: var(--v2-text-2) !important;
}
.about-text h2 {
  color: var(--v2-text) !important;
}
.about-text p {
  color: var(--v2-text-2) !important;
}
.founder-info {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
}
.founder-name {
  color: var(--v2-text) !important;
}
.founder-title {
  color: var(--v2-accent) !important;
}
.founder-bio {
  color: var(--v2-text-2) !important;
}
.stat-number {
  color: var(--v2-text) !important;
}
.stat-label {
  color: var(--v2-text-2) !important;
}
.approach-card,
.value-item {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
}
.approach-card h3,
.value-item h3 {
  color: var(--v2-text) !important;
}
.approach-card p,
.value-item p {
  color: var(--v2-text-2) !important;
}

/* ── Contact page: two-column layout ── */
.contact-content {
  display: grid !important;
  grid-template-columns: 3fr 2fr !important;
  gap: 2.5rem !important;
  align-items: start !important;
}
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr !important;
  }
}
.contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

/* ── Contact page: form, info cards ── */
.contact-form-card,
.info-card {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
  padding: 1.75rem !important;
}
.contact-form-card h2 {
  color: var(--v2-text) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.75rem !important;
}
.info-title {
  color: var(--v2-text) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  margin-bottom: 0.625rem !important;
}
.contact-form-card p,
.info-content,
.info-content strong {
  color: var(--v2-text-2) !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
}
.info-content a {
  color: var(--v2-accent) !important;
}
.form-label {
  color: var(--v2-text-2) !important;
}
.form-input,
.form-select,
.form-textarea {
  background: var(--v2-bg) !important;
  border: 1px solid var(--v2-border) !important;
  color: var(--v2-text) !important;
  border-radius: var(--v2-radius-sm) !important;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--v2-accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.15) !important;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--v2-text-3) !important;
}
.form-select option {
  background: var(--v2-surface) !important;
  color: var(--v2-text) !important;
}
.form-helper {
  color: var(--v2-text-3) !important;
}
.hours-day {
  color: var(--v2-text-2) !important;
}
.hours-time {
  color: var(--v2-text) !important;
}
.quick-contact {
  background: var(--v2-surface) !important;
  border-top: 1px solid var(--v2-border) !important;
}
.quick-contact h2 {
  color: var(--v2-text) !important;
}
.contact-method {
  background: var(--v2-bg) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
}
.contact-method h4 {
  color: var(--v2-text) !important;
}
.contact-method p {
  color: var(--v2-text-2) !important;
}

/* ── Generic btn overrides (inner pages) ── */
.btn,
.btn-primary {
  background: var(--v2-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--v2-radius-sm) !important;
  font-family: var(--v2-font) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}
.btn:hover,
.btn-primary:hover {
  opacity: 0.85 !important;
}

/* ── Unified card system ── */
.work-preview-card,
.service-card-detailed,
.approach-card,
.value-item,
.project-card,
.project-card--half,
.portfolio-card,
.info-card,
.contact-form-card,
.founder-info {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-border) !important;
  border-radius: var(--v2-radius) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.work-preview-card:hover,
.service-card-detailed:hover,
.approach-card:hover,
.project-card:hover,
.project-card--half:hover,
.portfolio-card:hover {
  border-color: rgba(124, 92, 252, 0.3) !important;
  box-shadow: 0 0 40px rgba(124, 92, 252, 0.06) !important;
  transform: none !important;
}

/* ── General section background alternation ── */
.section {
  background: var(--v2-bg) !important;
}
.stats-section,
.values-section {
  background: var(--v2-surface) !important;
  border-top: 1px solid var(--v2-border) !important;
  border-bottom: 1px solid var(--v2-border) !important;
}

/* ── Section transitions: subtle gradient bands ── */
.work-section {
  background: var(--v2-bg) !important;
}
.work-section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--v2-border), transparent);
  margin-bottom: 0;
}
.cta-dark::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--v2-border), transparent);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.cta-dark {
  position: relative;
  border-top: none !important;
}

/* ── Micro-interactions ── */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Footer link hover */
footer a {
  transition: color 0.2s ease !important;
}

/* Proof strip: subtle pulse on hero stat */
.proof-stat--hero {
  transition: opacity 0.3s ease;
}

/* Nav link underline on hover */
.nav-link {
  position: relative !important;
}
.nav-link::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  background: var(--v2-text) !important;
  transition: width 0.25s ease !important;
}
.nav-link:hover::after {
  width: 100% !important;
}
.nav-link.active::after {
  width: 100% !important;
  background: var(--v2-accent) !important;
}

/* Card entrance animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button press feedback */
.cta-button:active,
.btn:active,
.btn-primary:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s ease !important;
}

/* Focus ring: consistent across all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--v2-accent) !important;
  outline-offset: 2px !important;
}

/* Testimonial quote subtle entrance */
.hero-testimonial {
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* Service card staggered entrance (handled via JS) */
.service-card-detailed {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.5s ease, transform 0.5s ease !important;
}

/* Process step numbers: accent glow on hover */
.process-step:hover .process-number {
  border-color: var(--v2-accent) !important;
  box-shadow: 0 0 12px rgba(124, 92, 252, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Approach card hover */
.approach-card:hover {
  border-color: rgba(124, 92, 252, 0.3) !important;
  box-shadow: 0 0 40px rgba(124, 92, 252, 0.06) !important;
}

/* Stat numbers: slight scale on hover */
.stat-item:hover .stat-number {
  color: var(--v2-accent) !important;
  transition: color 0.2s ease;
}

/* Project live indicator pulse */
.project-live::before {
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
