/* ═══════════════════════════════════════════════════════════
   AgyleSoft — Global Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --navy: #0b1e38;
  --navy-mid: #102a43;
  --slate: #334e68;
  --muted: #627d98;
  --subtle: #9fb3c8;
  --line: rgba(255, 255, 255, .25);
  --bg: #edf1f7;
  --surface: rgba(255, 255, 255, .4);
  --teal: #3b82d9;
  --teal-deep: #1a5fa8;
  --teal-light: rgba(232, 240, 251, .45);
  --amber: #b5761a;
  --amber-light: #fff4e0;
  --text: #1b2d45;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 8px 32px rgba(11, 30, 56, .07);
  --shadow-elevated: 0 20px 60px rgba(11, 30, 56, .13);
  --glass-blur: blur(20px);
  --glass-border: 1px solid rgba(255, 255, 255, .45);
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, serif;
  --max-w: 1140px;
  --nav-bg: rgba(255, 255, 255, .45);
  --nav-border: rgba(255, 255, 255, .3);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── Dark Theme ── */
[data-theme="dark"] {
  --navy: #e4ecf4;
  --navy-mid: #cbd8e6;
  --slate: #b0c4d8;
  --muted: #94adc4;
  --subtle: #4a6178;
  --line: rgba(255, 255, 255, .07);
  --bg: #080e16;
  --surface: rgba(16, 28, 42, .5);
  --teal: #7bc0f7;
  --teal-deep: #a3d7fb;
  --teal-light: rgba(123, 192, 247, .08);
  --amber: #f0b75a;
  --amber-light: rgba(240, 183, 90, .1);
  --text: #dce6f0;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, .35);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, .5);
  --glass-border: 1px solid rgba(255, 255, 255, .08);
  --nav-bg: rgba(8, 14, 22, .55);
  --nav-border: rgba(255, 255, 255, .06);
}
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 { color: var(--navy); }
[data-theme="dark"] .btn-outline {
  background: var(--surface); color: var(--text); border-color: var(--line);
}
[data-theme="dark"] .btn-outline:hover { border-color: var(--teal); color: var(--teal); }
[data-theme="dark"] .hero-metrics {
  background: linear-gradient(165deg, rgba(10,21,32,.8), rgba(22,40,64,.7));
}
[data-theme="dark"] .card { background: var(--surface); border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .feature-card { background: var(--surface); border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .package-card { background: var(--surface); border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .approach-step {
  background: rgba(19, 32, 46, .5);
  border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .callout {
  background: linear-gradient(135deg, rgba(123,192,247,.08), rgba(123,192,247,.02));
  border-color: rgba(123,192,247,.2);
}
[data-theme="dark"] .industry-chip {
  background: var(--surface); border-color: var(--line); color: var(--text);
}
[data-theme="dark"] .contact-block {
  background: rgba(123,192,247,.06); border-color: rgba(123,192,247,.3);
}
[data-theme="dark"] .inquiry-form {
  background: var(--surface); border-color: var(--line);
}
[data-theme="dark"] .service-chip span {
  background: var(--bg); border-color: var(--line); color: var(--text);
}
[data-theme="dark"] .engagement-option {
  background: var(--bg); border-color: var(--line);
}
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field textarea {
  background: var(--bg); border-color: var(--line); color: var(--text);
}
[data-theme="dark"] .step-dot { background: var(--bg); border-color: var(--line); }
[data-theme="dark"] .nav-toggle span { background: var(--text); }
[data-theme="dark"] .page-hero {
  background: linear-gradient(170deg, rgba(6,14,24,.88) 0%, rgba(14,34,64,.82) 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
::selection { background: rgba(59,130,217,.2); color: inherit; }
::-moz-selection { background: rgba(59,130,217,.2); color: inherit; }
body {
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(59,130,217,.12), transparent),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(123,192,247,.10), transparent),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(181,118,26,.06), transparent);
  background-attachment: fixed;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
[data-theme="dark"] body {
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(59,130,217,.08), transparent),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(123,192,247,.05), transparent),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(181,118,26,.04), transparent);
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy); line-height: 1.15; }
h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; margin-bottom: 6px; }
h2 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); font-weight: 600; margin-bottom: 4px; }
h3 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
p { color: var(--muted); }

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--teal-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Layout ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 6vw; }
.section { padding: 40px 0; }
.section:nth-child(even) { background: rgba(11,30,56,0.03); }
[data-theme="dark"] .section:nth-child(even) { background: rgba(255,255,255,0.025); }
.section:first-of-type { background: transparent !important; }
.section + .section { border-top: 1px solid var(--line); }
.section-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}
.section-note { max-width: 72ch; margin-top: 2px; font-size: .8rem; }

/* ── Navigation ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; padding: 0 40px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--nav-border);
  font-size: 13px;
  transition: background var(--transition);
}

/* Theme toggle */
.theme-toggle {
  background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 10px;
  cursor: pointer; font-size: 17px; line-height: 1;
  color: var(--text); transition: .25s;
  display: flex; align-items: center; gap: 4px;
  margin-left: 14px;
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal); }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
html:not([data-theme="dark"]) .theme-toggle .icon-moon { display: inline; }
.site-nav .brand {
  text-decoration: none; display: inline-flex; align-items: center;
  flex-shrink: 0;
}
.site-nav .brand .logo-img {
  height: 36px; width: auto; display: block;
}
.site-nav .brand .logo-dark { display: none; }
.site-nav .brand .logo-light { display: block; }
[data-theme="dark"] .site-nav .brand .logo-dark { display: block; }
[data-theme="dark"] .site-nav .brand .logo-light { display: none; }
.site-nav .nav-links { list-style: none; display: flex; gap: 6px; flex-shrink: 0; }
.site-nav .nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--slate);
  position: relative;
  padding: 5px 13px;
  border-radius: 9px;
  transition: color .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}

/* Glass pill background layer */
.site-nav .nav-links a::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.07) 100%);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 2px 14px rgba(59,130,217,.1), inset 0 1px 0 rgba(255,255,255,.3);
  backdrop-filter: blur(10px) saturate(1.6);
  -webkit-backdrop-filter: blur(10px) saturate(1.6);
  opacity: 0;
  transform: scale(.82);
  transition: opacity .28s cubic-bezier(.4,0,.2,1), transform .28s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}

/* Shimmer sweep layer */
.site-nav .nav-links a::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 9px;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 200% 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}

.site-nav .nav-links a:hover::before,
.site-nav .nav-links a[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
}

.site-nav .nav-links a:hover::after {
  opacity: 1;
  animation: navShimmer .55s ease forwards;
}

