/*
  what-we-do / WHAT WE DO SUBPAGE
  ----------------------------
  Load the existing shared style.css before this file.
  This stylesheet contains only page-specific additions and overrides.
*/

.what-we-do-page .what-we-do-header {
  width: 100%;
}

.what-we-do-page .wordmark--header {
  position: static;
  width: clamp(150px, 12vw, 239px);
  height: auto;
}

.what-we-do-page .wordmark--header img {
  width: 100%;
  height: auto;
}

/* Hero */
.what-we-do-hero {
  position: relative;
  min-height: var(--hero-height);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #1b1816;
}

.what-we-do-hero__media,
.what-we-do-hero__overlay {
  position: absolute;
  inset: 0;
  margin: 0;
}

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

.what-we-do-hero__overlay {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.08) 62%),
    rgba(0, 0, 0, 0.12);
}

.what-we-do-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(88px, 9vw, 164px);
}

.what-we-do-hero h1 {
  max-width: 1500px;
  margin: 0;
  font-family: var(--display);
  /* font-size: clamp(54px, 6.7vw, 128px); */
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.03em;
}

.what-we-do-hero h1 em {
  font-weight: 300;
}

/* Overview */
.what-we-do-overview {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  padding: clamp(62px, 6vw, 104px) 0 clamp(72px, 7vw, 120px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--cream);
}

.what-we-do-overview__intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 132px);
  align-items: start;
}

.what-we-do-overview__copy h2 {
  max-width: 1300px;
  margin: 0 0 34px;
  font-size: var(--sixty-one);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.what-we-do-overview__copy p {
  max-width: 1280px;
  margin: 0;
  font-size: var(--nineteen);
  font-weight: 400;
  line-height: 1.58;
}

.what-we-do-overview__copy p + p {
  margin-top: 24px;
}

/* Pull quote */
.what-we-do-pullout {
  margin: clamp(56px, 6vw, 96px) 0;
  padding-left: clamp(20px, 2vw, 32px);
  border-left: 2px solid var(--ink);
}

.what-we-do-pullout p {
  max-width: 1100px;
  margin: 0;
  font-family: var(--display);
  font-size: var(--forty-eight);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.what-we-do-showcase {
  margin-top: clamp(58px, 6vw, 106px);
}

.what-we-do-showcase__media {
  margin: 0;
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  border-radius: clamp(16px, 1.5vw, 28px);
  background: #151719;
  transition: transform 0.2s ease;
}


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

/* Why it matters */
.what-we-do-why {
  padding: clamp(76px, 7vw, 124px) 0 clamp(82px, 8vw, 142px);
  background: var(--ink);
  color: var(--white);
}

.what-we-do-why__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: clamp(56px, 9vw, 170px);
  align-items: start;
}

.what-we-do-why__lead h2 {
  margin: 0 0 34px;
  font-family: var(--display);
  font-size: var(--ninety-six);
  font-weight: 300;
  line-height: 0.98;
}

.what-we-do-why__lead h2 em {
  font-weight: 300;
}

.what-we-do-why__lead > p {
  max-width: 970px;
  margin: 0;
  font-size: var(--sixty-four);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.what-we-do-why__aside {
  padding-top: 22px;
}

.what-we-do-why__aside p {
  max-width: 470px;
  margin: 0 0 36px;
  font-size: var(--eighteen);
  font-weight: 400;
  line-height: 1.55;
}

.what-we-do-dark-button {
  min-height: 50px;
  padding: 13px 24px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: var(--thirteen);
}

.what-we-do-why__bottom {
  margin-top: clamp(64px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: stretch;
}

.what-we-do-why__media {
  margin: 0;
  min-height: 460px;
  overflow: hidden;
  border-radius: clamp(16px, 1.4vw, 26px);
  background: #343636;
  transition: transform 0.2s ease;
}

.what-we-do-why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.what-we-do-ideal {
  padding: clamp(34px, 4vw, 58px);
  border-radius: clamp(16px, 1.4vw, 26px);
  background: #050505;
}

.what-we-do-ideal h3 {
  margin: 0 0 30px;
  font-size: var(--forty-eight);
  font-weight: 300;
}

.what-we-do-ideal ul {
  margin: 0;
  padding-left: 20px;
}

.what-we-do-ideal li {
  margin: 0 0 13px;
  font-size: var(--eighteen);
  font-weight: 400;
  line-height: 1.35;
}

/* Outcome */
.what-we-do-outcome {
  padding: clamp(48px, 5vw, 82px) 0 0;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--cream);
}

.what-we-do-outcome__card {
  position: relative;
  min-height: clamp(420px, 40vw, 690px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: clamp(17px, 1.5vw, 28px);
  color: var(--white);
  background: #6f6961;
}

.what-we-do-outcome__media,
.what-we-do-outcome__overlay {
  position: absolute;
  inset: 0;
  margin: 0;
}

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

.what-we-do-outcome__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5) 75%),
    linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4) 52%);
}

