/**
 * About page styles , Bourne Builders
 */

/* ── Page hero ───────────────────────────────────────────────────────────── */

.page-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__image-zone {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__image-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.85) 0%,
    rgba(13, 27, 42, 0.40) 60%,
    rgba(13, 27, 42, 0.25) 100%
  );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--header-height) + var(--space-10)) var(--space-12);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 300;
  color: var(--color-ivory);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-3);
}

.page-hero__subtitle {
  font-size: var(--text-xl);
  font-weight: 300;
  color: rgba(247, 244, 239, 0.72);
  max-width: 50ch;
}

/* ── About feature split ─────────────────────────────────────────────────── */

.about-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-feature__image-zone {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-feature__image-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.about-feature__image-zone:hover img {
  transform: scale(1.03);
}

.about-feature__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* ── Team grid ───────────────────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.team-card {
  text-align: center;
}

.team-photo-zone {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

.team-photo-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .about-feature {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
