@import url("../fonts/google-fonts.css");
@import url("../fonts/plus-jakarta-inter.css");

/* ─── Design Tokens ──────────────────────────────────────────────── */
:root {
  /* ── Color Tokens — Blue Corporate Palette ── */
  --msjc-bg: #F5F8FF;
  --msjc-bg-alt: #EDF2FC;
  --msjc-surface: rgba(237, 242, 252, 0.85);
  --msjc-surface-strong: #ffffff;
  --msjc-line: #E3EAF7;
  --msjc-text: #1E2A3A;
  --msjc-heading: #0B2E6B;
  --msjc-muted: #6A7A90;
  --msjc-accent: #0A4FB3;
  --msjc-accent-dark: #0B2E6B;
  --msjc-accent-light: #3A7BFF;
  --msjc-dark: #0B2E6B;
  --msjc-dark-soft: #0E3A82;
  --msjc-white: #ffffff;
  --msjc-light-gray: #EDF2FC;
  --msjc-white-15: rgba(255, 255, 255, 0.15);
  --msjc-black-5: rgba(11, 46, 107, 0.04);
  --msjc-black-10: rgba(11, 46, 107, 0.08);
  --msjc-black-60: rgba(11, 46, 107, 0.6);
  --msjc-border: rgba(11, 46, 107, 0.08);

  /* ── Spacing Scale (8px rhythm) ─────────────────── */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.5rem;
  /* 24px */
  --space-6: 2rem;
  /* 32px */
  --space-7: 2.5rem;
  /* 40px */
  --space-8: 3rem;
  /* 48px */
  --space-9: 4rem;
  /* 64px */
  --space-10: 5rem;
  /* 80px */
  --space-11: 6rem;
  /* 96px */
  --space-12: 7.5rem;
  /* 120px */
  --space-section: clamp(4.5rem, 6vw, 5.75rem);
  --space-section-sm: clamp(3.5rem, 4.5vw, 4.5rem);

  /* ── Typography Scale ───────────────────────────── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-display: clamp(2.75rem, 5.2vw, 3.75rem);
  --text-display-hero: clamp(2.5rem, 5vw, 4.5rem);
  --text-display-h2: clamp(2.25rem, 3.5vw, 2.75rem);

  /* ── Radius ─────────────────────────────────────── */
  --msjc-radius-sm: 0.5rem;
  --msjc-radius-md: 0.75rem;
  --msjc-radius-lg: 1rem;
  --msjc-radius-xl: 1.5rem;
  --msjc-radius-full: 100rem;

  /* ── Shadows ────────────────────────────────────── */
  --msjc-shadow: 0 1px 3px rgba(11, 46, 107, 0.04), 0 8px 24px rgba(11, 46, 107, 0.06);
  --msjc-shadow-md: 0 4px 12px rgba(11, 46, 107, 0.04), 0 12px 32px rgba(11, 46, 107, 0.08);
  --msjc-shadow-lg: 0 8px 20px rgba(11, 46, 107, 0.04), 0 24px 48px rgba(11, 46, 107, 0.1);
  --msjc-shadow-glow: 0 0 40px rgba(10, 79, 179, 0.2);

  /* ── Gradients ──────────────────────────────────── */
  --msjc-gradient-accent: linear-gradient(135deg, #0A4FB3 0%, #3A7BFF 100%);
  --msjc-gradient-accent-soft: linear-gradient(135deg, rgba(10, 79, 179, 0.08) 0%, rgba(58, 123, 255, 0.06) 100%);
  --msjc-gradient-dark: linear-gradient(135deg, #0B2E6B 0%, #0E3A82 50%, #0B2E6B 100%);
  --msjc-gradient-surface: linear-gradient(180deg, #F5F8FF 0%, #EDF2FC 100%);

  /* ── Layout ─────────────────────────────────────── */
  --msjc-nav-height: 76px;
  --msjc-max-width: 1280px;
  --msjc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --msjc-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Global Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--msjc-bg);
  color: var(--msjc-text);
  font-family: "Inter", sans-serif;
  font-size: var(--text-md);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--msjc-gradient-accent);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  width: 100%;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
  font-family: "Plus Jakarta Sans", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
  color: var(--msjc-heading);
}

h1 {
  line-height: 110%;
}

h2 {
  line-height: 110%;
}

h3 {
  line-height: 130%;
}

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

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

/* ─── Section Spacing (Webflow-matched 9.75rem) ──────────────────── */
.section-space {
  padding: var(--space-section) 2.5rem;
  position: relative;
}

.section-space-sm {
  padding: var(--space-section-sm) 2.5rem;
}

.section-space > .container,
.surface-section > .container,
.contact-section > .container,
.process-section > .container,
.insights-preview-section > .container,
.newsletter-section > .container,
.differentiator-section > .container,
.footer-section > .container {
  max-width: 1360px;
}

:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
  align-items: stretch;
}

:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> .theme-card, > a.theme-card, > .team-card, > .insight-card, > .glass-card, > .feature-card, > .wc-service-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> .theme-card, > a.theme-card, > .team-card, > .insight-card, > .glass-card, > .feature-card, > .wc-service-card) {
  display: flex;
}

:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"] > .theme-card,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"] > .theme-card,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"] > a.theme-card,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"] > a.theme-card,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"] > .team-card,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"] > .team-card,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"] > .insight-card,
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"] > .insight-card {
  width: 100%;
  height: 100%;
}

/*
  Keep equal-height card rows, but stack columns that intentionally contain
  more than one direct card. Without this override, sidebar rails on service
  and capability pages render sibling cards side-by-side.
*/
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> .theme-card + .theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> .theme-card + .theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> a.theme-card + a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> a.theme-card + a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> .theme-card + a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> .theme-card + a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> a.theme-card + .theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> a.theme-card + .theme-card) {
  flex-direction: column;
  align-items: stretch;
}

:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> .theme-card + .theme-card) > :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> .theme-card + .theme-card) > :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> a.theme-card + a.theme-card) > :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> a.theme-card + a.theme-card) > :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> .theme-card + a.theme-card) > :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> .theme-card + a.theme-card) > :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> a.theme-card + .theme-card) > :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> a.theme-card + .theme-card) > :is(.theme-card, a.theme-card) {
  height: auto;
  flex: 0 0 auto;
}

:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> .theme-card + .theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> .theme-card + .theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> a.theme-card + a.theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> a.theme-card + a.theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> .theme-card + a.theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> .theme-card + a.theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4 > [class*="col-"]:has(> a.theme-card + .theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card),
:is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 > [class*="col-"]:has(> a.theme-card + .theme-card) > :is(.theme-card, a.theme-card) + :is(.theme-card, a.theme-card) {
  margin-top: 1rem;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msjc-accent), transparent);
  opacity: 0.15;
}

.row-divider {
  border-bottom: 1px solid var(--msjc-line);
}

/* ─── Typography Utilities ───────────────────────────────────────── */
.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--msjc-accent);
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--msjc-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.eyebrow-sm {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.65);
}

.eyebrow-light::before {
  background: rgba(255, 255, 255, 0.35);
}

.text-muted-theme {
  color: var(--msjc-muted);
}

.gray {
  color: var(--msjc-black-60);
  position: relative;
  z-index: 2;
}

.site-hero-copy h1,
.page-hero h1,
.contact-hero-copy h1 {
  font-size: var(--text-display-hero);
  line-height: 110%;
}

.story-hero-copy h2,
.section-title {
  font-size: var(--text-display-h2);
  line-height: 110%;
}

/* Accent bar below section headings */
.section-title-bar {
  position: relative;
  padding-bottom: 1.25rem;
}

.section-title-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--msjc-accent);
  border-radius: 2px;
}

.text-center .section-title-bar::after,
.section-title-bar.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title-sm {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 140%;
  font-family: "Plus Jakarta Sans", serif;
  font-weight: 500;
}

.section-copy,
.card-copy,
.footer-copy,
.team-meta,
.insight-meta,
.faq-copy,
.office-copy,
.contact-chip,
.timeline-card p,
.story-hero-copy blockquote {
  font-size: 1.125rem;
  line-height: 1.62;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
}

.underline-heading {
  color: var(--msjc-accent);
  font-style: normal;
  text-decoration: none;
  position: relative;
  display: inline;
}

.underline-heading-white {
  color: var(--msjc-white);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn-theme {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.8125rem 1.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.3s var(--msjc-ease-out);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.btn-theme::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s var(--msjc-ease-out);
  z-index: -1;
}

.btn-theme:hover {
  transform: translateY(-1px);
}

.btn-theme:active {
  transform: translateY(0);
}

/* Primary: solid blue */
.btn-theme-primary {
  background: var(--msjc-accent);
  color: var(--msjc-white);
  box-shadow: 0 2px 8px rgba(10, 79, 179, 0.25);
}

.btn-theme-primary:hover {
  background: var(--msjc-accent-dark);
  box-shadow: 0 4px 16px rgba(10, 79, 179, 0.35);
  color: var(--msjc-white);
}

.btn-theme-primary::before {
  background: var(--msjc-accent-dark);
}

.btn-theme-primary:hover::before {
  opacity: 1;
}

/* Outline: blue border */
.btn-theme-outline {
  background: transparent;
  color: var(--msjc-accent);
  font-weight: 500;
  border: 1.5px solid var(--msjc-accent);
  transition: all 0.3s var(--msjc-ease-out);
}

.btn-theme-outline:hover {
  background: var(--msjc-accent);
  border-color: var(--msjc-accent);
  color: var(--msjc-white);
  box-shadow: 0 4px 16px rgba(10, 79, 179, 0.25);
}

/* Light outline: for dark backgrounds (hero, nav) */
.btn-theme-light-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--msjc-white);
  backdrop-filter: blur(8px);
}

.btn-theme-light-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--msjc-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Ghost: text-only link style */
.btn-theme-ghost {
  background: transparent;
  color: var(--msjc-accent);
  font-weight: 500;
  padding-left: 0;
  padding-right: 0;
}

.btn-theme-ghost:hover {
  color: var(--msjc-accent-dark);
}

.btn-theme-ghost .btn-arrow {
  transition: transform 0.3s var(--msjc-ease-out);
}

.btn-theme-ghost:hover .btn-arrow {
  transform: translateX(3px);
}

/* Square variant */
.btn-theme-square {
  border-radius: 0.5rem;
}

/* Button arrow icon */
.btn-arrow {
  width: 18px;
  height: 18px;
  max-width: none;
  transition: transform 0.3s var(--msjc-ease-out);
}

.btn-theme:hover .btn-arrow {
  transform: translateX(2px);
}

/* Button sizes */
.btn-theme-sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem;
}

