/* About page. Uses styles.css tokens. */
.ab { background: var(--ink); }
.ab-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* opening */
.ab-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.ab-hero__media { position: absolute; inset: -6% 0; will-change: transform; }
.ab-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(1); transform: scale(1.12); transition: transform 2.6s var(--expo); }
.ab-hero.is-ready .ab-hero__media img { transform: scale(1); }
.ab-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.1) 40%, rgba(0,0,0,.85)); }
.ab-hero__in { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) clamp(56px, 9vh, 104px); }
.ab-hero__title { margin-top: 28px; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -.018em; }
.ab-hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ab-hero__title .line > span { display: block; }
.ab-hero__title .line--soft { color: var(--grey-light); }
.js .ab-hero__title .line > span { transform: translateY(108%); transition: transform 1.5s var(--expo); }
.js .ab-hero.is-ready .ab-hero__title .line > span { transform: none; }
.js .ab-hero.is-ready .line:nth-child(2) > span { transition-delay: .09s; }
.js .ab-hero.is-ready .line:nth-child(3) > span { transition-delay: .18s; }
.js .ab-hero.is-ready .line:nth-child(4) > span { transition-delay: .27s; }

/* intro */
.ab-intro { padding-block: clamp(112px, 13vw, 190px); }
.ab-intro__grid { display: grid; grid-template-columns: minmax(160px, .45fr) 1.55fr; gap: 32px; align-items: baseline; }
.ab-intro__big { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -.012em; max-width: 20ch; text-wrap: balance; }
.ab-intro__p { margin-top: 32px; max-width: 58ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--grey-light); }

/* principles */
.ab-pr { background: var(--surface); color: var(--ink); padding-block: clamp(112px, 13vw, 190px); }
.ab-pr .label { color: var(--muted); }
.prs { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 40px); }
.pr { position: relative; padding-top: 28px; }
.pr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--expo); }
.pr.in::before { transform: scaleX(1); }
.pr:nth-child(2) { transition-delay: .1s; } .pr:nth-child(2)::before { transition-delay: .1s; }
.pr:nth-child(3) { transition-delay: .2s; } .pr:nth-child(3)::before { transition-delay: .2s; }
.pr:nth-child(4) { transition-delay: .3s; } .pr:nth-child(4)::before { transition-delay: .3s; }
.pr__n { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.pr__t { margin: 18px 0 14px; font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
.pr__p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* people */
.ab-people { padding-block: clamp(112px, 13vw, 190px); }
.ab-h2 { margin: 22px 0 clamp(56px, 7vw, 96px); font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4.25rem); line-height: 1.06; letter-spacing: -.014em; }
.people2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); }
.person:nth-child(2) { margin-top: clamp(48px, 9vw, 140px); justify-self: end; }
.person { max-width: 520px; }
.person__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #111; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transform: scale(1.06); transition: transform 1.8s var(--expo), filter .8s var(--out); }
.person.in .person__photo img { transform: none; }
.person:hover .person__photo img { filter: grayscale(1) contrast(1.1); }
.person__name { margin-top: 28px; font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; }
.person__role { margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-mid); }
.person__bio { margin-top: 20px; max-width: 46ch; color: var(--grey-light); }
.js .rv-img { clip-path: inset(10% 0 0 0); opacity: 0; transform: translateY(40px); transition: clip-path 1.4s var(--expo), opacity 1s var(--out), transform 1.4s var(--expo); }
.js .rv-img.in { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }

/* sectors: each word lights as you scroll past it */
.ab-sec { background: #000; padding-block: clamp(112px, 13vw, 190px); }
.ab-sec__lead { margin: 20px 0 clamp(40px, 5vw, 72px); font-size: clamp(16px, 1.3vw, 18px); color: var(--grey-light); }
.secs { display: flex; flex-wrap: wrap; column-gap: .45em; font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 6.6vw, 6.2rem); line-height: 1.08; letter-spacing: -.018em; }
.sec { color: #26272a; transition: color .6s var(--out); }
.sec::after { content: "\00B7"; margin-left: .45em; color: #26272a; }
.sec:last-child::after { content: none; }
.sec.is-on { color: #fff; }
.sec.is-on:nth-child(n+7) { color: var(--grey-light); }

/* partner */
.ab-partner { background: var(--surface); color: var(--ink); padding-block: clamp(96px, 11vw, 160px); }
.ab-partner .label { color: var(--muted); }
.ab-partner__grid { display: grid; grid-template-columns: minmax(160px, .45fr) 1.55fr; gap: 32px; align-items: baseline; }
.ab-partner__p { max-width: 36ch; margin-bottom: 24px; font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.3; }

/* close */
.ab-close { background: #fff; color: var(--ink); min-height: 90svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(128px, 16vw, 220px); }
.ab-close .label { color: var(--muted); }
.ab-close__t { margin: 24px 0 clamp(40px, 5vw, 64px); font-family: var(--display); font-weight: 500; font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 1.02; letter-spacing: -.018em; }
.ab-close__mail { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.5rem); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 6px; transition: background-size .7s var(--out); }
.ab-close__mail:hover { background-size: 0 1px; background-position: 100% 100%; }
.ab-foot { margin-top: 96px; border-top: 1px solid var(--rule-light); }
.ab-foot img { filter: invert(1); }

@media (max-width: 900px) {
  .prs { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 760px) {
  .ab-intro__grid, .ab-partner__grid, .people2, .prs { grid-template-columns: 1fr; }
  .person:nth-child(2) { margin-top: 0; }
  .foot.ab-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ab-hero__title .line > span, .ab-hero__media img { transform: none; transition: none; }
  .pr::before { transform: none; } .sec { color: #fff; }
  .js .rv-img { clip-path: none; opacity: 1; transform: none; }
}
.person__link { margin-top: 12px; }
.ab-close__phone { margin-top: 14px; font-size: 16px; color: var(--muted); }
