/* =============================================================
   About Us (v2) — page-specific styles
   Extracted from the design prototype css/style.css (Documents/MedsItNexus
   website): every rule that targets a class used by about-us.html which
   style-v2.css doesn't already define. Loaded only by v2/about-us.blade.php
   via @push('page-css'), after style-v2.css.
   ============================================================= */

.about-us-featured-card {
  position: relative;
}

.about-us-featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("../../images/about-v2/icons/who-we-serve/border-dashed-gradient.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.about-us-small-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("../../images/about-v2/icons/who-we-serve/border-dashed-gradient-small.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.about-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  padding: 100px 24px;
  background: linear-gradient(115deg, #1d2a5c 0%, #273775 46%, #43346f 72%, #fc5d61 100%);
  color: var(--c-white);
  text-align: center;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-hero-blob {
  position: absolute;
  border-radius: 50%;
}

.about-hero-blob--1 {
  left: -9.72%;
  top: -33.33%;
  width: 36.11%;
  height: 96.3%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 65%);
}

.about-hero-blob--2 {
  left: 69.44%;
  top: 37.04%;
  width: 38.89%;
  height: 103.7%;
  background: radial-gradient(circle at center, rgba(252, 93, 97, 0.28) 0%, rgba(252, 93, 97, 0) 65%);
}

.about-hero-beam {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-beam--1 {
  left: 34.18%;
  top: -16.7%;
  width: 36.56%;
  height: 151.9%;
}

.about-hero-beam--2 {
  left: 81.16%;
  top: -13.68%;
  width: 31.48%;
  height: 145.88%;
}

.about-hero-beam span {
  display: block;
  width: 220px;
  height: 800px;
  transform: rotate(24deg);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 70%);
}

.about-hero-beam--2 span {
  width: 140px;
  background: linear-gradient(to bottom, rgba(252, 93, 97, 0.08), rgba(252, 93, 97, 0) 70%);
}

.about-hero-grid {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.about-hero-dotgrid {
  position: absolute;
  width: 140px;
  height: 100px;
}

.about-hero-dotgrid--1 {
  left: 4.17%;
  top: 10%;
}

.about-hero-dotgrid--2 {
  left: 86.11%;
  top: 68.52%;
}

.about-hero-orbits {
  position: absolute;
  left: -170px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
}

.about-hero-cluster {
  position: absolute;
  right: -150px;
  top: -160px;
  width: 420px;
  height: 420px;
  overflow: hidden;
}

.about-hero-cluster-ring {
  position: absolute;
}

.about-hero-cluster-ring--outer {
  inset: 3.33%;
}

.about-hero-cluster-ring--inner {
  inset: 16.67%;
}

.about-hero-cluster-dot {
  position: absolute;
  top: 79.76%;
  right: 84.52%;
  bottom: 17.86%;
  left: 13.1%;
}

.about-hero-cluster-ekg {
  position: absolute;
  top: 51.43%;
  right: 21.67%;
  bottom: 33.33%;
  width: 73.57%;
  opacity: 0.3;
  transform: scaleX(-1);
}

.about-hero-cluster-ekg .line {
  position: absolute;
  top: 17.14%;
  bottom: 17.14%;
  left: 0;
  right: 0;
  width: 100%;
}

.about-hero-cluster-ekg .dot {
  position: absolute;
  top: 44.29%;
  right: 40%;
  bottom: 44.29%;
  left: 57.65%;
}

.about-hero-ekg-bottom {
  position: absolute;
  left: 0;
  top: 78.89%;
  width: 23.61%;
  height: 12.96%;
}

.about-hero-sparkle {
  position: absolute;
}

.about-hero-tile {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-tile-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.about-hero-tile-inner img {
  width: 40px;
  height: 40px;
}

.about-hero-tile-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--c-orange);
  border: 2px solid var(--c-white);
}

.about-hero-tile-flat {
  width: 102px;
  height: 102px;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 818px;
}

.about-hero-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  text-transform: capitalize;
  color: var(--c-white);
}

.about-hero-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: var(--c-white);
}

.about-hero-text {
  margin: 0;
  max-width: 794px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-white);
}

@media (max-width: 900px) {
  .about-hero-tile {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 0;
    padding: 64px 24px;
  }
  .about-hero-title {
    font-size: 30px;
  }
  .about-hero-text {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .about-hero-title {
    font-size: 26px;
  }
}

.who-we-are {
  padding: 40px 0;
  background: var(--c-white);
}

.who-we-are-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 52px;
}