.btn-theme-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Dark section button overrides */
.dark-section .btn-theme-outline {
  color: var(--msjc-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.dark-section .btn-theme-outline:hover {
  background: var(--msjc-white);
  border-color: var(--msjc-white);
  color: var(--msjc-accent-dark);
}

.dark-section .btn-theme-ghost {
  color: var(--msjc-accent-light);
}

.dark-section .btn-theme-ghost:hover {
  color: var(--msjc-white);
}

/* Focus ring for accessibility */
.btn-theme:focus-visible {
  outline: 2px solid var(--msjc-accent-light);
  outline-offset: 2px;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
.site-navbar {
  z-index: 997;
  min-height: var(--msjc-nav-height);
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s, top 0.3s, left 0.3s, right 0.3s, border-radius 0.3s;
}

.site-navbar.scrolled {
  background: linear-gradient(135deg, #ffffff, #edf4ff);
  border-bottom-color: rgba(12, 35, 64, 0.08);
  box-shadow: 0 18px 42px rgba(11, 46, 107, 0.08);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

body[data-page="home"] .home-navbar {
  top: 1rem;
  left: 1rem;
  right: 1rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body[data-page="home"] .home-navbar.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #ffffff, #edf4ff) !important;
  border-bottom-color: rgba(12, 35, 64, 0.08) !important;
  box-shadow: 0 18px 42px rgba(11, 46, 107, 0.08) !important;
  backdrop-filter: blur(18px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35) !important;
}

.nav-screen {
  position: fixed;
  inset: 0;
  z-index: 996;
  background: rgba(11, 46, 107, 0.5);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  display: none;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: "Plus Jakarta Sans", serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--msjc-text);
}

.brand-mark small {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.home-navbar-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ─── Top Sectors Bar ─────────────────────────────────────────── */
.home-navbar-service-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0.4rem 1rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background-color: transparent;
  max-height: 2.75rem;
  overflow: visible;
  opacity: 1;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              background-color 0.3s ease;
}

.home-navbar.scrolled .home-navbar-service-row {
  padding: 0.4rem 1rem 0.35rem;
  border-bottom-color: rgba(12, 35, 64, 0.08);
  background-color: transparent;
}

.home-navbar.scrolled .home-service-menu-link {
  font-size: 0.95rem;
  padding: 0.35rem 0.18rem;
  letter-spacing: 0;
}

.home-navbar.scrolled .home-service-menu-dot {
  width: 4px;
  height: 4px;
}

.home-service-menu-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: nowrap;
  width: 100%;
  max-width: min(1320px, 100%);
  margin: 0 auto;
}

.home-service-menu-link {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  padding: 0.35rem 0.18rem;
  border-radius: 0;
  opacity: 1;
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease,
              font-size 0.3s ease, padding 0.3s ease, letter-spacing 0.3s ease;
}

.home-service-menu-link:hover,
.home-service-menu-link:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  background-color: transparent;
}

.home-service-menu-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.5);
  flex: 0 0 auto;
}

/* ─── Main Nav Row ────────────────────────────────────────────── */

.home-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 0.2rem 0;
  background: transparent;
  transition: padding 0.3s ease;
}

.home-navbar.scrolled .home-navbar-inner {
  padding: 0.2rem 0;
}

.home-navbar-links,
.home-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.home-navbar-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}

.home-navbar-actions {
  flex: 0 0 auto;
  margin-left: 0;
}

.home-nav-link,
.home-brand-mark {
  color: #ffffff;
}

.home-brand-mark {
  font-size: 2rem;
  margin-right: auto;
}

.home-brand-mark small {
  color: #ffffff;
}

.home-nav-link {
  font-size: 0.95rem;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.1;
  padding: 0.35rem 0.18rem;
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.home-nav-claims {
  font-weight: 600;
}

.home-nav-dropdown {
  flex: 0 0 auto;
}

.home-nav-link.active,
.home-nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.home-nav-cta {
  margin: 0;
  padding: 0.52rem 0.95rem;
  font-size: 0.9rem;
  line-height: 1;
  align-self: center;
  transform: translateY(0);
}

.home-navbar .nav-separator {
  background-color: rgba(255, 255, 255, 0.2);
  height: 24px;
  margin: 0 0.15rem;
}

.home-navbar .nav-dot {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  width: 4px;
  height: 4px;
  display: inline-block;
  flex: 0 0 auto;
  margin: 0 0.18rem;
}

.home-menu-toggle,
.home-menu-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--msjc-white);
}

.home-menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
  padding: 0;
}

.menu-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: currentColor;
}

.home-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 998;
  color: var(--msjc-white);
  background: var(--msjc-gradient-dark);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  display: none;
}

.home-menu-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.home-menu-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.home-menu-grid {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  padding: 2rem 2.5rem;
}

.home-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-menu-close {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.home-menu-close:hover {
  opacity: 0.7;
}

.home-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.home-menu-label {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.home-menu-nav h5,
.home-footer-grid h5 {
  margin: 0;
}

.home-menu-nav h5 {
  font-size: 1.5rem;
}

.home-menu-nav h5 .footer-link {
  transition: opacity 0.25s ease;
}

.home-menu-nav h5 .footer-link:hover {
  opacity: 0.75;
}

.home-menu-panel .footer-link.active,
.home-menu-panel .footer-link:hover {
  opacity: 0.75;
}

.home-menu-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.875rem;
}

.nav-link {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--msjc-text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
  color: var(--msjc-accent);
}

.nav-separator {
  background-color: var(--msjc-dark);
  opacity: 0.2;
  border-radius: 100rem;
  width: 1px;
  height: 24px;
  margin: 0 0.75rem;
  display: inline-block;
}

.nav-dot {
  background-color: var(--msjc-accent);
  border-radius: 100%;
  width: 4px;
  height: 4px;
  display: inline-block;
}

/* ─── Hero Sections ──────────────────────────────────────────────── */
.site-hero,
.story-hero {
  position: relative;
  overflow: hidden;
}

.site-hero {
  z-index: 1;
  height: calc(100svh - 2rem);
  min-height: 540px;
  margin: 1rem;
  padding: calc(var(--msjc-nav-height) + 4rem) 3.5rem 3rem;
  display: flex;
  align-items: flex-start;
  background-color: #0B2E6B;
  border-radius: 1.25rem;
}

.page-hero {
  padding: calc(var(--msjc-nav-height) + 4rem) 2.5rem 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0B2E6B 0%, #0E3A82 40%, #091E4A 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero .eyebrow::before {
  background: rgba(255, 255, 255, 0.35);
}

.page-hero .underline-heading {
  color: var(--msjc-accent-light);
}

.page-hero .lead,
.page-hero .text-muted-theme {
  color: rgba(255, 255, 255, 0.7) !important;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(58, 123, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Page Hero Background Image ────────────────────────────────── */
.page-hero-media .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero-media .page-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 46, 107, 0.88) 0%, rgba(14, 58, 130, 0.78) 40%, rgba(9, 30, 74, 0.9) 100%);
  z-index: 1;
}

.page-hero-media>.container {
  position: relative;
  z-index: 2;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero h4,
.page-hero h5,
.page-hero h6 {
  color: var(--msjc-white);
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
}

.page-hero .btn-theme-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.page-hero .btn-theme-outline:hover {
  background: var(--msjc-white);
  border-color: var(--msjc-white);
  color: var(--msjc-accent-dark);
}

.page-hero .contact-chip {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

.page-hero .contact-chip:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.page-hero-top-padded {
  padding: 10rem 2.5rem 2rem;
}

/* ─── Page Hero Stat Strip ───────────────────────────────────────── */
.hero-breadcrumb {
  margin-bottom: var(--space-5);
}

.hero-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-breadcrumb ol li+li::before {
  content: "/";
  margin-right: 0.25rem;
  color: rgba(255, 255, 255, 0.35);
}

.hero-breadcrumb ol li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-breadcrumb ol li a:hover {
  color: var(--msjc-accent-light);
}

.hero-breadcrumb ol li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-stat-strip {
  display: flex;
  gap: var(--space-9);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-strip .hero-stat,
.hero-stat-strip .hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-strip .hero-stat-value {
  font-family: "Plus Jakarta Sans", serif;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--msjc-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-strip .hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}

/* ─── Hero Quick Actions ─────────────────────────────────────────── */
.hero-quick-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.site-hero-media,
.story-hero-media {
  position: absolute;
  inset: 0;
}

.site-hero-media {
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  opacity: 1;
}

.site-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
  pointer-events: none;
}

.site-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.site-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.site-hero-media img,
.story-hero-media img,
.media-card img,
.office-card img,
.team-card img,
.insight-card img,
.timeline-card img,
.jurisdiction-card img,
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card,
.team-media,
.office-media,
.insight-media,
.timeline-media,
.jurisdiction-media,
.jurisdiction-slide-media,
.insights-preview-media,
.process-block-media,
.image-wrapper {
  position: relative;
  border-radius: var(--msjc-radius-lg);
  overflow: hidden;
}

.media-card::after,
.team-media::after,
.office-media::after,
.insight-media::after,
.timeline-media::after,
.jurisdiction-media::after,
.jurisdiction-slide-media::after,
.insights-preview-media::after,
.process-block-media::after,
.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 79, 179, 0.04) 0%, rgba(11, 46, 107, 0.15) 100%);
  transition: opacity 0.4s var(--msjc-ease-out);
}

.site-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 16, 16, 0) 70%, var(--msjc-dark));
  z-index: 2;
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 46, 107, 0.15) 0%, rgba(11, 46, 107, 0.55) 60%, var(--msjc-dark));
}

.site-hero-content,
.story-hero-content {
  position: relative;
  z-index: 3;
}

.site-hero-copy {
  color: var(--msjc-white);
  max-width: 52rem;
}

.site-hero-copy h1 {
  color: var(--msjc-white);
  margin-bottom: 0;
  letter-spacing: -0.03em;
}

.site-hero-copy .lead,
.story-hero-copy blockquote {
  color: rgba(255, 255, 255, 0.65);
  max-width: 38rem;
}

/* ─── Hero Gradient Variant ──────────────────────────────────────── */
.site-hero-gradient {
  background: linear-gradient(160deg, #0B2E6B 0%, #0A4FB3 50%, #0B2E6B 100%);
  display: flex;
  align-items: center;
}

.site-hero-gradient .site-hero-media {
  position: absolute;
  inset: 0;
}

.site-hero-gradient .site-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.85);
}

.site-hero-gradient .site-hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(11, 46, 107, 0.82) 0%, rgba(10, 79, 179, 0.55) 50%, rgba(11, 46, 107, 0.85) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
}

.site-hero-gradient .site-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(7, 27, 61, 0.6) 100%),
    linear-gradient(0deg, transparent 80%, rgba(7, 27, 61, 0.3) 100%);
  z-index: 2;
}

.site-hero-gradient .site-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* ─── Hero Stat Strip ────────────────────────────────────────────── */
.hero-stat-strip {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-value {
  font-family: var(--msjc-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--msjc-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-family: var(--msjc-font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  max-width: 10rem;
}

@media (max-width: 767.98px) {
  .hero-stat-strip {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-stat {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }
}

/* ─── Ecosystem Section ──────────────────────────────────────────── */
.ecosystem-section .section-title,
.ecosystem-section .section-copy,
.ecosystem-section .eyebrow {
  color: var(--msjc-white);
}

.ecosystem-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  border: none;
}

.ecosystem-tab {
  font-family: var(--msjc-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.25s var(--msjc-ease-out);
}

.ecosystem-tab:hover {
  color: var(--msjc-white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.ecosystem-tab.active {
  color: var(--msjc-dark);
  background: var(--msjc-white);
  border-color: var(--msjc-white);
}

.ecosystem-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
}

.ecosystem-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.ecosystem-card h5 {
  color: var(--msjc-white);
  font-size: 1.0625rem;
}

.ecosystem-card .card-copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.55;
}

.ecosystem-card .eyebrow-sm {
  color: var(--msjc-accent-light);
}

.ecosystem-card .wc-service-link {
  color: var(--msjc-accent-light);
}

.ecosystem-card .wc-service-link:hover {
  color: var(--msjc-white);
}

/* ─── Ecosystem Background Image ─────────────────────────────────── */
.ecosystem-bg-section {
  position: relative;
  overflow: hidden;
}

.ecosystem-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ecosystem-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(0.85);
}

.ecosystem-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 46, 107, 0.72) 0%, rgba(10, 79, 179, 0.45) 50%, rgba(11, 46, 107, 0.75) 100%);
  z-index: 1;
}

.ecosystem-bg-section>.container {
  position: relative;
  z-index: 2;
}

