.technologies-page {
  background: var(--paper);
}

.technologies-page main {
  overflow: hidden;
}

.technologies-page .main-nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.technologies-page .main-nav a[aria-current="page"] span {
  background: var(--lime);
  transform: scale(1.5);
}

.technologies-hero {
  position: relative;
  height: 522px;
  border-bottom: 1px solid rgba(17, 17, 17, .16);
}

.technologies-hero > h1 {
  position: absolute;
  top: 191px;
  left: 38px;
  margin: 0;
  font-family: var(--condensed);
  font-size: clamp(270px, 18.75vw, 360px);
  font-weight: 600;
  font-variation-settings: "wght" 600, "CNTR" 0, "ital" 0;
  line-height: .92;
  letter-spacing: -3px;
  text-transform: uppercase;
  white-space: nowrap;
  perspective: 1000px;
}

.technologies-hero > h1 span {
  display: block;
  clip-path: inset(-.12em -.03em);
}

.technologies-content {
  position: relative;
  height: 890px;
}

.technologies-content > h2 {
  position: absolute;
  top: 68px;
  left: 44px;
  width: 1492px;
  margin: 0;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -2px;
}

.technologies-content > h2 span {
  display: block;
  white-space: nowrap;
}

.technology-grid {
  position: absolute;
  top: 195px;
  right: 44px;
  left: 44px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(4, 58px);
  gap: 24px;
}

.technology-grid > span {
  display: flex;
  width: 100%;
  height: 58px;
  min-width: 0;
  min-height: 58px;
  align-self: start;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0 25px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(17, 17, 17, .05);
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.technology-grid > span img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.technology-grid img[src$="/cloud.svg"] {
  filter: invert(53%) sepia(97%) saturate(3131%) hue-rotate(183deg) brightness(98%) contrast(95%);
}

.technology-grid img[src$="/devops.svg"] {
  filter: invert(39%) sepia(89%) saturate(1607%) hue-rotate(216deg) brightness(96%) contrast(95%);
}

.technology-grid img[src$="/powerbi.svg"] {
  filter: invert(81%) sepia(99%) saturate(1265%) hue-rotate(348deg) brightness(101%) contrast(92%);
}

.technology-grid img[src$="/ai.svg"] {
  filter: invert(35%) sepia(99%) saturate(1528%) hue-rotate(253deg) brightness(88%) contrast(92%);
}

.technology-grid > span:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--green);
}

.technology-contact {
  position: absolute;
  right: 160px;
  bottom: 0;
  left: 160px;
  height: 280px;
  border-top: 1px solid rgba(17, 17, 17, .16);
  border-bottom: 1px solid rgba(17, 17, 17, .16);
}

.technology-logo {
  position: absolute;
  top: 76px;
  left: 0;
  width: 524px;
  height: 128px;
  overflow: hidden;
}

.technology-logo-word,
.technology-petal {
  position: absolute;
  max-width: none;
}

.technology-logo-word {
  top: 9.28%;
  left: 0;
  width: 77.63%;
  height: 62.46%;
}

.technology-petal {
  width: 12.18%;
  height: 50%;
}

.petal-one {
  right: 0;
  bottom: 0;
}

.petal-two {
  top: 0;
  right: 0;
}

.petal-three {
  top: 0;
  left: 75.66%;
}

.petal-four {
  bottom: 0;
  left: 75.66%;
}

.technology-contact-copy {
  position: absolute;
  top: 62px;
  left: 51.19%;
  width: 649px;
  font-size: 30px;
  line-height: 1.3;
}

.technology-contact-copy p {
  margin: 0;
}

.technology-contact-copy p span {
  display: block;
  white-space: nowrap;
}

.technology-contact-copy a {
  display: inline-block;
  margin-top: 0;
  color: #999;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.technologies-footer {
  position: relative;
  display: block;
  height: 570px;
  min-height: 570px;
  padding-top: 0;
  padding-bottom: 0;
}

.technologies-footer .footer-meta {
  position: absolute;
  bottom: 119px;
  left: var(--gutter);
}

.technologies-footer .footer-cta {
  position: absolute;
  top: 140px;
  left: 62.6%;
}

.technologies-footer .footer-cta .pill-button {
  position: absolute;
  top: 253px;
  left: 218px;
  margin-top: 0;
}

@media (max-width: 1450px) {
  .technologies-hero > h1 {
    font-size: 270px;
  }

  .technologies-content > h2 {
    width: 86%;
    font-size: 30px;
  }

  .technology-grid > span {
    padding-inline: 15px;
    font-size: 16px;
  }

  .technology-contact-copy {
    left: 55%;
    width: 42%;
    font-size: 24px;
  }

  .technology-contact-copy p span {
    white-space: normal;
  }

  .technology-logo {
    width: 440px;
    height: 108px;
  }
}

@media (max-width: 1050px) {
  .technologies-hero,
  .technologies-content {
    height: auto;
  }

  .technologies-hero {
    min-height: 420px;
  }

  .technologies-hero > h1 {
    top: 150px;
    left: 20px;
    font-size: clamp(142px, 25.7vw, 270px);
  }

  .technologies-content {
    padding: 70px 20px 0;
  }

  .technologies-content > h2,
  .technology-grid,
  .technology-contact,
  .technology-logo,
  .technology-contact-copy {
    position: relative;
    inset: auto;
  }

  .technologies-content > h2 {
    width: 100%;
  }

  .technologies-content > h2 span,
  .technology-contact-copy p span {
    display: inline;
    white-space: normal;
  }

  .technology-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(7, 58px);
    margin-top: 45px;
  }

  .technology-contact {
    display: grid;
    height: auto;
    min-height: 300px;
    grid-template-columns: 48% 52%;
    align-items: center;
    margin: 90px 40px 0;
    padding: 70px 0;
  }

  .technology-logo {
    width: min(440px, 90%);
    height: auto;
    aspect-ratio: 524 / 128;
  }

  .technology-contact-copy {
    width: auto;
    font-size: 24px;
  }

  .technologies-footer {
    display: grid;
    height: auto;
    min-height: 500px;
    grid-template-columns: 55% 45%;
    padding-top: 100px;
    padding-bottom: 70px;
  }

  .technologies-footer .footer-meta,
  .technologies-footer .footer-cta,
  .technologies-footer .footer-cta .pill-button {
    position: static;
  }

  .technologies-footer .footer-cta .pill-button {
    margin-top: 25px;
  }
}

@media (max-width: 760px) {
  .technologies-hero {
    min-height: 300px;
  }

  .technologies-hero > h1 {
    top: 130px;
    left: 16px;
    font-size: clamp(76px, 20.6vw, 138px);
    letter-spacing: -1px;
  }

  .technologies-content {
    padding: 55px 16px 0;
  }

  .technologies-content > h2 {
    font-size: 25px;
    letter-spacing: -1.3px;
  }

  .technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(10, 52px);
    gap: 14px;
  }

  .technology-grid > span {
    height: 52px;
    min-height: 52px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .technology-grid > span img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .technology-contact {
    display: block;
    margin: 70px 0 0;
    padding: 65px 0;
  }

  .technology-logo {
    width: 100%;
  }

  .technology-contact-copy {
    margin-top: 55px;
    font-size: 22px;
  }

  .technologies-footer {
    display: flex;
    min-height: 650px;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding: 80px 16px 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .technologies-page *,
  .technologies-page *::before,
  .technologies-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
