/* About, in the meadow (2026-10-15). Loaded after /style.css and /meadow/study.css, like a study's own sheet: only what
   About needs that the studies don't. The old paper sections keep their inner styles from style.css (the how-I-work
   figures, the education and speaking rows, the photograph pile); here they lose their page padding and widths and sit
   in the meadow's cards instead. */

/* The paper page's section boxes become plain card contents. */
.about-how-i-work.c-card, .education.c-card, .contrib.c-card, .about-looking-for.c-card, .about-bio.c-card { max-width: none; margin: 0; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.c-card > h2.display-s { margin: 0; }
.about-how-i-work-list, .education-list, .contrib-list, .about-looking-for-body, .about-bio-body { margin-top: 0; }
.about-looking-for-body .body-l { margin: 0; max-width: 66ch; }

/* The hero: the headline and its one line, the portrait to the right. The portrait stays round and mirrored (Nico's
   call on the paper page: the flip turns his gaze back toward the words), the image is square so the circle costs nothing. */
.ab-hero__card { width: 100%; max-width: none; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: clamp(20px, 4vw, 40px); align-items: center; }
.ab-hero__portrait { margin: 0; grid-column: 2; grid-row: 1; }
.ab-hero__portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transform: scaleX(-1); }
.ab-hero__text { grid-column: 1; grid-row: 1; display: grid; gap: 20px; }
.ab-hero__text .about-hero-statement { grid-column: auto; grid-row: auto; margin: 0; font-weight: 300; font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.1; }
.ab-hero__text .hero-headline__line { white-space: nowrap; }
.ab-hero__text .hero-headline__line + .hero-headline__line--clause { margin-top: 0.35em; }
.ab-hero__text .cs-hero-subtitle { margin: 0; max-width: 46ch; }
@media (max-width: 640px) {
  .ab-hero__card { grid-template-columns: 1fr; }
  .ab-hero__portrait { grid-column: 1; grid-row: 1; width: 140px; }
  .ab-hero__text { grid-row: 2; }
  .ab-hero__text .about-hero-statement { font-size: clamp(1.9rem, 8.4vw, 2.25rem); }
}

/* The comics: About's strips are three panels, so three to a row wherever a row fits them (the studies' grid makes room for four). */
@media (min-width: 640px) { .c-card .cs-comic__panels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Away from work: the words sit at the top beside the pile, under the heading. */
.about-bio.c-card .about-bio-body { align-items: start; }

/* What I make: the four icons, each a link to its study, its name under it. */
.ab-apps { display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 40px); margin: 0; padding: 0; list-style: none; }
.ab-apps a { display: grid; justify-items: center; gap: 8px; color: var(--text-primary); text-decoration: none; font-family: var(--font-mono); font-size: 14px; line-height: 20px; }
.ab-apps img { width: var(--icon); height: var(--icon); display: block; transition: translate 240ms cubic-bezier(0.16, 1, 0.3, 1); }
/* The shadow is a box behind the art, not filter: drop-shadow() on the image: iOS Safari drew that filter as a grey square
   the size of the whole 256px file (Nico, 2026-11-04). The art is Apple’s icon grid, 206 of 256px, centred; the box is a little smaller (197px) so no edge of it shows past the art. */
.ab-apps a { position: relative; isolation: isolate; --icon: 88px; }
.ab-apps a::before { content: ""; position: absolute; z-index: -1; top: calc(var(--icon) * 0.115); left: 50%; width: calc(var(--icon) * 0.77); aspect-ratio: 1; translate: -50% 0; border-radius: 22.5%; box-shadow: 0 8px 10px var(--card-lift); transition: translate 240ms cubic-bezier(0.16, 1, 0.3, 1); }
.ab-apps a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--accent-default); }
.ab-apps a:focus-visible { outline: 3px solid var(--accent-default); outline-offset: 4px; border-radius: 12px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .ab-apps a:hover img { translate: 0 -4px; } .ab-apps a:hover::before { translate: -50% -4px; } }
@media (max-width: 640px) { .ab-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; } .ab-apps a { font-size: 13px; --icon: 56px; } }

