/* ============================================================
   Soni Aditya & Associates — Global Stylesheet
   Design: McKinsey & Company visual identity
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* === PRIMARY PALETTE === */
  --color-navy-deep:    #051C2C;
  --color-navy-mid:     #0D2B45;
  --color-blue-brand:   #24477F;
  --color-blue-vivid:   #2251FF;
  --color-blue-light:   #E8F0FB;

  /* === NEUTRALS === */
  --color-white:        #FFFFFF;
  --color-off-white:    #F4F0E8;
  --color-gray-light:   #E8E8E8;
  --color-gray-mid:     #A2AAAD;
  --color-gray-dark:    #666666;
  --color-near-black:   #222222;

  /* === SEMANTIC === */
  --color-text-on-dark:        #FFFFFF;
  --color-text-muted-on-dark:  rgba(255, 255, 255, 0.55);
  --color-border-on-dark:      rgba(255, 255, 255, 0.12);
  --color-border-on-light:     #E8E8E8;

  /* === GRADIENTS === */
  --gradient-navy:  #051C2C;
  --gradient-white: linear-gradient(180deg, #FFFFFF 0%, #F4F0E8 100%);
  --gradient-photo-overlay:
    linear-gradient(to right,
      rgba(26, 107, 255, 0.25) 0%, transparent 40%,
      transparent 60%, rgba(100, 60, 180, 0.2) 100%);

  /* === TYPOGRAPHY === */
  --font-display: 'Bower', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', Arial, Helvetica, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* Type scale — calibrated to McKinsey's editorial range */
  --text-display-xl: clamp(42px, 5vw, 68px);
  --text-display-lg: clamp(30px, 3.5vw, 50px);
  --text-display-md: clamp(22px, 2.4vw, 36px);
  --text-display-sm: clamp(18px, 1.8vw, 26px);
  --text-body-lg:  18px;
  --text-body-md:  16px;
  --text-body-sm:  15px;
  --text-label:    12px;
  --text-caption:  11px;

  /* Line heights */
  --leading-display: 1.15;
  --leading-body:    1.75;
  --leading-compact: 1.4;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.08em;
  --tracking-wider:   0.14em;

  /* === SPACING === */
  --space-2:   2px;
  --space-4:   4px;
  --space-8:   8px;
  --space-12:  12px;
  --space-16:  16px;
  --space-20:  20px;
  --space-24:  24px;
  --space-28:  28px;
  --space-32:  32px;
  --space-40:  40px;
  --space-48:  48px;
  --space-56:  56px;
  --space-64:  64px;
  --space-80:  80px;
  --space-96:  96px;
  --space-128: 128px;

}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body-md);
  color: var(--color-near-black);
  background-color: var(--color-white);
  line-height: var(--leading-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-tight);
  color: var(--color-navy-deep);
}

h1 { font-size: var(--text-display-xl); font-weight: 700; }
h2 { font-size: var(--text-display-lg); }
h3 { font-size: var(--text-display-md); }
h4 { font-size: var(--text-display-sm); }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
  font-size: var(--text-body-md);
  line-height: var(--leading-body);
  color: var(--color-gray-dark);
  margin-bottom: var(--space-16);
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--color-blue-brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
}

a:hover {
  border-bottom-color: var(--color-blue-brand);
}

ul, ol { list-style: none; }

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

/* ============================================================
   3. LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

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

.section {
  padding: var(--space-80) 0;
}

.section--compact {
  padding: var(--space-64) 0;
}

/* Alternating backgrounds */
.section--white    { background-color: var(--color-white); }
.section--off-white { background-color: var(--color-off-white); }
.section--dark {
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
}

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

/* All text inside dark sections */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-text-muted-on-dark);
}

/* Eyebrow on dark backgrounds — muted white, not electric blue */
.section--dark .eyebrow,
.hero .eyebrow,
.page-header .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

/* Eyebrow label pattern */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-blue-vivid);
  display: block;
  margin-bottom: var(--space-16);
}

/* Eyebrow with vivid blue ruled line above (McKinsey section-label style) */
.eyebrow--ruled {
  border-top: 1.5px solid var(--color-blue-vivid);
  padding-top: var(--space-16);
}

/* Section header (eyebrow + heading + optional lead text) */
.section-header {
  margin-bottom: var(--space-48);
}

.section-header h2,
.section-header h3 {
  max-width: 700px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered h2,
.section-header.centered h3 {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--color-gray-dark);
  max-width: 640px;
  line-height: var(--leading-body);
  margin-top: var(--space-16);
}

.section--dark .lead {
  color: var(--color-text-muted-on-dark);
}

/* ============================================================
   4. NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 0.5px solid var(--color-gray-light);
  z-index: 1000;
  transition: box-shadow 200ms ease;
}

.navbar.scrolled {
  box-shadow: 0 1px 0 var(--color-gray-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
  height: 88px;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-img {
  height: 84px;
  width: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: var(--color-near-black);
  text-decoration: none;
  border-bottom: none;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 200ms ease;
}

.nav-links a::after {
  content: '';
  display: block;
  height: 1.5px;
  width: 0;
  background: var(--color-blue-brand);
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: width 200ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-blue-brand);
  border-bottom: none;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav CTA button */
.nav-cta {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-navy-deep);
  border: 1.5px solid var(--color-navy-deep) !important;
  border-bottom: 1.5px solid var(--color-navy-deep) !important;
  background: transparent;
  padding: 8px 20px;
  border-radius: 0;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--color-blue-vivid);
  color: var(--color-white);
  border-bottom-color: var(--color-blue-vivid) !important;
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -1rem;
  background: var(--color-white);
  border: 0.5px solid var(--color-gray-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  min-width: 260px;
  z-index: 100;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: var(--text-body-sm);
  color: var(--color-near-black);
  border-bottom: none;
  transition: background 150ms ease, color 150ms ease;
}

