/* styles/about-us.css */

/* ===============================
   HOMEPAGE ABOUT PREVIEW
================================= */

.about-us {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(420px, 1.08fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  min-height: 560px;
  padding-block: var(--section-spacing-desktop);
  padding-inline: var(--page-gutter);
  overflow: hidden;
  color: #f8f2e6;
  background:
    linear-gradient(
      180deg,
      rgba(16, 16, 18, 0.2),
      rgba(16, 16, 18, 0.46)
    ),
    url("https://affluentfit.com/golden%20wave%20particle.png")
      center / cover no-repeat;
}

.about-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top left,
      rgba(212, 175, 55, 0.08),
      transparent 34%
    ),
    rgba(0, 0, 0, 0.28);
}

.about-content,
.about-image {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.about-content {
  width: 100%;
  max-width: 650px;
}

.about-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-gold-light, #f2d675);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-content h2 {
  margin: 0 0 0.7rem;
  color: #f8f2e6;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.about-content h3 {
  margin: 0 0 1.25rem;
  color: rgba(248, 242, 230, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.about-content p,
.about-content li {
  color: rgba(246, 241, 232, 0.76);
  line-height: 1.72;
}

.about-content p {
  margin: 0 0 1rem;
}

.about-content p:last-of-type {
  margin-bottom: 0;
}

.about-content p a {
  color: var(--color-gold-light, #f2d675);
  font-weight: 700;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.about-actions .primary-cta,
.about-actions .secondary-cta {
  min-height: 52px;
  padding: 14px 22px;
}

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

.about-image {
  width: 100%;
  max-width: 760px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  background: #0b0b0c;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-top: 2px solid var(--color-gold, #d4af37);
  border-left: 2px solid var(--color-gold, #d4af37);
  pointer-events: none;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 1100px) {
  .about-us {
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(400px, 1.1fr);
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  .about-us {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: auto;
    padding-block: var(--section-spacing-tablet);
    text-align: center;
  }

  .about-content,
  .about-image {
    width: 100%;
    max-width: min(820px, 100%);
    margin-inline: auto;
  }

  .about-actions {
    justify-content: center;
  }

  .about-image {
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .about-us {
    gap: 28px;
    padding-block: var(--mobile-section-spacing);
  }

  .about-content h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-actions .primary-cta,
  .about-actions .secondary-cta {
    width: 100%;
  }

  .about-image {
    border-radius: 8px;
  }

  .about-image::before {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-actions .primary-cta,
  .about-actions .secondary-cta {
    transition: none;
  }
}
