/* OWS Design System — shared across all pages
   Source of truth: /docs/04_Design_System.md
   ========================================================================== */

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --brand-bg-primary: #080C14;
  --brand-bg-secondary: #0D1526;
  --brand-bg-tertiary: #131D33;
  --brand-accent-coral: #FF5733;
  --brand-accent-coral-hover: #FF6B4A;
  --brand-accent-cyan: #00D4D4;
  --brand-accent-cyan-soft: rgba(0, 212, 212, 0.3);
  --text-primary: #FFFFFF;
  --text-secondary: #C7D1E1;
  --text-tertiary: #A0B0C8;
  --text-disabled: #5A6580;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.32);
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: clamp(16px, 1.5vw, 17px);
  --text-md: clamp(18px, 1.7vw, 19px);
  --text-lg: clamp(20px, 2vw, 22px);
  --text-xl: clamp(24px, 2.5vw, 28px);
  --text-2xl: clamp(28px, 3.5vw, 36px);
  --text-3xl: clamp(36px, 4.5vw, 48px);
  --text-4xl: clamp(48px, 5.5vw, 64px);
  --text-5xl: clamp(56px, 8vw, 88px);
  --text-6xl: clamp(64px, 10vw, 120px);
  --leading-tight: 1.05;
  --leading-snug: 1.15;
  --leading-normal: 1.4;
  --leading-relaxed: 1.6;
  --tracking-tightest: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-widest: 0.15em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 192px;
  --container-2xl: 1440px;
  --container-prose: 720px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-glow-coral: 0 0 24px rgba(255, 87, 51, 0.4);
  --shadow-glow-cyan: 0 0 32px rgba(0, 212, 212, 0.3);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 800ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  background: var(--brand-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}
html {
  overflow-x: hidden;
  max-width: 100vw;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg, video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--brand-accent-coral); color: var(--text-primary); }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 0; z-index: 9999;
  background: var(--brand-accent-coral); color: var(--text-primary);
  padding: var(--space-3) var(--space-5);
  font-weight: 700;
}
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 2px solid var(--brand-accent-cyan);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-7); } }
section { padding: var(--space-9) 0; }
@media (min-width: 768px) { section { padding: var(--space-10) 0; } }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  background: transparent;
  transition: background var(--duration-normal) var(--ease-standard),
              backdrop-filter var(--duration-normal) var(--ease-standard);
}
.site-header.scrolled {
  background: rgba(13, 21, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
}
.site-logo {
  display: flex; align-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: var(--text-lg);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  text-decoration: none;
}
.site-logo__img {
  height: 44px; width: auto;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.site-logo:hover .site-logo__img { transform: scale(1.05); }
/* Footer logo slightly smaller */
.site-footer .site-logo__img { height: 36px; }
.site-logo__accent { color: var(--brand-accent-coral); }
.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: flex; align-items: center; gap: var(--space-7); }
}
.site-nav__link {
  font-size: var(--text-sm); font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-standard);
  position: relative;
}
.site-nav__link:hover { color: var(--text-primary); }
.site-nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--brand-accent-coral);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-fast) var(--ease-standard);
}
.site-nav__link:hover::after { transform: scaleX(1); }
.mobile-toggle {
  display: flex; flex-direction: column; gap: 4px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.mobile-toggle span {
  width: 22px; height: 2px; background: var(--text-primary);
  transition: transform var(--duration-fast) var(--ease-standard);
}
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-6);
  min-height: 44px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-standard);
  cursor: pointer;
  text-align: center;
  letter-spacing: var(--tracking-normal);
  white-space: nowrap;
}
.btn--primary { background: var(--brand-accent-coral); color: var(--text-primary); }
.btn--primary:hover {
  background: var(--brand-accent-coral-hover);
  box-shadow: var(--shadow-glow-coral);
  transform: translateY(-2px);
}
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.btn--secondary:hover {
  border-color: var(--brand-accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}
.btn--lg { font-size: var(--text-md); padding: var(--space-4) var(--space-7); min-height: 56px; }
.btn__arrow { display: inline-block; transition: transform var(--duration-fast) var(--ease-standard); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Section header utility */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand-accent-cyan);
  margin-bottom: var(--space-4);
  display: block;
}
.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  font-size: var(--text-md);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}

