/* ===========================================================================
   About page (/about).

   Sections: text hero, hero image, split description, three cards, team list,
   investors grid. Uses --mz-* tokens throughout; page-specific classes use the
   `about-` prefix.
   =========================================================================== */

/* ==========================================================================
   Hero — text only (no background image)

   Centred headline, subtitle, and CTA sitting on the dark page background.
   200px top padding, 80px bottom per design.
   ========================================================================== */

.about-hero {
  padding: 160px var(--mz-gutter) 80px;
}

.about-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.about-hero-headline,
.about-hero-subtitle {
  max-width: 800px;
}

.about-hero-headline {
  font-family: var(--mz-font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 0.85;
  letter-spacing: -1.44px;
  color: var(--mz-white);
}

.about-hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.28;
  color: var(--mz-text-secondary);
}

/* ==========================================================================
   Hero image — photograph below the text hero.

   Inset to the same column as the rest of the page rather than bleeding to
   the viewport edges: the design puts its left edge under the headline.
   ========================================================================== */

.about-hero-image {
  padding: 0 var(--mz-gutter);
}

.about-hero-image-inner {
  max-width: 1320px;
  height: 655px;
  margin: 0 auto;
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Split description — left title, right body text.
   ========================================================================== */

.about-split {
  padding: 80px var(--mz-gutter);
}

.about-split-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.about-split-left {
  width: 300px;
  flex-shrink: 0;
}

.about-split-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--mz-white);
}

.about-split-right {
  max-width: 867px;
  flex: 1;
}

.about-split-body {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--mz-text-secondary);
  margin-bottom: 24px;
}

.about-split-body:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Three cards — same visual pattern as home page wealth cards.
   ========================================================================== */

.about-cards {
  padding: 80px var(--mz-gutter);
}

.about-cards-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-card {
  display: flex;
  flex-direction: column;
}

.about-card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 40px;
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-title {
  font-family: var(--mz-font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 0.9;
  color: var(--mz-white);
  margin-bottom: 16px;
}

.about-card-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.28;
  color: var(--mz-text-secondary);
  margin-bottom: 24px;
}

.about-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mz-white);
  margin-top: auto;
}

.about-learn-more img {
  width: 24px;
  height: 24px;
}

.about-learn-more:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Team section — split header + member list.
   ========================================================================== */

.about-team {
  padding: 80px var(--mz-gutter);
}

.about-team-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* --- Split header -------------------------------------------------------- */

.about-team-header {
  width: 300px;
  flex-shrink: 0;
}

.about-team-label {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--mz-white);
  margin-bottom: 16px;
}

.about-team-desc {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--mz-text-secondary);
}

/* --- Member list --------------------------------------------------------- */

.about-team-list {
  max-width: 865px;
  flex: 1;
}

.about-team-member {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--mz-rule);
}

.about-team-member:last-child {
  border-bottom: 1px solid var(--mz-rule);
}

.about-team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-team-info {
  flex: 1;
  min-width: 0;
}

.about-team-name {
  display: block;
  font-family: var(--mz-font-serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 0.9;
  color: var(--mz-white);
  margin-bottom: 4px;
}

.about-team-title {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.28;
  color: var(--mz-text-secondary);
}

.about-team-linkedin {
  flex-shrink: 0;
  color: var(--mz-white);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.about-team-linkedin:hover {
  opacity: 1;
}

.about-team-linkedin svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Investors section — split header + 2-column grid.
   ========================================================================== */

.about-investors {
  padding: 80px var(--mz-gutter);
}

.about-investors-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

/* --- Split header -------------------------------------------------------- */

.about-investors-header {
  width: 300px;
  flex-shrink: 0;
}

.about-investors-label {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--mz-white);
  margin-bottom: 16px;
}

.about-investors-desc {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--mz-text-secondary);
}

/* --- Investor logos ------------------------------------------------------- */

.about-investors-right {
  max-width: 865px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-investor-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  padding-bottom: 40px;
  margin-left: -40px;
}

.about-investor-logo {
  filter: brightness(0) invert(1);
}

/* MHS Capital — symbol-dominant mark → tallest in row, heavy weight pulled back */
.about-investor-logo:nth-child(1) {
  height: 92px;
  opacity: 0.5;
}

/* Team Builder Ventures — two-line thin wordmark → boosted opacity */
.about-investor-logo:nth-child(2) {
  height: 42px;
  opacity: 0.75;
}

/* Trilogy — single-line heavy geometric sans → anchored at target cap height */
.about-investor-logo:nth-child(3) {
  height: 26px;
  opacity: 0.55;
}

/* On Deck — symbol + wordmark → symbol capped at ~1.4× */
.about-investor-logo:nth-child(4) {
  height: 42px;
  opacity: 0.6;
}

/* --- Investor grid ------------------------------------------------------- */

.about-investors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}

.about-investor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-investor-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-investor-photo--top {
  object-position: center top;
}

.about-investor-info {
  flex: 1;
  min-width: 0;
}

.about-investor-name {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--mz-white);
  margin-bottom: 2px;
}

.about-investor-title {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.28;
  color: var(--mz-text-secondary);
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 1023px) {

  /* --- Hero -------------------------------------------------------------- */
  .about-hero {
    padding: 120px var(--mz-gutter-mobile) 60px;
  }

  .about-hero-headline {
    font-size: 48px;
    letter-spacing: -0.96px;
  }

  .about-hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
  }

  /* --- Hero image -------------------------------------------------------- */
  .about-hero-image {
    padding: 0 var(--mz-gutter-mobile);
  }

  .about-hero-image-inner {
    height: 360px;
  }

  /* --- Split description ------------------------------------------------- */
  .about-split {
    padding: 60px var(--mz-gutter-mobile);
  }

  .about-split-inner {
    flex-direction: column;
    gap: 24px;
  }

  .about-split-left {
    width: 100%;
  }

  .about-split-title {
    font-size: 24px;
  }

  .about-split-body {
    font-size: 18px;
  }

  /* --- Cards ------------------------------------------------------------- */
  .about-cards {
    padding: 60px var(--mz-gutter-mobile);
  }

  .about-cards-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-card-image {
    margin-bottom: 20px;
  }

  .about-card-title {
    font-size: 32px;
  }

  .about-card-desc {
    font-size: 16px;
  }

  /* --- Team -------------------------------------------------------------- */
  .about-team {
    padding: 60px var(--mz-gutter-mobile);
  }

  .about-team-inner {
    flex-direction: column;
    gap: 32px;
  }

  .about-team-header {
    width: 100%;
  }

  .about-team-desc {
    font-size: 18px;
  }

  .about-team-list {
    max-width: 100%;
  }

  .about-team-name {
    font-size: 28px;
  }

  .about-team-photo {
    width: 60px;
    height: 60px;
  }

  .about-team-member {
    gap: 16px;
    padding: 16px 0;
  }

  /* --- Investors --------------------------------------------------------- */
  .about-investors {
    padding: 60px var(--mz-gutter-mobile);
  }

  .about-investors-inner {
    flex-direction: column;
    gap: 32px;
  }

  .about-investors-header {
    width: 100%;
  }

  .about-investors-desc {
    font-size: 18px;
  }

  .about-investor-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  .about-investor-logo:nth-child(1) {
    height: 48px;
  }

  .about-investor-logo:nth-child(2) {
    height: 32px;
  }

  .about-investor-logo:nth-child(3) {
    height: 20px;
  }

  .about-investor-logo:nth-child(4) {
    height: 32px;
  }

  .about-investors-grid {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-investor-photo {
    width: 60px;
    height: 60px;
  }
}
