/* Partner marks share one optical grid and one baseline. Their proportions stay intact. */
.partners {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: clamp(48px, 4.5vw, 64px);
  width: min(560px, 55vw);
  margin-top: 50px;
}

.partner-tech {
  display: grid;
  grid-template-rows: 13px 68px;
  justify-items: center;
  gap: 12px;
  width: max-content;
  flex: 0 0 auto;
  min-height: 93px;
  padding: 0;
  border: 0;
}

.partner-tech small {
  align-self: start;
  width: max-content;
  max-width: 100%;
  color: #a8b5c8;
  font: 500 10px/13px Inter, sans-serif;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}

.logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  height: 68px;
}

.aws-stage img {
  display: block;
  width: auto;
  height: 58px;
  max-width: 100%;
}

.google-stage {
  gap: 8px;
}

.google-stage img {
  display: block;
  width: 56px;
  height: 50px;
  object-fit: contain;
}

.google-stage strong {
  color: #fff;
  font: 400 19px/1.08 Inter, sans-serif;
  text-align: left;
  white-space: nowrap;
}

.oracle-stage img {
  display: block;
  width: 230px;
  height: auto;
}

/* Let the partner marks carry more weight while keeping one shared baseline. */
.partner-tech {
  grid-template-rows: 13px 88px;
  min-height: 113px;
}

.logo-stage {
  height: 88px;
}

.aws-stage img {
  height: 76px;
}

.google-stage img {
  width: 68px;
  height: 62px;
}

.google-stage strong {
  font-size: 21px;
}

.oracle-stage img {
  width: 260px;
}

.site-header {
  mix-blend-mode: screen;
  grid-template-columns: 330px 1fr 220px;
}

.site-header .brand img {
  background: transparent;
  filter: none;
  width: 330px;
  height: 132px;
  mix-blend-mode: normal;
}

@media (max-width: 900px) {
  .partners {
    gap: clamp(12px, 2vw, 18px);
    width: min(560px, 75vw);
  }

  .partner-tech {
    grid-template-rows: 13px 66px;
    gap: 9px;
    min-height: 88px;
  }

  .logo-stage {
    height: 66px;
  }

  .aws-stage img {
    height: 56px;
  }

  .google-stage img {
    width: 54px;
    height: 48px;
  }

  .google-stage strong {
    font-size: 18px;
  }

  .oracle-stage img {
    width: 215px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header .brand img {
    width: 250px;
    height: 108px;
  }
}

@media (max-width: 600px) {
  .site-header .brand img {
    width: 215px;
    height: 94px;
  }
}

@media (max-width: 600px) {
  .partners {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: clamp(6px, 2vw, 9px);
    width: 100%;
  }

  .partner-tech,
  .logo-stage {
    width: max-content;
    max-width: 100%;
  }

  .partner-tech {
    grid-template-rows: 13px 54px;
    min-height: 73px;
    gap: 6px;
  }

  .logo-stage {
    height: 54px;
  }

  .aws-stage img {
    height: 40px;
  }

  .google-stage {
    gap: 4px;
  }

  .google-stage img {
    width: 42px;
    height: 38px;
  }

  .google-stage strong {
    font-size: 14px;
  }

  .oracle-stage img {
    width: min(100%, 145px);
  }
}
