/* ============================================
   MAS Recovery — Modern Healthcare Corporate
   Design tokens
   ============================================ */
:root {
  /* Color — MAS brand */
  --navy-900: #051d2a;
  --navy-800: #073544;
  --navy-700: #0a4255;
  --navy-600: #0e5266;
  --navy-500: #1b6378;

  /* Brand teal range */
  --teal: #0e7f90;
  --teal-bright: #48c2c5;
  --teal-dark: #007d8f;

  /* Brand green range (replaces old blue accents) */
  --blue: #36a047;
  --blue-light: #bcd631;
  --green: #6cbe45;
  --lime: #bcd631;

  --cta: #007d8f;
  --cta-hover: #0e7f90;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-cool: #eef3f9;
  --bg-warm: #fbfaf7;

  --line: #e3e8ef;
  --line-soft: #eef2f7;

  --ink-900: #051d2a;
  --ink-800: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;

  --accent-red: #e11d48;
  --accent-gold: #d4a02a;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", "Inter", Georgia, serif;
  font-feature-settings: "kern" 1;

  /* Layout */
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 6px 24px -8px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.18), 0 8px 20px -10px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 40px 90px -30px rgba(7, 53, 68, 0.35), 0 10px 30px -10px rgba(7, 53, 68, 0.15);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }
.btn--block { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(7, 53, 68, 0.45);
}
.btn--primary:hover {
  background: var(--cta-hover);
  box-shadow: 0 10px 26px -8px rgba(7, 53, 68, 0.55);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-800);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--navy-800);
  background: var(--bg-soft);
}

/* ============================================
   Eyebrow
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  padding: 6px 12px;
  background: rgba(0, 125, 143, 0.08);
  border: 1px solid rgba(0, 125, 143, 0.18);
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 125, 143, 0.18);
}
.eyebrow--center { margin: 0 auto 20px; }
.eyebrow--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
.eyebrow--light .eyebrow__dot {
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(72, 194, 197, 0.18);
}

/* ============================================
   Section header
   ============================================ */
.section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section__header--left { text-align: left; margin-left: 0; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.section__sub {
  font-size: 17.5px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.55;
}

/* ============================================
   Top utility bar
   ============================================ */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
}
.topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(72, 194, 197, 0.18);
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}
.topbar__link:hover { color: #fff; }
.topbar__pay {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s var(--ease);
}
.topbar__pay:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

@media (max-width: 820px) {
  .topbar__left { display: none; }
  .topbar__right { width: 100%; justify-content: space-between; gap: 12px; }
  .topbar__link { font-size: 12.5px; white-space: nowrap; }
}
@media (max-width: 560px) {
  /* Email is long + low-priority on phones — keep phone + Make a Payment */
  .topbar__link--email { display: none; }
  .topbar__right { gap: 10px; }
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo__img {
  display: block;
  height: 36px;
  width: auto;
}
.logo__img--light {
  height: 40px;
  /* Invert grayscale text while letting colored heart shine through */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
@media (max-width: 1180px) {
  .nav { gap: 2px; }
  .nav__link { padding: 8px 10px; font-size: 13.5px; }
  .nav__chev { width: 10px; height: 10px; }
}
.nav__link:hover { color: var(--navy-800); background: var(--bg-soft); }

.header__cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-800);
}
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 8px; }
.mobile-menu.is-open { display: flex; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(0, 125, 143, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(54, 160, 71, 0.06), transparent 60%),
    linear-gradient(180deg, #fcfdfe 0%, #ffffff 60%);
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__pattern { width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin: 0 0 22px;
}
.hero__title-accent {
  background: linear-gradient(120deg, var(--blue) 0%, var(--teal-dark) 55%, var(--teal-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-600);
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.hero__sub strong { color: var(--ink-900); font-weight: 700; }
.hero__sub em { font-style: italic; color: var(--navy-800); font-weight: 600; }

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  color: var(--ink-600);
  font-size: 14px;
  font-weight: 500;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg { color: var(--teal-dark); flex-shrink: 0; }

/* Hero visual — photo-led */
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
}
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(160deg, #073544 0%, #0e5266 100%);
}
.hero__photo img,
.hero__photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__photo-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(7, 53, 68, 0) 40%, rgba(7, 53, 68, 0.55) 100%),
    linear-gradient(20deg, rgba(0, 125, 143, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(72, 194, 197, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(72, 194, 197, 0); }
}

.hero__factpill {
  position: absolute;
  left: -28px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-soft);
  max-width: 90%;
}
.hero__factpill-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(0, 125, 143, 0.1);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero__factpill-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.2;
  min-width: 0;
}
.hero__factpill-body strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  white-space: nowrap;
}
.hero__factpill-body span {
  font-size: 12.5px;
  color: var(--ink-600);
  font-weight: 500;
  white-space: nowrap;
}

.hero__proof {
  position: absolute;
  right: -16px;
  top: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-soft);
  max-width: 280px;
}
.hero__proof-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--teal-dark);
}
.hero__proof-num span {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 1px;
}
.hero__proof-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.hero__proof-label strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}
.hero__proof-label span {
  font-size: 12px;
  color: var(--ink-500);
}

@media (max-width: 1024px) {
  .hero { padding: 64px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero__visual { max-width: 100%; aspect-ratio: 4 / 5; margin-bottom: 36px; }
  /* Fact pill spans the width with even margins; text wraps instead of overflowing */
  .hero__factpill {
    left: 14px;
    right: 14px;
    transform: none;
    bottom: -22px;
    width: auto;
    max-width: none;
    padding: 12px 16px;
  }
  .hero__factpill-body strong,
  .hero__factpill-body span {
    white-space: normal;
  }
  .hero__factpill-body strong { font-size: 13.5px; }
  .hero__factpill-body span { font-size: 11.5px; line-height: 1.35; }
  .hero__proof { right: 12px; top: 12px; padding: 10px 14px; max-width: 220px; }
  .hero__proof-num { font-size: 26px; }
  .hero__trust { gap: 12px 18px; font-size: 13px; }
}

/* ============================================
   Strip
   ============================================ */
.strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0;
}
.strip__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 16px;
}
.strip__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.strip__item {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}
.strip__divider {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}
@media (max-width: 720px) {
  .strip__divider { display: none; }
  .strip__items { gap: 8px 18px; }
  .strip__item { font-size: 15px; }
}

/* ============================================
   Stats band
   ============================================ */
.stats {
  padding: 80px 0;
  background: var(--bg);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 0;
  border-left: 2px solid var(--line-soft);
  padding-left: 24px;
  position: relative;
}
.stat::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--blue) 100%);
  border-radius: 2px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 1.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-900);
}
.stat__num sup, .stat__pct {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--teal-dark);
  font-weight: 600;
  margin-left: 2px;
}
.stat__pct { vertical-align: baseline; font-size: 0.6em; }
.stat__label {
  font-size: 14px;
  color: var(--ink-600);
  font-weight: 500;
  max-width: 240px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stats { padding: 56px 0; }
}

/* ============================================
   Services
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(0, 125, 143, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.service:hover::before { opacity: 1; }
.service:hover .service__cta { gap: 12px; color: var(--teal-dark); }
.service__icon {
  --ic: var(--teal);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ic) 12%, transparent);
  color: var(--ic);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.service__desc {
  font-size: 15px;
  color: var(--ink-600);
  margin: 0 0 22px;
  line-height: 1.55;
}
.service__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-800);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.service--featured {
  background: linear-gradient(180deg, #062b39 0%, #073544 100%);
  border-color: var(--navy-700);
  color: rgba(255, 255, 255, 0.85);
}
.service--featured::before {
  background: radial-gradient(400px 220px at 100% 0%, rgba(72, 194, 197, 0.18), transparent 70%);
  opacity: 1;
}
.service--featured:hover { border-color: var(--teal-bright); }
.service--featured .service__title { color: #fff; }
.service--featured .service__desc { color: rgba(255, 255, 255, 0.7); }
.service--featured .service__cta { color: var(--teal-bright); }
.service--featured .service__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--teal-bright);
}
.service__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(72, 194, 197, 0.15);
  color: var(--teal-bright);
  border: 1px solid rgba(72, 194, 197, 0.25);
}

/* Wide service card — spans the full grid row (used for Coding) */
.service--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 32px 36px;
}
.service--wide__main {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: flex-start;
}
.service--wide__copy { display: flex; flex-direction: column; }
.service--wide .service__icon { margin-bottom: 0; }
.service--wide .service__title { margin-top: -2px; margin-bottom: 8px; }
.service--wide .service__desc { margin-bottom: 14px; max-width: 580px; }
.service--wide__badges {
  display: flex;
  gap: 28px;
  padding-left: 28px;
  border-left: 1px solid var(--line-soft);
}
.cred-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cred-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.cred-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cred {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--bg-cool);
  color: var(--ink-800);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-soft);
}
.cred--accent {
  background: rgba(0, 125, 143, 0.08);
  border-color: rgba(0, 125, 143, 0.22);
  color: var(--teal-dark);
}