@keyframes navShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a[aria-current="page"] { color: var(--teal); }
[data-theme="dark"] .site-nav .nav-links a:hover,
[data-theme="dark"] .site-nav .nav-links a[aria-current="page"] {
  color: #60a5fa;
}

/* Active page: always show the glass pill */
.site-nav .nav-links a[aria-current="page"]::before { opacity: 1; transform: scale(1); }

/* Dark mode glass variant */
[data-theme="dark"] .site-nav .nav-links a::before {
  background: linear-gradient(135deg, rgba(80,150,255,.14) 0%, rgba(40,90,200,.06) 100%);
  border-color: rgba(100,170,255,.18);
  box-shadow: 0 2px 14px rgba(59,130,217,.18), inset 0 1px 0 rgba(255,255,255,.07);
}
[data-theme="dark"] .site-nav .nav-links a::after {
  background: linear-gradient(105deg, transparent 35%, rgba(120,180,255,.22) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 200% 0;
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ── Animated Ticker Banner ── */
.ticker-banner {
  background: linear-gradient(135deg, rgba(16,42,67,.88), rgba(21,61,106,.82));
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  overflow: hidden; position: relative;
  height: 26px; display: flex; align-items: center;
}
[data-theme="dark"] .ticker-banner {
  background: linear-gradient(135deg, rgba(6,14,24,.85), rgba(14,34,64,.8));
}
.ticker-track {
  display: flex; gap: 60px;
  animation: tickerScroll 28s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.ticker-track .dot {
  color: var(--teal); font-size: .6rem; vertical-align: middle;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-banner:hover .ticker-track { animation-play-state: paused; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: 10px;
  font-family: var(--font-sans); font-size: .84rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(59, 130, 217, .24);
  padding: 12px 24px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .1px;
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(59, 130, 217, .35); }
.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  padding: 10px 20px;
  font-size: .875rem;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
html:not([data-theme="dark"]) .btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(11, 30, 56, 0.45);
}
html:not([data-theme="dark"]) .btn-outline:hover {
  background: rgba(11, 30, 56, 0.05);
  border-color: rgba(11, 30, 56, 0.65);
  color: var(--navy);
}

/* ── Hero ── */
.hero { padding: 24px 0 16px; position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
  animation: orbDrift 14s ease-in-out infinite;
}
.hero::before {
  width: 420px; height: 420px; top: -140px; left: -100px;
  background: radial-gradient(circle, rgba(59,130,217,.15), transparent 70%);
}
.hero::after {
  width: 480px; height: 480px; bottom: -200px; right: -140px;
  background: radial-gradient(circle, rgba(181,118,26,.10), transparent 70%);
  animation-delay: -7s;
}
@keyframes orbDrift { 0%,100%{transform:translate(0,0)} 50%{transform:translate(18px,-14px)} }

.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-kicker {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  font-size: .65rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--teal-light);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  margin-bottom: 6px;
}
.hero-intro { font-size: .85rem; color: var(--muted); max-width: 60ch; margin-bottom: 8px; }
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-row-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.cta-row-primary .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-watch {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.2s ease;
  padding: 4px 0;
}
.btn-watch:hover { color: rgba(255,255,255,0.9); transform: none !important; box-shadow: none !important; }
[data-theme="dark"] .btn-watch { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .btn-watch:hover { color: #fff; }
html:not([data-theme="dark"]) .btn-watch { color: rgba(11,30,56,0.5); }
html:not([data-theme="dark"]) .btn-watch:hover { color: rgba(11,30,56,0.85); }

/* Metrics sidebar */
.hero-metrics {
  background: linear-gradient(165deg, rgba(13,38,69,.85), rgba(21,61,106,.78));
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 12px 14px; color: var(--white);
  box-shadow: var(--shadow-elevated);
}
.metric { padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.metric:last-child { border-bottom: 0; }
.metric strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: #ffc97a; }
.metric span { font-size: .72rem; color: rgba(255,255,255,.78); }

/* ── Cards ── */
.card-grid { display: grid; gap: 12px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 12px 12px;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass-blur) saturate(1.3); -webkit-backdrop-filter: var(--glass-blur) saturate(1.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.card-num {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  color: var(--amber); margin-bottom: 6px;
}
.card h3 { margin-bottom: 6px; }
.card p { font-size: .78rem; line-height: 1.4; }

/* Service page feature cards */
.feature-card {
  background: var(--surface);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 10px 12px;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass-blur) saturate(1.3); -webkit-backdrop-filter: var(--glass-blur) saturate(1.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.feature-card h4 { font-size: .85rem; margin-bottom: 2px; }
.feature-card p { font-size: .76rem; }

/* ── Consulting offer blocks ── */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}
.package-card {
  background: var(--surface);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 10px 12px;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass-blur) saturate(1.3); -webkit-backdrop-filter: var(--glass-blur) saturate(1.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.package-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.package-card h3 { margin-bottom: 4px; }
.package-meta {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .73rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-deep);
}
.bullet-list {
  list-style: none;
  margin-top: 6px;
}
.bullet-list li {
  position: relative;
  padding: 4px 0 4px 16px;
  color: var(--slate);
  font-size: .82rem;
  border-bottom: 1px dashed rgba(98, 125, 152, .25);
}
.bullet-list li:last-child { border-bottom: 0; }
.bullet-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.outcome-list {
  list-style: none;
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 8px;
}
.outcome-list li {
  font-size: .78rem;
  color: var(--slate);
  background: rgba(59, 130, 217, .05);
  border: 1px solid rgba(59, 130, 217, .16);
  border-radius: 8px;
  padding: 6px 8px;
}

/* ── Approach strip ── */
.approach-bar {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 8px;
}
.approach-step {
  border: var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .35);
  backdrop-filter: var(--glass-blur) saturate(1.3); -webkit-backdrop-filter: var(--glass-blur) saturate(1.3);
  padding: 10px 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.approach-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.approach-step strong {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 6px;
}
.approach-step p { font-size: .8rem; }

/* ── Outcomes band ── */
.outcomes-band {
  background: linear-gradient(135deg, rgba(15,46,82,.88), rgba(26,73,118,.82));
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 14px; color: var(--white);
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  box-shadow: var(--shadow-elevated);
  margin-bottom: 8px;
}
.outcome-item { border-right: 1px solid rgba(255,255,255,.2); padding-right: 14px; }
.outcome-item:last-child { border-right: 0; padding-right: 0; }
.outcome-item strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: #ffc97a; }
.outcome-item span { color: rgba(255,255,255,.82); font-size: .76rem; }

/* ── Industries ── */
.industry-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.industry-chip {
  padding: 6px 14px; border-radius: 999px;
  border: var(--glass-border); background: var(--surface);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  font-weight: 500; font-size: .8rem; color: var(--navy-mid);
}

/* ── Quote / Callout box ── */
.callout {
  background: rgba(59,130,217,.05);
  border: var(--glass-border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 8px 0;
  backdrop-filter: var(--glass-blur) saturate(1.2); -webkit-backdrop-filter: var(--glass-blur) saturate(1.2);
}
.callout p { color: var(--slate); font-size: .84rem; line-height: 1.55; }
.callout strong { color: var(--navy); }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, rgba(11,30,56,.88), rgba(16,42,67,.82));
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  color: var(--white);
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  margin: 8px 0;
}
.cta-band h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
.cta-band p { color: rgba(255,255,255,.72); margin-bottom: 0; font-size: .84rem; }
.cta-band .btn-primary { box-shadow: 0 8px 28px rgba(59,130,217,.35); }
[data-theme="dark"] .cta-band {
  background: linear-gradient(135deg, rgba(10,21,32,.85), rgba(22,40,64,.78));
}

/* ── Contact section ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-grid {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start;
}
.contact-block {
  border: 1px dashed rgba(59,130,217,.4);
  border-radius: var(--radius);
  background: rgba(59,130,217,.04);
  padding: 10px;
}

/* ── Inquiry Form ── */
.inquiry-form {
  background: var(--surface);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--glass-blur) saturate(1.3); -webkit-backdrop-filter: var(--glass-blur) saturate(1.3);
  transition: box-shadow var(--transition);
}

/* Step bar */
.form-steps-bar {
  display: flex; gap: 3px; margin-bottom: 8px;
}
.step-dot {
  flex: 1; text-align: center;
  padding: 6px 0; border-radius: 6px;
  font-size: .73rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: .25s;
}
.step-dot span {
  display: inline-block; width: 20px; height: 20px;
  line-height: 20px; border-radius: 50%; text-align: center;
  background: var(--line); color: var(--muted);
  font-size: .72rem; margin-right: 5px;
  transition: .25s;
}
.step-dot.active { color: var(--teal-deep); border-color: rgba(59,130,217,.3); background: var(--teal-light); }
.step-dot.active span { background: var(--teal); color: var(--white); }

/* Fieldsets */
.form-step { border: none; padding: 0; }
.form-step.hidden { display: none; }
.form-step-title {
  font-family: var(--font-serif);
  font-size: .98rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.form-step-hint { font-size: .76rem; color: var(--muted); margin-bottom: 6px; }

/* Service chips */
.service-selector { display: flex; flex-wrap: wrap; gap: 10px; }
.service-chip {
  position: relative; cursor: pointer;
}
.service-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.service-chip span {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: .8rem; font-weight: 500; color: var(--navy-mid);
  transition: .2s;
}
.service-chip input:checked + span {
  background: var(--teal-light); border-color: var(--teal);
  color: var(--teal-deep); font-weight: 600;
}
.service-chip:hover span { border-color: var(--teal); }

/* Sub-service groups (Step 2) */
.sub-service-groups { display: flex; flex-direction: column; gap: 12px; }
.sub-service-group { border-left: 3px solid var(--teal); padding-left: 12px; }
.sub-service-heading {
  font-family: var(--font-serif);
  font-size: .84rem; font-weight: 600; color: var(--navy);
  margin: 0 0 4px;
}

/* Engagement options */
.engagement-options { display: flex; flex-direction: column; gap: 10px; }
.engagement-option {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg);
  cursor: pointer; transition: .2s;
}
.engagement-option:hover { border-color: var(--teal); }
.engagement-option input { margin-top: 4px; accent-color: var(--teal); }
.engagement-option strong { display: block; font-size: .84rem; color: var(--navy); }
.engagement-option span { display: block; font-size: .76rem; color: var(--muted); margin-top: 1px; }
.engagement-option:has(input:checked) {
  border-color: var(--teal); background: var(--teal-light);
}

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 6px; }
.form-field label {
  font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: .84rem; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59,130,217,.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--subtle); }

/* Nav buttons */
.form-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.btn-sm { padding: 7px 16px; font-size: .8rem; }

/* Success */
.form-success {
  text-align: center; padding: 16px 10px;
}
.form-success.hidden { display: none; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal-deep);
  font-size: 1.6rem; font-weight: 700; margin-bottom: 16px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.contact-label {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 2px;
}
.contact-value + .contact-label { margin-top: 14px; }
.contact-value { font-weight: 700; color: var(--navy); word-break: break-word; }
.contact-value a { text-decoration: none; }
.contact-value a:hover { text-decoration: underline; color: var(--teal); }

/* ── Footer ── */
.site-footer {
  background: rgba(11,30,56,0.03);
  border-top: 1px solid rgba(11,30,56,0.1);
  padding: 56px 0 32px;
}
[data-theme="dark"] .site-footer {
  background: rgba(255, 255, 255, 0.025);
  border-top: 2px solid rgba(59, 130, 217, 0.25);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04);
}
html:not([data-theme="dark"]) .site-footer {
  background: rgba(11,30,56,0.03);
  border-top-color: rgba(11,30,56,0.1);
}
.footer-inner {
  max-width: var(--max-w, 1140px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(6vw, 16px);
  padding-right: max(6vw, 16px);
  box-sizing: border-box;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
}
.footer-col-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links li a:hover { color: #00c8ff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-copy,
.footer-host {
  font-size: 12px;
  color: var(--muted);
}

/* ── Page hero (service pages) ── */
.page-hero {
  background: linear-gradient(170deg, rgba(11,30,56,.9) 0%, rgba(21,61,106,.85) 100%);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  color: var(--white); padding: 22px 0 14px;
}
.page-hero .section-label { color: rgba(255,255,255,.5); }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.7); max-width: 68ch; }
.page-hero .breadcrumb {
  font-size: .72rem; margin-bottom: 10px; color: rgba(255,255,255,.45);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; color: var(--white); }

/* ── Capability list ── */
.cap-list { list-style: none; padding: 0; }
.cap-list li {
  position: relative; padding: 4px 0 4px 20px;
  border-bottom: 1px solid var(--line);
  font-size: .78rem; color: var(--slate);
}
.cap-list li::before {
  content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}

/* ── Two-column text ── */
.text-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.text-cols p { font-size: .8rem; line-height: 1.4; }

/* ── Responsive ── */
/* ── Hero Price Pill ── */
.hero-price-pill {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .03em;
  color: #ffc97a;
  background: linear-gradient(135deg, #0d2645, #153d6a);
  border: 1px solid rgba(255,201,122,.3);
  box-shadow: 0 2px 12px rgba(255,201,122,.12);
  animation: pillGlow 3s ease-in-out infinite;
}
.hero-price-pill strong { font-size: 1rem; font-weight: 700; }
@keyframes pillGlow {
  0%,100% { box-shadow: 0 2px 12px rgba(255,201,122,.12); }
  50% { box-shadow: 0 2px 24px rgba(255,201,122,.3); }
}
[data-theme="dark"] .hero-price-pill {
  background: linear-gradient(135deg, #060f1c, #0d2240);
  border-color: rgba(255,201,122,.25);
}

/* ── Trust Signals Bar ── */
.trust-bar {
  background: linear-gradient(170deg, rgba(11,30,56,.88) 0%, rgba(21,61,106,.82) 100%);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  padding: 14px 0;
  overflow: hidden;
}
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-signal {
  text-align: center;
  padding: 4px 24px;
}
.trust-signal strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffc97a;
  line-height: 1.1;
}
.trust-signal span {
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.18);
}
[data-theme="dark"] .trust-bar {
  background: linear-gradient(170deg, rgba(6,15,28,.85) 0%, rgba(13,34,64,.8) 100%);
}

/* ── Sticky Free Discovery CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, rgba(13,38,69,.9), rgba(21,61,106,.85));
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-top: 1px solid rgba(255,201,122,.3);
  box-shadow: 0 -8px 32px rgba(0,0,0,.2);
  animation: slideUp .5s cubic-bezier(.4,0,.2,1);
}
.sticky-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sticky-cta-inner span {
  color: rgba(255,255,255,.9);
  font-size: .82rem;
}
.sticky-cta-inner strong {
  color: #ffc97a;
}
.sticky-cta-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}
.sticky-cta-close:hover { color: #fff; }
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
[data-theme="dark"] .sticky-cta {
  background: linear-gradient(135deg, rgba(6,15,28,.88), rgba(13,34,64,.82));
}

@media (max-width: 960px) {
  .hero-grid, .cta-band, .contact-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: 1fr; }
  .outcome-list { grid-template-columns: 1fr; }
  .approach-bar { grid-template-columns: repeat(2, 1fr); }
  .outcomes-band { grid-template-columns: 1fr; }
  .outcome-item { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 14px; }
  .outcome-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .text-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .trust-row { gap: 4px; }
  .trust-signal { padding: 4px 12px; }
  .trust-signal strong { font-size: 1rem; }
  .trust-divider { display: none; }
  .sticky-cta-inner { font-size: .75rem; text-align: center; gap: 8px; }
  .hero-price-pill { font-size: .72rem; padding: 4px 12px; }
  .site-nav .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-nav .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 6vw; gap: 14px; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .approach-bar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-steps-bar { flex-direction: column; }
  .hero { padding: 16px 0 12px; }
  .section { padding: 40px 0; }
}

/* ═══════════════════════════════════════════════════════════
   MODERN UI ENHANCEMENTS — v2
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Hero Dark Atmospheric Background + Grain ── */
[data-theme="dark"] .hero {
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(0,200,255,.15), transparent),
    radial-gradient(ellipse 50% 60% at 75% 40%, rgba(29,106,245,.12), transparent);
  background-color: #0d0d0f;
  background-size: 180px 180px, auto, auto;
}

