/* Section heads: content-first; cubes are secondary accent */

.section-head--with-deco {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

@media (max-width: 767px) {
  .section-head--with-deco {
    grid-template-columns: 1fr;
  }

  /* Title + copy first; decor below — reads as content-led */
  .section-deco {
    justify-self: start;
    margin-top: 0.75rem;
  }
}

@media (min-width: 768px) {
  .section-head--with-deco {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    gap: 1.75rem 2.5rem;
  }

  .section-deco {
    margin-top: 0;
    opacity: 0.95;
    padding-left: 2rem;
    border-left: 1px solid var(--border);
  }
}

.section-head__text {
  min-width: 0;
}

.section-head__text h2 {
  margin-top: 0;
}

.section-deco {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 220px;
  min-height: 128px;
  pointer-events: none;
  opacity: 0.92;
}

.section-deco__numeral {
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #9ca3af;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: right;
}

@media (max-width: 767px) {
  .section-deco {
    max-width: 200px;
    min-height: 88px;
    opacity: 0.85;
  }

  .section-deco__numeral {
    font-size: 1.85rem;
  }
}

.section-band .section-deco {
  opacity: 0.85;
}

@media (max-width: 767px) {
  .section-band .section-deco {
    opacity: 0.75;
  }
}