.nav-dropdown-menu a::after { display: none; }

.nav-dropdown-menu a:hover {
  background: var(--color-off-white);
  color: var(--color-blue-brand);
  border-bottom: none;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-navy-deep);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-blue-vivid);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  padding: 13px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 200ms ease;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: none;
}

.btn-primary:hover {
  background: #1d46e0;
  color: var(--color-white);
  border-bottom: none;
  box-shadow: 0 4px 16px rgba(34, 81, 255, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-blue-vivid);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  padding: 13px 28px;
  border: 1.5px solid var(--color-blue-vivid);
  border-radius: 0;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--color-blue-vivid);
  color: var(--color-white);
  border-bottom: 1.5px solid var(--color-blue-vivid);
  box-shadow: 0 4px 16px rgba(34, 81, 255, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  padding: 13px 28px;
  border: 1.5px solid var(--color-blue-vivid);
  border-radius: 0;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
  border-bottom: 1.5px solid var(--color-blue-vivid);
}

.btn-ghost:hover {
  background: var(--color-blue-vivid);
  color: var(--color-white);
  border-bottom: 1.5px solid var(--color-blue-vivid);
  box-shadow: 0 4px 16px rgba(34, 81, 255, 0.35);
}

/* ============================================================
   6. ARROW LINKS
   ============================================================ */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-blue-vivid);
  text-decoration: none;
  border-bottom: none;
  transition: color 150ms ease;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.link-arrow:hover {
  color: var(--color-blue-vivid);
  border-bottom: none;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Link-arrow on dark backgrounds */
.section--dark .link-arrow {
  color: rgba(255, 255, 255, 0.75);
  border-bottom: none;
}

.section--dark .link-arrow:hover {
  color: var(--color-white);
  border-bottom: none;
}

/* ============================================================
   7. WAVE MARK (decorative SVG)
   ============================================================ */

.wave-mark {
  position: absolute;
  bottom: 0;
  right: -5%;
  width: clamp(300px, 50vw, 600px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */

.hero {
  background: linear-gradient(135deg,
    var(--color-navy-deep) 0%,
    var(--color-navy-mid) 42%,
    #1247CC 74%,
    var(--color-blue-vivid) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 89px; /* navbar height */
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 700px;
}

.hero-text h1 {
  color: var(--color-white);
  font-size: var(--text-display-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-display);
  margin-bottom: var(--space-24);
}

.hero-text .lead {
  color: var(--color-text-muted-on-dark);
  font-size: var(--text-body-lg);
  max-width: 560px;
  margin-bottom: var(--space-40);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--space-24);
}

/* Hero right column — credential authority block */
.hero-visual {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-credential-block {
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  width: 100%;
  max-width: 380px;
}

.hero-credential-item {
  padding: var(--space-20) var(--space-28);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.hero-credential-item:last-child {
  border-bottom: none;
}

.hci-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: var(--space-8);
}

.hci-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  letter-spacing: 0;
}

/* Page header (non-home pages) */
.page-header {
  background: var(--gradient-navy);
  padding: 160px 0 var(--space-80);
  position: relative;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--color-white);
  font-size: var(--text-display-lg);
  font-weight: 700;
  max-width: 800px;
  margin-bottom: var(--space-16);
}

.page-header .lead {
  color: var(--color-text-muted-on-dark);
  max-width: 640px;
  font-size: var(--text-body-lg);
}

/* ============================================================
   9. STATS / METRICS BAR
   ============================================================ */

.stats-bar {
  background-color: var(--color-off-white);
  padding: var(--space-48) 0;
}

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

.stat-block {
  padding: 0 var(--space-32);
  border-right: 1px solid var(--color-gray-light);
}

.stat-block:first-child { padding-left: 0; }
.stat-block:last-child  { border-right: none; }

.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--color-blue-vivid);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-unit {
  font-size: 50%;
  color: var(--color-blue-vivid);
}

.stat-desc {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: var(--color-gray-dark);
  margin-top: var(--space-8);
  max-width: 160px;
}

/* ============================================================
   10. CARDS
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.card {
  background: var(--color-white);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 2rem;
  box-shadow: inset 0 0 0 0.5px var(--color-border-on-light);
  transition: border-bottom-color 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-bottom-color: var(--color-blue-vivid);
  box-shadow: inset 0 0 0 0.5px var(--color-border-on-light), 0 4px 16px rgba(0,0,0,0.06);
}

.card-icon {
  width: 24px;
  height: 24px;
  stroke: var(--color-blue-brand);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: var(--space-24);
  flex-shrink: 0;
}

.card h3 {
  font-size: 20px;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-12);
  line-height: var(--leading-compact);
}

.card p {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  flex-grow: 1;
  margin-bottom: var(--space-16);
}

/* Dark-background cards */
.card--dark {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 0.5px var(--color-border-on-dark);
  border-bottom: 2px solid transparent;
}

.card--dark:hover {
  border-bottom-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 0.5px var(--color-border-on-dark);
}

.card--dark h3 { color: var(--color-white); }
.card--dark p  { color: var(--color-text-muted-on-dark); }

/* Service cards (larger, full CTA) */
.service-card {
  background: var(--color-white);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 2.5rem 2rem;
  box-shadow: inset 0 0 0 0.5px var(--color-border-on-light);
  transition: border-bottom-color 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-bottom-color: var(--color-blue-vivid);
  box-shadow: inset 0 0 0 0.5px var(--color-border-on-light), 0 4px 16px rgba(0,0,0,0.06);
}

.service-card h3 {
  font-size: 22px;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-12);
  line-height: var(--leading-compact);
}

.service-card p {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  flex-grow: 1;
  margin-bottom: var(--space-24);
}

/* ============================================================
   11. INSIGHTS / ARTICLE GRID
   ============================================================ */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border-on-light);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 200ms ease;
}

