/* Application pages (paints, plastics, rubber, paper, construction) */
.app-photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }

.card-feature h3 { margin-bottom: .5rem; font-size: 1.125rem; }

/* Photo gallery: one large image with two stacked beside it */
.app-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.app-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.app-gallery img:first-child { grid-column: span 2; }

.grade-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem; background: var(--brand-tint); border-radius: var(--radius); }
.grade-note > div { max-width: 40rem; color: var(--ink); }

.other-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.other-apps .tile { min-height: 13rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 576px) {
  .app-gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.25rem; }
  .app-gallery img { aspect-ratio: auto; }
  .app-gallery img:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: 4 / 3; }
  .grade-note { margin-top: 2.5rem; padding: 1.75rem 2rem; }
}
@media (min-width: 992px) {
  .other-apps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
