/* ==========================================================================
   TANSY GROUP — css/pages/about.css
   About page: company profile, vision & mission, values, commitment, founders.
   ========================================================================== */

/* Company profile ---------------------------------------------------------- */

.profile {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 2.5rem clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.profile__facts {
  margin-top: 2rem !important;
}

.profile__body {
  display: grid;
  gap: 1.25rem;
  max-width: 34rem;
  padding-top: 0.5rem;
  color: var(--c-muted);
}

.profile__quote {
  margin-top: 1rem;
  padding: 1.5rem 0 0 1.5rem;
  border-left: 1px solid var(--c-pink);
  font-family: var(--f-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  color: var(--c-purple);
  text-wrap: balance;
}

/* Vision & mission --------------------------------------------------------- */

.purpose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purpose__item > * + * { margin-top: 1.1rem; }

.purpose__item:first-child {
  padding-right: clamp(2rem, 5vw, 5rem);
  border-right: 1px solid var(--c-line-light);
}

.purpose__item:last-child {
  padding-left: clamp(2rem, 5vw, 5rem);
}

.purpose__item h2 {
  font-size: var(--fs-h3);
}

.purpose__text {
  max-width: 34rem;
  font-family: var(--f-heading);
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  font-weight: var(--fw-medium);
  line-height: 1.55;
  color: var(--c-white);
  text-wrap: pretty;
}

/* Core values -------------------------------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  background: var(--c-white);
  border-top: 2px solid var(--c-pink);
  border-radius: var(--radius-s);
  transition: box-shadow 0.3s var(--ease);
}

.value-card:hover {
  box-shadow: var(--shadow-soft);
}

.value-card .icon {
  margin-bottom: 0.75rem;
}

.value-card__num {
  position: absolute;
  top: clamp(1.75rem, 2.5vw, 2.25rem);
  right: clamp(1.75rem, 2.5vw, 2.25rem);
  font-family: var(--f-heading);
  font-weight: var(--fw-semibold);
  color: var(--c-pink-ink);
}

.value-card h3 {
  font-size: var(--fs-h4);
}

.value-card p {
  color: var(--c-muted);
}

/* Commitment --------------------------------------------------------------- */

.commitment {
  overflow: hidden;
}

.commitment::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -420px;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  border: 1px solid rgba(238, 101, 141, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.commitment__inner {
  position: relative;
  max-width: 50rem;
  text-align: center;
}

.commitment__inner > * + * { margin-top: 1.25rem; }

.commitment .lead {
  color: var(--c-text-light);
}

.commitment__tagline {
  margin-top: 2.5rem !important;
  font-family: var(--f-heading);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-pink);
}

.commitment__tagline::before {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto 2.5rem;
  background: var(--c-pink);
}

/* Founders ----------------------------------------------------------------- */

.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.founder {
  display: flex;
  flex-direction: column;
  background: var(--c-ivory);
  border-radius: var(--radius-s);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.founder__head {
  display: grid;
  grid-template-columns: clamp(8.5rem, 12vw, 11rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: end;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--c-line);
}

/* Fixed 4:5 frame. A real photograph (<img>) or the placeholder fills it. */
.founder__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--c-ivory-deep);
}

.founder__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 100%;
  padding: 0.75rem;
  border: 1px solid var(--c-line);
  border-radius: inherit;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.founder__placeholder svg {
  width: 44%;
  max-width: 4rem;
  fill: none;
  stroke: rgba(69, 7, 99, 0.35);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.founder__id > * + * { margin-top: 0.5rem; }

.founder__id h3 {
  font-size: var(--fs-h3);
}

.founder__role {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-pink-ink);
}

.founder__bio {
  display: grid;
  gap: 1rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  color: var(--c-muted);
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 1020px) {
  .profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile__body {
    max-width: none;
  }

  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .purpose,
  .founders {
    grid-template-columns: minmax(0, 1fr);
  }

  .purpose__item:first-child {
    padding: 0 0 2.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--c-line-light);
  }

  .purpose__item:last-child {
    padding: 2.5rem 0 0;
  }
}

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

@media (max-width: 420px) {
  .founder__head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .founder__photo {
    width: 9.5rem;
  }
}