.article-card:hover {
  border-color: var(--color-blue-brand);
}

.article-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.article-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-photo-overlay);
  pointer-events: none;
}

.article-body {
  padding: 1.5rem;
}

.article-category {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-blue-brand);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  display: block;
  margin-bottom: 0.75rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: var(--leading-compact);
  margin-bottom: 0.75rem;
}

.article-excerpt {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  line-height: var(--leading-body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-16);
}

/* ============================================================
   12. DARK FEATURE / CALLOUT SECTION
   ============================================================ */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.feature-split h2 {
  color: var(--color-navy-deep);
  margin-bottom: var(--space-24);
}

.section--dark .feature-split h2 {
  color: var(--color-white);
}

/* Blue-line bullet list (McKinsey style) */
.bullet-list {
  list-style: none;
  margin-top: var(--space-24);
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
  font-size: var(--text-body-md);
  color: var(--color-text-muted-on-dark);
  line-height: var(--leading-compact);
}

.bullet-list li::before {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-blue-vivid);
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-size: var(--text-display-sm);
  font-weight: 700;
  color: var(--color-white);
  line-height: var(--leading-compact);
  border-left: 3px solid var(--color-blue-vivid);
  padding-left: 1.5rem;
  margin: var(--space-32) 0;
}

/* Pull quote on light backgrounds — context override */
.section--white .pull-quote,
.section--off-white .pull-quote {
  color: var(--color-navy-deep);
}

/* Section divider */
.section-divider {
  border-top: 0.5px solid var(--color-border-on-dark);
  margin: var(--space-64) 0;
}

.section-divider--light {
  border-top-color: var(--color-border-on-light);
}

/* ============================================================
   13. TEAM SECTION
   ============================================================ */

.team-section {
  background-color: var(--color-off-white);
}

.team-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
  background: var(--color-white);
  border: 0.5px solid var(--color-border-on-light);
  padding: 3rem;
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
}

.team-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}

.team-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-photo-overlay);
  pointer-events: none;
}

.team-info h3 {
  font-size: var(--text-display-sm);
  color: var(--color-navy-deep);
  margin-bottom: var(--space-4);
}

.team-title {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  font-weight: 400;
  color: var(--color-blue-brand);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-size: var(--text-label);
  margin-bottom: var(--space-24);
  display: block;
}

.team-info blockquote {
  margin: var(--space-24) 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-blue-vivid);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: var(--leading-compact);
}

/* Team categories list */
.team-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: var(--space-48);
}

.team-category {
  border-left: 2px solid var(--color-blue-vivid);
  padding-left: var(--space-16);
}

.team-category h4 {
  font-size: 16px;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-8);
}

.team-category p {
  font-size: var(--text-body-sm);
  margin: 0;
}

/* ============================================================
   14. IMAGE TREATMENT
   ============================================================ */

/* JS-injected fallback when image fails to load */
.mckinsey-image-wrapper.img-error {
  background: var(--color-navy-mid);
  min-height: 300px;
}

.mckinsey-image {
  filter: grayscale(100%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mckinsey-image-wrapper {
  position: relative;
  overflow: hidden;
}

.mckinsey-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(26, 107, 255, 0.22) 0%,
      transparent 35%,
      transparent 65%,
      rgba(100, 60, 180, 0.18) 100%
    );
  pointer-events: none;
}

.section--dark .mckinsey-image-wrapper::after {
  background:
    linear-gradient(to right,
      rgba(26, 107, 255, 0.30) 0%,
      transparent 40%,
      transparent 60%,
      rgba(100, 60, 180, 0.25) 100%
    );
}

/* ============================================================
   15. FORMS
   ============================================================ */

.form-group {
  margin-bottom: var(--space-32);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gray-dark);
  display: block;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-near-black);
  background: var(--color-white);
  border: none;
  border-bottom: 1.5px solid var(--color-gray-light);
  border-radius: 0;
  padding: 12px 0 12px 6px;
  transition: border-color 200ms ease;
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-bottom-color: var(--color-blue-vivid);
}

.form-control::placeholder {
  color: var(--color-gray-mid);
  font-weight: 300;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: var(--leading-body);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

/* File input */
input[type="file"].form-control {
  padding: 10px 0 10px 6px;
  cursor: pointer;
  color: var(--color-gray-dark);
  font-size: var(--text-body-sm);
}

input[type="file"].form-control::file-selector-button {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-navy-deep);
  background: transparent;
  border: 1px solid var(--color-gray-light);
  border-radius: 0;
  padding: 6px 16px;
  margin-right: 16px;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

input[type="file"].form-control::file-selector-button:hover {
  background: var(--color-off-white);
  border-color: var(--color-navy-deep);
}

/* Form container card */
.form-container {
  background: var(--color-white);
  border: 0.5px solid var(--color-border-on-light);
  padding: 3rem;
}

/* ============================================================
   16. FAQ ACCORDION
   ============================================================ */

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 0.5px solid var(--color-border-on-light);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  font-weight: 500;
  color: var(--color-navy-deep);
  cursor: pointer;
  user-select: none;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-blue-brand);
  stroke-width: 1.5;
  fill: none;
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  margin: 0;
}

/* ============================================================
   17. CASE STUDY CARDS
   ============================================================ */

.case-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  border: 0.5px solid var(--color-border-on-light);
  transition: border-color 200ms ease;
  margin-bottom: 3rem;
}

.case-card:hover {
  border-color: var(--color-blue-brand);
}

.case-sidebar {
  background: var(--gradient-navy);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.case-sidebar h3 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-family: var(--font-body);
  border-bottom: 0.5px solid var(--color-border-on-dark);
  padding-bottom: var(--space-16);
  margin-bottom: var(--space-24);
}

