/* The coaching stop on the matrix section (art/coach.js, 2026-11-20; from mockups/coach-depth/d). The section is a
   runway whose stage holds (deck.js): 1 screen + 3 screens for its 4 slides (0 the matrix as it stood, 1 to 3 the
   call's moments). Everything here is under .feat-matrix or .cd (the stop's root); the app's card rules (desk-1.css
   .hc .hch .rd .bar, recap-view.css .sq .rv-av .rv-t, comments.css, meeting-comments.css .cm-hang) are copied, scoped
   .cd, every px times --z. No filters, no shadows that blur. */
/* (2026-11-21, variant B, his "we need better transition between the last coaching cardds step and the ai rehearsals")
   + 50svh: the carry's tail (art/coach.js TAIL, deck.js o.tail): the stage stands on while the page scrolls */
.feat.feat-matrix{height:calc(100svh + 300svh + 50svh);padding:0;overflow-anchor:none}
.feat-matrix>.cd-pin{position:sticky;top:0;z-index:0;height:100svh}
/* no script: the section as it always stood, no runway */
html:not(.js) .feat.feat-matrix{height:auto;padding-top:var(--sec)}
html:not(.js) .feat-matrix>.cd-pin{position:static;height:auto}
html:not(.js) .feat-matrix .cd-plane{position:static;padding:0}
/* the page's plane: the section as it always stood (its padding is here now), one projective transform while it rides */
.feat-matrix .cd-plane{position:absolute;inset:0;z-index:0;padding-top:var(--sec);transform-origin:0 0}
.feat-matrix .cd-plane.mv{will-change:transform;pointer-events:none}
/* a moment's cell while its square is out on the road: the place it left */
.feat-matrix .am-c.cd-out>*{visibility:hidden}
.feat-matrix .am-c.cd-out{box-shadow:inset 0 0 0 1.5px #D9CFC4}
/* the matrix's own quote card is replaced by the moments' cards (hidden, not gone: the spine measures it) */
.feat-matrix .am-sat-chip{visibility:hidden!important;pointer-events:none}
.feat-matrix .cd-cv{position:absolute;left:0;top:0;z-index:0;pointer-events:none}
.feat-matrix .art[data-art=coach]{position:absolute;inset:0;z-index:1;width:auto;min-height:0;transform:none;opacity:1;visibility:visible;pointer-events:none}

.cd{
  /* the app's tokens (app/public/shell/desk-1.css :root) */
  --white:#FCFAF7;--ink:#241E1A;--soft:#4F443C;--mute:#706359;--hair:#C6B7A9;--hairs:#E4DAD0;--paper:#fff;--sand:#F8F4EF;
  --sans:Manrope,-apple-system,Segoe UI,Arial,sans-serif;
  -webkit-user-select:none;user-select:none;
}
.cd *{box-sizing:border-box}
.cd-world{position:absolute;inset:0;z-index:1;overflow:clip}
.cd-world>*{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform,opacity;visibility:hidden}

/* ── the copy: one line per moment, top left, under the header ── */
.cd-copy{position:absolute;z-index:4;left:var(--gut);top:max(calc(var(--top-h) + 20px),9vh);width:min(600px,42vw);pointer-events:none}
/* (round 2) each line moves through space with the camera: art/coach.js placeCopy() sets its opacity and transform */
.cd-beat{position:absolute;left:0;top:0;width:100%;opacity:0;visibility:hidden;transform-origin:50% 50%}
.cd-beat h3{margin:0;font:800 clamp(34px,calc(8vw - 62px),58px)/1.04 var(--hf);letter-spacing:-.032em;color:var(--ink);text-wrap:balance}
/* the points under the title: the conn-1 list (conn/conn.css .cn-pts, conn/a1/style.css), square in the moment's hue */
.cd .cd-pts{list-style:none;margin:clamp(10px,1.5vh,20px) 0 0;padding:0;display:flex;flex-direction:column;gap:clamp(3px,.6vh,8px)}
.cd .cd-pts li{position:relative;padding-left:28px;font:400 clamp(16px,min(1.33vw,2.1vh),23px)/1.3 Manrope,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#5F5249;text-wrap:balance}
.cd .cd-pts li::before{content:"";position:absolute;left:2px;top:.36em;width:14px;height:14px;border-radius:4px;background:var(--c,#1E1A17);border:1.5px solid #1E1A17;box-sizing:border-box}

/* ── a moment's square: the matrix cell, then its mark on the road ── */
.cd .bd{border-radius:7px}

/* ── a layer: a card standing on the road ── */
.cd .lay{--z:1.4;width:var(--w);pointer-events:none}
.cd .lay .in{position:relative}
.cd .lay-c{--w:460px}
.cd .lay-r{--w:580px}
.cd .lay-t{--w:470px}

/* ════ the app's coaching card ════ */
.cd .hc{position:relative;background:var(--paper);border:calc(1px*var(--z)) solid var(--accent,var(--ink));border-radius:calc(14px*var(--z));overflow:hidden;font-family:var(--sans);color:var(--ink);text-align:left}
/* (round 3 of the flip, his "the items behind should be already slightly faded away") a card up the road fades toward
   the ground's cream by a veil over it (art/coach.js setV sets --veil, 0 near to about .8 at the horizon), the card
   staying solid: nothing behind it shows through. Its discs and award fade with it */
.cd .lay .hc{isolation:isolate}
.cd .lay .hc::after{content:"";position:absolute;inset:0;z-index:9;background:var(--white);opacity:var(--veil,0);pointer-events:none}
@supports (color:color-mix(in srgb,red 50%,blue)){.cd .lay .hc{border-color:color-mix(in srgb,var(--accent,var(--ink)) calc((1 - var(--veil,0)) * 100%),var(--white))}}
.cd .lay .hang,.cd .lay .aw>*{opacity:calc(1 - var(--veil,0))}
.cd .hch{background:var(--paper);padding:calc(14px*var(--z)) calc(16px*var(--z)) calc(12px*var(--z));border-bottom:1px solid var(--hairs)}
.cd .hch-name{display:flex;align-items:center;justify-content:space-between;gap:calc(12px*var(--z))}
.cd .hch h3{flex:1;min-width:0;margin:0;font-family:var(--sans);font-size:calc(21px*var(--z));font-weight:800;line-height:1.2;letter-spacing:-.026em}
.cd .hch-title{display:flex;align-items:center;gap:calc(8px*var(--z))}
.cd .hch-title svg{flex:none;width:calc(16px*var(--z));height:calc(16px*var(--z))}
.cd .rd-sc{flex:none;display:inline-flex;align-items:center;white-space:nowrap}
/* One mark, everywhere. Five slots; filled length is the score; hue is the category. */
.cd .bar{--v:0;--c:var(--hair);position:relative;flex:none;width:calc(74px*var(--z));height:calc(10px*var(--z));background:var(--hairs);
  -webkit-mask:repeating-linear-gradient(90deg,#000 0 calc(20% - 3px*var(--z)),#0000 calc(20% - 3px*var(--z)) 20%);
  mask:repeating-linear-gradient(90deg,#000 0 calc(20% - 3px*var(--z)),#0000 calc(20% - 3px*var(--z)) 20%)}
.cd .bar::after{content:"";position:absolute;inset:0 auto 0 0;width:calc(var(--v)*100%);background:var(--c)}
.cd .rd{--band:color-mix(in srgb,var(--hue,#B97D67) 15%,var(--white));padding:calc(14px*var(--z)) calc(16px*var(--z)) calc(16px*var(--z))}
.cd .rd p{margin:0;font-size:calc(15px*var(--z));line-height:1.5}
.cd .rd-found{color:var(--ink);font-weight:700;text-wrap:pretty}
.cd .sq{display:block;min-width:0;margin:calc(11px*var(--z)) 0 0;padding:calc(9px*var(--z)) calc(12px*var(--z));border-left:calc(2px*var(--z)) solid var(--ink);border-radius:0 calc(8px*var(--z)) calc(8px*var(--z)) 0;
  background:var(--band);font-size:calc(15px*var(--z));line-height:1.5;font-weight:500;color:var(--ink);text-align:left;overflow-wrap:break-word}
.cd .rd>.sq:first-child{margin-top:0}
.cd .sq-by{display:inline;margin-right:calc(7px*var(--z));white-space:nowrap}
.cd .rv-av{--av:calc(18px*var(--z));width:var(--av);height:var(--av);border-radius:999px;display:inline-grid;place-items:center;overflow:hidden;border:1px solid var(--ink);background:#84AA7E;color:var(--ink);
  font-size:calc(7px*var(--z));line-height:1;font-weight:800;letter-spacing:0;vertical-align:middle;position:relative;top:-1px;margin-right:calc(5px*var(--z))}
.cd .rv-av[data-side="ours"]{background:var(--paper)}
.cd .sq-n{font-size:calc(14px*var(--z));font-weight:800;line-height:calc(18px*var(--z));color:var(--ink);text-decoration:underline;text-decoration-color:var(--hair);text-decoration-thickness:1px;text-underline-offset:calc(3px*var(--z))}
.cd .rv-t{display:inline-flex;align-items:center;gap:calc(4px*var(--z));height:calc(20px*var(--z));margin-left:calc(6px*var(--z));padding:0 calc(7px*var(--z));border:1px solid var(--hairs);border-radius:999px;background:var(--paper);
  font:700 calc(11.5px*var(--z))/1 var(--sans);font-variant-numeric:tabular-nums;color:var(--ink);vertical-align:calc(1px*var(--z));cursor:default}
.cd .rv-t svg{width:calc(7px*var(--z));height:calc(8px*var(--z));fill:currentColor}
.cd .rd-next{display:flex;gap:calc(9px*var(--z));align-items:flex-start;color:var(--soft);text-wrap:pretty}
.cd .rd-next b{flex:none;color:var(--ink);font-weight:800}
/* the three discs hanging on the card's bottom edge: like, share, comments */
.cd .hang{position:absolute;right:calc(14px*var(--z));bottom:calc(-14px*var(--z));display:flex;gap:calc(9px*var(--z));z-index:3}
.cd .cm-hang{min-width:calc(28px*var(--z));height:calc(28px*var(--z));border-radius:999px;background:var(--ink);color:var(--white);display:grid;grid-auto-flow:column;gap:calc(4px*var(--z));place-items:center;cursor:default;
  box-shadow:0 0 0 calc(3px*var(--z)) var(--paper);font:800 calc(11.5px*var(--z))/1 var(--sans)}
.cd .cm-hang svg{width:calc(15px*var(--z));height:calc(15px*var(--z))}
.cd .cm-hang.sh-hang svg{width:calc(17px*var(--z));height:calc(17px*var(--z))}
.cd .cm-hang.lk svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.cd .cm-hang.lk.liked svg{fill:#e32f4c;stroke:#e32f4c}
.cd .cm-hang.lk b:empty{display:none}
.cd .cm-hang.lk.many{padding:0 calc(9px*var(--z)) 0 calc(7px*var(--z))}
/* a like bursts (comments-core.js burst, comments.css .lfx .lk-pop); the burst is put on the body, over everything */
.cd .lk-pop>svg{animation:cd-lk-pop .45s cubic-bezier(.3,1.4,.5,1) both}
@keyframes cd-lk-pop{0%{transform:scale(.7)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
.cd-lfx{position:fixed;z-index:300;width:0;height:0;pointer-events:none}
.cd-lfx svg{position:absolute;opacity:0;left:calc(-4px*var(--s,1));top:calc(-4px*var(--s,1));width:calc(8px*var(--s,1));height:calc(8px*var(--s,1));
  animation:cd-lk-burst .75s cubic-bezier(.2,.7,.3,1) .04s both}
.cd-lfx svg:nth-child(even){left:calc(-3px*var(--s,1));top:calc(-3px*var(--s,1));width:calc(6px*var(--s,1));height:calc(6px*var(--s,1))}
.cd-lfx svg path{fill:#e32f4c;stroke:none}
.cd-lfx svg:nth-child(even) path{fill:#ff8fa3}
@keyframes cd-lk-burst{0%{opacity:0;transform:rotate(var(--a)) translateY(calc(-9px*var(--s,1))) rotate(calc(-1*var(--a))) scale(.6)}12%{opacity:1}55%{opacity:1}
  100%{opacity:0;transform:rotate(var(--a)) translateY(calc(-32px*var(--s,1))) rotate(calc(-1*var(--a))) scale(.7)}}
/* the thread under the card's reading (comments.css .cm-thread .cm-msg .cm-bub, the LinkedIn line) */
.cd .thr{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s cubic-bezier(.2,.8,.2,1)}
.cd .thr.on{grid-template-rows:1fr}
.cd .thr-in{overflow:hidden;min-height:0}
.cd .cm-thread{--tline:rgba(128,128,128,.42);border-top:1px solid var(--hairs);background:var(--sand);padding:calc(6px*var(--z)) calc(14px*var(--z)) calc(22px*var(--z))}
.cd .cm-msg{display:grid;grid-template-columns:calc(26px*var(--z)) minmax(0,1fr);gap:calc(9px*var(--z));margin-top:calc(6px*var(--z));opacity:0;transform:translateY(calc(8px*var(--z)));transition:opacity .3s ease,transform .4s cubic-bezier(.2,.8,.2,1)}
.cd .cm-msg.on{opacity:1;transform:none}
.cd .cm-av{width:calc(26px*var(--z));height:calc(26px*var(--z));border-radius:50%;background:var(--ink);color:var(--white);display:grid;place-items:center;font-size:calc(9.5px*var(--z));font-weight:800;letter-spacing:.02em;flex:none}
.cd .cm-av.sm{width:calc(22px*var(--z));height:calc(22px*var(--z));font-size:calc(8.5px*var(--z))}
.cd .cm-tr>.cm-msg:first-child{position:relative}
.cd .cm-tr>.cm-msg:first-child:has(+.cm-reps)::after{content:'';position:absolute;left:calc(12.25px*var(--z));top:calc(30px*var(--z));bottom:0;pointer-events:none;border-left:calc(1.5px*var(--z)) solid var(--tline)}
.cd .cm-reps{margin-left:calc(35px*var(--z))}
.cd .cm-reps>*{position:relative}
.cd .cm-reps>.cm-msg.reply{grid-template-columns:calc(22px*var(--z)) minmax(0,1fr)}
.cd .cm-reps>.cm-msg.reply::before{content:'';position:absolute;left:calc(-22.75px*var(--z));top:calc(-6px*var(--z));width:calc(20px*var(--z));height:calc(18px*var(--z));pointer-events:none;box-sizing:border-box;
  border:0 solid var(--tline);border-left-width:calc(1.5px*var(--z));border-bottom-width:calc(1.5px*var(--z));border-bottom-left-radius:calc(10px*var(--z))}
.cd .cm-bub{background:var(--paper);border:1px solid var(--hairs);border-radius:calc(3px*var(--z)) calc(12px*var(--z)) calc(12px*var(--z)) calc(12px*var(--z));padding:calc(8px*var(--z)) calc(12px*var(--z));font-size:calc(14px*var(--z));line-height:1.42;color:var(--ink);text-align:left}
.cd .cm-by{display:flex;align-items:baseline;gap:calc(6px*var(--z));margin:0;font-size:calc(12.5px*var(--z))}
.cd .cm-by b{font-weight:800}
.cd .cm-by small{color:var(--mute);font-size:calc(11.5px*var(--z));font-weight:600}
.cd .cm-meta{display:flex;align-items:center;gap:calc(14px*var(--z));margin:calc(5px*var(--z)) 0 calc(2px*var(--z)) calc(2px*var(--z));font-size:calc(12px*var(--z));font-weight:700;color:var(--mute)}
.cd .cm-like{display:inline-flex;align-items:center;gap:calc(5px*var(--z));cursor:default}
.cd .cm-like svg{flex:none;width:calc(15px*var(--z));height:calc(15px*var(--z));fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.cd .cm-like[aria-pressed="true"]{color:#e32f4c}
.cd .cm-like[aria-pressed="true"] svg{fill:currentColor}
/* the award's object out of the card's top-left corner (award-art.js cornerObject) */
.cd .aw{position:absolute;left:0;top:0;z-index:4;transform:scale(0);transform-origin:0 0;transition:transform .5s cubic-bezier(.3,1.5,.5,1)}
.cd .aw.on{transform:scale(1)}
/* the head makes room for the mark */
.cd .lay-r .hch{transition:padding-left .35s cubic-bezier(.2,.8,.2,1)}
.cd .lay-r.awd .hch{padding-left:calc(16px*var(--z) + 40px)}

/* ── the coach's part of the card, on its own: it comes out of the orb ── */
.cd .lay-t .hc{--accent:#ff6414;border-width:calc(1.5px*var(--z))}
.cd .lay-t .rd{padding-left:var(--orbpad,86px)}
.cd .cd-btn{display:inline-flex;align-items:center;gap:9px;height:50px;margin:16px 0 0;padding:0 22px 0 18px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:800 20px/1 var(--sans);letter-spacing:-.005em;white-space:nowrap;cursor:pointer;pointer-events:auto;transition:transform .2s ease}
.cd .cd-btn:hover{transform:translateY(-1px)}
.cd .cd-btn svg{display:block}

/* ── the coach's orb (art/flow.js, the ember) ── */
.cd-orb{position:absolute;left:0;top:0;z-index:2;pointer-events:none;transform-origin:0 0;will-change:transform,opacity;opacity:0}
.cd-orb-fb{position:absolute;left:0;top:0;z-index:2;pointer-events:none;transform-origin:0 0;border-radius:50%;background:radial-gradient(circle at 34% 30%,#ffc04a,#ff6414 48%,#e32f4c 100%);opacity:0;display:none}

@media (max-width:759px){
  .cd-copy{width:calc(100vw - 2 * var(--gut));top:calc(var(--top-h) + 14px)}
  .cd-beat h3{font-size:clamp(26px,7.2vw,32px);line-height:1.06}
  .cd .lay-r{--w:490px}.cd .lay-t{--w:420px}
  .cd .cd-btn{height:48px;font-size:19px}
}
@media (prefers-reduced-motion:reduce){.cd .thr,.cd .cm-msg,.cd .aw{transition:none}}

.cd .rd-next .rd-q{font-weight:700;font-style:italic;color:var(--ink)}

/* (round 3) the carry: the bead rides the page's thread and is where it has played to; the page's own playhead dot
   is not shown beside it (art/coach.js puts html.cd-carry on while the stage goes with the page) */
html.cd-carry .sp-pin{opacity:0!important;transition:none!important}

/* (2026-11-21, review: a blur on the full-screen plane cost frames and softened a 2 px strip: the fade alone does it) */
.cd .cd-plane{filter:none !important}
