/* people.css: the providers index and the team page on Brand's system (system.css), beside Function's About (one flat grid,
   the same row for every person), from Fathom Design's critique, 16 Oct 2026, change 2: the headline at the display size
   (44px at 390, 86 at 1440, weight 300), one row per person with no box (a 120px round portrait at one size, the name in
   serif, the credential line in grey, one sentence, "Full profile" underlined), rows parted by hairlines and two columns at
   1440, roles in sentence case and ink, no ring on any portrait (the founder's included), one terra pill before the band.
   Loaded after zaha.css and system.css on these two pages only; the words are untouched. */

.z-light body { background: var(--z-bg); }

/* the head: the quiet eyebrow, the display title, one line */
.subpage-hero { padding: calc(env(safe-area-inset-top, 0px) + 124px) 0 var(--z-gap-3); text-align: center; }
.subpage-hero .container { max-width: 820px; }
.subpage-hero .label, .subpage-hero .label-pill { display: block; margin: 0 0 var(--z-gap-3); padding: 0; background: none; border-radius: 0; font: 600 12px/1.4 var(--z-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--z-ink-3); }
.subpage-h1 { font: var(--z-t-h1); letter-spacing: -0.025em; color: var(--z-ink); max-width: none; margin: 0 auto; text-wrap: balance; }
.subpage-h1 .dot { color: var(--z-terra); margin-left: -0.05em; }
.subpage-sub { margin-top: var(--z-gap-3); font: 300 clamp(19px, 1rem + .6vw, 24px)/1.4 var(--z-serif); color: var(--z-ink-2); max-width: 30em; }

/* a group: one serif head, one line, then the rows */
.people { padding: var(--z-gap-5) 0 0; }
.people--last { padding-bottom: var(--z-gap-5); }
.people .container, .team-section .container { width: min(1180px, 100% - 2 * var(--z-margin)); max-width: none; }
.people .container, .checks .container { padding-inline: 0; } /* the page's gutter only, so the lists start where the hero does (visitor review, 17 Oct) */
.cohort-group-h, .team-h { font: 300 clamp(28px, 1.2rem + 1.4vw, 36px)/1.1 var(--z-serif); letter-spacing: -0.015em; color: var(--z-ink); text-align: left; margin: 0; }
.cohort-group-sub { text-align: left; font: var(--z-t-body); color: var(--z-ink-2); margin: var(--z-gap-1) 0 var(--z-gap-3); max-width: 36em; }
/* the therapists' credentials in plain words, once for the group (17 Oct refinement); no licence state on any card
   (the founder, 16 Oct: "remove the state mention"; brand guide §5.4) */
.cohort-card-note { display: block; margin-top: var(--z-gap-1); font: var(--z-t-small); font-size: 14px; color: var(--z-ink-3); } /* explains the abbreviation in a line of its own, beneath her approved words */

/* the row: portrait, then the words; no box, a hairline above each, two columns on a desktop */
.cohort-grid, .team-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--z-gap-5); max-width: none; margin: var(--z-gap-3) 0 0; }
.team-grid { margin-top: var(--z-gap-3); }
.cohort-grid > li, .team-grid > li { flex: none; }
.cohort-card, .team-card { position: relative; display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-areas: "pic name" "pic role" "pic meta" "pic bio" "pic link"; column-gap: var(--z-gap-3); row-gap: 2px; align-content: start; padding: var(--z-gap-4) 0; background: none; border: 0; border-top: 1px solid var(--z-hair); border-radius: 0; text-align: left; }
/* The portrait: the cream-pass photo on a sand disc ("darken" turns the cream into the disc, so the person sits on it
   with no pale square), a hairline ring inside the circle, 108px (the founder, 16 Oct: the discs blended into the page
   and had no border; a touch smaller). The per-photo zoom is capped at 1.2: the values measured for the small home faces
   pushed heads out of these larger circles (Keel). clip-path keeps Safari honest about the circle under a transform. */
