/* About page: intro, process steps and team. (Reviews/CTA/cards come from home.css and cta.css.) */
#sbs-1456 {
  padding: var(--sectionPadding);
  position: relative;
  z-index: 1;
}
#sbs-1456 .cs-container {
  width: 100%;
  max-width: 80rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 6vw, 4rem);
}
#sbs-1456 .cs-content {
  text-align: left;
  width: 100%;
  max-width: 32.625rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#sbs-1456 .cs-text {
  margin-bottom: 1rem;
}
#sbs-1456 .cs-text:last-of-type {
  margin-bottom: 2rem;
}
#sbs-1456 .cs-image-group {
  font-size: min(2.23vw, .83em);
  width: 40.625em;
  height: 45.5625em;
  position: relative;
}
#sbs-1456 .cs-picture {
  overflow: hidden;
  position: absolute;
  display: block;
}
#sbs-1456 .cs-picture img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#sbs-1456 .cs-picture1 {
  border-radius: 6.25em 6.25em 1.5em 6.25em;
  width: 32.625em;
  height: 45.5625em;
  left: 0;
  top: 0;
}
#sbs-1456 .cs-picture2 {
  border-radius: 1.5em;
  width: 23.625em;
  height: 28.75em;
  right: 0;
  bottom: 6.25em;
}
#sbs-1456 .cs-background {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
#sbs-1456 .cs-background:before {
  content: '';
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 77.21%, #FFF 96.92%), linear-gradient(0deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.88) 100%);
  pointer-events: none;
  opacity: 1;
  top: 0;
  left: 0;
  z-index: -1;
}
#sbs-1456 .cs-background img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  object-fit: cover;
}
@media only screen and (min-width: 64rem) {
  #sbs-1456 .cs-container {
    flex-flow: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 3.25rem;
  }
  #sbs-1456 .cs-content {
    width: 40%;
    padding: 3rem 0;
    flex: none;
    align-self: center;
  }
  #sbs-1456 .cs-image-group {
    font-size: 1rem;
    width: 50vw;
    max-width: 40.625rem;
    height: auto;
    min-height: clamp(36.25rem, 50vw, 45.5625rem);
    flex: none;
    display: flex;
  }
  #sbs-1456 .cs-picture1 {
    width: 83%;
    height: auto;
    position: relative;
    left: auto;
    top: auto;
  }
  #sbs-1456 .cs-picture2 {
    width: 60%;
    height: 57%;
  }
}
html.dark-mode #sbs-1456 .cs-title, html.dark-mode #sbs-1456 .cs-text {
  color: var(--bodyTextColorWhite);
}
html.dark-mode #sbs-1456 .cs-title:before, html.dark-mode #sbs-1456 .cs-text:before {
  background-color: var(--bodyTextColorWhite);
}
html.dark-mode #sbs-1456 .cs-text {
  opacity: 0.8;
}
html.dark-mode #sbs-1456 .cs-background:before {
  background: var(--dark);
}
#services-1331 {
  padding: var(--sectionPadding);
  background-color: var(--primary);
  position: relative;
  z-index: 1;
}
#services-1331 .cs-container {
  width: 100%;
  max-width: 34.375rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 6vw, 4rem);
}
#services-1331 .cs-topper {
  color: var(--secondary);
}
#services-1331 .cs-title, #services-1331 .cs-text, #services-1331 .cs-h3, #services-1331 .cs-item-text {
  color: #fff;
}
#services-1331 .cs-text, #services-1331 .cs-item-text {
  opacity: 0.8;
}
#services-1331 .cs-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#services-1331 .cs-flex-group {
  flex: none;
}
#services-1331 .cs-card-group {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 1rem;
}
#services-1331 .cs-item {
  overflow: hidden;
  border-radius: 1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(2.5rem, 4.1vw, 3.75rem) clamp(1.25rem, 3.4vw, 3rem);
  background: rgba(255, 255, 255, 0.1);
  grid-column: span 12;
  transition: transform 0.3s, box-shadow 0.3s;
}
#services-1331 .cs-item:hover {
  transform: translateY(-1rem);
  box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
}
#services-1331 .cs-step {
  color: var(--secondary);
  font-size: var(--topperFontSize);
  line-height: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: clamp(3rem, 7.8vw, 6.25rem);
  display: block;
  text-align: inherit;
}
#services-1331 .cs-h3 {
  font-size: 1.25rem;
  line-height: 1.2em;
  font-weight: 900;
  margin: 0;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
  text-align: inherit;
}
#services-1331 .cs-item-text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.5em;
  margin: 0;
  transition: color 0.3s;
  text-align: inherit;
}
@media only screen and (min-width: 48rem) {
  #services-1331 .cs-container {
    max-width: 80rem;
  }
  #services-1331 .cs-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: clamp(3rem, 6vw, 5rem);
    text-align: left;
  }
  #services-1331 .cs-title {
    margin: 0;
  }
  #services-1331 .cs-flex-group {
    width: 50%;
  }
  #services-1331 .cs-card-group {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 1rem;
  }
  #services-1331 .cs-item {
    grid-column: span 4;
  }
}
html.dark-mode #services-1331 {
  background-color: rgba(0, 0, 0, 0.6);
}
html.dark-mode #services-1331 .cs-topper {
  color: var(--primaryLight);
}
html.dark-mode #services-1331 .cs-title, html.dark-mode #services-1331 .cs-text, html.dark-mode #services-1331 .cs-h3, html.dark-mode #services-1331 .cs-item-text {
  color: var(--bodyTextColorWhite);
}
html.dark-mode #services-1331 .cs-text, html.dark-mode #services-1331 .cs-item-text {
  opacity: 0.8;
}
@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2rem);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes floatAnimation2 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3rem);
  }
  100% {
    transform: translateY(0);
  }
}
#meet-team-1368 {
  padding: var(--sectionPadding);
  position: relative;
  overflow: hidden;
}
#meet-team-1368 .cs-container {
  width: 100%;
  max-width: 80rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 6vw, 4rem);
}
#meet-team-1368 .cs-content {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#meet-team-1368 .cs-title {
  font-size: var(--headerFontSize);
  font-weight: 900;
  line-height: 1.2em;
  text-align: inherit;
  max-width: 43.75rem;
  margin: 0 0 1rem 0;
  color: var(--headerColor);
  position: relative;
}
#meet-team-1368 .cs-text {
  font-size: var(--bodyFontSize);
  line-height: 1.5em;
  text-align: inherit;
  width: 100%;
  max-width: 40.625rem;
  margin: 0;
  color: var(--bodyTextColor);
}
#meet-team-1368 .cs-card-group {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  justify-items: center;
  align-items: stretch;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.25rem);
}
#meet-team-1368 .cs-item {
  list-style: none;
  width: 100%;
  max-width: 25.8125rem;
  display: flex;
  flex-direction: column;
  grid-column: span 12;
}
#meet-team-1368 .cs-item:hover .cs-link {
  opacity: 1;
  transform: translateY(0);
}
#meet-team-1368 .cs-item:hover .cs-info {
  color: #fff;
  background-color: var(--primary);
}
#meet-team-1368 .cs-item:hover .cs-job {
  opacity: 0.8;
}
#meet-team-1368 .cs-picture-wrapper {
  margin-bottom: clamp(0.75rem, 4vw, 1.25rem);
  position: relative;
}
#meet-team-1368 .cs-picture {
  margin: 0 auto;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 1/1;
}
#meet-team-1368 .cs-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
#meet-team-1368 .cs-info {
  text-align: center;
  padding: clamp(1rem, 1.7vw, 1.5rem);
  background-color: #f7f7f7;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  transition: background-color 0.3s;
}
#meet-team-1368 .cs-name {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  margin: 0 0 0.25rem;
  gap: 1rem;
  transition: color 0.3s;
}
#meet-team-1368 .cs-job {
  transition: color 0.3s;
}
#meet-team-1368 .cs-social {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  right: 50%;
  bottom: 1.5rem;
  z-index: 1;
  transform: translateX(50%);
}
#meet-team-1368 .cs-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #fff;
  opacity: 0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(1rem);
  transition: transform 0.3s, opacity 0.3s;
}
#meet-team-1368 .cs-link:hover .cs-icon {
  transform: scale(1.2);
  filter: invert(9%) sepia(52%) saturate(2079%) hue-rotate(188deg) brightness(102%) contrast(104%);
}
#meet-team-1368 .cs-link:first-of-type, #meet-team-1368 .cs-link:last-of-type {
  margin-top: -1.25rem;
}
#meet-team-1368 .cs-link:nth-of-type(1) {
  transition-delay: 0.05s;
}
#meet-team-1368 .cs-link:nth-of-type(2) {
  transition-delay: 0.1s;
}
#meet-team-1368 .cs-link:nth-of-type(3) {
  transition-delay: 0.15s;
}
#meet-team-1368 .cs-link:nth-of-type(4) {
  transition-delay: 0.2s;
}
#meet-team-1368 .cs-icon {
  width: 1.0625rem;
  height: auto;
  transition: transform 0.3s;
}
#meet-team-1368 .cs-bubbles {
  width: 22.3125rem;
  height: 29.375rem;
  display: none;
  position: absolute;
  top: 8.75rem;
  right: -7.75rem;
  z-index: -1;
}
#meet-team-1368 .cs-bubbles:before {
  content: "";
  width: 18.375rem;
  height: 18.375rem;
  background: transparent;
  opacity: 1;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  animation-name: floatAnimation;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}
