.reference-thumbnail-grid, .project-catalog-grid, .product-grid {
  display: grid;
  gap: clamp(12px, 2vw, 24px);
}
.reference-thumbnail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reference-thumbnail-grid a, .project-tile { display: block; overflow: hidden; border-radius: 12px; }
.reference-thumbnail-grid img, .project-tile img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.project-tile { text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--surface); }
.project-tile-copy { padding: 16px; }
.project-tile-copy h2 { font-size: 1.35rem; }
.project-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reference-section .reference-card[hidden], .reference-section .reference-extra[hidden] { display: none; }
.gallery-project-description { margin: 6px 0 12px; }
.project-full-description { white-space: pre-line; }
.project-navigation { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.product-visual { width: min(100%, 640px); height: auto; border-radius: 12px; }
.product-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
@media (min-width: 600px) {
  .project-catalog-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) { .reference-thumbnail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .project-catalog-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.offer-grid .offer-card { padding: 0; overflow: hidden; }
.offer-grid .project-tile { width: 100%; height: 100%; border: 0; border-radius: 0; }
.offer-grid .project-tile img { aspect-ratio: 32 / 21; }

.offer-diagram { margin: 1rem 0; }
.offer-diagram svg { display: block; width: 100%; max-width: 22rem; height: auto; border-radius: .75rem; background: #edf3ef; fill: none; stroke: #25483c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.offer-diagram .glass { stroke: #28776d; }
.offer-diagram figcaption { margin-top: .5rem; font-size: .9rem; }
.offer-section-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.product-grid article[id] { scroll-margin-top: 7rem; }