/* the disc spans the text rows, so any height it adds goes to the last row, never as a gap between the title and the line (the founder, 17 Oct) */
.cohort-card, .team-card { grid-template-rows: auto auto auto auto 1fr; }
.cohort-card-avatar, .team-avatar { grid-area: pic; align-self: start; position: relative; width: 108px; height: 108px; margin: 0; padding: 0; border: 0; border-radius: 50%; overflow: hidden; clip-path: circle(50%); background: var(--z-bg-deep); isolation: isolate; }
.cohort-card-avatar::after, .team-avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(60, 40, 20, .16); pointer-events: none; z-index: 1; }
.team-avatar-in { background: var(--z-bg-deep); }
.cohort-card-avatar img, .team-avatar img { mix-blend-mode: darken; transform: scale(min(var(--pz, 1), var(--pzcap, 1.12))); transform-origin: var(--po, 50% 30%); transition: transform var(--z-dur-2) var(--z-ease); } /* capped at 1.12 so every crown has air (Atelier Noor, 17 Oct); below 1 the cream edge blends into the disc */
@media (hover: hover) and (pointer: fine) { .cohort-card:hover .cohort-card-avatar img { transform: scale(calc(min(var(--pz, 1), 1.12) * 1.04)); } }
.cohort-card-name, .team-card h3 { grid-area: name; font: 500 20px/1.25 var(--z-serif); color: var(--z-ink); margin: 2px 0 0; }
.cohort-card-role, .team-badge { grid-area: role; display: block; margin: 0; padding: 0; background: none; border-radius: 0; font: var(--z-t-small); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--z-ink); }
.cohort-card-meta, .team-title { grid-area: meta; font: var(--z-t-small); font-size: 15px; color: var(--z-ink-3); margin: 0; max-width: none; }
.cohort-card-bio, .team-bio { grid-area: bio; font: 400 16px/1.5 var(--z-sans); color: var(--z-ink-2); margin: var(--z-gap-1) 0 0; max-width: none; }
.cohort-card-link { grid-area: link; margin: var(--z-gap-1) 0 0; padding: 0; font: var(--z-t-body); color: var(--z-ink); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.cohort-card-link::after { content: ""; position: absolute; inset: 0; } /* the whole row opens the profile (the founder, 16 Oct: the click on the card had gone) */
@media (hover: hover) and (pointer: fine) { .cohort-card:hover .cohort-card-link { text-decoration-thickness: 2px; } }
@media (hover: hover) and (pointer: fine) { .cohort-card:hover .cohort-card-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; } }
.cohort-card:has(.cohort-card-link:focus-visible) { outline: 2px solid var(--z-terra); outline-offset: 4px; border-radius: 8px; }
.cohort-card:has(.cohort-card-link:focus-visible) .cohort-card-link:focus-visible { outline: none; }
@media (max-width: 900px) {
  .cohort-grid, .team-grid { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .cohort-card, .team-card { grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "pic name" "pic role" "pic meta" "bio bio" "link link"; column-gap: var(--z-gap-2); padding: var(--z-gap-3) 0; } /* the line runs the full width on a phone, not a 24-character column beside the disc (Fathom, 17 Oct) */
  .cohort-card, .team-card { grid-template-rows: auto auto 1fr auto auto; } /* the disc's spare height goes under the credential, so name, role and credential sit at one spacing in both lists */
  .cohort-card-meta, .team-title { align-self: start; }
  .cohort-card-avatar, .team-avatar { width: 88px; height: 88px; }
  .cohort-card-bio, .team-bio { margin-top: var(--z-gap-2); }
  .cohort-card-link { padding: 10px 0; margin-top: 0; } /* a 44px tap area */
}
/* the providers page (6 Nov): each portrait large and square, whole, as he made it, with the name, role and credential
   beneath (the founder: "make sure the providers' photos come across in a little bit more of a prominent way, like the
   portraits I've sent"). The disc, its crop and the darken blend apply to the team page only now. */
.cohort-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--z-gap-4); row-gap: var(--z-gap-5); }
.cohort-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "name" "role" "meta" "bio" "link"; grid-template-rows: auto auto auto auto 1fr auto; row-gap: 2px; padding: 0; }
.cohort-card-bio { align-self: start; } /* the spare height sits under the line, so a row's links share a baseline at every width (16 Nov) */
.cohort-card-avatar { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; clip-path: none; margin-bottom: var(--z-gap-2); }
.cohort-card-avatar::after { border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(60, 40, 20, .1); }
.cohort-card-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; transform: none; transform-origin: 50% 50%; }
@media (hover: hover) and (pointer: fine) { .cohort-card:hover .cohort-card-avatar img { transform: scale(1.02); } }
@media (max-width: 900px) {
  .cohort-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--z-gap-3); }
  .cohort-card-avatar { width: 100%; height: auto; }
}
/* a phone (13 Nov, reader panel: one full-screen portrait per person, "hard to compare"): two columns, the portrait still
   square and whole, so four people fit in under two screens; the whole card is still the tap target */
@media (max-width: 560px) {
  .cohort-grid { column-gap: var(--z-gap-2); row-gap: var(--z-gap-3); }
  .cohort-card { border-top: 0; grid-template-rows: auto auto auto auto 1fr auto; } /* the spare height sits under the line, so the two links in a row share a baseline */
  .cohort-card-avatar { border-radius: 14px; margin-bottom: 10px; }
  .cohort-card-avatar::after { border-radius: 14px; }
  .cohort-card-name { font-size: 18px; }
  .cohort-card-meta { font-size: 14px; }
  .cohort-card-bio { align-self: start; font-size: 14px; line-height: 1.45; margin-top: 6px; }
  .cohort-card-link { font-size: 15px; }
}
@media (max-width: 370px) { .cohort-card-bio .nw { white-space: normal; } } /* the narrowest phones: a card is too narrow to hold three words */
/* 16 Nov (the founder on his iPhone: "was it always left adjusted?"): an odd last card sits in the first column, left-aligned with the grid; the 13 Nov centring is gone. */
/* the team page: the two advisors in one row on a desktop, the portrait above the words (the founder, 17 Oct: Imam
   Farah's card "still not formatted correctly"; 22 Oct: the team page without him, so two columns, aligned to the
   heading's left edge as every list on the site is) */