.case-meta {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.case-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-blue-vivid);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.case-meta span {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted-on-dark);
  line-height: var(--leading-compact);
}

.case-meta strong {
  color: var(--color-white);
  font-weight: 500;
}

.case-content {
  padding: 3rem;
  background: var(--color-white);
}

.case-badge {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-blue-brand);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-12);
}

.case-content h2 {
  font-size: var(--text-display-sm);
  color: var(--color-navy-deep);
  margin-bottom: var(--space-32);
  line-height: var(--leading-compact);
}

.case-content h4 {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gray-mid);
  margin-bottom: var(--space-12);
  margin-top: var(--space-32);
}

.case-content p,
.case-content li {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  line-height: var(--leading-body);
}

.case-content ul {
  list-style: none;
  padding: 0;
}

.case-content ul li {
  padding-left: var(--space-16);
  position: relative;
  margin-bottom: var(--space-8);
}

.case-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--color-blue-vivid);
}

.result-box {
  background-color: var(--color-off-white);
  border-left: 3px solid var(--color-blue-vivid);
  padding: 1.5rem;
  margin-top: var(--space-32);
}

.result-box h4 {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-navy-deep);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: var(--space-8);
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.result-box h4 svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-blue-vivid);
  stroke-width: 1.5;
  fill: none;
}

/* ============================================================
   18. SERVICES SIDEBAR LAYOUT
   ============================================================ */

.services-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
}

.services-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
}

.service-nav {
  list-style: none;
  border: 0.5px solid var(--color-border-on-light);
}

.service-nav li a {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: var(--color-gray-dark);
  text-decoration: none;
  border-bottom: none;
  border-left: 2px solid transparent;
  transition: color 150ms ease, border-left-color 150ms ease, background 150ms ease;
  border-bottom: 0.5px solid var(--color-border-on-light);
}

.service-nav li:last-child a {
  border-bottom: none;
}

.service-nav li a:hover,
.service-nav li a.active {
  color: var(--color-navy-deep);
  background: var(--color-off-white);
  border-left-color: var(--color-blue-vivid);
}

.service-section {
  margin-bottom: var(--space-64);
  scroll-margin-top: 100px;
}

.service-section h2 {
  font-size: var(--text-display-md);
  color: var(--color-navy-deep);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 0.5px solid var(--color-border-on-light);
}

.service-lead {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-24);
  line-height: var(--leading-body);
}

.core-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-32);
  list-style: none;
  margin-top: var(--space-24);
  padding: 0;
}

.core-services-list li {
  font-size: var(--text-body-sm);
  color: var(--color-near-black);
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  line-height: var(--leading-compact);
}

.core-services-list li::before {
  content: '';
  width: 2px;
  height: 1em;
  background: var(--color-blue-vivid);
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* ============================================================
   19. JOB CARDS
   ============================================================ */

.job-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border-on-light);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: border-color 200ms ease;
}

.job-card:hover {
  border-color: var(--color-blue-brand);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-24);
  border-bottom: 0.5px solid var(--color-border-on-light);
  margin-bottom: var(--space-24);
  gap: var(--space-32);
}

.job-title h3 {
  font-size: 22px;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-8);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-8);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-body-sm);
  color: var(--color-gray-mid);
}

.job-meta-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-blue-brand);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.job-details h4 {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gray-mid);
  margin: var(--space-24) 0 var(--space-12) 0;
}

.job-details ul {
  list-style: none;
  padding: 0;
}

.job-details ul li {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  padding-left: var(--space-16);
  position: relative;
  margin-bottom: var(--space-8);
  line-height: var(--leading-compact);
}

.job-details ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--color-blue-vivid);
}

/* ============================================================
   20. PROCESS / TIMELINE
   ============================================================ */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.process-step {
  display: flex;
  gap: var(--space-32);
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  color: var(--color-white);
  opacity: 0.18;
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
}

.step-content h4 {
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: var(--space-8);
}

.step-content p {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted-on-dark);
  margin: 0;
}

/* ============================================================
   21. CONTACT INFO PANEL
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  background: var(--gradient-navy);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-info h3 {
  color: var(--color-white);
  font-size: var(--text-display-sm);
  margin-bottom: var(--space-8);
}

.contact-info .lead {
  color: var(--color-text-muted-on-dark);
  margin-bottom: var(--space-32);
}

.info-item {
  display: flex;
  gap: var(--space-24);
  margin-bottom: var(--space-32);
}

.info-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-blue-vivid);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content h4 {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.info-content p,
.info-content a {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted-on-dark);
  line-height: var(--leading-compact);
  margin: 0;
  border-bottom: none;
  transition: color 150ms ease;
}

.info-content a:hover {
  color: var(--color-white);
  border-bottom: none;
}

/* ============================================================
   22. TOOLS / BADGES
   ============================================================ */

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.tool-badge {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: var(--color-navy-deep);
  background: var(--color-white);
  border: 0.5px solid var(--color-border-on-light);
  padding: 6px 14px;
  border-radius: 0;
}

/* ============================================================
   23. FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-navy-deep);
  border-top: 3px solid var(--color-blue-vivid);
  padding: var(--space-80) 0 var(--space-40);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-48);
}

.footer-col-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted-on-dark);
  display: block;
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-12);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  display: block;
  margin-bottom: var(--space-8);
}

/* Footer logo image (replaces text wordmark) */
.footer-logo-img {
  height: 125px;
  width: auto;
  display: block;
  margin-bottom: var(--space-8);
  margin-left: -16px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--color-text-muted-on-dark);
  margin-bottom: var(--space-16);
}

.footer-address {
  font-size: var(--text-body-sm);
  font-style: normal;
  color: var(--color-text-muted-on-dark);
  line-height: 1.8;
  margin: 0;
}

.footer-established {
  margin-top: var(--space-16);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: none;
  transition: color 150ms ease;
}

