/* SURGE — category-mosaic
   3-col grid of dark 16:10 tiles with bg image, gradient, label, count, top-right icon. */

.sg-cat-mosaic { padding-block: var(--space-8); }

.sg-cat-mosaic__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 32px;
}
.sg-cat-mosaic__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.sg-cat-mosaic__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--color-text);
}
.sg-cat-mosaic__view-all {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.sg-cat-mosaic__view-all:hover { color: var(--color-accent); }

.sg-cat-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sg-cat-mosaic__tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #0A0A0A;
  color: #FFFFFF;
  text-decoration: none;
  isolation: isolate;
}
.sg-cat-mosaic__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.70;
  transition: transform 320ms ease;
}
.sg-cat-mosaic__tile:hover .sg-cat-mosaic__img { transform: scale(1.05); }
.sg-cat-mosaic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.70), rgba(0,0,0,0.30) 50%, transparent);
}
.sg-cat-mosaic__caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
}
.sg-cat-mosaic__count {
  font-family: var(--font-body);
  font-size: 11px;
  color: #A1A1AA;
  margin-bottom: 4px;
}
.sg-cat-mosaic__label {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  line-height: 1.1;
}
.sg-cat-mosaic__icon {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  color: #FFFFFF;
  opacity: 0.95;
}

@media (max-width: 960px) {
  .sg-cat-mosaic__grid { grid-template-columns: repeat(2, 1fr); }
  .sg-cat-mosaic__title { font-size: var(--text-2xl); }
  .sg-cat-mosaic__label { font-size: 22px; }
}
@media (max-width: 480px) {
  .sg-cat-mosaic__grid { grid-template-columns: 1fr; gap: 12px; }
}
