/* About page (src/about.njk). Builds on styles.css; uses the semantic tokens only. */

/* ---------- What we do: two short paragraphs beside "How we work" ---------- */
.about-what {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.about-what-copy p {
  font-size: 1.08rem;
  max-width: 34em;
}
.about-what-copy .link-arrow {
  margin-top: 4px;
}
.about-how {
  padding: 28px 28px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-how h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.about-how .ticks {
  font-size: 1rem;
}

/* ---------- Our founder (#founder) ---------- */
/* Heading, photo, bio in the source; the photo takes the left column on wide screens */
.founder {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "photo head"
    "photo bio";
  gap: 0 clamp(32px, 6vw, 72px);
  align-items: start;
}
.founder-head {
  grid-area: head;
}
.founder-photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-sunk);
}
.founder-bio {
  grid-area: bio;
}
.founder-head h2 {
  margin-bottom: 20px;
}
.founder-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.founder-role {
  margin: 0 0 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.founder-bio p {
  font-size: 1.06rem;
  max-width: 36em;
}
.founder-bio .socials {
  margin-top: 28px;
}

/* Two of his quotes, side by side under the bio */
.founder-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
}
.founder-quote {
  margin: 0;
  padding: 24px 0 0;
  border-top: 2px solid var(--marigold);
}
.founder-quote blockquote {
  margin: 0 0 12px;
}
.founder-quote blockquote p {
  margin: 0;
  font: 400 1.22rem/1.45 var(--font-serif);
  color: var(--heading);
}
.founder-quote figcaption {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .about-what {
    grid-template-columns: 1fr;
  }
  .about-how {
    max-width: 520px;
  }
  .founder {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .about-how {
    padding: 24px 22px 6px;
  }
  .founder {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "head"
      "photo"
      "bio";
  }
  .founder-role {
    margin-bottom: 24px;
  }
  .founder-photo {
    width: 160px;
    margin-bottom: 24px;
  }
  .founder-quotes {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .founder-quote blockquote p {
    font-size: 1.12rem;
  }
}
