/* ============================================================
   3. ABOUT SECTION
   ============================================================ */

.about {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1.25rem 6rem;
  background: #0C0C0C;
  overflow: hidden;
}

@media (min-width: 640px) { .about { padding: 6rem 2rem 7rem; } }
@media (min-width: 768px) { .about { padding: 7rem 2.5rem 8rem; } }

/* ----- Decorative corner images ----- */
.about__deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.about__deco--tl {
  top: 4%;
  left: 1%;
  width: 120px;
}
.about__deco--bl {
  bottom: 8%;
  left: 3%;
  width: 100px;
}
.about__deco--tr {
  top: 4%;
  right: 1%;
  width: 120px;
}
.about__deco--br {
  bottom: 8%;
  right: 3%;
  width: 130px;
}

@media (min-width: 640px) {
  .about__deco--tl { left: 2%; width: 160px; }
  .about__deco--bl { left: 6%; width: 140px; }
  .about__deco--tr { right: 2%; width: 160px; }
  .about__deco--br { right: 6%; width: 170px; }
}

@media (min-width: 768px) {
  .about__deco--tl { left: 4%; width: 210px; }
  .about__deco--bl { left: 10%; width: 180px; }
  .about__deco--tr { right: 4%; width: 210px; }
  .about__deco--br { right: 10%; width: 220px; }
}

/* ----- Inner content ----- */
.about__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  width: min(100%, 1180px);
}

@media (min-width: 640px) { .about__inner { gap: 3.25rem; } }
@media (min-width: 768px) { .about__inner { gap: 4rem; } }

.about__heading {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0;
  font-size: clamp(3rem, 12vw, 150px);
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  text-align: left;
}

.about__intro,
.about__block,
.about__cta,
.about__highlight {
  border: 1px solid rgba(215, 226, 234, 0.12);
  background:
    linear-gradient(145deg, rgba(215, 226, 234, 0.08), rgba(215, 226, 234, 0.025)),
    #111111;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.about__intro {
  display: grid;
  gap: 1rem;
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.about__intro p,
.about__impact-body p,
.about__cta p {
  color: rgba(215, 226, 234, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
}

.about__intro .about__lead {
  color: #F7FAFC;
  font-size: clamp(1.18rem, 2.1vw, 1.65rem);
  font-weight: 600;
  line-height: 1.45;
}

.about__highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.about__highlight-label {
  color: rgba(215, 226, 234, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about__highlight-link {
  color: #77E4D7;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 700;
}

.about__block {
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.about__block-header {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.about__eyebrow {
  color: #77E4D7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about__block h3 {
  color: #F7FAFC;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
}

.about__expertise-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.about__expertise {
  min-width: 0;
  border: 1px solid rgba(215, 226, 234, 0.1);
  border-radius: 8px;
  padding: 1.05rem;
  background: rgba(12, 12, 12, 0.58);
}

.about__expertise h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.about__expertise ul {
  display: grid;
  gap: 0.5rem;
  list-style: none;
}

.about__expertise li {
  position: relative;
  color: rgba(215, 226, 234, 0.78);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  padding-left: 1rem;
}

.about__expertise li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #77E4D7, #BE4C00);
}

.about__impact {
  background:
    linear-gradient(135deg, rgba(119, 228, 215, 0.1), rgba(190, 76, 0, 0.08)),
    #111111;
}

.about__impact-body {
  display: grid;
  gap: 1rem;
  max-width: 900px;
}

.about__impact-body p:first-child {
  color: #F7FAFC;
  font-weight: 500;
}

.about__cta {
  display: grid;
  gap: 1.1rem;
  align-items: center;
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.about__cta p {
  max-width: 760px;
}

.about__cta-copy {
  display: grid;
  gap: 0.75rem;
}

.about__cta .contact-btn {
  justify-self: start;
}

@media (min-width: 720px) {
  .about__expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .about__content {
    gap: 1.5rem;
  }

  .about__expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about__expertise:nth-child(5) {
    grid-column: span 2;
  }

  .about__cta {
    grid-template-columns: 1fr auto;
  }

  .about__cta .contact-btn {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .about__deco {
    opacity: 0.32;
  }

  .about__intro,
  .about__block,
  .about__cta {
    padding: 1rem;
  }

  .about__cta .contact-btn {
    width: 100%;
    text-align: center;
  }
}

/* AnimatedText character spans (built by js/animatedText.js) */
.atext-char {
  position: relative;
  display: inline-block;
  white-space: pre;
}
.atext-char__placeholder {
  opacity: 0;
}
.atext-char__fill {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.2;
  will-change: opacity;
}