/* How I work: each principle has one Jojo frame beside it, where the line drawings were (2026-10-17). */
.how-figure.cs-comic { margin: 0 !important; }
.how-figure .cs-comic__panel canvas { border-radius: 14px; }

/* The icons' thought clouds (apps.js): the meadow's .thought, wrapped to a short measure over its icon. */
.ab-apps > li { position: relative; }
.ab-thought { z-index: 20; width: max-content; max-width: min(260px, calc(100vw - 112px)); white-space: normal; font-size: 14px; line-height: 20px; }
.ab-apps .ab-thought a { color: var(--cloud-ink); white-space: nowrap; margin-top: 4px; }

/* No navy (Nico, 2026-10-17: the study blue belongs to the old paper site). Links are the ink with an underline, as on the
   signpost and in the clouds; marks and numbers are ink too. */
body { --accent-default: var(--text-primary); --accent-hover: var(--text-primary); }
main .human-mark { color: inherit; font-weight: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
main .human-mark:hover { text-decoration-thickness: 2px; }

/* One way to stress a word: a highlighter swipe in the sun's yellow across the lower part of the line, upright, in the
   weight around it (Nico, 2026-10-17: italic, bold italic and an underline were three ways of saying "look here"). Upright
   because italic is quiet in Plex at body size; low on the line because a full block reads as a search hit; no underline,
   because an underline is a link. The swipe breaks cleanly across lines (box-decoration-break). */
:root { --hl: rgb(246 205 92 / 0.55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hl: rgb(214 176 44 / 0.34); } }
:root[data-theme="dark"] { --hl: rgb(214 176 44 / 0.34); }
main em, main [class] em, .outro em { font-style: normal; font-weight: inherit; color: inherit; background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 90%, transparent 90%); padding-inline: 0.1em; margin-inline: -0.05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Jojo's photograph, on his name (pop.js): a small print of the Instagram post, served from here. */
.ab-jojo { position: relative; }
.ab-jojo > a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ab-jojo > a:hover { text-decoration-thickness: 2px; }
.ab-photo-pop { position: absolute; left: 0; top: 0; z-index: 30; display: block; width: 220px; padding: 8px 8px 10px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--card-edge), 0 18px 40px var(--card-lift); font-family: var(--font-mono); font-size: 13px; line-height: 18px; color: var(--text-body); white-space: normal; animation: c-think 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.ab-photo-pop[hidden] { display: none; }
.ab-photo-pop img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ab-photo-pop__cap { display: block; margin: 8px 2px 2px; }
.ab-photo-pop a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 6px; margin: -6px 2px; }

/* Speaking and community: each picture is a button that opens the theatre (media.js). */
.contrib-media__open { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: zoom-in; border-radius: var(--radius-m); }
.contrib-media__open:focus-visible { outline: 3px solid var(--text-primary); outline-offset: 4px; }

/* The jam slideshow: the photographs stacked in one 3:2 frame, crossfading; arrows and dots under it. */
.ab-slides__track { position: relative; aspect-ratio: 3 / 2; margin: 0; padding: 0; list-style: none; }
.ab-slides__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease; }
.ab-slides__slide.is-on { opacity: 1; }
.ab-slides__slide img { width: 100%; height: 100%; object-fit: cover; }
.ab-slides__bar { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: 8px; }
.ab-slides__arrow, .ab-slides__dot { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text-primary); cursor: pointer; }
.ab-slides__arrow svg { width: 8px; height: 10px; fill: currentColor; shape-rendering: crispEdges; }
.ab-slides__dots { display: flex; }
.ab-slides__dot { width: 24px; }
.ab-slides__dot::before { content: ""; width: 6px; height: 6px; background: currentColor; opacity: 0.3; }
.ab-slides__dot[aria-current]::before { opacity: 1; }
.ab-slides__arrow:hover, .ab-slides__dot:hover { background: var(--card-edge); }
.ab-slides__arrow:focus-visible, .ab-slides__dot:focus-visible { outline: 3px solid var(--text-primary); outline-offset: 0; }
@media (prefers-reduced-motion: reduce) { .ab-slides__slide { transition: none; } }