@media (max-width: 1000px) {
  .service--wide { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .service--wide__badges { padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .service--wide__badges { flex-direction: column; gap: 16px; }
}

@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; }
}

/* ============================================
   Pathways — MAS framework section
   ============================================ */
.pathways {
  padding: 110px 0;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(0, 125, 143, 0.05), transparent 60%),
    radial-gradient(700px 400px at 85% 100%, rgba(54, 160, 71, 0.05), transparent 60%),
    #fff;
}

/* Three forces */
.pathways__forces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.force {
  position: relative;
  text-align: center;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.force:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.force__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal-dark) 100%);
  box-shadow: 0 12px 24px -10px rgba(0, 125, 143, 0.45);
  position: relative;
}
.force__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 125, 143, 0.35);
  pointer-events: none;
}
.force__icon--teal {
  background: linear-gradient(135deg, #48c2c5 0%, #007d8f 100%);
  box-shadow: 0 12px 24px -10px rgba(0, 125, 143, 0.45);
}
.force__icon--teal::after { border-color: rgba(0, 125, 143, 0.35); }
.force__icon--green {
  background: linear-gradient(135deg, #6cbe45 0%, #36a047 100%);
  box-shadow: 0 12px 24px -10px rgba(54, 160, 71, 0.45);
}
.force__icon--green::after { border-color: rgba(54, 160, 71, 0.35); }
.force__icon--lime {
  background: linear-gradient(135deg, #bcd631 0%, #6cbe45 100%);
  box-shadow: 0 12px 24px -10px rgba(108, 190, 69, 0.45);
}
.force__icon--lime::after { border-color: rgba(108, 190, 69, 0.35); }

.force__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.force__desc {
  font-size: 14.5px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.6;
  max-width: 320px;
  margin-inline: auto;
}

/* Pathway flow connector */
.pathways__flow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 48px auto;
  max-width: 720px;
}
.pathways__flow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 50%, transparent 100%);
}
.pathways__flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #007d8f 0%, #0e7f90 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 10px 28px -10px rgba(0, 125, 143, 0.55);
  white-space: nowrap;
}
.pathways__flow-pill svg { flex-shrink: 0; opacity: 0.8; }

/* Five outcomes */
.pathways__outcomes-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 24px;
}
.pathways__outcomes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.outcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.outcome:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.outcome__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(0, 125, 143, 0.08);
  color: var(--teal-dark);
}
.outcome:nth-child(2) .outcome__icon { background: rgba(72, 194, 197, 0.12); color: var(--teal-bright); }
.outcome:nth-child(3) .outcome__icon { background: rgba(54, 160, 71, 0.1); color: var(--blue); }
.outcome:nth-child(4) .outcome__icon { background: rgba(108, 190, 69, 0.12); color: var(--green); }
.outcome:nth-child(5) .outcome__icon { background: rgba(188, 214, 49, 0.18); color: #8aa326; }

.outcome strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  line-height: 1.25;
  margin-bottom: 8px;
}
.outcome span {
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .pathways__forces { grid-template-columns: 1fr; gap: 16px; }
  .pathways__outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pathways { padding: 72px 0; }
  .pathways__outcomes-grid { grid-template-columns: 1fr; }
  .pathways__flow { margin: 36px auto; gap: 12px; }
  .pathways__flow-pill { font-size: 13px; padding: 10px 16px; }
}

/* ============================================
   Why MAS
   ============================================ */
.why {
  padding: 110px 0;
  background: #fff;
}
.why__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.why__lead {
  font-size: 18px;
  color: var(--ink-600);
  margin: 0 0 32px;
  line-height: 1.55;
}
.why__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}
.why__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.why__bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 12px -4px rgba(0, 125, 143, 0.5);
}
.why__list strong {
  display: block;
  font-size: 16.5px;
  color: var(--ink-900);
  margin-bottom: 4px;
  font-weight: 600;
}
.why__list span {
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.55;
}

.why__quote {
  position: relative;
  background: linear-gradient(160deg, #062b39 0%, #073544 60%, #0e5266 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 44px 42px 36px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.why__quote::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(72, 194, 197, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.why__quote::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(54, 160, 71, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.why__quote-mark {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  color: var(--teal-bright);
  margin-bottom: 18px;
  opacity: 0.9;
}
.why__quote blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
}
.why__quote blockquote p {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: #fff;
  margin: 0 0 24px;
}
.why__quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.why__quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(72, 194, 197, 0.4);
}
.why__quote-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.why__quote-meta strong {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.why__quote-meta span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.why__quote-stat {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.why__quote-num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-bright);
  line-height: 1;
  margin-bottom: 6px;
}
.why__quote-label {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .why__grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
  .why { padding: 72px 0; }
  .why__quote { padding: 32px 26px 28px; }
  .why__quote blockquote p { font-size: 18px; }
}

/* ============================================
   Parallax mission section
   ============================================ */
.parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 0;
  background: #051d2a;
  color: #fff;
}
.parallax__media {
  position: absolute;
  inset: -10% 0 -10% 0;
  z-index: 0;
  will-change: transform;
}
.parallax__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.parallax__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(5, 29, 42, 0.85) 0%, rgba(0, 125, 143, 0.7) 50%, rgba(7, 53, 68, 0.85) 100%),
    linear-gradient(180deg, rgba(5, 29, 42, 0.2) 0%, rgba(5, 29, 42, 0.55) 100%);
}
.parallax__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
}
.parallax__pattern svg { width: 100%; height: 100%; }

.parallax__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.parallax__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 24px 0 24px;
}
.parallax__title-accent {
  background: linear-gradient(120deg, #bcd631 0%, #48c2c5 50%, #6cbe45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

.parallax__sub {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 56px;
  max-width: 720px;
}

.parallax__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.parallax__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  min-width: 180px;
}
.parallax__stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.parallax__stat-num sup {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--teal-bright);
  font-weight: 600;
  margin-left: 2px;
}
.parallax__stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  max-width: 200px;
  text-align: center;
}
.parallax__stat-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

@media (max-width: 720px) {
  .parallax { padding: 88px 0; }
  .parallax__stats { gap: 24px; flex-direction: column; }
  .parallax__stat-divider {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .parallax__media { transform: none !important; }
}

/* ============================================
   What We Do — intro block
   ============================================ */
.whatwedo {
  padding: 100px 0;
  background:
    radial-gradient(700px 350px at 12% 0%, rgba(0, 125, 143, 0.05), transparent 60%),
    radial-gradient(700px 350px at 88% 100%, rgba(54, 160, 71, 0.05), transparent 60%),
    #fff;
}
.whatwedo__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.whatwedo__lead {
  font-size: 17px;
  color: var(--ink-600);
  line-height: 1.65;
  margin: 16px 0 28px;
  max-width: 560px;
}
.whatwedo__pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.whatwedo__pillars li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 22px -14px rgba(7, 53, 68, 0.15);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.whatwedo__pillars li:hover {
  transform: translateX(4px);
  border-color: rgba(0, 125, 143, 0.28);
  box-shadow: 0 14px 32px -16px rgba(7, 53, 68, 0.2);
}
.whatwedo__pillar-icon {
  width: 52px;
  height: 52px;
  align-self: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 125, 143, 0.1) 0%, rgba(72, 194, 197, 0.14) 100%);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.whatwedo__pillars strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.whatwedo__pillars span {
  display: block;
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.55;
}
@media (max-width: 1024px) {
  .whatwedo__grid { grid-template-columns: 1fr; gap: 48px; }
  .whatwedo__lead { max-width: 100%; }
}
@media (max-width: 560px) {
  .whatwedo { padding: 64px 0; }
  .whatwedo__pillars li { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 18px; }
  .whatwedo__pillar-icon { width: 44px; height: 44px; }
}

