.about-page #main {
  padding-block: 0;
}

.about-hero .hero-image {
  object-position: center 51%;
}

.about-section,
.accreditation-section,
.team-section {
  scroll-margin-top: 5rem;
}

.about-section + .about-section {
  border-top: 1px solid var(--line);
}

.about-section-head {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.about-section-head p {
  max-width: 58ch;
  margin-top: .8rem;
  font-size: clamp(.96rem, 1.3vw, 1.08rem);
}

.about-page button.text-link {
  padding-inline: 0;
  border: 0;
  border-bottom: 1px solid #fd2f0b73;
  background: transparent;
}

.approach-scroll {
  margin: -.5rem -1.15rem 0;
  padding-inline: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: 1.15rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #9ca6b6 var(--pale);
}

.lenis .approach-scroll {
  overscroll-behavior-y: auto;
}

.approach-scroll:focus-visible {
  outline-offset: -2px;
}

.approach-timeline {
  --approach-gap: clamp(1.2rem, 2.15vw, 2.15rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--approach-gap)) / 3);
  gap: var(--approach-gap);
  margin: 0;
  /* Leave room for the rotated icons inside the horizontal scroller. */
  padding: .5rem 0 2.1rem;
  list-style: none;
}

.approach-timeline li {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  scroll-snap-align: start;
}

.approach-timeline li:not(:last-child)::before {
  position: absolute;
  top: 1.25rem;
  right: calc(-1 * var(--approach-gap));
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.approach-step {
  position: relative;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--button-red);
}

.approach-step::before,
.approach-step::after {
  grid-area: 1 / 1;
  content: "";
}

.approach-step::before {
  width: .95rem;
  height: 2px;
  background: currentColor;
}

.approach-step::after {
  width: .48rem;
  height: .48rem;
  margin-left: .41rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.approach-card {
  position: relative;
  isolation: isolate;
  padding: clamp(.95rem, 1.6vw, 1.55rem);
}

.approach-watermark {
  position: absolute;
  z-index: -1;
  color: var(--brand-navy);
  font-size: clamp(4.6rem, 7.3vw, 8rem);
  opacity: .058;
  pointer-events: none;
}

.approach-watermark-listen {
  right: -.35rem;
  bottom: -.7rem;
  transform: rotate(-11deg);
}

.approach-watermark-scope {
  top: -.3rem;
  right: .6rem;
  transform: rotate(-14deg);
}

.approach-watermark-plan {
  top: -.45rem;
  right: .3rem;
  transform: rotate(13deg);
}

.approach-watermark-deliver {
  bottom: -.6rem;
  left: -.32rem;
  transform: rotate(-16deg);
}

.approach-watermark-check {
  top: .7rem;
  right: -.55rem;
  transform: rotate(11deg);
}

.approach-watermark-handover {
  right: .2rem;
  bottom: -.55rem;
  transform: rotate(-12deg);
}

.approach-watermark-listen::before {
  content: "\f086";
}

.approach-watermark-scope::before {
  content: "\f002";
}

.approach-watermark-plan::before {
  content: "\f546";
}

.approach-watermark-check::before {
  content: "\f46c";
}

.approach-watermark-handover::before {
  content: "\f084";
}

.approach-timeline p {
  max-width: 35ch;
  margin-top: .55rem;
  font-size: .94rem;
}

.approach-footer,
.approach-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.4rem;
}

.approach-footer {
  justify-content: space-between;
  margin-top: .9rem;
}

.approach-controls [aria-disabled="true"] {
  opacity: .5;
  cursor: default;
}

.values-display {
  display: grid;
  grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr);
  align-items: stretch;
  gap: clamp(1.75rem, 3.5vw, 4.5rem);
}

.values-copy {
  align-self: center;
  margin-bottom: 0;
  padding-block: clamp(.5rem, 2vw, 2rem);
}

.values-copy .text-link {
  margin-top: 1.25rem;
}

.values-intro {
  margin-top: clamp(1.15rem, 2vw, 1.75rem);
}

.values-stage {
  display: grid;
  row-gap: 1.75rem;
  padding: clamp(1.25rem, 3.4vw, 3.5rem);
}

.values-carousel[data-ready] .value-slide {
  grid-area: 1 / 1;
}

.values-carousel[data-ready] .value-slide:not([data-active]) {
  visibility: hidden;
}

.value-slide h3 {
  max-width: 16ch;
  font-size: clamp(1.65rem, 3.1vw, 3.35rem);
  letter-spacing: -.05em;
  text-wrap: balance;
}