/* Practice page hero (lighter than homepage, no WebGL) */
.practice-hero {
  position: relative;
  padding: calc(var(--space-11) + var(--space-7)) 0 var(--space-9);
  overflow: hidden;
  isolation: isolate;
}
.practice-hero::before {
  content: '';
  position: absolute;
  inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 212, 212, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 87, 51, 0.12) 0%, transparent 50%),
    var(--brand-bg-primary);
}
.practice-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 25% 25%, var(--brand-accent-cyan) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--brand-accent-cyan) 1px, transparent 1px);
  background-size: 80px 80px, 60px 60px;
  opacity: 0.06;
  animation: drift 60s linear infinite;
}
@keyframes drift {
  to { background-position: 80px 80px, -60px -60px; }
}
.practice-hero__inner {
  position: relative; z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.practice-hero__breadcrumbs {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-5);
}
.practice-hero__breadcrumbs a { color: var(--text-tertiary); transition: color var(--duration-fast); }
.practice-hero__breadcrumbs a:hover { color: var(--brand-accent-cyan); }
.practice-hero__breadcrumbs span { color: var(--text-disabled); margin: 0 var(--space-2); }
.practice-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand-accent-cyan);
  margin-bottom: var(--space-5);
}
.practice-hero__title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tightest);
  margin-bottom: var(--space-6);
}
.practice-hero__title-accent { color: var(--brand-accent-coral); }
.practice-hero__subtitle {
  font-size: var(--text-md);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto var(--space-7);
  line-height: var(--leading-relaxed);
}
.practice-hero__ctas {
  display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.practice-hero__proof-logos {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  justify-content: center;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}
.practice-hero__proof-logos-label {
  width: 100%; text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-2);
}
.practice-hero__proof-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-tertiary);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

/* Section: Pain points */
.pain-points {
  background: var(--brand-bg-secondary);
}
.pain-points__header { text-align: center; margin-bottom: var(--space-9); }
.pain-points__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) { .pain-points__grid { grid-template-columns: repeat(2, 1fr); } }
.pain-card {
  padding: var(--space-6);
  background: var(--brand-bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-accent-coral);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  color: var(--text-primary);
  font-style: italic;
  line-height: var(--leading-relaxed);
}

/* Section: Capabilities */
.capabilities__header { text-align: center; margin-bottom: var(--space-9); }
.capabilities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) { .capabilities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .capabilities__grid { grid-template-columns: repeat(3, 1fr); } }
.capability {
  padding: var(--space-6);
  background: var(--brand-bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: var(--space-3);
  transition: all var(--duration-fast) var(--ease-standard);
}
.capability:hover {
  border-color: var(--brand-accent-cyan);
  transform: translateY(-3px);
}
.capability__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  font-size: var(--text-lg);
}
.capability__description {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-relaxed);
}

/* Section: Featured proof / case */
.featured-proof {
  background: var(--brand-bg-primary);
  position: relative;
  overflow: hidden;
}
.featured-proof::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--brand-accent-cyan-soft) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}
.featured-proof__inner {
  position: relative; z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.featured-proof__client {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand-accent-cyan);
  margin-bottom: var(--space-4);
}
.featured-proof__metric {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tightest);
  margin-bottom: var(--space-5);
}
.featured-proof__metric-flow { color: var(--brand-accent-coral); white-space: nowrap; }
.featured-proof__support {
  font-size: var(--text-md);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto var(--space-7);
}
.featured-proof__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: var(--space-7) 0;
}
@media (min-width: 768px) { .featured-proof__details { grid-template-columns: repeat(3, 1fr); } }
.featured-proof__detail {
  padding: var(--space-5);
  background: var(--brand-bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.featured-proof__detail-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--brand-accent-coral);
  margin-bottom: var(--space-2);
}
.featured-proof__detail-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}
.featured-proof__quote {
  font-style: italic;
  font-size: var(--text-md);
  color: var(--text-secondary);
  margin-top: var(--space-7);
  padding: 0 var(--space-5);
}
.featured-proof__attribution {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: var(--space-3);
}