.footer-col ul li a:hover {
  color: var(--color-white);
  border-bottom: none;
}

.footer-bottom {
  border-top: 0.5px solid var(--color-border-on-dark);
  padding-top: var(--space-24);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--color-text-muted-on-dark);
  margin: 0;
}

/* ============================================================
   24. SCROLL-REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transition: opacity 500ms ease;
}

.reveal.visible {
  opacity: 1;
}

.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }

/* Legacy class — forward-compatible */
.animate-on-scroll { opacity: 0; transition: opacity 500ms ease; }
.animate-on-scroll.visible { opacity: 1; }

/* ============================================================
   25. FLOATING BUTTONS
   ============================================================ */

#scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  background: var(--color-navy-deep);
  color: var(--color-white);
  border: 0.5px solid var(--color-border-on-dark);
  width: 44px;
  height: 44px;
  border-radius: 0;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 300ms ease, transform 300ms ease, background 200ms ease;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--color-navy-mid);
  transform: translateY(-2px);
}

#scroll-top svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

#whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25d366;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  border-bottom: none;
  transition: transform 200ms ease, background 200ms ease;
  z-index: 998;
}

#whatsapp-btn:hover {
  transform: translateY(-2px);
  background: #1da851;
  border-bottom: none;
}

/* ============================================================
   26. ACCESSIBILITY
   ============================================================ */

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--color-blue-vivid);
  color: var(--color-white);
  font-size: var(--text-body-sm);
}

.skip-to-content:focus {
  left: 1rem;
  top: 1rem;
}

*:focus-visible {
  outline: 2px solid var(--color-blue-vivid);
  outline-offset: 3px;
}

/* ============================================================
   27. UTILITIES
   ============================================================ */

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

.mt-0  { margin-top: 0; }
.mt-8  { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }
.mt-48 { margin-top: var(--space-48); }
.mt-64 { margin-top: var(--space-64); }

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: var(--space-8); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }
.mb-48 { margin-bottom: var(--space-48); }
.mb-64 { margin-bottom: var(--space-64); }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Divider */
hr.divider {
  border: none;
  border-top: 0.5px solid var(--color-border-on-light);
  margin: var(--space-48) 0;
}

/* ============================================================
   28. PERSPECTIVES / INSIGHTS SECTION
   ============================================================ */

.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--space-56);
  border-top: 1.5px solid var(--color-navy-deep);
}

.perspective-card {
  padding: var(--space-40) var(--space-32);
  border-right: 0.5px solid var(--color-border-on-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  overflow: hidden;
}

/* Editorial image header — breaks out of card padding to run edge-to-edge */
.perspective-card__image {
  margin-top: calc(-1 * var(--space-40));
  margin-left: calc(-1 * var(--space-32));
  margin-right: calc(-1 * var(--space-32));
  margin-bottom: var(--space-8);
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.perspective-card:first-child .perspective-card__image {
  margin-left: 0;
}
.perspective-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}
.perspective-card:hover .perspective-card__image img {
  transform: scale(1.05);
}

.perspective-card:last-child {
  border-right: none;
}

.perspective-card:first-child {
  padding-left: 0;
}

.perspective-category {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-blue-vivid);
}

.perspective-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 600;
  color: var(--color-navy-deep);
  line-height: var(--leading-compact);
  flex-grow: 1;
}

.perspective-excerpt {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  line-height: var(--leading-body);
}

.perspective-cta {
  margin-top: var(--space-4);
}

/* ============================================================
   29. UTILITY LAYOUT CLASSES
   ============================================================ */

/* Headquarters address block (Local Presence section) */
.hq-address {
  font-style: normal;
  margin-top: var(--space-32);
}

.hq-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy-deep);
  display: block;
  margin-bottom: var(--space-8);
}

.hq-detail {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  line-height: 1.9;
  display: block;
}

/* Reach section sub-heading */
.reach-heading {
  font-size: 20px;
}

/* CTA section content wrapper */
.cta-content {
  max-width: 600px;
}

/* CTA button row */
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: var(--space-32);
}

/* Service page intro block — wider than standard cta-content */
.service-intro {
  max-width: 760px;
}

/* Service body text — slightly larger with generous leading */
.service-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-top: var(--space-20);
}

.service-body + .service-body {
  margin-top: var(--space-16);
}

/* Muted text on dark backgrounds (differentiators, icons etc.)
   Specificity raised to beat .section--dark p (0,1,1) */
.section--dark .text-muted-on-dark,
.card--dark .text-muted-on-dark {
  color: rgba(255, 255, 255, 0.7);
}

/* Icon sizing for dark-section feature cards */
.icon-on-dark {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-bottom: var(--space-16);
}

/* Service case-study mini-heading */
.service-case-h3 {
  margin-top: var(--space-40);
  font-size: 1.125rem;
}

/* Service case-study body paragraph */
.service-case-p {
  line-height: 1.8;
  margin-top: var(--space-12);
}

/* Service page section header block (dark / deliver sections) */
.svc-section-hd { max-width: 600px; margin-bottom: var(--space-56); }

/* Service page block intro (what-we-do section heading, smaller margin) */
.svc-block-intro { max-width: 600px; margin-bottom: var(--space-16); }

/* Service page CTA paragraph + button row */
.svc-cta-p    { font-size: 1.0625rem; line-height: 1.8; margin-top: var(--space-16); }
.svc-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: var(--space-32); }

/* ICAI stat figure (text-based, not a number) */
.stat-figure--text {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0;
}

/* ============================================================
   30. HERO GEO BADGES
   ============================================================ */

.hero-geo {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-32);
}

.geo-badge {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.65);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   29. INDUSTRIES SECTION
   ============================================================ */

.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32) var(--space-64);
}

.industry-item {
  display: flex;
  gap: var(--space-24);
  align-items: flex-start;
}