/* Light mode hero — soft atmospheric gradient (C1) */
html:not([data-theme="dark"]) .hero {
  background-image:
    radial-gradient(ellipse 60% 50% at 25% 60%, rgba(29,106,245,.08), transparent),
    radial-gradient(ellipse 50% 60% at 75% 30%, rgba(0,180,230,.06), transparent),
    linear-gradient(160deg, #f0f4ff 0%, #e8f0fe 50%, #f5f7ff 100%);
  background-color: transparent;
}

/* Hero orb gains pulse animation */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: orbDrift 14s ease-in-out infinite, hpulse 4s ease-in-out infinite; }
  @keyframes hpulse { 0%,100% { opacity:.6; } 50% { opacity:1; } }
}

/* ── 2. Hero Pill Badge ── */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  color: #1d6af5;
  background: rgba(29,106,245,.08);
  border: 1px solid rgba(29,106,245,.22);
  margin-bottom: 10px;
  line-height: 1.6;
}
[data-theme="dark"] .hero-pill {
  color: #00c8ff;
  background: rgba(0,200,255,.10);
  border-color: rgba(0,200,255,.25);
}

/* ── 3. Animated Gradient H1 ── */
@keyframes shimmer-sweep {
  0%   { background-position: -100% center; }
  100% { background-position:  200% center; }
}
html:not([data-theme="dark"]) .hero-title {
  background: linear-gradient(90deg,
    #1e3a5f  0%, #1e3a5f 15%,
    #1d4ed8 32%, #0ea5e9 50%,
    #d97706 68%,
    #1e3a5f 85%, #1e3a5f 100%
  ) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #1e3a5f !important;
  animation: shimmer-sweep 4s linear infinite !important;
}
[data-theme="dark"] .hero-title {
  background: linear-gradient(90deg,
    #38bdf8  0%, #38bdf8 15%,
    #60a5fa 32%, #93c5fd 50%,
    #fbbf24 68%,
    #38bdf8 85%, #38bdf8 100%
  ) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #38bdf8 !important;
  animation: shimmer-sweep 4s linear infinite !important;
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-theme="dark"]) .hero-title,
  [data-theme="dark"] .hero-title {
    background-position: 60% center !important;
    animation: none !important;
  }
}