/* Section: Lead magnet (free audit offer) */
.lead-magnet {
  background: var(--brand-bg-secondary);
  text-align: center;
}
.lead-magnet__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--brand-bg-tertiary) 0%, var(--brand-bg-secondary) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.lead-magnet__inner::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brand-accent-coral), var(--brand-accent-cyan));
}
.lead-magnet__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand-accent-cyan);
  margin-bottom: var(--space-4);
}
.lead-magnet__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}
.lead-magnet__description {
  font-size: var(--text-md);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.lead-magnet__list {
  list-style: none;
  text-align: left;
  max-width: 480px;
  margin: 0 auto var(--space-6);
}
.lead-magnet__list li {
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  position: relative;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}
.lead-magnet__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-accent-coral);
  font-weight: 700;
}

/* Section: Pricing note (placeholder display) */
.pricing-note {
  background: var(--brand-bg-primary);
  text-align: center;
}
.pricing-note__inner {
  max-width: 720px;
  margin: 0 auto;
}
.pricing-note__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.pricing-note__support {
  font-size: var(--text-md);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

/* Section: FAQ */
.faq__header { text-align: center; margin-bottom: var(--space-9); }
.faq__list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-5) 0;
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  transition: color var(--duration-fast) var(--ease-standard);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--brand-accent-coral);
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-standard);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brand-accent-cyan); }
.faq-item__answer {
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  max-width: 800px;
}

/* CTA finale (shared) */
.cta-finale {
  background: var(--brand-bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-finale::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 212, 212, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 50%, rgba(255, 87, 51, 0.08) 0%, transparent 50%);
  z-index: 0;
}
.cta-finale__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.cta-finale__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-5);
  letter-spacing: var(--tracking-tightest);
}
.cta-finale__support {
  font-size: var(--text-md);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-7);
}
.cta-finale__buttons {
  display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap;
}

/* Footer (shared) */
.site-footer {
  background: var(--brand-bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-9) 0 var(--space-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.footer__brand-section { max-width: 320px; }
.footer__tagline {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
.footer__column-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.footer__list { list-style: none; }
.footer__list li { margin-bottom: var(--space-3); }
.footer__list a {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color var(--duration-fast) var(--ease-standard);
}
.footer__list a:hover { color: var(--text-primary); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}
.footer__legal-links { display: flex; gap: var(--space-5); flex-wrap: wrap; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* Visually-hidden utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Geo-suggestion bar — shows only on locale mismatch */
.geo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9998;
  background: var(--brand-bg-tertiary);
  border-bottom: 1px solid var(--border-medium);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  animation: geoSlideDown 400ms var(--ease-out);
}
@keyframes geoSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.geo-bar__inner {
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
}
.geo-bar__text {
  flex: 1;
  font-family: var(--font-body);
  line-height: var(--leading-normal);
}
.geo-bar__text a {
  color: var(--brand-accent-coral);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.geo-bar__text a:hover { color: var(--brand-accent-coral-hover); }
.geo-bar__close {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-tertiary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
}
.geo-bar__close:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
/* When geo bar is shown, push fixed header down */
body.has-geo-bar .site-header { top: 56px; }
@media (max-width: 640px) {
  .geo-bar__inner { padding: var(--space-3); gap: var(--space-3); }
  .geo-bar__text { font-size: var(--text-xs); }
  body.has-geo-bar .site-header { top: 70px; }
}

/* Footer cross-link "Also serving Canada" */
/* Footer cross-link "Also serving Canada" */
.footer__cross-link {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.footer__cross-link a { color: var(--brand-accent-coral); text-decoration: none; }
.footer__cross-link a:hover { text-decoration: underline; }

/* === Footer social icons === */
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  min-width: 38px; min-height: 38px;
  max-width: 38px; max-height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-tertiary);
  transition: all 0.2s ease;
  padding: 0;
  box-sizing: border-box;
}
.footer__social a:hover {
  border-color: var(--brand-accent-coral);
  color: var(--brand-accent-coral);
  transform: translateY(-2px);
}
.footer__social svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  fill: currentColor;
  flex-shrink: 0;
  display: block;
}
@media (max-width: 768px) {
  .footer__social { gap: 10px; flex-wrap: wrap; }
  .footer__social a { width: 36px !important; height: 36px !important; min-width: 36px; max-width: 36px; min-height: 36px; max-height: 36px; }
  .footer__social svg { width: 16px !important; height: 16px !important; min-width: 16px; }
}

/* === Footer office address === */
.footer__office {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
}
.footer__office strong { color: var(--text-secondary); display: block; margin-bottom: 4px; font-weight: 600; }

/* === Scroll-to-top button === */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-accent-coral);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(255, 87, 51, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 999;
  pointer-events: none;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--brand-accent-coral-hover); transform: translateY(-2px); }

