/* =========================
   GIGAWATT ABOUT
========================= */

.gigawatt-about {
  position: relative;
  margin-top:-50px;
  width: 100%;
  
  padding:
    clamp(90px, 7vw, 120px)
    clamp(28px, 7vw, 120px);

  color: #ffffff;

  overflow: hidden;
}


/* =========================
   INNER
========================= */

.gigawatt-about__inner {
  display: grid;

  grid-template-columns:
    minmax(360px, 470px)
    minmax(460px, 650px);

  align-items: center;

  justify-content: center;

  gap: clamp(70px, 8vw, 135px);

  width: 100%;
  max-width: 1320px;

  margin-inline: auto;
}


/* =========================
   IMAGE
========================= */

.gigawatt-about__visual {
  position: relative;

  width: 100%;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  background: #16062d;
}


.gigawatt-about__visual img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* subtle purple glow */

.gigawatt-about__visual::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  box-shadow:
    inset 0 0 55px rgba(118, 81, 247, 0.08);
}


/* =========================
   CONTENT
========================= */

.gigawatt-about__content {
  width: 100%;
  max-width: 650px;
}


.gigawatt-about__eyebrow {
  margin: 0 0 22px;

  color: #8d5cff;

  font-size: 15px;
  font-weight: 650;

  letter-spacing: 0.035em;

  text-transform: uppercase;
}


.gigawatt-about__content h2 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(34px, 2.7vw, 48px);
  font-weight: 700;

  letter-spacing: -0.045em;

  line-height: 1.1;
}


/* =========================
   TEXT
========================= */

.gigawatt-about__text {
  display: flex;

  flex-direction: column;

  gap: 24px;

  margin-top: 48px;
}


.gigawatt-about__text p {
  margin: 0;

  max-width: 640px;

  color: rgba(255, 255, 255, 0.82);

  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 450;

  line-height: 1.7;
}


.gigawatt-about__text strong {
  color: #ffffff;

  font-weight: 700;
}


/* =========================
   BUTTON
========================= */

.gigawatt-about__button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 245px;
  min-height: 49px;

  margin-top: 46px;

  padding-inline: 30px;

  border: 1px solid rgba(202, 127, 255, 0.85);
  border-radius: 999px;

  color: #ffffff;

  background: rgba(67, 15, 165, 0.22);

  font-size: 14px;
  font-weight: 500;

  text-decoration: none;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}


.gigawatt-about__button:hover {
  border-color: rgba(216, 126, 255, 1);

  background: rgba(118, 81, 247, 0.32);

  transform: translateY(-2px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {

  .gigawatt-about {
    padding:
      90px
      clamp(28px, 5vw, 60px);
  }


  .gigawatt-about__inner {
    grid-template-columns:
      minmax(300px, 0.9fr)
      minmax(380px, 1.1fr);

    gap: clamp(45px, 6vw, 70px);
  }


  .gigawatt-about__content h2 {
    font-size: clamp(34px, 4vw, 44px);
  }


  .gigawatt-about__text {
    gap: 19px;

    margin-top: 34px;
  }


  .gigawatt-about__text p {
    font-size: 14px;

    line-height: 1.65;
  }


  .gigawatt-about__button {
    margin-top: 34px;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .gigawatt-about {
    padding:
      72px
      20px
      76px;
  }


  .gigawatt-about__inner {
    display: flex;

    flex-direction: column;

    gap: 48px;

    max-width: 500px;
  }


  /* image first */

  .gigawatt-about__visual {
    width: 100%;

    aspect-ratio: 1 / 1;

    order: 1;
  }


  .gigawatt-about__content {
    order: 2;

    max-width: none;
  }


  .gigawatt-about__eyebrow {
    margin-bottom: 15px;

    font-size: 13px;
  }


  .gigawatt-about__content h2 {
    font-size: clamp(32px, 9.5vw, 42px);

    line-height: 1.08;
  }


  .gigawatt-about__text {
    gap: 19px;

    margin-top: 30px;
  }


  .gigawatt-about__text p {
    max-width: none;

    font-size: 14px;

    line-height: 1.65;
  }


  .gigawatt-about__button {
    width: 100%;

    min-width: 0;
    min-height: 50px;

    margin-top: 32px;
  }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 420px) {

  .gigawatt-about {
    padding-inline: 17px;
  }


  .gigawatt-about__inner {
    gap: 38px;
  }


  .gigawatt-about__content h2 {
    font-size: 32px;
  }


  .gigawatt-about__text {
    margin-top: 26px;
  }

}