/* ── 4. Glassmorphism Practice Cards ── */
.practice-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: -40px; left: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(0,200,255,.12);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.practice-card > * { position: relative; z-index: 1; }
.practice-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.20);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
html:not([data-theme="dark"]) .practice-card {
  background: rgba(255,255,255,.75);
  border-color: rgba(11,30,56,.10);
}
html:not([data-theme="dark"]) .practice-card:hover {
  background: rgba(255,255,255,.9);
  border-color: rgba(11,30,56,.18);
}
/* Accent colour dots */
.practice-accent {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.practice-card-01 .practice-accent { background: #00c8ff; box-shadow: 0 0 8px rgba(0,200,255,.6); }
.practice-card-02 .practice-accent { background: #f5c842; box-shadow: 0 0 8px rgba(245,200,66,.6); }
.practice-card-03 .practice-accent { background: #00e5a0; box-shadow: 0 0 8px rgba(0,229,160,.6); }
.practice-card-04 .practice-accent { background: #1d6af5; box-shadow: 0 0 8px rgba(29,106,245,.6); }

/* ── 5. Bento Grid Stats ── */
.stats-bento {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}
.bento-cell {
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
  transition: background .2s;
  will-change: transform;
}
.bento-cell:hover { background: rgba(255,255,255,.06); }
.bento-cell.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.bento-cell.wide { grid-column: span 2; }
.bento-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: var(--font-serif);
}
.bento-label {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
  display: block;
}
.bento-sub {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 3px;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
}
html:not([data-theme="dark"]) .bento-cell {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(11, 30, 56, 0.14) !important;
  box-shadow: 0 4px 24px rgba(11, 30, 56, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
html:not([data-theme="dark"]) .bento-cell:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(59, 130, 217, 0.28) !important;
}
html:not([data-theme="dark"]) .bento-num {
  color: var(--navy) !important;
}
html:not([data-theme="dark"]) .bento-label,
html:not([data-theme="dark"]) .bento-sub {
  color: var(--slate) !important;
}

/* ── 6. Scroll Reveal ── */
.reveal-item {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity .6s cubic-bezier(.4,0,.2,1),
    transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform, opacity;
}
.reveal-item.revealed { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 7. Visual Timeline ── */
.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 10px;
  position: relative;
}
.timeline-row::before {
  content: '';
  position: absolute;
  top: 15px; left: 16px; right: 16px;
  height: 2px;
  background: linear-gradient(90deg, #00c8ff, #f5c842, #00e5a0, rgba(29,106,245,.4));
  z-index: 0;
}
.timeline-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}
.timeline-badge {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.timeline-node-01 .timeline-badge { background: #00c8ff; color: #0d0d0f; box-shadow: 0 0 0 4px rgba(0,200,255,.15), 0 0 16px rgba(0,200,255,.4); }
.timeline-node-02 .timeline-badge { background: #f5c842; color: #0d0d0f; box-shadow: 0 0 0 4px rgba(245,200,66,.15), 0 0 16px rgba(245,200,66,.4); }
.timeline-node-03 .timeline-badge { background: #00e5a0; color: #0d0d0f; box-shadow: 0 0 0 4px rgba(0,229,160,.15), 0 0 16px rgba(0,229,160,.4); }
.timeline-node-04 .timeline-badge { background: #1d6af5; box-shadow: 0 0 0 4px rgba(29,106,245,.15), 0 0 16px rgba(29,106,245,.4); }
.timeline-label {
  font-family: var(--font-serif);
  font-size: .88rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.timeline-sub {
  font-size: .63rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.timeline-desc { font-size: .75rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 720px) {
  .timeline-row { flex-direction: column; gap: 18px; }
  .timeline-row::before {
    top: 0; bottom: 0; left: 15px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, #00c8ff, #f5c842, #00e5a0, rgba(29,106,245,.4));
  }
  .timeline-node { flex-direction: row; align-items: flex-start; text-align: left; gap: 12px; }
  .timeline-badge { margin-bottom: 0; }
}

/* ── 8. Floating CTA Section ── */
.floating-cta-section {
  background: linear-gradient(135deg, #0a1628, #081020);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 20px !important;
}
.floating-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,200,255,.10), transparent 60%);
  pointer-events: none; z-index: 0;
}
/* Grain texture overlay on CTA (A2/A11) */
.floating-cta-section::after {
  content: '';
  position: absolute; inset: 0;
  opacity: .03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: 0;
}
.floating-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.floating-cta-eyebrow {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(0,200,255,.75);
  margin-bottom: 12px;
}
.floating-cta-section h2 {
  font-size: clamp(1.2rem,3vw,1.8rem);
  color: #fff; margin-bottom: 8px;
}
.floating-cta-section p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  max-width: 50ch; margin: 0 auto 24px;
}
.floating-cta-btn {
  display: inline-block;
  margin-bottom: 20px !important;
  background: #1d6af5; color: #fff;
  padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 14px;
  border: none; cursor: pointer;
  text-decoration: none; letter-spacing: .03em;
  box-shadow: 0 8px 32px rgba(29,106,245,.35);
  will-change: transform;
  transition: box-shadow .25s, background .25s;
}
.floating-cta-btn:hover { background: #2d7bf7; box-shadow: 0 12px 40px rgba(29,106,245,.5); }
@media (prefers-reduced-motion: no-preference) {
  .floating-cta-btn { animation: ctaFloat 3s ease-in-out infinite; }
  @keyframes ctaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
}

/* ── 9. Enhanced Ticker Items (A12) ── */
.ticker-track { animation-duration: 36s; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.ticker-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.6);
}
.ticker-item:nth-child(4n+1) .ticker-dot { background: #00c8ff; box-shadow: 0 0 6px #00c8ff; }
.ticker-item:nth-child(4n+2) .ticker-dot { background: #f5c842; box-shadow: 0 0 6px #f5c842; }
.ticker-item:nth-child(4n+3) .ticker-dot { background: #00e5a0; box-shadow: 0 0 6px #00e5a0; }
.ticker-item:nth-child(4n+0) .ticker-dot { background: #1d6af5; box-shadow: 0 0 6px #1d6af5; }

/* ── 10. CTA Row Button Float Animation (Fix 2) ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
.cta-row .btn-primary,
.cta-row .btn {
  animation: float 3s ease-in-out infinite;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-row .btn-primary:hover,
.cta-row .btn:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .cta-row .btn-primary,
  .cta-row .btn {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTENT RESTRUCTURE — v3
   ═══════════════════════════════════════════════════════════ */

/* ── Shared utilities ── */
.section-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.hero-sub {
  font-size: .9rem;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.75;
  margin-bottom: 8px;
}

.section-sub {
  font-size: .85rem;
  color: var(--muted);
  max-width: 68ch;
  margin-top: 6px;
}

.contact-intro {
  max-width: 56ch;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 4px;
}

/* ── "Is This For You?" Section ── */
.fit-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.fit-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.fit-intro {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.fit-card {
  padding: 28px 32px;
  border-radius: 16px;
  border: 1px solid var(--line);
  height: auto;
  min-height: unset;
}

.fit-card--yes {
  background: rgba(0, 229, 160, 0.04);
  border-color: rgba(0, 229, 160, 0.2);
}

[data-theme="dark"] .fit-card--yes {
  background: rgba(0, 229, 160, 0.07);
}

.fit-card--no {
  background: var(--surface);
}

.fit-icon {
  font-size: 20px;
  font-weight: 700;
  color: #00e5a0;
  margin-bottom: 12px;
}

.fit-icon--no { color: var(--subtle); }

.fit-card h3 {
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0; margin: 0;
}

.fit-list li {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.fit-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--subtle);
}

@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; }
  .fit-section { padding: 40px 0; }
  .fit-card { padding: 22px 20px; }
}

/* ── Founder Bio Section ── */
.founder-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founder-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.founder-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 1px solid var(--line);
}

.founder-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-photo-placeholder {
  width: 100%; height: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, #0a1628, #0d2040);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.photo-initials {
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 200, 255, 0.6);
  font-family: var(--font-serif);
}

.photo-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.cred-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--line);
}

.cred-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.cred-lbl {
  font-size: .72rem;
  color: var(--muted);
}

.founder-bio-col { padding-top: 8px; }

.founder-bio-col h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0 0;
  letter-spacing: -.5px;
}

.founder-title {
  font-size: .82rem;
  color: #00c8ff;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 24px;
}

.founder-bio {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.founder-tag {
  font-size: .7rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  color: rgba(0, 200, 255, 0.9);
}

.founder-cta { display: inline-block; margin-top: 4px; }

@media (max-width: 860px) {
  .founder-layout { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo-frame { aspect-ratio: 3/2; max-width: 340px; }
  .founder-section { padding: 48px 0; }
}

/* ── Proof / Case Story Section ── */
.proof-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.proof-header {
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.proof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.proof-story {
  background: rgba(245, 200, 66, 0.04);
  border: 1px solid rgba(245, 200, 66, 0.15);
  border-radius: 16px;
  padding: 32px;
}

[data-theme="dark"] .proof-story {
  background: rgba(245, 200, 66, 0.06);
}

.proof-label {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f5c842;
  margin-bottom: 16px;
}

.proof-headline {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  color: var(--text);
}

.proof-body p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.proof-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.proof-outcome { display: flex; flex-direction: column; gap: 3px; }

.outcome-num {
  font-size: 2rem;
  font-weight: 800;
  color: #f5c842;
  line-height: 1;
  letter-spacing: -.5px;
}

.outcome-lbl {
  font-size: .68rem;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

.proof-diff {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.proof-diff h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 24px; }

.diff-list { display: flex; flex-direction: column; gap: 20px; flex: 1; }

.diff-item { display: flex; gap: 14px; align-items: flex-start; }

.diff-num {
  font-size: .68rem;
  font-weight: 700;
  color: #00c8ff;
  min-width: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.diff-title { font-size: .84rem; font-weight: 500; color: var(--text); margin-bottom: 4px; }

.diff-desc { font-size: .78rem; color: var(--muted); line-height: 1.65; }

.diff-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.diff-cta p { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }

/* Light-mode colour overrides — yellow and cyan are illegible on light backgrounds */
html:not([data-theme="dark"]) .proof-label { color: #9a6800; }
html:not([data-theme="dark"]) .outcome-num { color: #9a6800; }
html:not([data-theme="dark"]) .diff-num    { color: #0052a3; }
html:not([data-theme="dark"]) .proof-story {
  background: rgba(245, 200, 66, 0.06);
  border-color: rgba(180, 140, 0, 0.2);
}

@media (max-width: 800px) {
  .proof-layout { grid-template-columns: 1fr; }
  .proof-section { padding: 48px 0; }
}

/* ── Vertical Industry Grid ── */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 32px auto 0;
}

.vertical-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s;
}

.vertical-card:hover { border-color: rgba(0, 200, 255, 0.3); }

.vertical-icon {
  font-size: 22px;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.vertical-card h3 { font-size: .88rem; font-weight: 600; margin-bottom: 10px; }

.vertical-card p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.vertical-concerns {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vertical-concerns li {
  font-size: 13px;
  color: var(--slate);
  padding-left: 16px;
  position: relative;
  line-height: 1.65;
}

.vertical-concerns li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: #00c8ff;
  font-size: 12px;
}

@media (max-width: 640px) {
  .vertical-grid { grid-template-columns: 1fr; }
}

/* ── CTA section updated copy ── */
.cta-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0, 200, 255, 0.8);
  margin-bottom: 12px;
}

.cta-heading {
  font-size: clamp(2.25rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.6px !important;
  color: #fff;
  text-align: center;
  max-width: 820px !important;
  margin: 0 auto 20px !important;
}

.cta-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.cta-fine {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5) !important;
  margin-top: 20px !important;
  line-height: 1.7;
}
html:not([data-theme="dark"]) .cta-fine { color: rgba(255,255,255,0.55) !important; }
.floating-cta-section .btn,
.floating-cta-section .btn-primary { margin-bottom: 20px; }

/* ── Responsive overrides for new components ── */

/* Section background alternation (Fix 3) */
[data-theme="dark"] #practices,
[data-theme="dark"] #industries {
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] #proof {
  background: rgba(255, 255, 255, 0.065);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
[data-theme="dark"] #who-we-serve,
[data-theme="dark"] #testimonial {
  background: transparent;
}
html:not([data-theme="dark"]) #practices,
html:not([data-theme="dark"]) #proof,
html:not([data-theme="dark"]) #contact {
  background: rgba(11,30,56,.045);
}

/* H2 hierarchy (Fix 4) */
#who-we-serve h2,
#proof h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -.4px;
  line-height: 1.25;
}
#practices h2,
#industries h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  letter-spacing: -.2px;
}
#approach h2,
#contact h2 {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  letter-spacing: 0;
}

/* Card line-height (Fix 5) */
.practice-card p {
  line-height: 1.65;
  font-size: .875rem;
}
.fit-list li { line-height: 1.65; }

/* Larger CTA hero button (Fix 7) */
.cta-row .btn-primary {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Vertical industry icon badges (Fix 8) */
.vertical-icon-badge {
  display: inline-block;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  background: rgba(0,200,255,.08);
  color: #00c8ff;
  border: 1px solid rgba(0,200,255,.2);
}
.vertical-icon-badge--bfsi {
  background: rgba(245,200,66,.08); color: #f5c842; border-color: rgba(245,200,66,.2);
}
.vertical-icon-badge--health {
  background: rgba(0,229,160,.08); color: #00e5a0; border-color: rgba(0,229,160,.2);
}
.vertical-icon-badge--retail {
  background: rgba(0,200,255,.08); color: #00c8ff; border-color: rgba(0,200,255,.2);
}
.vertical-icon-badge--telco {
  background: rgba(29,106,245,.1); color: #5a9cf5; border-color: rgba(29,106,245,.25);
}
/* Light mode badge text contrast */
html:not([data-theme="dark"]) .vertical-icon-badge--bfsi  { color: #9a6800; border-color: rgba(180,140,0,.25); }
html:not([data-theme="dark"]) .vertical-icon-badge--health { color: #007a50; border-color: rgba(0,150,90,.25); }
html:not([data-theme="dark"]) .vertical-icon-badge--retail { color: #0069a0; border-color: rgba(0,100,160,.25); }
html:not([data-theme="dark"]) .vertical-icon-badge--telco  { color: #0052a3; border-color: rgba(0,82,163,.25); }

@media (max-width: 960px) {
  .stats-bento { grid-template-columns: repeat(2,1fr); }
  .bento-cell.tall { grid-row: span 1; }
  .bento-cell.wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .stats-bento { grid-template-columns: 1fr 1fr; }
  .bento-num { font-size: 1.4rem; }
  .floating-cta-section { padding: 36px 20px; }
}

/* ── AUDIT PASS 6 — New Components ── */

/* Fix 4 — who-we-serve consistent padding */
#who-we-serve {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Fix 8 — LinkedIn nav icon */
.nav-linkedin {
  display: flex;
  align-items: center;
  color: var(--slate);
  transition: color 0.15s;
  padding: 4px;
}
.nav-linkedin:hover { color: #00c8ff; }

/* Fix 9 — Testimonial section */
.testimonial-section { padding: 56px 0; }

.testimonial-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.testimonial-card {
  position: relative;
  padding: 36px 32px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
[data-theme="dark"] .testimonial-card {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
}
html:not([data-theme="dark"]) .testimonial-card {
  background: rgba(255,255,255,0.8);
  border-color: rgba(11,30,56,0.1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.testimonial-quote-mark {
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 56px;
  line-height: 1;
  color: #00c8ff;
  opacity: 0.3;
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin: 16px 0 20px;
  padding: 0;
  border: none;
}
.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 0;
  padding-left: 12px;
  border-top: none;
  border-left: 3px solid var(--teal);
  margin-top: 20px;
}
.testimonial-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.testimonial-org {
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
}

/* Content Fix 2 — Contact next steps */
.contact-next-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.next-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}
.next-step-num {
  font-size: 11px;
  font-weight: 700;
  color: #00c8ff;
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 6px;
  padding: 3px 8px;
  flex-shrink: 0;
  margin-top: 2px;
}
.next-step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.next-step-desc {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
}
.next-step-arrow {
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 10px;
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
  .testimonial-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .next-step-arrow { display: none; }
  .contact-next-steps { flex-direction: column; }
}

/* ── Practices H2 accent ── */
.practices-h2-accent {
  color: #00c8ff;
}
html:not([data-theme="dark"]) .practices-h2-accent {
  color: #0369a1;
}

/* ── AUDIT PASS 8 — Card Interactions ── */

/* Base transition — spring easing for alive feel */
.practice-card,
.fit-card,
.vertical-card,
.testimonial-card,
.proof-story,
.proof-diff,
.bento-cell {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease,
    background 0.2s ease !important;
  will-change: transform;
}

.practice-card { cursor: pointer; }

.practice-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4) !important;
  border-color: rgba(0,200,255,0.4) !important;
  background: rgba(255,255,255,0.09);
}
html:not([data-theme="dark"]) .practice-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 48px rgba(11,30,56,0.12) !important;
  border-color: rgba(29,106,245,0.3) !important;
  background: rgba(255,255,255,0.9);
}

/* Practice card left accent line */
.practice-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00c8ff;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.practice-card:hover::after { transform: scaleY(1); }
html:not([data-theme="dark"]) .practice-card::after { background: #1d6af5; }

/* Fit cards */
.fit-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.3) !important;
}
.fit-card--yes:hover { border-color: rgba(0,229,160,0.45) !important; }
.fit-card--no:hover  { border-color: rgba(255,255,255,0.15) !important; }
html:not([data-theme="dark"]) .fit-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(11,30,56,0.1) !important;
}

/* Vertical industry cards */
.vertical-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.3) !important;
  border-color: rgba(0,200,255,0.35) !important;
}
html:not([data-theme="dark"]) .vertical-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(11,30,56,0.1) !important;
  border-color: rgba(29,106,245,0.2);
}

/* Testimonial cards */
.testimonial-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3) !important;
  border-color: rgba(0,200,255,0.2);
}
html:not([data-theme="dark"]) .testimonial-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(11,30,56,0.1) !important;
}

/* Proof cards */
.proof-story:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25) !important;
  border-color: rgba(245,200,66,0.45) !important;
}
.proof-diff:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25) !important;
}
html:not([data-theme="dark"]) .proof-story:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(11,30,56,0.1) !important;
}