#meet-team-1368 .cs-bubbles:after {
  content: "";
  width: 18.375rem;
  height: 18.375rem;
  background: #001F3F;
  opacity: 0.1;
  border-radius: 50%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  animation-name: floatAnimation2;
  animation-duration: 14s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}
@media only screen and (min-width: 48rem) {
  #meet-team-1368 .cs-item {
    grid-column: span 6;
  }
  #meet-team-1368 .cs-item:nth-of-type(7) {
    grid-column: span 12;
  }
  #meet-team-1368 .cs-bubbles {
    display: block;
  }
}
@media only screen and (min-width: 64rem) {
  #meet-team-1368 .cs-card-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #meet-team-1368 .cs-item {
    width: 30vw;
    max-width: 19.0625rem;
  }
}
html.dark-mode #meet-team-1368 .cs-topper {
  color: var(--primaryLight);
}
html.dark-mode #meet-team-1368 .cs-title, html.dark-mode #meet-team-1368 .cs-text {
  color: var(--bodyTextColorWhite);
}
html.dark-mode #meet-team-1368 .cs-text, html.dark-mode #meet-team-1368 .cs-job {
  opacity: 0.8;
}
html.dark-mode #meet-team-1368 .cs-info {
  background-color: var(--medium);
}
html.dark-mode #meet-team-1368 .cs-bubbles:before {
  border-color: #ffffff;
  box-shadow: rgba(67, 183, 255, 0.2) 0px 0px 44px, inset rgba(67, 183, 255, 0.2) 0px 0px 30px, inset rgba(67, 183, 255, 0.2) 0px 0px 55px, inset rgba(67, 183, 255, 0.4) 0px 0px 75px, rgba(67, 183, 255, 0.4) 0px 0px 105px;
}
html.dark-mode #meet-team-1368 .cs-bubbles:after {
  background-color: var(--secondary);
}

