/* About page (/about). Uses the site's semantic tokens; the three founder tones match their portraits. */
.about-page { min-height: 100vh; display: flex; flex-direction: column; }
.about-main { flex: 1; width: min(1160px, 100%); margin: 0 auto; padding: 72px 28px 96px; }

.about-kicker { margin: 0 0 14px; color: var(--positive-text); font: var(--weight-semibold) 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }

.about-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 56px; align-items: end; }
.about-hero h1 { margin: 0; color: var(--cw-text); font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.about-hero__lede { margin: 0; color: var(--cw-text-soft); font-size: var(--text-lg); line-height: 1.7; }
.about-hero__photo { grid-column: 1 / -1; margin: 28px 0 0; }
.about-hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 66%; border-radius: var(--shape-xl); background: var(--surface-raised); }
.about-hero__photo figcaption { margin-top: 10px; color: var(--cw-muted); font-size: var(--text-sm); }

.about-section { margin-top: 96px; }
.about-section h2, .about-cta h2 { margin: 0 0 28px; color: var(--cw-text); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.02em; }

.about-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--cw-border); }
.about-timeline li { position: relative; padding: 22px 24px 0 0; min-width: 0; }
.about-timeline li::before { position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border: 3px solid var(--surface-deepest); border-radius: 50%; background: var(--primary); content: ''; }
.about-timeline li:last-child::before { background: var(--cw-green); }
.about-timeline__when { color: var(--primary-text); font: var(--weight-semibold) 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.about-timeline h3 { margin: 10px 0 6px; color: var(--cw-text); font-size: var(--text-lg); line-height: 1.3; }
.about-timeline p { margin: 0; color: var(--cw-muted); font-size: var(--text-md); line-height: 1.6; }

.about-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.about-person { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--cw-border-soft); border-radius: var(--shape-xl); background: var(--surface-raised); }
.about-person__photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.about-person__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.about-person h3 { margin: 0; color: var(--cw-text); font-size: var(--text-xl); line-height: 1.3; }
.about-person__field { margin: 4px 0 0; font-size: var(--text-sm); font-weight: var(--weight-semibold); }
/* Tints of the text colour, so the labels keep their contrast on light palettes too. */
.about-person--blue .about-person__field { color: color-mix(in srgb, var(--cw-text) 60%, #3D8BDB); }
.about-person--green .about-person__field { color: color-mix(in srgb, var(--cw-text) 60%, #2FA97A); }
.about-person--violet .about-person__field { color: color-mix(in srgb, var(--cw-text) 60%, #8B6FDB); }
.about-person__cred { margin: 6px 0 14px; color: var(--cw-muted); font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.about-person__bio { flex: 1; margin: 0; color: var(--cw-text-soft); font-size: var(--text-md); line-height: 1.65; }
.about-person__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.about-person__links a, .about-cta p a { color: var(--primary-text); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.about-person__links a:hover, .about-cta p a:hover { text-decoration-color: currentColor; }

.about-channel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.about-channel h2 { margin-bottom: 20px; }
.about-channel__id { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.about-channel__id img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--cw-border-soft); }
.about-channel__id strong { display: block; color: var(--cw-text); font-size: var(--text-lg); }
.about-channel__id small { color: var(--cw-muted); font-size: var(--text-sm); }
.about-channel__text > p { margin: 0 0 22px; color: var(--cw-text-soft); font-size: var(--text-md); line-height: 1.7; }
.about-channel__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.about-channel__shot { display: block; overflow: hidden; border: 1px solid var(--cw-border-soft); border-radius: var(--shape-lg); box-shadow: 0 28px 60px -32px rgba(0, 0, 0, .7); transition: border-color 150ms ease; }
.about-channel__shot:hover { border-color: var(--cw-muted); }
.about-channel__shot img { display: block; width: 100%; height: auto; }

.about-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.about-rules li { padding-top: 18px; border-top: 1px solid var(--cw-border-soft); }
.about-rules h3 { margin: 0 0 6px; color: var(--cw-text); font-size: var(--text-lg); line-height: 1.4; }
.about-rules p { margin: 0; color: var(--cw-muted); font-size: var(--text-md); line-height: 1.6; }

.about-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 96px; padding: 36px 40px; border: 1px solid var(--cw-border-soft); border-radius: var(--shape-xl); background: var(--surface-raised); }
.about-cta h2 { margin: 0 0 8px; }
.about-cta p { margin: 0; color: var(--cw-muted); font-size: var(--text-md); line-height: 1.6; }
.about-cta p a { font-size: inherit; }

.about-page a:not(.button):focus-visible { outline: 2px solid var(--cw-blue); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 980px) {
  .about-team { grid-template-columns: 1fr; max-width: 560px; }
  .about-person { flex-direction: row; }
  .about-person__photo { width: 180px; flex: none; }
  .about-channel { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .about-main { padding: 44px 16px 64px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__photo { margin-top: 8px; }
  .about-hero__photo img { aspect-ratio: 4 / 3; object-position: 50% 80%; border-radius: var(--shape-lg); }
  .about-section, .about-cta { margin-top: 64px; }
  .about-timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--cw-border); margin-left: 7px; }
  .about-timeline li { padding: 0 0 26px 24px; }
  .about-timeline li::before { top: 0; left: -8px; }
  .about-rules { grid-template-columns: 1fr; gap: 18px; }
  .about-cta { padding: 24px; }
}
@media (max-width: 600px) {
  /* Same phone header fit as the tools pages, so the nav stays inside the viewport. */
  .about-page .marketing-nav { gap: 12px; }
  .about-page .marketing-nav__actions .button--light { min-height: 36px; padding: 0 12px; white-space: nowrap; }
  .about-person { flex-direction: row; align-items: flex-start; }
  .about-person__photo { width: 96px; margin: 20px 0 0 18px; border-radius: 50%; }
  .about-person__body { padding: 18px 18px 20px 16px; }
}
@media (max-width: 420px) {
  .about-page .marketing-nav .status-badge { display: none; }
}

/* Pen marks: the headline's last words underlined, the current step circled. */
.about-hero h1 .pen-mark--under > svg { bottom: -.1em; height: .14em; }
.about-hero h1 .pen-ink { stroke-width: 3; }

/* Founders' links as marks. */
.about-person__links { gap: 10px; }
.about-person__links a.about-person__icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--cw-border); border-radius: 50%; color: var(--cw-muted); text-decoration: none; transition: color .15s ease, border-color .15s ease; }
.about-person__links a.about-person__icon:hover, .about-person__links a.about-person__icon:focus-visible { border-color: var(--cw-text); color: var(--cw-text); }
.about-person__links a.about-person__icon svg { width: 16px; height: 16px; }
