/* mattkenyon.net About page (drafts/about/, 2026-11-25).
   Builds on ../blog/assets/blog.css (tokens, header, footer, buttons, prose, the navy end panel) and ../shared/theme.css.
   New here: the hero (the headline and intro beside Matt's studio photo) and the chapters,
   a ruled list of the page's sections with each heading held beside its text while it is read. */

/* hero */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.about-hero-copy { display: grid; gap: 22px; align-content: center; }
.about-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.about-lead { color: var(--ink); font-size: 1.3rem; font-weight: 600; line-height: 1.4; max-width: 30em; text-wrap: pretty; }
.about-intro { font-size: 1.15rem; line-height: 1.6; max-width: 34em; text-wrap: pretty; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--soft); }

/* links in running copy: the blog's prose link (2px underline, 4px offset) */
.about-intro a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(26, 39, 68, .4); transition: text-decoration-color .15s ease; }
.about-intro a:hover { text-decoration-color: var(--ink); text-decoration-thickness: 3px; }
:root[data-theme="dark"] .about-intro a { text-decoration-color: rgba(243, 245, 250, .4); }
:root[data-theme="dark"] .about-intro a:hover { text-decoration-color: var(--ink); }

/* chapters: a 2px navy rule opens the list, 1px hairlines divide the sections */
.chapters { border-top: 2px solid var(--ink); }
.chapter { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 16px clamp(24px, 5vw, 80px); padding: clamp(40px, 5.5vw, 72px) 0; border-bottom: 1px solid var(--line); }
.chapter:last-child { border-bottom: 0; }
.chapter h2 { align-self: start; position: sticky; top: 104px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.024em; }
.chapter-body.prose { grid-row: auto; padding-top: 0; max-width: 40rem; }

/* who I'm for: the same ruled list, one reason per row */
.chapter-body .fit-list { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.fit-list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.prose .fit-list li + li { margin-top: 0; }
.fit-list strong { font-size: 1.15rem; line-height: 1.35; }
.fit-list li:last-child { border-bottom: 0; padding-bottom: 0; }   /* the chapter's own hairline closes the list */

/* the headline's pen stroke (about.js draws it under "make businesses money"; the ink is --pen on the h1, which theme.css lightens in the dark theme) */
.about-hero h1 { position: relative; z-index: 0; }
.pen-line { position: absolute; z-index: -1; pointer-events: none; overflow: visible; }

/* the AI search video: the blog's thumbnail, run time and watch line; clicking it plays the video in place (about.js) */
.chapter-body .about-video { display: grid; gap: 12px; margin-top: 1.8em; margin-bottom: 0; }
.prose .about-video .vthumb img { height: 100%; border: 0; border-radius: 0; }
.prose .about-video a { text-decoration: none; }
.prose .about-video figcaption { margin-top: 0; font-size: 1rem; }
.yt-player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-s); background: #000; }

/* a client walkthrough: the homepage's offer frame (navy frame, the report still, Matt's face-cam over its bottom-left corner,
   the source line), shown here as a still */
.chapter-body .about-walk { margin-top: 1.8em; margin-bottom: 0; }
.walk-frame { --pad: clamp(8px, 1.3vw, 14px); --fc: clamp(84px, 23cqi, 150px); position: relative; container-type: inline-size; background: var(--panel); border-radius: var(--radius); padding: var(--pad); }
.prose .about-walk img { border: 0; }
.prose .about-walk .walk-screen { display: block; width: 100%; height: auto; border-radius: var(--radius-s); background: var(--soft); }
.walk-band { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: clamp(12px, 3.2cqi, 22px); margin-top: calc(var(--fc) * -.5); padding-left: clamp(10px, 3.2cqi, 22px); }
.prose .about-walk .walk-cam { flex: none; width: var(--fc); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--panel); box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4.5px var(--panel); }
.walk-words { min-width: 0; display: grid; align-content: safe center; min-height: var(--fc); padding-top: calc(var(--fc) * .5); padding-right: clamp(4px, 2cqi, 14px); }
.walk-src { align-self: end; color: var(--on-panel-soft); font-size: clamp(.8rem, 2.2cqi, .92rem); line-height: 1.4; text-wrap: pretty; }

/* the end panel's links in running copy, on navy */
.end-copy p a { color: var(--on-panel); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45); transition: text-decoration-color .15s ease; }
.end-copy p a:hover { text-decoration-color: var(--on-panel); text-decoration-thickness: 3px; }
.about .post-end { padding-bottom: clamp(72px, 9vw, 120px); }

/* the current page in the header, marked like the current item in a menu */
.nav-link[aria-current="page"] { background: var(--soft); font-weight: 600; }

@media (max-width: 860px) {
  .about-hero { grid-template-columns: minmax(0, 1fr); }
  .chapter { grid-template-columns: minmax(0, 1fr); }
  .chapter h2 { position: static; }
  /* one column: a wider frame that keeps Matt's face in view and trims the softbox at the top */
  .about-photo img { aspect-ratio: 16 / 10; object-position: 50% 100%; }
}
@media (max-width: 560px) {
  .about-hero h1 { line-height: 1.16; }   /* the headline wraps to four lines here; room for each pen stroke above the next line */
  .about-lead { font-size: 1.15rem; }
  .about-intro { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .about-intro a, .end-copy p a { transition: none; }
}
