/* About Us uses the shared BrandsGoBig navigation, buttons and footer. */
main > section {
  border-bottom: 1px solid #aad6fc;
}

.ab-panel {
  overflow: hidden;
  background: linear-gradient(139deg, transparent 76%, #cce7fc62 76% 83%, transparent 83%),
              linear-gradient(123deg, #fff 20%, #f5fbff 61%, #e0f0ff);
}

.ab-panel-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  grid-template-areas: "art copy";
}

.ab-panel-copy {
  grid-area: copy;
  align-self: center;
  min-width: 0;
  padding: clamp(22px, 3vw, 54px) clamp(20px, 3.2vw, 58px) clamp(22px, 3vw, 54px) clamp(4px, 1.3vw, 24px);
}

.ab-panel-art {
  grid-area: art;
  min-width: 0;
}

.ab-panel-art img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(1px 0 0 #0cd5ff);
}

.ab-panel .eyebrow, .ab-expertise .eyebrow, .ab-work .eyebrow {
  margin-bottom: 10px;
  color: #0543d0;
  letter-spacing: .08em;
  font-size: clamp(12px, 1vw, 16px);
}

.ab-panel .eyebrow::before, .ab-expertise .eyebrow::before, .ab-work .eyebrow::before {
  display: none;
}

.ab-hero h1 {
  font-size: clamp(30px, 3.45vw, 62px);
  font-weight: 840;
  letter-spacing: -.043em;
  text-wrap: pretty;
}

.ab-panel-copy > p:not(.eyebrow) {
  margin-top: 12px;
  font-size: clamp(15px, 1.35vw, 22px);
}

.ab-hero .button, .ab-cta .button {
  margin-top: 20px;
  padding-inline: clamp(16px, 2.1vw, 32px);
  min-height: 48px;
  gap: 18px;
}

.ab-hero .ab-panel-copy > .ab-company {
  margin-top: 14px;
  font-weight: 640;
  font-size: clamp(13px, 1.05vw, 17px);
}

.ab-story .ab-panel-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr);
  grid-template-areas: "copy art";
}

.ab-story .ab-panel-copy {
  position: relative;
  z-index: 1;
  padding-left: var(--gutter);
  padding-right: 0;
  margin-right: clamp(-36px, -2.2vw, -18px);
}