.industry-icon {
  width: 24px;
  height: 24px;
  stroke: var(--color-blue-brand);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.industry-text h4 {
  font-size: 20px;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-8);
  line-height: var(--leading-compact);
}

.industry-text p {
  font-size: var(--text-body-sm);
  margin: 0;
}

/* ============================================================
   30. GEOGRAPHIC REACH LIST
   ============================================================ */

.reach-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.reach-item {
  display: flex;
  gap: var(--space-16);
  align-items: flex-start;
}

.reach-icon {
  width: 16px;
  height: 16px;
  stroke: var(--color-blue-vivid);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.reach-item strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body-sm);
  color: var(--color-navy-deep);
  display: block;
  margin-bottom: 2px;
}

.reach-item p {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  margin: 0;
}

/* ============================================================
   31. HERO VARIANTS
   ============================================================ */

/* Light hero — used on Contact page */
.hero--light {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
}

.hero--light h1 {
  color: var(--color-navy-deep);
}

.hero--light .lead {
  color: var(--color-gray-dark);
}

.hero--light .eyebrow {
  color: var(--color-blue-brand);
}

/* Compact hero — used on About, Services, Case Studies, Careers, service sub-pages */
.hero--compact {
  min-height: 85vh;
  background: linear-gradient(135deg,
    var(--color-navy-deep) 0%,
    var(--color-navy-mid) 42%,
    #1247CC 74%,
    var(--color-blue-vivid) 100%
  );
  align-items: flex-end;
}

.hero--compact .hero-content {
  grid-template-columns: 1fr;
  max-width: 760px;
  padding-bottom: var(--space-96);
}

/* Hide wave on compact heroes — gradient is the decoration */
.hero--compact .wave-mark { display: none; }

/* Hero divider rule — decorative separator below H1 on home */
.hero-rule {
  width: 48px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.35);
  margin: var(--space-24) 0;
}

.hero--light .hero-rule {
  background: var(--color-navy-deep);
  opacity: 0.25;
}

/* ============================================================
   32. SERVICES MEGA-MENU
   ============================================================ */

.nav-has-mega {
  position: relative;
}

.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-mega-trigger svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 200ms ease;
}

.nav-has-mega:hover .nav-mega-trigger svg,
.nav-has-mega.mega-open .nav-mega-trigger svg {
  transform: rotate(180deg);
}

.nav-mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: -1.25rem;
  /* NOTE: gap bridged by .nav-has-mega::after pseudo-element below */
  width: 540px;
  background: var(--color-white);
  border: 0.5px solid var(--color-gray-light);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
  z-index: 200;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.5rem;
}

.nav-has-mega:hover .nav-mega-menu {
  display: grid;
}

/* Transparent bridge — fills the gap between trigger and menu so hover stays active */
.nav-has-mega::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1.25rem;
  right: -1rem;
  height: 16px;
  background: transparent;
  z-index: 199;
}

.mega-link {
  display: block;
  padding: 0.65rem 0.875rem;
  text-decoration: none;
  border-bottom: none;
  border-left: 2px solid transparent;
  transition: background 150ms ease, border-left-color 150ms ease;
}

.mega-link:hover {
  background: var(--color-off-white);
  border-left-color: var(--color-blue-vivid);
  border-bottom: none;
}

.mega-link strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-navy-deep);
  margin-bottom: 2px;
  transition: color 150ms ease;
}

.mega-link:hover strong {
  color: var(--color-blue-vivid);
}

.mega-link span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--color-gray-mid);
  line-height: 1.45;
}

.mega-divider {
  grid-column: 1 / -1;
  height: 0.5px;
  background: var(--color-gray-light);
  margin: 0.25rem 0.875rem;
}

.mega-link--all {
  grid-column: 1 / -1;
  border-top: none;
}

.mega-link--all strong {
  color: var(--color-blue-brand);
}

.mega-link--all:hover strong {
  color: var(--color-blue-vivid);
}

/* ============================================================
   33. CASE STUDY SIDEBAR — DARK TREATMENT
   ============================================================ */

/* Override page-level transparent sidebar with proper dark panel */
.case-study-sidebar {
  background: var(--color-navy-deep);
  padding: var(--space-28) var(--space-32);
}

.case-study-sidebar .sidebar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: block;
  margin-bottom: 4px;
}

.case-study-sidebar .sidebar-value {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-white);
}

.case-study-sidebar .sidebar-item {
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-20);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.case-study-sidebar .sidebar-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.case-study-sidebar .link-arrow {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-body-sm);
}

.case-study-sidebar .link-arrow:hover {
  color: var(--color-white);
}

/* ============================================================
   34. CASE STUDY PAGE ALTERNATING SECTIONS
   ============================================================ */

.case-study-section {
  border-bottom: 0.5px solid var(--color-gray-light);
}

.case-study-section:last-of-type {
  border-bottom: none;
}

/* Remove double-padding when case-block is inside a case-study-section */
.case-study-section .case-block {
  padding: 0;
  border-bottom: none;
  margin-bottom: 0;
}

/* ============================================================
   35. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet/small desktop — 1024px
   IMPORTANT: must appear before the 768px and 640px blocks so those
   more-specific mobile rules can override it via cascade order.        */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet — 768px */