.who-we-are-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 600px;
  gap: 20px;
}

.who-we-are-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.who-we-are-title-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.who-we-are-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.22;
  letter-spacing: -0.5px;
  color: var(--c-blue);
}

.who-we-are-title .accent {
  color: var(--c-orange);
}

.who-we-are-accent-line {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--c-orange);
}

.who-we-are-body {
  display: flex;
  gap: 18px;
}

.who-we-are-bar {
  display: block;
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--c-orange), var(--c-blue));
}

.who-we-are-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 565px;
}

.who-we-are-text p {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.63;
  color: var(--c-text);
}

.who-we-are-text strong {
  font-weight: 600;
  color: var(--c-blue);
}

.who-we-are-mosaic {
  position: relative;
  flex: 1 1 588px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 283.134px 242.687px;
  gap: 16.179px;
}

.who-we-are-orbit {
  position: absolute;
  z-index: 0;
  left: 69.9%;
  top: 14px;
  width: 180px;
  height: 180px;
  pointer-events: none;
}

.who-we-are-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 12.943px;
}

.who-we-are-card--photo {
  box-shadow: 0 8.09px 24.269px rgba(39, 55, 117, 0.14);
}

.who-we-are-card--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who-we-are-photo-tint {
  position: absolute;
  inset: 0;
  background: rgba(39, 55, 117, 0.07);
}

.who-we-are-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 11.325px;
  padding: 16.179px 17.797px;
  background: linear-gradient(0deg,
      rgba(39, 55, 117, 0.98) 0%,
      rgba(39, 55, 117, 0.94) 40%,
      rgba(39, 55, 117, 0.78) 66%,
      rgba(39, 55, 117, 0.42) 84%,
      rgba(39, 55, 117, 0) 100%);
}

.who-we-are-photo-accent {
  flex-shrink: 0;
  width: 2.427px;
  border-radius: 1.618px;
  background: var(--c-orange);
}

.who-we-are-photo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.who-we-are-photo-text strong {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 12.943px;
  line-height: 1.3;
  color: var(--c-white);
}

.who-we-are-photo-text span {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 10.921px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.who-we-are-card--gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 12px 0;
  background: #273775;
  box-shadow: 0 8.09px 24.269px rgba(39, 55, 117, 0.18);
}

.who-we-are-gauge-dots {
  position: absolute;
  top: 4.57%;
  right: 4.5%;
  width: 26.04%;
  opacity: 0.35;
}

.who-we-are-gauge-wrap {
  position: relative;
  width: 117px;
  max-width: 100%;
}

.who-we-are-gauge-wrap img {
  display: block;
  width: 100%;
}

.who-we-are-gauge-value {
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  color: var(--c-white);
  font-family: var(--font-primary);
}

.who-we-are-gauge-value .num {
  font-weight: 800;
  font-size: 45.301px;
  letter-spacing: -1.359px;
  line-height: 1;
}

.who-we-are-gauge-value .pct {
  font-weight: 700;
  font-size: 22.651px;
  line-height: 1;
}

.who-we-are-gauge-title {
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15.37px;
  line-height: 1.35;
  color: var(--c-white);
}

.who-we-are-gauge-desc {
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 12.943px;
  line-height: 1.65;
  color: var(--c-white);
}

.who-we-are-card--ar {
  background: var(--c-white);
  border: 0.809px solid rgba(39, 55, 117, 0.08);
  box-shadow: 0 8.09px 12.134px rgba(39, 55, 117, 0.1);
}

.who-we-are-ar-badge {
  position: absolute;
  left: 40.18%;
  top: 4%;
  padding: 6.472px 8.09px;
  border-radius: 7.337px;
  background: rgba(39, 55, 117, 0.1);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 9.707px;
  text-transform: capitalize;
  color: var(--c-blue);
  white-space: nowrap;
}

.who-we-are-ar-chart {
  position: absolute;
  left: 6.79%;
  top: 19.67%;
  width: 69.03%;
  aspect-ratio: 197.385 / 50.155;
  height: auto;
}

.who-we-are-ar-stat {
  position: absolute;
  left: 6.79%;
  top: 46.33%;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8.09px;
  font-family: var(--font-primary);
}

