/* ============================================================
   FRIEZE KERE WANDABWA — Executive IT Leader Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  /* Core Palette */
  --navy: #0B1220;
  --navy-mid: #131D31;
  --navy-light: #1E2D4B;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-pale: #EFF6FF;
  --teal: #14B8A6;
  --teal-light: #2DD4BF;
  --teal-pale: #F0FDFA;
  --green: #22C55E;
  --green-pale: #F0FDF4;

  /* Neutrals */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --border: #E2E8F0;
  --border-mid: #CBD5E1;

  /* Text */
  --text-primary: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverse: #F8FAFC;
  --text-dim: #94A3B8;

  /* Dark surface text */
  --dark-text-primary: #F1F5F9;
  --dark-text-body: #CBD5E1;
  --dark-text-muted: #94A3B8;

  /* Typography */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .10);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .12);
  --shadow-blue: 0 4px 24px rgba(37, 99, 235, .25);

  /* Transitions */
  --speed: 220ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg-page: #0B1220;
  --bg-surface: #131D31;
  --bg-subtle: #1E2D4B;
  --border: #1E2D4B;
  --border-mid: #2A3B55;
  --text-primary: #FFFFFF;
  --text-body: #F8FAFC;
  --text-muted: #F1F5F9;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .4);
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  padding-top: var(--nav-height);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Layout Utilities ──────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-dark {
  background: var(--navy);
}

.section-alt {
  background: var(--bg-subtle);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.insights-featured-grid {
  gap: 28px;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

.text-center {
  text-align: center;
}

/* ── Section Headers ───────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--teal);
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section-title-light {
  color: var(--dark-text-primary);
}

.section-body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Navigation ────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.01em;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.nav-item-dropdown {
  list-style: none;
}

.nav-details {
  position: relative;
}

.nav-details summary::-webkit-details-marker {
  display: none;
}

.nav-summary::marker {
  content: none;
}

.nav-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.nav-summary .nav-summary-label {
  display: inline-flex;
  align-items: center;
}

.nav-chevron {
  font-size: .65rem;
  opacity: .75;
  transition: transform var(--speed) var(--ease);
}

.nav-details[open] .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}

.nav-submenu .nav-link {
  display: block;
  width: 100%;
}

.nav-submenu li {
  list-style: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  transition: all var(--speed) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 2px 12px rgba(37, 99, 235, .3);
}

.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: 0 4px 20px rgba(37, 99, 235, .4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .6);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline-dark:hover {
  background: var(--blue);
  color: #fff;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: .825rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37, 99, 235, .12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(20, 184, 166, .08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, .15);
  border: 1px solid rgba(37, 99, 235, .3);
  border-radius: 20px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--blue-light);
  letter-spacing: .08em;
  margin-bottom: 24px;
  width: fit-content;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(.7);
  }
}

.hero-name {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 4px;
}

.hero-title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: -.01em;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--dark-text-body);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-pillar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .8rem;
  color: var(--dark-text-body);
}

.hero-pillar i {
  color: var(--teal);
  font-size: .75rem;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Same cadence as home hero background slides (24s cycle, 8s stagger) */
@keyframes heroBgFadeZoom {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  12% {
    opacity: 1;
    transform: scale(1.02);
  }

  33.33% {
    opacity: 1;
    transform: scale(1.05);
  }

  46% {
    opacity: 0;
    transform: scale(1.07);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

.hero-photo-frame {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: .3;
  z-index: 0;
}

.hero-photo-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid rgba(37, 99, 235, .4);
  background: linear-gradient(135deg, #1E2D4B, #2563EB);
}

.hero-photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  pointer-events: none;
  animation: heroBgFadeZoom 24s infinite linear;
  will-change: transform, opacity;
}

.hero-portrait-slide-1 {
  animation-delay: 0s;
}

.hero-portrait-slide-2 {
  animation-delay: 8s;
}

.hero-portrait-slide-3 {
  animation-delay: 16s;
}

.hero-photo-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-mid);
  border: 2px solid var(--blue);
  border-radius: 12px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(100vw - 32px, 22rem);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

.hero-photo-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.hero-photo-badge-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.hero-photo-badge-line {
  display: block;
  font-size: 0.7rem;
  line-height: 1.3;
  color: #fff;
  font-weight: 600;
  text-wrap: balance;
}

.hero-photo-badge-text--compact {
  display: none;
}

/* Phone / narrow: badge below portrait (no overlap on face); shorter label */
@media (max-width: 900px) {
  .hero-image-wrap {
    margin-bottom: clamp(3.25rem, 11vw, 4.25rem);
  }

  .hero-photo-badge {
    top: calc(100% + 12px);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    max-width: min(94vw, 17.5rem);
  }

  .hero-photo-badge-text--full {
    display: none;
  }

  .hero-photo-badge-text--compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
  }

  .hero-photo-badge-text--compact .hero-photo-badge-line {
    font-size: 0.64rem;
    line-height: 1.25;
    text-wrap: balance;
  }
}

/* ── Metrics Strip ─────────────────────────────────────── */
.metrics-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 40px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.metric-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.metric-item:last-child {
  border-right: none;
}

.metric-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--blue-light), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: .8125rem;
  color: var(--dark-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.metrics-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

[data-theme="dark"] .card {
  background: var(--navy-mid);
  border-color: var(--border);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-mid);
}

.card-dark {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, .08);
  color: var(--dark-text-body);
}

.card-dark:hover {
  border-color: rgba(37, 99, 235, .4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}

.card-blue {
  background: var(--blue-pale);
  border-color: rgba(37, 99, 235, .15);
}

[data-theme="dark"] .card-blue {
  background: rgba(37, 99, 235, .1);
}

.card-teal {
  background: var(--teal-pale);
  border-color: rgba(20, 184, 166, .2);
}

[data-theme="dark"] .card-teal {
  background: rgba(20, 184, 166, .08);
}

/* ── Expertise Grid ────────────────────────────────────── */
.expertise-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--speed) var(--ease);
}

[data-theme="dark"] .expertise-card {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, .08);
}

.expertise-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
  transform: translateY(-2px);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.expertise-icon-blue {
  background: rgba(37, 99, 235, .1);
  color: var(--blue);
}

.expertise-icon-teal {
  background: rgba(20, 184, 166, .1);
  color: var(--teal);
}

.expertise-icon-green {
  background: rgba(34, 197, 94, .1);
  color: var(--green);
}

.expertise-icon-purple {
  background: rgba(139, 92, 246, .1);
  color: #8B5CF6;
}

.expertise-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

[data-theme="dark"] .expertise-title {
  color: var(--dark-text-primary);
}

.expertise-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-muted);
}

[data-theme="dark"] .expertise-item {
  color: var(--dark-text-muted);
}

.expertise-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Project Cards ─────────────────────────────────────── */
.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .project-card {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, .08);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue);
}

.project-card-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

[data-theme="dark"] .project-card-header {
  border-color: rgba(255, 255, 255, .06);
}

.project-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.project-card-body {
  padding: 20px 24px;
  flex: 1;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.01em;
  line-height: 1.4;
}

[data-theme="dark"] .project-title {
  color: var(--dark-text-primary);
}

.project-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
}

.project-impact {
  margin-top: 14px;
  padding: 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
}

[data-theme="dark"] .project-impact {
  background: rgba(255, 255, 255, .04);
}

.project-impact-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 3px;
}

.project-impact-text {
  font-size: .825rem;
  color: var(--text-muted);
}

.project-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

[data-theme="dark"] .project-card-footer {
  border-color: rgba(255, 255, 255, .06);
}

/* ── Certifications ─────────────────────────────────────── */
.cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--speed) var(--ease);
}

[data-theme="dark"] .cert-badge {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, .08);
}

.cert-badge:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cert-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
}

[data-theme="dark"] .cert-name {
  color: var(--dark-text-primary);
}

.cert-org {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Insights / Blog ────────────────────────────────────── */
.insight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .insight-card {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, .08);
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal);
}

.insight-banner {
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.insight-body {
  padding: 24px;
  flex: 1;
}

.insight-category {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.insight-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.01em;
  line-height: 1.4;
  margin-bottom: 10px;
}

[data-theme="dark"] .insight-title {
  color: var(--dark-text-primary);
}

.insight-excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.insight-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: .8rem;
  color: var(--text-light);
}