/* ------------------------------------------------------------------
 * WaveLocal additions to the About page
 * ------------------------------------------------------------------ */
/* "Our story" text block, in the same style as the other centred intros. */
#about-story {
  padding: var(--sectionPadding);
  background-color: #fff;
}
#about-story .cs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  max-width: 80rem;
  width: 100%;
  gap: 2rem;
}
#about-story .cs-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 46.875rem;
}
#about-story .cs-story-text {
  max-width: 46rem;
}
#about-story .cs-story-text p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.6em;
  color: var(--bodyTextColor);
}
html.dark-mode #about-story {
  background-color: var(--dark);
}
html.dark-mode #about-story .cs-story-text p {
  color: var(--bodyTextColorWhite);
}
/* Breadcrumbs inside the intro column */
#sbs-1456 .cs-breadcrumbs {
  margin-bottom: 1rem;
}
/* Paragraphs rendered from Markdown inside the intro text */
#sbs-1456 .cs-text p {
  margin: 0 0 1rem;
}

/* ------------------------------------------------------------------
 * About page refinement (24 November 2026): intro images, story, process, values and team.
 * New styles use the .ab- prefix and are scoped to the About page sections.
 * ------------------------------------------------------------------ */
.ab-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Intro: the second image sits low and to the right so the faces in the team photograph stay clear. */
#sbs-1456 .cs-picture2 {
  width: 21em;
  height: 15.75em;
  bottom: 3em;
}
@media only screen and (min-width: 64rem) {
  #sbs-1456 .cs-picture2 {
    width: 52%;
    height: auto;
    aspect-ratio: 4 / 3; /* the photograph's own shape, so nothing is cropped */
    bottom: 4%;
  }
}
#sbs-1456 .cs-title {
  max-width: none;
}