.ab-story .ab-panel-art img {
  filter: drop-shadow(-1px 0 0 #1ad6ff);
}

.ab-panel h2, .ab-benefits h2, .ab-expertise h2, .ab-work h2 {
  font-size: clamp(29px, 3.1vw, 55px);
  font-weight: 820;
  letter-spacing: -.04em;
  text-wrap: pretty;
}

.ab-story h2 .accent {
  display: inline-block;
  font-size: .84em;
}

.ab-benefits {
  background: radial-gradient(ellipse at 48% 10%, #07396d, transparent 53%),
              linear-gradient(180deg, #03142a, #042242);
  color: #fff;
  padding-block: clamp(24px, 3.5vw, 54px);
}

.ab-benefits h2 {
  text-align: center;
  margin-bottom: clamp(16px, 2vw, 30px);
}

.ab-benefits-grid, .ab-services-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: clamp(10px, 1.3vw, 21px);
}

.ab-benefits-grid li {
  flex: 0 1 calc((100% - clamp(20px, 2.6vw, 42px)) / 3);
  display: grid;
  grid-template-columns: clamp(48px, 6.2vw, 107px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.2vw, 21px);
  padding: clamp(12px, 1.25vw, 22px);
  border: 1px solid #1acbff;
  border-radius: 17px;
  background: radial-gradient(ellipse at 10% 95%, #07578c, transparent 65%), #031a35;
  box-shadow: inset 0 0 24px #2ba2f64a;
}

.ab-benefits-grid img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  mask-image: radial-gradient(ellipse at center, #000 45%, transparent 75%);
}

.ab-benefits-grid h3 {
  text-wrap: pretty;
  font-size: clamp(17px, 1.65vw, 28px);
  line-height: 1.08;
  margin-bottom: 6px;
}

.ab-benefits-grid p {
  font-size: clamp(14px, 1.16vw, 19px);
  color: #e0efff;
  line-height: 1.4;
}

.ab-expertise, .ab-work {
  background: linear-gradient(135deg, #fff, #eff8ff 82%, #e6f4ff);
  padding-block: clamp(24px, 3.2vw, 54px);
}

.ab-expertise h2 + p {
  margin-top: 6px;
  font-size: clamp(15px, 1.45vw, 23px);
}

.ab-services-grid {
  margin-top: clamp(14px, 2.2vw, 34px);
}

.ab-services-grid li {
  flex: 0 1 calc((100% - clamp(30px, 3.9vw, 63px)) / 4);
}

.ab-services-grid a {
  display: grid;
  place-items: center;
  grid-template-rows: auto 1fr;
  align-content: start;
  text-align: center;
  min-height: 100%;
  padding: clamp(10px, 1.35vw, 24px);
  gap: 5px;
  font-size: clamp(16px, 1.55vw, 27px);
  font-weight: 760;
  line-height: 1.2;
  border: 1px solid #83c7ff;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 50%, #eaf9ff 5%, #d7f0fe 82%);
  box-shadow: inset 0 0 0 2px #fff8, 0 8px 16px #0d54a91b;
  transition: box-shadow .16s ease;
}

.ab-services-grid a:hover {
  box-shadow: inset 0 0 0 2px #fff8, 0 8px 22px #0d54a93b;
  color: #0041c7;
}

.ab-services-grid img {
  width: min(100%, 160px);
  height: clamp(54px, 6vw, 98px);
  object-fit: contain;
  mask-image: radial-gradient(ellipse, #000 45%, transparent 76%);
}

.ab-why .ab-panel-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.ab-why .ab-panel-copy {
  padding-left: clamp(8px, 1.5vw, 26px);
}

.ab-reasons {
  margin: 12px 0 0;
  list-style: none;
  padding: 0;
}

.ab-reasons li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #b8d2ef;
  padding-block: clamp(6px, .62vw, 10px);
}

.ab-reasons li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: clamp(22px, 2.15vw, 35px);
  aspect-ratio: 1;
  flex: none;
  background: linear-gradient(135deg, #007dff, #004cea);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.ab-reasons h3 {
  font-size: clamp(16px, 1.65vw, 25px);
  text-wrap: pretty;
}

.ab-reasons p {
  font-size: clamp(14px, 1.2vw, 20px);
  margin-top: 3px;
}

.ab-work-grid {
  margin-top: clamp(16px, 1.7vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 30px);
}

.ab-project {
  border-radius: 16px;
  background: linear-gradient(170deg, #062341, #03152d);
  border: 1px solid #1e5583;
  color: #fff;
  padding: clamp(10px, 1.3vw, 20px);
}

.ab-project picture {
  padding: 2px;
  background: linear-gradient(150deg, #ecf7ff, #143b72 48%, #a5d8ff 100%);
  border-radius: 12px;
  overflow: hidden;
}

.ab-project picture img {
  width: 100%;
  aspect-ratio: 2.12;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.ab-project-body {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.ab-project h3 {
  font-size: clamp(21px, 2.2vw, 36px);
}

.ab-project .button {
  padding: 8px 12px;
  min-height: 44px;
  background: #f6fbff;
  font-size: clamp(13px, 1.12vw, 17px);
  gap: 10px;
  white-space: nowrap;
}

.ab-project-tags, .ab-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.ab-project-tags li {
  padding: 4px 8px;
  border: 1px solid #6bb1ec;
  border-radius: 99px;
  background: #0c3158;
  font-size: clamp(11px, .92vw, 15px);
}

.ab-cta .ab-panel-inner {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
}

.ab-cta .ab-panel-copy > .ab-cta-intro {
  margin: 0 0 5px;
  font-weight: 700;
  font-size: clamp(17px, 1.75vw, 28px);
}

.ab-cta .ab-panel-copy {
  position: relative;
  z-index: 1;
  margin-left: clamp(-72px, -3.3vw, -16px);
  padding-left: 8px;
}

.ab-cta h2 {
  max-inline-size: 24ch;
  font-size: clamp(31px, 3.55vw, 63px);
}

.ab-contacts {
  margin-top: 15px;
  gap: 0 14px;
}

.ab-contacts a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  font-size: clamp(13px, 1.25vw, 21px);
  font-weight: 680;
  overflow-wrap: anywhere;
}

.ab-contacts a svg {
  flex: none;
}

.ab-contacts a:hover {
  color: #0237a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 1775px) {
  .ab-panel-inner {
    position: relative;
  }

  .ab-panel:not(.ab-story) .ab-panel-inner::before, .ab-story .ab-panel-inner::after {
    content: "";
    position: absolute;
    inset: 0 100% 0 auto;
    width: max(0px, calc((100vw - var(--max)) / 2));
    background: #03152f;
  }

  .ab-story .ab-panel-inner::after {
    inset: 0 auto 0 100%;
  }
}

@media (max-width: 899px) {
  .ab-panel .ab-panel-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "art";
  }

  .ab-panel .ab-panel-copy {
    width: min(100%, 720px);
    margin-inline: auto;
    padding: 26px var(--gutter);
  }

  .ab-hero h1 {
    font-size: clamp(33px, 6.8vw, 57px);
    max-width: 19ch;
  }

  .ab-panel-art {
    overflow: hidden;
    background: #03162f;
  }

  .ab-panel-art img {
    width: min(100%, 720px);
    height: auto;
    object-fit: contain;
    margin-inline: auto;
    filter: none;
  }

  .ab-story .ab-panel-art img {
    filter: none;
  }

  .ab-benefits-grid li, .ab-services-grid li {
    flex-basis: calc((100% - clamp(10px, 1.3vw, 21px)) / 2);
  }

  .ab-project-body {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .ab-benefits-grid li {
    flex-basis: 100%;
    grid-template-columns: 61px minmax(0, 1fr);
  }

  .ab-work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-project-body {
    align-items: end;
    flex-direction: row;
  }
}

@media (max-width: 360px) {
  .ab-project-body {
    align-items: start;
    flex-direction: column;
  }
}

/* Keep the shared navigation clear of the white ribbon at the desktop breakpoint. */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-header::before {
    width: 31%;
  }

  .site-header .brand {
    width: clamp(185px, 21vw, 225px);
  }

  .site-header #primary-navigation {
    gap: clamp(16px, 2vw, 22px);
  }

  .site-header .nav-cta {
    white-space: nowrap;
  }
}