/* ============================================
   Parallax — Pathways variant
   Cinematic dark video + SOLID white cards that float above
   ============================================ */
.parallax--pathways {
  padding: 120px 0 130px;
  background: #051d2a;
}
/* Cinematic overlay — dark teal-navy lets the video show, brand-tinted */
.parallax--pathways .parallax__overlay {
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(0, 125, 143, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, rgba(5, 29, 42, 0.72) 0%, rgba(7, 53, 68, 0.78) 60%, rgba(5, 29, 42, 0.82) 100%);
}
/* Soft white dot pattern — barely there, adds texture */
.parallax--pathways .parallax__pattern {
  opacity: 0.4;
}
.parallax--pathways .parallax__pattern svg circle {
  fill: rgba(255, 255, 255, 0.08);
}

.parallax__content--wide {
  max-width: 1240px;
  text-align: center;
}
.parallax__header {
  max-width: 780px;
  margin: 0 auto 64px;
}
.parallax--pathways .parallax__title {
  margin: 18px 0 20px;
  font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.4rem);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.parallax--pathways .parallax__title-accent {
  background: linear-gradient(120deg, #bcd631 0%, #48c2c5 50%, #6cbe45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.parallax--pathways .parallax__sub {
  margin: 0 auto;
  max-width: 680px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* Eyebrow light variant (already styled for dark bg) */
.parallax--pathways .eyebrow--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.parallax--pathways .eyebrow--light .eyebrow__dot {
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(72, 194, 197, 0.25);
}

/* SOLID white force cards that float prominently over the video */
.parallax--pathways .pathways__forces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.force--glass {
  position: relative;
  text-align: center;
  padding: 36px 28px 32px;
  background: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.5),
    0 18px 36px -16px rgba(0, 125, 143, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.force--glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 44px 80px -26px rgba(0, 0, 0, 0.55),
    0 24px 44px -18px rgba(0, 125, 143, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.force--glass .force__title {
  color: var(--ink-900);
  margin-bottom: 10px;
}
.force--glass .force__desc {
  color: var(--ink-600);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Flow pill on dark bg */
.pathways__flow--light { margin: 56px auto 40px; }
.pathways__flow--light .pathways__flow-line {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
}
.pathways__flow--light .pathways__flow-pill {
  background: linear-gradient(135deg, #007d8f 0%, #0e7f90 100%);
  border: 1px solid rgba(72, 194, 197, 0.4);
  color: #fff;
  box-shadow:
    0 16px 36px -10px rgba(0, 0, 0, 0.5),
    0 0 24px -4px rgba(72, 194, 197, 0.45);
}

/* Outcomes label */
.pathways__outcomes-label--light {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
}

/* SOLID white outcome cards */
.parallax--pathways .pathways__outcomes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.outcome--glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px 20px;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow:
    0 18px 36px -14px rgba(0, 0, 0, 0.4),
    0 8px 20px -10px rgba(0, 125, 143, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.outcome--glass:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 50px -16px rgba(0, 0, 0, 0.45),
    0 14px 28px -12px rgba(0, 125, 143, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.outcome--glass strong {
  color: var(--ink-900);
  font-size: 14.5px;
  line-height: 1.25;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.outcome--glass span {
  color: var(--ink-600);
  font-size: 12.5px;
  line-height: 1.5;
}
.outcome--glass .outcome__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 12px;
}
/* Saturated brand colors on the icons — pop against white cards over dark bg */
.outcome__icon--teal-dark   { background: rgba(0, 125, 143, 0.12);  color: var(--teal-dark); }
.outcome__icon--teal-bright { background: rgba(72, 194, 197, 0.16); color: #058b95; }
.outcome__icon--green       { background: rgba(54, 160, 71, 0.12);  color: #2c8b3d; }
.outcome__icon--mid-green   { background: rgba(108, 190, 69, 0.16); color: #4f9a36; }
.outcome__icon--lime        { background: rgba(188, 214, 49, 0.2);  color: #8aa326; }

@media (max-width: 1000px) {
  .parallax--pathways .pathways__forces { grid-template-columns: 1fr; gap: 16px; }
  .parallax--pathways .pathways__outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .parallax--pathways { padding: 80px 0 88px; }
  .parallax--pathways .pathways__outcomes-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Process
   ============================================ */
.process {
  padding: 110px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* Two-column layout: image on left, steps on right */
.process__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

/* Image side */
.process__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-cool);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  position: sticky;
  top: 96px;
}
.process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.process__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 29, 42, 0.45) 100%);
  pointer-events: none;
}
.process__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.process__caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(72, 194, 197, 0.35);
}

/* Right column: header + steps */
.process__header { margin-bottom: 36px; }
.process__lead {
  font-size: 16.5px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 520px;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: step;
  position: relative;
}
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.process__step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 125, 143, 0.3);
}
.process__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(7, 53, 68, 0.5);
  flex-shrink: 0;
}
.process__step:nth-child(2) .process__num { background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%); box-shadow: 0 6px 14px -6px rgba(0, 125, 143, 0.55); }
.process__step:nth-child(3) .process__num { background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%); box-shadow: 0 6px 14px -6px rgba(54, 160, 71, 0.5); }
.process__step:nth-child(4) .process__num { background: linear-gradient(135deg, var(--green) 0%, var(--lime) 100%); box-shadow: 0 6px 14px -6px rgba(108, 190, 69, 0.5); }
.process__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 6px;
  line-height: 1.2;
}
.process__desc {
  font-size: 14.5px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .process__layout { grid-template-columns: 1fr; gap: 40px; }
  .process__media { aspect-ratio: 16 / 9; max-width: 700px; margin: 0 auto; position: relative; top: 0; }
  .process__lead { max-width: 100%; }
}
@media (max-width: 560px) {
  .process { padding: 72px 0; }
  .process__step { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 18px; }
  .process__num { width: 48px; height: 48px; font-size: 19px; }
  .process__title { font-size: 17px; }
}

/* ============================================
   Technology
   ============================================ */
.tech {
  padding: 110px 0;
  background: #fff;
}
.tech__grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 80px;
  align-items: center;
}
.tech__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  width: 100%;
}
.tech__photo {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-cool);
}
.tech__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tech__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 53, 68, 0) 55%, rgba(7, 53, 68, 0.85) 100%);
  pointer-events: none;
}
/* Dashboard variant: no dark bottom gradient (no name overlay to support) */
.tech__visual--dashboard .tech__photo::after { display: none; }
.tech__visual--dashboard .tech__photo {
  background: linear-gradient(135deg, #f3f7fc 0%, #e9eff6 100%);
}

.tech__callout {
  position: absolute;
  right: -56px;
  top: -16px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-soft);
  max-width: 280px;
}
.tech__callout-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 125, 143, 0.14);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tech__callout-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tech__callout-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-500);
}
.tech__callout-amount {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1;
}
.tech__callout-meta {
  font-size: 12.5px;
  color: var(--teal-dark);
  font-weight: 500;
}

