/* ==========================================================================
   About us — Figma frame 204:2882. Section-by-section, pixel-matched.
   Reuses .page-hero, .timeline, .section-head, .eyebrow, .link-arrow,
   .circle-arrow, .img-placeholder from base/components/_shared.
   ========================================================================== */

/* ---- Hero: this page's image is 320 tall (204:2884) ---------------------- */
@media (min-width: 901px) { .page-hero .page-hero__media { height: 320px; } }

/* ---- Our story (204:2894) ----------------------------------------------- */
.about-story { padding-block: 100px; }
.about-story__head {
  display: grid;
  grid-template-columns: minmax(0, 736px) 400px;
  justify-content: space-between;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}
.about-story__head > div { display: flex; flex-direction: column; gap: 16px; }
.about-story__head > div > * { margin: 0; }
.about-story__intro {
  text-align: right;
  margin: 12px 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
@media (max-width: 900px) {
  .about-story__head { grid-template-columns: 1fr; gap: 20px; }
  .about-story__intro { text-align: left; margin-top: 0; }
}

/* Rows: 570 image | 60 node | 570 text, 236 tall, 44 apart (Figma 204:2900). */
.about-story .timeline { display: flex; flex-direction: column; gap: 44px; }
.about-story .timeline__row {
  grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
  grid-template-areas: "media node content";
  gap: 0; margin: 0; min-height: 236px; align-items: center;
}
.about-story .timeline__row:nth-child(even) { grid-template-areas: "content node media"; }
.about-story .timeline__media { grid-area: media; height: 236px; aspect-ratio: auto; border-radius: 20px; order: 0; }
.about-story .timeline__dot { width: 20px; height: 20px; top: 50%; transform: translate(-50%, -50%); box-shadow: none; }
.about-story .timeline__content {
  grid-area: content; order: 0;
  display: flex; flex-direction: column; gap: 8px; padding: 0 52px;
}
.about-story .timeline__content > * { margin: 0; }
.about-story .timeline__row:nth-child(even) .timeline__content { order: 0; text-align: right; }
.about-story .timeline__year {
  display: block; font-family: var(--font-body); font-weight: 600;
  font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow); letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--blue-700);
}
.about-story .timeline__row.is-word-year .timeline__year,
.about-story .timeline__row.is-current .timeline__year { color: var(--green-700); }
.about-story .timeline__title { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: 0; color: var(--ink); }
.about-story .timeline__text { font-size: var(--fs-body); line-height: var(--lh-body); }
@media (max-width: 760px) {
  /* Stack the timeline: line + dots to the left, content full width. */
  .about-story .timeline { gap: 32px; }
  .about-story .timeline::before { left: 10px; }
  .about-story .timeline__row,
  .about-story .timeline__row:nth-child(even) {
    grid-template-columns: 1fr; grid-template-areas: "media" "content";
    gap: 16px; padding-left: 40px; min-height: 0;
  }
  .about-story .timeline__row:nth-child(even) .timeline__content { text-align: left; }
  .about-story .timeline__content { padding: 0; }
  .about-story .timeline__dot { left: 10px; top: 12px; transform: translateX(-50%); }
  .about-story .timeline__media { height: auto; aspect-ratio: 570 / 236; }
}

/* ---- Our aim (204:2927) -------------------------------------------------- */
.about-values { padding-block: 100px; }
.about-values .section-head { max-width: 780px; margin-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.about-values .section-head > * { margin: 0; }
.value-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border-radius: var(--r-card-sm);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-card__title { margin: 0; font-size: var(--fs-h4); line-height: var(--lh-h4); }
.value-card__text { margin: 0; font-size: var(--fs-body); color: var(--secondary); }
@media (max-width: 900px) { .value-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .value-cards { grid-template-columns: 1fr; } }

/* ---- Meet the team / board (204:2945 / 204:2974) ------------------------ */
.about-people { padding-block: 100px; }
.about-people__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.about-people__head > div { display: flex; flex-direction: column; gap: 14px; }
.about-people__head > div > * { margin: 0; }
.about-people__head .link-arrow { flex: 0 0 auto; }

.person-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.person-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.person-card > * { margin: 0; }
.person-card__media {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 260 / 240;
  border-radius: 14px;
  overflow: hidden;
  background: var(--blue-100);
}
.person-card__img,
.person-card__media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.person-card__name { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: 0; color: var(--blue-700); }
.person-card__role { margin: 0; font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--secondary); }
.about-board__note { margin: 40px 0 0; font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--secondary); }
@media (max-width: 900px) { .person-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .about-people__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .person-card__media { max-width: none; }
}

/* ---- Gallery (295:2747) ------------------------------------------------- */
.about-gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.about-gallery { padding-block: 100px; }
.about-gallery__head > div:first-child { display: flex; flex-direction: column; gap: 12px; max-width: 792px; }
.about-gallery__head > div:first-child > * { margin: 0; }
.about-gallery__nav { display: flex; flex-direction: row; gap: 12px; flex: 0 0 auto; }
.about-gallery__btn {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
}
.about-gallery__btn:hover { background: var(--blue-100); border-color: var(--blue-100); }

.about-gallery__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-card__media {
  aspect-ratio: 285 / 280;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-100);
}
.gallery-card__media img,
.gallery-card__media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.gallery-card__caption { margin: 0; font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
@media (max-width: 900px) {
  .about-gallery__track {
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .about-gallery__track::-webkit-scrollbar { display: none; }
  .gallery-card { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .about-gallery__track { grid-auto-columns: 85%; }
  .about-gallery__head { flex-wrap: wrap; }
}