/* === Top announcement banner === */
.announce-bar {
  background: linear-gradient(90deg, var(--brand-accent-coral) 0%, #ff8055 100%);
  color: white;
  text-align: center;
  padding: 10px var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  position: relative;
  z-index: 60;
}
.announce-bar a { color: white; text-decoration: underline; font-weight: 600; }
.announce-bar__close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.8;
}
.announce-bar__close:hover { opacity: 1; }
body.has-announce-bar .site-header { top: 40px; }

/* === Testimonials === */
.testimonials {
  padding: var(--space-9) 0;
}
.testimonials__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-8);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--brand-bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-accent-coral);
}
.testimonial-card__stars {
  color: #FFD700;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}
.testimonial-card__quote {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  flex: 1;
}
.testimonial-card__author {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4);
}
.testimonial-card__name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-base);
}
.testimonial-card__role {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* === Capability pillars === */
.pillars {
  padding: var(--space-9) 0;
  background: var(--brand-bg-secondary);
}
.pillars__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-8);
}
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); } }
.pillar-card {
  padding: var(--space-6);
  background: var(--brand-bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card:hover { transform: translateY(-4px); border-color: var(--brand-accent-cyan); }
.pillar-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-accent-coral) 0%, #ff8055 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: var(--space-4);
  color: white;
}
.pillar-card:nth-child(2) .pillar-card__icon { background: linear-gradient(135deg, var(--brand-accent-cyan) 0%, #4DE0E0 100%); }
.pillar-card:nth-child(3) .pillar-card__icon { background: linear-gradient(135deg, #B450FF 0%, #FF5733 100%); }
.pillar-card:nth-child(4) .pillar-card__icon { background: linear-gradient(135deg, #4DE0E0 0%, #B450FF 100%); }
.pillar-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.pillar-card__desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* === About cards on homepage === */
.about-cards {
  padding: var(--space-9) 0;
}
.about-cards__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-8);
}
.about-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) { .about-cards__grid { grid-template-columns: repeat(3, 1fr); } }
.about-card {
  padding: var(--space-6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--brand-bg-secondary);
}
.about-card__number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-accent-coral) 0%, var(--brand-accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-3);
}
.about-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.about-card__desc {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* === FAQ on homepage === */
.faq-home {
  padding: var(--space-9) 0;
  background: var(--brand-bg-secondary);
}
.faq-home__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-8);
}
.faq-home__list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: color 0.2s ease;
}
.faq-item summary:hover { color: var(--brand-accent-coral); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--brand-accent-coral);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer {
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 0 var(--space-5);
  font-size: var(--text-base);
}