.who-we-are-ar-stat .num {
  font-weight: 800;
  font-size: 40.448px;
  letter-spacing: -1.213px;
  line-height: 1;
  color: var(--c-blue);
}

.who-we-are-ar-stat .unit {
  font-weight: 700;
  font-size: 20.224px;
  line-height: 1;
  color: var(--c-orange);
}

.who-we-are-ar-underline {
  position: absolute;
  left: 6.79%;
  top: 67%;
  display: block;
  width: 27.504px;
  height: 2.427px;
  border-radius: 1.618px;
  background: var(--c-orange);
}

.who-we-are-ar-label {
  position: absolute;
  left: 6.79%;
  top: 70.33%;
  right: 6.81%;
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 12.943px;
  color: var(--c-blue);
}

.who-we-are-ar-desc {
  position: absolute;
  left: 6.79%;
  top: 80.99%;
  right: 6.81%;
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 11.73px;
  line-height: 1.55;
  color: rgba(39, 55, 117, 0.72);
}

.who-we-are-card--revenue {
  display: flex;
  flex-direction: column;
  gap: 9.707px;
  padding: 21.033px 19.415px;
  background: var(--c-orange);
  box-shadow: 0 8.09px 24.269px rgba(252, 93, 97, 0.26);
}

.who-we-are-revenue-chart {
  position: absolute;
  left: 32.15%;
  top: 20.9%;
  width: 59.14%;
  pointer-events: none;
}

.who-we-are-revenue-stat {
  position: relative;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 3.236px;
  color: var(--c-white);
  font-family: var(--font-primary);
  filter: drop-shadow(0 0 1.618px rgba(255, 255, 255, 0.25));
}

.who-we-are-revenue-stat .num {
  font-weight: 800;
  font-size: 46.919px;
  letter-spacing: -1.408px;
  line-height: 1;
}

.who-we-are-revenue-stat .pct {
  font-weight: 700;
  font-size: 22.651px;
  line-height: 1;
}

.who-we-are-revenue-title {
  position: relative;
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15.37px;
  color: var(--c-white);
}

.who-we-are-revenue-divider {
  position: relative;
  display: block;
  width: 32.358px;
  height: 0.809px;
  background: rgba(255, 255, 255, 0.45);
}

.who-we-are-revenue-desc {
  position: relative;
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 12.134px;
  line-height: 1.6;
  color: var(--c-white);
}

@media (max-width: 1024px) {
  .who-we-are-inner {
    flex-direction: column;
  }
  .who-we-are-copy,
  .who-we-are-mosaic {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .who-we-are-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .who-we-are-card--photo,
  .who-we-are-card--gauge {
    aspect-ratio: 285.91 / 283.134;
  }
  .who-we-are-card--ar,
  .who-we-are-card--revenue {
    aspect-ratio: 285.91 / 242.687;
  }
  .who-we-are-orbit {
    display: none;
  }
}

@media (max-width: 576px) {
  .who-we-are-title {
    font-size: 30px;
  }
}

.purpose {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--c-white);
}

.purpose-bg-ring {
  position: absolute;
  left: -9.375%;
  top: 72.95%;
  width: 27.64%;
  height: 46.4%;
  pointer-events: none;
}

.purpose-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.purpose-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19.4px;
  max-width: 780px;
  text-align: center;
}

.purpose-title {
  margin: 0;
  max-width: 594px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: -0.42px;
  color: var(--c-blue);
}

.purpose-title .accent {
  color: var(--c-orange);
}

.purpose-subtitle {
  margin: 0;
  max-width: 544px;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text);
}

.purpose-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.purpose-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 44px 40px;
  border-radius: 22px;
  background: var(--c-blue);
  box-shadow: 0 24px 50px rgba(39, 55, 117, 0.28);
}

.purpose-card-illustration {
  position: absolute;
  right: 26px;
  top: 30px;
  width: 150px;
  height: 125px;
  pointer-events: none;
}

.purpose-card-illustration--vision {
  right: 28px;
  width: 150px;
  height: 125px;
}

.purpose-card-icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 86px;
  background: var(--c-white);
}

.purpose-card-icon img {
  width: 40px;
  height: 40px;
}

.purpose-card-title {
  position: relative;
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 26px;
  color: var(--c-white);
}