/* TV-style lower-third name overlay on the photo */
.tech__photo-name {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.tech__photo-name strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 3px;
}
.tech__photo-name span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.tech__lead {
  font-size: 17.5px;
  color: var(--ink-600);
  margin: 0 0 32px;
  line-height: 1.55;
}
.tech__features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tech__feat {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.tech__feat svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: var(--bg-cool);
  color: var(--navy-800);
}
.tech__feat strong {
  display: block;
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.tech__feat span {
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .tech__grid { grid-template-columns: 1fr; gap: 56px; }
  .tech__visual { margin: 0 auto; }
}
@media (max-width: 560px) {
  .tech { padding: 72px 0; }
  .tech__visual { max-width: 100%; aspect-ratio: 4 / 5; }
  .tech__callout { right: 12px; top: 12px; max-width: 70%; padding: 12px 14px; }
  .tech__callout-amount { font-size: 18px; }
  .tech__photo-name { left: 16px; right: 16px; bottom: 16px; }
  .tech__photo-name strong { font-size: 18px; }
}

/* ============================================
   Team
   ============================================ */
.team {
  padding: 100px 0;
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(0, 125, 143, 0.07), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.team__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.team__person {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team__person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Card is clickable — strip link defaults */
.team__person--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.team__person--link:hover .team__readmore { color: var(--teal-dark); gap: 8px; }
.team__readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.team__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-cool);
}
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Unified monochrome treatment so all headshots feel like one set */
  filter: contrast(1.02);
  transition: transform 0.6s var(--ease);
}
.team__person:hover .team__photo img { transform: scale(1.04); }
.team__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 53, 68, 0.55) 100%);
  pointer-events: none;
}
.team__photo-flag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

/* Initials avatar — used when photo isn't available yet. Matches the monochrome photo set. */
.team__photo--initials {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, #2a2f36 0%, #404750 50%, #2a2f36 100%);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.team__photo--initials::before {
  content: attr(data-initials);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.team__photo--initials::after {
  /* Subtle marble-like noise overlay to match the photo backgrounds */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 320px at 75% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    radial-gradient(380px 280px at 20% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 55%);
  pointer-events: none;
}
/* Photo-coming-soon label badge */
.team__person--initials .team__photo--initials {
  position: relative;
}
.team__person--initials .team__photo--initials .team__photo-flag {
  display: none;
}

.team__info {
  padding: 22px 22px 24px;
}
.team__info strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.team__info > span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.team__info p {
  font-size: 14px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.55;
  font-style: italic;
}
.team__info p::before { content: "\201C"; margin-right: 1px; }
.team__info p::after { content: "\201D"; margin-left: 1px; }

.team__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
}
.team__value {
  display: flex;
  gap: 18px;
  align-items: center;
}
.team__value-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.03em;
  color: var(--navy-800);
  line-height: 1;
  flex-shrink: 0;
}
.team__value-num i {
  font-style: normal;
  font-size: 0.5em;
  vertical-align: super;
  color: var(--teal-dark);
}
.team__value-label {
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.5;
  padding-top: 6px;
}

@media (max-width: 1024px) {
  .team__gallery { grid-template-columns: repeat(2, 1fr); }
  .team__values { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .team__gallery { grid-template-columns: 1fr; gap: 16px; }
  .team { padding: 72px 0; }
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(160deg, #051d2a 0%, #073544 50%, #0a4255 100%);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 125, 143, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(54, 160, 71, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: start;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 18px;
}
.cta__sub {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 520px;
}
.cta__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.cta__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cta__contact-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(72, 194, 197, 0.4);
}
.cta__contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(72, 194, 197, 0.14);
  color: var(--teal-bright);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cta__contact-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.cta__contact-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.cta__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cta__office {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
}
.cta__office-flag {
  width: 52px;
  height: 52px;
  align-self: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(72, 194, 197, 0.22) 0%, rgba(0, 125, 143, 0.28) 100%);
  border: 1px solid rgba(72, 194, 197, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: var(--font-display);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(72, 194, 197, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.cta__office-pin {
  color: var(--teal-bright);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}
.cta__office-flag .cta__office-code {
  display: block;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}
.cta__office strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cta__office span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.5;
}

.cta__form {
  background: #fff;
  color: var(--ink-800);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cta__form-brand {
  display: flex;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.cta__form-logo {
  height: 30px;
  width: auto;
  display: block;
}
.cta__form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 24px;
}
.cta__form-fields { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink-900);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder { color: var(--ink-400); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 125, 143, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.cta__form-note {
  font-size: 12.5px;
  color: var(--ink-500);
  margin: 0;
  text-align: center;
}

.cta__form-success {
  text-align: center;
  padding: 16px 0;
}
.cta__form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(0, 125, 143, 0.12);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
}
.cta__form-success h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.cta__form-success p {
  font-size: 14.5px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.55;
}
.cta__form-success a { color: var(--teal-dark); font-weight: 600; }

@media (max-width: 1024px) {
  .cta__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .cta { padding: 72px 0; }
  .cta__contact, .cta__offices { grid-template-columns: 1fr; }
  .cta__form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__tag {
  font-size: 14px;
  line-height: 1.55;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}
.footer__socials {
  display: flex;
  gap: 8px;
}
.footer__socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__socials a:hover {
  background: var(--teal-dark);
  color: #fff;
}
.footer__col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--teal-bright); }
.footer__col address {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-bottom: 16px;
}
.footer__col address strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.footer__contact {
  font-size: 14px;
  margin: 6px 0 0;
}
.footer__contact a { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.footer__contact a:hover { color: var(--teal-bright); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__legal {
  display: flex;
  gap: 22px;
}
.footer__legal a:hover { color: var(--teal-bright); }

.footer__credit {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.footer__credit a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer__credit a:hover {
  color: var(--teal-bright);
  border-color: var(--teal-bright);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; padding-bottom: 36px; }
  .footer { padding-top: 56px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================
   Reveal on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Sticky sidebars can't carry a lingering transform or sticky breaks — they fade only */
.story__aside.reveal,
.profile-bio__aside.reveal { transform: translateY(12px); }
.story__aside.reveal.is-visible,
.profile-bio__aside.reveal.is-visible { transform: none; }

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

/* ============================================
   Subpage shared — active nav state
   ============================================ */
.nav__link--active {
  color: var(--teal-dark);
  background: rgba(0, 125, 143, 0.08);
}

/* ============================================
   Subpage hero (About + Profile pages)
   ============================================ */
.subhero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 125, 143, 0.08), transparent 60%),
    linear-gradient(180deg, #fcfdfe 0%, #ffffff 70%);
}
.subhero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.subhero__bg svg { width: 100%; height: 100%; }
.subhero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.subhero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 18px 0 22px;
}
.subhero__title-accent {
  background: linear-gradient(120deg, #36a047 0%, #007d8f 55%, #48c2c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}
.subhero__sub {
  font-size: 18px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

/* ============================================
   Story section (with credentials sidebar)
   ============================================ */
.story {
  padding: 80px 0 100px;
  background: #fff;
}
.story__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
}
.story__aside {
  position: sticky;
  top: 96px;
  padding: 28px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}
.story__aside-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.story__aside-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.story__aside-meta {
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0 0 0;
}
.story__aside-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 22px 0 18px;
}
.story__copy p {
  font-size: 16.5px;
  color: var(--ink-700);
  line-height: 1.7;
  margin: 0 0 22px;
}
.story__pull {
  font-family: var(--font-display);
  font-size: 20px !important;
  font-weight: 500;
  font-style: italic;
  color: var(--navy-800) !important;
  line-height: 1.5 !important;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(0, 125, 143, 0.06) 0%, rgba(54, 160, 71, 0.06) 100%);
  border-left: 3px solid var(--teal-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 16px !important;
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 32px; }
  .story__aside { position: static; }
}

/* ============================================
   Pillars (3-col on About page)
   ============================================ */
.pillars {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 125, 143, 0.1) 0%, rgba(72, 194, 197, 0.15) 100%);
  color: var(--teal-dark);
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.pillar p {
  font-size: 15px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: 1fr; }
}

/* ============================================
   Capabilities grid (About page - all 18 services)
   ============================================ */
.caps {
  padding: 100px 0;
  background: #fff;
}
.caps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cap {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cap > * { align-self: center; }
.cap:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 125, 143, 0.3);
  box-shadow: 0 14px 30px -18px rgba(7, 53, 68, 0.22);
}
.cap__icon {
  --ic: var(--teal-dark);
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ic) 12%, transparent);
  color: var(--ic);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.cap:hover .cap__icon { transform: scale(1.08) rotate(-3deg); }
.cap__body { min-width: 0; }
.cap__body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 6px;
  line-height: 1.25;
}
.cap__body span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .caps__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .caps__grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA panel variant (for About + Profile pages)
   ============================================ */