@media (max-width: 768px) {
  /* Nav — logo + container height reduced for mobile proportions */
  .logo-img      { height: 52px; }
  .nav-container { height: 68px; }

  .nav-links {
    position: absolute;
    top: 68px;                    /* matches new nav-container height */
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
    gap: 1rem;
    border-bottom: 0.5px solid var(--color-gray-light);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 300ms ease, opacity 300ms ease;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }
  /* Increased padding for comfortable touch targets */
  .nav-links a { font-size: 15px; padding: 12px 0; }
  /* Hide header CTA on mobile — Contact nav link covers it */
  .nav-cta { display: none; }

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

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    display: none !important;
  }

  /* Mega-menu on mobile — accordion */
  .nav-mega-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-top: 0.5px solid var(--color-gray-light);
    padding: 0.25rem 0 0.25rem 1rem;
    grid-template-columns: 1fr;
    display: none !important;
  }

  .nav-has-mega.mega-open .nav-mega-menu {
    display: grid !important;
  }

  .mega-divider { display: none; }
  .mega-link--all { grid-column: 1; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual { display: none; }

  /* Inner page hero — reduce excessive height on phones */
  .hero--compact { min-height: 70vh; }

  /* Perspectives */
  .perspectives-grid {
    grid-template-columns: 1fr;
  }
  .perspective-card {
    border-right: none;
    border-bottom: 0.5px solid var(--color-border-on-light);
    padding: var(--space-32) 0;
  }
  .perspective-card:last-child {
    border-bottom: none;
  }
  .perspective-card:first-child {
    padding-left: 0;
  }

  /* Page header */
  .page-header {
    padding: 120px 0 var(--space-64);
  }

  /* Contact / Feature */
  .contact-grid,
  .feature-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Team */
  .team-profile {
    grid-template-columns: 1fr;
  }

  .team-categories { grid-template-columns: 1fr; }

  /* Case cards */
  .case-card { grid-template-columns: 1fr; }

  /* Services layout — sidebar pushed below content on mobile */
  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-sidebar { position: static; order: 2; }

  /* Core services list */
  .core-services-list { grid-template-columns: 1fr; }

  /* Forms — prevent iOS Safari auto-zoom on input focus (requires ≥ 16px) */
  .form-control { font-size: 16px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Job cards */
  .job-header { flex-direction: column; gap: 1rem; }
}

/* Small tablet — 640px
   Comes AFTER 1024px block so single-column override wins on phones. */
@media (max-width: 640px) {
  .card-grid,
  .card-grid--2,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

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

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

  .stat-block {
    border-right: none;
    border-bottom: 1px solid var(--color-gray-light);
    padding: var(--space-24) 0;
  }

  /* Even items (right column) — show left divider */
  .stat-block:nth-child(2n) {
    border-left: 1px solid var(--color-gray-light);
    padding-left: var(--space-32);
  }

  /* Last two items (bottom row) — no bottom border */
  .stat-block:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* Tablet — industries, reach */
@media (max-width: 768px) {
  .industries-grid { grid-template-columns: 1fr; gap: var(--space-24); }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  .section { padding: var(--space-64) 0; }
  .section--compact { padding: var(--space-48) 0; }

  .hero { min-height: 100svh; }
  .hero-actions { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; }
  /* Remove desktop optical nudge that clips footer logo on narrow screens */
  .footer-logo-img { margin-left: 0; }

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

  .contact-grid { gap: 0; }
  .contact-info { padding: 2rem; }
  .form-container { padding: 2rem; }

  .case-content { padding: 2rem; }

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

/* ============================================================
   36. IMPACT CARD (horizontal image + headline, McKinsey style)
   ============================================================ */

.impact-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  border: 0.5px solid var(--color-border-on-light);
  transition: border-color 220ms ease;
  overflow: hidden;
}

.impact-card:hover {
  border-color: var(--color-blue-vivid);
}

.impact-card__image {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.impact-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 500ms ease, filter 500ms ease;
  display: block;
}

.impact-card:hover .impact-card__image img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.impact-card__body {
  padding: var(--space-48);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
}

.impact-card__label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-blue-vivid);
  display: block;
  margin-bottom: var(--space-16);
  border-top: 1.5px solid var(--color-blue-vivid);
  padding-top: var(--space-16);
  width: fit-content;
}

.impact-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: var(--leading-compact);
  margin-bottom: var(--space-16);
}

.impact-card__excerpt {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  line-height: var(--leading-body);
  margin-bottom: var(--space-24);
  max-width: 480px;
}

@media (max-width: 768px) {
  .impact-card {
    grid-template-columns: 1fr;
  }
  .impact-card__image {
    min-height: 240px;
  }
  .impact-card__body {
    padding: var(--space-32) var(--space-28);
  }
}

/* ============================================================
   37. SPLIT PHOTO SECTION (full-bleed 50/50 text + image)
   ============================================================ */

.split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  overflow: hidden;
}

.split-photo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-96) var(--space-80);
  background: var(--color-white);
}

.split-photo__text h2 {
  margin-bottom: var(--space-24);
  max-width: 480px;
}

.split-photo__text p {
  max-width: 440px;
}

.split-photo__text .eyebrow {
  margin-bottom: var(--space-16);
}

.split-photo__image {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  /* align-self: stretch (default) fills the grid row — img uses absolute to match */
}

.split-photo__image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(10%);
  display: block;
  transition: transform 600ms ease;
}

.split-photo:hover .split-photo__image img {
  transform: scale(1.03);
}

/* Vivid blue accent bar (McKinsey signature accent) */
.split-photo__image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 35%;
  background: var(--color-blue-vivid);
  z-index: 2;
}

@media (max-width: 768px) {
  .split-photo {
    grid-template-columns: 1fr;
  }
  .split-photo__image {
    min-height: 300px;
    order: -1;
  }
  .split-photo__text {
    padding: var(--space-64) var(--space-32);
  }
}

/* ============================================================
   38. SERVICE IMAGE CARDS (image-top cards, Pattern B)
   ============================================================ */

.service-img-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border-on-light);
  border-bottom: 2px solid transparent;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  transition: border-bottom-color 220ms ease;
  overflow: hidden;
}

.service-img-card:hover {
  border-bottom-color: var(--color-blue-vivid);
}

.service-img-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.service-img-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 500ms ease, filter 500ms ease;
  display: block;
}