/* The theatre: the picture large in the middle of a dark scrim over everything, an x at its top right. */
.ab-theatre { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.ab-theatre::backdrop { background: rgb(6 8 12 / 0.86); opacity: 0; transition: opacity 220ms ease; }
.ab-theatre.is-open::backdrop { opacity: 1; }
:root.ab-theatre-open { overflow: hidden; }
.ab-theatre__stage { box-sizing: border-box; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 20px; }
.ab-theatre__frame { position: relative; width: min(1200px, 100%, (100dvh - 112px) * 1.6); opacity: 0; scale: 0.96; transition: opacity 220ms ease, scale 260ms cubic-bezier(0.16, 1, 0.3, 1); }
.ab-theatre.is-open .ab-theatre__frame { opacity: 1; scale: 1; }
.ab-theatre__frame:has(picture) { width: min(780px, 100%); }
.ab-theatre__frame:has(.ab-slides) { width: min(1200px, 100%, (100dvh - 172px) * 1.5); }
.ab-theatre__frame > video, .ab-theatre__frame > picture img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 112px); object-fit: contain; border-radius: 12px; background: #000; }
.ab-theatre__frame > picture img { background: #fff; }
.ab-theatre__frame .ab-slides__slide img { border-radius: 12px; }
.ab-theatre__frame .ab-slides__bar { color: #fff; }
.ab-theatre__frame .ab-slides__arrow, .ab-theatre__frame .ab-slides__dot { color: #fff; }
.ab-theatre__close { position: absolute; z-index: 2; top: -16px; right: -16px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--card); color: var(--text-primary); box-shadow: 0 4px 16px rgb(0 0 0 / 0.4); cursor: pointer; }
.ab-theatre__close svg { width: 14px; height: 14px; fill: currentColor; shape-rendering: crispEdges; }
.ab-theatre__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) { .ab-theatre__stage { padding: 56px 12px; } .ab-theatre__close { top: -48px; right: 0; } }
@media (prefers-reduced-motion: reduce) { .ab-theatre::backdrop, .ab-theatre__frame { transition: none; } }

/* About's own sections: a card with a heading and a few lines. Not .cs-section, whose rules (a deck in every section,
   tools/verify/gate.mjs §11) are for case studies. */
.ab-section.c-card { display: flex; flex-direction: column; gap: 20px; }

/* How I work: each principle has a short heading over its lines, so the four can be skimmed (Nico, 2026-10-18). */
.how-item__text .how-item__title { margin: 0 0 8px; }
.how-item__text p { margin: 0; }

/* =====================================================================================================================
   A fancier CV, not a four-page résumé (2026-11-03, after Scott's review). About keeps no meadow; the long sections lead
   with one paragraph and fold the rest under "Read more"; the talks read as CV lines, latest first, with their stories
   and pictures under "Details"; the hero is one sentence.
   ===================================================================================================================== */
.ab-hero__text .about-hero-statement { font-weight: 400; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.15; max-width: 20ch; text-wrap: balance; }

/* Progressive disclosure: a quiet text control, the same in every section. */
.ab-more { margin-top: 14px; }
.ab-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--text-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ab-more > summary::-webkit-details-marker { display: none; }
.ab-more > summary::after { content: "+"; font-weight: 400; text-decoration: none; display: inline-block; }
.ab-more[open] > summary::after { content: "–"; }
.ab-more > summary:hover { text-decoration-thickness: 2px; }
.ab-more > summary:focus-visible { outline: 3px solid var(--text-primary); outline-offset: 3px; border-radius: 4px; }
.ab-more[open] > :not(summary) { margin-top: 10px; }

/* How I work: four short principles in a two-by-two grid, no figures. */
.about-how-i-work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
.about-how-i-work-list .how-item, .about-how-i-work-list .how-item:nth-child(even) { display: block; }
@media (max-width: 700px) { .about-how-i-work-list { grid-template-columns: 1fr; gap: 22px; } }

/* Away from work: three photographs in a row, still; the tossed paper pile went with the theming. */
.about-bio-visual { display: none !important; }
html.js .about-photos, .about-photos { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.about-photos li:last-child { display: block !important; }
.about-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.about-bio.c-card .about-bio-body { display: block; }

/* Speaking and community: each row is one disclosure. The whole row toggles, with a caret on the right that turns over
   when open (NN/g, "Accordion Icons": a down caret, right-aligned, is the icon people most expect to open content in place;
   a right-pointing arrow tested no better than no icon). Its story and pictures open under the row. */
.contrib-list { margin: 0; padding: 0; list-style: none; }
.contrib-row { display: block; padding: 0; border-top: 1px solid var(--border-subtle); }
.contrib-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.ab-row > summary { display: grid; grid-template-columns: 56px minmax(0, 3fr) minmax(0, 8fr) 24px; gap: var(--space-5); align-items: baseline; padding: 18px 8px; cursor: pointer; list-style: none; border-radius: 10px; }
.ab-row > summary::-webkit-details-marker { display: none; }
.ab-row > summary .contrib-title { margin: 0; }
.ab-row > summary:hover { background: color-mix(in srgb, var(--text-primary) 5%, transparent); }
.ab-row > summary:focus-visible { outline: 3px solid var(--text-primary); outline-offset: 2px; }
.ab-caret { width: 20px; height: 20px; align-self: center; justify-self: end; color: var(--text-muted); transition: rotate 200ms ease; }
details[open] > summary .ab-caret { rotate: 180deg; }
.ab-row > summary:hover .ab-caret { color: var(--text-primary); }
.ab-row__body { display: grid; grid-template-columns: 56px minmax(0, 3fr) minmax(0, 8fr) 24px; column-gap: var(--space-5); row-gap: 12px; padding: 0 8px 22px; }
.ab-row__body > * { grid-column: 3; }
.ab-row__body .contrib-note { margin: 0; max-width: 60ch; }
.ab-row__body .contrib-media { max-width: 560px; }
.ab-row__body .contrib-media :is(video, img) { width: 100%; height: auto; border-radius: 12px; display: block; }
.contrib-row .contrib-media { transform: none !important; rotate: none !important; }
@media (max-width: 768px) {
  .ab-row > summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 2px 12px; }
  .ab-row > summary .contrib-year, .ab-row > summary .contrib-host { grid-column: 1; }
  .ab-row > summary .contrib-title { grid-column: 1; }
  .ab-row > summary .ab-caret { grid-column: 2; grid-row: 1 / 4; }
  .ab-row__body { grid-template-columns: minmax(0, 1fr); }
  .ab-row__body > * { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .ab-caret { transition: none; } }
/* "Read more" carries the same caret after its words. */
.ab-more > summary::after { content: none; }
.ab-more > summary .ab-caret { width: 20px; height: 20px; color: var(--text-muted); }
.education-year, .contrib-year { font-family: var(--font-body); font-size: 15px; color: var(--text-muted) !important; }
.education-institution, .contrib-host { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); letter-spacing: 0; }

/* Blueprint figures (2026-11-03): one small wireframe over each "How I work" principle; the panels in "Read more" use the
   studies' .bp-panels (meadow/study.css). */
.how-bp { margin: 0 0 12px; }
.how-bp .bp { max-width: 360px; }
.ab-more .bp-panels { margin-top: 6px; }
.ab-more[open] > summary::after { content: none; }

/* ── 2026-11-03 audit fixes ──
   Row hover: square, so the tint runs edge to edge between the row's own rules instead of a rounded box that clashes
   with them. "Read more" takes the same row form as the speaking rows (label left, caret right, full-width hit area),
   so the page has one way to expand. Years in Plex Serif, whose zero has no slash (Atkinson's is always slashed). */
.ab-row > summary { border-radius: 0; }
.ab-more { margin-top: 18px; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.ab-more > summary { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 0 8px; text-decoration: none; font-weight: 400; font-size: 16px; }
.ab-more > summary:hover { background: color-mix(in srgb, var(--text-primary) 5%, transparent); text-decoration: none; }
.ab-more > summary:focus-visible { border-radius: 0; }
.ab-more[open] { padding-bottom: 20px; }
.education-year, .contrib-year { font-family: var(--font-display); font-variant-numeric: lining-nums tabular-nums; }
.ab-exp .education-row { grid-template-columns: 110px minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); }
@media (max-width: 768px) { .ab-exp .education-row { grid-template-columns: 1fr; } }
.ab-cv { margin: 4px 0 0; }