/* Our story: an editorial two-column layout with a brand accent rule. */
#about-story {
  padding: var(--sectionPadding);
}
.ab-story {
  display: grid;
  gap: 2rem;
  margin: 0 auto;
  max-width: 80rem;
  width: 100%;
}
.ab-story__head .cs-topper {
  display: block;
  margin-bottom: 0.75rem;
}
.ab-story__title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  line-height: 1.05em;
  font-weight: 700;
  color: var(--headerColor);
  text-wrap: balance;
}
.ab-story__title:after {
  content: "";
  display: block;
  margin-top: 1.5rem;
  border-radius: 2px;
  background-color: var(--primaryLight);
  height: 4px;
  width: 4rem;
}
.ab-story__text {
  max-width: 40rem;
  border-left: 3px solid var(--primaryLight);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}
.ab-story__text p {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.7em;
  color: var(--bodyTextColor);
  text-wrap: pretty;
}
.ab-story__text p:first-child {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.5em;
  font-weight: 600;
  color: var(--headerColor);
}
.ab-story__text p:last-child {
  margin-bottom: 0;
}
html.dark-mode .ab-story__title,
html.dark-mode .ab-story__text p:first-child {
  color: #fff;
}
html.dark-mode .ab-story__text p {
  color: var(--bodyTextColorWhite);
}
@media only screen and (min-width: 64rem) {
  .ab-story {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .ab-story__head {
    position: sticky;
    top: 7.5rem;
  }
}

/* Our approach: four stages on layered navy surfaces with prominent cyan numbers. */
#services-1331 .ab-steps {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
#services-1331 .ab-step {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--primaryLight);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
}
#services-1331 .ab-step__num {
  display: block;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--headerFont);
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primaryLight);
}
#services-1331 .ab-step__title {
  margin: 0 0 0.6rem;
  font-size: 1.375rem;
  line-height: 1.2em;
  font-weight: 900;
  color: #fff;
}
#services-1331 .ab-step__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55em;
  color: rgba(255, 255, 255, 0.82);
}
@media only screen and (min-width: 40rem) {
  #services-1331 .ab-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (min-width: 64rem) {
  #services-1331 .ab-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* What drives us: four principles as numbered editorial rows beside a sticky heading. */
#about-values {
  padding: var(--sectionPadding);
}
.ab-values {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  margin: 0 auto;
  max-width: 80rem;
  width: 100%;
}
.ab-values__head .cs-topper {
  display: block;
  margin-bottom: 0.75rem;
}
.ab-values__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  line-height: 1.06em;
  font-weight: 700;
  color: var(--headerColor);
}
.ab-values__lead {
  margin: 0;
  max-width: 30rem;
  font-size: 1.125rem;
  line-height: 1.65em;
  color: var(--bodyTextColor);
}
.ab-value-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--primaryLight);
}
.ab-value {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 1rem;
  border-bottom: 1px solid #dfe4ea;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}
.ab-value__num {
  font-family: var(--headerFont);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1em;
  font-weight: 700;
  color: #0a76c2; /* a deeper blue than the cyan so the numerals keep contrast on white */
}
html.dark-mode .ab-value__num {
  color: var(--primaryLight);
}
.ab-value__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.15em;
  font-weight: 900;
  color: var(--headerColor);
}
.ab-value__text {
  margin: 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.6em;
  color: var(--bodyTextColor);
}
html.dark-mode #about-values {
  background-color: var(--dark);
}
html.dark-mode .ab-values__title,
html.dark-mode .ab-value__title {
  color: #fff;
}
html.dark-mode .ab-values__lead,
html.dark-mode .ab-value__text {
  color: var(--bodyTextColorWhite);
}
html.dark-mode .ab-value {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
@media only screen and (min-width: 64rem) {
  .ab-values {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .ab-values__head {
    position: sticky;
    top: 7.5rem;
  }
  .ab-value {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
}

/* Meet the team: three equal profiles with 4:5 portraits (placeholders until the photographs are supplied). */
#about-team {
  padding: var(--sectionPadding);
  background-color: #f7f7f7;
}
.ab-team {
  margin: 0 auto;
  max-width: 80rem;
  width: 100%;
}
.ab-team__head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.ab-team__head .cs-topper {
  display: block;
  margin-bottom: 0.75rem;
}
.ab-team__title {
  margin: 0 0 1rem;
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  line-height: 1.06em;
  font-weight: 700;
  color: var(--headerColor);
}
.ab-team__lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65em;
  color: var(--bodyTextColor);
}
.ab-team__list {
  display: grid;
  gap: 2.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-person {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 24rem;
}
.ab-person__photo {
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background-color: #0b2a4a;
  aspect-ratio: 4 / 5;
}
.ab-person__photo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.ab-person__name {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.15em;
  font-weight: 900;
  color: var(--headerColor);
}
.ab-person__role {
  margin: 0.3rem 0 0.9rem;
  text-transform: uppercase;
  font-size: 0.8125rem;
  line-height: 1.3em;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #4c6178;
}
.ab-person__bio {
  margin: 0;
  border-top: 2px solid var(--primaryLight);
  padding-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.6em;
  color: var(--bodyTextColor);
}
/* Expertise: quiet labels, not buttons. They sit at the foot of each profile so the three line up. */
.ab-person__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: auto 0 0;
  padding: 1.1rem 0 0;
  list-style: none;
}
.ab-person__skills li {
  margin: 0;
  border-radius: 0.375rem;
  background-color: #e6ecf3;
  padding: 0.3rem 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.3em;
  font-weight: 600;
  color: #2b3f56;
}
html.dark-mode #about-team {
  background-color: rgba(0, 0, 0, 0.35);
}
html.dark-mode .ab-team__title,
html.dark-mode .ab-person__name {
  color: #fff;
}
html.dark-mode .ab-team__lead,
html.dark-mode .ab-person__bio {
  color: var(--bodyTextColorWhite);
}
html.dark-mode .ab-person__skills li {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}
html.dark-mode .ab-person__role {
  color: rgba(255, 255, 255, 0.72);
}
@media only screen and (min-width: 48rem) {
  .ab-team__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* Founder portrait in the partnership section: the container keeps its approved shape and the photograph is positioned on the face. */
#sbs-1362 .cs-background img {
  object-position: center 24%;
}

