.attic-case .article-hero h1 {
  max-width: 19ch;
  margin: 8px 0 16px;
  font-size: clamp(1.95rem, 3.8vw, 3.65rem);
  line-height: 1.07;
  overflow-wrap: break-word;
}

.attic-case .article-hero p { max-width: 56ch; }
.attic-tones { position: absolute; }
.attic-case .article-hero-image img {
  display: block;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 10;
  object-position: 50% 75%;
}

.attic-case .article-hero .button { margin-top: 20px; }
.attic-case .case-stats-grid dd { line-height: 1.2; }
.attic-case .prose h2:first-child { margin-top: 0; }
.attic-anchor { scroll-margin-top: 112px; }

.attic-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.attic-gallery .reference-photo img { aspect-ratio: 16 / 10; }
.attic-case img[src*="reference-attic-"] { filter: url(#attic-tones-shadow); }
.attic-case img[src*="reference-attic-gable-"],
.attic-case img[src*="reference-attic-interior-"] { filter: url(#attic-tones-daylight); }
.reference-card img[src*="reference-attic-overview-"] { filter: brightness(1.11) saturate(.93); }
.attic-gallery .reference-photo:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.attic-case .case-related { grid-template-columns: minmax(0, 37rem); }

@media (max-width: 620px) {
  .attic-anchor { scroll-margin-top: 88px; }
  .attic-gallery { grid-template-columns: minmax(0, 1fr); }
}
