:root {
  --blue: #005bbb;
  --dark-blue: #003d58;
  --teal: #007b80;
  --purple: #4b006e;
  --purple-dark: #470a68;
  --text: #05051f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--purple-dark);
  font-weight: 700;
}

.section-inner {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(100% - 48px, 720px);
}
.accent-underline {
  position: relative;
  display: inline;
  background-image: linear-gradient(
    90deg,
    #00a8e8 0%,
    #00a8e8 62%,
    rgba(0, 168, 232, 0.18) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: 0 88%;
}

.accent-underline::after {
  content: none;
}

/* ================================
   HERO
================================ */

.about-hero {
  position: relative;
  min-height: 386px;
  background: linear-gradient(90deg, #4b006e 0%, #1f3d9d 100%);
  color: #fff;
  overflow: visible;
}

.about-hero-inner {
  position: relative;
  width: min(100% - 220px, 1280px);
  min-height: 386px;
  margin: 0 auto;
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 140px;
}

.eyebrow {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 24px;
}

.about-hero h1 {
  font-size: 53px;
  line-height: 1.28;
  font-weight: 400;
  margin: 0;
  max-width: 650px;
}



.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  display: block;
  object-fit: cover;
  box-shadow: none;
}

.hero-img-top {
  top: 86px;
  right: 64px;
  width: 370px;
  height: 190px;
}

.hero-img-main {
  top: 330px;
  right: 258px;
  width: 380px;
  height: 238px;
}

.hero-img-small {
  top: 350px;
  right: 0;
  width: 218px;
  height: 112px;
}

.shape {
  position: absolute;
  display: block;
}

.shape-cyan {
  top: 242px;
  right: 365px;
  width: 132px;
  height: 62px;
  background: #00a8e8;
}

.shape-purple {
  top: 132px;
  right: 0;
  width: 80px;
  height: 36px;
  background: var(--purple);
}

.shape-blue {
  top: 454px;
  right: -18px;
  width: 100px;
  height: 46px;
  background: var(--blue);
}

/* ================================
   WHO WE ARE
================================ */

.who {
  padding: 280px 24px 80px;
}

.who h2,
.agencies h2 {
  color: var(--blue);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 26px;
}

.who > .section-inner > p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 54px;
}

.who-list {
  display: grid;
  gap: 46px;
}

.who-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 48px;
}

.who-item img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.who-item p {
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

/* ================================
   SCALE
================================ */

.scale {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #fff;
}

.scale-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 320px;
  background: #e6e6e6;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 0;
}

.scale-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: start;
  min-height: 680px;
}

.scale-copy {
  padding: 88px 48px 110px 118px;
}

.scale h2 {
  font-size: 43px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 28px;
  color: #25272d;
}



.scale p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 22px;
}

.scale ul {
  max-width: 560px;
  padding-left: 22px;
  margin: 0;
}

.scale li {
  font-size: 15px;
  line-height: 1.48;
  margin-bottom: 15px;
}

