/* ==========================================================================
   ABOUT — FULL-BLEED CAPROCK HERO
   Keeps the established enterprise hero type and vertical rhythm while
   replacing the split figure layout with one edge-to-edge photographic field.
   ========================================================================== */

.about-page .enthero--about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: url('../img/about-caprock-hero.webp');
  background-position: 50% 52%;
  color-scheme: only dark;
}

.about-page .enthero--about::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(0 0 0 / 0.3);
  pointer-events: none;
}

.about-page .enthero--about .enthero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.about-page .enthero--about .enthero__copy {
  max-width: 58rem;
}

.about-page .enthero--about .enthero__eyebrow,
.about-page .enthero--about .enthero__copy h1,
.about-page .enthero--about .enthero__lede {
  color: #ffffff;
}

.about-page .enthero--about .enthero__lede {
  max-width: none;
}

/* Keep the About photography square-edged and identify the founder-family
   image without obscuring the subjects. */
.about-page .story__fig {
  position: relative;
  overflow: hidden;
}

.about-page .story__img,
.about-page .tcard {
  border-radius: 0;
}

.about-page .story__caption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(0 0 0 / 0.78);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: var(--lh-snug);
  letter-spacing: 0.01em;
}

/* Carry the CBC News image zoom into real employee headshots while leaving
   the intentionally static placeholder cards untouched. */
.about-page .tcard:not(.tcard--empty) .tcard__ph img {
  transform: scale(1.01);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page .tcard:not(.tcard--empty):hover .tcard__ph img {
  transform: scale(1.045);
}

/* Match the Strategy page capsule geometry for outbound controls while
   preserving the About page's established colors, type, and button sizing. */
/* The header bar CTA and the mobile panel CTA now take the shared pill token
   from site.css (`.header__actions > .btn`, `.mobilenav__cta > .btn`), so they
   are no longer restated here. Only the in-page controls stay page-scoped. */
.about-page .sectionfoot .btn,
.about-page .cta__actions .btn {
  border-radius: 100px;
}

/* ==========================================================================
   ABOUT — CBC NEWS EDITORIAL CARDS
   Exact card format used by the Strategy page Perspectives section, scoped to
   About so the shared site and enterprise page styles remain independent.
   ========================================================================== */

.about-page .perspective-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

.about-page .perspective-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 8 / 7;
  min-height: 384px;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  isolation: isolate;
}

.about-page .perspective-card__field,
.about-page .perspective-card__field img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.about-page .perspective-card__field img {
  object-fit: cover;
  filter: brightness(1);
  transform: scale(1.01);
  transition:
    filter 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page .perspective-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.about-page .perspective-card::before {
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0.05) 8%,
    rgb(0 0 0 / 0.18) 38%,
    rgb(0 0 0 / 0.9) 100%
  );
}

.about-page .perspective-card__panel {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.1vw, 34px);
  padding-bottom: clamp(18px, 1.65vw, 26px);
}

.about-page .perspective-card__panel::before,
.about-page .perspective-card__panel::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition:
    background-color var(--transition-interactive),
    border-color var(--transition-interactive),
    color var(--transition-interactive);
}

.about-page .perspective-card__panel::before {
  content: "";
  top: clamp(18px, 1.65vw, 26px);
  right: clamp(18px, 1.65vw, 26px);
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: transparent;
}

.about-page .perspective-card__panel::after {
  content: "\2192";
  top: clamp(18px, 1.65vw, 26px);
  right: clamp(18px, 1.65vw, 26px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.about-page .perspective-card__kicker {
  margin-bottom: var(--space-3);
  color: rgb(255 255 255 / 0.86);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.67rem + 0.12vw, 0.82rem);
  font-weight: var(--weight-medium);
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-page .perspective-card__title {
  display: -webkit-box;
  overflow: hidden;
  max-width: 30ch;
  margin-bottom: 0;
  color: #ffffff;
  font-family: 'Switzer', sans-serif;
  font-size: clamp(1.15rem, 1.08rem + 0.25vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  transition: color var(--transition-interactive);
}

.about-page .perspective-card__arrow {
  display: none;
}

.about-page .perspective-card:hover .perspective-card__field img,
.about-page .perspective-card:focus-visible .perspective-card__field img {
  filter: brightness(0.86);
  transform: scale(1.045);
}

.about-page .perspective-card:hover .perspective-card__panel::before,
.about-page .perspective-card:focus-visible .perspective-card__panel::before {
  border-color: #ffffff;
  background: #ffffff;
}

.about-page .perspective-card:hover .perspective-card__panel::after,
.about-page .perspective-card:focus-visible .perspective-card__panel::after {
  color: #000000;
}

@media (max-width: 1024px) {
  .about-page .perspective-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-page .perspective-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page .perspective-card {
    aspect-ratio: 16 / 13;
    min-height: 340px;
  }

  .about-page .perspective-card__title {
    max-width: none;
  }

  .about-page .perspective-card__panel {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .about-page .perspective-card__title {
    font-size: 0.95rem;
    letter-spacing: -0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .perspective-card__field img,
  .about-page .tcard:not(.tcard--empty) .tcard__ph img {
    transition: none;
  }
}
