/* ==============================================
   Promo Grid — feature tile + 2x2 thumbnails
   ============================================== */
.ch-promo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: 232px;          /* predictable, even rows */
  gap: 14px;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0;
}

.ch-promo-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  isolation: isolate;
  /* Branded fallback so tiles without a photo never read as blank */
  background:
    repeating-linear-gradient(122deg, rgba(196, 126, 60, 0.10) 0 1px, transparent 1px 12px),
    linear-gradient(150deg, var(--primary-soft) 0%, var(--bg-drop) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ch-promo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -26px rgba(8, 26, 15, 0.7);
}

/* Ghost "M" crest watermark for tiles with no photo (sits at z-index 0, below
   the image layer, so a photo always covers it). */
.ch-promo-tile::before {
  content: "M";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  font-family: var(--font-display);
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  z-index: 0;
  pointer-events: none;
}

/* Feature tile spans both rows on the left */
.ch-promo-tile--feature {
  grid-row: span 2;
}

.ch-promo-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;   /* resolves against the fixed grid-auto-rows track height */
  object-fit: cover;
  z-index: 1; /* above the ghost-M watermark (z-index 0) */
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.92) saturate(1.05);
}

.ch-promo-tile:hover .ch-promo-tile__img {
  transform: scale(1.06);
  filter: brightness(0.78) saturate(1.1);
}

/* Bottom-up gradient so labels stay legible */
.ch-promo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 26, 15, 0.88) 0%,
    rgba(8, 26, 15, 0.34) 45%,
    rgba(8, 26, 15, 0.04) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.ch-promo-tile__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  padding: 20px;
  gap: 12px;
}

/* Feature tile — big display title anchored at the bottom-left */
.ch-promo-tile--feature .ch-promo-tile__body {
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 28px;
  gap: 8px;
}

.ch-promo-tile__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.ch-promo-tile__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary-light);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* Maroon-style badge — uses team primary color */
.ch-promo-tile__badge {
  display: inline-block;
  padding: 8px 14px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ch-promo-tile:hover .ch-promo-tile__badge {
  background: var(--secondary);
  color: var(--on-secondary);
  transform: translateY(-2px);
}

.ch-promo-tile__caption {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  max-width: 90%;
}

/* ============== Tablet ============== */
@media (max-width: 980px) {
  .ch-promo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .ch-promo-tile--feature {
    grid-column: span 2;
    grid-row: auto;
  }

  .ch-promo-tile::before { font-size: 110px; }
}

/* ============== Phone ============== */
@media (max-width: 480px) {
  .ch-promo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
    gap: 10px;
    padding: 0 16px;
  }

  .ch-promo-tile--feature {
    grid-column: auto;
  }

  .ch-promo-tile {
    min-height: 180px;
  }

  .ch-promo-tile__caption {
    font-size: 15px;
  }
}
