/* ============================================================
   About page. Loads after assets/home.css and reuses its tokens,
   header, footer, kicker/h2/lede, steps, give logos and final CTA.
   Phone first (iPhone 17 Pro Max is the reference); no boxes, no
   decorative lines, light from soft glows only.
   ============================================================ */

/* ---------- hero: full-bleed portrait, headline over the fade ---------- */
.ab-hero { position:relative; isolation:isolate; overflow:hidden; text-align:center; }
.ab-hero__media { position:relative; margin:0; }
.ab-hero__img { display:block; width:100%; height:auto; aspect-ratio:4 / 5; object-fit:cover; }
.ab-hero__media::after { content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 44%, rgba(0,0,0,.78) 76%, #000 97%); }
.ab-hero__copy { position:relative; margin-top:-168px; }
.ab-hero__title { margin-top:12px; font-size:clamp(2.35rem,9.6vw,3.6rem); line-height:1.06; letter-spacing:-.022em; text-wrap:balance; }
.ab-hero__title .accent { color:var(--accent); text-shadow:0 0 34px rgba(97,224,175,.35); }
.ab-hero__lead { margin:18px auto 0; max-width:34ch; font-size:18px; line-height:1.5; color:var(--t-75); text-wrap:balance; }
.ab-byline { margin-top:22px; display:flex; flex-direction:column; align-items:center; gap:3px; }
.ab-byline__name { font-size:17px; font-weight:700; color:var(--fg); }
.ab-byline__role { font-size:14px; color:var(--t-60); }

/* ---------- three numbers ---------- */
.ab-stats { padding:56px 0 8px; }
.ab-stats__row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; text-align:center; }
.ab-stats__row > div { display:flex; flex-direction:column-reverse; align-items:center; gap:8px; }
.ab-stats__row dd { margin:0; font-size:36px; font-weight:700; line-height:1; letter-spacing:-.025em; color:var(--fg); white-space:nowrap; }
.ab-stats__row dd .ab-star { margin-left:2px; color:var(--accent); font-size:.62em; vertical-align:.32em; text-shadow:0 0 14px var(--accent-glow); }
.ab-stats__row dt { font-size:11px; font-weight:700; line-height:1.25; letter-spacing:.12em; text-transform:uppercase; color:var(--t-45); white-space:nowrap; }
.ab-stats__row dd .ab-unit { margin-left:4px; font-size:.46em; font-weight:600; letter-spacing:0; color:var(--t-60); }

/* ---------- the story, as a letter ---------- */
.ab-letter { padding:var(--sec) 0 calc(var(--sec) * .75); }
.ab-letter__inner { max-width:680px; }
.ab-letter__body { margin-top:28px; }
.ab-letter__body > p { font-size:18px; line-height:1.65; color:var(--t-75); text-wrap:pretty; }
.ab-letter__body > p + p { margin-top:18px; }
.ab-letter__body > p:first-child { color:var(--fg); }
.ab-quote { margin:40px 0; }
.ab-quote p { font-size:30px; font-weight:700; line-height:1.18; letter-spacing:-.018em; color:var(--fg); text-wrap:balance; }
.ab-quote p::before { content:"\201C"; display:block; margin-bottom:10px; font-size:72px; line-height:.55; color:var(--accent); text-shadow:0 0 26px var(--accent-glow); }
.ab-quote .accent { color:var(--accent); }

/* ---------- why it is shaped this way (numbered, like the homepage steps) ---------- */
.ab-why { padding:var(--sec) 0; text-align:center; }
.ab-why .steps { margin-top:40px; }

/* ---------- giving back ---------- */
.ab-give { padding:var(--sec) 0; text-align:center; }
.ab-give .give__logos { margin-top:36px; justify-content:center; }

/* ---------- way back to the homepage ---------- */
.ab-back { padding:8px 0 0; text-align:center; }
.ab-back a { display:inline-flex; align-items:center; min-height:44px; padding:0 8px; color:var(--accent); font-weight:600; }

/* ---------- phones ---------- */
@media (max-width:599px) {
  .ab-hero__title { font-size:40px; }
  .ab-letter__body > p { font-size:18px; }
}
@media (min-width:430px) and (max-width:599px) {
  .ab-hero__title { font-size:44px; }
}
@media (max-width:359px) {
  .ab-hero__title { font-size:34px; }
  .ab-stats__row dd { font-size:28px; }
  .ab-quote p { font-size:26px; }
}

/* ---------- tablets and desktop: same design, wider frame ---------- */
@media (min-width:600px) {
  .ab-hero__media { max-width:1200px; margin-inline:auto; }
  .ab-hero__img { aspect-ratio:3 / 2; }
  .ab-hero__copy { margin-top:-200px; }
  .ab-hero__lead { font-size:19px; }
  .ab-stats__row { max-width:760px; margin-inline:auto; }
  .ab-stats__row dd { font-size:52px; }
  .ab-quote p { font-size:40px; }
}
@media (min-width:900px) {
  .ab-hero__media { margin-top:calc(var(--header) + 24px); border-radius:28px; overflow:hidden; }
  .ab-hero__title { font-size:clamp(3.4rem,5vw,4.6rem); }
  .ab-letter__body > p { font-size:19px; }
}

/* the closing line is longer than the homepage one: let it sit on two lines */
#get .cta__title { max-width:17ch; }
@media (min-width:400px) and (max-width:429px) { #get .cta__title { font-size:36px; } }

/* ---------- computers (2026-09-26): nothing centered, sides switch going down ----------
   The owner: About looked "kinda shitty on desktop" (one narrow centered column,
   the list hanging off the left). Story: headline left, centered against the letter
   right. Why: list left, headline right. Giving back: words left, logos right.
   The hero photo, the numbers and the closing download stay centered. Phones untouched. */
@media (min-width:1000px) {
  /* the story: a wide left-aligned column here, headline beside it from 1200 */
  .ab-letter__inner { max-width:var(--wrap); }
  .ab-letter .ab-head .h2 { max-width:none; }
  .ab-letter__body { max-width:720px; }

  .ab-why { text-align:left; }
  .ab-why > .wrap { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); column-gap:clamp(56px,7vw,120px); align-items:center; }
  .ab-why .ab-head { grid-column:2; grid-row:1; }
  .ab-why .ab-head .h2 { margin-inline:0; max-width:11ch; }
  .ab-why .steps { grid-column:1; grid-row:1; margin:0; max-width:560px; }

  .ab-give { text-align:left; }
  .ab-give > .wrap { display:grid; grid-template-columns:minmax(0,6fr) minmax(0,6fr); column-gap:clamp(56px,7vw,120px); align-items:center; }
  .ab-give .ab-head .h2 { margin-inline:0; max-width:14ch; }
  .ab-give .lede { margin-inline:0; }
  .ab-give .give__logos { margin-top:0; justify-content:center; gap:56px; }
}
@media (min-width:1200px) {
  .ab-letter__inner { display:grid; grid-template-columns:minmax(0,5.5fr) minmax(0,6.5fr); column-gap:clamp(56px,6vw,112px); align-items:center; }
  .ab-letter__body { margin-top:0; max-width:620px; }
}
