/* ==========================================================================
   about.css — About page-specific styles
   Depends on: tokens.css, global.css, components.css
   ========================================================================== */


/* ==========================================================================
   SUBPAGE HERO (.hero--subpage)
   Shorter hero for interior pages — overrides .hero defaults
   ========================================================================== */

.hero--subpage {
  min-height: 60vh;
  min-height: 60svh;
}

.hero--subpage .hero__content h1 {
  max-width: 20ch;
}

.hero--subpage .hero__scroll {
  display: none;
}


/* ==========================================================================
   LEADERSHIP GRID (.abt-leadership)
   ========================================================================== */

.abt-leadership__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .abt-leadership__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .abt-leadership__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Centre a single orphan card in the last row under the middle column */
  .abt-leadership__grid .abt-leader:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.abt-leader {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.abt-leader:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.abt-leader__photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  background-color: var(--color-surface-light);
}

.abt-leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abt-leader__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  margin-bottom: var(--sp-1);
}

.abt-leader__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
}

.abt-leader__bio {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
  text-align: left;
}

/* Read-more link: appears below the tile bio, takes the user to the
   full bio detail page. Pinned visually to the bottom of the card so
   variable-length bios above don't push it around relative to the
   neighbouring cards. */
.abt-leader {
  display: flex;
  flex-direction: column;
}

.abt-leader__bio {
  flex: 1 0 auto;
}

.abt-leader__readmore {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: var(--sp-1);
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}

.abt-leader__readmore:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.abt-leader__readmore svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--duration-base) var(--ease-out);
}

.abt-leader__readmore:hover svg {
  transform: translateX(3px);
}

.abt-leader__linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out);
}

.abt-leader__linkedin:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.abt-leader__linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* ==========================================================================
   OUR STORY (.abt-story)
   Rich text / feature-block section
   ========================================================================== */

.abt-story__content h3 {
  margin-bottom: var(--sp-4);
}

.abt-story__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
}

.abt-story__content p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   OUR TEAM / PEOPLE (.abt-team)
   Culture hero with stat overlay
   ========================================================================== */

.abt-team__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: var(--sp-10);
}

.abt-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abt-team__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .abt-team__highlights {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.abt-team__highlight {
  text-align: center;
  padding: var(--sp-6);
}

.abt-team__highlight-number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-2);
}

@media (min-width: 1280px) {
  .abt-team__highlight-number {
    font-size: var(--fs-5xl);
  }
}

.abt-team__highlight-label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}


/* ==========================================================================
   PARTNER CALL OUT (.abt-partner)
   ========================================================================== */

.abt-partner__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  text-align: center;
}

@media (min-width: 768px) {
  .abt-partner__layout {
    flex-direction: row;
    text-align: left;
    gap: var(--sp-12);
  }
}

.abt-partner__badge {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abt-partner__badge img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.abt-partner__content h3 {
  margin-bottom: var(--sp-4);
}

.abt-partner__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
}

.abt-partner__content p:last-of-type {
  margin-bottom: 0;
}

.abt-partner__awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

@media (min-width: 768px) {
  .abt-partner__awards {
    justify-content: flex-start;
  }
}

.abt-partner__award {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  background-color: var(--color-surface-light);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.abt-partner__award svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==========================================================================
   OFFICE LOCATIONS (.abt-offices)
   ========================================================================== */

.abt-offices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .abt-offices__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .abt-offices__grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.abt-office {
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition:
    background-color var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.abt-office:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.abt-office__flag {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-3);
  line-height: 1;
}

.abt-office__city {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--sp-1);
}

.abt-office__role {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

.abt-office__address {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-normal);
}


/* ==========================================================================
   CTA BANNER — DUAL CTA VARIANT
   Additional wrapper for side-by-side CTA buttons
   ========================================================================== */

.cta-banner__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}