.purpose-card-underline {
  position: relative;
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-orange);
}

.purpose-card-text {
  position: relative;
  margin: 8.68px 0 0;
  max-width: 524px;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--c-white);
}

@media (max-width: 1024px) {
  .purpose-cards {
    flex-direction: column;
  }
  .purpose-card {
    flex: none;
    padding: 36px 28px;
  }
  .purpose-card-illustration {
    right: 20px;
    width: 130px;
    height: 108px;
  }
  .purpose-card-illustration--vision {
    width: 124px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .purpose {
    padding: 56px 0;
  }
  .purpose-title {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .purpose-card-illustration {
    display: none;
  }
}

.services-diagram {
  padding: 40px 0;
  background: var(--c-white);
}

.services-diagram-inner {
  display: flex;
  flex-direction: column;
}

.services-diagram-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  text-align: center;
}

.services-diagram-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.24;
  letter-spacing: -0.5px;
  color: var(--c-blue);
}

.services-diagram-title .accent {
  color: var(--c-orange);
}

.services-diagram-subtitle {
  margin: 0;
  max-width: 671px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.54;
  color: var(--c-text);
}

.services-diagram-body {
  position: relative;
  width: 100%;
  aspect-ratio: 1240 / 580;
}

.services-diagram-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.services-diagram-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20.16%;
  height: 43.1%;
}

.services-diagram-hub-ring {
  position: absolute;
  left: -14.4%;
  top: -14.4%;
  width: 128.8%;
  height: 128.8%;
  pointer-events: none;
  max-width: unset;
}

.services-diagram-hub-satellite {
  position: absolute;
  left: 41.2%;
  width: 17.6%;
  height: 17.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-white);
}

.services-diagram-hub-satellite img {
  width: 41%;
  height: 41%;
}

.services-diagram-hub-satellite--top {
  top: -18.4%;
  border: 2px solid var(--c-orange);
  box-shadow: 0 8px 9px rgba(252, 93, 97, 0.3);
}

.services-diagram-hub-satellite--bottom {
  top: 100.8%;
  border: 2px solid var(--c-blue);
  box-shadow: 0 8px 9px rgba(39, 55, 117, 0.25);
}

.services-diagram-hub-circle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-white);
}

.services-diagram-hub-gradient {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background: linear-gradient(155deg, #33459c, #1d2a5c);
  text-align: center;
}

.services-diagram-hub-logo {
  width: 46%;
  height: auto;
  margin-bottom: 5px;
}

.services-diagram-hub-name {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-white);
}

.services-diagram-hub-tag {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-white);
}

.services-diagram-col {
  position: absolute;
  top: 5.86%;
  width: 34.52%;
  height: 82.11%;
}

.services-diagram-col--left {
  left: 0;
}

.services-diagram-col--right {
  right: 0;
}

.services-diagram-card {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--c-white);
  box-shadow: 0 0 8px rgba(39, 55, 117, 0.13);
}

.services-diagram-card-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}

.services-diagram-col--right .services-diagram-card-bar {
  left: auto;
  right: 0;
}

.services-diagram-card--coral .services-diagram-card-bar {
  background: linear-gradient(to bottom, var(--c-orange), rgba(252, 93, 97, 0.25));
}

.services-diagram-card--navy .services-diagram-card-bar {
  background: linear-gradient(to bottom, var(--c-blue), rgba(39, 55, 117, 0.25));
}

.services-diagram-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: Poppins;
  font-size: 44px;
  font-style: normal;
  font-weight: 800;
  line-height: 44px;
}

.services-diagram-number.stroke-color-red {
  -webkit-text-stroke-width: 1.4px;
  -webkit-text-stroke-color: rgba(252, 93, 97, 0.50);
}

.services-diagram-number.stroke-color-blue {
  -webkit-text-stroke-width: 1.4px;
  -webkit-text-stroke-color: rgba(39, 55, 117, 0.50);
}

.services-diagram-card--coral .services-diagram-number {
  color: var(--c-white);
}

.services-diagram-card--navy .services-diagram-number {
  color: var(--c-white);
}

.services-diagram-card-icon-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
}

.services-diagram-card-icon-wrap .badge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  --bs-badge-padding-x: 0px;
  --bs-badge-padding-y: 0px;
}

.services-diagram-card-icon-wrap .icon {
  position: relative;
  width: 28px;
  height: 28px;
}