/* ============================================================
   MOBILE DRAWER NAVIGATION (real, not placeholder)
   ============================================================ */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 85%; max-width: 380px;
  height: 100vh;
  background: linear-gradient(180deg, #0D1526 0%, #080C14 100%);
  border-left: 1px solid rgba(255, 87, 51, 0.2);
  z-index: 9999;
  padding: 80px var(--space-6) var(--space-6);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}
.mobile-drawer.is-open { right: 0; }
.mobile-drawer__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mobile-drawer__close:hover { border-color: var(--brand-accent-coral); color: var(--brand-accent-coral); }
.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--space-4);
}
.mobile-drawer__link {
  display: block;
  padding: 14px 16px;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.mobile-drawer__link:hover { background: rgba(255,87,51,0.1); border-left-color: var(--brand-accent-coral); padding-left: 22px; }
.mobile-drawer__cta {
  display: block;
  margin-top: var(--space-5);
  padding: 16px;
  background: var(--brand-accent-coral);
  color: white !important;
  text-align: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 87, 51, 0.4);
}
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
body.has-drawer-open { overflow: hidden; }

/* ============================================================
   STICKY HEADER FIX — proper scroll behavior
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 12, 20, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.has-announce-bar .site-header { top: 0; }

/* ============================================================
   SECTION OVERFLOW SAFETY — prevent horizontal scroll on mobile
   ============================================================ */
section, .container, footer, header, main {
  max-width: 100vw;
  overflow-x: clip;
}
.hero--cinematic, .hero-case, .pillars, .testimonials, .faq-home, .about-cards, .logos {
  overflow-x: clip;
  position: relative;
}

/* ============================================================
   MORE VISIBLE CINEMATIC — boost orbs, less blur, more saturation
   ============================================================ */
@media (max-width: 768px) {
  .hero--cinematic::before {
    width: 700px !important;
    height: 700px !important;
    top: -100px !important;
    left: -150px !important;
  }
  .hero--cinematic::after {
    width: 700px !important;
    height: 700px !important;
    bottom: -200px !important;
    right: -150px !important;
  }
  .hero__orb-3 {
    width: 500px !important;
    height: 500px !important;
  }
  .hero__title { font-size: clamp(40px, 11vw, 64px) !important; }
  .hero__subtitle { font-size: 16px !important; }
  .hero__proof { gap: var(--space-4) !important; flex-wrap: wrap; }
  .hero__proof-number { font-size: 32px !important; }
  .pillars__grid, .about-cards__grid, .testimonials__grid { grid-template-columns: 1fr !important; }
  .footer__grid { grid-template-columns: 1fr !important; gap: var(--space-6) !important; }
  .marquee__logo { height: 50px !important; max-width: 140px !important; }
  .hero--cinematic .hero__video { opacity: 0.45 !important; }
}

/* ============================================================
   "NOW" CLASSY-PASS REFINEMENTS
   ============================================================ */

/* Item 12: Hide the orange announce bar entirely (remove ribbon noise) */
.announce-bar { display: none !important; }
body.has-announce-bar .site-header { top: 0 !important; }

/* Item 1: Geo-bar auto-fade — handled in JS, style supports the transition */
.geo-bar {
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.geo-bar.is-fading {
  transform: translateY(-100%);
  opacity: 0;
}

/* Item 2: Refined scroll-to-top — quiet, not loud */
.scroll-top {
  background: rgba(8, 12, 20, 0.6) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none !important;
  width: 44px !important;
  height: 44px !important;
  font-size: 18px !important;
  bottom: 32px !important;
  right: 32px !important;
}
.scroll-top.is-visible {
  opacity: 0.6 !important;
}
.scroll-top:hover {
  opacity: 1 !important;
  border-color: var(--brand-accent-coral) !important;
  color: var(--brand-accent-coral) !important;
  background: rgba(8, 12, 20, 0.8) !important;
  transform: translateY(-2px) !important;
}

/* Item 6: Pillar card number — editorial mono-font replacing colored gradient blocks */
.pillar-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.pillar-card:hover .pillar-card__num {
  color: var(--brand-accent-coral);
  border-bottom-color: var(--brand-accent-coral);
}
/* Hide the old colored gradient icon if any pages still use it */
.pillar-card__icon { display: none !important; }
.pillar-card { padding-top: var(--space-7) !important; }

/* ============================================================
   "HALF-DAY" CLASSY UPGRADE PASS
   ============================================================ */

/* === Soft gradient seams between sections (no more hard color cuts) === */
section { position: relative; }
section + section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 60px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 87, 51, 0.5) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}
section + section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
  pointer-events: none;
}