.value-slide h3::before {
  display: block;
  width: 2.6rem;
  height: 3px;
  margin-bottom: .85rem;
  background: var(--brand-orange);
  content: "";
}

.value-slide p {
  max-width: 49ch;
  margin-top: .85rem;
  color: #f1f2f6;
}

.values-picture {
  display: grid;
}

.values-media {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: clamp(30rem, 44vw, 47rem);
  border-radius: var(--card-radius);
  color: var(--white);
  background: var(--brand-navy);
}

.values-media img,
.values-media::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.values-media img {
  z-index: -2;
  opacity: 0;
  object-fit: cover;
}

.values-media img[data-active] {
  opacity: 1;
}

.values-media::after {
  z-index: -1;
  background:
    linear-gradient(to top, #0b1325f5, #0b1325c7 40%, #0b13251f),
    linear-gradient(to right, #0b132577, transparent 86%);
  pointer-events: none;
  content: "";
}

.values-controls {
  display: grid;
  margin-top: clamp(1rem, 2.1vw, 1.7rem);
  border-top: 1px solid var(--line);
}

.values-controls button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: clamp(2.75rem, 3.7vw, 3.85rem);
  padding: .5rem .65rem .5rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-size: clamp(1.15rem, 1.85vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  overflow-wrap: anywhere;
}

.values-controls button::before {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left;
  content: "";
}

.values-controls button:is(:hover, :focus-visible, [aria-pressed="true"]) {
  color: var(--button-red);
}

.values-controls button[aria-pressed="true"]::before {
  transform: scaleX(1);
}

.value-choice-arrow {
  opacity: .48;
  font-weight: 400;
}

.values-controls button:is(:hover, :focus-visible, [aria-pressed="true"]) .value-choice-arrow {
  opacity: 1;
}

.accreditation-section + .about-section {
  background: linear-gradient(to bottom, var(--section-grey), var(--white));
}

.accreditation-section .service-panel {
  grid-template-rows: auto 1fr;
}

.accreditation-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(15rem, 28vw, 21rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #273853, var(--brand-navy) 78%);
}

.accreditation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  width: 100%;
  margin: 0;
  padding: clamp(1.6rem, 4.6vw, 4.6rem);
  list-style: none;
}

.accreditation-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 16%;
  border: 1px solid #ffffff15;
  border-radius: var(--card-radius);
  background: #ffffff0b;
}

.accreditation-image {
  display: block;
  width: 88%;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .accreditation-media[data-animated] {
    container-type: size;
  }

  .accreditation-lanes {
    --accreditation-tile-size: 35.75cqw;
    --accreditation-tile-gap: clamp(.45rem, 1.65cqw, .9rem);
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(3, var(--accreditation-tile-size));
    grid-template-rows: minmax(0, 1fr);
    align-items: start;
    gap: var(--accreditation-tile-gap);
    height: calc(100% + 16cqw);
    transform: translate(-50%, -50%) rotate(7deg);
  }

  .accreditation-track {
    animation: accreditation-travel 36s linear infinite paused;
  }

  .accreditation-track:nth-child(even) {
    animation-duration: 27s;
    animation-delay: -8s;
    animation-direction: reverse;
  }

  .accreditation-track:nth-child(3) {
    animation-delay: -12s;
  }

  .accreditation-media[data-visible] .accreditation-track {
    animation-play-state: running;
  }

  .accreditation-sequence {
    display: grid;
    gap: var(--accreditation-tile-gap);
    margin: 0;
    padding: 0 0 var(--accreditation-tile-gap);
    list-style: none;
  }
}

@keyframes accreditation-travel {
  to { transform: translateY(-25%); }
}

.team-section {
  background: linear-gradient(to bottom, var(--section-grey), var(--white));
}

.team-groups {
  --team-card-gap: clamp(.65rem, 1.5vw, 1.3rem);
  --team-section-gap: clamp(1.75rem, 4vw, 3.75rem);
  display: grid;
  gap: var(--team-section-gap);
}

.team-group-title {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2.4vw, 1.75rem);
  width: 100%;
  margin-bottom: .9rem;
}

.team-group-title::after {
  flex: 1;
  height: 1px;
  background: var(--line);
  content: "";
}

.team-group-title--continuation {
  display: none;
}

.team-group-title--continuation span {
  color: var(--text);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--team-card-gap);
}

.team-group--directors .team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 42rem;
}