.services-diagram-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.services-diagram-card-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--c-blue);
}

.services-diagram-card-underline {
  display: block;
  width: 34px;
  height: 2.5px;
  border-radius: 2px;
}

.services-diagram-card--coral .services-diagram-card-underline {
  background: var(--c-orange);
}

.services-diagram-card--navy .services-diagram-card-underline {
  background: var(--c-blue);
}

.services-diagram-card-desc {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--c-text);
}

@media (max-width: 900px) {
  .services-diagram-body {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .services-diagram-connectors,
  .services-diagram-hub {
    display: none;
  }
  .services-diagram-col {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .services-diagram-card {
    position: relative;
    height: auto;
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .services-diagram-title {
    font-size: 28px;
  }
  .services-diagram-card {
    flex-wrap: wrap;
  }
}

.ehr {
  padding: 40px 0;
  background: var(--c-bg-blue);
}

.ehr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.ehr-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 812px;
  text-align: center;
}

.ehr-title {
  margin: 0;
  text-transform: capitalize;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.406;
  color: var(--c-blue);
}

.ehr-title .accent {
  color: var(--c-orange);
}

.ehr-subtitle {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.575;
  color: var(--c-text);
}

.ehr-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.ehr-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background: var(--c-white);
  border: 1px solid var(--c-light-grey);
  border-radius: 8px;
}

.ehr-logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
  max-width: 100%;
}

.ehr-logo-crop img {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
}

.ehr-logo-crop .ehr-logo-contain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ehr-features {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
  background: var(--c-white);
  border-radius: 20px;
}

.ehr-features-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1172px;
}

.ehr-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ehr-feature-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-blue);
  border-radius: 22px;
}

.ehr-feature-icon img {
  width: 22px;
  height: 22px;
}

.ehr-feature-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ehr-feature-text h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-blue);
}

.ehr-feature-text p {
  margin: 0;
  max-width: 200px;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.21;
  color: var(--c-text);
}

.ehr-divider {
  flex-shrink: 0;
  width: 1px;
  height: 55px;
  background: var(--c-light-grey);
}

.ehr-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  border-left: 2px solid var(--c-orange);
  border-right: 2px solid var(--c-orange);
}

.ehr-tagline p {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 20px;
  color: var(--c-text);
}

.ehr-tagline strong {
  font-weight: 700;
  color: var(--c-blue);
}

@media (max-width: 1024px) {
  .ehr-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ehr-features-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }
  .ehr-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .ehr-title {
    font-size: 26px;
  }
  .ehr-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ehr-tagline {
    padding: 10px 20px;
  }
  .ehr-tagline p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .ehr-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ehr-features-row {
    justify-content: center;
  }
}

.certifications {
  padding: 40px 0;
}

.cert-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 25px 35px;
  background: var(--c-white);
  border: 2px solid transparent;
  border-radius: 20px;
  background-image:
    linear-gradient(var(--c-white), var(--c-white)),
    linear-gradient(90deg, var(--c-blue) 29.8%, var(--c-orange) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 4px 10px rgba(39, 55, 117, 0.1);
}

.cert-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 333px;
  flex-shrink: 0;
}

.cert-info-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: rgba(39, 55, 117, 0.1);
  border-radius: 27px;
}

.cert-info-icon img {
  width: 36px;
  height: 36px;
}

.cert-info-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-info-text h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.322;
  color: var(--c-blue);
}

.cert-info-text p {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.429;
  color: var(--c-text);
}

.cert-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex: 1 0 0;
  max-width: 685px;
}

.cert-logo-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 165px;
  flex-shrink: 0;
}

.cert-logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
  width: 165px;
  height: 68px;
}

.cert-logo-crop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-logo-item p {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.208;
  color: var(--c-text);
}

.cert-divider {
  flex-shrink: 0;
  align-self: stretch;
  width: 1px;
  background: linear-gradient(180deg, var(--c-blue) 29.8%, var(--c-orange) 100%);
}

@media (max-width: 1024px) {
  .cert-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .cert-info {
    width: 100%;
  }
  .cert-logos {
    max-width: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }
  .cert-divider {
    display: none;
  }
}

