.cases-page {
  --max: 1180px;
  background: #0c0c0d;
}

.cases-hero {
  padding: 68px 0 56px;
  color: #fff;
  background: #101010;
}

.cases-eyebrow {
  margin-bottom: 14px;
  color: #efcb8e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.cases-hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.cases-hero p {
  max-width: 800px;
  margin: 0;
  color: #bbb;
  font-size: 20px;
  line-height: 1.8;
}

.cases-gallery { padding: 90px 0 72px; }
.case-masonry { columns: 3; column-gap: 18px; }
.case-masonry figure {
  overflow: hidden;
  break-inside: avoid;
  margin: 0 0 18px;
  border: 1px solid #292929;
  border-radius: 20px;
  background: #171717;
}
.case-masonry figure > a { display: block; }
.case-masonry figure > a:focus-visible { outline: 3px solid #efcb8e; outline-offset: -3px; }
.case-masonry img { width: 100%; height: auto; }
.case-masonry figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  color: #aaa;
  font-size: 12px;
}
.case-masonry figcaption span { color: #777; font-size: 11px; }

.cases-page .home-footer { border-top-color: #292929; color: #f7f3ec; background: #111; }
.cases-page .footer-top .footer-logo { color: #fff; }
.cases-page .footer-top a:hover { color: #efcb8e; }
.case-footer-entry { align-self: flex-start; padding: 0; border: 0; color: #818494; background: transparent; font-size: 12px; text-align: left; cursor: pointer; }
.case-footer-entry:hover { color: #efcb8e; }

@media (max-width: 1000px) {
  .case-masonry { columns: 2; }
  .cases-hero p { font-size: 18px; }
}

@media (max-width: 560px) {
  .cases-hero { padding: 46px 0 40px; }
  .cases-hero h1 { font-size: 38px; line-height: 1.16; }
  .cases-hero p { font-size: 16px; }
  .cases-gallery { padding: 36px 0; }
  .case-masonry { columns: 1; }
}
