/* Coaching: the sky hero with photo circles, then the coaches (Glass, from sections/B.html), the coaching week, the three layers
   of support (Sky, from sections/A.html) and the shared sky ending. The sky hero's shared rules are in shared/skyhero.css. */
.b-team{padding-top:56px;align-items:start}
.k-cal{padding-top:10px;padding-bottom:70px}
.a-team .cal{margin-top:0}
.a-stories{padding-bottom:80px}
@media (max-width:760px){
  .b-team{padding-top:30px}
  .k-cal{padding-bottom:40px}
}

/* ---- The hero: photo circles around the headline ----
   Measured on the reference (panel width P): six circles, each .09 P across with a white ring; the top and bottom pairs sit .25 P out
   from the middle, the middle pair .40 P out, so the six make two brackets round the words; a small tilted name chip on the foot of
   each circle; one speech bubble up and to the right of the top left circle.
   Here everything is placed in units of --s (1px on a 1440 screen): --x is the distance from the middle, --y the distance from the top. */
.co-hero .a-copy{max-width:940px}
.co-h{display:block;max-width:11.8em;margin-inline:auto}
.co-hero .a-sub{text-wrap:balance}
/* a small line above the headline says who it is for and names the app and the CRM, as on The System */
.co-eyebrow{color:#fff;font-size:14px;margin:0 0 14px;text-shadow:0 1px 12px rgba(12,32,70,.35)}
@media (max-width:760px){ .co-eyebrow{font-size:10.5px;letter-spacing:1px;margin-bottom:10px} }
.co-bubbles{position:absolute;inset:0;z-index:4;pointer-events:none}      /* in front of the white mist at the foot of the hero */
.co-b{position:absolute;left:50%;top:calc(var(--s)*var(--y) + var(--co-dy,0px));width:calc(var(--s)*132);margin:0;translate:calc(var(--s)*var(--x) - 50%) -50%;pointer-events:auto}
.co-pic{display:block;aspect-ratio:1;border-radius:50%;overflow:hidden;background:#dfe4ea;border:calc(var(--s)*4) solid #fff;box-shadow:0 calc(var(--s)*18) calc(var(--s)*36) rgba(12,32,70,.4)}
.co-pic img{display:block;width:100%;height:100%;object-fit:cover}
.co-b--agent img{transform:scale(1.5)}       /* a video still: enlarged so its black bars fall outside the circle, as the small faces do */
/* the agent's circle: the reviewer's initials, taking turns in step with the reviews in the bubble (with motion turned down the first stays) */
.co-b--agent{--pop:5s}
.co-b--agent .co-pic{display:grid;background:linear-gradient(160deg,#46678c,#1e2f45)}
.co-ri{grid-area:1/1;display:grid;place-items:center;color:#fff;font:700 calc(var(--s)*34)/1 var(--font-sans);letter-spacing:.04em;opacity:0;animation:co-rq 24s ease-in-out infinite;animation-delay:calc(var(--pop,3s) + .3s + var(--i)*6s - .72s)}
.co-ri:first-child{opacity:1}
.co-b figcaption{position:absolute;left:50%;bottom:calc(var(--s)*-10);translate:-50% 0;rotate:-3deg;white-space:nowrap;padding:.34em .8em;border-radius:6px;
  background:#fff;color:var(--navy-950);font:700 clamp(10px,calc(var(--s)*13),14px)/1.2 var(--font-sans);box-shadow:0 8px 18px rgba(12,32,70,.28)}
.co-b:nth-child(even) figcaption{rotate:3deg}
/* a team coach's caption: the title on a small line above the name */
.co-b figcaption small{display:block;font-size:.78em;font-weight:600;letter-spacing:.02em;color:var(--copper-text)}
.co-b figcaption:has(small){text-align:center;bottom:calc(var(--s)*-22)}
/* The circles are spread out and moved down, with even steps between the three rows; the top pair clears the menu bar and the
   bottom pair sits in the clouds. Mike top left, a coach to come top right; a coach to come far left, the agent story far right. */
.co-b--mike{--x:-400;--y:214}   .co-b--coach2{--x:400;--y:214}
.co-b--coach1{--x:-598;--y:398} .co-b--agent{--x:598;--y:398}
.co-b--class{--x:-400;--y:582}  .co-b--lectures{--x:400;--y:582}
/* Mike's line and the agent's line sit on white 3D speech bubbles; the words stay page text on top of the picture.
   Each picture is cropped to the bubble. --w is its width; the padding is the safe area for words measured on the
   picture (as fractions of its width), so the words are centred on the face of the bubble, not on the tail.
   The picture is drawn by ::before, behind the words, with the page's soft navy shadow. */
.co-say{position:absolute;margin:0;width:var(--w);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;isolation:isolate;
  color:var(--navy-950);font:600 max(12px,calc(var(--s)*14))/1.3 var(--font-sans)}
.co-say::before{content:"";position:absolute;inset:0;z-index:-1;background:center/100% 100% no-repeat;filter:drop-shadow(0 calc(var(--s)*14) calc(var(--s)*14) rgba(12,32,70,.3))}
.co-say small{display:block;font-weight:500;font-size:.8em;color:var(--ink-muted);margin-bottom:.15em}
/* Mike: the square bubble up and to the right of his circle, its tail pointing down at him */
.co-say{--w:calc(var(--s)*220);left:calc(var(--s)*122);top:calc(var(--s)*-68);height:calc(var(--w)*.6829);
  padding:calc(var(--w)*.0747) calc(var(--w)*.0916) calc(var(--w)*.2942) calc(var(--w)*.0901)}
.co-say::before{background-image:url(../shared/decor/speech-bubble-square-mike.webp)}
/* the agent: the round bubble under the far right circle, its tail pointing up at her. The padding is the round face of the
   picture (it runs from .244 to .731 of the width down, and is at least .8 of the width wide between .29 and .69), so the
   longest review fits inside the face with room to spare at every width the bubble shows */
.co-say--agent{--w:calc(var(--s)*190);left:calc(var(--s)*-27);top:calc(var(--s)*148);height:calc(var(--w)*.7625);
  padding:calc(var(--w)*.29) calc(var(--w)*.12) calc(var(--w)*.075);font-size:calc(var(--s)*12)}
.co-say--agent::before{background-image:url(../shared/decor/speech-bubble-round-agent-left.webp)}
/* the agent's bubble: four Google reviews take turns, each for 6 s, fading through one another; with motion turned down the first stays */
.co-say--rv{display:grid;place-items:center;font-weight:500;font-size:max(11px,calc(var(--s)*11.5))}
.co-rq{grid-area:1/1;display:block;text-wrap:balance;opacity:0;animation:co-rq 24s ease-in-out infinite;animation-delay:calc(var(--pop,3s) + .3s + var(--i)*6s - .72s)}
.co-rq:first-child{opacity:1}
.co-rq small{color:var(--copper-text);font-size:.78em;margin-bottom:.25em}
.co-rq small b{font-weight:700}
@keyframes co-rq{0%{opacity:0;translate:0 .4em}3%,25%{opacity:1;translate:0 0}28%,100%{opacity:0;translate:0 -.3em}}
/* the bubbles pop up after the page opens (grow past full size, then settle), from the tip of their tails: Mike's at 3 s, the agent's at 5 s */
.co-say{animation:co-pop .7s cubic-bezier(.3,1.4,.5,1) var(--pop,3s) both;transform-origin:12% 100%}
.co-say--agent{transform-origin:22% 0}
@keyframes co-pop{0%{scale:0;opacity:0}60%{scale:1.05;opacity:1}100%{scale:1;opacity:1}}
@media (min-width:761px){
  .co-hero{padding-top:max(150px,calc(var(--s)*318));padding-bottom:calc(var(--s)*46 + 64px)}
}
/* on a narrower computer screen the speech bubbles would crowd the menu and the circles, so they are left out */
@media (max-width:1180px){ .co-say{display:none} }
/* Phone: the six circles become one overlapping row above the headline; the chips and the speech bubble are left out */
@media (max-width:760px){
  .co-bubbles{position:relative;inset:auto;display:flex;justify-content:center;margin:6px 0 20px;padding-left:12px}
  .co-b{position:static;translate:none;width:58px;margin-left:-12px}
  .co-b:nth-child(odd){margin-top:10px}
  .co-pic{border-width:3px;box-shadow:0 8px 16px rgba(12,32,70,.35)}
  .co-b figcaption,.co-say{display:none}
  .co-b--mike{order:1} .co-b--agent{order:2} .co-b--class{order:3} .co-b--lectures{order:4} .co-b--coach1{order:5} .co-b--coach2{order:6}
}

/* phones: the front clouds stay behind the words and the agents pill, which sit low in the hero there */
@media (max-width:760px){ .co-hero>.cb--front{z-index:1} }
/* gentler depth on scroll than the other sky heroes (a.css): the front clouds stay below the photo labels */
.co-hero{--cb-back:80px;--cb-front:-30px}
@media (max-width:760px){ .co-hero{--cb-back:40px;--cb-front:-16px} }

/* ---- The coaches: Mike's photo leads the stage; the team is a row of photo circles with name tags under the words, like the hero. ---- */
/* the section's title, centred above both columns */
.b-teamhead{grid-column:1/-1;text-align:center;margin-bottom:-6px}
.b-teamhead .eyebrow{color:var(--copper-text)}
.b-teamhead h2{font:800 52px/1.06 var(--font-display);color:var(--navy-900);margin:12px 0 0;letter-spacing:-.8px;text-wrap:balance}
.b-teamhead mark{background:linear-gradient(transparent 64%,var(--sand) 64%,var(--sand) 92%,transparent 92%);color:inherit;padding:0 .08em}
.b-team .b-coachtxt{padding-top:34px}
/* the coach on show: role, name, words and quote, under the circles that pick the coach */
.co-role{margin:0 0 8px;font:600 12.5px/1.3 var(--font-sans);letter-spacing:2px;text-transform:uppercase;color:var(--copper-text)}
.co-coach>p:not(.co-role){font-size:17px;max-width:620px}
.co-name{margin:0 0 12px;font:800 32px/1.1 var(--font-display);color:var(--navy-900);letter-spacing:-.4px}
.co-circles{display:flex;flex-wrap:wrap;gap:18px;list-style:none;margin:0 0 26px;padding:0}
.co-circles li{display:grid;justify-items:center;gap:8px;min-width:88px;text-align:center}
.co-c-pic{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 10px 22px rgba(30,47,69,.22);background:#f1f4f7}
.co-c-pic img{width:100%;height:100%;object-fit:cover}
.co-circles li.on .co-c-pic{box-shadow:0 0 0 3px var(--navy-900),0 10px 22px rgba(30,47,69,.22)}
.co-circles li[data-coach-pick]{cursor:pointer}
.co-circles li[data-coach-pick]:focus-visible{outline:none}
.co-circles li[data-coach-pick]:focus-visible .co-c-pic{outline:3px solid var(--copper-text);outline-offset:3px}
.co-c-pic{transition:box-shadow .25s ease}
.co-circles{align-items:flex-end}
.co-circles b{white-space:nowrap;padding:3px 8px;border-radius:6px;background:#fff;box-shadow:0 4px 12px rgba(30,47,69,.16);font:700 12px/1.2 var(--font-sans);color:var(--navy-950);rotate:-2deg}
.co-circles li:nth-child(even) b{rotate:2deg}
@media (max-width:480px){ .co-circles{gap:6px} .co-circles li{min-width:0} .co-circles b{font-size:11px;padding:3px 5px} .co-c-pic{width:60px;height:60px} }
@media (max-width:370px){ .co-circles b{white-space:normal} .co-circles li{width:66px} }
@media (max-width:1100px){ .b-team .b-stage2{margin-bottom:30px} }
@media (max-width:1100px){ .b-teamhead{order:-2;margin-bottom:-10px} .b-team .b-coachtxt{max-width:640px;width:100%;margin:0 auto} }
/* the picture beside the coaches: Mike's portrait as a print leaning one way, a real class as a smaller print leaning the
   other (it plays on YouTube), and the 3D Captivate tile in the corner */
.b-team .b-mike{left:26px;top:34px;width:60%;rotate:-2deg}
.b-team .b-mike img{aspect-ratio:4/5;object-position:50% 20%}
.b-team .b-mike figcaption{top:auto;bottom:14px;left:14px}
.co-classprint{position:absolute;right:4px;bottom:34px;z-index:3;width:46%;rotate:3deg;padding:8px 8px 32px;border-radius:4px;background:#fff;text-decoration:none;
  box-shadow:0 24px 50px rgba(10,20,34,.35);transform:perspective(1400px) rotateY(calc(var(--mx)*-6deg));transition:transform .35s ease-out,box-shadow .25s ease}
.co-classprint:hover{box-shadow:0 30px 60px rgba(10,20,34,.42)}
.co-classprint:focus-visible{outline:3px solid var(--navy-900);outline-offset:4px}
.co-cp-pic{position:relative;display:block}
.co-cp-pic img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:58% 28%}
.co-cp-pic .story-play{left:50%;top:50%;bottom:auto;margin:-23px 0 0 -23px}
.co-cp-cap{position:absolute;left:11px;bottom:8px;font:600 13.5px/1.2 var(--font-sans);color:var(--navy-950)}
/* for the other coaches, a pinned card takes the class print's place: where they sell, and how long */
.co-areacard{position:absolute;right:-6px;bottom:16px;z-index:3;width:40%;rotate:3deg;padding:30px 22px 20px;border-radius:4px;background:#fff;box-shadow:0 24px 50px rgba(10,20,34,.35)}
.co-areacard[data-coach-off]{visibility:hidden}
.co-areacard::before{content:"";position:absolute;left:50%;top:-16px;width:32px;height:38px;margin-left:-16px;background:url(../shared/decor/push-pin-2.webp) center/contain no-repeat}
.co-ac-label{margin:0 0 12px;font:600 12px/1.3 var(--font-sans);letter-spacing:1.6px;text-transform:uppercase;color:var(--copper-text)}
.co-areacard ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.co-areacard li{padding:4px 10px;border-radius:999px;background:#eef2f7;font:600 13.5px/1.3 var(--font-sans);color:var(--navy-950)}
.co-ac-stat{margin:16px 0 0;padding-top:12px;border-top:1px solid #e3e9f0;font:500 13.5px/1.3 var(--font-sans);color:var(--ink-muted)}
.co-ac-stat b{display:block;margin-bottom:4px;font:800 24px/1 var(--font-display);color:var(--navy-900)}
.co-tile{position:absolute;right:18px;top:26px;z-index:2;width:130px;height:auto;filter:drop-shadow(0 18px 24px rgba(10,20,34,.28))}
@media (max-width:760px){
  .b-team .b-stage2{padding:22px 16px 26px}
  .b-team .b-mike{left:auto;top:auto;width:84%;rotate:-1.5deg}
  .b-team .b-mike img{aspect-ratio:1/1;object-position:50% 22%}
  .b-team .b-mike figcaption{top:auto;bottom:40px;left:12px}
  /* a coach's name tag sits low on the square photo, below the face */
  .b-team .b-mike figcaption.co-tag{bottom:10px;padding:8px 12px}
  .b-team .b-mike figcaption.co-tag b{font-size:16px}
  .co-classprint{position:relative;right:auto;bottom:auto;width:62%;justify-self:end;margin-top:-28px;rotate:3deg;transform:none}
  .co-tile{right:14px;top:14px;width:84px}
  /* on phones the pinned card sits in the class print's row, fully below the portrait */
  .co-classprint,.co-areacard{grid-row:2;grid-column:1}
  .co-areacard{position:relative;right:auto;bottom:auto;justify-self:end;align-self:start;width:84%;margin-top:14px;padding:26px 16px 16px;rotate:2deg}
}
@media (max-width:420px){ .b-coachtxt blockquote{font-size:17px} }
@media (max-width:760px){ .b-teamhead h2{font-size:34px} .b-team .b-coachtxt{padding-top:10px} .co-name{font-size:28px} }

/* ---- The coaching week: four session buttons, one panel with a call window and small floating cards ---- */
.cw{background:linear-gradient(180deg,#fff 0,#eef4fa 160px,#e6eef7 calc(100% - 120px),#fff 100%);padding:84px 32px 56px}
.cw-top{max-width:1120px;margin:0 auto;text-align:center}
.cw-top .eyebrow{color:var(--copper-text)}
.cw-top h2{font:800 44px/1.1 var(--font-display);color:var(--navy-900);margin:12px 0 10px;letter-spacing:-.5px;text-wrap:balance}
.cw-line{font-size:17px;margin:0 0 30px}
.cw-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:1120px;margin:0 auto}
.cw-tab{position:relative;display:grid;gap:2px;text-align:left;padding:14px 16px 14px 72px;border-radius:12px;text-decoration:none;color:var(--navy-950);
  background:#fff;border:1px solid var(--border-strong);box-shadow:0 8px 20px rgba(30,47,69,.06);transition:background .2s,box-shadow .2s,transform .2s}
.cw-face{position:absolute;left:14px;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 4px 12px rgba(30,47,69,.22);background:#dfe4ea}
.cw-face img{width:100%;height:100%;object-fit:cover}
/* the two video stills are wide: zoom into Mike's face so it reads at this size */
#cwt-thu .cw-face img{transform:scale(1.8);transform-origin:61% 30%}
#cwt-fri .cw-face img{transform:scale(1.7);transform-origin:52% 22%}
.cw-face-todo{display:grid;place-items:center;width:100%;height:100%;border:1.5px dashed var(--copper);border-radius:50%;background:#f1f4f7}
.cw-face-todo svg{width:22px;height:22px;fill:none;stroke:#8a96a5;stroke-width:1.5;stroke-linecap:round}
.cw-tab small{font:700 11px/1.2 var(--font-sans);letter-spacing:1.6px;text-transform:uppercase;color:var(--copper-text)}
.cw-tab b{font:700 16px/1.3 var(--font-sans)}
.cw-tab span{font:500 13px/1.3 var(--font-sans);color:var(--ink-body)}
.cw-tab:hover{background:#fff;transform:translateY(-2px)}
.cw-tab[aria-selected="true"]{background:var(--navy-900);border-color:var(--navy-900);box-shadow:0 14px 30px rgba(30,47,69,.28)}
.cw-tab[aria-selected="true"] b{color:#fff}
.cw-tab[aria-selected="true"] span{color:rgba(255,255,255,.75)}
.cw-tab[aria-selected="true"] small{color:var(--sand)}
/* a small pointer under the open session, toward its panel */
.cw-tab::after{content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:14px;margin-left:-7px;background:var(--navy-900);transform:rotate(45deg) scale(0);border-radius:2px;transition:transform .2s}
.cw-tab[aria-selected="true"]::after{transform:rotate(45deg) scale(1)}
.cw-sheet{max-width:1120px;margin:44px auto 0;position:relative}
.cw-sheet.is-moving{overflow:hidden;transition:height .5s cubic-bezier(.3,.7,.2,1)}
.cw-panel.is-out{opacity:0;transform:translateX(calc(var(--dir,1)*-24px));transition:opacity .14s,transform .14s}
.cw-panel.is-in .cw-txt{animation:cw-in .35s both}
.cw-panel.is-in .cw-win{animation:cw-in .4s .04s both}
.cw-panel.is-in .cw-float{animation:cw-in .4s .1s both}
@keyframes cw-in{from{opacity:.2;transform:translateY(12px)}}
.cw-in{display:grid;grid-template-columns:.72fr 1.28fr;gap:48px;align-items:start}
@media (min-width:981px){ .cw-txt{padding-top:110px} }
.cw-txt h3{font:800 34px/1.12 var(--font-display);color:var(--navy-900);margin:0 0 14px;letter-spacing:-.3px}
.cw-txt>p{font-size:17px;margin:0 0 20px}
.cw-pts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cw-pts li,.cw-check li{display:flex;align-items:center;gap:10px;font:600 15px/1.35 var(--font-sans);color:var(--navy-950)}
.cw-pts svg,.cw-check svg{flex:none;width:22px;height:22px;padding:4px;border-radius:50%;background:var(--navy-900);fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cw-stage{position:relative;height:470px;--mx:0;--my:0}
.cw-room{position:absolute;left:3%;right:0;top:-10px;bottom:0;overflow:hidden;border-radius:24px;
  background:linear-gradient(180deg,transparent 62%,rgba(255,255,255,.95) 100%),radial-gradient(70% 60% at 85% 10%,rgba(232,214,180,.75),transparent 70%),linear-gradient(170deg,#c9ddf3 0%,#8fb6e4 55%,#5f8fd0 100%)}
.cw-win{position:absolute;left:13%;top:34px;width:76%;border-radius:16px;overflow:hidden;background:#15212f;box-shadow:0 34px 70px rgba(10,20,34,.32);
  transform:perspective(1700px) rotateY(calc(-5deg + var(--mx)*5deg)) rotateX(calc(1.5deg - var(--my)*4deg));transition:transform .35s ease-out}
.cw-bar{display:flex;align-items:center;gap:6px;margin:0;padding:10px 14px;background:#1e2f45;font:600 12px/1 var(--font-sans);color:rgba(255,255,255,.8)}
.cw-bar i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.28)}
.cw-bar span{margin-left:8px}
.cw-video{position:relative;display:block;aspect-ratio:16/9;background:#24364d}
.cw-video>img{display:block;width:100%;height:100%;object-fit:cover}
.cw-live{position:absolute;left:14px;top:14px;padding:5px 10px 5px 22px;border-radius:999px;background:rgba(21,33,47,.7);color:#fff;font:700 11px/1 var(--font-sans);letter-spacing:.6px;text-transform:uppercase}
.cw-live::before{content:"";position:absolute;left:10px;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:#e2584d}
.cw-ctrl{display:flex;justify-content:center;gap:10px;margin:0;padding:10px;background:#1e2f45}
.cw-ctrl span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.14)}
.cw-ctrl .cw-end{background:#d9534a}
.cw-ctrl svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cw-ctrl .cw-end svg{fill:#fff;stroke:none}
.cw-two{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;background:#15212f}
.cw-two img{width:100%;height:100%;object-fit:cover;border-radius:8px}
/* the other person on the call, with the camera off: a quiet tile with a person and a crossed-out camera */
.cw-off{position:relative;display:grid;place-items:center;border-radius:8px;background:radial-gradient(120% 90% at 50% 40%,#33475f,#223246)}
.cw-off-face{width:34%;max-width:120px;aspect-ratio:1;padding:6%;border-radius:50%;background:#4a6080;fill:none;stroke:#c9d6e4;stroke-width:1.5;stroke-linecap:round}
.cw-off-cam{position:absolute;left:8px;bottom:8px;width:26px;height:26px;padding:5px;border-radius:6px;background:rgba(10,20,34,.55);fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cw-share{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;padding:6% 34% 6% 6%;background:#eef1f4;font-size:13px}
.cw-share>*{width:100%}
.cw-pip{position:absolute;right:12px;top:12px;width:30%;aspect-ratio:4/3;display:grid;box-shadow:0 10px 24px rgba(10,20,34,.35);border-radius:8px}
.cw-pip .cw-todo svg{width:32px;height:32px}
.cw-pip .cw-todo em{font-size:9px}
.cw-video>.sample{position:absolute;left:12px;top:12px}
.cw-todo{display:grid;place-content:center;justify-items:center;gap:8px;border-radius:8px;border:2px dashed var(--copper);background:repeating-linear-gradient(135deg,#eef1f4 0 6px,#e3e7eb 6px 7px)}
.cw-todo svg{width:54px;height:54px;fill:none;stroke:#8a96a5;stroke-width:1.4;stroke-linecap:round}
.cw-todo em{padding:0 8px;text-align:center;font:700 11px/1.3 var(--font-sans);letter-spacing:.5px;text-transform:uppercase;font-style:normal;color:var(--copper-text)}
.cw-float{position:absolute;z-index:2;margin:0;transition:transform .35s ease-out}
.cw-date{left:-14px;top:46%;display:grid;width:max-content;min-width:120px;max-width:170px;padding:12px 16px;border-radius:12px;background:#fff;box-shadow:0 18px 36px rgba(14,25,40,.2);text-align:center;
  transform:rotate(-4deg) translate(calc(var(--mx)*-10px),calc(var(--my)*-8px))}
.cw-date b{font:800 26px/1.05 var(--font-display);color:var(--navy-900)}
.cw-date span{font:600 12px/1.3 var(--font-sans);color:var(--ink-muted)}
.cw-chip{right:-30px;bottom:44px;display:flex;align-items:center;gap:10px;padding:12px 16px 12px 12px;border-radius:12px;background:#fff;box-shadow:0 18px 36px rgba(14,25,40,.2);font:500 12.5px/1.3 var(--font-sans);color:var(--ink-muted);
  transform:rotate(2deg) translate(calc(var(--mx)*10px),calc(var(--my)*8px))}
.cw-chip b{display:block;font-size:14px;color:var(--navy-950)}
.cw-chip svg{flex:none;width:34px;height:34px;padding:7px;border-radius:10px;background:#fbe9e6;color:#d9534a;fill:none;stroke:#d9534a;stroke-width:1.8}
.cw-screen{right:-30px;bottom:6px;width:270px;transform:rotate(2deg) translate(calc(var(--mx)*10px),calc(var(--my)*8px))}
.cw-screen .sample{position:absolute;right:12px;top:-10px}
.cw-check{right:-30px;bottom:30px;list-style:none;padding:16px 18px;border-radius:12px;background:#fff;box-shadow:0 18px 36px rgba(14,25,40,.2);display:grid;gap:10px;
  transform:rotate(2deg) translate(calc(var(--mx)*10px),calc(var(--my)*8px))}
.cw-check li{font-size:14px}
.cw-wed{display:table;max-width:min(1120px,100%);margin:48px auto 0;padding:10px 20px;border-radius:999px;background:#fff;border:1px solid var(--border-strong);box-shadow:var(--shadow-card);text-align:center;font:500 15px/1.5 var(--font-sans);color:var(--ink-body)}
.cw-wed a{color:var(--navy-900);font-weight:700;white-space:nowrap}
.a-layers h3{text-wrap:balance}
/* without the script every panel shows, one under another */
.cw:not(.is-js) .cw-panel+.cw-panel{margin-top:60px}
@media (max-width:980px){
  .cw-in{grid-template-columns:1fr;gap:30px}
  .cw-txt{max-width:640px}
  .cw-tabs{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .cw{padding:56px 16px 50px}
  .cw-wed{border-radius:16px;font-size:14px}
  .cw-top h2{font-size:32px}
  .cw-tab{padding:12px 12px 14px}
  .cw-tab::after{display:none}
  .cw-face{position:static;width:32px;height:32px;margin:0 0 6px}
  .cw-face-todo svg{width:18px;height:18px}
  .cw-txt h3{font-size:26px}
  .cw-stage{height:auto;padding:4px 0 0;order:-1}
  .cw-win{position:relative;left:auto;top:auto;width:100%;transform:none}
  .cw-room{display:none}
  .cw-date{display:none}
  .cw-share{font-size:8px}
  .cw-pip{width:26%}
  .cw-pip .cw-todo em{display:none}
  .cw-chip,.cw-check{position:relative;right:auto;bottom:auto;margin:14px 0 0 auto;width:max-content;max-width:92%}
  .cw-screen{display:none}
}
@media (prefers-reduced-motion:reduce){ .cw-panel.is-in *{animation:none!important} .cw-tab{transition:none} }

/* ---- The sky ending: the written testimonial cards rise in one after another as they scroll into view ---- */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .co-end .se-q{animation:co-q linear both;animation-timeline:view();animation-range:entry 5% entry 75%}
    .co-end .qs-slot:nth-child(2) .se-q{animation-range:entry 20% entry 90%}
    .co-end .qs-slot:nth-child(3) .se-q{animation-range:entry 35% entry 105%}
  }
}
@keyframes co-q{from{opacity:0;translate:0 48px}}
/* a shorter quiet stretch of sky before the keys than on The System: this page is shorter */
.co-end .se-close{padding-top:200px}
@media (max-width:760px){ .co-end .se-close{padding-top:120px} }

/* phones: a lighter shadow under the written testimonial cards */
@media (max-width:760px){ .co-end .se-q{box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 12px 24px rgba(3,8,20,.2)} }

/* the coaching week is the page's one coloured band: a rounded piece of deep sky */
#week{margin:0 14px;border-radius:28px;color:#fff;padding-top:96px;padding-bottom:84px;
  background:radial-gradient(60% 30% at 50% 100%,rgba(226,200,154,.35),transparent 72%),linear-gradient(180deg,#173b78 0%,#1f55a3 45%,#2a64b4 78%,#5f9ee3 94%,#a9d2f5 100%)}
#week .eyebrow{color:var(--sand)}
/* clouds behind the week, from the heroes' cloud pictures: a bank rising at the foot, and on wide screens two soft clouds in
   the right-hand margin. Only the right: the "On this page" list passes over the left margin as the page scrolls, and its
   words would sit on white there. Each picture shows one stretch of a wider baked picture (clip-path). */
.cw-clouds{position:absolute;inset:0;z-index:-1;border-radius:inherit;overflow:hidden;pointer-events:none}
.cw-clouds img{position:absolute;display:block;max-width:none}
.cw-cl{display:none !important;width:100%;opacity:.9}
.cw-cl--high{right:-80px;top:-108px;clip-path:inset(0 0 0 72%)}
.cw-cl--low{right:-40px;top:250px;clip-path:inset(0 0 0 70%)}
.cw-bank{left:0;bottom:0;width:100%;opacity:.8}
@media (min-width:1750px),(min-width:1400px) and (hover:hover) and (pointer:fine){ .cw-cl{display:block !important} }
@media (min-width:1440px) and (hover:hover) and (pointer:fine){ .cw-bank{-webkit-mask-image:linear-gradient(90deg,transparent calc(50% - 560px),#000 calc(50% - 380px));mask-image:linear-gradient(90deg,transparent calc(50% - 560px),#000 calc(50% - 380px))} }
.cw{position:relative;isolation:isolate}
.cw-grain{z-index:-1;border-radius:inherit;display:none}
#week .cw-grain{display:block}
#week h2,#week .cw-txt h3{color:#fff}
#week .cw-line,#week .cw-txt>p{color:#fff}
#week .cw-pts li{color:#fff}
#week .cw-pts svg{background:#fff;stroke:var(--navy-900)}
#week .cw-tab{border-color:rgba(255,255,255,.6)}
#week .cw-room{background:linear-gradient(170deg,rgba(255,255,255,.22),rgba(255,255,255,.06));box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
#week .cw-wed{background:rgba(255,255,255,.92)}
@media (max-width:760px){ #week{margin:0 8px;border-radius:20px;
  background:radial-gradient(60% 20% at 50% 100%,rgba(226,200,154,.35),transparent 72%),linear-gradient(180deg,#173b78 0%,#1f55a3 45%,#2a64b4 88%,#5f9ee3 97%,#a9d2f5 100%)} }


/* computers: everything in the hero moves down under the larger top bar, so Mike's speech bubble has room below it; the hero
   grows at its foot, so the front clouds sit lower and the bottom circles' labels and the agent's bubble keep sky around them */
@media (min-width:1025px) and (hover:hover) and (pointer:fine){
  .co-hero{--co-dy:56px;padding-top:calc(max(150px,calc(var(--s)*318)) + 56px);padding-bottom:calc(var(--s)*46 + 64px + 64px)}
}

/* ---- Reviews of Mike as a Realtor, under the coaches: a label, a badge linking to his Google profile, and four quotes
   as speech bubbles, each with a tail pointing at the reviewer's name below it ---- */
.rv{background:linear-gradient(180deg,#fff 0%,var(--blue-soft) 100%);padding:10px 32px 40px}
.rv-head,.rv-list{max-width:1120px;margin:0 auto}
.rv-head{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin-bottom:26px}
.rv-label{margin:0;font:800 26px/1.2 var(--font-display);color:var(--navy-900)}
.rv-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.rv-q{position:relative;display:flex;flex-direction:column;margin:0 0 58px;padding:22px 22px 20px;border-radius:22px;background:linear-gradient(180deg,#fff,#f4f7fb);
  box-shadow:inset 0 1px 0 #fff,0 2px 0 #e3e7eb,0 18px 34px rgba(30,47,69,.12);rotate:-1.2deg}
.rv-q:nth-child(even){rotate:1.2deg;margin-top:22px}
.rv-q::after{content:"";position:absolute;left:30px;bottom:-13px;width:28px;height:28px;background:#f4f7fb;transform:rotate(45deg) skew(10deg,10deg);
  border-radius:0 0 6px 0;box-shadow:4px 4px 8px rgba(30,47,69,.06)}
.rv-q blockquote{margin:12px 0 0}
.rv-q blockquote p{margin:0;font:400 15px/1.6 var(--font-sans);color:var(--navy-950)}
.rv-q figcaption{position:absolute;left:8px;top:calc(100% + 24px);font:500 12.5px/1.4 var(--font-sans);color:var(--ink-muted)}
.rv-q figcaption b{display:block;font-weight:700;font-size:14px;color:var(--navy-950)}
@media (max-width:1100px){ .rv-list{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:760px){
  .rv{padding:6px 0 30px}
  .rv-head{padding:0 16px;margin-bottom:18px}
  .rv-label{font-size:22px}
  .rv-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 16px;gap:12px;padding:4px 16px 28px}
  .rv-q,.rv-q:nth-child(even){flex:0 0 82%;scroll-snap-align:start;rotate:none;margin-top:0}
}
@media (prefers-reduced-motion:reduce){ .rv-badge{transition:none} .rv-badge:hover{transform:none} }

/* ---- Three layers of support: the tiles rise in one after another as they come into view, the pictures in them float
        slowly on their own beats, and a tile lifts a little under the pointer. Still for people who ask for less motion. ---- */
@keyframes co-rise{from{opacity:0;transform:translateY(34px)}}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .a-layers .a-tile{animation:co-rise linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
    .a-layers .a-t2{animation-range:entry 8% entry 63%}
    .a-layers .a-t3{animation-range:entry 16% entry 71%}
  }
}
.a-layers .a-piece .cv-card{animation:a-bob 9s ease-in-out infinite}
.a-layers .a-t3 .a-piece .cv-card{animation-duration:10s;animation-delay:-4s}
.a-layers .cpic--on{animation:a-bob 8s ease-in-out infinite;animation-delay:-2s}
.a-layers .a-tile{transition:translate .35s ease,box-shadow .35s ease}
.a-layers .a-tile:hover{translate:0 -4px;box-shadow:0 24px 46px rgba(30,47,69,.12)}
/* pointing at a tile brings its picture forward: it straightens and grows a little */
.a-layers .a-piece{transition:transform .45s cubic-bezier(.2,.9,.25,1)}
.a-layers .a-tile:hover .a-piece{transform:rotate(0deg) scale(1.06)}
.a-layers .a-t1:hover .cpic--in{transform:rotate(-7deg) translateX(-6px)}
.a-layers .a-t1:hover .cpic--on{transform:rotate(8deg) translateX(8px)}
/* pointing at a tile (or tabbing to it) opens one more line; on touch screens the line simply shows */
.a-layers .a-reveal{margin:10px 0 0;font-weight:600;max-height:0;opacity:0;overflow:hidden;translate:0 6px;transition:max-height .45s ease,opacity .35s ease,translate .35s ease}
.a-layers .a-tile:hover .a-reveal,.a-layers .a-tile:focus-within .a-reveal{max-height:6em;opacity:1;translate:0 0}
.a-layers .a-t1 .a-reveal{color:var(--sand)}
.a-layers .a-t2 .a-reveal,.a-layers .a-t3 .a-reveal{color:var(--copper-text)}
@media (hover:none){ .a-layers .a-reveal{max-height:none;opacity:1;translate:none} }
/* phones: the three chips under the layers heading repeat the three tiles right below them, and the one-line note under
   the tiles repeats The System: both are left out */
@media (max-width:760px){ .a-layers .lh-3,.a-layers .a-t4{display:none} }