@media (max-width: 576px) {
  .cert-bar {
    padding: 20px;
  }
  .cert-info {
    flex-direction: column;
  }
  .cert-logos {
    justify-content: space-around;
  }
  .cert-logo-item {
    align-items: center;
  }
  .cert-logo-item p {
    text-align: center;
  }
}

.revenue-cta {
  padding: 40px 0;
}

.revenue-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 64px 60px 44px;
  border-radius: 28px;
  background-image: linear-gradient(-84deg, #33459c 3.46%, #273775 35.25%, #1d2a5c 74.11%);
}

.revenue-cta-watermark {
  position: absolute;
  top: 50%;
  right: 40px;
  width: 360px;
  height: 360px;
  transform: translateY(-50%);
  pointer-events: none;
}

.revenue-cta-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.revenue-cta-content {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  padding: 7px 0 34px;
}

.revenue-cta-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  text-transform: capitalize;
  color: var(--c-white);
}

.revenue-cta-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.28;
  letter-spacing: -0.38px;
  color: var(--c-white);
}

.revenue-cta-subtitle {
  margin: 0;
  max-width: 480px;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.696;
  color: var(--c-white);
}

.revenue-cta-buttons {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 11px;
}

.revenue-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 25px;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.revenue-cta-btn:hover {
  opacity: 0.9;
}

.revenue-cta-btn-icon {
  display: flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.revenue-cta-btn-icon img {
  width: 100%;
  height: 100%;
}

.revenue-cta-btn-primary {
  padding: 10px 26px;
  background: var(--c-orange);
  color: var(--c-white);
}

.revenue-cta-btn-secondary {
  background: var(--c-white);
  color: var(--c-blue);
}

.revenue-cta-art {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 416px;
  height: 363px;
}

.revenue-cta-art img {
  position: absolute;
  max-width: none;
  width: 100%;
  height: 171.9%;
  left: -0.13%;
  top: -32.26%;
}

.revenue-cta-trust {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-top: 27px;
  border-top: 1px solid #eff2ff;
}

.revenue-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.revenue-cta-trust-item img {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}

.revenue-cta-trust-item span {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-white);
}

.revenue-cta-trust-divider {
  flex-shrink: 0;
  width: 1px;
  height: 22px;
  background: #eff2ff;
}

@media (max-width: 1200px) {
  .revenue-cta-watermark {
    display: none;
  }
  .revenue-cta-trust {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 16px;
  }
  .revenue-cta-trust-item {
    white-space: normal;
  }
  .revenue-cta-trust-divider {
    display: none;
  }
}

@media (max-width: 900px) {
  .revenue-cta-row {
    flex-direction: column;
  }
  .revenue-cta-art {
    width: 100%;
    max-width: 416px;
    align-self: center;
  }
}

@media (max-width: 576px) {
  .revenue-cta-card {
    padding: 40px 24px 32px;
    border-radius: 20px;
  }
  .revenue-cta-title {
    font-size: 28px;
  }
  .revenue-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .revenue-cta-btn {
    justify-content: center;
  }
}

/* -------------------------------------------------------------
   Shared classes whose prototype rules differ from style-v2.css
   (calc4/5/6, strengths, stat-card, section-sub). Re-emitted from the
   prototype in source order - base rules AND their media queries - scoped
   to .about-v2, so the prototype wins on this page only and the scoped
   base rules don't override the breakpoints below them.
   ------------------------------------------------------------- */
.about-v2 .section-sub {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.575;
  color: var(--c-text);
  max-width: 834px;
  margin: 0;
}

.about-v2 .strengths {
  position: relative;
  height: 350px;
  padding: 40px var(--page-gutter);
  overflow: hidden;
}

.about-v2 .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c-bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1.67px 2.5px rgba(0, 0, 0, 0.1));
}

.about-v2 .stat-card--featured .stat-icon {
  width: 50px;
  height: 50px;
}

.about-v2 .stat-icon img {
  width: 33px;
  height: 33px;
}

.about-v2 .stat-card--featured .stat-icon img {
  width: 33px;
  height: 33px;
}

@media (max-width: 768px) {
  .about-v2 .strengths {
    height: auto;
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .about-v2 .stat-card--featured {
    width: 200px;
    height: 182px;
  }
}

.about-v2 .calc4-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.5px;
  color: var(--c-blue);
  text-align: center;
  margin: 0;
}

.about-v2 .calc4-feature-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.25;
  color: var(--c-blue);
  margin: 0;
}