.scale-image {
  height: 565px;
  margin-top: 58px;
  background-image: url("/images/About/AboutOurScale.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 6px solid #00a8e8;
}

/* ================================
   AGENCIES
================================ */

.agencies {
  padding: 88px 24px 110px;
}

.agencies h2 {
  color: var(--blue);
  font-size: 43px;
  line-height: 1.18;
  font-weight: 400;
  max-width: 720px;
  margin: 0 0 92px;
}

.agency-grid {
  width: min(100%, 620px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 48px;
  row-gap: 92px;
  align-items: start;
}

.agency-item {
  text-align: center;
}

.agency-item:nth-child(1) {
  grid-column: 1 / 3;
}

.agency-item:nth-child(2) {
  grid-column: 3 / 5;
}

.agency-item:nth-child(3) {
  grid-column: 5 / 7;
}

.agency-item:nth-child(4) {
  grid-column: 2 / 4;
}

.agency-item:nth-child(5) {
  grid-column: 4 / 6;
}

.agency-item img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.agency-item p {
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
}

/* ================================
   BEST PRACTICES
================================ */

.best-practices {
  padding: 70px 24px 92px;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #4b006e, #005bbb) 1;
}

.best-practices h2 {
  color: var(--blue);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 28px;
}



.best-practices p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.best-practices ul {
  padding-left: 22px;
  margin: 0;
}

.best-practices li {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* ================================
   IMAGE-ONLY ANIMATIONS
================================ */

.js-enabled .hero-img,
.js-enabled .shape,
.js-enabled .scale-image,
.js-enabled .who-item img,
.js-enabled .agency-item img {
  opacity: 0;
}

.about-hero.is-visible .hero-img-top,
.about-hero.is-visible .hero-img-main,
.about-hero.is-visible .hero-img-small,
.about-hero.is-visible .shape {
  animation: imageSlideInRight 900ms ease-out both;
}

.about-hero.is-visible .hero-img-main {
  animation-delay: 120ms;
}

.about-hero.is-visible .hero-img-small {
  animation-delay: 220ms;
}

.about-hero.is-visible .shape-cyan {
  animation-delay: 80ms;
}

.about-hero.is-visible .shape-purple {
  animation-delay: 160ms;
}

.about-hero.is-visible .shape-blue {
  animation-delay: 260ms;
}

.scale.is-visible .scale-image {
  animation: imageSlideInRight 900ms ease-out both;
}

.who.is-visible .who-item img,
.agencies.is-visible .agency-item img {
  animation: imagePopIn 700ms ease-out both;
}

.who.is-visible .who-item:nth-child(2) img,
.agencies.is-visible .agency-item:nth-child(2) img {
  animation-delay: 100ms;
}

.who.is-visible .who-item:nth-child(3) img,
.agencies.is-visible .agency-item:nth-child(3) img {
  animation-delay: 200ms;
}

.agencies.is-visible .agency-item:nth-child(4) img {
  animation-delay: 300ms;
}

.agencies.is-visible .agency-item:nth-child(5) img {
  animation-delay: 400ms;
}

@keyframes imageSlideInRight {
  from {
    opacity: 0;
    transform: translateX(70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes imagePopIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ================================
   RESPONSIVE: TABLET
================================ */

@media (max-width: 1100px) {
  .about-hero-inner {
    width: min(100% - 80px, 1280px);
  }

  .about-hero h1 {
    font-size: 46px;
  }

  .hero-img-top {
    right: 20px;
    width: 320px;
  }

  .hero-img-main {
    right: 190px;
    width: 340px;
  }

  .hero-img-small {
    width: 190px;
  }

  .scale-copy {
    padding-left: 64px;
  }
}

/* ================================
   RESPONSIVE: MOBILE
================================ */

@media (max-width: 900px) {
  .about-hero {
    min-height: auto;
    overflow: hidden;
  }

  .about-hero-inner {
    width: 100%;
    min-height: 620px;
    padding: 0 14px;
  }

  .about-hero-copy {
    padding-top: 64px;
  }

  .eyebrow {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .about-hero h1 {
    font-size: 28px;
    line-height: 1.3;
    max-width: none;
    white-space: nowrap;
  }

  .about-hero .accent-underline::after {
    width: 105px;
    height: 4px;
    bottom: 5px;
  }

  .hero-collage {
    position: relative;
    height: 420px;
    margin-top: 76px;
  }

  .hero-img-top {
    top: 0;
    right: 38px;
    width: 270px;
    height: 138px;
    z-index: 3;
  }

  .hero-img-main {
    top: 178px;
    left: 0;
    right: auto;
    width: 292px;
    height: 176px;
    z-index: 3;
  }

  .hero-img-small {
    top: 196px;
    right: 0;
    width: 130px;
    height: 82px;
    z-index: 4;
  }

  .shape-cyan {
    top: 112px;
    left: 102px;
    right: auto;
    width: 96px;
    height: 46px;
    z-index: 2;
  }

  .shape-purple {
    top: 32px;
    right: 0;
    width: 52px;
    height: 26px;
    z-index: 1;
  }

  .shape-blue {
    top: 274px;
    right: 0;
    width: 64px;
    height: 36px;
    z-index: 2;
  }

  .who {
    padding: 72px 24px;
  }

  .who h2,
  .scale h2,
  .best-practices h2 {
    font-size: 34px;
  }

  .who-item {
    grid-template-columns: 76px 1fr;
    gap: 28px;
  }

  .who-item img {
    width: 74px;
    height: 74px;
  }

  .scale {
    min-height: auto;
  }

  .scale-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .scale-copy {
    padding: 72px 28px 42px;
  }

  .scale-image {
    height: 340px;
    margin-top: 0;
  }

  .scale-bg {
    height: 280px;
  }

  .agencies {
    padding: 64px 24px 84px;
  }

  .agencies .section-inner {
    width: min(100% - 40px, 420px);
  }

  .agencies h2 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 44px;
    max-width: 330px;
  }

  .agency-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 54px;
    row-gap: 46px;
    align-items: start;
  }

  .agency-item:nth-child(1),
  .agency-item:nth-child(2),
  .agency-item:nth-child(3),
  .agency-item:nth-child(4),
  .agency-item:nth-child(5) {
    grid-column: auto;
  }

  .agency-item:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 150px;
  }

  .agency-item img {
    width: 96px;
    height: 96px;
    margin-bottom: 10px;
  }

  .agency-item p {
    font-size: 13px;
    line-height: 1.35;
  }

  .best-practices {
    padding: 64px 24px 80px;
  }
}

/* ================================
   RESPONSIVE: SMALL MOBILE
================================ */

@media (max-width: 560px) {
  .section-inner,
  .section-inner.narrow {
    width: min(100% - 40px, 420px);
  }
  .accent-underline {
    background-size: 100% 4px;
    background-position: 0 86%;
  }
  .about-hero-inner {
    min-height: 620px;
  }

  .about-hero h1 {
    font-size: 28px;
  }

  .hero-collage {
    height: 420px;
  }

  .who h2,
  .scale h2,
  .best-practices h2 {
    font-size: 30px;
  }

  .who-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .agency-grid {
    column-gap: 42px;
    row-gap: 44px;
  }

  .agency-item img {
    width: 92px;
    height: 92px;
  }

  .scale-copy {
    padding-inline: 24px;
  }

  .best-practices li {
    font-size: 14px;
  }
}