.service-img-card:hover .service-img-card__image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.service-img-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(5,28,44,0.22) 100%);
  pointer-events: none;
}

.service-img-card__body {
  padding: var(--space-32) var(--space-28);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-img-card__body .eyebrow {
  margin-bottom: var(--space-8);
}

.service-img-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: var(--space-12);
  line-height: var(--leading-compact);
}

.service-img-card__body p {
  font-size: var(--text-body-sm);
  color: var(--color-gray-dark);
  margin-bottom: var(--space-20);
  flex-grow: 1;
}

/* ============================================================
   40. SERVICE-PAGE VISUAL HERO  (McKinsey-style)
   ============================================================ */

/* Full-bleed image hero — photo at full brightness on the right,
   gently darkened on the left so white heading text stays legible */
.hero--service-visual {
  position: relative;
  min-height: 85vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-top: 72px; /* navbar */
  overflow: hidden;
}

/* Left-to-right fade: dark left (text), transparent right (image shows fully) */
.hero--service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 28, 44, 0.78) 0%,
    rgba(5, 28, 44, 0.52) 36%,
    rgba(5, 28, 44, 0.14) 62%,
    transparent 80%
  );
  z-index: 1;
}

/* Container — above overlay, single-column left-aligned */
.hero--service-visual .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: var(--space-64);
}

/* Left-side block: heading stacked above white card, max half-width */
.hero-svc-content {
  max-width: 520px;
}

/* Breadcrumb + eyebrow + h1 — float directly over image */
.hero-svc-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding-bottom: var(--space-20);
}

.hero-svc-head .sp-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}

.hero-svc-head .sp-breadcrumb a {
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  border-bottom: none;
}

.hero-svc-head .sp-breadcrumb a:hover {
  color: var(--color-blue-vivid);
  border-bottom: none;
}

.hero-svc-head .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-blue-vivid);
  background: rgba(34, 81, 255, 0.15);
  padding: 4px 10px;
  width: fit-content;
}

.hero-svc-head h1 {
  color: var(--color-white);
  font-size: var(--text-display-lg);
  font-weight: 700;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

/* White card — sits flush below heading, left-aligned, no border-left */
.hero-svc-card {
  background: var(--color-white);
  padding: var(--space-40);
  position: relative;
}

.hero-svc-card .lead {
  font-size: var(--text-body-md);
  color: var(--color-near-black);
  line-height: var(--leading-body);
  margin-bottom: var(--space-28);
}

.hero-svc-card .hero-actions {
  margin-top: 0;
}

/* "L" shape ADJACENT to (outside) the white card, at the bottom-left exterior.
   ::before = vertical arm — sits to the LEFT of the card exterior
   ::after  = horizontal arm — sits BELOW the card exterior               */
.hero-svc-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -24px;      /* outside the card's left edge */
  width: 24px;
  height: 55%;      /* runs upward from card bottom along exterior left */
  background: var(--color-blue-vivid);
}

.hero-svc-card::after {
  content: '';
  position: absolute;
  bottom: -24px;    /* sits below the card's bottom edge */
  left: -24px;      /* aligned with vertical arm's outer-left */
  width: 154px;     /* 24px arm + 130px extension to the right */
  height: 24px;
  background: var(--color-blue-vivid);
}

/* Right-side decorative frame — only TOP and LEFT edges visible;
   bottom: 0 so the left-bar's lower end reaches the section bottom */
.hero-svc-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  height: 340px;
  border-top: 30px solid var(--color-blue-vivid);
  border-left: 30px solid var(--color-blue-vivid);
  z-index: 2;
  pointer-events: none;
}

/* Tablet: expand card width, hide frame */
@media (max-width: 960px) {
  .hero-svc-content { max-width: 580px; }
  .hero-svc-frame { display: none; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero--service-visual {
    min-height: 100svh;
    align-items: flex-start;
    padding-top: calc(72px + var(--space-32));
  }
  .hero--service-visual .container { padding-bottom: var(--space-48); }
  .hero-svc-content { max-width: 100%; }
  .hero-svc-card { padding: var(--space-28) var(--space-24); }
}

/* ============================================================
   41. CARD — FRAMED (vivid-blue outline variant)
   ============================================================ */

.card--framed {
  border: 2px solid var(--color-blue-vivid);
  box-shadow: 6px 6px 0 rgba(34, 81, 255, 0.08);
  position: relative;
}

.card--framed::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 32px;
  height: 4px;
  background: var(--color-blue-vivid);
}

/* ============================================================
   39. PHASE 10 — WHITESPACE & STRUCTURAL OVERRIDES
   ============================================================ */

/* First content section gets extra breathing room below hero */
.hero + .section,
.hero--compact + .section,
.hero--service-visual + .section {
  padding-top: var(--space-96);
}

/* Nav underline: upgrade to vivid blue */
.nav-links a::after {
  background: var(--color-blue-vivid);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-blue-vivid);
}

/* Article card hover: vivid blue border */
.article-card:hover {
  border-color: var(--color-blue-vivid);
}

/* Service nav active: already vivid blue border — confirm */
.service-nav li a:hover,
.service-nav li a.active {
  border-left-color: var(--color-blue-vivid);
}

/* Perspectives category: already vivid blue — confirm */
.perspective-category { color: var(--color-blue-vivid); }

/* Case card hover: vivid blue */
.case-card:hover { border-color: var(--color-blue-vivid); }

@media (max-width: 768px) {
  .hero + .section,
  .hero--compact + .section,
  .hero--service-visual + .section {
    padding-top: var(--space-80);
  }
  .split-photo__text {
    padding: var(--space-64) var(--space-32);
  }
}

@media (max-width: 480px) {
  .impact-card__body { padding: var(--space-24); }
  .service-img-card__body { padding: var(--space-24) var(--space-20); }
}