/* Our approach on phones: a native, scroll-snapping row with about 15% of the next card showing, and position dots beneath.
 * Tablets (two columns) and desktop (four columns) are unchanged. */
.ab-steps-nav {
  display: none;
}
@media only screen and (max-width: 39.999rem) {
  #services-1331 .ab-steps-wrap {
    width: calc(100% + 2rem);
    margin: 0 -1rem; /* lets the row run to the screen edges; the section's side padding is 1rem */
  }
  #services-1331 .ab-steps {
    display: flex;
    position: relative;
    gap: 0.75rem;
    padding: 0 1rem 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;
    scrollbar-width: none;
  }
  #services-1331 .ab-steps::-webkit-scrollbar {
    display: none;
  }
  #services-1331 .ab-steps:focus-visible {
    outline: 2px solid var(--primaryLight);
    outline-offset: -2px;
  }
  #services-1331 .ab-step {
    flex: 0 0 calc((100% + 0.25rem) / 1.15);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
  }
  #services-1331 .ab-step__text {
    margin-top: auto;
  }
  .ab-steps-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.15rem;
    margin-top: 1rem;
  }
  .ab-steps-nav[hidden] {
    display: none;
  }
  .ab-dot {
    display: grid;
    place-items: center;
    margin: 0;
    border: 0;
    background: none;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
  }
  .ab-dot span {
    display: block;
    border-radius: 99px;
    background-color: rgba(255, 255, 255, 0.32);
    height: 0.5rem;
    width: 0.5rem;
    transition: width 0.25s, background-color 0.25s;
  }
  .ab-dot.is-active span {
    background-color: var(--primaryLight);
    width: 1.5rem;
  }
  .ab-dot:focus-visible {
    outline: 2px solid var(--primaryLight);
    outline-offset: 0;
    border-radius: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-dot span {
    transition: none;
  }
}