/* ─── Glass Card ─────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--msjc-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s var(--msjc-ease-out);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.glass-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.875rem;
  background: rgba(58, 123, 255, 0.18);
  border: 1px solid rgba(58, 123, 255, 0.35);
  box-shadow: 0 0 20px rgba(58, 123, 255, 0.12);
  color: var(--msjc-accent-light);
  margin-bottom: 1.25rem;
}

.glass-card-icon svg {
  width: 26px;
  height: 26px;
}

.glass-card h5 {
  color: var(--msjc-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.glass-card .card-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
}

.glass-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--msjc-accent-light);
  text-decoration: none;
  transition: color 0.2s;
}

.glass-card-link:hover {
  color: var(--msjc-white);
}

/* ─── Ecosystem Group Spacing ────────────────────────────────────── */
.ecosystem-group .eyebrow {
  color: var(--msjc-accent-light);
}

.ecosystem-group .section-title {
  color: var(--msjc-white);
}

.ecosystem-group .section-copy {
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Footer Link Small ──────────────────────────────────────────── */
.footer-link-sm {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  margin-right: 1rem;
  transition: color 0.2s;
}

.footer-link-sm:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── Service List Rows ──────────────────────────────────────────── */
.service-group-label {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--msjc-accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--msjc-accent);
  display: inline-block;
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--msjc-black-10);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s, transform 0.3s;
}

.service-row:last-child {
  border-bottom: 1px solid var(--msjc-black-10);
}

.service-row:hover {
  color: var(--msjc-accent);
}

.service-row:hover .service-row-arrow {
  transform: translateX(4px);
}

.service-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  color: var(--msjc-accent);
  position: relative;
}

.service-row-icon svg {
  width: 2rem;
  height: 2rem;
}

.service-row-body {
  flex: 1;
}

.service-row-title {
  font-family: "Plus Jakarta Sans", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 140%;
  margin: 0;
}

.service-row-desc {
  font-size: 1.125rem;
  line-height: 140%;
  color: var(--msjc-muted);
  margin: 0.25rem 0 0;
}

.service-row-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  color: var(--msjc-accent);
  font-weight: 500;
  white-space: nowrap;
}

.service-row-arrow svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* ─── Jurisdiction Carousel ─────────────────────────────────────── */
.jurisdiction-carousel {
  position: relative;
}

.jurisdiction-carousel-mask {
  overflow: hidden;
}

.jurisdiction-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.jurisdiction-slide {
  min-width: 100%;
}

.jurisdiction-slide-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.jurisdiction-slide-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--msjc-radius-lg);
  aspect-ratio: 16 / 11;
  min-height: 35rem;
}

.jurisdiction-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jurisdiction-slide-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}

.jurisdiction-carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.carousel-arrow {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--msjc-black-10);
  border-radius: 999px;
  background: var(--msjc-surface-strong);
  color: var(--msjc-accent);
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}

.carousel-arrow:hover {
  background: var(--msjc-accent);
  color: var(--msjc-white);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ─── Stories Heading ────────────────────────────────────────────── */
.stories-heading {
  padding: 9.75rem 2.5rem 3.5rem;
}

.stories-heading-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 52rem;
  margin: 0 auto;
}

.stories-heading-inner .section-title {
  line-height: 110%;
}

/* ─── Stories Fullwide (Testimonials) ────────────────────────────── */
.stories-fullwide {
  position: relative;
  height: 70vw;
  max-height: 970px;
  padding: 4rem 3.5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  background-color: var(--msjc-dark-soft);
}

.stories-fullwide-media {
  position: absolute;
  inset: 0.75rem;
  border-radius: var(--msjc-radius-lg);
  overflow: hidden;
}

.stories-fullwide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories-fullwide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 46, 107, 0) 51%, var(--msjc-dark-soft));
  z-index: 1;
}

.stories-fullwide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

/* ─── Testimonial Slider ─────────────────────────────────────────── */
.testimonial-slider {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 4.5rem;
}

.testimonial-mask {
  position: relative;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.testimonial-slide {
  display: none;
  vertical-align: top;
  white-space: normal;
  width: 100%;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--msjc-white);
}

.testimonial-quote {
  line-height: 110%;
  max-width: 660px;
  font-weight: 400;
  margin: 0;
  color: var(--msjc-white);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.person-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 80%;
  margin-top: 1.25rem;
}

.person-info-wrapper h5 {
  margin: 0;
  color: var(--msjc-white);
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.person-subtitle {
  opacity: 0.6;
  color: var(--msjc-white);
  margin: 0;
  font-weight: 400;
}

/* ─── Testimonial Arrows ─────────────────────────────────────────── */
.testimonial-arrows {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  bottom: 0.75rem;
  right: 0;
}

.testimonial-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 100%;
  border: 1px solid var(--msjc-white);
  background: transparent;
  color: var(--msjc-white);
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s;
  padding: 0;
}

.testimonial-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
}

.testimonial-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.testimonial-arrow svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── Logo Strip (infinite scroll) ───────────────────────────────── */
.logo-strip {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
}

.logo-strip-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  will-change: transform;
}

.logo-strip-track img {
  width: auto;
  height: 42px;
  max-height: 42px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(30%) sepia(64%) saturate(2282%) hue-rotate(214deg) brightness(95%) contrast(92%);
  opacity: 0.9;
}

.logo-slider-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  color: var(--msjc-text);
}

.logo-slider-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--msjc-accent);
  position: relative;
}

.logo-slider-icon svg {
  width: 2rem;
  height: 2rem;
}

.logo-slider-text {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.logo-strip-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}

.logo-strip-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--msjc-bg), transparent);
}

.logo-strip-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--msjc-bg), transparent);
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 1.1rem;
}

/* ─── Cards & Surfaces ───────────────────────────────────────────── */
.theme-card,
.stat-card,
.info-panel,
.contact-panel,
.accordion-item,
.timeline-card,
.team-card,
.insight-card,
.office-card,
.service-category,
.jurisdiction-card {
  background: var(--msjc-surface-strong);
  border: 1px solid var(--msjc-black-10);
  border-radius: var(--msjc-radius-lg);
  transition: all 0.4s var(--msjc-ease-out);
  position: relative;
}

.theme-card {
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-card.text-center {
  align-items: center;
}

.theme-card:hover,
.stat-card:hover,
.team-card:hover,
.insight-card:hover,
.office-card:hover {
  border-color: rgba(10, 79, 179, 0.15);
  box-shadow: 0 8px 24px rgba(10, 79, 179, 0.06);
}

.theme-card,
.stat-card,
.team-card,
.insight-card,
.office-card,
.service-category,
.timeline-card,
.jurisdiction-card,
.info-panel,
.contact-panel {
  padding: 1.35rem;
}

/* ─── Card Hover Utility ─────────────────────────────────────────── */
.wc-card-hover {
  transition: transform 0.35s var(--msjc-ease-out),
    box-shadow 0.35s var(--msjc-ease-out),
    border-color 0.35s var(--msjc-ease-out);
}

.wc-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 79, 179, 0.08);
  border-color: rgba(10, 79, 179, 0.15);
}

/* ─── Theme Card Typography ──────────────────────────────────────── */
.theme-card h5 {
  font-family: "Plus Jakarta Sans", serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--msjc-heading);
}

.theme-card .card-copy {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--msjc-muted);
}

.theme-card > .btn-theme:last-child,
.theme-card > a.btn-theme:last-child,
.theme-card > .btn:last-child,
.theme-card > a.btn:last-child {
  margin-top: auto;
}

.timeline-media,
.team-media,
.office-media,
.insight-media,
.jurisdiction-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--msjc-radius-lg) var(--msjc-radius-lg) 0 0;
}

/* Office-media at end of a theme-card: round all corners */
.theme-card .office-media:last-child {
  border-radius: var(--msjc-radius-md);
}

.theme-card-dark {
  background: var(--msjc-dark);
  color: #fff;
}

.text-faded {
  opacity: 0.7;
}

.media-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 46, 107, 0.02), rgba(11, 46, 107, 0.28));
  opacity: 0;
  pointer-events: none;
}

.media-card {
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: none;
}

.media-card img {
  object-position: center center;
}

.media-card::after {
  background: none;
}

.home-media-plain::after,
.insights-preview-media::after {
  background: none;
}

.dark-section .media-card::after {
  background: none;
}

body[data-page="home"] .home-media-plain .image-reveal,
body[data-page="home"] .insights-preview-media .image-reveal {
  display: none;
}

.image-wrapper {
  border-radius: var(--msjc-radius-lg) var(--msjc-radius-lg) 0 0;
  position: relative;
  overflow: hidden;
}

.image-wrapper-fullwide {
  border-radius: var(--msjc-radius-lg);
  position: absolute;
  inset: 0.75rem;
  overflow: hidden;
}

.image-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: var(--msjc-bg);
  z-index: 3;
  transform-origin: bottom;
}

/* ─── Surface / Dark Sections ────────────────────────────────────── */
.surface-section {
  background: var(--msjc-gradient-surface);
  position: relative;
}

.surface-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.process-sticky-wrap {
  position: sticky;
  top: calc(var(--msjc-nav-height, 80px) + 2rem);
}

.dark-section {
  background: linear-gradient(160deg, #0B2E6B 0%, #0E3A82 40%, #0A2D68 100%);
  color: var(--msjc-white);
  overflow: clip;
  position: relative;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(58, 123, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.dark-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6,
.dark-section .display-font {
  color: var(--msjc-white);
}

.dark-section p,
.dark-section li {
  color: rgba(255, 255, 255, 0.75);
}

.dark-section .section-copy,
.dark-section .timeline-card p,
.dark-section .timeline-year,
.dark-section .faq-copy,
.dark-section .story-caption {
  color: rgba(255, 255, 255, 0.6);
}

.dark-section .contact-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--msjc-white);
}

.dark-section .contact-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--msjc-accent);
}

.dark-section .accordion-button {
  color: var(--msjc-white);
}

.dark-section .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--msjc-white);
}

.dark-section .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.dark-section .eyebrow::before {
  background: rgba(255, 255, 255, 0.35);
}

.dark-section .underline-heading {
  color: var(--msjc-accent-light);
}

.dark-section .section-title-bar::after {
  background: var(--msjc-accent-light);
}

.dark-section .timeline-card,
.dark-section .accordion-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--msjc-white-15);
}

/* ─── Statistics ─────────────────────────────────────────────────── */
.statistic-wrapper {
  padding: 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.statistic-wrapper+.statistic-wrapper {
  border-left: 1px solid var(--msjc-black-10);
}

.metric-value,
.statistic-text {
  font-family: "Plus Jakarta Sans", serif;
  color: var(--msjc-accent);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
}

/* ─── Service / Label ────────────────────────────────────────────── */
.service-icon,
.timeline-year,
.insight-tag,
.team-role,
.contact-label {
  color: var(--msjc-accent);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
}

.theme-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--msjc-accent);
  font-weight: 500;
  transition: opacity 0.3s;
}

.theme-link:hover {
  opacity: 0.85;
  color: var(--msjc-accent);
  transform: translateX(2px);
}

/* ─── Story Banner ───────────────────────────────────────────────── */
.story-hero {
  min-height: 42rem;
  display: flex;
  align-items: center;
}

.story-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.story-hero-copy h1,
.story-hero-copy h2 {
  color: var(--msjc-white);
}

.story-caption {
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Team / Insight / Timeline Cards ────────────────────────────── */
.team-card,
.insight-card,
.office-card,
.timeline-card,
.jurisdiction-card {
  height: 100%;
}

.team-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.team-card:hover {
  border-color: transparent;
  box-shadow: none;
}

.team-card .section-title-sm {
  min-height: 3rem;
}

.team-card .team-meta {
  color: var(--msjc-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-media {
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
  border-radius: var(--msjc-radius-lg);
  overflow: hidden;
}

.insight-media,
.office-media,
.timeline-media,
.jurisdiction-media,
.jurisdiction-slide-media {
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
}

.team-media img {
  object-position: center 15%;
}

/* ─── Contact ────────────────────────────────────────────────────── */
.contact-section {
  padding: var(--space-section) 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-copy-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-heading-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-title-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 47.5rem;
}

.contact-support {
  max-width: 26.25rem;
  margin: 0;
}

.contact-side-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 35rem;
}

.contact-subtitle {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-note {
  color: var(--msjc-muted);
  font-size: 0.9375rem;
}

.contact-link-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-link-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--msjc-text);
  text-decoration: none;
  font-weight: 500;
}

.contact-link-row:hover {
  color: var(--msjc-accent);
}

.contact-link-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--msjc-text);
}