.what-we-do-outcome__content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  padding: clamp(38px, 6vw, 96px);
}

.what-we-do-outcome__content h2 {
  margin: 0 0 26px;
  font-family: var(--display);
  font-size: var(--ninety-four);
  font-weight: 300;
  line-height: 1;
}

.what-we-do-outcome__content h2 em {
  font-weight: 300;
}

.what-we-do-outcome__content p {
  max-width: 940px;
  margin: 0 0 30px;
  font-size: var(--fifty-six);
  font-weight: 300;
  line-height: 1.13;
  letter-spacing: -0.015em;
}

.what-we-do-service-strip {
  display: flex;
  width: 100%;
  gap: clamp(44px, 5vw, 88px);
  padding: clamp(54px, 6vw, 90px) var(--page-gutter) clamp(58px, 6vw, 92px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  white-space: nowrap;
  font-family: var(--display);
  font-size: var(--ninety-four);
  font-weight: 300;
  line-height: 1.1;
  color: var(--muted);
}

.what-we-do-service-strip::-webkit-scrollbar {
  display: none;
}

.what-we-do-service-strip span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 18px;
}

.what-we-do-service-strip small {
  padding-top: 13px;
  font-family: var(--sans);
  font-size: var(--fourteen);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.what-we-do-service-strip .is-active {
  color: var(--ink);
}

/* Footer overrides */
.what-we-do-footer {
  min-height: 0;
  padding-top: clamp(84px, 8vw, 140px);
}

.what-we-do-footer__grid {
  align-items: start;
}

.what-we-do-footer__newsletter h2 {
  margin-bottom: 18px;
  font-size: var(--thirty-two);
}

.what-we-do-footer__strapline {
  margin: 0 0 62px !important;
  font-size: var(--sixteen) !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

.what-we-do-footer__newsletter h3 {
  margin: 0 0 12px;
  font-size: var(--sixteen);
  font-weight: 400;
}

.what-we-do-footer__newsletter form {
  margin-bottom: 0;
}

.what-we-do-footer__meta {
  justify-content: flex-end;
  margin-top: 76px;
}

.content-wrap {
  justify-self: center;
}

.what-we-do-footer .footer-wordmark {
  position: static;
  width: min(
    calc(100% - (var(--page-gutter) * 2)),
    var(--content-wide)
  );
  margin: clamp(100px, 10vw, 170px) auto 32px;
  transform: none;
  font-size: var(--three-hundred-sixteen);
}

/* Tablet */
@media (max-width: 1280px) {
  .what-we-do-overview__intro,
  .what-we-do-deliver {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .what-we-do-why__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .what-we-do-why__aside {
    max-width: 720px;
    padding-top: 0;
  }

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

  .what-we-do-why__media {
    min-height: 420px;
  }

  .what-we-do-footer__meta {
    justify-content: flex-start;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .what-we-do-hero {
    min-height: 670px;
  }

  .what-we-do-hero__content {
    padding-bottom: 90px;
  }

  .what-we-do-hero h1 {
    font-size: var(--fifty-two-mobile);
  }

  .what-we-do-overview {
    margin-top: -28px;
    border-radius: 26px 26px 0 0;
  }

  .what-we-do-overview__copy h2 {
    font-size: var(--thirty-three-mobile);
  }

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

  .what-we-do-deliver__list li {
    min-height: 72px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .what-we-do-deliver__list h3 {
    font-size: var(--twenty-four-mobile);
  }

  .what-we-do-deliver__list p {
    font-size: var(--thirteen-mobile);
  }

  .what-we-do-why__lead > p {
    font-size: var(--thirty-one-mobile);
  }

  .what-we-do-why__media {
    min-height: 320px;
  }

  .what-we-do-outcome__card {
    min-height: 540px;
  }

  .what-we-do-outcome__overlay {
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12) 78%);
  }

  .what-we-do-outcome__content p {
    font-size: var(--twenty-eight-mobile);
  }

  .what-we-do-service-strip {
    padding-left: 20px;
    padding-right: 20px;
    font-size: var(--forty-two-mobile);
  }

  .what-we-do-footer__meta {
    margin-top: 52px;
  }
}
