.what-we-do-page {
  --what-width: min(var(--page-width), var(--max));
}

.what-we-do-section {
  width: var(--what-width);
  margin: 0 auto;
}

.what-we-do-hero {
  padding: 59px 0 0;
}

.what-we-do-hero-shell {
  --shell-pad: 34px;
  --header-height: 89px;
  --header-corner: var(--radius);
  --notch-radius: 80px;
  --notch-left-top: 109px;
  --notch-right-top: 245px;
  --notch-left-bottom: 109px;
  --notch-right-bottom: 245px;
  --brand-left: 120px;
  --brand-top: -13px;
  --brand-box: 112px;
  --brand-size: 194px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 22px;
  width: var(--what-width);
  margin: 0 auto;
  padding: 0 var(--shell-pad) var(--shell-pad);
  background: var(--white);
  border: 1px solid #d8d1c7;
  border-top-color: transparent;
  border-radius: var(--radius);
  overflow: visible;
}

.what-we-do-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(32px, 3vw, 42px);
  background: var(--blush);
  border-radius: var(--radius);
}

.what-we-do-hero-copy .eyebrow {
  margin-bottom: 14px;
}

.what-we-do-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(48px, 4.2vw, 70px);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.what-we-do-hero-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.25;
}

.what-we-do-hero-copy > p:last-child span {
  display: block;
  margin-top: 18px;
}

.what-we-do-hero-visual {
  position: relative;
  align-self: center;
  aspect-ratio: 300 / 283;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  border-radius: var(--radius);
}

.what-we-do-hero-visual img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 105%;
  height: 105%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translateX(-50%);
}

.what-we-do-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  align-items: start;
  padding: 88px 0 44px;
}

.what-we-do-intro h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(48px, 4.2vw, 70px);
  font-weight: 510;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.what-we-do-intro-copy {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}

.what-we-do-intro-copy p {
  margin: 0;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.28;
}

.what-we-do-intro-copy p + p {
  margin-top: 22px;
}

.what-we-do-pillars {
  display: grid;
  gap: 88px;
  padding: 44px 0;
}

.what-we-do-pillar {
  scroll-margin-top: 24px;
}

.what-we-do-pillar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(410px, 0.9fr);
  gap: 14px;
  width: var(--what-width);
  margin: 0 auto;
  padding: 14px;
  border-radius: var(--radius);
}

.what-we-do-tone-blue .what-we-do-pillar-inner {
  background: var(--blue-soft);
}

.what-we-do-tone-sage .what-we-do-pillar-inner {
  background: var(--sage);
}

.what-we-do-tone-dark .what-we-do-pillar-inner {
  background: var(--charcoal-deep);
  color: var(--white);
}

.what-we-do-tone-blush .what-we-do-pillar-inner {
  background: var(--blush);
}

.what-we-do-pillar-copy {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
}

.what-we-do-tone-dark .what-we-do-pillar-copy {
  background: rgba(255, 255, 255, 0.035);
}

.what-we-do-pillar-heading {
  display: block;
}

.what-we-do-pillar-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.what-we-do-pillar-meta > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.what-we-do-tone-dark .what-we-do-pillar-meta > span,
.what-we-do-tone-dark .what-we-do-pillar-heading .eyebrow {
  color: rgba(255, 255, 255, 0.56);
}

.what-we-do-pillar-heading .eyebrow {
  margin: 0;
}

.what-we-do-pillar-lead {
  max-width: 650px;
  margin: 0 0 18px;
  color: inherit;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 650;
  line-height: 1.25;
}

.what-we-do-pillar h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.what-we-do-pillar-text {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(11, 11, 13, 0.2);
}

.what-we-do-pillar-text p {
  max-width: 760px;
  margin: 0;
  color: rgba(11, 11, 13, 0.72);
  font-size: 17px;
  line-height: 1.45;
}

.what-we-do-list-label {
  margin: 28px 0 0;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
}

.what-we-do-pillar ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid rgba(11, 11, 13, 0.22);
  list-style: none;
}

.what-we-do-list-label + ul {
  margin-top: 12px;
}

.what-we-do-pillar li {
  position: relative;
  min-width: 0;
  padding: 12px 6px 12px 18px;
  border-bottom: 1px solid rgba(11, 11, 13, 0.13);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.3;
}

.what-we-do-pillar li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 999px;
}

.what-we-do-tone-dark .what-we-do-pillar-text {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.what-we-do-tone-dark .what-we-do-pillar-text p {
  color: rgba(255, 255, 255, 0.7);
}

.what-we-do-tone-dark ul {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.what-we-do-tone-dark li {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
}

.what-we-do-pillar-visual {
  min-width: 0;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  border-radius: var(--radius);
}

.what-we-do-pillar-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.what-we-do-pillar.is-even .what-we-do-pillar-copy {
  grid-column: 2;
  grid-row: 1;
}

.what-we-do-pillar.is-even .what-we-do-pillar-visual {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 1100px) {
  .what-we-do-hero-shell,
  .what-we-do-pillar-inner {
    grid-template-columns: 1fr;
  }

  .what-we-do-hero-shell {
    --shell-pad: 16px;
    gap: 14px;
    padding: 0 var(--shell-pad) var(--shell-pad);
  }

  .what-we-do-hero-visual {
    aspect-ratio: 16 / 10;
  }

  .what-we-do-pillar.is-even .what-we-do-pillar-copy,
  .what-we-do-pillar.is-even .what-we-do-pillar-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .what-we-do-pillar.is-even .what-we-do-pillar-copy {
    grid-row: 1;
  }

  .what-we-do-pillar-visual {
    min-height: 0;
    height: 520px;
  }
}

@media (max-width: 980px) {
  .what-we-do-intro {
    grid-template-columns: 1fr;
  }

  .what-we-do-intro {
    gap: 28px;
    padding-top: 72px;
  }
}

@media (max-width: 680px) {
  .what-we-do-hero-copy {
    padding: 26px;
  }

  .what-we-do-hero-copy h1,
  .what-we-do-intro h2 {
    font-size: clamp(46px, 13vw, 60px);
  }

  .what-we-do-hero-copy > p:last-child,
  .what-we-do-intro-copy p {
    font-size: 20px;
  }

  .what-we-do-hero-visual {
    aspect-ratio: 4 / 3;
  }

  .what-we-do-intro {
    gap: 24px;
    padding: 56px 0 32px;
  }

  .what-we-do-pillars {
    gap: 64px;
    padding: 32px 0;
  }

  .what-we-do-pillar-inner {
    padding: 12px;
  }

  .what-we-do-pillar-copy {
    padding: 28px 20px;
  }

  .what-we-do-pillar-meta {
    gap: 10px;
  }

  .what-we-do-pillar h2 {
    font-size: clamp(40px, 11vw, 52px);
  }

  .what-we-do-pillar-lead {
    font-size: 19px;
  }

  .what-we-do-pillar-text {
    margin-top: 26px;
    padding-top: 20px;
  }

  .what-we-do-pillar ul {
    grid-template-columns: 1fr;
  }

  .what-we-do-pillar-visual {
    height: 360px;
  }
}