/* Meet the team on phones: the same native swipe row as the approach stages (one profile with a preview of the next). */
@media only screen and (max-width: 39.999rem) {
  .ab-team-wrap {
    width: calc(100% + 2rem);
    margin: 0 -1rem;
  }
  .ab-team__list {
    display: flex;
    position: relative;
    gap: 0.75rem;
    padding: 0 1rem 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1rem;
    scrollbar-width: none;
  }
  .ab-team__list::-webkit-scrollbar {
    display: none;
  }
  .ab-team__list:focus-visible {
    outline: 2px solid #0a76c2;
    outline-offset: -2px;
  }
  html.dark-mode .ab-team__list:focus-visible {
    outline-color: var(--primaryLight);
  }
  .ab-person {
    flex: 0 0 calc((100% + 0.25rem) / 1.15);
    max-width: none;
    scroll-snap-align: start;
  }
  /* dots on the light section: darker than on the navy approach band so they stay visible */
  #about-team .ab-dot span {
    background-color: rgba(0, 31, 63, 0.28);
  }
  #about-team .ab-dot.is-active span {
    background-color: #0a76c2;
  }
  #about-team .ab-dot:focus-visible {
    outline-color: #0a76c2;
  }
  html.dark-mode #about-team .ab-dot span {
    background-color: rgba(255, 255, 255, 0.32);
  }
  html.dark-mode #about-team .ab-dot.is-active span,
  html.dark-mode #about-team .ab-dot:focus-visible {
    background-color: var(--primaryLight);
  }
  html.dark-mode #about-team .ab-dot:focus-visible {
    background-color: transparent;
    outline-color: var(--primaryLight);
  }
}

/* Tablet: a two-line job title must not push one biography rule below the others. */
@media only screen and (min-width: 48rem) and (max-width: 63.999rem) {
  .ab-person__role {
    min-height: 2.6em;
  }
}
