.designers-main {
  --ds-paper: #f3efe6;
  --ds-ink: #262b22;
  --ds-muted: #565a50;
  --ds-line: #d7d2c5;
  color: var(--ds-ink);
  background: var(--ds-paper);
}

.designers-main > section {
  padding: clamp(42px, 6vw, 88px) 0;
  scroll-margin-top: 85px;
}

.designers-main .w,
.designers-header .hd__in {
  max-width: 1336px;
}

.ds-hero {
  background: #e9e5d9;
}

.designers-main .ds-hero {
  padding-block: clamp(28px, 4vw, 62px);
}

.ds-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(28px, 5vw, 82px);
}

.ds-kicker {
  display: inline-block;
  margin: 0 0 18px;
  color: #414932;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .045em;
}

.ds-back,
.ds-text-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ds-text-link {
  font-weight: 600;
  color: inherit;
}

.designers-main h1,
.designers-main h2,
.designers-main h3 {
  color: inherit;
}

.designers-main h1 {
  margin: 0;
  font: 600 clamp(3rem, 5.9vw, 6.25rem)/.93 var(--serif);
  letter-spacing: -.042em;
  text-wrap: balance;
}

.ds-hero--detail h1 {
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
}

.ds-lead {
  max-width: 36ch;
  margin: 24px 0 0;
  color: #454940;
  font-size: clamp(1.025rem, 1.55vw, 1.25rem);
  line-height: 1.55;
}

.ds-actions,
.ds-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.ds-actions {
  margin-top: 26px;
}

.designers-main .btn {
  background: #313e2b;
  border-color: #313e2b;
  color: #fff;
  text-align: center;
  white-space: normal;
}

.designers-main .btn:hover {
  background: #465541;
  border-color: #465541;
  color: #fff;
}

.designers-main figure {
  margin: 0;
}

.ds-hero__photo,
.ds-guide figure {
  background: #d2c7b5;
  overflow: hidden;
}

.ds-hero__photo {
  position: relative;
  aspect-ratio: 1.27;
  border-radius: 2px 2px 40px 2px;
}

.ds-hero__photo img,
.ds-case__photo img,
.ds-guide figure img,
.ds-contact__copy figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-hero__photo img {
  object-position: center 54%;
}

.ds-hero__photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  background: #282d24;
  color: #fff;
  font-size: .8125rem;
}

.ds-hero__photo figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-heading {
  margin-bottom: 24px;
  justify-content: space-between;
}

.designers-main h2 {
  margin: 0;
  font: 600 clamp(2.25rem, 4.3vw, 4.6rem)/1 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.ds-works {
  background: #fbf9f4;
}

.ds-cases {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.ds-case {
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.ds-case__photo {
  height: clamp(240px, 30vw, 420px);
  overflow: hidden;
  background: #d2c7b5;
}

.ds-case img {
  transition: transform .3s ease;
}

.ds-case:hover img {
  transform: scale(1.035);
}

.ds-case--display img {
  object-position: center 30%;
}

.ds-case__text {
  padding: 13px 0 0;
}

.ds-case h3,
.ds-detail h3 {
  margin: 0 0 5px;
  font: 600 clamp(1.45rem, 2.25vw, 2.2rem)/1.08 var(--serif);
}

.ds-case:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ds-case p,
.ds-detail p,
.ds-resources p {
  margin: 0;
  color: var(--ds-muted);
  font-size: 1rem;
}

.ds-guide__grid,
.ds-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
}

.ds-guide figure {
  aspect-ratio: 1.12;
  border-radius: 36px 2px 2px;
}

.ds-benefits {
  margin: 21px 0 17px;
}

.ds-benefits > div {
  padding-block: 12px;
  border-bottom: 1px solid var(--ds-line);
}

.ds-benefits dt {
  font-weight: 600;
  font-size: 1.05rem;
}

.ds-benefits dd {
  margin: 3px 0 0;
  color: var(--ds-muted);
}

.ds-resources {
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--ds-line);
}

.ds-resources summary {
  cursor: pointer;
  font-weight: 600;
}

.ds-resources ul,
.ds-resources p {
  margin: 8px 0 0;
}

.ds-resources li {
  margin-bottom: 6px;
}

.ds-contact {
  background: #293229;
  color: #fff;
}

.ds-contact__copy > p {
  max-width: 36ch;
  margin: 15px 0;
  color: #e4e6d9;
}

.ds-contact__links {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.ds-contact a {
  text-underline-offset: 4px;
}

.ds-contact__copy figure {
  aspect-ratio: 1.8;
  margin-top: 20px;
  overflow: hidden;
}

.ds-contact .leadForm {
  background: #fbf9f3;
  color: var(--ds-ink);
}

.ds-detail {
  background: #fbf9f4;
}

.ds-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px 28px;
  margin: 24px 0;
}

.ds-detail__grid > div {
  border-top: 1px solid var(--ds-line);
  padding-top: 14px;
}

.ds-detail__faq {
  max-width: 62ch;
  margin-bottom: 24px;
}

@media (min-width: 1181px) {
  .designers-header .cx-nav-request {
    display: none;
  }
}

@media (max-width: 840px) {
  .ds-hero__grid,
  .ds-guide__grid,
  .ds-contact__grid {
    grid-template-columns: 1fr;
  }

  .ds-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-case:first-child {
    grid-column: 1 / -1;
  }

  .ds-case:first-child .ds-case__photo {
    height: min(57vw, 380px);
  }

  .ds-guide figure {
    aspect-ratio: 1.55;
  }
}

@media (max-width: 480px) {
  .designers-main h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

  .ds-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ds-cases {
    grid-template-columns: 1fr;
  }

  .ds-case__photo,
  .ds-case:first-child .ds-case__photo {
    height: auto;
    aspect-ratio: 1.3;
  }

  .ds-guide figure {
    aspect-ratio: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-case img {
    transition: none;
  }
}