.insight-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

[data-theme="dark"] .insight-footer {
  border-color: rgba(255, 255, 255, .06);
}

/* ── Philosophy Quote ─────────────────────────────────── */
.philosophy-block {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.philosophy-block::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 32px;
  font-size: 8rem;
  color: rgba(37, 99, 235, .12);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.philosophy-text {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--dark-text-primary);
  font-weight: 500;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.philosophy-highlight {
  color: var(--teal);
  font-weight: 600;
}

/* ── Contact Form ───────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

[data-theme="dark"] .form-label {
  color: var(--dark-text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--text-primary);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  outline: none;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: var(--navy-light);
  border-color: rgba(255, 255, 255, .12);
  color: var(--dark-text-primary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
  background: var(--bg-surface);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Notification ───────────────────────────────────────── */
.notification {
  position: fixed;
  top: 86px;
  right: 20px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 600;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn .3s var(--ease);
  max-width: 360px;
  box-shadow: var(--shadow-lg);
}

.notification-success {
  background: var(--green);
  color: #fff;
}

.notification-error {
  background: #ef4444;
  color: #fff;
}

@keyframes slideIn {
  from {
    transform: translateX(110%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(110%);
    opacity: 0;
  }
}

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37, 99, 235, .08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Tags / Badges ──────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .775rem;
  font-weight: 600;
}

.tag-blue {
  background: rgba(37, 99, 235, .1);
  color: var(--blue);
}

.tag-teal {
  background: rgba(20, 184, 166, .12);
  color: var(--teal);
}

.tag-green {
  background: rgba(34, 197, 94, .1);
  color: var(--green);
}

[data-theme="dark"] .tag-blue {
  background: rgba(37, 99, 235, .2);
}

[data-theme="dark"] .tag-teal {
  background: rgba(20, 184, 166, .15);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 56px 0 32px;
  color: var(--dark-text-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand-role {
  font-size: .85rem;
  color: var(--dark-text-muted);
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text-muted);
  font-size: .9rem;
  transition: all var(--speed) var(--ease);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.footer-col-title {
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: var(--dark-text-muted);
  transition: color var(--speed) var(--ease);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: .8125rem;
  color: var(--dark-text-muted);
}

.footer-last-updated {
  font-size: 0.8rem;
  color: var(--dark-text-muted);
  opacity: 0.95;
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.footer-bottom-right a {
  color: var(--dark-text-muted);
  transition: color var(--speed) var(--ease);
}

.footer-bottom-right a:hover {
  color: #fff;
}

/* ── Experience / Timeline ─────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--teal), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-dot {
  position: absolute;
  left: -31px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border: 3px solid var(--bg-page);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--blue);
}

[data-theme="dark"] .timeline-dot {
  border-color: var(--navy);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.02em;
}

[data-theme="dark"] .timeline-role {
  color: var(--dark-text-primary);
}

.timeline-company {
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 2px;
  margin-bottom: 16px;
}

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 64px 0;
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--teal);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: 1.0625rem;
  color: var(--dark-text-body);
  max-width: 560px;
}

/* ── List Checks ────────────────────────────────────────── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-body);
}

[data-theme="dark"] .check-item {
  color: var(--dark-text-body);
}

.check-item::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322C55E'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Consulting Services ────────────────────────────────── */
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--speed) var(--ease);
  border-top: 4px solid transparent;
}

[data-theme="dark"] .service-card {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, .08);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-blue {
  border-top-color: var(--blue);
}

.service-card-teal {
  border-top-color: var(--teal);
}

.service-card-green {
  border-top-color: var(--green);
}

.service-card-purple {
  border-top-color: #8B5CF6;
}

/* ── Availability Badge ────────────────────────────────── */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  line-height: 1.35;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--green);
}

.availability-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Admin Dashboard ────────────────────────────────────── */
.admin-stat {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  text-align: center;
}

.admin-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}