/* Bento cells */
.bento-cell:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25) !important;
}
html:not([data-theme="dark"]) .bento-cell:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(11,30,56,0.08) !important;
}

/* Reduced motion override */
@media (prefers-reduced-motion: reduce) {
  .practice-card, .fit-card, .vertical-card,
  .testimonial-card, .proof-story, .proof-diff, .bento-cell {
    transition: border-color 0.2s ease, background 0.2s ease !important;
    will-change: auto;
  }
  .practice-card:hover, .fit-card:hover, .vertical-card:hover,
  .testimonial-card:hover, .proof-story:hover, .proof-diff:hover, .bento-cell:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .practice-card::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   CARD HOVER ANIMATIONS — doubled-class high-specificity overrides
   Must remain at the bottom of the CSS file.
   Doubled class (.x.x) wins over .card or single .x selectors
   without needing !important on the transition itself.
═══════════════════════════════════════════════════════════════ */

.practice-card.practice-card,
.fit-card.fit-card,
.vertical-card.vertical-card,
.testimonial-card.testimonial-card,
.proof-story.proof-story,
.proof-diff.proof-diff,
.bento-cell.bento-cell {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s ease,
    background 0.22s ease !important;
  will-change: transform;
}

.practice-card.practice-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4) !important;
  border-color: rgba(0,200,255,0.4) !important;
}
.fit-card.fit-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.3) !important;
}
.fit-card--yes.fit-card--yes:hover {
  border-color: rgba(0,229,160,0.45) !important;
}
.vertical-card.vertical-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.3) !important;
  border-color: rgba(0,200,255,0.35) !important;
}
.testimonial-card.testimonial-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3) !important;
  border-color: rgba(0,200,255,0.2) !important;
}
.proof-story.proof-story:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25) !important;
  border-color: rgba(245,200,66,0.45) !important;
}
.proof-diff.proof-diff:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25) !important;
}
.bento-cell.bento-cell:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25) !important;
}

