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

.about-purpose .home-container,
.about-solution .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(2.25rem, 5vw, 2.875rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.1;
  color: var(--color-text-primary);
  margin: 0 0 1.5rem;
}

.about-section__nowrap {
  white-space: nowrap;
}

.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;
}

/* ===== Purpose (first section — bleeds under header) ===== */
/* Negative margin-top is provided by .section--bleed-under-header (base.css) */
.about-purpose {
  padding: calc(var(--height-header) + 3rem) 0 3rem;
}

.about-callout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-callout__stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
  padding-right: 1rem;
  border-right: 1px solid var(--color-border);
  width: 6.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-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-extrawide);
  color: var(--color-pink);
}

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

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

.about-callout__sources {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-style: italic;
  text-align: center;
  margin: 1rem 0 0;
}

/* ===== Solution (dark-section) ===== */
.about-solution {
  padding: 3rem 0;
  /* background provided by .dark-section */
}

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

.about-solution .about-body {
  color: var(--color-text-on-dark);
}

/* ===== Founders ===== */
.about-founders {
  padding: 2.5rem 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 → 200px between ~560px and ~800px viewport.
     Mobile floor (8.75rem) unchanged; desktop capped smaller. */
  width: clamp(8.75rem, 25vw, 12.5rem);
  height: clamp(8.75rem, 25vw, 12.5rem);
  border-radius: var(--radius-lg);
  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: 2.5rem 0;
}

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

.about-story__callouts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

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

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

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

  .about-story__callouts {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .about-callout__stat {
    width: auto;
  }

  /* Founders sits in a narrower frame than the full-width content sections. */
  .about-founders .home-container {
    max-width: 640px;
  }

  /* Founders reads as a centred block: header centred over the centred photo cards. */
  .about-founders .about-section__label,
  .about-founders .about-section__title {
    text-align: center;
  }
}