.contact-link-icon svg {
  width: 100%;
  height: 100%;
}

.contact-link-underline {
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.contact-form-shell {
  background: var(--msjc-surface-strong);
  border: 1px solid var(--msjc-black-10);
  border-radius: var(--msjc-radius-xl);
  padding: 2rem;
  box-shadow: var(--msjc-shadow-lg);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.contact-form-shell .form-group-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--msjc-heading);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.contact-form-shell::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--msjc-gradient-accent);
  border-radius: var(--msjc-radius-xl) var(--msjc-radius-xl) 0 0;
}

.contact-form-home {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-field {
  width: 100%;
  background-color: var(--msjc-light-gray);
  color: var(--msjc-text);
  border: 1.5px solid transparent;
  border-radius: 100rem;
  min-height: 3.5rem;
  padding: 1.125rem 1.5rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-field:focus {
  outline: none;
  border-color: var(--msjc-accent);
  box-shadow: 0 0 0 3px rgba(10, 79, 179, 0.12);
}

.contact-field::placeholder {
  color: rgba(23, 17, 13, 0.45);
}

select.contact-field {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  padding-right: 3rem;
  cursor: pointer;
}

.contact-field-area {
  border-radius: 2rem;
  min-height: 270px;
  padding-top: 1.25rem;
  resize: vertical;
}

/* ─── Apply Page Layout Stabilization ───────────────────────────── */
.page-apply .page-hero {
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.page-apply .surface-section {
  padding-top: clamp(4rem, 7vw, 6rem);
}

.page-apply .surface-section .row.g-5 {
  align-items: start;
}

.page-apply .contact-form-home {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 42, 88, 0.08);
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 42, 88, 0.08);
  backdrop-filter: blur(12px);
}

.page-apply .contact-form-home [data-animate],
.page-apply .contact-form-home [data-animate] *,
.page-apply .surface-section .theme-card,
.page-apply .surface-section .contact-chip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

.page-apply .surface-section .theme-card {
  position: sticky;
  top: 7rem;
}

.page-apply .surface-section .theme-card+.theme-card {
  margin-top: 1.5rem !important;
}

.newsletter-input {
  max-width: 320px;
  flex: 1;
}

.contact-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  color: var(--msjc-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}

.contact-checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  border: 1.5px solid var(--msjc-black-10);
  border-radius: 0.3rem;
  background: var(--msjc-light-gray);
  margin-top: 0.1rem;
  cursor: pointer;
  transition: all 0.2s var(--msjc-ease-out);
  position: relative;
}

.contact-checkbox-row input[type="checkbox"]:checked {
  background: var(--msjc-accent);
  border-color: var(--msjc-accent);
}

.contact-checkbox-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-checkbox-row input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(10, 79, 179, 0.2);
}

.contact-checkbox-row a {
  color: var(--msjc-accent);
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.contact-checkbox-row a:hover {
  color: var(--msjc-accent-dark);
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--msjc-black-10);
  border-radius: 999px;
  background: var(--msjc-surface-strong);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-chip:hover {
  border-color: var(--msjc-accent);
  box-shadow: 0 0 0 3px rgba(10, 79, 179, 0.08);
}

.dark-section .newsletter-input {
  background-color: rgba(30, 41, 59, 0.8);
  color: var(--msjc-white);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.dark-section .newsletter-input:focus {
  outline: none;
  border-color: var(--msjc-accent-light);
  box-shadow: 0 0 0 3px rgba(10, 79, 179, 0.2);
}

.dark-section .newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Service Content Prose ──────────────────────────────────────── */
.col-lg-8>.lead {
  color: var(--msjc-muted);
  margin-bottom: 1rem;
}

.col-lg-8>h3 {
  font-family: "Plus Jakarta Sans", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--msjc-text);
}

.col-lg-8>ul {
  padding-left: 1.25rem;
  color: var(--msjc-muted);
}

.col-lg-8>ul li {
  padding: 0.35rem 0;
  line-height: 1.6;
}

.col-lg-8>p {
  color: var(--msjc-muted);
  line-height: 1.7;
}

/* ─── Sidebar Sticky ────────────────────────────────────────────── */
.sidebar-sticky {
  position: sticky;
  top: calc(var(--msjc-nav-height, 80px) + 2rem);
}

/* ─── Accordion / FAQ ────────────────────────────────────────────── */
.accordion-item {
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-button {
  background: transparent;
  color: var(--msjc-text);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 2rem;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(10, 79, 179, 0.06);
  color: var(--msjc-accent-dark);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 0 2rem 2rem;
}

@media (max-width: 767.98px) {
  .accordion-button {
    font-size: 1rem;
    padding: 1.25rem;
  }

  .accordion-body {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ─── Process Blocks ─────────────────────────────────────────────── */
.process-section {
  padding: var(--space-section) 2.5rem;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 3rem;
  align-items: start;
}

.process-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  height: 80vh;
  padding-top: 2rem;
  padding-right: 1.5rem;
  padding-bottom: 2.5rem;
  position: sticky;
  top: 6rem;
}

.process-heading-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

.process-title-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 47.5rem;
}

.process-title {
  margin: 0;
  font-size: clamp(3rem, 4.3vw, 4rem);
  line-height: 1.1;
}

.process-support {
  max-width: 26.25rem;
  margin: 0;
}

.process-cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 35rem;
}

.process-cta-title {
  margin: 0;
  color: var(--msjc-text);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.process-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.process-blocks {
  display: flex;
  flex-direction: column;
  gap: 12rem;
}

.process-block {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "number title title"
    ". copy media"
    ". link media";
  column-gap: 1.25rem;
  row-gap: 0.625rem;
  padding: 3rem 0 2rem 0.75rem;
  border-top: 1px solid var(--msjc-black-10);
  border-bottom: 1px solid var(--msjc-black-10);
  background-color: var(--msjc-bg);
  position: sticky;
  top: 6rem;
  z-index: 1;
}

.process-step-number {
  grid-area: number;
  color: var(--msjc-accent);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  padding-top: 0.35rem;
}

.process-step-title {
  grid-area: title;
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.12;
}

.process-step-copy {
  grid-area: copy;
  margin: 0;
  color: var(--msjc-muted);
  max-width: 25rem;
}

.process-step-link {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-top: 0.25rem;
  color: var(--msjc-accent);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
}

.process-step-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.process-step-link:hover svg,
.process-step-link:focus-visible svg {
  transform: translateX(3px);
}

.process-block-media {
  grid-area: media;
  height: 55vh;
  margin-top: 2rem;
}

.process-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Insights Preview ──────────────────────────────────────────── */
.insights-preview-section {
  padding: var(--space-section) 2.5rem;
  position: relative;
}

.insights-preview-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.insights-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
}

.insights-preview-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 47.5rem;
}

.insights-preview-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 26.25rem;
  margin-bottom: 0.75rem;
}

.insights-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.insights-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 6rem;
  align-items: stretch;
}

.insights-preview-item {
  color: var(--msjc-text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: var(--msjc-surface-strong);
  border: 1px solid var(--msjc-black-10);
  border-radius: var(--msjc-radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.35s var(--msjc-ease-out);
}

.insights-preview-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--msjc-accent);
  transition: height 0.35s var(--msjc-ease-out);
  z-index: 0;
  border-radius: 0 0 2px 0;
}

.insights-preview-item:hover::before {
  height: 100%;
}

.insights-preview-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 79, 179, 0.08);
  border-color: rgba(10, 79, 179, 0.15);
  color: var(--msjc-text);
}

.insights-preview-item>* {
  position: relative;
  z-index: 1;
}

.insights-preview-media {
  aspect-ratio: 16 / 10;
}

.insights-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insights-preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 80%;
  padding: 1.5rem;
  margin-top: 0;
}

.insights-preview-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.insights-preview-tag {
  color: var(--msjc-accent);
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.insights-preview-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background-color: var(--msjc-accent);
}

/* ─── Careers Home Section ────────────────────────────────────────── */
.careers-home-section {
  background: var(--msjc-bg);
}

/* ─── Career Opening Cards ───────────────────────────────────────── */
.career-opening-card {
  background: #ffffff;
  border: 1px solid var(--msjc-line, rgba(11, 46, 107, 0.08));
  border-radius: var(--msjc-radius-lg);
  padding: 1.5rem;
  color: var(--msjc-text);
  transition: all 0.35s var(--msjc-ease-out);
  display: flex;
  flex-direction: column;
}

.career-opening-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 79, 179, 0.08);
  color: var(--msjc-accent);
  margin-bottom: 0.875rem;
}

.career-opening-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--msjc-heading, #0B2E6B);
  margin-bottom: 0.5rem;
}