/* === Serif pairing for editorial pull quotes === */
.pull-quote, blockquote.editorial, .editorial-serif {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pull-quote {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text-primary);
  max-width: 900px;
  margin: var(--space-9) auto;
  text-align: center;
  padding: 0 var(--space-5);
  position: relative;
}
.pull-quote::before, .pull-quote::after {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--brand-accent-coral);
  opacity: 0.6;
  font-size: 2em;
  line-height: 0;
  position: absolute;
}
.pull-quote::before { content: '"'; left: 0; top: 0.5em; }
.pull-quote::after  { content: '"'; right: 0; bottom: 0.2em; }
.pull-quote__attribution {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* === Refined button hover micro-interactions === */
.btn { position: relative; overflow: hidden; }
.btn .btn__arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}
.btn--primary {
  transition: background 0.2s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.btn--primary:hover {
  transform: translateY(-1px);
}
.btn--secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-accent-coral), var(--brand-accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: inherit;
}
.btn--secondary:hover::before {
  opacity: 0.08;
}

/* === Refined nav link underline (animated draw) === */
.site-nav__link::after {
  background: linear-gradient(90deg, var(--brand-accent-coral) 0%, var(--brand-accent-cyan) 100%);
  height: 1px;
  bottom: -6px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Card hover refinements (practice + service + testimonial) === */
.practice-card, .service-card, .testimonial-card, .pillar-card, .about-card {
  position: relative;
  overflow: hidden;
}
.practice-card::after, .service-card::after, .testimonial-card::after, .pillar-card::after, .about-card::after {
  /* Coral hairline that draws across bottom on hover */
}
.practice-card .hairline, .service-card .hairline { display: none; }

.testimonial-card, .pillar-card, .about-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover, .pillar-card:hover, .about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -16px rgba(255, 87, 51, 0.25);
  border-color: rgba(255, 87, 51, 0.4) !important;
}

/* === Link hover refinement (in-prose links) === */
.faq-item__answer a, .case-prose a, .footer__list a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item__answer a:hover, .case-prose a:hover, .footer__list a:hover {
  background-size: 100% 2px;
  color: var(--brand-accent-coral);
}
.footer__list a {
  background-size: 0% 1px;
  background-position: 0% 100%;
}
.footer__list a:hover {
  background-size: 100% 1px;
  color: var(--brand-accent-coral);
}

/* === Logo subtle hover === */
.site-logo__img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}
.site-logo:hover .site-logo__img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(255, 87, 51, 0.4));
}

/* === Eyebrow text refinement (the small all-caps labels) === */
.hero__eyebrow, .practice-hero__eyebrow, .pillars__eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.25em;
  position: relative;
}
.hero__eyebrow::before, .practice-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--brand-accent-coral);
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.7;
}

/* === Smoother scroll behavior === */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* === Footer cross-link refinement === */
.footer__cross-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__cross-link a {
  position: relative;
  transition: color 0.3s ease;
}
.footer__cross-link a:hover {
  color: var(--text-primary);
}
margin-right: 12px;
  opacity: 0.7;
}

/* === Smoother scroll behavior === */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* === Footer cross-link refinement === */
.footer__cross-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__cross-link a {
  position: relative;
  transition: color 0.3s ease;
}
.footer__cross-link a:hover {
  color: var(--text-primary);
}