html:not([data-theme="dark"]) .practice-card.practice-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 24px 48px rgba(11,30,56,0.12) !important;
  border-color: rgba(29,106,245,0.3) !important;
  background: rgba(255,255,255,0.92) !important;
}
html:not([data-theme="dark"]) .fit-card.fit-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(11,30,56,0.1) !important;
}
html:not([data-theme="dark"]) .vertical-card.vertical-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(11,30,56,0.1) !important;
  border-color: rgba(29,106,245,0.2) !important;
}
html:not([data-theme="dark"]) .testimonial-card.testimonial-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(11,30,56,0.1) !important;
}
html:not([data-theme="dark"]) .proof-story.proof-story:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(11,30,56,0.1) !important;
}
html:not([data-theme="dark"]) .bento-cell.bento-cell:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(11,30,56,0.08) !important;
}

@media (prefers-reduced-motion: reduce) {
  .practice-card.practice-card,
  .fit-card.fit-card,
  .vertical-card.vertical-card,
  .testimonial-card.testimonial-card,
  .proof-story.proof-story,
  .proof-diff.proof-diff,
  .bento-cell.bento-cell {
    transition: border-color 0.2s ease, background 0.2s ease !important;
    will-change: auto;
  }
  .practice-card.practice-card:hover,
  .fit-card.fit-card:hover,
  .vertical-card.vertical-card:hover,
  .testimonial-card.testimonial-card:hover,
  .proof-story.proof-story:hover,
  .bento-cell.bento-cell:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* ── Related practice cross-link callout ── */
.related-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 44px;
  border-radius: 16px;
  border: 1px solid rgba(0,200,255,0.2);
  background: rgba(0,200,255,0.04);
}
[data-theme="dark"] .related-callout {
  border-color: rgba(0,200,255,0.2);
  background: rgba(0,200,255,0.05);
}
html:not([data-theme="dark"]) .related-callout {
  border-color: rgba(29,106,245,0.2);
  background: rgba(29,106,245,0.04);
}
.related-callout-content {
  flex: 1;
  max-width: 620px;
}
.related-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00c8ff;
  margin-bottom: 10px;
}
html:not([data-theme="dark"]) .related-eyebrow { color: #1d6af5; }
.related-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}
.related-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.related-callout-stat {
  text-align: center;
  flex-shrink: 0;
  padding: 20px 28px;
  border-radius: 12px;
  border: 1px solid rgba(0,200,255,0.15);
  background: rgba(0,200,255,0.06);
}
.related-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00c8ff;
  line-height: 1;
  letter-spacing: -1px;
}
html:not([data-theme="dark"]) .related-stat-num { color: #1d6af5; }
.related-stat-lbl {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .related-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .related-callout-stat { width: 100%; }
}

/* ═══ FIT-CARD HOVER — DEFINITIVE OVERRIDES ═══════════════════════════════
   Doubled class ensures these win over all upstream specificity.
══════════════════════════════════════════════════════════════════════════ */
.fit-card--no.fit-card--no:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.3) !important;
  border-color: rgba(148,173,196,0.4) !important;
  background: rgba(255,255,255,0.04) !important;
}
html:not([data-theme="dark"]) .fit-card--no.fit-card--no:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(11,30,56,0.1) !important;
  border-color: rgba(11,30,56,0.2) !important;
  background: rgba(255,255,255,0.8) !important;
}
.fit-card--yes.fit-card--yes:hover {
  border-color: rgba(0,229,160,0.5) !important;
  background: rgba(0,229,160,0.06) !important;
}
html:not([data-theme="dark"]) .fit-card--yes.fit-card--yes:hover {
  border-color: rgba(0,180,120,0.3) !important;
  background: rgba(0,180,120,0.04) !important;
}