.cta__panel {
  background: #fff;
  color: var(--ink-800);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  box-shadow: var(--shadow-xl);
}
.cta__panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 14px;
}
.cta__panel-text {
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0 0 24px;
}

/* ============================================
   Profile page hero + bio layout
   ============================================ */
.profile-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(0, 125, 143, 0.08), transparent 60%),
    #fff;
}
.profile-hero__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}
.profile-hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-cool);
  box-shadow: var(--shadow-lg);
}
.profile-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.02);
}
.profile-hero__photo--initials {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, #2a2f36 0%, #404750 50%, #2a2f36 100%);
  display: grid;
  place-items: center;
  position: relative;
}
.profile-hero__photo--initials::before {
  content: attr(data-initials);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 120px;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.profile-hero__copy .eyebrow {
  margin-bottom: 18px;
}
.profile-hero__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.profile-hero__role {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--teal-dark);
  margin: 0 0 24px;
  display: block;
}
.profile-hero__lead {
  font-size: 17.5px;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .profile-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .profile-hero__photo { max-width: 360px; margin: 0 auto; }
}

/* Profile bio body */
.profile-bio {
  padding: 60px 0 100px;
  background: #fff;
}
.profile-bio__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.profile-bio__body p {
  font-size: 16.5px;
  color: var(--ink-700);
  line-height: 1.75;
  margin: 0 0 22px;
}
.profile-bio__aside {
  position: sticky;
  top: 96px;
  padding: 28px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.profile-bio__aside h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.profile-bio__aside ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px;
}
.profile-bio__aside li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.5;
}
.profile-bio__aside li svg {
  color: var(--teal-dark);
  margin-top: 3px;
  flex-shrink: 0;
}
.profile-bio__aside-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
@media (max-width: 900px) {
  .profile-bio__grid { grid-template-columns: 1fr; }
  .profile-bio__aside { position: static; }
}

/* Related team strip on profile pages */
.related-team {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.related-team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.related-team__card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.related-team__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related-team__photo {
  aspect-ratio: 1;
  background: var(--bg-cool);
  overflow: hidden;
}
.related-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.02);
}
.related-team__photo--initials {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, #2a2f36 0%, #404750 50%, #2a2f36 100%);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
}
.related-team__info {
  padding: 14px 16px 16px;
}
.related-team__info strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.related-team__info span {
  display: block;
  font-size: 12px;
  color: var(--ink-600);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .related-team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .related-team__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Nav — dropdowns & mega menu
   ============================================ */
.nav__item {
  display: inline-flex;
  align-items: center;
}
.nav__item--dropdown { position: relative; }
/* mega item stays static so the panel can anchor to the full-width .header */

.nav__link--has-panel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav__chev {
  transition: transform 0.25s var(--ease);
  opacity: 0.6;
}
.nav__item--mega:hover .nav__chev,
.nav__item--mega:focus-within .nav__chev,
.nav__item--dropdown:hover .nav__chev,
.nav__item--dropdown:focus-within .nav__chev { transform: rotate(180deg); }

/* Shared panel show/hide */
.megamenu, .dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 60;
}
.nav__item--mega:hover .megamenu,
.nav__item--mega:focus-within .megamenu,
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mega menu — full-width anchor, centered card */
.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 12px; /* invisible hover bridge */
}
.megamenu__inner {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 26px;
}
.megamenu__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
}
.megamenu__group {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 12px;
}
.megamenu__col ul { display: flex; flex-direction: column; gap: 2px; }
.megamenu__col a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 0.18s var(--ease);
}
.megamenu__col a:hover { background: var(--bg-soft); }
.megamenu__col a strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.megamenu__col a span {
  display: block;
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.35;
  margin-top: 1px;
}
.megamenu__promo {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: var(--radius);
  background: linear-gradient(155deg, #073544 0%, #007d8f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.megamenu__promo-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.megamenu__promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.6s var(--ease);
}
.megamenu__promo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,53,68,0) 40%, rgba(7,53,68,0.85) 100%);
}
.megamenu__promo:hover .megamenu__promo-media img { transform: scale(1.04); }
.megamenu__promo-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  position: relative;
  z-index: 1;
}
.megamenu__promo::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(188,214,49,0.18) 0%, transparent 70%);
  z-index: 0;
}
.megamenu__promo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  position: relative;
}
.megamenu__promo strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  position: relative;
}
.megamenu__promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-bright);
  margin-top: 4px;
  position: relative;
}

/* Team dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 12px;
  width: 340px;
}
.dropdown::before {
  content: "";
  position: absolute;
  inset: 12px 0 0 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: -1;
}
.dropdown__head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 16px 18px 8px;
}
.dropdown__person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  margin: 0 6px;
  border-radius: 11px;
  transition: background 0.18s var(--ease);
}
.dropdown__person:last-child { margin-bottom: 8px; }
.dropdown__person:hover { background: var(--bg-soft); }
.dropdown__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2a2f36, #404750);
}
.dropdown__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.02);
}
.dropdown__initials {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}
.dropdown__meta { min-width: 0; }
.dropdown__meta strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.2;
}
.dropdown__meta span {
  display: block;
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile accordion sub-menus */
.mobile-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-800);
  font-family: inherit;
  text-align: left;
}
.mobile-acc:hover { background: var(--bg-soft); }
.mobile-acc .nav__chev { transition: transform 0.25s var(--ease); }
.mobile-acc.is-open .nav__chev { transform: rotate(180deg); }
.mobile-sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 6px 14px;
  margin-left: 8px;
  border-left: 2px solid var(--line-soft);
}
.mobile-sub.is-open { display: flex; }
.mobile-sub a {
  padding: 9px 14px !important;
  font-size: 14px !important;
  color: var(--ink-600) !important;
}

@media (max-width: 1100px) {
  /* keep mega/dropdown out of the way on tablet — handled by mobile menu below 1024 */
  .megamenu__inner { grid-template-columns: 1fr; }
  .megamenu__promo { display: none; }
}

/* ============================================
   Pillars 4-col variant (Why MAS page)
   ============================================ */
.pillars__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .pillars__grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars__grid--4 { grid-template-columns: 1fr; } }

/* ============================================
   Compare table (Why MAS)
   ============================================ */
.compare { padding: 100px 0; background: #fff; }
.compare__table {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare__row {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr 1.1fr;
  align-items: stretch;
}
/* Cell padding lives on the cells (not the row) so the MAS column tint runs edge-to-edge */
.compare__feature, .compare__mas, .compare__them {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
}
.compare__row:not(:last-child) > * { border-bottom: 1px solid var(--line-soft); }

/* Highlighted MAS ("us") column */
.compare__mas {
  background: rgba(0, 125, 143, 0.06);
  border-left: 1px solid rgba(0, 125, 143, 0.14);
  border-right: 1px solid rgba(0, 125, 143, 0.14);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.compare__mas svg { color: var(--teal-dark); flex-shrink: 0; }
.compare__feature { font-weight: 600; font-size: 14.5px; color: var(--ink-800); }
.compare__them { font-size: 13.5px; color: var(--ink-500); }

/* Header row */
.compare__row--head > * {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 15px 24px;
  background: var(--bg-soft);
}
.compare__row--head .compare__mas {
  background: linear-gradient(135deg, #007d8f 0%, #0e7f90 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -10px rgba(0, 125, 143, 0.6);
}
.compare__row--head .compare__them { color: var(--ink-400); }

@media (max-width: 700px) {
  .compare__row { grid-template-columns: 1fr; }
  .compare__row:not(:last-child) > * { border-bottom: 0; }
  .compare__row { border-bottom: 1px solid var(--line-soft); padding: 6px 0; }
  .compare__row:last-child { border-bottom: 0; }
  .compare__feature, .compare__mas, .compare__them { padding: 8px 20px; }
  .compare__row--head { display: none; }
  .compare__mas {
    border-left: 3px solid var(--teal); border-right: 0;
    background: rgba(0, 125, 143, 0.05);
    margin: 2px 0;
  }
  .compare__them::before { content: "Typical vendor: "; font-weight: 600; color: var(--ink-400); }
}

/* ============================================
   EHR integrations (Technology)
   ============================================ */
.ehr { padding: 90px 0; background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.ehr__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.ehr__chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  padding: 14px 26px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: 0 6px 16px -12px rgba(7,53,68,0.2);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ehr__chip:hover { transform: translateY(-2px); border-color: rgba(0,125,143,0.3); }
.ehr__chip--more {
  background: rgba(0,125,143,0.08);
  border-color: rgba(0,125,143,0.2);
  color: var(--teal-dark);
  font-size: 16px;
}

/* ============================================
   Security band (Technology)
   ============================================ */
.secband { padding: 90px 0; background: #fff; }
.secband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.secband__item {
  text-align: center;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.secband__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.secband__icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--teal-bright);
}
.secband__item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink-900); margin-bottom: 8px; letter-spacing: -0.01em; }
.secband__item span { font-size: 14px; color: var(--ink-600); line-height: 1.5; }
@media (max-width: 1000px) { .secband__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .secband__grid { grid-template-columns: 1fr; } }

/* Technology page tweaks */
.tech--page { padding-top: 80px; }

/* ============================================
   Contact page
   ============================================ */
.contact { padding: 70px 0 100px; background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact__form-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
}
.contact__form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 24px;
}
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink-900);
  background: #fff;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,125,143,0.15); }

.contact__aside { display: flex; flex-direction: column; gap: 14px; }
.contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact__row:hover { border-color: rgba(0,125,143,0.3); transform: translateX(3px); }
.contact__row-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(0,125,143,0.1);
  color: var(--teal-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact__row-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-500); font-weight: 600; }