.about-v2 .calc4-feature-desc {
  max-width: 190px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0;
}

.about-v2 .calc4-small-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1 1 0;
  min-width: 0;
  padding: 24px 12px;
  background: var(--c-white);
  border-radius: 20px;
  box-shadow: 0 0 4.5px 0 rgba(39, 55, 117, 0.13);
  text-align: center;
}

.about-v2 .calc4-small-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-blue);
  margin: 0;
}

@media (max-width: 900px) {
  .about-v2 .calc4-small-card {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc4-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc4-feature-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc4-feature-desc {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .about-v2 .calc4-small-card {
    flex: 1 1 calc(50% - 10px);
  }
}

.about-v2 .calc5-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.5px;
  color: var(--c-blue);
  text-align: center;
  margin: 0;
}

.about-v2 .calc5-head .section-sub {
  max-width: 690px;
}

.about-v2 .calc5-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(155deg, #33459c 0%, #273775 45%, #1d2a5c 100%);
}

.about-v2 .calc5-panel-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.32;
  color: var(--c-white);
  margin: 0;
}

.about-v2 .calc5-stat-value {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 34px;
  color: var(--c-white);
  margin: 0;
  line-height: 1;
}

.about-v2 .calc5-stat-value .accent {
  font-size: 19px;
}

.about-v2 .calc5-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin: 0;
}

.about-v2 .calc5-footnote {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-v2 .calc5-footnote img {
  flex-shrink: 0;
  width: 40px;
  height: 46px;
}

.about-v2 .calc5-footnote p {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.about-v2 .calc5-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1 1 0;
  min-width: 320px;
}

.about-v2 .calc5-card-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--c-blue);
  margin: 0;
}

.about-v2 .calc5-card-desc {
  font-size: 16px;
  line-height: 1.33;
  color: var(--c-text);
  margin: 0;
}

