/* Copyright 2026 Renofy Ltd. All rights reserved. */

.about-problem .home-container,
.about-solution .home-container {
  max-width: 1350px;
}

.about-founders .home-container,
.about-story .home-container {
  max-width: 1000px;
}

/* ===== Shared eyebrow / label typography =====
   Pink uppercase tracked text used for section labels and the founder role. */
.about-section__label,
.about-founder__role {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-pink);
}

.about-section__label {
  font-size: var(--font-size-sm);
  margin: 0 0 1rem;
}

.about-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.1;
  color: var(--color-text-primary);
  margin: 0 0 1.5rem;
}

.about-section__title em {
  font-style: italic;
  color: var(--color-pink);
}

/* --centred modifiers only kick in on desktop. On mobile, headers in
   Who-we-are and Our-story read left-aligned for editorial flow. */
@media (min-width: 821px) {
  .about-section__label--centred {
    text-align: center;
  }

  .about-section__title--centred {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

.about-body {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
  margin: 0 0 1rem;
}

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

/* ===== Problem (first section — bleeds under header) ===== */
/* Negative margin-top is provided by .section--bleed-under-header (base.css) */
.about-problem {
  padding: calc(var(--height-header) + 4rem) 0 4rem;
  border-bottom: 1px solid var(--color-border);
}

.about-problem__grid,
.about-solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.about-problem__callouts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-callout {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.about-callout__stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.about-callout__number {
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text-primary);
}

.about-callout__unit {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  color: var(--color-pink);
}

.about-callout__desc {
  line-height: var(--line-height-normal);
  color: var(--color-text-secondary);
  margin: 0.5rem 0 0;
}

.about-callout__desc strong {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-semibold);
}

.about-callout__sources {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  font-style: italic;
  text-align: center;
}

/* ===== Solution (dark-section) ===== */
.about-solution {
  padding: 4rem 0;
  /* background provided by .dark-section */
  border-bottom: 1px solid var(--color-border);
}

.about-solution .about-section__title {
  color: var(--color-white);
}

.about-solution .about-body {
  color: rgba(255, 255, 255, 0.72);
}

.about-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.about-pillar {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
}

.about-pillar:first-child {
  padding-top: 0;
}

.about-pillar:last-child {
  padding-bottom: 0;
}

/* Border only between pillars — none above the first or below the last. */
.about-pillar + .about-pillar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-pillar__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-pink-light);
  color: var(--color-pink);
}

.about-pillar__title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin: 0 0 0.25rem;
  color: var(--color-white);
}

.about-pillar__desc {
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.about-pillar__desc strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: var(--font-weight-semibold);
}

/* ===== Founders ===== */
.about-founders {
  padding: 4rem 0;
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
}

.about-founders__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 3rem 0 0;
}

.about-founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-founder__photo {
  /* Smoothly scales 140px → 320px between ~560px and ~1280px viewport. */
  width: clamp(8.75rem, 25vw, 20rem);
  height: clamp(8.75rem, 25vw, 20rem);
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-hover);
}

.about-founder__name {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-tight);
  margin: 0;
  color: var(--color-text-primary);
}

.about-founder__role {
  font-size: var(--font-size-sm);
  margin: 0.25rem 0 1rem;
}

.about-founder__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  text-decoration: none;
  background: var(--color-white);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.about-founder__linkedin:hover {
  border-color: var(--color-pink);
  color: var(--color-pink);
}

/* ===== Our Story ===== */
.about-story {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.about-story__body {
  margin: 2rem 0 0;
  text-align: left;
}

.about-story__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-style: italic;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ===== Responsive ===== */
@media (min-width: 821px) {
  .about-problem {
    padding: calc(var(--height-header) + 5rem) 0 5rem;
  }

  .about-solution,
  .about-founders,
  .about-story {
    padding: 6rem 0;
  }

  .about-problem__grid,
  .about-solution__grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  /* Drop the stats column slightly below the narrative's vertical centre. */
  .about-problem__callouts {
    margin-top: 2rem;
  }

  .about-callout {
    background: var(--color-white);
  }
}