/* ═══ CARD SPRING TRANSITION — DEFINITIVE FINAL OVERRIDE ════════════════
   .card class on practice-card etc. has transition: transform var(--transition).
   This neutralises it then re-applies the spring easing at highest specificity.
══════════════════════════════════════════════════════════════════════════ */
.card.practice-card,
.card.fit-card,
.card.vertical-card,
.card.testimonial-card,
.card.bento-cell {
  transition: none !important;
}
.card.practice-card,
.card.fit-card,
.card.vertical-card,
.card.testimonial-card,
.card.bento-cell,
.practice-card.practice-card,
.fit-card.fit-card,
.vertical-card.vertical-card,
.testimonial-card.testimonial-card,
.bento-cell.bento-cell {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s ease,
    background 0.22s ease !important;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .card.practice-card, .card.fit-card, .card.vertical-card,
  .card.testimonial-card, .card.bento-cell,
  .practice-card.practice-card, .fit-card.fit-card, .vertical-card.vertical-card,
  .testimonial-card.testimonial-card, .bento-cell.bento-cell {
    transition: border-color 0.2s ease, background 0.2s ease !important;
    will-change: auto;
  }
}

/* ── FIX 3: Section background rhythm ── */
#practices,
#industries {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#proof {
  background: rgba(255, 255, 255, 0.055);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
