.values-main {
  overflow: hidden;
  background: var(--cool-050);
}

.values-hero {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0 clamp(96px, 11vw, 160px);
  background:
    radial-gradient(circle at 88% 18%, rgb(35 103 159 / 11%), transparent 31%),
    linear-gradient(180deg, var(--white), #f7fafc);
}

.values-hero-layout {
  display: grid;
  grid-template-columns: minmax(390px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(58px, 7vw, 110px);
}

.values-hero-copy {
  position: relative;
  z-index: 2;
}

.values-hero-copy h1 {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(3.1rem, 4.2vw, 4.6rem);
  line-height: 1;
}

.values-hero-copy h1 span {
  color: var(--gold-700);
}

.values-hero-copy > p:last-child {
  max-width: 625px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.values-collage {
  position: relative;
  min-height: 630px;
}

.values-collage::before {
  position: absolute;
  inset: 5% -8% 2% 17%;
  background: var(--blue-100);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
}

.values-collage-image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 8px solid var(--white);
  border-radius: var(--radius);
  box-shadow: 0 22px 55px rgb(6 44 85 / 16%);
}

.values-collage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-collage-image--top {
  z-index: 2;
  top: 0;
  left: 12%;
  width: 69%;
  aspect-ratio: 1.66 / 1;
}

.values-collage-image--right {
  z-index: 1;
  right: -4%;
  bottom: 4%;
  width: 62%;
  aspect-ratio: 1.5 / 1;
}

.values-collage-image--left {
  z-index: 3;
  bottom: 0;
  left: -3%;
  width: 55%;
  aspect-ratio: 1.5 / 1;
}

.values-principles {
  position: relative;
  z-index: 4;
  padding: 0 0 clamp(96px, 11vw, 150px);
}

.values-grid {
  display: grid;
  margin-top: -58px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  overflow: hidden;
  background: rgb(255 255 255 / 82%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  filter: saturate(0.86);
}

.value-card:nth-child(2) > img {
  object-position: center 42%;
}

.value-card > div {
  padding: 30px 29px 34px;
}

.value-index {
  display: block;
  margin-bottom: 28px;
  color: var(--taupe-700);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.value-card h3 {
  min-height: 2.15em;
  margin-bottom: 17px;
  font-size: 1.68rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.57;
}

.values-story {
  padding: clamp(92px, 10vw, 144px) 0;
  background: var(--white);
}

.values-story--muted {
  background: var(--blue-050);
}

.values-story-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(62px, 9vw, 132px);
}

.values-story-layout--reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(380px, 0.86fr);
}

.values-portrait {
  position: relative;
  margin: 0;
}

.values-portrait::before {
  position: absolute;
  z-index: 0;
  inset: -22px 22px 22px -22px;
  background: var(--blue-100);
  border-radius: var(--radius);
  content: "";
}

.values-story-layout--reverse .values-portrait::before {
  inset: 22px -22px -22px 22px;
  background: var(--taupe-100);
}

.values-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.values-story-copy h2 {
  max-width: 710px;
  margin-bottom: 31px;
  font-size: clamp(2.8rem, 4.25vw, 4.5rem);
}

.values-story-copy > p:not(.eyebrow, .values-signature) {
  max-width: 700px;
  color: var(--muted);
}

.values-story-copy .values-lead {
  color: #46545f;
  font-size: clamp(1.12rem, 1.55vw, 1.32rem);
  line-height: 1.5;
}

.values-signature {
  position: relative;
  padding-top: 22px;
  margin: 31px 0 0;
  color: var(--blue-900);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
}

.values-signature::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 1px;
  background: var(--taupe-500);
  content: "";
}

@media (max-width: 1080px) {
  .values-hero-layout {
    grid-template-columns: minmax(340px, 0.9fr) minmax(430px, 1.1fr);
    gap: 44px;
  }

  .values-collage {
    min-height: 520px;
  }

  .values-story-layout,
  .values-story-layout--reverse {
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: 58px;
  }
}

@media (max-width: 820px) {
  .values-hero-layout,
  .values-story-layout,
  .values-story-layout--reverse {
    grid-template-columns: 1fr;
  }

  .values-hero-copy h1 {
    max-width: 760px;
  }

  .values-collage {
    width: min(100%, 680px);
    min-height: 560px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    display: grid;
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  }

  .value-card > img {
    height: 100%;
    aspect-ratio: auto;
  }

  .value-card h3 {
    min-height: 0;
  }

  .values-story-layout--reverse .values-story-copy {
    grid-row: 2;
  }

  .values-portrait {
    width: min(78vw, 540px);
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .values-hero {
    padding-top: 60px;
    padding-bottom: 82px;
  }

  .values-hero-copy h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.4rem);
  }

  .values-collage {
    min-height: 410px;
  }

  .values-collage::before {
    inset: 7% -16% 2% 12%;
  }

  .values-collage-image {
    border-width: 5px;
    border-radius: var(--radius-small);
  }

  .values-collage-image--top {
    left: 8%;
    width: 77%;
  }

  .values-collage-image--right {
    right: -8%;
    width: 67%;
  }

  .values-collage-image--left {
    left: -5%;
    width: 61%;
  }

  .values-principles {
    padding-bottom: 82px;
  }

  .values-grid {
    margin-top: -32px;
  }

  .value-card {
    display: block;
  }

  .value-card > img {
    height: auto;
    aspect-ratio: 1.5 / 1;
  }

  .value-card > div {
    padding: 25px 23px 29px;
  }

  .value-index {
    margin-bottom: 19px;
  }

  .values-portrait {
    width: calc(100% - 24px);
  }

  .values-portrait::before {
    inset: -12px 12px 12px -12px;
  }

  .values-story-layout--reverse .values-portrait::before {
    inset: 12px -12px -12px 12px;
  }

  .values-story-copy h2 {
    font-size: clamp(2.35rem, 10.7vw, 3.3rem);
  }

  .values-story-layout--reverse .values-story-copy {
    margin-top: 5px;
  }
}