.admin-stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-photo-frame {
    width: 280px;
    height: 280px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .metrics-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid .metric-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .08);
  }

  .metrics-grid .metric-item:nth-child(even) {
    border-right: none;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .cta-section {
    padding: 40px 24px;
  }

  .philosophy-block {
    padding: 32px 24px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 18, 32, .98);
    padding: 24px;
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-submenu {
    position: static;
    margin-top: 6px;
    margin-left: 8px;
    padding: 4px 0 8px;
    border: none;
    box-shadow: none;
    background: transparent;
    min-width: unset;
  }

  .nav-submenu .nav-link {
    padding: 10px 16px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-photo-frame {
    width: 220px;
    height: 220px;
  }
}

/* ── Dynamic Section Backgrounds ────────────────────────────── */
.bg-expertise {
  background: url('../images/bg-expertise.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-projects {
  background: url('../images/index-case-studies-bg.webp') center / cover no-repeat;
  position: relative;
}

.bg-philosophy {
  background-color: var(--navy);
  background-image: url('../images/index-philosophy-bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: relative;
}

/* Homepage philosophy: no panel fill so the photo shows through; type stays readable via shadow */
.section-dark.bg-philosophy .philosophy-block {
  transform: translateX(clamp(-10px, -1.5vw, -28px));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.section-dark.bg-philosophy .philosophy-block::before {
  color: rgba(37, 99, 235, .07);
}

.section-dark.bg-philosophy .philosophy-text {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 32px rgba(0, 0, 0, 0.78), 0 0 2px rgba(0, 0, 0, 1);
}

.section-dark.bg-philosophy .philosophy-highlight {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 0 22px rgba(0, 0, 0, 0.72);
}

.section-dark.bg-philosophy .philosophy-block > div:last-of-type,
.section-dark.bg-philosophy .philosophy-block > div:last-of-type * {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 0 24px rgba(0, 0, 0, 0.72);
}

@media (max-width: 768px) {
  .section-dark.bg-philosophy .philosophy-block {
    transform: none;
  }
}

.bg-credentials {
  background: url('../images/bg-credentials.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-insights {
  background: url('../images/bg-insights.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-connect {
  background: url('../images/22.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-about-hero {
  background: url('../images/about-bg-1.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-about-pillars {
  background: url('../images/about-bg-2.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-about-mission {
  background: url('../images/about-bg-4.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-about-identity {
  background: url('../images/about-bg-identity.webp') center/cover no-repeat fixed;
  position: relative;
}

/* About — “Who I am”: transparent framed panels, solid fill on hover / focus */
.about-identity-wrap {
  position: relative;
  z-index: 1;
}

.about-summary-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.65;
  color: var(--text-body);
}

[data-theme="dark"] .about-summary-list {
  color: var(--dark-text-body);
}

.about-identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.about-identity-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 22px);
  min-width: 0;
}

.about-hover-panel {
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.about-hover-panel--tags {
  padding-block: clamp(16px, 2.5vw, 22px);
}

.about-hover-panel:hover,
.about-hover-panel:focus-within {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-md);
}

.about-hover-panel:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.about-hover-panel .section-label {
  margin-bottom: 10px;
}

.about-hover-panel .section-title {
  margin-bottom: 18px;
}

.about-hover-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-hover-panel__icon {
  flex-shrink: 0;
}

.about-hover-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.about-hover-panel__p {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0 0 14px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}

.about-hover-panel__p--tight {
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-hover-panel__p--last {
  margin-bottom: 0;
}

.about-hover-panel__p--sm {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.about-hover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hover / focus: drop text halo so copy stays crisp on solid surface */
.about-hover-panel:hover .about-hover-panel__p,
.about-hover-panel:focus-within .about-hover-panel__p {
  text-shadow: none;
}

[data-theme="dark"] .about-hover-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(11, 18, 32, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

[data-theme="dark"] .about-hover-panel__p {
  color: var(--dark-text-body);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .about-hover-panel__title {
  color: var(--dark-text-primary);
}

[data-theme="dark"] .about-hover-panel:hover,
[data-theme="dark"] .about-hover-panel:focus-within {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .about-hover-panel:hover .about-hover-panel__p,
[data-theme="dark"] .about-hover-panel:focus-within .about-hover-panel__p {
  color: var(--dark-text-body);
  text-shadow: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .about-hover-panel {
    transition: none;
  }
}

/* Leadership page — numbers context + practice scenario */
.leadership-numbers-intro {
  margin-bottom: 24px;
  max-width: 42rem;
}

.lead-real-scenario .lead-real-scenario-card {
  max-width: 44rem;
}

.lead-real-scenario .lead-real-scenario-card .key-results-list {
  text-align: left;
}

/* Experience page — timeline roles, role cards, delivers, CTA */
.experience-layout {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.experience-main .timeline-role {
  margin-bottom: 6px;
}

.experience-main .timeline-date {
  margin-top: 0;
  margin-bottom: 16px;
}

.exp-role-card {
  margin-top: 4px;
}

.exp-role-summary {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0 0 4px;
}

[data-theme="dark"] .exp-role-summary {
  color: var(--dark-text-body);
}

.exp-subheading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

.exp-role-card > .exp-subheading:first-of-type {
  margin-top: 0;
}

[data-theme="dark"] .exp-subheading {
  color: var(--dark-text-primary);
}

.exp-role-list {
  margin: 0 0 4px 1.15rem;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.exp-role-list li {
  margin-bottom: 8px;
}

[data-theme="dark"] .exp-role-list {
  color: var(--dark-text-muted);
}

.exp-delivers .exp-delivers-list {
  margin-top: 8px;
}

.exp-page-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4px 0;
}

.exp-page-cta-text {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto 24px;
  max-width: 36rem;
}

[data-theme="dark"] .exp-page-cta-text {
  color: var(--dark-text-body);
}

.exp-page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.bg-lead-framework {
  background: url('../images/lead-bg-25.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-lead-impact {
  background: url('../images/lead-bg-26.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-lead-explore {
  background: url('../images/lead-bg-28.webp') center/cover no-repeat fixed;
  position: relative;
}

/* Leadership hero: full-frame photo (no crop) — WebP from dd.jpg */
.bg-lead-hero {
  position: relative;
  background-color: var(--navy);
  background-image: url('../images/lead-hero-dd.webp');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Leadership: hero + philosophy + core belief — one background (lead-hero-dd.webp) */
.page-hero.bg-lead-hero.lead-hero-combined {
  padding-top: clamp(56px, 10vw, 88px);
  padding-bottom: clamp(72px, 12vw, 120px);
}

.lead-hero-combined-inner {
  position: relative;
  z-index: 1;
}

.lead-hero-combined-intro {
  margin-bottom: clamp(36px, 6vw, 64px);
}

.lead-hero-combined-grid {
  gap: clamp(32px, 4vw, 64px) !important;
  align-items: center;
}

.lead-hero-combined-attribution {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
}

.lead-hero-combined-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.lead-hero-combined-role {
  color: var(--dark-text-muted);
  font-size: 0.8rem;
}

.lead-hero-belief-col .section-title.section-title-light {
  margin-bottom: 16px;
}

.lead-hero-belief-col .section-body.lead-hero-belief-text {
  color: var(--dark-text-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 0 0 18px;
  max-width: 38rem;
}

.lead-hero-belief-col .section-body.lead-hero-belief-text:last-child {
  margin-bottom: 0;
}

.bg-experience {
  background: url('../images/bg-footer.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-proj-1 {
  background: url('../images/proj-bg-56.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-proj-2 {
  background: url('../images/proj-bg-57.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-proj-3 {
  background: url('../images/proj-bg-58.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-proj-4 {
  background: url('../images/proj-bg-59.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-proj-cta {
  background: url('../images/proj-bg-60.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-cert-hero {
  background: url('../images/cert-bg-61.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-cert-prof {
  background: url('../images/cert-bg-63.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-cert-edu {
  background: url('../images/cert-bg-64.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-cert-cta {
  background: url('../images/cert-bg-65.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-insight-hero {
  background: url('../images/insight-bg-26.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-insight-1 {
  background: url('../images/insight-bg-27.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-insight-2 {
  background: url('../images/insight-bg-28.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-insight-cta {
  background: url('../images/insight-bg-29.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-consult-hero {
  background: url('../images/consult-bg-1.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-consult-1 {
  background: url('../images/consult-bg-2.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-consult-2 {
  background: url('../images/consult-bg-3.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-consult-3 {
  background: url('../images/consult-bg-4.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-consult-cta {
  background: url('../images/consult-bg-5.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-contact-hero {
  background: url('../images/contact-bg-58.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-contact-1 {
  background: url('../images/contact-bg-59.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-contact-2 {
  background: url('../images/contact-bg-60.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-contact-3 {
  background: url('../images/contact-bg-61.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-contact-4 {
  background: url('../images/contact-bg-63.webp') center/cover no-repeat fixed;
  position: relative;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Light mode overlays: swept to 0 visibility on the right side identically to the home page */
.section.bg-expertise .bg-overlay,
.section.bg-credentials .bg-overlay,
.section.bg-connect .bg-overlay,
.section.bg-about-mission .bg-overlay,
.section.bg-about-identity .bg-overlay,
.section.bg-lead-impact .bg-overlay,
.section-sm.bg-lead-explore .bg-overlay,
.section.bg-experience .bg-overlay,
.section.bg-proj-1 .bg-overlay,
.section.bg-proj-3 .bg-overlay,
.section-sm.bg-proj-cta .bg-overlay,
.section.bg-cert-prof .bg-overlay,
.section.bg-cert-edu .bg-overlay,
.section-sm.bg-cert-cta .bg-overlay,
.section.bg-insight-1 .bg-overlay,
.section-sm.bg-insight-cta .bg-overlay,
.section.bg-consult-1 .bg-overlay,
.section.bg-consult-cta .bg-overlay,
.section.bg-contact-1 .bg-overlay,
.section.bg-contact-2 .bg-overlay {
  background: linear-gradient(to right, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.6) 40%, rgba(248, 250, 252, 0) 80%);
}

.section-alt.bg-insights .bg-overlay,
.section-alt.bg-about-pillars .bg-overlay,
.section-alt.bg-lead-framework .bg-overlay,
.section-alt.bg-proj-2 .bg-overlay,
.section-alt.bg-proj-4 .bg-overlay,
.section-alt.bg-insight-2 .bg-overlay,
.section-alt.bg-consult-3 .bg-overlay {
  background: linear-gradient(to right, rgba(241, 245, 249, 0.95) 0%, rgba(241, 245, 249, 0.6) 40%, rgba(241, 245, 249, 0) 80%);
}

/* Case studies: minimal sweep — photo reads clearly behind columns */
.section-alt.bg-projects .bg-overlay {
  background: linear-gradient(to right, rgba(241, 245, 249, .14) 0%, rgba(241, 245, 249, .06) 30%, rgba(241, 245, 249, 0) 62%);
}

.page-hero.bg-about-hero .bg-overlay,
.page-hero.bg-lead-hero .bg-overlay,
.page-hero.bg-experience .bg-overlay,
.page-hero.bg-projects .bg-overlay,
.page-hero.bg-cert-hero .bg-overlay,
.section-dark.bg-consult-2 .bg-overlay,
.page-hero.bg-insight-hero .bg-overlay,
.page-hero.bg-consult-hero .bg-overlay,
.page-hero.bg-contact-hero .bg-overlay,
.section-dark.bg-contact-3 .bg-overlay,
.section-dark.bg-contact-4 .bg-overlay {
  background: linear-gradient(to right, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.6) 40%, rgba(11, 18, 32, 0) 80%);
}

/* How I think: softer sweep so full-frame photo (contain) stays visible */
.section-dark.bg-philosophy .bg-overlay {
  background: linear-gradient(to right, rgba(11, 18, 32, 0.42) 0%, rgba(11, 18, 32, 0.22) 45%, rgba(11, 18, 32, 0) 78%);
}

/* Dark mode overlays: identical pattern to home page hero */
[data-theme="dark"] .section.bg-expertise .bg-overlay,
[data-theme="dark"] .section.bg-credentials .bg-overlay,
[data-theme="dark"] .section.bg-connect .bg-overlay,
[data-theme="dark"] .section.bg-about-mission .bg-overlay,
[data-theme="dark"] .section.bg-about-identity .bg-overlay,
[data-theme="dark"] .section.bg-lead-impact .bg-overlay,
[data-theme="dark"] .section-sm.bg-lead-explore .bg-overlay,
[data-theme="dark"] .section.bg-experience .bg-overlay,
[data-theme="dark"] .section.bg-proj-1 .bg-overlay,
[data-theme="dark"] .section.bg-proj-3 .bg-overlay,
[data-theme="dark"] .section-sm.bg-proj-cta .bg-overlay,
[data-theme="dark"] .section.bg-cert-prof .bg-overlay,
[data-theme="dark"] .section.bg-cert-edu .bg-overlay,
[data-theme="dark"] .section-sm.bg-cert-cta .bg-overlay,
[data-theme="dark"] .section.bg-insight-1 .bg-overlay,
[data-theme="dark"] .section-sm.bg-insight-cta .bg-overlay,
[data-theme="dark"] .section.bg-consult-1 .bg-overlay,
[data-theme="dark"] .section.bg-consult-cta .bg-overlay,
[data-theme="dark"] .section.bg-contact-1 .bg-overlay,
[data-theme="dark"] .section.bg-contact-2 .bg-overlay,
[data-theme="dark"] .page-hero.bg-about-hero .bg-overlay,
[data-theme="dark"] .page-hero.bg-lead-hero .bg-overlay,
[data-theme="dark"] .page-hero.bg-experience .bg-overlay,
[data-theme="dark"] .page-hero.bg-projects .bg-overlay,
[data-theme="dark"] .page-hero.bg-cert-hero .bg-overlay,
[data-theme="dark"] .section-dark.bg-consult-2 .bg-overlay,
[data-theme="dark"] .page-hero.bg-insight-hero .bg-overlay,
[data-theme="dark"] .page-hero.bg-consult-hero .bg-overlay,
[data-theme="dark"] .page-hero.bg-contact-hero .bg-overlay,
[data-theme="dark"] .section-dark.bg-contact-3 .bg-overlay,
[data-theme="dark"] .section-dark.bg-contact-4 .bg-overlay {
  background: linear-gradient(to right, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.6) 40%, rgba(11, 18, 32, 0) 80%) !important;
}

[data-theme="dark"] .section-alt.bg-insights .bg-overlay,
[data-theme="dark"] .section-alt.bg-about-pillars .bg-overlay,
[data-theme="dark"] .section-alt.bg-lead-framework .bg-overlay,
[data-theme="dark"] .section-alt.bg-proj-2 .bg-overlay,
[data-theme="dark"] .section-alt.bg-proj-4 .bg-overlay,
[data-theme="dark"] .section-alt.bg-insight-2 .bg-overlay,
[data-theme="dark"] .section-alt.bg-consult-3 .bg-overlay {
  background: linear-gradient(to right, rgba(19, 29, 49, 0.9) 0%, rgba(19, 29, 49, 0.6) 40%, rgba(19, 29, 49, 0) 80%) !important;
}

[data-theme="dark"] .section-alt.bg-projects .bg-overlay {
  background: linear-gradient(to right, rgba(19, 29, 49, .22) 0%, rgba(19, 29, 49, .08) 30%, rgba(19, 29, 49, 0) 62%) !important;
}

[data-theme="dark"] .section-dark.bg-philosophy .bg-overlay {
  background: linear-gradient(to right, rgba(11, 18, 32, 0.5) 0%, rgba(11, 18, 32, 0.26) 45%, rgba(11, 18, 32, 0) 78%) !important;
}

/* ── Footer Background Overlay matching Home Page ── */
.bg-footer {
  background: url('../images/bg-footer.webp') center/cover no-repeat fixed;
  position: relative;
}

/* Consulting: theme-aware body background (no hard-coded dark / fixed on body) */
.consulting-page-body {
  background:
    linear-gradient(rgba(248, 250, 252, 0.93), rgba(241, 245, 249, 0.95)),
    url('../images/opt_more_1.webp') center / cover no-repeat scroll;
  background-color: var(--bg-page);
}

[data-theme="dark"] .consulting-page-body {
  background:
    linear-gradient(rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.94)),
    url('../images/opt_more_1.webp') center / cover no-repeat scroll;
  background-color: var(--bg-page);
}

/* Consulting grid: override inline “always dark” card styles so light theme stays readable */
.consulting-page-body main .grid-2 > .card.flex {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
}

.consulting-page-body main .grid-2 > .card h3 {
  color: var(--text-primary) !important;
}

.consulting-page-body main .grid-2 > .card p {
  color: var(--text-body) !important;
}

.consulting-page-body main .grid-2 > .card .btn-outline-dark {
  color: var(--text-primary) !important;
  border-color: var(--border-mid) !important;
}

[data-theme="dark"] .consulting-page-body main .grid-2 > .card.flex {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .consulting-page-body main .grid-2 > .card h3 {
  color: #fff !important;
}

[data-theme="dark"] .consulting-page-body main .grid-2 > .card p {
  color: var(--dark-text-body) !important;
}

[data-theme="dark"] .consulting-page-body main .grid-2 > .card .btn-outline-dark {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
}

@media (max-width: 600px) {
  .consulting-page-body main .grid-2 .card > div:first-child {
    height: clamp(140px, 42vw, 200px) !important;
    min-height: 120px;
  }
}

/* Phones / tablets: fixed parallax is heavy on mobile Safari; keep imagery, drop fixed */
@media (max-width: 900px) {
  .bg-expertise,
  .bg-credentials,
  .bg-insights,
  .bg-connect,
  .bg-about-hero,
  .bg-about-pillars,
  .bg-about-mission,
  .bg-about-identity,
  .bg-lead-framework,
  .bg-lead-impact,
  .bg-lead-explore,
  .bg-experience,
  .bg-proj-1,
  .bg-proj-2,
  .bg-proj-3,
  .bg-proj-4,
  .bg-proj-cta,
  .bg-cert-hero,
  .bg-cert-prof,
  .bg-cert-edu,
  .bg-cert-cta,
  .bg-insight-hero,
  .bg-insight-1,
  .bg-insight-2,
  .bg-insight-cta,
  .bg-consult-hero,
  .bg-consult-1,
  .bg-consult-2,
  .bg-consult-3,
  .bg-consult-cta,
  .bg-contact-hero,
  .bg-contact-1,
  .bg-contact-2,
  .bg-contact-3,
  .bg-contact-4,
  .bg-footer {
    background-attachment: scroll !important;
  }
}

.footer.bg-footer .bg-overlay {
  background: linear-gradient(to right, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.6) 40%, rgba(11, 18, 32, 0) 80%);
}

/* ── Add extreme wording shadows identical to home page for perfect blending ── */
.section-title,
.section-label,
.section-body,
.page-hero-title,
.page-hero-desc,
.page-hero-label {
  text-shadow: 0 4px 12px rgba(255, 255, 255, 1), 0 2px 4px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .section-label,
[data-theme="dark"] .section-body,
[data-theme="dark"] .page-hero-title,
[data-theme="dark"] .page-hero-desc,
[data-theme="dark"] .page-hero-label,
.section-dark .section-title,
.section-dark .section-label,
.section-dark .section-body,
.page-hero.bg-about-hero .page-hero-title,
.page-hero.bg-about-hero .page-hero-desc,
.page-hero.bg-about-hero .page-hero-label,
.page-hero.bg-about-hero .about-hero-role-signal,
.page-hero.bg-about-hero .about-hero-role-scope .page-hero-desc,
.page-hero.bg-about-hero .about-hero-role-scope .section-label,
.page-hero.bg-lead-hero .page-hero-title,
.page-hero.bg-lead-hero .page-hero-desc,
.page-hero.bg-lead-hero .page-hero-label,
.page-hero.bg-experience .page-hero-title,
.page-hero.bg-experience .page-hero-desc,
.page-hero.bg-experience .page-hero-label,
.page-hero.bg-projects .page-hero-title,
.page-hero.bg-projects .page-hero-lead,
.page-hero.bg-projects .page-hero-desc,
.page-hero.bg-projects .page-hero-label,
.page-hero.bg-cert-hero .page-hero-title,
.page-hero.bg-cert-hero .page-hero-desc,
.page-hero.bg-cert-hero .page-hero-label,
.page-hero.bg-insight-hero .page-hero-title,
.page-hero.bg-insight-hero .page-hero-desc,
.page-hero.bg-insight-hero .page-hero-label,
.page-hero.bg-consult-hero .page-hero-title,
.page-hero.bg-consult-hero .page-hero-desc,
.page-hero.bg-consult-hero .page-hero-label,
.page-hero.bg-contact-hero .page-hero-title,
.page-hero.bg-contact-hero .page-hero-desc,
.page-hero.bg-contact-hero .page-hero-label {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.3) !important;
}

/* Make cards semi-transparent to allow backgrounds to show through perfectly */
.expertise-card,
.project-card,
.cert-badge,
.insight-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .expertise-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .cert-badge,
[data-theme="dark"] .insight-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.philosophy-block {
  background: rgba(11, 18, 32, 0.7);
  backdrop-filter: blur(8px);
}

/* Force perfect readability for all paragraph and small text inside dark mode cards */
[data-theme="dark"] .expertise-card *,
[data-theme="dark"] .project-card *,
[data-theme="dark"] .cert-badge *,
[data-theme="dark"] .insight-card *,
[data-theme="dark"] .philosophy-block * {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}

/* --- ENHANCED FOOTER VISIBILITY --- */
.footer-brand-name {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 1) !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
}

.footer-brand-role {
  color: var(--teal-light) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 1) !important;
  font-size: 0.95rem !important;
  margin-bottom: 12px !important;
}

.footer p {
  color: #f8fafc !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 1) !important;
  font-size: 0.95rem !important;
}

.footer .footer-col-title {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

.footer .footer-links a,
.footer a {
  color: #e2e8f0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1) !important;
  font-size: 0.95rem !important;
}

.footer .footer-links a:hover,
.footer a:hover {
  color: var(--teal-light) !important;
}

.footer span {
  color: #e2e8f0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin-top: 30px !important;
  padding-top: 20px !important;
  color: #f8fafc !important;
}

.footer-bottom a {
  color: #f8fafc !important;
}

.footer-social a {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ── Homepage: proof-driven brand (hero, about, results, case studies) ── */
.hero-headline {
  font-size: clamp(1.65rem, 3.6vw, 2.65rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  max-width: 36rem;
}

.hero-proof-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 26rem;
}

.hero-proof-list li {
  position: relative;
  padding-left: 1.25rem;
  color: #e2e8f0;
  font-size: .95rem;
  line-height: 1.45;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .85);
}

.hero-proof-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, .35);
}

/* Hero trust strip (below fold of hero visual) */
.hero .hero-trust-bar {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(8px);
}

.hero-trust-bar-text {
  margin: 0;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e2e8f0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Core principle signature */
.signature-principle-section {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-subtle) 100%);
}

.core-principle-box {
  max-width: 40rem;
  margin: 0 auto;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
}

.core-principle-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.core-principle-quote {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.core-principle-quote--second {
  margin-top: 6px;
  font-weight: 600;
  color: var(--text-muted);
}

[data-theme="dark"] .signature-principle-section {
  background: linear-gradient(180deg, var(--navy) 0%, #0f172a 100%);
}

[data-theme="dark"] .core-principle-quote {
  color: #f8fafc;
}

[data-theme="dark"] .core-principle-quote--second {
  color: #cbd5e1;
}

.quick-answer-credibility {
  margin: 16px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
}

[data-theme="dark"] .quick-answer-credibility {
  color: #94a3b8;
}

.section-about-brand {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.section-about-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .52) 0%, rgba(248, 250, 252, .42) 45%, rgba(255, 255, 255, .55) 100%),
    url('../images/about-brand-bg.webp') center 22% / cover no-repeat;
}

.section-about-brand .container {
  position: relative;
  z-index: 1;
}

.about-brand-body {
  max-width: 40rem;
}

.about-brand-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 1rem;
}

.about-brand-focus {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.about-brand-cta {
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}

.key-results-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.key-results-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(248, 250, 252, .58) 0%, rgba(241, 245, 249, .48) 50%, rgba(248, 250, 252, .55) 100%),
    url('../images/key-results-bg.webp');
  background-size: 100% 100%, cover;
  background-position: 0 0, center 24%;
  background-repeat: no-repeat, no-repeat;
}

.key-results-section .container {
  position: relative;
  z-index: 1;
}

.key-results-section .key-results-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 24px 28px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.key-results-list li {
  position: relative;
  padding: 10px 0 10px 1.35rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.key-results-list li:last-child {
  border-bottom: none;
}

.key-results-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}

/* Quick answer (AI / SERP) */
.quick-answer-section {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  background: var(--bg-page);
}

.quick-answer-card {
  max-width: 48rem;
  margin: 0 auto;
  padding: 26px 30px;
}

.quick-answer-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}

.quick-answer-text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--text-primary);
}

[data-theme="dark"] .quick-answer-section {
  background: var(--navy);
}

[data-theme="dark"] .quick-answer-text {
  color: #e2e8f0;
}

/* Case study key takeaway */
.case-takeaway {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.case-takeaway-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.case-takeaway p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--text-primary);
}

/* FAQ — full-width photo always visible; text panels optional per group */
.faq-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.faq-section.section-alt {
  /* Let photo layer read clearly */
  background-color: transparent;
}

.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #e8edf4;
  background-image:
    linear-gradient(135deg, rgba(248, 250, 252, 0.52) 0%, rgba(241, 245, 249, 0.45) 50%, rgba(248, 250, 252, 0.52) 100%),
    url('../images/faq-bg.webp');
  background-size: 100% 100%, contain;
  background-position: 0 0, center center;
  background-repeat: no-repeat, no-repeat;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .faq-section {
  background-color: transparent;
}

[data-theme="dark"] .faq-section::before {
  background-color: #0f172a;
  background-image:
    linear-gradient(135deg, rgba(11, 18, 32, 0.28) 0%, rgba(15, 23, 42, 0.22) 100%),
    url('../images/faq-bg.webp');
  background-size: 100% 100%, contain;
  background-position: 0 0, center center;
  background-repeat: no-repeat, no-repeat;
}

/* FAQ — grouped accordion, document-style (low chrome) */
.faq-section .faq-intro {
  margin-bottom: 32px;
  max-width: 40rem;
}

.faq-grouped {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.faq-category {
  margin: 0;
}

.faq-category-title {
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.faq-category-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

/*
 * FAQ groups over the section photo (infra + reliability): no frosted board;
 * row dividers + text halos keep copy readable on the portrait.
 */
.faq-category--infra .faq-category-items,
.faq-category--reliability .faq-category-items {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.faq-category--infra .faq-category-title,
.faq-category--reliability .faq-category-title {
  border-bottom-color: rgba(255, 255, 255, 0.35);
  color: rgba(15, 23, 42, 0.75);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .faq-category--infra .faq-category-title,
[data-theme="dark"] .faq-category--reliability .faq-category-title {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.faq-category--infra .faq-item,
.faq-category--reliability .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .faq-category--infra .faq-item,
[data-theme="dark"] .faq-category--reliability .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.faq-category--infra .faq-item:last-child,
.faq-category--reliability .faq-item:last-child {
  border-bottom: none;
}

.faq-category--infra .faq-summary,
.faq-category--infra .faq-answer,
.faq-category--reliability .faq-summary,
.faq-category--reliability .faq-answer {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] .faq-category--infra .faq-summary,
[data-theme="dark"] .faq-category--infra .faq-answer,
[data-theme="dark"] .faq-category--reliability .faq-summary,
[data-theme="dark"] .faq-category--reliability .faq-answer {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.65);
}

.faq-category .faq-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.faq-category .faq-item:last-child {
  border-bottom: none;
}

.faq-item .faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px 14px 2.25rem;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text-primary);
  position: relative;
  transition: background 0.15s ease;
}

.faq-item .faq-summary:hover {
  background: rgba(15, 23, 42, 0.03);
}

.faq-category--infra .faq-item .faq-summary:hover,
.faq-category--reliability .faq-item .faq-summary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.faq-item .faq-summary::-webkit-details-marker {
  display: none;
}

/* Minimal chevron */
.faq-item .faq-summary::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -3px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  opacity: 0.75;
}

.faq-item[open] .faq-summary::before {
  transform: rotate(45deg);
  margin-top: -1px;
}

.faq-item .faq-answer {
  margin: 0;
  padding: 0 16px 14px 2.25rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-muted);
}

[data-theme="dark"] .faq-category-title {
  color: #94a3b8;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .faq-category-items {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Higher specificity than rule above — photo FAQ groups stay clear in dark mode */
[data-theme="dark"] .faq-category--infra .faq-category-items,
[data-theme="dark"] .faq-category--reliability .faq-category-items {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

[data-theme="dark"] .faq-category .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .faq-item .faq-summary {
  color: #f1f5f9;
}

[data-theme="dark"] .faq-item .faq-summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .faq-category--infra .faq-item .faq-summary:hover,
[data-theme="dark"] .faq-category--reliability .faq-item .faq-summary:hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .faq-item .faq-summary::before {
  border-color: #94a3b8;
}

[data-theme="dark"] .faq-item .faq-answer {
  color: #cbd5e1;
}

/* Case studies — internal link intro line on photo */
.case-studies-leadership-link {
  margin: 12px 0 0;
  max-width: 40rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #0b1220;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.72);
}

.case-studies-leadership-link a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-studies-leadership-link a:hover {
  color: #1e40af;
}

[data-theme="dark"] .case-studies-leadership-link {
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 18px rgba(0, 0, 0, 0.72);
}

[data-theme="dark"] .case-studies-leadership-link a {
  color: #93c5fd;
}

/* CTA identity line on dark band */
.cta-identity-line {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
  color: #e2e8f0;
  max-width: 520px;
  margin: 0 auto 14px;
  padding: 0 12px;
}

.case-studies-grid {
  align-items: stretch;
}

/* Case studies on photo: glass by default; solid frosted panel on hover/focus for readability */
.section-alt.bg-projects .project-card {
  position: relative;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    backdrop-filter 0.42s ease,
    -webkit-backdrop-filter 0.42s ease;
}

.section-alt.bg-projects .project-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: scaleY(0.55);
  transform-origin: center top;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.section-alt.bg-projects .case-studies-grid .project-card:nth-child(1)::before {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
}

.section-alt.bg-projects .case-studies-grid .project-card:nth-child(2)::before {
  background: linear-gradient(180deg, #2dd4bf 0%, #0f766e 100%);
}

.section-alt.bg-projects .case-studies-grid .project-card:nth-child(3)::before {
  background: linear-gradient(180deg, #a78bfa 0%, #6d28d9 100%);
}

.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  transform: translateY(-4px);
}

.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active)::before {
  opacity: 1;
  transform: scaleY(1);
}

[data-theme="dark"] .section-alt.bg-projects .project-card {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) {
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: translateY(-4px);
}

/* Raised panel: drop photo-readability halos; use normal theme colors */
.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-title,
.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-text,
.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-result-list li,
.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-takeaway p {
  color: var(--text-primary);
  text-shadow: none;
}

.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-label {
  color: var(--text-muted);
  opacity: 1;
  text-shadow: none;
}

.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-tag {
  color: var(--blue);
  text-shadow: none;
}

.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-card-header,
.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-card-footer {
  border-color: var(--border);
}

.section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-card-footer .btn-outline-dark {
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.45);
  text-shadow: none;
}

[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-title,
[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-text,
[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-result-list li,
[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-takeaway p {
  color: var(--dark-text-primary);
  text-shadow: none !important;
}

[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .case-label {
  color: var(--dark-text-muted);
  text-shadow: none !important;
}

[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-tag {
  color: #93c5fd;
  text-shadow: none !important;
}

[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-card-header,
[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-card-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) .project-card-footer .btn-outline-dark {
  color: #bfdbfe;
  border-color: rgba(147, 197, 253, 0.55);
  text-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {

  .section-alt.bg-projects .project-card,
  .section-alt.bg-projects .project-card::before {
    transition-duration: 0.01ms;
  }

  .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active),
  [data-theme="dark"] .section-alt.bg-projects .project-card:is(:hover, :focus-within, :active) {
    transform: none;
  }
}

.section-alt.bg-projects .project-card-header,
.section-alt.bg-projects .project-card-footer {
  border-color: rgba(0, 0, 0, .08);
}

[data-theme="dark"] .section-alt.bg-projects .project-card-header,
[data-theme="dark"] .section-alt.bg-projects .project-card-footer {
  border-color: rgba(255, 255, 255, .1);
}

.section-alt.bg-projects .case-studies-intro {
  max-width: 38rem;
  margin: 0 0 28px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #0b1220;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 28px rgba(255, 255, 255, 0.75), 0 1px 2px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .section-alt.bg-projects .case-studies-intro {
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 0, 0, 0.7);
}

.section-alt.bg-projects .project-title,
.section-alt.bg-projects .case-text,
.section-alt.bg-projects .case-result-list li,
.section-alt.bg-projects .case-takeaway p {
  color: #0b1220;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 24px rgba(255, 255, 255, 0.72), 0 1px 2px rgba(255, 255, 255, 0.88);
}

.section-alt.bg-projects .case-text {
  font-size: 1rem;
  line-height: 1.65;
}

.section-alt.bg-projects .case-result-list li {
  font-weight: 500;
}

.section-alt.bg-projects .case-takeaway {
  border-top-color: rgba(15, 23, 42, 0.15);
}

.section-alt.bg-projects .case-takeaway-label {
  color: #0f766e;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .section-alt.bg-projects .case-takeaway {
  border-top-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .section-alt.bg-projects .case-takeaway-label {
  color: #5eead4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.section-alt.bg-projects .case-label {
  color: #0f172a;
  opacity: 0.92;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.92), 0 0 20px rgba(255, 255, 255, 0.68);
}

.section-alt.bg-projects .project-tag {
  color: #1d4ed8;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.75);
}

.section-alt.bg-projects .project-card-footer .btn-outline-dark {
  color: #1e3a8a;
  border-color: #1e40af;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.92);
}

.section-alt.bg-projects .project-card-footer .btn-outline-dark:hover {
  color: #fff;
  text-shadow: none;
}

[data-theme="dark"] .section-alt.bg-projects .project-title,
[data-theme="dark"] .section-alt.bg-projects .case-text,
[data-theme="dark"] .section-alt.bg-projects .case-result-list li,
[data-theme="dark"] .section-alt.bg-projects .case-takeaway p {
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.72);
}

[data-theme="dark"] .section-alt.bg-projects .case-label {
  color: #e2e8f0;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 18px rgba(0, 0, 0, 0.68);
}

[data-theme="dark"] .section-alt.bg-projects .project-tag {
  color: #93c5fd;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.68);
}

[data-theme="dark"] .section-alt.bg-projects .project-card-footer .btn-outline-dark {
  color: #bfdbfe;
  border-color: rgba(147, 197, 253, 0.65);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
}

[data-theme="dark"] .section-alt.bg-projects .project-card-footer .btn-outline-dark:hover {
  color: #fff;
  text-shadow: none;
}

.case-block {
  margin-bottom: 16px;
}

.case-block:last-of-type {
  margin-bottom: 0;
}

.case-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-body);
}

.case-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-result-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 6px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.case-result-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

.section-brand-visuals {
  background: var(--bg-page);
}

.brand-visual-grid {
  margin-bottom: 28px;
}

.brand-svg-panel {
  padding: 20px 22px 16px;
}

.brand-svg-title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-diagram {
  width: 100%;
  height: auto;
  display: block;
}

.brand-infra-shot {
  margin: 0;
  padding: 20px 22px 18px;
}

.brand-infra-shot figcaption {
  margin-top: 12px;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.how-i-think-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-i-think-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--dark-text-body);
  font-size: .95rem;
  line-height: 1.55;
}

.how-i-think-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
}

/* About mission: light overlay — use body text, not dark-theme list colours */
.bg-about-mission .how-i-think-list li {
  color: var(--text-body);
}

[data-theme="dark"] .bg-about-mission .how-i-think-list li {
  color: var(--dark-text-body);
}

[data-theme="dark"] .section-about-brand {
  background-color: var(--navy-mid);
}

[data-theme="dark"] .section-about-brand::before {
  background:
    linear-gradient(135deg, rgba(11, 18, 32, .72) 0%, rgba(15, 23, 42, .68) 100%),
    url('../images/about-brand-bg.webp') center 22% / cover no-repeat;
}

[data-theme="dark"] .key-results-section {
  background-color: var(--navy);
}

[data-theme="dark"] .key-results-section::before {
  background-image:
    linear-gradient(135deg, rgba(11, 18, 32, .7) 0%, rgba(15, 23, 42, .65) 100%),
    url('../images/key-results-bg.webp');
  background-size: 100% 100%, cover;
  background-position: 0 0, center 24%;
  background-repeat: no-repeat, no-repeat;
}

[data-theme="dark"] .section-brand-visuals {
  background: var(--bg-page);
}

.capabilities-list {
  list-style: none;
  margin: 0;
  padding: 24px 28px;
  max-width: 42rem;
}

.capabilities-list li {
  position: relative;
  padding: 12px 0 12px 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.capabilities-list li:last-child {
  border-bottom: none;
}

.capabilities-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.section-testimonials {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-page);
}

.section-testimonials .container {
  position: relative;
  z-index: 1;
}

.section-testimonials .section-title,
.section-testimonials .section-label {
  text-shadow: none !important;
}

[data-theme="dark"] .section-testimonials .section-title,
[data-theme="dark"] .section-testimonials .section-label {
  text-shadow: none !important;
}

.testimonials-split {
  display: grid;
  /* Copy stays readable-width; photo column takes everything to the container’s right edge */
  grid-template-columns: minmax(0, min(30rem, 100%)) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.testimonials-copy {
  min-width: 0;
}

.testimonials-copy .testimonial-card {
  max-width: 100%;
}

.testimonials-visual {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}

.testimonials-photo-frame {
  width: 100%;
  margin-left: auto;
  height: clamp(340px, 62vh, 720px);
  max-height: min(72vh, 720px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

[data-theme="dark"] .testimonials-photo-frame {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

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

  .testimonials-visual {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .testimonials-photo-frame {
    height: clamp(300px, 52vh, 560px);
    max-height: min(60vh, 560px);
  }
}

.testimonial-card {
  max-width: 40rem;
  margin-top: 8px;
  padding: 28px 32px;
}

.section-testimonials .testimonial-card.card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.section-testimonials .testimonial-card.card:hover {
  box-shadow: none;
  transform: none;
  border: none;
}

[data-theme="dark"] .section-testimonials .testimonial-card.card {
  background: transparent;
  border: none;
}

.testimonial-quote {
  margin: 0 0 12px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-body);
  font-style: italic;
}

.testimonial-cite {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .95rem;
}

.testimonial-cite-name {
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-cite-name::before {
  content: '— ';
}

.testimonial-cite-role {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 1.1rem;
}

[data-theme="dark"] .testimonial-cite-role {
  color: var(--dark-text-muted);
}

.testimonial-note {
  margin: 16px 0 0;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Testimonials: two-panel horizontal slide (3 quotes per panel) — copy column only */
.testimonial-carousel {
  position: relative;
  margin-top: 8px;
}

.testimonial-carousel-viewport {
  position: relative;
  overflow: hidden;
}

.testimonial-carousel-track {
  display: flex;
  width: 200%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-carousel-track.is-panel-1 {
  transform: translateX(-50%);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-carousel-track {
    transition: none;
  }
}

.testimonial-panel {
  width: 50%;
  flex: 0 0 50%;
  box-sizing: border-box;
  padding-right: clamp(8px, 2vw, 16px);
}

.testimonial-panel:last-child {
  padding-right: 0;
  padding-left: clamp(8px, 2vw, 16px);
}

.key-results-section .section-title {
  margin-bottom: 24px;
}

.testimonial-panel-item {
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
}

.testimonial-panel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.testimonial-panel .testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 6px;
}

.testimonial-panel .testimonial-cite {
  font-size: 0.86rem;
  gap: 2px;
}

.testimonial-panel .testimonial-cite-role {
  font-size: 0.8rem;
}

[data-theme="dark"] .testimonial-panel-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.testimonial-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  align-items: center;
}

.testimonial-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--border-mid);
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-carousel-dot:hover,
.testimonial-carousel-dot:focus-visible {
  background: var(--blue);
  outline: none;
  box-shadow: 0 0 0 2px var(--bg-page), 0 0 0 4px var(--blue);
}

.testimonial-carousel-dot.is-active {
  background: var(--blue);
  transform: scale(1.2);
}

[data-theme="dark"] .testimonial-carousel-dot {
  background: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .testimonial-carousel-dot.is-active,
[data-theme="dark"] .testimonial-carousel-dot:hover,
[data-theme="dark"] .testimonial-carousel-dot:focus-visible {
  background: var(--teal-light);
}

/* ── LinkedIn posts carousel (home) ─────────────────────── */
.linkedin-posts-carousel {
  --linkedin-pages: 1;
  margin-top: 8px;
}

.linkedin-posts-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  touch-action: pan-y pinch-zoom;
}

.linkedin-posts-track {
  display: flex;
  width: 100%;
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .linkedin-posts-track {
    transition: none;
  }
}

/* One “page” = up to 3 cards (desktop) or 1 card (narrow) */
.linkedin-posts-page {
  flex: 0 0 calc(100% / var(--linkedin-pages, 1));
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
  padding: 0 clamp(4px, 1vw, 10px);
  box-sizing: border-box;
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 960px) {
  .linkedin-posts-page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.linkedin-post-slide-wrap {
  min-width: 0;
  display: flex;
}

a.linkedin-post-slide {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 260px;
}

@media (min-width: 960px) {
  a.linkedin-post-slide {
    min-height: 300px;
  }
}

a.linkedin-post-slide:hover .btn-sm,
a.linkedin-post-slide:focus-visible .btn-sm {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.linkedin-post-hook {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.linkedin-posts-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.linkedin-posts-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.linkedin-posts-nav:hover,
.linkedin-posts-nav:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  outline: none;
}

[data-theme="dark"] .linkedin-posts-nav {
  background: var(--navy-mid);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--dark-text-primary);
}

.linkedin-posts-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: min(100%, 420px);
}

.linkedin-post-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--border-mid);
  transition: transform 0.2s ease, background 0.2s ease;
}

.linkedin-post-dot.is-active {
  background: var(--blue);
  transform: scale(1.15);
}

[data-theme="dark"] .linkedin-post-dot.is-active {
  background: var(--teal-light);
}

.linkedin-posts-empty {
  margin: 0;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ══ Case studies full page (projects.html) — magazine layout + TOC + metrics bento ══ */
.page-hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  max-width: 40rem;
  line-height: 1.45;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.case-study-toc {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: color-mix(in srgb, var(--bg-page) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

[data-theme="dark"] .case-study-toc {
  background: color-mix(in srgb, var(--navy) 92%, transparent);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.case-study-toc-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.case-study-toc-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

[data-theme="dark"] .case-study-toc-label {
  color: var(--dark-text-muted);
}

.case-study-toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-study-toc-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.case-study-toc-links a:hover,
.case-study-toc-links a:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  outline: none;
}

[data-theme="dark"] .case-study-toc-links a {
  color: var(--dark-text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .case-study-toc-links a:hover,
[data-theme="dark"] .case-study-toc-links a:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.case-studies-rail {
  position: relative;
}

.case-studies-rail-line {
  display: none;
}

@media (min-width: 1100px) {
  .case-studies-rail-line {
    display: block;
    position: absolute;
    left: max(0px, calc(50% - 420px - 36px));
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(to bottom, var(--blue), var(--teal), #8B5CF6);
    opacity: 0.35;
    pointer-events: none;
  }
}

.case-studies-stack-inner {
  max-width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

/* Projects — section behind case cards (#11); cards keep their own case imagery */
.case-studies-stack.section-alt {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.case-studies-stack.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #e8edf4;
  background-image:
    linear-gradient(
      165deg,
      rgba(248, 250, 252, 0.78) 0%,
      rgba(241, 245, 249, 0.72) 50%,
      rgba(248, 250, 252, 0.8) 100%
    ),
    url('../images/proj-stack-bg-11.webp');
  background-size: 100% 100%, cover;
  background-position: 0 0, center center;
  background-repeat: no-repeat;
}

[data-theme="dark"] .case-studies-stack.section-alt::before {
  background-color: #0f172a;
  background-image:
    linear-gradient(
      165deg,
      rgba(11, 18, 32, 0.72) 0%,
      rgba(15, 23, 42, 0.66) 100%
    ),
    url('../images/proj-stack-bg-11.webp');
}

/* Insights — LinkedIn grid section full bleed (#12); cards stay frosted */
.insights-linkedin-section-inner {
  position: relative;
  z-index: 1;
}

.insights-linkedin-section.section-alt {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.insights-linkedin-section.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #e8edf4;
  background-image:
    linear-gradient(
      165deg,
      rgba(248, 250, 252, 0.78) 0%,
      rgba(241, 245, 249, 0.72) 50%,
      rgba(248, 250, 252, 0.8) 100%
    ),
    url('../images/insights-stack-bg-12.webp');
  background-size: 100% 100%, cover;
  background-position: 0 0, center center;
  background-repeat: no-repeat;
}

[data-theme="dark"] .insights-linkedin-section.section-alt::before {
  background-color: #0f172a;
  background-image:
    linear-gradient(
      165deg,
      rgba(11, 18, 32, 0.72) 0%,
      rgba(15, 23, 42, 0.66) 100%
    ),
    url('../images/insights-stack-bg-12.webp');
}

.case-study-deep--text-only {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.case-study-deep {
  position: relative;
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: clamp(28px, 5vw, 40px);
  scroll-margin-top: 100px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-study-deep:last-child {
  margin-bottom: 0;
}

.case-study-deep:hover {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--blue) 35%, var(--border));
}

.case-study-deep--kofisi {
  border-left: 4px solid var(--blue);
}

.case-study-deep--telesys {
  border-left: 4px solid var(--teal);
}

.case-study-deep--ai {
  border-left: 4px solid #8B5CF6;
}

/* In-card background imagery; hover / focus on copy strengthens scrim so text reads clearly */
.case-study-deep--case-bg {
  overflow: hidden;
  isolation: isolate;
}

.case-study-deep--case-bg.card,
[data-theme="dark"] .case-study-deep--case-bg.card {
  background: transparent;
}

.case-study-deep--case-bg.case-study-deep {
  padding: 0;
}

.case-study-deep--case-bg::before {
  content: '';
  position: absolute;
  inset: -4px;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: filter 0.38s ease, transform 0.45s ease;
}

.case-study-deep--case-bg-cv::before {
  background-image: url('../images/case-kofisi-cv.webp');
  background-position: 52% 42%;
}

.case-study-deep--case-bg-gg::before {
  background-image: url('../images/case-kofisi-gg.webp');
  background-position: 50% 40%;
}

.case-study-deep--case-bg-cc::before {
  background-image: url('../images/case-ai-cc.webp');
  background-position: 48% 38%;
}

.case-study-deep--case-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(255, 255, 255, 0.84) 100%
  );
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

[data-theme="dark"] .case-study-deep--case-bg::after {
  background: linear-gradient(
    165deg,
    rgba(11, 18, 32, 0.9) 0%,
    rgba(11, 18, 32, 0.84) 50%,
    rgba(11, 18, 32, 0.92) 100%
  );
}

.case-study-deep--case-bg:has(.case-study-deep-foreground:hover)::before,
.case-study-deep--case-bg:has(.case-study-deep-foreground:focus-within)::before {
  filter: brightness(0.5) saturate(0.92) blur(1.5px);
  transform: scale(1.03);
}

.case-study-deep--case-bg:has(.case-study-deep-foreground:hover)::after,
.case-study-deep--case-bg:has(.case-study-deep-foreground:focus-within)::after {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.96) 50%,
    rgba(255, 255, 255, 0.99) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

[data-theme="dark"] .case-study-deep--case-bg:has(.case-study-deep-foreground:hover)::after,
[data-theme="dark"] .case-study-deep--case-bg:has(.case-study-deep-foreground:focus-within)::after {
  background: linear-gradient(
    165deg,
    rgba(11, 18, 32, 0.98) 0%,
    rgba(11, 18, 32, 0.97) 50%,
    rgba(11, 18, 32, 0.99) 100%
  );
}

.case-study-deep--case-bg .case-study-deep-foreground {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 36px);
}

@media (prefers-reduced-motion: reduce) {
  .case-study-deep--case-bg::before,
  .case-study-deep--case-bg::after {
    transition: none;
  }

  .case-study-deep--case-bg:has(.case-study-deep-foreground:hover)::before,
  .case-study-deep--case-bg:has(.case-study-deep-foreground:focus-within)::before {
    transform: none;
  }
}

.case-study-deep-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.case-study-deep-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.case-study-deep-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 6px;
}

.case-study-deep-title {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

[data-theme="dark"] .case-study-deep-title {
  color: var(--dark-text-primary);
}

.case-study-phase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(12px, 3vw, 24px);
  margin-bottom: clamp(22px, 4vw, 32px);
}

.case-study-phase:last-child {
  margin-bottom: 0;
}

.case-study-phase-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 4px;
  letter-spacing: 0.08em;
}

.case-study-phase-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin: 0 0 12px;
}

[data-theme="dark"] .case-study-phase-title {
  color: var(--dark-text-primary);
}

.case-study-prose {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 12px;
}

[data-theme="dark"] .case-study-prose {
  color: var(--dark-text-body);
}

.case-study-pull {
  font-weight: 600;
  color: var(--text-primary);
  border-left: 3px solid var(--teal);
  padding-left: 14px;
  margin-top: 16px !important;
}

[data-theme="dark"] .case-study-pull {
  color: var(--dark-text-primary);
}

.case-study-kicker {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

[data-theme="dark"] .case-study-kicker {
  color: var(--dark-text-primary);
}

.case-study-phase--outcome .case-study-phase-title {
  color: var(--blue);
}

[data-theme="dark"] .case-study-phase--outcome .case-study-phase-title {
  color: var(--teal-light);
}

.case-study-bullets {
  margin: 8px 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.case-study-bullets li {
  margin-bottom: 6px;
}

.case-study-bullets--tight li {
  margin-bottom: 4px;
}

[data-theme="dark"] .case-study-bullets {
  color: var(--dark-text-muted);
}

.case-study-metrics-section .section-label {
  color: var(--teal);
}

.case-study-metrics-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 24px;
}

@media (max-width: 768px) {
  .case-study-metrics-bento {
    grid-template-columns: 1fr;
  }
}

.case-study-metric-tile {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .case-study-metric-tile {
  background: rgba(11, 18, 32, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

.case-study-metric-value {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.case-study-metric-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

[data-theme="dark"] .case-study-metric-value {
  color: var(--dark-text-primary);
}

[data-theme="dark"] .case-study-metric-label {
  color: var(--dark-text-muted);
}

.case-study-metrics-principle {
  font-size: 1rem;
  color: var(--text-body);
  margin: 0 0 6px;
  max-width: 36rem;
}

.case-study-metrics-principle-strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  max-width: 40rem;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .case-study-metrics-principle {
  color: var(--dark-text-body);
}

[data-theme="dark"] .case-study-metrics-principle-strong {
  color: var(--dark-text-primary);
}

.case-study-closing-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.case-study-closing-lead {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--dark-text-primary);
  line-height: 1.5;
  margin: 0 0 16px;
}

.case-study-closing-mid,
.case-study-closing-sub {
  font-size: 1.05rem;
  color: var(--dark-text-body);
  margin: 0 0 10px;
}

.case-study-closing-list {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
}

.case-study-closing-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 10px;
  color: var(--dark-text-body);
  font-size: 1rem;
  line-height: 1.55;
}

.case-study-closing-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
}

.case-study-closing-tag {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-text-primary);
  margin: 0 0 28px;
}

.case-study-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 768px) {
  .case-study-toc {
    top: 64px;
  }
}

/* Parallax backgrounds: scroll on phones for smoother rendering */
@media (max-width: 768px) {
  .bg-expertise,
  .bg-credentials,
  .bg-insights,
  .bg-connect,
  .bg-about-hero,
  .bg-about-pillars,
  .bg-about-mission,
  .bg-about-identity,
  .bg-lead-framework,
  .bg-lead-impact,
  .bg-lead-explore,
  .bg-lead-hero,
  .bg-experience,
  .bg-proj-1,
  .bg-proj-2,
  .bg-proj-3,
  .bg-proj-4,
  .bg-proj-cta,
  .bg-cert-hero,
  .bg-cert-prof,
  .bg-cert-edu,
  .bg-cert-cta,
  .bg-insight-hero,
  .bg-insight-1,
  .bg-insight-2,
  .bg-insight-cta,
  .bg-consult-hero,
  .bg-consult-1,
  .bg-consult-2,
  .bg-consult-3,
  .bg-consult-cta,
  .bg-contact-hero,
  .bg-contact-1,
  .bg-contact-2,
  .bg-contact-3,
  .bg-contact-4,
  .footer.bg-footer {
    background-attachment: scroll !important;
  }
}