@media (min-width: 901px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "name" "role" "meta" "bio"; grid-template-rows: auto; row-gap: 2px; }
  .team-card .team-avatar { margin-bottom: var(--z-gap-2); }
}

/* the one action before the band */
.pp-act { margin: var(--z-gap-4) 0 0; }
.pp-act .z-action, .team-providers .z-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--z-action-h); padding: 0 24px; border-radius: var(--z-r-action); background: var(--z-action); color: var(--z-on-action); font: var(--z-t-strong); text-decoration: none; border: 1px solid var(--z-action); }
@media (hover: hover) and (pointer: fine) { .pp-act .z-action:hover, .team-providers .z-action:hover { background: var(--z-action-hover); border-color: var(--z-action-hover); color: var(--z-on-action); } }
.team-providers .z-action--secondary { background: var(--z-bg); color: var(--z-action); border-color: var(--z-action); }
@media (hover: hover) and (pointer: fine) { .team-providers .z-action--secondary:hover { background: var(--z-bg-warm); color: var(--z-action-hover); border-color: var(--z-action-hover); } }

/* the team page's two bands */
.team-section { background: var(--z-bg); border: 0; padding: var(--z-gap-5) 0; }
.team-providers { padding: 0 0 var(--z-gap-5); text-align: left; }
.team-providers .container { width: min(1180px, 100% - 2 * var(--z-margin)); max-width: none; }
.team-providers h2 { font: 300 clamp(28px, 1.2rem + 1.4vw, 36px)/1.1 var(--z-serif); letter-spacing: -0.015em; color: var(--z-ink); max-width: none; margin: 0 0 var(--z-gap-3); }
.team-providers h2 .dot { color: var(--z-terra); }

/* the checks: hairline rows, no 01/02/03 (the founder's taste, 17 Oct) */
.checks { padding: var(--z-gap-5) 0; background: var(--z-bg); }
.checks .container { width: min(1180px, 100% - 2 * var(--z-margin)); max-width: none; }
.checks .h2-c { font: 300 clamp(28px, 1.2rem + 1.4vw, 36px)/1.1 var(--z-serif); letter-spacing: -0.015em; color: var(--z-ink); text-align: left !important; margin: 0; }
.checks .h2-c .dot { color: var(--z-terra); }
.checks-list { max-width: none; margin-top: var(--z-gap-3); gap: var(--z-gap-4); }
.checks-list li { border-top: 1px solid var(--z-hair); padding-top: var(--z-gap-2); font: var(--z-t-body); color: var(--z-ink-2); }
/* one column (13 Nov, reader panel: a different blank under each of the three lines): each line sits in the middle of
   its own hairline row, the same space above it as under it, whatever its length */
@media (max-width: 860px) {
  .checks-list { gap: 0; grid-auto-rows: auto; align-content: start; }
  .checks-list li { padding: var(--z-gap-3) 0; }
  .checks-list li:last-child { border-bottom: 1px solid var(--z-hair); }
}
.checks-more { text-align: left; margin-top: var(--z-gap-3); font: var(--z-t-body); }
.checks-more a { color: var(--z-ink); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 12px; margin-block: -12px; } /* 44px tap area, nothing moves (final pass, 13 Nov) */

/* the team page (6 Nov): each advisor's card led by a large square portrait, the same warm crop as the providers list,
   one card per row on a phone (the founder: the portraits should stand out "vs an afterthought") */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--z-gap-5); max-width: none; margin-top: var(--z-gap-4); }
.team-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "name" "role" "bio"; grid-template-rows: auto; row-gap: 2px; padding: 0; border: 0; }
.team-card .team-avatar { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; clip-path: none; margin: 0 0 var(--z-gap-2); }
.team-avatar::after { border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(60, 40, 20, .1); }
.team-avatar-in { border-radius: 18px; clip-path: none; }
.team-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; transform: none; }
.team-card .team-bio { margin-top: var(--z-gap-1); }
@media (min-width: 901px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 440px)); column-gap: var(--z-gap-5); justify-content: start; }
}

/* the closing band's button and headline weight: zaha.css §11b, once for every page */

/* 21 Nov 2026, the founder: provider portraits 20% smaller */
@media (min-width: 901px) { .cohort-grid .cohort-card-avatar { width: 80%; height: auto; aspect-ratio: 1; } }
