/* =========================
   SHARED BACKGROUND
========================= */

.about-shared-bg{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1px 0; /* prevents margin collapse */
}

/* TOP FADE — must match hero bottom fade */
.about-shared-bg::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px; /* SAME as hero fade */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1),
    rgba(255,255,255,0.6),
    rgba(255,255,255,0)
  );
  pointer-events: none;
  z-index: 1;
}

/* Keep content above fade */
.about-shared-bg > *{
  position: relative;
  z-index: 2;
}

/* =========================
   HERO
========================= */

.hero.hero-about{
  position: relative;
  min-height: 520px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* BOTTOM FADE — reference */
.hero.hero-about::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,0.6),
    rgba(255,255,255,1)
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner{
  position: relative;
  z-index: 2;
  padding: 120px 0 140px;
}

/* =========================
   DESKTOP BASE
========================= */

.band{
  padding: 140px 0;
}

/* =========================
   MOBILE FIXES
========================= */

@media (max-width: 768px){

  .band{
    padding: 72px 0;
  }

  .about-shared-bg{
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner{
    padding: 96px 0 96px;
  }

  /* Keep symmetry on mobile */
  .hero.hero-about::after{
    height: 140px;
  }

  .about-shared-bg::before{
    height: 140px;
  }
}