.contact__row-meta strong { font-size: 16px; color: var(--ink-900); font-weight: 600; }
.contact__offices {
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.contact__office { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
.contact__office > * { align-self: center; }
.contact__office strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink-900); margin-bottom: 4px; }
.contact__office span { display: block; font-size: 13.5px; color: var(--ink-600); line-height: 1.5; }
.contact__office .cta__office-flag { background: linear-gradient(135deg, rgba(72,194,197,0.18), rgba(0,125,143,0.24)); border-color: rgba(0,125,143,0.3); }
.contact__office .cta__office-pin { color: var(--teal-dark); }
.contact__office .cta__office-code { color: var(--navy-800); }
.contact__hours {
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.contact__hours strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-700); margin-bottom: 4px; }
.contact__hours span { font-size: 14px; color: var(--ink-600); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Make a Payment bar */
.paybar {
  padding: 60px 0;
  background: linear-gradient(160deg, #051d2a 0%, #073544 60%, #0a4255 100%);
  color: #fff;
}
.paybar__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.paybar__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem,1.2rem+1.4vw,2.2rem); letter-spacing: -0.02em; color: #fff; margin: 14px 0 12px; }
.paybar__text { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.55; margin: 0; max-width: 460px; }
.paybar__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.paybar__secure { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,0.65); }
.paybar__secure svg { color: var(--teal-bright); }
@media (max-width: 800px) {
  .paybar__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================
   About video block
   ============================================ */
.aboutvideo { padding: 40px 0 90px; background: #fff; }
.aboutvideo__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 21 / 9;
  background: #051d2a;
}
.aboutvideo__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.aboutvideo__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,29,42,0.85) 0%, rgba(5,29,42,0.5) 45%, rgba(5,29,42,0.15) 100%),
    linear-gradient(0deg, rgba(5,29,42,0.4) 0%, transparent 50%);
}
.aboutvideo__caption {
  position: absolute;
  left: 0; bottom: 0; top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
  padding: 0 clamp(28px, 5vw, 60px);
  color: #fff;
}
.aboutvideo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.aboutvideo__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.aboutvideo__text {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .aboutvideo__frame { aspect-ratio: 4 / 5; }
  .aboutvideo__caption { max-width: 100%; justify-content: flex-end; padding-bottom: 32px; }
  .aboutvideo__overlay { background: linear-gradient(0deg, rgba(5,29,42,0.9) 0%, rgba(5,29,42,0.4) 55%, rgba(5,29,42,0.2) 100%); }
}

/* Contact aside — promise badge + next steps */
.contact__promise {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #073544 0%, #007d8f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact__promise::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(188,214,49,0.25) 0%, transparent 70%);
}
.contact__promise-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(255,255,255,0.14);
  color: var(--teal-bright);
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
}
.contact__promise strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 4px; position: relative; }
.contact__promise span { display: block; font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.5; position: relative; }

.contact__next {
  padding: 22px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.contact__next-title {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-700);
  margin-bottom: 14px;
}
.contact__steps { display: flex; flex-direction: column; gap: 14px; }
.contact__steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: flex-start; }
.contact__step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(0,125,143,0.5);
}
.contact__steps li > span:last-child { font-size: 14px; color: var(--ink-700); line-height: 1.5; padding-top: 3px; }

/* ============================================
   Coding — dedicated highlight band
   ============================================ */
.coding {
  padding: 100px 0;
  background:
    radial-gradient(700px 360px at 12% 10%, rgba(0,125,143,0.05), transparent 60%),
    radial-gradient(700px 360px at 90% 90%, rgba(54,160,71,0.05), transparent 60%),
    #fff;
  border-top: 1px solid var(--line-soft);
}
.coding__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

/* Visual */
.coding__visual {
  position: relative;
  padding: 10px 28px 32px 10px;
}
.coding__panel {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 22px 24px;
  position: relative;
  z-index: 2;
}
.coding__visual::before {
  /* soft brand slab behind the panel */
  content: "";
  position: absolute;
  right: 8px; top: 34px; bottom: 0; left: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(0,125,143,0.10), rgba(54,160,71,0.08));
  z-index: 1;
}
.coding__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.coding__panel-title { font-size: 12.5px; font-weight: 600; color: var(--ink-500); letter-spacing: 0.01em; }
.coding__panel-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--teal-dark);
  background: rgba(0,125,143,0.08);
  padding: 4px 10px; border-radius: 999px;
}
.coding__rows { display: flex; flex-direction: column; }
.coding__row {
  display: grid;
  grid-template-columns: 96px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.coding__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-600);
  background: var(--bg-cool);
  padding: 5px 8px;
  border-radius: 7px;
  text-align: center;
}
.coding__code {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink-900);
}
.coding__check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(54,160,71,0.12);
  color: #2c8b3d;
  display: grid; place-items: center;
}
.coding__panel-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--ink-600);
}
.coding__panel-foot strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-dark);
}
.coding__badge {
  position: absolute;
  right: -6px; bottom: 6px;
  z-index: 3;
  background: linear-gradient(150deg, #073544, #007d8f);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
}
.coding__badge-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 7px;
}
.coding__badge-codes { display: flex; gap: 7px; }
.coding__badge-codes b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--teal-bright);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(72,194,197,0.3);
  padding: 4px 9px;
  border-radius: 7px;
}

/* Copy */
.coding__lead {
  font-size: 17px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 16px 0 24px;
}
.coding__lead strong { color: var(--ink-900); font-weight: 600; }
.coding__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
}
.coding__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.45;
}
.coding__list svg { color: var(--teal-dark); margin-top: 2px; flex-shrink: 0; }
.coding__creds {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
  margin-bottom: 4px;
  border-top: 1px solid var(--line-soft);
}
.coding__creds-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.coding__creds-chips { display: flex; gap: 8px; }

@media (max-width: 1024px) {
  .coding__grid { grid-template-columns: 1fr; gap: 48px; }
  .coding__visual { max-width: 520px; margin: 0 auto; padding: 10px 24px 28px 6px; }
}
@media (max-width: 560px) {
  .coding { padding: 72px 0; }
  .coding__code { font-size: 18px; }
  .coding__badge { right: 0; padding: 12px 14px; }
}