.team-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  width: 100%;
  min-height: 13rem;
  aspect-ratio: 1 / 1.13;
  align-items: end;
  border-radius: var(--card-radius);
  color: var(--white);
  background: var(--brand-navy);
}

.team-portrait,
.team-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.team-portrait {
  z-index: -2;
}

.team-portrait > *,
.profile-portrait > * {
  width: 100%;
  height: 100%;
}

.team-portrait img,
.profile-portrait img {
  object-fit: cover;
  object-position: center 34%;
}

.team-portrait-placeholder {
  display: grid;
  place-items: center;
  color: #dce8ffad;
  background:
    repeating-linear-gradient(150deg, transparent 0 12px, #cbe1ff0b 12px 13px),
    radial-gradient(ellipse at 20% 0, #3b4f72, var(--brand-navy) 82%);
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1;
}

.team-portrait .team-portrait-placeholder {
  padding-bottom: 2.6rem;
}

.team-card::after {
  z-index: -1;
  background: linear-gradient(0deg, #090f1ff5 0%, #090f1fce 24%, #090f1f00 72%);
  pointer-events: none;
  content: "";
}

.team-card-caption {
  padding: .8rem clamp(.75rem, 1.35vw, 1.35rem) 1.05rem;
}

.team-card-caption h4 {
  margin: 0;
  font-size: clamp(.95rem, 1.3vw, 1.25rem);
  font-weight: 600;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.team-card-caption p {
  margin-top: .2rem;
  color: #e6ebf3;
  font-size: clamp(.7rem, 1vw, .84rem);
  line-height: 1.25;
}

.team-card-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: start;
  justify-content: end;
  padding: .65rem;
  border: 0;
  color: var(--brand-navy);
  background: transparent;
}

.team-card:has(.team-portrait-placeholder) .team-card-button {
  color: var(--white);
}

.team-card-button:focus-visible {
  outline-offset: -4px;
}

.team-card-button span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}

.team-card-button:is(:hover, :focus-visible) span {
  color: var(--brand-orange);
}

html:has(.profile-drawer[open]) {
  overflow: hidden;
}

.profile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 38rem);
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--white);
  overflow: hidden;
  overscroll-behavior: contain;
  box-shadow: -1rem 0 4rem #02081740;
}

.profile-drawer[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.profile-drawer > form {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
}

.profile-drawer::backdrop {
  background: #080f21ab;
}

.profile-drawer-inner {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #9ca6b6 var(--white);
}

.profile-photo {
  position: relative;
  display: grid;
  place-items: end center;
  background: linear-gradient(140deg, var(--brand-navy), #283b5b);
}

.profile-portrait {
  overflow: hidden;
  width: min(63%, 16.5rem);
  aspect-ratio: 1;
  margin-top: clamp(1.35rem, 4vh, 2.75rem);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.profile-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand-navy);
  font-size: 1.6rem;
  line-height: 1;
}

.profile-close:hover {
  background: var(--button-red);
}

.profile-copy {
  padding: clamp(1.4rem, 4vw, 3rem);
  border-top: 3px solid var(--brand-orange);
}

.profile-role {
  margin-bottom: .45rem;
  color: var(--button-red);
  font-size: .82rem;
  font-weight: 600;
}

.profile-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  text-wrap: initial;
}

.profile-details {
  margin-top: 1rem;
}

.profile-details > p + p {
  margin-top: 1rem;
}

.profile-email {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
  margin-top: 1.35rem;
  color: var(--ink);
}

.profile-email-icon {
  margin-top: .18rem;
  color: var(--button-red);
  font-size: 1.2rem;
}

