/* The coaches, five takes (17 Oct 2026), switched from the rail (?c=1..5; ?cg=dark gives 2, 3 and 5 their dark version)
   and shown under whichever hero and ways-to-train take is selected. One copy deck (scripts/build-coaches-markup.js).
   Photos are "decent-sized, not small/thumbnail size, but not full-bleed/XXL" (Sam, pick 13).
   Round 2, after the Impeccable critique: every take ends on "Start with a chat"; "Works with" before the credentials;
   each coach's second photo always visible in the portrait's corner (pointing opens it); no 01/02; no role line.
   1 diptych · 2 profile, the portrait hands over in one move · 3 ledger · 4 sideways in four resting stops · 5 the band. */
/* :where(section) keeps these off the headcount marks' coach dot (<b class="co">, s2.css) without raising specificity (22 Oct fix) */
.co:where(section){position:relative;padding:clamp(88px,10vw,calc(160px + var(--up) * .2)) var(--g)}
.co .wrap{max-width:calc(1600px + var(--up) * .5);margin:0 auto}
.co.light:where(section){background:var(--paper);color:var(--ink);--mu:rgba(11,13,14,.66);--hair:rgba(11,13,14,.16);--well:#dcdfdf;--edge:rgba(11,13,14,.9)}
.co.dark:where(section){background:var(--ink);color:#fff;--mu:rgba(255,255,255,.68);--hair:rgba(255,255,255,.16);--well:#1b1f21;--edge:var(--brand)}
.co.tint:where(section){background:#0b1418;color:#fff;--mu:rgba(255,255,255,.68);--hair:rgba(255,255,255,.16);--well:#16242a;--edge:var(--brand)}
.co.cyan:where(section){background:var(--brand);color:#000;--mu:rgba(0,0,0,.72);--hair:rgba(0,0,0,.24);--well:#2a8ca5;--edge:#000}
.co ::selection{background:var(--brand);color:#000}
.co.cyan ::selection{background:#000;color:#fff}
.co h2{font:500 clamp(32px,3.5vw,calc(56px + var(--up) * .08))/1.05 var(--head);letter-spacing:-.03em;text-wrap:balance}
.co-lede{max-width:34ch;color:var(--mu);font:400 calc(17px + var(--up) * .01)/1.5 var(--body);text-wrap:pretty}
.co h2+.co-lede{margin-top:16px}
.co-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 48px;flex-wrap:wrap;margin-bottom:clamp(40px,5vw,88px)}
.co-top .co-lede{margin-top:0}
.co figure{margin:0}
.co figure img{width:100%;height:100%;object-fit:cover}

/* the ask: the page's own button, then the quieter link */
.co-ask{display:flex;flex-wrap:wrap;align-items:center;gap:16px 36px;margin-top:clamp(40px,4.5vw,72px)}
.go.go-ink{background:#000;color:#fff}
.go.go-ink i{background:var(--brand);color:#000}
.co.dark .more:focus-visible::before,.co.tint .more:focus-visible::before{box-shadow:0 0 0 2px var(--ink),0 0 0 4px var(--brand)}

/* the coach's words, the same in every take: name, who they work with, one fact, then the credentials, quieter */
.co-name{font:500 clamp(30px,2.9vw,calc(48px + var(--up) * .04))/1 var(--head);letter-spacing:-.03em}
.co-with{margin-top:16px;max-width:44ch;font:500 calc(17px + var(--up) * .01)/1.45 var(--body);text-wrap:pretty}
.co-with span{display:block;margin-bottom:2px;color:var(--mu);font-size:14px;font-weight:400}
.co-bio{margin-top:12px;max-width:44ch;font:400 calc(16.5px + var(--up) * .01)/1.55 var(--body);text-wrap:pretty}
.co-q{list-style:none;padding:0;margin-top:22px;max-width:44ch;border-top:1px solid var(--hair)}
.co-q li{padding:9px 0;border-bottom:1px solid var(--hair);color:var(--mu);font:400 14px/1.4 var(--body)}

/* the second photo in the portrait's corner: the full frame scaled down from the bottom right, so opening it is one
   transform (no layout work). Its radius is set large so it reads as 3px at the small size. */
.co-in{position:absolute;inset:0;overflow:hidden;border-radius:10px;transform-origin:calc(100% - 14px) calc(100% - 14px);
  transform:scale(.3);box-shadow:0 18px 40px -12px rgba(0,0,0,.55),0 0 0 3px var(--edge);transition:transform .85s cubic-bezier(.65,0,.25,1),border-radius .85s,box-shadow .85s}
.co-in img{object-position:50% 30%}

/* 1 · DIPTYCH. On a mouse at desktop widths the coach you point at widens and their second photo opens; the words sit
   at the narrowest a column ever gets, so the widening never re-wraps them. */
.dp{display:flex;gap:clamp(16px,2vw,32px)}
.dp-c{flex:1 1 0;min-width:0;transition:flex-grow .9s cubic-bezier(.65,0,.25,1)}
.dp-fig{position:relative;height:clamp(420px,60vh,calc(700px + var(--up) * .3));overflow:hidden;border-radius:4px;background:var(--well)}
.dp-fig>img{object-position:50% 22%;transition:transform 1.1s cubic-bezier(.22,1,.36,1)}
.dp-txt{padding-top:28px;width:min(100%,46ch)}
@media (hover:hover) and (pointer:fine){
  .dp-c:hover .co-in{transform:none;border-radius:0;box-shadow:0 0 0 0 transparent}
}
@media (hover:hover) and (pointer:fine) and (min-width:1200px){
  .dp-txt{width:calc(min(100vw - 2 * var(--g),1600px + var(--up) * .5) * .34)}   /* the narrowest a shrunk column gets */
  .dp:hover .dp-c{flex-grow:.72}
  .dp .dp-c:hover{flex-grow:1.28}
}

/* 2 · PROFILE. The portrait frame holds on the left. When Darren's profile reaches the middle of the screen his
   portrait wipes up over Josh's in one quick move (co.js sets .two), and back if you scroll up. */
.sp{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(40px,6vw,120px);align-items:start}
.sp-stick{position:sticky;top:calc(var(--bar) + var(--top) + 24px)}
.sp-fig{position:relative;width:min(100%,calc((100vh - var(--bar) - var(--top) - 72px) * .8));aspect-ratio:4/5;overflow:hidden;border-radius:4px;background:var(--well)}
.sp-fig img{position:absolute;inset:0;object-position:50% 30%}
.sp-i2{clip-path:inset(100% 0 0 0);transition:clip-path .75s cubic-bezier(.65,0,.25,1)}
.sp-fig.two .sp-i2{clip-path:inset(0)}
.sp-tag{position:absolute;left:14px;bottom:14px;display:grid;padding:9px 14px;border-radius:999px;background:rgba(11,13,14,.78);color:#fff;font:500 13px/1 var(--body)}
.sp-nm{grid-area:1/1;transition:opacity .3s,transform .4s cubic-bezier(.22,1,.36,1)}
.sp-nm:not(.on){opacity:0;transform:translateY(6px)}
.sp-head{margin-bottom:clamp(48px,8vh,110px)}
.sp-d{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,30%);gap:clamp(24px,3vw,48px);align-items:start;
  min-height:min(62vh,640px);padding:28px 0 clamp(40px,6vh,72px);border-top:1px solid var(--hair)}
.sp-d::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--brand);transform:scaleX(0);transform-origin:left;
  transition:transform .8s cubic-bezier(.65,0,.25,1)}
.sp-d.on::before{transform:none}
.sp-own{display:none}
.sp-alt{aspect-ratio:4/5;overflow:hidden;border-radius:4px;background:var(--well);margin-top:6px}
.sp-alt img{object-position:50% 30%}
.co-2.dark .sp-fig{box-shadow:0 0 0 1px rgba(54,174,203,.55)}

/* 3 · LEDGER. The heading and the ask hold the left column; each coach is a row on the right, the portrait beside the
   facts ruled off like a spec sheet. The rules draw in as each row arrives; pointing at a row opens the second photo. */
.lg{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(40px,5vw,96px);align-items:start}
.lg-head{position:sticky;top:calc(var(--bar) + var(--top) + 32px)}
.lg-head .co-ask{flex-direction:column;align-items:flex-start;gap:14px}
.lg-r{position:relative;display:grid;grid-template-columns:minmax(220px,5fr) minmax(0,7fr);gap:clamp(24px,3vw,56px);padding:clamp(28px,3vw,48px) 0}
.lg-r::before,.lg-r:last-child::after{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:currentColor;transform-origin:left;
  transition:transform 1.2s cubic-bezier(.65,0,.25,1),background .3s,height .3s}
.lg-r:last-child::after{top:auto;bottom:0}
.co-3.dark .lg-r::before{background:var(--brand)}
.lg.js .lg-r:not(.in)::before,.lg.js .lg-r:not(.in)::after{transform:scaleX(0)}
.lg-fig{position:relative;width:100%;max-width:380px;aspect-ratio:4/5;overflow:hidden;border-radius:4px;background:var(--well);transition:clip-path 1.1s cubic-bezier(.65,0,.25,1) .15s}
.lg.js .lg-r:not(.in) .lg-fig{clip-path:inset(0 0 100% 0)}
.lg-fig>img{position:absolute;inset:0;object-position:50% 30%}
@media (hover:hover) and (pointer:fine){
  .lg-r:hover .co-in{transform:none;border-radius:0;box-shadow:0 0 0 0 transparent}
  .lg-r:hover::before{height:2px;background:var(--brand)}
}
.lg-dl{margin-top:24px;border-top:1px solid var(--hair)}
.lg-dl>div{display:grid;grid-template-columns:minmax(96px,28%) 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--hair);font:400 15px/1.45 var(--body)}
.lg-dl dt{color:var(--mu)}
.lg-dl dd{margin:0;font-weight:500}
.lg-dl .co-q{margin:0;border:0}
.lg-dl .co-q li{padding:0 0 6px;border:0}
.lg-dl .co-q li:last-child{padding-bottom:0}

/* 4 · SIDEWAYS. On a desktop the section pins and travels in four stops (the heading, Josh, Darren, the ask), resting at
   each before moving on (co.js); every stop is one screen wide, so nothing arrives cut off. The names at the foot jump
   to each coach; the cyan line under them counts the distance. Phones and reduced motion: a plain stack. */
.co-4{padding:0}
.tr-pin{position:relative}
.tr-fig,.tr-f{overflow:hidden;border-radius:4px;background:var(--well)}
.tr-m{display:block;height:100%}
.tr-fig img{object-position:50% 25%}
.tr-f img{object-position:50% 30%}
.tr-end .co-ask{margin-top:clamp(28px,4vh,48px)}
.tr-ask{font:500 clamp(40px,5.2vw,calc(88px + var(--up) * .1))/1 var(--head);letter-spacing:-.035em}
.tr-where{margin-top:20px;color:var(--mu);font:400 15px/1.4 var(--body)}
.tr-ix{display:none}
@media (min-width:900px) and (prefers-reduced-motion:no-preference){
  .co-4{height:var(--tr-h,420vh)}
  .tr-pin{position:sticky;top:0;height:100vh;overflow:hidden;overflow:clip;display:flex;align-items:center}   /* clip: focus inside must not scroll it */
  .tr-track{display:flex;align-items:center;gap:calc(var(--g) * 2);padding:calc(var(--bar) + var(--top)) var(--g) 64px;will-change:transform}
  .tr-p{flex:none;width:calc(100vw - var(--g) * 2)}
  .tr-intro h2{font-size:clamp(56px,7vw,calc(120px + var(--up) * .14));max-width:12ch}
  .tr-intro .co-lede{margin-top:24px;font-size:calc(19px + var(--up) * .01)}
  .tr-c{display:grid;grid-template-columns:min(32vw,62vh * .8) minmax(280px,1fr) min(20vw,44vh * .8);align-items:end;gap:3vw}
  .tr-fig{aspect-ratio:4/5}
  .tr-f{align-self:start;aspect-ratio:4/5}
  .tr-m{width:116%;margin-left:-8%}
  .tr-end{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
  .tr-end .go{--h:calc(64px + var(--up) * .03);font-size:calc(18px + var(--up) * .01)}
  .tr-ix{position:absolute;left:var(--g);right:var(--g);bottom:clamp(16px,3.4vh,32px);display:flex;align-items:center;gap:6px}
  .tr-ix button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:0;border-radius:999px;background:none;color:var(--mu);
    font:500 14px/1 var(--body);cursor:pointer;transition:color .25s,background .25s}
  .tr-ix button:hover{background:rgba(255,255,255,.08);color:#fff}
  .tr-ix .tr-go[aria-current="true"]{color:#fff;background:rgba(255,255,255,.1)}
  .tr-pv,.tr-nx{width:44px;padding:0!important;color:#fff!important}
  .tr-pv svg{transform:rotate(180deg)}
  .tr-pv:disabled,.tr-nx:disabled{opacity:.3;cursor:default}
  .tr-bar{position:relative;flex:1;height:2px;margin-left:16px;background:var(--hair)}
  .tr-bar b{position:absolute;inset:0;background:var(--brand);transform-origin:left;transform:scaleX(var(--p,0))}
  /* 4 on the light ground (Sam, 22 Oct): the stop names and arrows in ink */
  .co-4.light .tr-ix button:hover{background:rgba(11,13,14,.06);color:var(--ink)}
  .co-4.light .tr-ix .tr-go[aria-current="true"]{color:var(--ink);background:rgba(11,13,14,.08)}
  .co-4.light .tr-pv,.co-4.light .tr-nx{color:var(--ink)!important}
}
@media (max-width:899px),(prefers-reduced-motion:reduce){
  .co-4{padding:clamp(88px,10vw,160px) var(--g)}
  .tr-track{display:flex;flex-direction:column;gap:72px;max-width:calc(1600px + var(--up) * .5);margin:0 auto;transform:none!important}
  .tr-c{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:20px}
  .tr-fig{grid-column:1/-1;aspect-ratio:4/5}
  .tr-txt{grid-column:1/-1}
  .tr-f{grid-column:2;aspect-ratio:4/5}
}
@media (min-width:900px) and (prefers-reduced-motion:reduce){
  .tr-c{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
  .tr-fig{grid-column:1;grid-row:span 2}
  .tr-txt,.tr-f{grid-column:2}
  .tr-f{width:50%}
}

/* 5 · THE BAND. The page's one brand band. The names run slowly behind the portraits, low in contrast so they never
   compete with the faces, and keep the direction you last scrolled. The portraits sit nearly level and lift when you
   point at them; the second photo opens. Black on cyan throughout (cyan cannot carry text, and no text sits on a photo). */
.co-5 .co-top{margin-bottom:0}
.bb{position:relative;margin-top:clamp(40px,5vw,88px)}
.bb-tick{position:absolute;left:calc(var(--g) * -1);right:calc(var(--g) * -1);top:var(--tk,30%);overflow:hidden;pointer-events:none;user-select:none}
.bb-run{display:flex;align-items:center;width:max-content;white-space:nowrap;will-change:transform;color:rgba(0,0,0,.13)}
.bb-run span{padding:0 .16em;font:600 clamp(88px,13vw,calc(220px + var(--up) * .28))/.92 var(--head);letter-spacing:-.05em}
.bb-run i{flex:none;width:clamp(16px,1.6vw,32px);height:clamp(16px,1.6vw,32px);border-radius:50%;background:currentColor}
.bb-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,6vw,120px);align-items:start}
.bb-c:nth-child(1){padding-left:clamp(0px,5vw,96px)}
.bb-c:nth-child(2){margin-top:clamp(24px,4vh,48px)}
.bb-fig{width:min(100%,calc(400px + var(--up) * .3));aspect-ratio:4/5}
.bb-lift{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:6px;background:var(--well);
  box-shadow:0 30px 56px -30px rgba(0,0,0,.5);transition:transform .6s cubic-bezier(.22,1,.36,1),box-shadow .6s}
.bb-lift>img{object-position:50% 25%}
@media (hover:hover) and (pointer:fine){
  .bb-c:hover .bb-lift{transform:translateY(-8px);box-shadow:0 44px 70px -30px rgba(0,0,0,.6)}
  .bb-c:hover .co-in{transform:none;border-radius:0;box-shadow:0 0 0 0 transparent}
}
.bb-txt{margin-top:26px}
.co-5.cyan .more::before{background:#000}
.co-5.cyan .more:hover,.co-5.cyan .more:focus-visible{color:#fff}
.co-5.cyan .more:focus-visible::before{box-shadow:0 0 0 2px var(--brand),0 0 0 4px #000}
.co-5.cyan :focus-visible{outline-color:#000}
/* the dark option: ink, the names faintly cyan behind, a cyan hairline round each portrait, the standard cyan button */
.co-5.dark .bb-run{color:rgba(54,174,203,.24)}
.co-5.dark .bb-lift{box-shadow:0 0 0 1px rgba(54,174,203,.55),0 30px 56px -30px rgba(0,0,0,.7)}
.co-5.dark .go.go-ink{background:var(--brand);color:#000}
.co-5.dark .go.go-ink i{background:#000;color:#fff}

@media (max-width:899px){
  .co-in{transform:scale(.36)}
  .dp{flex-direction:column;gap:56px}
  .dp-fig{height:auto;aspect-ratio:4/5}
  .sp{grid-template-columns:minmax(0,1fr)}
  .sp-stick{display:none}
  .sp-own{display:block;aspect-ratio:4/5;overflow:hidden;margin-bottom:26px;border-radius:4px;background:var(--well)}
  .sp-d{grid-template-columns:minmax(0,1fr);min-height:0;padding-bottom:56px}
  .sp-d::before{display:none}
  .sp-alt{width:56%;justify-self:end;margin-top:0}
  .lg{grid-template-columns:minmax(0,1fr)}
  .lg-head{position:static}
  .lg-r{grid-template-columns:minmax(0,1fr)}
  .lg-fig{max-width:none}
  .bb-grid{grid-template-columns:minmax(0,1fr);gap:64px}
  .bb-c:nth-child(1){padding-left:0}
  .bb-c:nth-child(2){margin-top:0}
  .bb-fig{width:min(86%,420px)}
}