@media (max-width: 1100px) {
  .about-v2 .calc5-panel, .about-v2 .calc5-cards {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc5-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc5-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc5-stat-value {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc5-stat-value .accent {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .about-v2 .calc5-stat-label {
    font-size: 10px;
  }
}

.about-v2 .calc6-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  color: var(--c-blue);
  text-align: center;
  margin: 0 0 20px;
}

.about-v2 .calc6-track {
  display: flex;
  gap: 30px;
  flex: 1 1 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
}

.about-v2 .calc6-track::-webkit-scrollbar {
  display: none;
}

.about-v2 .calc6-card-quote {
  position: relative;
  z-index: 1;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  margin: 0;
}

.about-v2 .calc6-card-mark {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 290px;
  width: 39px;
  height: 28px;
  transform: rotate(180deg) scaleY(-1);
  opacity: 0.9;
}

/* The prototype drops the page gutter to 20px at ≤768px site-wide; style-v2.css
   only does that per page (e.g. .home-v2), so mirror it here. */
@media (max-width: 768px) {
  .about-v2 {
    --page-gutter: 20px;
  }
}

/* -------------------------------------------------------------
   Who We Serve — dashed card borders on tablet / mobile.
   The prototype draws them as fixed-aspect SVGs stretched with
   background-size:100% 100%, which only fits the desktop card shape:
   on narrower layouts the frame floats inside the card, the dashes
   stretch, and on the featured cards it becomes a band through the
   text. Swap in a real dashed border that follows the card's size
   and radius (navy top/left → coral bottom/right, like the SVG).
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .about-v2 .about-us-featured-card,
  .about-v2 .about-us-small-card {
    position: relative;
  }

  .about-v2 .about-us-featured-card::after,
  .about-v2 .about-us-small-card::after {
    inset: 1px;
    width: auto;
    height: auto;
    background: none;
    border: 2px dashed;
    border-color: #273775 #fc5d61 #fc5d61 #273775;
    border-radius: 20px;
  }
}

/* style-v2.css stacks the pill into a single column at ≤480px (a rule
   written for another page); keep the prototype's wrapped two-up layout. */
@media (max-width: 480px) {
  .about-v2 .calc4-pill {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 10px;
    column-gap: 19px;
  }

  .about-v2 .calc4-pill-item {
    width: auto;
    min-width: min-content;
  }

  .about-v2 .calc4-pill-item > span:not(.calc4-pill-icon) {
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
  }

  .about-v2 .calc4-pill-item--grow {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-start;
  }

  .about-v2 .calc4-pill-item--full {
    flex: 1 0 100%;
    width: auto;
    justify-content: center;
  }
}

/* EHR logo grid on phones: each logo is a fixed-size crop window (up to
   210×40px) capped at max-width:100%, so in the narrow two-up cards the cap
   squashed it horizontally and ran it edge-to-edge into the card border.
   Keep the crop's own proportions and scale it uniformly instead. */
@media (max-width: 576px) {
  .about-v2 .ehr-logo-card {
    padding: 0 10px;
    overflow: hidden;
  }

  .about-v2 .ehr-logo-crop {
    max-width: none;
    zoom: 0.66;
  }
}

@media (max-width: 360px) {
  .about-v2 .ehr-logo-crop {
    zoom: 0.56;
  }
}

/* =============================================================
   About v2 — entrance & scroll animations
   Same system as the home page (style-v2.css "Home v2 — entrance & scroll
   animations"): script-v2.js tags below-the-fold blocks with [data-anim] and
   adds .is-in as they scroll into view, then hands them back to their own
   styles. translate/scale are used instead of transform so the hero tiles'
   inline rotate() and the services hub's translate(-50%, -50%) survive.
   One-shot only — nothing loops.
   ============================================================= */

@keyframes about-rise {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes about-pop {
  0%   { opacity: 0; scale: 0.6; }
  70%  { opacity: 1; scale: 1.06; }
  100% { opacity: 1; scale: 1; }
}

@keyframes about-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero plays on first paint in pure CSS (no JS wait, no flash).
   The tiles are spans 5-10 in .about-hero-bg (after 2 blobs + 2 beams). */
.about-v2 .about-hero-content > * {
  animation: about-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.about-v2 .about-hero-content > :nth-child(2) { animation-delay: 0.1s; }
.about-v2 .about-hero-content > :nth-child(3) { animation-delay: 0.2s; }

.about-v2 .about-hero-tile {
  animation: about-pop 0.6s cubic-bezier(0.3, 1.3, 0.5, 1) backwards;
}

.about-v2 .about-hero-tile:nth-of-type(5) { animation-delay: 0.3s; }
.about-v2 .about-hero-tile:nth-of-type(6) { animation-delay: 0.42s; }
.about-v2 .about-hero-tile:nth-of-type(7) { animation-delay: 0.54s; }
.about-v2 .about-hero-tile:nth-of-type(8) { animation-delay: 0.36s; }
.about-v2 .about-hero-tile:nth-of-type(9) { animation-delay: 0.48s; }
.about-v2 .about-hero-tile:nth-of-type(10) { animation-delay: 0.6s; }

.about-v2 .about-hero-cluster,
.about-v2 .about-hero-orbits,
.about-v2 .about-hero-sparkle {
  animation: about-fade 1.2s 0.2s ease-out backwards;
}

/* Scroll reveal states. */
.about-v2 [data-anim] {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    scale 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--anim-delay, 0s);
  will-change: opacity, translate;
}

.about-v2 [data-anim="up"]    { translate: 0 32px; }
.about-v2 [data-anim="left"]  { translate: -40px 0; }
.about-v2 [data-anim="right"] { translate: 40px 0; }
.about-v2 [data-anim="zoom"]  { scale: 0.94; }

.about-v2 [data-anim].is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* Sideways reveals mustn't create a horizontal scrollbar mid-animation. */
.about-v2 {
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  .about-v2 .about-hero-content > *,
  .about-v2 .about-hero-tile,
  .about-v2 .about-hero-cluster,
  .about-v2 .about-hero-orbits,
  .about-v2 .about-hero-sparkle {
    animation: none;
  }

  .about-v2 [data-anim] {
    opacity: 1;
    translate: none;
    scale: none;
    transition: none;
  }
}

/* Inline text links in the Who We Are copy (e.g. → Services page). */
.about-v2 .who-we-are-text p a {
  color: var(--c-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(252, 93, 97, 0.5);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.about-v2 .who-we-are-text p a:hover,
.about-v2 .who-we-are-text p a:focus-visible {
  color: var(--c-orange);
  text-decoration-color: currentColor;
}

.who-we-are-cta {
  align-self: flex-start;
}

.services-diagram-cta {
  align-self: center;
}