/* ============================================
   FAQ accordion
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.faq__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}
.faq__aside { position: sticky; top: 100px; }
.faq__aside-text {
  font-size: 16px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 360px;
}
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq__item.is-open {
  border-color: rgba(0, 125, 143, 0.28);
  box-shadow: 0 12px 30px -18px rgba(7, 53, 68, 0.2);
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-align: left;
  cursor: pointer;
  line-height: 1.3;
}
.faq__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-cool);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.3s var(--ease);
}
.faq__item.is-open .faq__icon {
  background: var(--teal-dark);
  color: #fff;
  transform: rotate(180deg);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 15px;
  color: var(--ink-600);
  line-height: 1.6;
}
.faq__a p a { color: var(--teal-dark); font-weight: 600; }

@media (max-width: 900px) {
  .faq { padding: 72px 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__aside { position: static; }
  .faq__aside-text { max-width: 100%; }
}

/* ============================================
   Mobile — two-column compaction (less scroll, more scannable)
   ============================================ */
@media (max-width: 600px) {
  /* Stats → 2×2 */
  .stats { padding: 48px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .stat { padding: 10px 0 10px 14px; }
  .stat::before { top: 10px; bottom: 10px; }
  .stat__num { font-size: 2.1rem; }
  .stat__label { font-size: 12px; max-width: 100%; }

  /* Services → 2 columns */
  .services__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service { padding: 18px 15px; border-radius: 16px; }
  .service__icon { width: 40px; height: 40px; margin-bottom: 13px; }
  .service__title { font-size: 15.5px; margin-bottom: 7px; line-height: 1.2; }
  .service__desc { font-size: 12.5px; margin-bottom: 13px; line-height: 1.45; }
  .service__cta { font-size: 12.5px; }
  .service__tag { font-size: 9.5px; top: 11px; right: 11px; padding: 3px 7px; }

  /* About capabilities → 2 columns (icon stacked above text) */
  .caps__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cap { grid-template-columns: 1fr; gap: 10px; padding: 15px 13px; }
  .cap__icon { width: 38px; height: 38px; }
  .cap__body strong { font-size: 13.5px; }
  .cap__body span { font-size: 11.5px; line-height: 1.4; }

  /* Team gallery → 2 columns */
  .team__gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team__info { padding: 13px 13px 15px; }
  .team__info strong { font-size: 14.5px; }
  .team__info > span { font-size: 11px; margin-bottom: 7px; }
  .team__info p { font-size: 12px; line-height: 1.45; }
  .team__photo-flag { font-size: 10.5px; left: 10px; bottom: 10px; padding: 4px 8px; }

  /* Why MAS — 4 differentiators → 2×2 */
  .pillars__grid--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pillars__grid--4 .pillar { padding: 22px 15px; }
  .pillars__grid--4 .pillar__icon { width: 48px; height: 48px; margin-bottom: 13px; }
  .pillars__grid--4 .pillar h3 { font-size: 16px; }
  .pillars__grid--4 .pillar p { font-size: 12.5px; line-height: 1.45; }

  /* Technology — security band → 2×2 */
  .secband__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .secband__item { padding: 22px 14px; }
  .secband__icon { width: 48px; height: 48px; margin-bottom: 13px; }
  .secband__item strong { font-size: 15px; }
  .secband__item span { font-size: 12px; line-height: 1.45; }

  /* Pathways — five outcomes → 2 columns */
  .parallax--pathways .pathways__outcomes-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .outcome--glass { padding: 16px 12px; }
  .outcome--glass .outcome__icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .outcome--glass strong { font-size: 13px; }
  .outcome--glass span { font-size: 11px; line-height: 1.4; }

  /* Footer → 2 columns (brand + offices span full width) */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__col h4 { margin-bottom: 14px; }
}

/* Extra-tight phones — keep 2-col but trim text further */
@media (max-width: 380px) {
  .service__title { font-size: 14.5px; }
  .service__desc, .cap__body span, .team__info p { font-size: 11.5px; }
  .stat__num { font-size: 1.9rem; }
}

/* ============================================
   Mobile — heading-first ordering
   Sections where the visual sits left on desktop should lead with the
   heading on mobile so users see context before the illustration.
   ============================================ */
@media (max-width: 1024px) {
  /* Coding band (visual left → copy first on mobile) */
  .coding__grid .coding__copy   { order: 1; }
  .coding__grid .coding__visual { order: 2; margin-top: 8px; }

  /* Technology page + homepage tech section */
  .tech__grid .tech__copy   { order: 1; }
  .tech__grid .tech__visual { order: 2; margin-top: 8px; }

  /* About story: copy first, credentials sidebar after */
  .story__grid .story__copy  { order: 1; }
  .story__grid .story__aside { order: 2; }
}

/* ============================================
   Service page template
   ============================================ */
.subhero--service { padding: 56px 0 40px; }
.subhero--service .subhero__grid {
  display: block;
}
.subhero--service .subhero__inner { max-width: 760px; }
.subhero--service .subhero__visual { display: none; }
.subhero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.subhero__crumb a { color: var(--teal-dark); font-weight: 600; }
.subhero__crumb a:hover { text-decoration: underline; }
.subhero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.subhero__visual { display: grid; place-items: center; }
.subhero__icon-hero {
  width: clamp(180px, 28vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.55) 0%, transparent 55%),
    linear-gradient(135deg, var(--svc-a, #007d8f) 0%, var(--svc-b, #0e7f90) 100%);
  color: #fff;
  box-shadow:
    0 30px 60px -20px color-mix(in srgb, var(--svc-a, #007d8f) 60%, transparent),
    inset 0 0 0 1px rgba(255,255,255,0.18);
  position: relative;
}
.subhero__icon-hero::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--svc-a, #007d8f) 40%, transparent);
  pointer-events: none;
}
.subhero__icon-hero svg { width: 42%; height: 42%; }

/* Main body (text + sidebar/stat) */
.service-body { padding: 80px 0; background: #fff; }
.service-body__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 64px;
  align-items: start;
}
.service-body__copy p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 22px;
}
.service-body__list-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 8px 0 14px;
}
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin-bottom: 28px;
}
.service-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.5;
}
.service-list svg { color: var(--teal-dark); margin-top: 3px; flex-shrink: 0; }
.service-body__aside {
  position: sticky;
  top: 100px;
  padding: 28px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.service-body__aside h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.service-body__aside ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.service-body__aside li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.45;
}
.service-body__aside li svg { color: var(--teal-dark); margin-top: 3px; flex-shrink: 0; }
.service-body__aside-divider { height: 1px; background: var(--line); margin: 22px 0; }
.service-body__aside .stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.03em;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.service-body__aside .stat-lbl { font-size: 13px; color: var(--ink-600); line-height: 1.45; }

/* Approach steps */
.service-approach { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.service-approach__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-step {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.svc-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px -6px rgba(0,125,143,0.5);
}
.svc-step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 6px;
}
.svc-step__desc { font-size: 13.5px; color: var(--ink-600); margin: 0; line-height: 1.5; }

/* Related services strip */
.related-svc { padding: 70px 0; background: #fff; }
.related-svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.related-svc__card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.related-svc__card:hover { transform: translateY(-2px); border-color: rgba(0,125,143,0.3); }
.related-svc__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(0,125,143,0.08);
  color: var(--teal-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.related-svc__card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-900); }
.related-svc__card span { display: block; font-size: 12.5px; color: var(--ink-500); margin-top: 1px; }

@media (max-width: 1024px) {
  .service-body__grid { grid-template-columns: 1fr; gap: 36px; }
  .service-body__aside { position: static; }
  .service-approach__grid { grid-template-columns: 1fr 1fr; }
  .related-svc__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .service-list { grid-template-columns: 1fr; }
  .service-approach__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-step { padding: 18px 15px; }
  .svc-step__num { width: 38px; height: 38px; font-size: 17px; margin-bottom: 12px; }
  .related-svc__grid { grid-template-columns: 1fr; }
}

/* ============================================
   Quick Inquiry — floating launcher + modal
   ============================================ */