.profile-email-text {
  display: grid;
  gap: .1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.profile-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  padding: .85rem clamp(1.4rem, 4vw, 3rem);
  padding-bottom: max(.85rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.profile-nav p {
  font-size: .77rem;
}

@media (prefers-reduced-motion: no-preference) {
  .values-carousel[data-ready] .value-slide[data-active] h3 {
    animation: value-enter 520ms cubic-bezier(.2,.72,.25,1) both;
  }

  .values-carousel[data-ready] .value-slide[data-active] p {
    animation: value-copy-enter 470ms 110ms ease-out both;
  }

  .values-media img {
    transform: scale(1.035);
    transition: opacity 700ms ease, transform 900ms ease-out;
  }

  .values-media img[data-active] {
    transform: scale(1);
  }

  .values-controls button::before {
    transition: transform 360ms cubic-bezier(.2,.72,.25,1);
  }

  .value-choice-arrow {
    transition: opacity 200ms ease, transform 260ms ease;
  }

  .values-controls button:is(:hover, :focus-visible, [aria-pressed="true"]) .value-choice-arrow {
    transform: translateX(.3em);
  }

  .team-portrait > *,
  .team-card-button span {
    transition: transform 250ms ease, color 180ms ease;
  }

  .team-card:is(:hover, :focus-within) .team-portrait > * {
    transform: scale(1.045);
  }

  .team-card-button:is(:hover, :focus-visible) span {
    transform: rotate(90deg) scale(1.12);
  }

  .profile-drawer[open] {
    animation: profile-enter 310ms cubic-bezier(.2,.72,.25,1) both;
  }

  .profile-drawer[open]::backdrop {
    animation: profile-backdrop 260ms ease-out;
  }

  .profile-email-icon {
    animation: profile-email-enter 320ms ease-out both;
  }
}

@keyframes value-enter {
  from { opacity: 0; transform: translateX(1.85rem); }
}

@keyframes value-copy-enter {
  from { opacity: 0; transform: translateY(.7rem); }
}

@keyframes profile-enter {
  from { transform: translateX(100%); }
}

@keyframes profile-backdrop {
  from { opacity: 0; }
}

@keyframes profile-email-enter {
  from { opacity: 0; transform: translateX(-.35rem); }
}

@media (min-width: 75rem) {
  .team-groups {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: var(--team-card-gap);
  }

  .team-group {
    grid-column: 1 / -1;
  }

  .team-group--directors {
    grid-column: span 2;
  }

  .team-group--heads {
    grid-column: span 3;
  }

  .team-group--directors .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .team-group--heads .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-group--managers .team-grid,
  .team-group--supervisors .team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .team-group--support .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: calc((100% - 4 * var(--team-card-gap)) / 5 * 2 + var(--team-card-gap));
  }
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 75rem) {
    .team-groups {
      row-gap: .9rem;
    }

    .team-group {
      display: grid;
      grid-template-columns: subgrid;
      grid-template-rows: subgrid;
      row-gap: .9rem;
    }

    .team-group--directors,
    .team-group--heads {
      grid-row: 1 / 3;
    }

    .team-group--managers {
      grid-row: 3 / 5;
    }

    .team-group--supervisors {
      grid-row: 5 / 9;
    }

    .team-group--support {
      grid-column: 4 / 6;
      grid-row: 7 / 9;
    }

    .team-group > .team-group-title {
      grid-column: 1 / -1;
      grid-row: 1;
      margin: 0;
    }

    .team-group--managers > .team-group-title,
    .team-group--supervisors > .team-group-title,
    .team-group--support > .team-group-title {
      position: relative;
      padding-top: calc(var(--team-section-gap) - .9rem);
      border-inline-start-color: transparent;
    }

    .team-group--managers > .team-group-title::before,
    .team-group--supervisors > .team-group-title::before,
    .team-group--support > .team-group-title::before {
      content: "";
      position: absolute;
      inset-inline-start: -3px;
      bottom: 0;
      width: 3px;
      height: 1.7rem;
      background: var(--eyebrow-rule, var(--brand-orange));
    }

    .team-group--supervisors > .team-group-title--continuation {
      display: flex;
      grid-column: 1 / 4;
      grid-row: 3;
    }

    .team-group .team-grid {
      grid-column: 1 / -1;
      grid-row: 2 / -1;
      grid-template-columns: subgrid;
      grid-template-rows: subgrid;
      max-width: none;
      row-gap: .9rem;
    }

    .team-group--supervisors .team-card:nth-child(n + 6) {
      grid-row: 3;
    }
  }
}

@media (max-width: 53rem) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 46rem) {
  .approach-scroll {
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .approach-timeline {
    --approach-gap: .95rem;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }

  .approach-timeline li {
    grid-template-rows: 1fr;
    padding-left: 3.4rem;
  }

  .approach-timeline li:not(:last-child)::before {
    inset: 1.25rem auto calc(-1 * var(--approach-gap)) 1.25rem;
    width: 1px;
    height: auto;
  }

  .approach-step {
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
    transform: rotate(90deg);
  }

  .values-display {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .values-copy {
    display: contents;
  }

  .values-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    margin-top: 0;
  }

  .values-media {
    min-height: clamp(25rem, 106vw, 32rem);
  }

  .values-intro {
    order: 1;
    margin-top: 0;
  }

  .team-card {
    min-height: 11.5rem;
  }
}