/* ============================================================
   "FULL-DAY" CLASSY UPGRADE PASS
   ============================================================ */

/* === Oversized footer brand statement === */
.footer__statement {
  padding: var(--space-10) 0 var(--space-8);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: var(--space-9);
  position: relative;
  overflow: hidden;
}
.footer__brand-mark {
  font-family: var(--font-display);
  font-size: clamp(36px, 12vw, 180px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  text-stroke: 1px rgba(255, 255, 255, 0.18);
  margin-bottom: var(--space-7);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.footer__brand-mark .footer__brand-dot {
  -webkit-text-stroke: 0;
  text-stroke: 0;
  color: var(--brand-accent-coral);
  -webkit-text-fill-color: var(--brand-accent-coral);
}
.footer__personal-note {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.footer__personal-note a {
  color: var(--brand-accent-coral);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.footer__personal-note a:hover { color: var(--brand-accent-coral-hover); }
@media (max-width: 768px) {
  .footer__brand-mark { font-size: clamp(28px, 14vw, 80px); white-space: normal; }
}
var(--text-tertiary);
  letter-spacing: 0.02em;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.footer__personal-note a {
  color: var(--brand-accent-coral);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.footer__personal-note a:hover { color: var(--brand-accent-coral-hover); }
@media (max-width: 768px) {
  .footer__brand-mark { font-size: clamp(28px, 14vw, 80px); white-space: normal; }
}

/* ============================================================
   MOBILE BUTTON OVERFLOW + CASE STUDY HEIGHT FIXES
   ============================================================ */

/* Wrap CTA containers on small screens — buttons stack instead of overflow */
@media (max-width: 640px) {
  .hero__ctas,
  .practice-hero__ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--space-3) !important;
    width: 100%;
  }
  .hero__ctas .btn,
  .practice-hero__ctas .btn {
    width: 100% !important;
    white-space: normal !important;
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
    font-size: var(--text-sm) !important;
    min-height: 52px !important;
  }
  /* Generic safety: any button row should wrap and constrain */
  .btn { white-space: normal !important; }
}

/* Tablet — softer wrap, narrower buttons */
@media (min-width: 641px) and (max-width: 1023px) {
  .hero__ctas,
  .practice-hero__ctas {
    flex-wrap: wrap !important;
    gap: var(--space-3) !important;
  }
}

/* Case study + practice/service heroes: cap height on mobile so they don't leave empty space */
@media (max-width: 768px) {
  .practice-hero {
    min-height: auto !important;
    padding: calc(var(--space-9) + 60px) 0 var(--space-8) 0 !important;
  }
  .hero--cinematic {
    min-height: 88vh !important;
  }
  /* Hero canvas slightly less aggressive on mobile (fixed position is good but height capped) */
  .hero__canvas {
    height: 100svh !important;
  }
  /* Practice hero subtitle and title tighten up */
  .practice-hero__title { font-size: clamp(32px, 9vw, 56px) !important; line-height: 1.1; }
  .practice-hero__subtitle { font-size: 16px !important; line-height: 1.5; }
  .case-summary {
    grid-template-columns: 1fr !important;
  }
}

/* Hero proof bar items - fit on mobile without overflow */
@media (max-width: 640px) {
  .hero__proof {
    grid-template-columns: 1fr 1fr 1fr !important;
    display: grid !important;
    gap: var(--space-3) !important;
    text-align: center;
  }
  .hero__proof-item { text-align: center; }
}
ice-hero__subtitle { font-size: 16px !important; line-height: 1.5; }
  .case-summary {
    grid-template-columns: 1fr !important;
  }
}

/* Hero proof bar items - fit on mobile without overflow */
@media (max-width: 640px) {
  .hero__proof {
    grid-template-columns: 1fr 1fr 1fr !important;
    display: grid !important;
    gap: var(--space-3) !important;
    text-align: center;
  }
  .hero__proof-item { text-align: center; }
}