.qi-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-dark, #007d8f) 0%, var(--teal, #0e7f90) 100%);
  color: #fff;
  font: 600 14px/1 var(--font-sans);
  letter-spacing: -0.01em;
  box-shadow:
    0 18px 40px -16px rgba(0, 125, 143, 0.55),
    0 6px 18px -10px rgba(15, 23, 42, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.qi-launcher:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 48px -16px rgba(0, 125, 143, 0.65),
    0 8px 22px -10px rgba(15, 23, 42, 0.4);
}
.qi-launcher svg { display: block; }
.qi-launcher__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #bcd631;
  box-shadow: 0 0 0 0 rgba(188, 214, 49, 0.6);
  animation: qi-pulse 2.2s ease-out infinite;
}
@keyframes qi-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(188, 214, 49, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(188, 214, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(188, 214, 49, 0); }
}
@media (max-width: 600px) {
  .qi-launcher { right: 14px; bottom: 14px; padding: 11px 14px 11px 12px; }
  .qi-launcher__label { display: none; }
}

.qi-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.qi-modal.is-open { opacity: 1; pointer-events: auto; }
.qi-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 29, 42, 0.55);
  backdrop-filter: blur(4px);
}
.qi-modal__card {
  position: relative;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px 28px;
  box-shadow: 0 36px 80px -20px rgba(15, 23, 42, 0.5);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.qi-modal.is-open .qi-modal__card { transform: translateY(0) scale(1); }
.qi-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--ink-700, #334155);
  transition: background 0.15s ease;
}
.qi-modal__close:hover { background: rgba(15, 23, 42, 0.08); }
.qi-modal__head { margin-bottom: 22px; }
.qi-modal__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark, #007d8f);
  margin-bottom: 12px;
}
.qi-modal__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-dark, #007d8f);
}
.qi-modal__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 27px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink-900, #051d2a);
  margin: 0 0 8px;
}
.qi-modal__sub {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-500, #64748b);
  margin: 0;
}
.qi-form { display: grid; gap: 13px; }
.qi-field { display: grid; gap: 5px; }
.qi-field label {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-700, #334155);
}
.qi-field input,
.qi-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ink-900, #051d2a);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.qi-field input:focus,
.qi-field textarea:focus {
  outline: none;
  border-color: var(--teal-dark, #007d8f);
  box-shadow: 0 0 0 3px rgba(0, 125, 143, 0.14);
}
.qi-field textarea { resize: vertical; min-height: 78px; }
.qi-form__note {
  font-size: 12px; text-align: center;
  color: var(--ink-500, #64748b);
  margin: 4px 0 0;
}
.qi-success { text-align: center; padding: 12px 0 4px; }
.qi-success__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(54, 160, 71, 0.12);
  color: #36a047;
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.qi-success h4 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--ink-900, #051d2a);
  margin: 0 0 8px;
}
.qi-success p {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-500, #64748b);
  margin: 0;
}
.qi-success a { color: var(--teal-dark, #007d8f); font-weight: 600; }

/* ============================================
   Legal pages (Privacy / HIPAA / Accessibility)
   ============================================ */
.legal-body { padding: 64px 0 96px; background: #fff; }
.legal-body__inner { display: grid; place-items: center; }
.legal-prose {
  width: 100%;
  max-width: 760px;
  color: var(--ink-700, #334155);
  font-size: 15.5px;
  line-height: 1.72;
}
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-900, #051d2a);
  margin: 44px 0 14px;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-prose li { margin: 6px 0; }
.legal-prose strong { color: var(--ink-900, #051d2a); font-weight: 600; }
.legal-prose a { color: var(--teal-dark, #007d8f); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal-prose a:hover { color: var(--teal, #0e7f90); }
.legal-prose address { margin: 12px 0 20px; line-height: 1.75; }
.legal-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink-900, #051d2a);
}
@media (max-width: 600px) {
  .legal-body { padding: 40px 0 64px; }
  .legal-prose { font-size: 15px; }
  .legal-prose h2 { margin-top: 32px; }
}

/* ============================================
   All Services overview page (services.html)
   ============================================ */
.svc-groups { padding: 64px 0 96px; background: #fff; }
.svc-group { margin: 0 0 64px; }
.svc-group:last-of-type { margin-bottom: 0; }
.svc-group__head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 0 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line, #e2e8f0);
}
.svc-group__num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: var(--teal-dark, #007d8f);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.svc-group__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink-900, #051d2a);
  margin: 0 0 6px;
}
.svc-group__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500, #64748b);
  margin: 0;
  max-width: 680px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.22s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)), box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--svc-c, var(--teal-dark, #007d8f));
  opacity: 0;
  transition: opacity 0.22s ease;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px -22px rgba(15, 23, 42, 0.18);
  border-color: color-mix(in srgb, var(--svc-c, #007d8f) 35%, transparent);
}
.svc-card:hover::before { opacity: 1; }
.svc-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--svc-c, #007d8f) 12%, transparent);
  color: var(--svc-c, var(--teal-dark, #007d8f));
  margin-bottom: 4px;
}
.svc-card strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-900, #051d2a);
  letter-spacing: -0.005em;
}
.svc-card > span:not(.svc-card__cta):not(.svc-card__tag) {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-500, #64748b);
  margin-bottom: 2px;
}
.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--svc-c, var(--teal-dark, #007d8f));
  margin-top: 6px;
}
.svc-card__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--svc-c, #007d8f) 14%, transparent);
  color: var(--svc-c, var(--teal-dark, #007d8f));
}
.svc-card--feat {
  border-color: color-mix(in srgb, var(--svc-c, #007d8f) 35%, transparent);
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--svc-c, #007d8f) 5%, #fff) 100%);
}

/* Feature image break (attorneys / team) */
.svc-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  margin: 56px 0;
  border-top: 1px solid var(--line, #e2e8f0);
  border-bottom: 1px solid var(--line, #e2e8f0);
}
.svc-feature--reverse .svc-feature__media { order: 2; }
.svc-feature--reverse .svc-feature__copy { order: 1; }
.svc-feature__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.3);
}
.svc-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.svc-feature__copy .eyebrow { margin-bottom: 12px; }
.svc-feature__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink-900, #051d2a);
  margin: 0 0 14px;
}
.svc-feature__copy p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-700, #334155);
  margin: 0;
}
@media (max-width: 1024px) {
  .svc-feature { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; margin: 40px 0; }
  .svc-feature--reverse .svc-feature__media { order: -1; }
  .svc-feature--reverse .svc-feature__copy { order: 0; }
}
@media (max-width: 600px) {
  .svc-groups { padding: 40px 0 64px; }
  .svc-group { margin-bottom: 40px; }
  .svc-group__head { gap: 14px; padding: 20px 0 16px; margin-bottom: 18px; }
  .svc-group__num { font-size: 28px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-card { padding: 16px 14px 14px; }
  .svc-card strong { font-size: 14px; }
  .svc-card > span:not(.svc-card__cta):not(.svc-card__tag) { font-size: 12px; }
  .svc-card__icon { width: 34px; height: 34px; }
}

/* ============================================
   Sitemap page
   ============================================ */
.sitemap { padding: 56px 0 80px; background: #fff; }
.sitemap__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sitemap__col { min-width: 0; }
.sitemap__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line, #e2e8f0);
}
.sitemap__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal-dark, #007d8f);
  letter-spacing: -0.01em;
}
.sitemap__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink-900, #051d2a);
  margin: 0;
}
.sitemap__sub {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark, #007d8f);
  margin: 24px 0 10px;
  padding-top: 16px;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
}
.sitemap__sub:first-of-type { border-top: 0; padding-top: 0; margin-top: 18px; }
.sitemap__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap__list li { margin: 0 0 4px; }
.sitemap__list a {
  display: block;
  padding: 8px 12px;
  margin: 0 -12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.sitemap__list a:hover { background: rgba(0, 125, 143, 0.06); }
.sitemap__list strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-900, #051d2a);
  line-height: 1.3;
}
.sitemap__list span:not(.sitemap__pill) {
  display: block;
  font-size: 12.5px;
  color: var(--ink-500, #64748b);
  line-height: 1.45;
  margin-top: 1px;
}
.sitemap__pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink-500, #64748b);
  margin-left: 6px;
  vertical-align: middle;
}
@media (max-width: 1024px) {
  .sitemap__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .sitemap { padding: 36px 0 56px; }
  .sitemap__inner { grid-template-columns: 1fr; gap: 28px; }
}
