.project-card .case-card-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.case-card-link:focus-visible {
  outline: 2px solid var(--home-orange);
  outline-offset: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .case-card-link:is(:hover, :focus-visible) .project-art { translate: 0 -5px; }
}
.case-page .home-header {
  height: clamp(72px, 6.51vw, 125px);
  padding-inline: 5.2%;
  background: #251047 url('assets/figma-20261102/2630-83-imgBg2.webp') center 40% / cover;
}
.case-page .home-header [aria-current] {
  color: var(--home-orange);
  text-decoration: underline;
  text-underline-offset: .35em;
}
.case-study {
  width: min(89.6%, 1720px);
  margin-inline: auto;
  padding-block: clamp(32px, 3.7vw, 71px) clamp(52px, 7vw, 134px);
}
.case-heading {
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 40fr);
  justify-content: space-between;
  gap: 17%;
  align-items: start;
  margin-bottom: clamp(22px, 1.65vw, 32px);
}
.case-heading h1 {
  margin: 0;
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.18;
}
.case-heading p {
  margin: .6em 0 0;
  color: #685c79;
  font-size: clamp(15px, 1.25vw, 24px);
  line-height: 1.4;
}
.case-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.case-plant-cover {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1720 / 687;
  border-radius: 14px;
  background: #cbe3c3;
}
.case-plant-cover .project-art {
  width: min(100%, 61.2%);
  border-radius: 0;
}
.case-facts, .case-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2.3vw, 44px);
}
.case-facts {
  margin: clamp(24px, 3.85vw, 74px) 0 clamp(36px, 4.58vw, 88px);
  font-size: clamp(14px, 1.1vw, 21px);
}
.case-facts dt { color: #685c79; }
.case-facts dd { margin: .2em 0 0; font-weight: 700; }
.case-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.3vw, 44px); }
.case-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 838 / 709;
  background: #edf2eb;
  border-radius: 14px;
  color: #52604d;
}
.case-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.3vw, 44px);
  margin-block: clamp(36px, 4.95vw, 95px) clamp(36px, 4.2vw, 80px);
}
.case-story nav { display: block; padding-left: 35%; }
.case-story h2 {
  margin: 0 0 .6em;
  font-size: clamp(22px, 2.1vw, 40px);
  font-weight: 500;
  letter-spacing: -.03em;
}
.case-story a { display: block; width: fit-content; margin: 0 0 1em; color: #685c79; }
.case-sections { display: grid; gap: clamp(28px, 4.5vw, 86px); }
.case-sections p { margin: 0; color: #685c79; font-size: clamp(15px, 1.1vw, 21px); }
.case-stats { margin-block: clamp(20px, 2.8vw, 54px) clamp(24px, 3.2vw, 61px); }
.case-stats div { border: 1px solid #e3dfe7; border-radius: 14px; padding: clamp(14px, 2vw, 38px); }
.case-stats strong { display: block; margin-top: .3em; font-size: clamp(30px, 4vw, 76px); line-height: 1; }
.case-stats span { display: block; margin-top: .35em; color: #bb411e; font-size: clamp(13px, 1.1vw, 21px); }
@media (max-width: 700px) {
  .case-heading, .case-story { grid-template-columns: 1fr; gap: 18px; }
  .case-story nav { padding-left: 0; }
  .case-story nav a { display: inline-block; margin-right: 1em; }
  .case-facts, .case-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-plant-cover .project-art { width: 75%; }
}

.case-back {
  display: inline-block;
  color: var(--home-orange);
  text-decoration: none;
  margin-bottom: clamp(18px, 2.2vw, 42px);
}
.case-back:hover { text-decoration: underline; }
.case-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 1720 / 687;
  min-height: 220px;
  overflow: hidden;
  border-radius: 14px;
  background: #f6f3f9;
}
.case-cover > .case-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.case-cover-art > .project-art {
  width: min(100%, calc(var(--cover-ratio, 1.25) * 39vw), 860px);
}
.case-results { margin: clamp(32px, 5vw, 95px) 0 0; }
.case-facts a { text-underline-offset: .2em; }
@media(max-width:650px) {
  .case-cover { aspect-ratio: 4 / 3; }
  .case-cover-art > .project-art { width: min(100%, 280px); }
}
.case-page .home-header {
  margin-bottom: 0;
  color: #fff;
}
.case-page .home-clients { padding-top: clamp(48px, 6vw, 115px); }
.case-page .pd-pager { width: min(89.6%, 1720px); margin: 0 auto; }