html:not([data-theme="dark"]) #who-we-serve,
html:not([data-theme="dark"]) #testimonial {
  background: #ffffff;
}
html:not([data-theme="dark"]) #practices,
html:not([data-theme="dark"]) #industries {
  background: rgba(11, 30, 56, 0.04);
  border-top: 1px solid rgba(11, 30, 56, 0.07);
  border-bottom: 1px solid rgba(11, 30, 56, 0.07);
}
html:not([data-theme="dark"]) #proof {
  background: rgba(11, 30, 56, 0.07);
  border-top: 1px solid rgba(11, 30, 56, 0.1);
  border-bottom: 1px solid rgba(11, 30, 56, 0.1);
}

/* ── FIX 4: Card icons ── */
.card-icon {
  color: var(--teal);
  margin-bottom: 10px;
  opacity: 0.9;
}
.card:hover .card-icon {
  color: var(--teal-deep);
  opacity: 1;
}

/* ── FIX 5: Card scope badges & accents ── */
.card-scope-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  background: rgba(59, 130, 217, 0.12);
  color: var(--teal);
  border: 1px solid rgba(59, 130, 217, 0.2);
}
.card-scope--featured {
  background: rgba(181, 118, 26, 0.12);
  color: var(--amber);
  border-color: rgba(181, 118, 26, 0.25);
}
.card[data-accent="purple"] { border-top: 2px solid rgba(124, 58, 237, 0.5) !important; }
.card[data-accent="blue"]   { border-top: 2px solid var(--teal) !important; }
.card[data-accent="teal"]   { border-top: 2px solid rgba(13, 148, 136, 0.6) !important; }

[data-theme="dark"] #practices,
[data-theme="dark"] #industries {
  border-top: 1px solid rgba(59, 130, 217, 0.1) !important;
  border-bottom: 1px solid rgba(59, 130, 217, 0.1) !important;
}
[data-theme="dark"] #proof {
  border-top: 1px solid rgba(59, 130, 217, 0.15) !important;
  border-bottom: 1px solid rgba(59, 130, 217, 0.15) !important;
}
