/* Campaign pages share one editorial grid from the overview through related work. */
main:has(.case-info) {
  --case-width: 1740px;
  --case-gap: clamp(40px, 6vw, 104px);
  --case-columns: minmax(0, .77fr) minmax(0, 1.23fr);
  --case-section: clamp(64px, 8vw, 138px);
  --case-detail: clamp(22px, 3vw, 42px);
}

:where(body:not(.field-notes)) .scene-hero--project {
  height: clamp(520px, 92svh, 1070px);
  min-height: 0;
}

:where(body:not(.field-notes)) .scene-hero--project .scene-stage .wrap {
  max-width: var(--case-width);
  padding-inline: max(var(--pad), 18px);
  margin-block-start: 38px;
}

:where(body:not(.field-notes)) .scene-hero--project .scene-veil {
  background: linear-gradient(180deg, #0006, #0009 26% 74%, #0005);
}

:where(body:not(.field-notes)) .scene-hero--project h1 {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(46px, 9.1vw, 160px);
  line-height: .94;
  overflow-wrap: break-word;
}

:where(body:not(.field-notes)) .scene-hero--project .hero-subtitle {
  max-width: 36ch;
  margin: clamp(16px, 2.3vw, 32px) auto 0;
  line-height: 1.35;
  text-wrap: balance;
}

.case-info,
.case-info ~ :is(.paper-band,.related) > .wrap {
  max-width: var(--case-width);
}

.case-info {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(38px, 5vw, 78px);
  padding-block: var(--case-section);
}

.case-info :is(aside,.story) {
  min-width: 0;
}

.case-info :is(.gallery-photo,.disciplines a,.crumb a) {
  scroll-margin-block-start: 84px;
}

.case-info aside {
  position: static;
  padding-bottom: 0;
}

.case-info .crumb {
  margin-block: -8px 10px;
}

.case-info .case-summary {
  max-width: 32rem;
  margin: 0 0 var(--case-detail);
}

.case-info .case-summary h2 {
  max-width: 17ch;
  font-size: clamp(33px, 4.05vw, 64px);
  line-height: 1.02;
  text-wrap: balance;
}

.case-info .case-summary .lead {
  max-width: 36ch;
  margin-top: clamp(13px, 1.6vw, 23px);
}

.case-info .facts {
  gap: 0 clamp(13px, 2vw, 30px);
  border-top: 1px solid var(--line);
}

.case-info .facts > div {
  min-width: 0;
  padding-block: clamp(10px, 1.2vw, 17px);
}

.case-info .facts dd {
  margin-top: 4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.case-info .disciplines {
  gap: 7px;
  margin-top: clamp(16px, 2vw, 27px);
}

.case-info .story section {
  padding-block: var(--case-detail);
}

.case-info .story section:first-of-type {
  margin-top: clamp(32px, 4.3vw, 66px);
}

.case-info .story section h3 {
  margin-bottom: clamp(10px, 1.3vw, 18px);
  font-size: clamp(27px, 3.3vw, 52px);
  line-height: 1.04;
}

.case-info .story section p {
  max-width: 60ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.case-info .story > :last-child {
  padding-bottom: 0;
}

.case-info .case-gallery {
  gap: clamp(23px, 3.4vw, 54px);
}

:where(body:not(.field-notes)) .case-gallery .media-frame {
  aspect-ratio: auto;
  background: #111;
}

:where(body:not(.field-notes)) .case-gallery .media-frame img {
  height: auto;
  max-height: clamp(460px, 68svh, 800px);
  object-fit: contain;
  object-position: center calc(50% + var(--image-shift, 0%));
  scale: 1;
  translate: none;
}

.case-gallery figcaption {
  margin-top: clamp(8px, 1.1vw, 14px);
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--line);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.45;
}

.case-info ~ .paper-band[aria-labelledby="results-title"] {
  padding-block: var(--case-section);
}

.case-info ~ .paper-band .case-stats {
  gap: clamp(14px, 3vw, 42px);
  margin-top: clamp(20px, 3vw, 44px);
}

.case-info ~ .paper-band .case-stats > div {
  min-width: 0;
  padding-top: clamp(13px, 2vw, 25px);
}

.case-info ~ .paper-band .case-stats strong {
  font-size: clamp(34px, 6.4vw, 106px);
  line-height: .98;
  white-space: nowrap;
}

.case-info ~ .paper-band .case-stats span {
  max-width: 24ch;
  margin-top: clamp(6px, 1vw, 12px);
  line-height: 1.33;
}

.case-info ~ .paper-band .stats-source {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 9px;
  margin-top: clamp(19px, 3vw, 35px);
}

.case-info ~ .related {
  padding-block: var(--case-section);
}

.case-info ~ .related .headline-row {
  gap: 7px 24px;
  margin-bottom: clamp(18px, 3vw, 42px);
}

.case-info ~ .related .related-grid {
  gap: clamp(12px, 2vw, 27px);
}

.case-info ~ .related .case-card .media-frame {
  aspect-ratio: 1.57;
}

@media (min-width: 900px) {
  .case-info {
    grid-template-columns: var(--case-columns);
    gap: var(--case-gap);
  }

  .case-info ~ .paper-band[aria-labelledby="results-title"] > .wrap {
    display: grid;
    grid-template-columns: var(--case-columns);
    gap: 0 var(--case-gap);
    align-items: start;
  }

  .case-info ~ .paper-band .case-stats {
    margin-top: 0;
  }

  .case-info ~ .paper-band .stats-source {
    grid-column: 2;
  }
}

@media (min-width: 1080px) and (min-height: 760px) {
  .case-info aside {
    position: sticky;
    top: clamp(88px, 10svh, 112px);
  }
}

@media (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  :where(body:not(.field-notes)) .case-gallery .media-frame img {
    scale: 1.035;
    translate: 0 calc(var(--image-shift, 0%) * .25);
  }
}

@media (max-width: 899px) {
  :where(body:not(.field-notes)) .scene-hero--project {
    height: clamp(420px, 77svh, 720px);
  }
}

@media (max-width: 580px) {
  .case-info ~ .related .related-grid { grid-template-columns: 1fr; }
  .case-info ~ .paper-band .case-stats strong { font-size: clamp(33px, 9vw, 51px); }
  .case-info ~ .paper-band .case-stats span { font-size: 14px; }
}

.case-recognition {
  max-width: 48ch;
  margin-block: clamp(16px, 2.4vw, 32px) 8px;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.42;
}
