/* About page. Loaded after site.css. */

/* ---------- Inner-page hero (matches the mockup's 62px title and larger aside) ---------- */
.page-hero { padding-block: clamp(24px, 2.8vw, 40px) clamp(42px, 5.2vw, 70px); border-bottom: 0; }
.page-hero__title { font-size: clamp(2.3rem, 1.1rem + 3.3vw, 3.875rem); font-weight: 300; line-height: 1.17; letter-spacing: -0.012em; }
.page-hero__grid { grid-template-columns: 1fr minmax(0, 318px); }
.page-hero__aside { font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.375rem); line-height: 1.58; color: var(--ink-2); padding-top: 12px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__aside { padding-top: 0; max-width: 34rem; } }
/* no rule under the hero: the first section (vision) starts closer so the gap matches What We Do */
.about-vision { padding-top: clamp(28px, 3vw, 44px); }

/* ---------- Ruled block (team) ---------- */
.section.about-ruled { padding-top: 0; }
.about-ruled > .container { border-top: 1px solid var(--line); padding-top: clamp(52px, 6.6vw, 90px); }

.about-vision { padding-bottom: clamp(64px, 7.4vw, 100px); }
.about-vision__text { margin-top: clamp(20px, 2.2vw, 30px); max-width: 74rem; }
.about-vision__text p { font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.4; color: var(--ink-2); }
.about-vision__text p + p { margin-top: 1.4em; }

/* ---------- Team ---------- */
.about-team { padding-bottom: clamp(72px, 10vw, 136px); }
/* Two cards, each one-third of the container wide, centered as a pair */
.team { display: grid; grid-template-columns: repeat(2, calc((100% - 62px) / 3)); justify-content: center; gap: 48px clamp(41px, 6vw, 104px); margin-top: clamp(32px, 4vw, 52px); }
.person__link { display: block; color: inherit; text-decoration: none; }
.person__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #d8d8d8; }
/* LinkedIn badge: appears on hover/focus (always shown where there is no hover) */
.person__in { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; fill: #fff; opacity: 0; transition: opacity 0.25s ease; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35)); }
.person__link:hover .person__in, .person__link:focus-visible .person__in { opacity: 1; }
.person__link:hover .person__name, .person__link:focus-visible .person__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (hover: none) { .person__in { opacity: 1; } }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Neutral placeholder for a co-founder not yet public */
.person__avatar { display: block; width: 100%; height: 100%; fill: #bcbcbc; }
.person__body { margin-top: 6px; border-top: 3px solid var(--orange); padding-top: 9px; }
.person__name { font-size: clamp(1.35rem, 1.2rem + 0.45vw, 1.62rem); font-weight: 400; line-height: 1.2; color: var(--ink); }
.person__role { font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3rem); line-height: 1.4; color: var(--text-3); margin-top: 1px; }
.person__text { font-size: clamp(0.92rem, 0.88rem + 0.12vw, 1rem); line-height: 1.5; color: var(--text-3); margin-top: 8px; }
@media (max-width: 760px) {
  /* Phones: the two cards stay side by side */
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 21px; }
  .person__name { font-size: 1.15rem; }
  .person__role { font-size: 0.95rem; }
  .person__text { font-size: 0.85rem; }
}
/* Team cards fade in as whole cards (opacity only, no movement on faces). Driven by about.js. */
.js-motion [data-team] > * { opacity: 0; }

/* ---------- Closing band ---------- */
.about-cta__title { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.35rem); line-height: 1.36; }
.cta-band .cta-band__grid { grid-template-columns: 1fr minmax(0, 462px); }
@media (max-width: 900px) { .cta-band .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band .cta-band__aside p { font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.5; margin-bottom: 28px; }
.cta-band { padding-block: clamp(64px, 6.6vw, 90px); }