.career-opening-desc {
  font-size: 0.875rem;
  color: var(--msjc-muted, #6A7A90);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.career-opening-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--msjc-accent);
  transition: color 0.2s;
  margin-top: auto;
}

.career-opening-card:hover .career-opening-link {
  color: var(--msjc-heading, #0B2E6B);
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer-section {
  background: linear-gradient(180deg, #0B2E6B 0%, #091E4A 100%);
  color: var(--msjc-white);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 123, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

/* Footer top: brand + newsletter */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-mark {
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  color: #ffffff;
  text-decoration: none;
}

.footer-brand-mark:hover {
  color: #ffffff;
}

.footer-top-brand {
  flex: 1;
  min-width: 0;
}

.footer-tagline {
  max-width: 24rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.footer-top-newsletter {
  flex-shrink: 0;
  max-width: 22rem;
  width: 100%;
}

.footer-newsletter-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.footer-newsletter-form {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s;
}

.footer-newsletter-form:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--msjc-accent);
  color: #ffffff;
  cursor: pointer;
  margin: 3px;
  flex-shrink: 0;
  transition: background 0.25s;
}

.footer-newsletter-btn:hover {
  background: var(--msjc-accent-dark);
}

/* Footer columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-col-label {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-list a,
.footer-col-list span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col-list a:hover {
  color: #ffffff;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-list svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.footer-social-icon:hover {
  border-color: var(--msjc-accent-light);
  color: #ffffff;
  background: rgba(58, 123, 255, 0.15);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-link {
  color: var(--msjc-white);
  text-decoration: none;
}

.theme-card .footer-link {
  color: var(--msjc-text);
}

.theme-card .footer-link:hover,
.theme-card .footer-link.fw-bold {
  color: var(--msjc-accent);
}

.about-cta-section {
  background: var(--msjc-gradient-surface);
}

.about-cta-section .contact-panel {
  background: linear-gradient(180deg, rgba(10, 79, 179, 0.08), rgba(10, 79, 179, 0.02));
  border-color: rgba(10, 79, 179, 0.24);
}

.section-space-compact {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

body[data-page="about"] .about-principle-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body[data-page="about"] .about-principle-card .section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

/* ─── Helpers ────────────────────────────────────────────────────── */
.mobile-off {
  display: block;
}

.mobile-on {
  display: none;
}

[data-animate] {
  opacity: 0;
}

.will-animate {
  will-change: transform, opacity;
}

/* ─── Responsive ─────────────────────────────────────────────────── */

/* Small desktop / large laptop (1200–1399px) */
@media (max-width: 1399.98px) {
  .home-navbar-service-row {
    gap: 0.85rem;
  }

  .home-service-menu-link {
    font-size: 0.875rem;
    padding: 0.3rem 0.16rem;
  }

  .home-navbar-links {
    gap: 0.5rem;
  }

  .home-nav-link {
    font-size: 0.875rem;
  }

  .home-brand-mark {
    font-size: 1.65rem;
  }

  .home-navbar .nav-separator {
    margin: 0 0.1rem;
    height: 18px;
  }

  .home-navbar .nav-dot {
    width: 3px;
    height: 3px;
  }

  .home-nav-cta {
    font-size: 0.8125rem;
    padding: 0.45rem 0.875rem;
  }

  .site-hero-copy .lead {
    font-size: 1.0625rem;
  }
}

/* Compact laptop (992–1199px) */
@media (max-width: 1199.98px) {
  .home-service-menu-links {
    gap: 0.25rem;
  }

  .home-service-menu-link {
    font-size: 0.8125rem;
    padding: 0.28rem 0.14rem;
    letter-spacing: 0;
  }

  .home-service-menu-dot {
    width: 2px;
    height: 2px;
  }

  .home-navbar-links {
    gap: 0.3rem;
  }

  .home-nav-link {
    font-size: 0.8125rem;
  }

  .home-brand-mark {
    font-size: 1.5rem;
  }

  .home-brand-mark small {
    font-size: 0.55rem;
  }

  .home-navbar .nav-separator {
    margin: 0;
    height: 16px;
  }

  .home-navbar .nav-dot {
    width: 2px;
    height: 2px;
  }

  .home-nav-cta {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .home-nav-cta .btn-arrow {
    width: 14px;
    height: 14px;
  }

  .home-menu-toggle {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* Tablet and below — collapse to hamburger */
@media (max-width: 991.98px) {
  .cms-page-shell .prose > :is(h2, h3, h4, h5),
  .cms-page-shell .prose > :is(p, ul, ol, blockquote) {
    max-width: 100%;
  }

  .page-apply .surface-section .theme-card,
  .cms-page-shell .sidebar-sticky {
    position: relative;
    top: 0;
  }

  .cms-page-shell .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .nav-screen {
    display: block;
  }

  .mobile-off {
    display: none !important;
  }

  .mobile-on {
    display: block;
  }

  .nav-dot,
  .nav-separator {
    display: none !important;
  }

  .home-nav-cta {
    display: none;
  }

  .home-menu-toggle {
    display: inline-flex;
  }

  .home-menu-panel {
    display: block;
  }

  .home-navbar-links {
    min-width: 0;
  }

  .home-brand-mark {
    font-size: 1.75rem;
  }

  :root {
    --msjc-nav-height: 80px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .section-space {
    padding: 5rem 1.5rem;
  }

  .section-space-sm {
    padding: 3.5rem 1.5rem;
  }

  .process-sticky-wrap,
  .sidebar-sticky {
    position: relative;
    top: 0;
  }

  .page-hero {
    padding: calc(var(--msjc-nav-height) + 3rem) 1.5rem 2.5rem;
  }

  .page-hero-top-padded {
    padding: calc(var(--msjc-nav-height) + 1.5rem) 1.5rem 2rem;
  }

  .site-hero {
    margin: 1rem;
    height: calc(100svh - 2rem);
    min-height: 480px;
    padding: calc(var(--msjc-nav-height) + 1.5rem) 1.5rem 2.5rem;
    border-radius: 1rem;
  }

  body[data-page="home"] .home-navbar:not(.scrolled) {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    border-radius: 1rem 1rem 0 0;
  }

  .process-section {
    padding: 6rem 1.5rem;
  }

  .insights-preview-section {
    padding: 6rem 1.5rem;
  }

  .contact-section {
    padding: 6rem 1.5rem;
  }

  .footer-section {
    padding: 0 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-top-newsletter {
    max-width: 100%;
  }

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

  .site-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    background: rgba(11, 46, 107, 0.92);
    backdrop-filter: blur(18px);
  }

  .site-navbar .navbar-collapse .nav-link {
    color: var(--msjc-white);
  }

  .site-navbar:not(.navbar-dark-theme) .navbar-collapse {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--msjc-line);
  }

  .site-navbar:not(.navbar-dark-theme) .navbar-collapse .nav-link {
    color: var(--msjc-text);
  }

  .home-navbar-inner {
    gap: 0.75rem;
  }

  .home-navbar-shell {
    gap: 0;
  }

  .home-menu-grid {
    padding: 1.5rem;
  }

  .media-card {
    aspect-ratio: 16 / 10;
    min-height: 0;
    max-height: none;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .process-sidebar {
    position: relative;
    top: 0;
    height: auto;
    padding: 0;
  }

  .process-blocks {
    gap: 6rem;
  }

  .process-block {
    top: 0;
    padding-top: 2rem;
  }

  .process-block-media {
    margin-top: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .home-footer-brand-legacy {
    grid-column: 1 / -1;
  }

  .insights-preview-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
  }

  .insights-preview-grid {
    gap: 4rem;
  }

  .insights-preview-info {
    max-width: 100%;
  }

  .statistic-wrapper+.statistic-wrapper {
    border-left: 0;
    border-top: 1px solid var(--msjc-black-10);
  }

  .metric-value,
  .statistic-text {
    font-size: 3.5rem;
  }

  .story-hero {
    min-height: 30rem;
  }

  .service-row {
    align-items: flex-start;
  }

  .jurisdiction-slide-media {
    min-height: 28rem;
  }

  .stories-heading {
    padding: 6rem 1.5rem 2.5rem;
  }

  .stories-fullwide {
    height: 100svh;
    max-height: none;
    padding: 3rem 1.5rem;
  }

  /* Service rows — tablet */
  .service-row-desc {
    display: none;
  }

  .service-row-title {
    font-size: 1.35rem;
  }

  /* Team section — tablet */
  .team-card .section-title-sm {
    min-height: auto;
  }

  .team-media,
  .office-media {
    aspect-ratio: 3 / 2;
  }

  /* Value cards — tablet */
  .value-card {
    padding: 1.25rem;
  }

  /* Contact panel — tablet */
  .contact-panel {
    padding: 1.25rem;
  }

  .contact-chip {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  /* Stat cards — tablet */
  .stat-card {
    padding: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .cms-page-shell :is(h1, h2, h3, h4, h5, h6):not(.section-title):not(.section-title-sm) {
    max-width: 100%;
  }

  .cms-page-shell .theme-card,
  .cms-page-shell .glass-card,
  .cms-page-shell .feature-card {
    padding: 1.25rem;
  }

  .cms-page-shell .contact-field,
  .cms-page-shell .contact-field-area {
    border-radius: 1.25rem;
  }

  .section-space {
    padding: 3.5rem 1rem;
  }

  .section-space-sm {
    padding: 2.5rem 1rem;
  }

  .page-hero {
    padding: calc(var(--msjc-nav-height) + 2rem) 1rem 2rem;
  }

  .process-section {
    padding: 4.5rem 1rem;
  }

  .insights-preview-section {
    padding: 4.5rem 1rem;
  }

  .contact-section {
    padding: 4.5rem 1rem;
  }

  .site-hero {
    margin: 0.75rem;
    height: calc(100svh - 1.5rem);
    min-height: 420px;
    padding: calc(var(--msjc-nav-height) + 1rem) 1rem 2rem;
    border-radius: 0.75rem;
  }

  body[data-page="home"] .home-navbar:not(.scrolled) {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    border-radius: 0.75rem 0.75rem 0 0;
  }

  .site-hero-copy h1,
  .page-hero h1,
  .contact-hero-copy h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .site-hero-copy .lead {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .site-hero-copy .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .site-hero-copy .btn-theme {
    font-size: 0.8125rem;
    padding: 0.625rem 1.25rem;
  }

  .story-hero-copy h2,
  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .metric-value,
  .statistic-text {
    font-size: 2.5rem;
  }

  .footer-section {
    padding: 0 1rem;
  }

  .footer-top {
    padding: 2.5rem 0 2rem;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }



  .home-brand-mark {
    font-size: 1.5rem;
  }

  .home-menu-toggle {
    width: 2.25rem;
    height: 2.25rem;
  }

  .home-menu-grid {
    padding: 1.25rem 1rem;
  }

  .logo-strip {
    padding: 2rem 0 3rem;
  }

  .logo-strip-track {
    gap: 2.5rem;
  }

  .logo-slider-item {
    gap: 0.75rem;
  }

  .logo-slider-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .logo-slider-text {
    font-size: 1rem;
  }

  .service-row-title {
    font-size: 1.25rem;
  }

  .service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .service-row-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .service-row-arrow {
    white-space: normal;
  }

  .jurisdiction-slide-media {
    min-height: 22rem;
  }

  .jurisdiction-slide-info {
    flex-direction: column;
    gap: 0.25rem;
  }

  .stories-heading {
    padding: 4.5rem 1rem 2rem;
  }

  .stories-fullwide {
    height: 80svh;
    padding: 2.5rem 1rem;
  }

  .stories-fullwide-media {
    inset: 0.5rem;
  }

  .testimonial-quote {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  .testimonial-arrows {
    position: static;
    margin-top: 1.5rem;
  }

  .testimonial-slider {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-title {
    font-size: clamp(2.5rem, 9vw, 3rem);
  }

  .process-block {
    grid-template-columns: 1fr;
    grid-template-areas:
      "number"
      "title"
      "copy"
      "link"
      "media";
    row-gap: 0.5rem;
    padding-left: 0;
  }

  .process-blocks {
    gap: 4rem;
  }

  .process-button-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-block-media {
    height: 40vh;
    margin-top: 1rem;
  }

  .contact-field-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form-shell {
    padding: 1.5rem;
  }

  .contact-field {
    font-size: 1rem;
  }

  .home-footer-main-legacy,
  .home-footer-nav-legacy,
  .home-footer-other-legacy {
    gap: 1.25rem;
  }

  .insights-preview-grid {
    grid-template-columns: 1fr;
  }

  .insights-preview-meta {
    gap: 0.6rem;
  }

  .insights-preview-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Team section — mobile */
  .team-card {
    padding: 1.25rem;
  }

  .team-card .team-meta {
    font-size: 0.9375rem;
  }

  .team-media,
  .office-media {
    aspect-ratio: 4 / 3;
  }

  /* Value cards — mobile */
  .value-card {
    padding: 1rem;
  }

  .value-card .section-title-sm {
    font-size: 1.05rem;
  }

  /* Contact — mobile */
  .contact-panel {
    padding: 1.25rem;
  }

  .contact-chip {
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    width: 100%;
    justify-content: center;
  }

  /* About CTA — mobile */
  .about-cta-section .contact-panel {
    padding: 1.25rem;
  }

  /* Stat card — mobile */
  .stat-card {
    padding: 1.25rem 1rem;
  }

  /* Newsletter input — mobile */
  .newsletter-input {
    max-width: 100%;
  }

  /* Service group label */
  .service-group-label {
    font-size: 0.875rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   WeConsult Home A — Premium Consulting Template Extensions
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Service Cards (numbered grid) ──────────────────────────────── */
.wc-service-card {
  padding: 1.75rem;
  border: 1px solid var(--msjc-black-10);
  border-radius: var(--msjc-radius-lg);
  background: var(--msjc-surface-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  color: var(--msjc-text);
  transition: all 0.35s var(--msjc-ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wc-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--msjc-accent);
  transition: height 0.35s var(--msjc-ease-out);
  z-index: 0;
  border-radius: 0 0 2px 0;
}

.wc-service-card:hover::before {
  height: 100%;
}

.wc-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 79, 179, 0.08);
  border-color: rgba(10, 79, 179, 0.15);
  color: var(--msjc-text);
}

.wc-service-card>* {
  position: relative;
  z-index: 1;
}

.wc-service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--msjc-gradient-accent-soft);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--msjc-accent);
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.d-flex>.wc-service-number {
  margin-bottom: 0;
  flex-shrink: 0;
}

.wc-service-card h4 {
  font-family: "Plus Jakarta Sans", serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.wc-service-card p {
  color: var(--msjc-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.wc-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--msjc-accent);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s var(--msjc-ease-out);
  letter-spacing: 0.02em;
  margin-top: auto;
}

.wc-service-link:hover {
  gap: 0.75rem;
  color: var(--msjc-accent-dark);
}

/* ─── Linked Card (interactive theme-card) ──────────────────────── */
a.theme-card {
  overflow: hidden;
  text-decoration: none;
  color: var(--msjc-text);
  display: flex;
  flex-direction: column;
}

a.theme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--msjc-accent);
  transition: height 0.35s var(--msjc-ease-out);
  z-index: 0;
  border-radius: 0 0 2px 0;
}

a.theme-card:hover::before {
  height: 100%;
}

a.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 79, 179, 0.08);
  border-color: rgba(10, 79, 179, 0.15);
  color: var(--msjc-text);
}

a.theme-card>* {
  position: relative;
  z-index: 1;
}

/* ─── Stat Values (compact) ──────────────────────────────────────── */
.wc-stat-value {
  font-family: "Plus Jakarta Sans", serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--msjc-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.wc-stat-label {
  color: var(--msjc-muted);
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
}

/* ─── Navbar Dropdown ────────────────────────────────────────────── */
.home-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.home-nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 1rem;
}

.home-nav-dropdown>.home-nav-link::after {
  content: none;
}

.home-nav-dropdown:hover>.home-nav-link::after {
  transform: rotate(180deg);
  opacity: 1;
}

.home-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 320px;
  max-width: min(720px, calc(100vw - 2rem));
  padding: 0.9rem;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  border: 1px solid rgba(12, 35, 64, 0.08);
  border-top: 1px solid rgba(10, 79, 179, 0.18);
  border-radius: 1.35rem;
  box-shadow: 0 22px 60px rgba(11, 46, 107, 0.14), 0 2px 10px rgba(11, 46, 107, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--msjc-ease-out), transform 0.25s var(--msjc-ease-out), visibility 0.25s;
  z-index: 999;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-nav-dropdown:hover .home-nav-dropdown-menu,
.home-nav-dropdown:focus-within .home-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.home-nav-dropdown.dropdown-align-left .home-nav-dropdown-menu {
  left: 0;
  right: auto;
  transform: translateY(10px);
}

.home-nav-dropdown.dropdown-align-left:hover .home-nav-dropdown-menu,
.home-nav-dropdown.dropdown-align-left:focus-within .home-nav-dropdown-menu {
  transform: translateY(0);
}

.home-nav-dropdown.dropdown-align-right .home-nav-dropdown-menu {
  left: auto;
  right: 0;
  transform: translateY(10px);
}

.home-nav-dropdown.dropdown-align-right:hover .home-nav-dropdown-menu,
.home-nav-dropdown.dropdown-align-right:focus-within .home-nav-dropdown-menu {
  transform: translateY(0);
}

.home-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--msjc-text);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: all 0.2s var(--msjc-ease-out);
  line-height: 1.4;
}

.home-nav-dropdown-item:hover {
  background: linear-gradient(135deg, rgba(10, 79, 179, 0.08), rgba(18, 78, 152, 0.14));
  color: var(--msjc-accent);
  border-color: rgba(10, 79, 179, 0.12);
  transform: translateY(-1px);
}

.home-nav-dropdown-item .dropdown-item-desc {
  font-size: 0.8rem;
  color: var(--msjc-muted);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* ─── Scrolled Navbar Color Transitions ──────────────────────────── */

/* Sub-pages: transparent navbar over dark hero, transitions to white on scroll */
body:not([data-page="home"]) .site-navbar {
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

body:not([data-page="home"]) .site-navbar .home-nav-link,
body:not([data-page="home"]) .site-navbar .home-service-menu-link,
body:not([data-page="home"]) .site-navbar .home-brand-mark,
body:not([data-page="home"]) .site-navbar .home-brand-mark small {
  color: #ffffff;
  transition: color 0.3s ease;
}

body:not([data-page="home"]) .site-navbar .home-nav-link.active,
body:not([data-page="home"]) .site-navbar .home-nav-link:hover {
  color: var(--msjc-accent-light);
  opacity: 0.9;
}

body:not([data-page="home"]) .site-navbar .menu-line {
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

body:not([data-page="home"]) .site-navbar .home-nav-cta {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  transition: all 0.3s ease;
}

body:not([data-page="home"]) .site-navbar .home-nav-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

body:not([data-page="home"]) .site-navbar .nav-separator {
  background-color: rgba(255, 255, 255, 0.2);
}

body:not([data-page="home"]) .site-navbar .nav-dot {
  background-color: var(--msjc-accent-light);
}

body:not([data-page="home"]) .site-navbar .home-navbar-service-row {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

body:not([data-page="home"]) .site-navbar .home-service-menu-link {
  opacity: 1;
}

body:not([data-page="home"]) .site-navbar .home-service-menu-link:hover {
  color: #ffffff;
  opacity: 1;
  background-color: transparent;
}

body:not([data-page="home"]) .site-navbar .home-service-menu-dot {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Sub-pages: scrolled state — white navbar with dark text */
body:not([data-page="home"]) .site-navbar.scrolled {
  background: linear-gradient(135deg, #ffffff, #edf4ff) !important;
  border-bottom-color: rgba(12, 35, 64, 0.08) !important;
  box-shadow: 0 18px 42px rgba(11, 46, 107, 0.08) !important;
  backdrop-filter: blur(18px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35) !important;
}

body:not([data-page="home"]) .site-navbar.scrolled .home-nav-link,
body:not([data-page="home"]) .site-navbar.scrolled .home-service-menu-link,
body:not([data-page="home"]) .site-navbar.scrolled .home-brand-mark,
body:not([data-page="home"]) .site-navbar.scrolled .home-brand-mark small {
  color: var(--msjc-text);
}

body:not([data-page="home"]) .site-navbar.scrolled .home-nav-link.active,
body:not([data-page="home"]) .site-navbar.scrolled .home-nav-link:hover,
body:not([data-page="home"]) .site-navbar.scrolled .home-service-menu-link:hover {
  color: var(--msjc-accent);
  opacity: 1;
}

body:not([data-page="home"]) .site-navbar.scrolled .menu-line {
  background-color: var(--msjc-text);
}

body:not([data-page="home"]) .site-navbar.scrolled .home-nav-cta {
  border-color: var(--msjc-accent);
  color: var(--msjc-accent);
}

body:not([data-page="home"]) .site-navbar.scrolled .home-nav-cta:hover {
  background-color: rgba(10, 79, 179, 0.06);
}

body:not([data-page="home"]) .site-navbar.scrolled .nav-separator {
  background-color: var(--msjc-line);
}

body:not([data-page="home"]) .site-navbar.scrolled .nav-dot {
  background-color: var(--msjc-accent);
}

body:not([data-page="home"]) .site-navbar.scrolled .home-navbar-service-row {
  border-bottom-color: rgba(12, 35, 64, 0.08);
  background-color: transparent;
}

body:not([data-page="home"]) .site-navbar.scrolled .home-service-menu-dot {
  background-color: var(--msjc-accent);
}

body:not([data-page="home"]) .site-navbar.scrolled .home-service-menu-link {
  opacity: 1;
}

body:not([data-page="home"]) .site-navbar.scrolled .home-service-menu-link:hover {
  color: var(--msjc-accent);
  opacity: 1;
  background-color: transparent;
}

body[data-page="home"] .home-navbar .home-nav-link,
body[data-page="home"] .home-navbar .home-service-menu-link,
body[data-page="home"] .home-navbar .home-brand-mark,
body[data-page="home"] .home-navbar .home-brand-mark small,
body[data-page="home"] .home-navbar .menu-line,
body[data-page="home"] .home-navbar .home-nav-cta {
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

/* Keep homepage header text/icons white before scroll. */
body[data-page="home"] .home-navbar:not(.scrolled) .home-nav-link,
body[data-page="home"] .home-navbar:not(.scrolled) .home-service-menu-link,
body[data-page="home"] .home-navbar:not(.scrolled) .home-brand-mark,
body[data-page="home"] .home-navbar:not(.scrolled) .home-brand-mark small,
body[data-page="home"] .home-navbar:not(.scrolled) .home-menu-toggle,
body[data-page="home"] .home-navbar:not(.scrolled) .menu-line {
  color: #ffffff !important;
}

body[data-page="home"] .home-navbar:not(.scrolled) {
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  background-image: none !important;
}

body[data-page="home"] .home-navbar:not(.scrolled) .home-nav-link.active,
body[data-page="home"] .home-navbar:not(.scrolled) .home-nav-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
  opacity: 1;
}

body[data-page="home"] .home-navbar:not(.scrolled) .home-service-menu-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
  opacity: 1;
  background-color: transparent;
}

body[data-page="home"] .home-navbar:not(.scrolled) .home-nav-cta {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

body[data-page="home"] .home-navbar.scrolled .home-nav-link,
body[data-page="home"] .home-navbar.scrolled .home-service-menu-link,
body[data-page="home"] .home-navbar.scrolled .home-brand-mark,
body[data-page="home"] .home-navbar.scrolled .home-brand-mark small {
  color: #1E2A3A !important;
}

body[data-page="home"] .home-navbar.scrolled .home-nav-link.active,
body[data-page="home"] .home-navbar.scrolled .home-nav-link:hover {
  color: var(--msjc-accent) !important;
  opacity: 1;
}

body[data-page="home"] .home-navbar.scrolled .home-service-menu-link:hover {
  color: var(--msjc-accent) !important;
  opacity: 1;
  background-color: transparent;
}

body[data-page="home"] .home-navbar.scrolled .home-nav-cta {
  border-color: var(--msjc-accent) !important;
  color: var(--msjc-accent) !important;
}

body[data-page="home"] .home-navbar.scrolled .home-nav-cta:hover {
  background-color: rgba(10, 79, 179, 0.06);
}

body[data-page="home"] .home-navbar.scrolled .menu-line {
  background-color: #1E2A3A !important;
}

body[data-page="home"] .home-navbar.scrolled .nav-separator {
  background-color: var(--msjc-line);
}

body[data-page="home"] .home-navbar.scrolled .nav-dot {
  background-color: var(--msjc-accent);
}

body[data-page="home"] .home-navbar:not(.scrolled) .home-navbar-service-row {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

body[data-page="home"] .home-navbar:not(.scrolled) .home-service-menu-dot {
  background-color: rgba(255, 255, 255, 0.4);
}

body[data-page="home"] .home-navbar.scrolled .home-navbar-service-row {
  border-bottom-color: rgba(12, 35, 64, 0.08);
  background-color: transparent;
}

body[data-page="home"] .home-navbar.scrolled .home-service-menu-dot {
  background-color: var(--msjc-accent);
}

/* ─── WeConsult Responsive ───────────────────────────────────────── */
@media (max-width: 991.98px) {
  .home-nav-dropdown-menu {
    display: none;
  }

  .wc-service-card {
    padding: 1.5rem;
  }

  .ecosystem-card {
    padding: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .wc-service-card h4 {
    font-size: 1.0625rem;
  }

  .wc-stat-value {
    font-size: 1.75rem;
  }

  .theme-card,
  .stat-card {
    padding: 1.25rem;
  }

  .wc-card-hover:hover,
  a.theme-card:hover,
  .wc-service-card:hover {
    transform: translateY(-2px);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Design Upgrade v2.0 — Additional Polish
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Enhanced Dark Section Styles ───────────────────────────────── */
.dark-section>.container {
  position: relative;
  z-index: 1;
}

/* ─── Hero Title Enhancement ─────────────────────────────────────── */
.hero-title-split {
  margin-bottom: 0;
  letter-spacing: -0.03em;
}

/* ─── Gradient Text Utility ──────────────────────────────────────── */
.gradient-text {
  background: var(--msjc-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Glassmorphism Card (for dark sections) ─────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--msjc-radius-lg);
  transition: all 0.4s var(--msjc-ease-out);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* ─── Accent Line (decorative) ───────────────────────────────────── */
.accent-line::after {
  content: '';
  display: block;
  width: 4rem;
  height: 3px;
  background: var(--msjc-gradient-accent);
  border-radius: 3px;
  margin-top: 1.5rem;
}

/* ─── Improved Image Reveal ──────────────────────────────────────── */
.image-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--msjc-gradient-surface);
  z-index: 3;
  transform-origin: bottom;
}

/* ─── Enhanced Scroll Behavior ───────────────────────────────────── */
.scroll-progress {
  transition: none;
}

/* ─── Focus States Upgrade ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--msjc-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Selection Color ────────────────────────────────────────────── */
::selection {
  background: rgba(10, 79, 179, 0.2);
  color: var(--msjc-heading);
}

/* ─── Responsive Polish for Upgraded Design ──────────────────────── */
@media (max-width: 991.98px) {
  .eyebrow::before {
    width: 1.5rem;
  }

  .scroll-progress {
    height: 2px;
  }

  .surface-section::before,
  .dark-section::before,
  .dark-section::after,
  .footer-section::before,
  .footer-section::after,
  .page-hero::before,
  .page-hero::after,
  .contact-section::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .contact-form-shell {
    padding: 1.5rem;
    border-radius: var(--msjc-radius-lg);
  }

  .contact-form-shell::before {
    border-radius: var(--msjc-radius-lg) var(--msjc-radius-lg) 0 0;
  }
}

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--msjc-muted);
}

.breadcrumb-nav li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-nav li+li::before {
  content: "/";
  margin-right: 0.25rem;
  color: var(--msjc-muted);
  opacity: 0.5;
}

.breadcrumb-nav li a {
  color: var(--msjc-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav li a:hover {
  color: var(--msjc-accent);
}

.breadcrumb-nav li[aria-current="page"] {
  color: var(--msjc-text);
  font-weight: 500;
}

/* ─── Text Link Button ───────────────────────────────────────── */
.btn-text {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--msjc-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-text:hover {
  color: var(--msjc-heading);
}

/* ─── Form Feedback ──────────────────────────────────────────── */
.form-feedback {
  margin-top: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--msjc-radius);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-feedback-success {
  background: rgba(46, 125, 50, 0.08);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.form-feedback-error {
  background: rgba(198, 40, 40, 0.08);
  color: #c62828;
  border: 1px solid rgba(198, 40, 40, 0.2);
}

/* ─── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--msjc-accent);
  color: #fff;
  border-radius: var(--msjc-radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  position: relative;
  overflow: clip;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(18, 78, 152, 0.12), transparent 32rem),
    radial-gradient(circle at 85% 20%, rgba(10, 79, 179, 0.1), transparent 28rem),
    linear-gradient(180deg, #fbfcfe 0%, #f4f6fb 36%, #ffffff 100%);
}

.site-shell-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.site-shell-glow-primary {
  top: -12rem;
  left: -10rem;
  background: rgba(25, 91, 172, 0.22);
}

.site-shell-glow-secondary {
  top: 20rem;
  right: -12rem;
  background: rgba(10, 79, 179, 0.16);
}

.site-main {
  position: relative;
  z-index: 1;
}

.site-main:focus {
  outline: none;
}

.cms-page-shell {
  position: relative;
}

.cms-page-shell .container,
.page-hero > .container,
.site-navbar .container,
.footer-section > .container {
  max-width: 1360px;
}

.cms-page-shell :is(h1, h2, h3, h4, h5, h6):not(.section-title):not(.section-title-sm) {
  margin-bottom: 0.9rem;
}

.cms-page-shell h1:not(.section-title):not(.hero-title-split) {
  font-size: var(--text-display);
  line-height: 1.08;
}

.cms-page-shell h2:not(.section-title) {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.12;
}

.cms-page-shell h3:not(.section-title-sm) {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.cms-page-shell h4 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.28;
}

.cms-page-shell h5:not(.section-title-sm) {
  font-size: 1.125rem;
  line-height: 1.32;
}

.cms-page-shell h6 {
  font-size: 1rem;
  line-height: 1.4;
}

.cms-page-shell p,
.cms-page-shell ul,
.cms-page-shell ol {
  margin-bottom: var(--space-4);
}

.cms-page-shell ul,
.cms-page-shell ol {
  padding-left: 1.25rem;
}

.cms-page-shell ul li,
.cms-page-shell ol li {
  color: var(--msjc-muted);
  line-height: 1.7;
  padding: 0.2rem 0;
}

.cms-page-shell ul li::marker,
.cms-page-shell ol li::marker {
  color: var(--msjc-accent);
}

.cms-page-shell .lead,
.cms-page-shell .section-copy,
.cms-page-shell .contact-support,
.cms-page-shell .form-context-copy,
.cms-page-shell .faq-copy,
.cms-page-shell .office-copy,
.cms-page-shell .timeline-card p,
.cms-page-shell .theme-card p,
.cms-page-shell .glass-card p,
.cms-page-shell .feature-card p {
  max-width: 62ch;
}

.cms-page-shell .section-space > .container,
.cms-page-shell .surface-section > .container,
.cms-page-shell .contact-section > .container,
.cms-page-shell .process-section > .container,
.cms-page-shell .insights-preview-section > .container,
.cms-page-shell .newsletter-section > .container,
.cms-page-shell .differentiator-section > .container {
  width: min(100%, 1360px);
}

.cms-page-shell :is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) {
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.cms-page-shell :is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-4,
.cms-page-shell :is(.section-space, .surface-section, .contact-section, .process-section, .insights-preview-section, .newsletter-section, .differentiator-section) .row.g-5 {
  --bs-gutter-x: clamp(1.25rem, 2vw, 1.5rem);
  --bs-gutter-y: clamp(1.25rem, 2vw, 1.5rem);
}

.cms-page-shell .page-hero + :is(.section-space, .surface-section, .contact-section) {
  padding-top: clamp(4rem, 7vw, 5.5rem);
}

.cms-page-shell .prose > :is(h2, h3, h4, h5):not(:first-child) {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.cms-page-shell .prose > :is(p, ul, ol, blockquote) {
  max-width: 70ch;
}

.cms-page-shell .prose > :is(h2, h3, h4, h5) {
  max-width: 18ch;
}

.cms-page-shell .theme-card,
.cms-page-shell .glass-card,
.cms-page-shell .feature-card,
.cms-page-shell .info-panel,
.cms-page-shell .contact-panel,
.cms-page-shell .service-category {
  height: 100%;
}

.cms-page-shell .theme-card,
.cms-page-shell .glass-card {
  padding: clamp(1.25rem, 2vw, 1.5rem);
}

.cms-page-shell .theme-card h5,
.cms-page-shell .glass-card h5,
.cms-page-shell .feature-card h4 {
  margin-bottom: 0.65rem;
}

.cms-page-shell .theme-card .card-copy,
.cms-page-shell .glass-card .card-copy {
  font-size: 0.95rem;
  line-height: 1.65;
}

.cms-page-shell .contact-form-shell,
.cms-page-shell .contact-form-home {
  width: 100%;
}

.cms-page-shell .contact-form-home {
  gap: 1rem;
}

.cms-page-shell .contact-field {
  min-height: 3.625rem;
}

.cms-page-shell .contact-field-area {
  min-height: 240px;
}

.cms-page-shell .sidebar-sticky,
.page-apply .surface-section .theme-card {
  top: calc(var(--msjc-nav-height, 80px) + 1.5rem);
}

.cms-page-shell .theme-card + .theme-card {
  margin-top: 1rem;
}

.form-context-banner {
  display: none;
}

.form-context-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--msjc-accent);
}

.form-context-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--msjc-heading);
}

.form-context-copy {
  color: var(--msjc-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   Premium Redesign v3.0 — New Component System
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Page Hero Variants ─────────────────────────────────────────── */
.page-hero-rich {
  padding: 11rem 2.5rem 0;
  border-bottom: none;
}

.page-hero-rich .hero-bottom-bar {
  margin-top: var(--space-8);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--msjc-line);
  border-bottom: 1px solid var(--msjc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* ─── Nav Dropdown Structured Layout ─────────────────────────────── */
.dropdown-menu-structured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.dropdown-menu-footer {
  grid-column: 1 / -1;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--msjc-line);
}

.dropdown-menu-footer .home-nav-dropdown-item {
  color: var(--msjc-accent);
  font-weight: 600;
}

/* ─── Section Anchor Navigation ──────────────────────────────────── */
.section-anchor-nav {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.section-anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--msjc-line);
  border-radius: var(--msjc-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--msjc-muted);
  text-decoration: none;
  transition: all 0.25s var(--msjc-ease-out);
}

.section-anchor-link:hover {
  border-color: var(--msjc-accent);
  color: var(--msjc-accent);
  background: rgba(10, 79, 179, 0.04);
}

/* ─── Trust Band ─────────────────────────────────────────────────── */
.trust-band {
  padding: var(--space-8) 2.5rem;
  background: var(--msjc-gradient-surface);
  border-top: 1px solid var(--msjc-line);
  border-bottom: 1px solid var(--msjc-line);
}

.trust-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-9);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--msjc-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--msjc-accent);
  flex-shrink: 0;
}

/* ─── Content Prose (service/article detail) ─────────────────────── */
.prose {
  color: var(--msjc-text);
  line-height: 1.75;
}

.prose h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-9);
  margin-bottom: var(--space-5);
}

.prose h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.prose p {
  margin-bottom: var(--space-5);
  color: var(--msjc-muted);
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-5);
  color: var(--msjc-muted);
}

.prose li {
  padding: 0.3rem 0;
  line-height: 1.65;
}

.prose li::marker {
  color: var(--msjc-accent);
}

/* ─── Card System Enhancements ───────────────────────────────────── */
.card-grid {
  display: grid;
  gap: var(--space-5);
}

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

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

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

/* ─── Sibling Service Links ──────────────────────────────────────── */
.sibling-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sibling-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-radius: var(--msjc-radius-md);
  color: var(--msjc-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.25s;
}

.sibling-link:hover,
.sibling-link.active {
  background: var(--msjc-gradient-accent-soft);
  color: var(--msjc-accent);
}

.sibling-link svg {
  width: 1rem;
  height: 1rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.sibling-link:hover svg {
  opacity: 1;
  transform: translateX(2px);
}

/* ─── Newsletter Enhanced ────────────────────────────────────────── */
.newsletter-section {
  padding: var(--space-section) 2.5rem;
  background: var(--msjc-gradient-surface);
  text-align: center;
}

.newsletter-section .newsletter-inner {
  max-width: 32rem;
  margin: 0 auto;
}

.newsletter-inline {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-5);
}

.newsletter-inline .contact-field {
  flex: 1;
}

/* ─── Tab Filter System ──────────────────────────────────────────── */
.tab-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.tab-filter {
  appearance: none;
  border: 1px solid var(--msjc-line);
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: var(--msjc-radius-full);
  font-family: "Inter", sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--msjc-muted);
  cursor: pointer;
  transition: all 0.25s var(--msjc-ease-out);
}

.tab-filter:hover {
  border-color: var(--msjc-accent);
  color: var(--msjc-accent);
}

.tab-filter.active {
  background: var(--msjc-accent);
  border-color: var(--msjc-accent);
  color: var(--msjc-white);
}

/* ─── Timeline Steps ─────────────────────────────────────────────── */
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--msjc-line);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--msjc-gradient-accent);
  color: var(--msjc-white);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.timeline-step h4 {
  font-size: var(--text-lg);
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: var(--text-sm);
  color: var(--msjc-muted);
  line-height: 1.5;
}

/* ─── Mobile Menu Sub-Items ──────────────────────────────────────── */
.mobile-menu-group {
  margin-bottom: 0.5rem;
}

.mobile-menu-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  color: var(--msjc-white);
  font-family: "Plus Jakarta Sans", serif;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-group-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s var(--msjc-ease-out);
}

.mobile-menu-group.open .mobile-menu-group-toggle svg {
  transform: rotate(180deg);
}

.mobile-menu-subitems {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 0.5rem 1rem;
}

.mobile-menu-group.open .mobile-menu-subitems {
  display: flex;
}

.mobile-menu-subitem {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.mobile-menu-subitem:hover {
  color: var(--msjc-white);
}

/* ─── Mobile Sectors Row ─────────────────────────────────────── */
.mobile-sectors-row {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sectors-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mobile-sector-link {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.mobile-sector-link:hover {
  color: #ffffff;
  border-color: var(--msjc-accent-light);
  background-color: rgba(255, 255, 255, 0.08);
}

/* ─── Related Cards Row ──────────────────────────────────────────── */
.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* ─── Feature Grid (for About/Services) ──────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.feature-card {
  padding: var(--space-6);
  border: 1px solid var(--msjc-line);
  border-radius: var(--msjc-radius-lg);
  background: var(--msjc-surface-strong);
  transition: all 0.35s var(--msjc-ease-out);
}

.feature-card:hover {
  border-color: rgba(10, 79, 179, 0.15);
  box-shadow: var(--msjc-shadow);
  transform: translateY(-4px);
}

.feature-card .feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: var(--msjc-gradient-accent-soft);
  color: var(--msjc-accent);
  margin-bottom: var(--space-5);
}

.feature-card h4 {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--msjc-muted);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0;
}

/* ─── Responsive: New Components ─────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-stat-strip {
    gap: var(--space-6);
    flex-wrap: wrap;
  }

  .page-hero-rich .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .timeline-steps::before {
    display: none;
  }

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

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

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

  .dropdown-menu-structured {
    grid-template-columns: 1fr;
  }

  .trust-band-inner {
    gap: var(--space-6);
  }
}

@media (max-width: 767.98px) {
  .page-hero {
    padding: calc(var(--msjc-nav-height) + 2rem) 1rem 2rem;
  }

  .page-hero-rich {
    padding: 8rem 1rem 0;
  }

  .page-hero-top-padded {
    padding: 8rem 1rem 2rem;
  }

  .hero-stat-strip {
    gap: var(--space-5);
  }

  .hero-stat-strip .hero-stat-value {
    font-size: 1.75rem;
  }

  .hero-breadcrumb {
    margin-bottom: var(--space-4);
  }

  .hero-quick-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
  }

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

  .related-cards {
    grid-template-columns: 1fr;
  }

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

  .trust-band {
    padding: var(--space-6) 1rem;
  }

  .site-shell-glow {
    width: 20rem;
    height: 20rem;
    filter: blur(60px);
  }

  .form-context-banner {
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .trust-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .newsletter-inline {
    flex-direction: column;
  }

  .tab-filters {
    gap: 0.375rem;
  }

  .tab-filter {
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Premium Redesign v4.0 — Institutional Legal Design System
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Mega Dropdown Enhancement ──────────────────────────────────── */
.home-nav-dropdown-mega {
  min-width: 680px;
  max-width: min(1480px, calc(100vw - 1.25rem));
  max-height: none;
  padding: 0.9rem;
  overflow-x: hidden;
  overflow-y: visible;
}

.dropdown-mega-grid {
  display: grid;
  grid-template-columns: repeat(var(--dropdown-columns, 1), minmax(210px, 1fr));
  gap: 0.72rem;
  align-items: start;
}

.dropdown-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  align-self: stretch;
}

.dropdown-mega-section {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.dropdown-mega-col-split {
  padding-top: 0.2rem;
}

.claims-mega-col-offset {
  padding-top: 0.2rem;
}

.dropdown-mega-label {
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--msjc-accent);
  margin: 0;
  padding: 0.1rem 0.1rem 0.45rem;
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
}

.dropdown-mega-label-merged {
  letter-spacing: 0.11em;
}

.home-nav-dropdown-mega .home-nav-dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.14rem;
  padding: 0.58rem 0.68rem;
  min-height: 2.95rem;
  justify-content: center;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.79rem;
  color: var(--msjc-heading);
  line-height: 1.22;
  white-space: nowrap;
}

.home-nav-dropdown-mega .home-nav-dropdown-item:hover .dropdown-item-title {
  color: var(--msjc-accent);
}

.dropdown-item-desc {
  font-size: 0.69rem;
  color: var(--msjc-muted);
  font-weight: 400;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-nav-dropdown-mega .dropdown-menu-footer {
  margin-top: 0.7rem;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid rgba(12, 35, 64, 0.08);
}

.home-nav-dropdown-mega .dropdown-menu-footer .home-nav-dropdown-item {
  min-height: auto;
  padding: 0.68rem 0.92rem;
  border-radius: 0.75rem;
  background: rgba(10, 79, 179, 0.04);
  border-color: rgba(10, 79, 179, 0.08);
}

.home-nav-cta {
  border-radius: 0.5rem;
  min-height: 2.75rem;
  padding: 0.72rem 1.1rem;
  font-weight: 500;
}

.wc-service-icon {
  display: none;
}

.home-nav-dropdown-mega .dropdown-menu-footer .home-nav-dropdown-item:hover {
  background: rgba(10, 79, 179, 0.08);
}

/* ─── Enhanced Body Typography ───────────────────────────────────── */
body {
  background-color: var(--msjc-bg);
}

/* ─── Enhanced Section Divider ───────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msjc-accent), transparent);
  opacity: 0.12;
}

/* ─── Dark Section Feature Cards ─────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--msjc-heading);
  letter-spacing: 0.01em;
}

.form-required {
  color: #c0392b;
  margin-left: 0.15rem;
}

/* ─── Dark Section Feature Cards ─────────────────────────────────── */
.dark-section .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dark-section .feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(10, 79, 179, 0.2);
  box-shadow: 0 16px 40px rgba(10, 79, 179, 0.06);
}

.dark-section .feature-card h4 {
  color: var(--msjc-white);
}

.dark-section .feature-card p {
  color: rgba(255, 255, 255, 0.6);
}

.dark-section .feature-card .feature-icon {
  background: rgba(10, 79, 179, 0.15);
  color: var(--msjc-accent-light);
}

/* ─── Contact Form Enhancement ─────────────────────────────────── */
.contact-form-home .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form-home .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--msjc-heading);
}

/* ─── Enhanced Insights Preview Hover ────────────────────────────── */
.insights-preview-item:hover .insights-preview-media img {
  transform: scale(1.03);
  transition: transform 0.6s var(--msjc-ease-out);
}

/* ─── Footer Affiliations Strip ──────────────────────────────────── */
.footer-affiliations {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.footer-affil-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.footer-affil-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-affil-list span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.footer-affil-list span:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(58, 123, 255, 0.3);
  background: rgba(58, 123, 255, 0.08);
}

/* ─── Founder Quote ──────────────────────────────────────────────── */
.founder-quote {
  border-left: 3px solid var(--msjc-accent);
  padding-left: 1.5rem;
  margin: 1.5rem 0 0 0;
}

.founder-quote p {
  font-style: italic;
  line-height: 1.8;
}

.founder-sig {
  padding-left: 1.5rem;
}

.founder-section-row {
  align-items: stretch;
}

.founder-media-col {
  display: flex;
  align-items: stretch;
}

.founder-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-media-card {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.founder-media-card img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 991.98px) {
  .founder-media-card {
    height: 28rem;
  }
}

/* ─── Leadership Avatar ──────────────────────────────────────────── */
.leadership-avatar {
  display: flex;
  justify-content: center;
}

.leadership-avatar svg {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.theme-card:hover .leadership-avatar svg {
  opacity: 1;
}

/* ─── Badge Pill ─────────────────────────────────────────────────── */
.badge-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  background: rgba(10, 79, 179, 0.15);
  color: var(--msjc-accent-light);
  margin-top: 0.75rem;
}


/* ═══════════════════════════════════════════════════════════════════
   RICH HOMEPAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Hero Scroll Indicator ──────────────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--msjc-white) 50%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-scroll-indicator {
    display: none;
  }
}


/* ─── Service Card Icon Row ──────────────────────────────────────── */
.wc-service-icon-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wc-service-icon-row .wc-service-number {
  margin-bottom: 0;
}

.wc-service-icon {
  display: none;
}


/* ─── Impact Numbers Section ─────────────────────────────────────── */
.impact-numbers-section {
  padding: 5rem 2.5rem;
  background: var(--msjc-bg);
  position: relative;
  overflow: hidden;
}

.impact-numbers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msjc-black-10), transparent);
}

.impact-numbers-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--msjc-black-10), transparent);
}

