
/* ========================================
   MATRIXWORX — HERO SECTIONS
   ======================================== */

/* Main hero container */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

/* Vertically stacked hero layout */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Wide hero artwork */
.hero__artwork {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.hero__artwork img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Hero eyebrow */
.hero__eyebrow {
  margin: 0;
  color: var(--color-dark-gray);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero headline */
.hero__title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.12;
  color: var(--color-charcoal);
}

/* Supporting paragraph */
.hero__text {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--color-dark-gray);
}

/* Hero buttons */
.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Alternate layout:
   Eyebrow above artwork */
.hero--eyebrow-first .hero__eyebrow {
  order: 1;
}

.hero--eyebrow-first .hero__artwork {
  order: 2;
}

.hero--eyebrow-first .hero__title {
  order: 3;
}

.hero--eyebrow-first .hero__text {
  order: 4;
}

.hero--eyebrow-first .hero__actions {
  order: 5;
}

/* Default layout:
   Artwork above eyebrow */
.hero__artwork {
  order: 1;
}

.hero__eyebrow {
  order: 2;
}

.hero__title {
  order: 3;
}

.hero__text {
  order: 4;
}

.hero__actions {
  order: 5;
}

/* Tablet */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 4rem;
  }

  .hero__inner {
    gap: 1.25rem;
  }

  .hero__artwork {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 2rem 0 3rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  
.hero__actions {
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}


  .hero__actions .btn {
    width: 100%;
  }
}
