/* =========================================================
   About page
   ========================================================= */

/* Hero */
.about-hero {
  padding: 96px var(--pad-x) 72px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.about-hero__title { max-width: 1040px; color: var(--muted-foreground); }
.about-hero__lead { max-width: 680px; }
.about-hero__photo {
  position: relative; width: 100%; height: 560px;
  border-radius: 28px; overflow: hidden; text-align: left;
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__caption {
  position: absolute; left: 24px; bottom: 24px; width: 460px; max-width: calc(100% - 48px);
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(20, 20, 20, .82); color: #fff;
}
.about-hero__caption .t-small { color: rgba(255, 255, 255, .72); }

/* Split sections (copy + 520px photo) */
.about-split {
  padding: 112px var(--pad-x);
  display: flex; align-items: center; gap: 80px;
}
.about-split__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.about-split__photo {
  width: 520px; height: 520px; flex-shrink: 0;
  border-radius: 20px; overflow: hidden;
}
.about-split__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Promises: one promise in black at a time, moving every 1.8s (js/about.js) */
.about-promises {
  padding: 112px var(--pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
}
.about-promises__statement { max-width: 980px; color: var(--muted-foreground); }
.about-promises__statement span { transition: color 500ms ease; }
.about-promises__statement span.is-on { color: var(--foreground); }

/* Company */
.about-company {
  padding: 24px var(--pad-x) 64px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.about-company__text { max-width: 720px; color: var(--foreground); }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .about-split { gap: 56px; }
  .about-split__photo { width: min(520px, 45%); height: auto; aspect-ratio: 1; }
}

@media (max-width: 960px) {
  main { --pad-x: 20px; }
  .about-hero { padding: 32px var(--pad-x) 40px; align-items: flex-start; gap: 20px; text-align: left; }
  .about-hero__lead { font-size: 14px; line-height: 20px; letter-spacing: 0; font-weight: 400; }
  .about-hero__photo { height: 400px; border-radius: 20px; }
  .about-hero__caption { left: 12px; bottom: 12px; width: auto; right: 12px; max-width: none; }

  .about-split { flex-direction: column; align-items: stretch; gap: 24px; padding: 64px var(--pad-x); }
  .about-split--reverse .about-split__photo { order: 1; }
  .about-split__copy { gap: 14px; }
  .about-split__lead { font-size: 14px; line-height: 20px; letter-spacing: 0; font-weight: 400; }
  .about-split__photo { width: 100%; height: 360px; aspect-ratio: auto; }

  .about-promises { padding: 64px var(--pad-x); gap: 16px; }

  .about-company { padding: 8px var(--pad-x) 40px; }
  .about-company__text { font-size: 14px; line-height: 20px; letter-spacing: 0; font-weight: 400; }
}

@media (prefers-reduced-motion: reduce) {
  .about-promises__statement span { transition: none; }
}