.impact-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.impact-number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.impact-number-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--msjc-black-10), transparent);
}

.impact-number {
  font-family: var(--msjc-font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--msjc-accent) 0%, var(--msjc-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.impact-number-plus {
  font-family: var(--msjc-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--msjc-accent) 0%, var(--msjc-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline;
  vertical-align: top;
  margin-left: -0.15em;
}

.impact-label {
  font-family: var(--msjc-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--msjc-text);
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}

.impact-sublabel {
  font-size: 0.8125rem;
  color: var(--msjc-muted);
  margin-top: 0.25rem;
}

@media (max-width: 767.98px) {
  .impact-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .impact-number-item:not(:last-child)::after {
    display: none;
  }

  .impact-number {
    font-size: 2.75rem;
  }

  .impact-number-plus {
    font-size: 1.75rem;
  }

  .impact-numbers-section {
    padding: 3.5rem 1.5rem;
  }
}


/* ─── Differentiator Section ─────────────────────────────────────── */
.differentiator-section {
  padding: var(--space-section) 2.5rem;
  position: relative;
  overflow: hidden;
}

.differentiator-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 79, 179, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.differentiator-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--msjc-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.35s var(--msjc-ease-out);
}

.differentiator-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(10, 79, 179, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.differentiator-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(10, 79, 179, 0.15) 0%, rgba(91, 160, 245, 0.1) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.35s var(--msjc-ease-out);
}

.differentiator-icon svg {
  width: 26px;
  height: 26px;
  color: var(--msjc-accent-light);
}

.differentiator-item:hover .differentiator-icon {
  background: linear-gradient(135deg, var(--msjc-accent) 0%, var(--msjc-accent-light) 100%);
  box-shadow: 0 4px 20px rgba(10, 79, 179, 0.3);
}

.differentiator-item:hover .differentiator-icon svg {
  color: var(--msjc-white);
}

.differentiator-section h5 {
  font-family: var(--msjc-font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--msjc-white);
  margin-bottom: 0.5rem;
}

.differentiator-section p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 991.98px) {
  .differentiator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .differentiator-section {
    padding: 4rem 1.5rem;
  }
}


/* ─── Marquee animation for logo strip ───────────────────────────── */
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo-strip-track[data-marquee] {
  animation: marqueeScroll 30s linear infinite;
}

.logo-strip-track[data-marquee]:hover {
  animation-play-state: paused;
}

.surface-section .logo-strip-fade-left {
  background: linear-gradient(90deg, #edf2f9, transparent);
}

.surface-section .logo-strip-fade-right {
  background: linear-gradient(270deg, #edf2f9, transparent);
}
