/* HOME hero: tighter on the girl and the red paddle than the whole-room frame. The `scale` property (not `transform`, which the hero's load
   sequence uses) zooms the photo about a point chosen so that the spectator bench on the right is out of frame, the paddle and the instructor's
   hands land clear of the buttons, and the girl's whole kick sits in the open right of the headline. object-fit keeps the photo covering. */
@media (min-width:1080px){
  /* --hz zoom, --htx how far right (percent of the photo's own width): the photo's right edge always lands at 71.5 percent of the picture (the
     girl's hand, not the bench), so htx = 100 - 71.5 * hz. The wider the screen the wider the headline, so the zoom eases off and the paddle
     moves right with it, always clear of the end of "DEVELOP STRENGTH." */
  .hero--home{--hz:1.252;--htx:10.5%;--hfh:clamp(540px,45vw,740px)}      /* --hfh is the hero's own height (see .hero) */
  .hero--home .hero__ph img{scale:var(--hz);transform-origin:0 0;object-position:50% 100%;
    /* up by whatever puts the top of the window at 36 percent of the photo (the girl's head just inside, the instructor's face above the frame),
       but never so far that the photo's bottom edge lifts off the frame (the mask below dissolves it when it must) */
    translate:var(--htx) max(calc(var(--hz) * (36vw - var(--hfh))),calc((1 - var(--hz)) * 100%));
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 11%),linear-gradient(180deg,#000 90%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 11%),linear-gradient(180deg,#000 90%,transparent 100%);
    -webkit-mask-composite:source-in;mask-composite:intersect}
  .hero--home .hero__shade{background:radial-gradient(42% 42% at 40% 0%,rgba(2,11,18,.8),rgba(2,11,18,0)),linear-gradient(270deg,rgba(2,11,18,.4) 0,rgba(2,11,18,0) 4%),linear-gradient(90deg,#020B12 0%,rgba(2,11,18,.94) 22%,rgba(2,11,18,.55) 36%,rgba(2,11,18,.12) 50%,rgba(2,11,18,0) 64%),linear-gradient(0deg,rgba(2,11,18,.55),rgba(2,11,18,0) 32%)}
}
@media (min-width:1500px){.hero--home{--hz:1.08;--htx:22.8%}.hero--home .hero__ph img{translate:var(--htx) calc(var(--hz) * (36vw - var(--hfh)))}}
@media (min-width:1750px){.hero--home{--hz:.97;--htx:30.6%}}
/* HOME: programme cards (D09), story band (D10), two locations (D11), members band (D12). */
.programs,.loc{background:var(--white);padding-block:clamp(56px,7vw,112px)}
.programs__l{margin-top:clamp(12px,1.4vw,22px);margin-bottom:clamp(28px,3vw,48px);font-size:clamp(1.02rem,.95rem + .3vw,1.22rem);max-width:none;color:var(--grey)}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.5vw,26px)}
.pcard{position:relative;aspect-ratio:.9;border-radius:10px;overflow:hidden;background:var(--card);box-shadow:0 14px 30px -18px rgba(2,11,18,.55)}
.pcard__a{position:absolute;inset:0;display:block;color:#fff}
.pcard__ph{position:absolute;inset:0;overflow:hidden}
.pcard__ph::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,11,18,.94) 0,rgba(2,11,18,.62) 30%,rgba(2,11,18,0) 62%);transition:opacity .4s;opacity:.92}
.pcard__sh{position:absolute;inset:-7% 0;transform:translate3d(0,calc((var(--p,.5) - .5) * -24px),0)}
.pcard__sh picture{display:block;height:100%}
.pcard__sh img,.pcard__sh .ph-fallback{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.ph-fallback{display:block;background:radial-gradient(120% 80% at 70% 20%,rgba(2,123,252,.45),rgba(2,123,252,0) 60%),linear-gradient(160deg,#16243A,#070E19)}
.pcard:hover .pcard__sh img{transform:scale(1.06)}
.pcard:hover .pcard__ph::after{opacity:1}
.pcard__t{position:absolute;left:clamp(12px,1.9vw,30px);right:clamp(34px,3vw,52px);bottom:clamp(12px,1.9vw,30px);display:grid;gap:clamp(4px,.5vw,8px);transition:transform .4s var(--ease)}
.pcard:hover .pcard__t{transform:translateY(-4px)}
.pcard__n{display:block;font-size:clamp(1.15rem,.55rem + 1.7vw,2.1rem);line-height:.98;color:#fff}
.pcard__ln{display:block;padding:.06em .12em .02em 0}
.pcard__g{display:block;font-size:clamp(.92rem,.7rem + .5vw,1.3rem);color:var(--blue-on-dark);font-weight:800}
.pcard__go{position:absolute;right:clamp(10px,1.7vw,26px);bottom:clamp(14px,2vw,32px);width:clamp(20px,1.8vw,28px);height:clamp(20px,1.8vw,28px);color:#fff;transition:transform .35s var(--ease),color .2s}
.pcard__go svg{width:100%;height:100%}
.pcard:hover .pcard__go{transform:translateX(5px);color:var(--blue-hi)}
/* six cards: three to a row (two rows of three) from tablet up; two to a row on phones */
@media (max-width:599px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pcard{aspect-ratio:.82}}
/* story band */
.story{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--ink) 0,#041322 100%);color:var(--on-dark);padding-block:clamp(60px,7.5vw,128px)}
.story__g{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1fr);gap:clamp(28px,5vw,88px);align-items:center}
.story__ph{aspect-ratio:1}
.story__fr{position:relative;height:100%;border-radius:clamp(14px,1.6vw,24px);overflow:hidden;background:#0A1624}
.story__fr picture{display:block;height:100%}
.story__fr img{width:100%;height:100%;object-fit:cover;border-radius:inherit;transform:scale(clamp(.86,calc(.86 + (var(--p,.5) - .08) * .5),1));will-change:transform}
.story__tx{display:grid;gap:clamp(14px,1.5vw,22px)}
.story__tx .shead{margin-bottom:clamp(2px,.8vw,12px)}
.story__tx p,.loc__tx p{text-wrap:pretty}
.story__tx p{font-size:clamp(.98rem,.9rem + .22vw,1.1rem);line-height:1.62}
.story__q{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;align-items:stretch;gap:clamp(16px,2vw,32px);margin-top:clamp(44px,5vw,84px)}
.story__qi{display:grid;place-items:center;width:clamp(58px,6.2vw,92px);border-radius:12px;background:var(--blue);color:#fff}
.story__qi svg{width:46%;height:46%;stroke-width:1.5}
.quote{max-width:none;padding-block:clamp(16px,1.8vw,26px);border-block:1px solid rgba(255,255,255,.2);font-style:italic;font-size:clamp(1.02rem,.92rem + .34vw,1.3rem);line-height:1.6;color:#fff}
@media (max-width:899px){.story__g{grid-template-columns:1fr}.story__ph{max-width:560px}}
/* phones: the people icon is a square above the quote, not a tall bar beside twenty lines of it */
@media (max-width:640px){.story__q{grid-template-columns:1fr;gap:18px}.story__qi{width:64px;height:64px}}
/* two locations */
.loc__g{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(28px,4.4vw,72px);align-items:start}
.loc__tx{display:grid;gap:clamp(12px,1.3vw,20px);align-content:start;padding-top:clamp(0px,2.4vw,34px)}
.loc>.wrap>.shead{margin-bottom:clamp(18px,2.4vw,38px)}
.loc__tx .shead{margin-bottom:clamp(2px,.8vw,12px)}
.loc__tx p{max-width:34em}
.loc__pn{display:grid;grid-template-columns:1fr 1fr;gap:clamp(8px,1.4vw,24px);padding-block:34px}
.lpan{position:relative;display:block;aspect-ratio:.85;overflow:hidden;background:#0E1B2C;clip-path:polygon(9% 0,100% 0,91% 100%,0 100%)}
.lpan--1{translate:0 calc((var(--p,.5) - .5) * -60px)}
.lpan--2{--n:1;translate:0 calc((var(--p,.5) - .5) * 60px)}
.lpan__sh{position:absolute;inset:-3% -9%;transform:translate3d(calc((var(--p,.5) - .5) * -34px),0,0)}
.lpan--2 .lpan__sh{transform:translate3d(calc((var(--p,.5) - .5) * 34px),0,0)}
.lpan__im,.lpan__im picture{display:block;height:100%}
.lpan__im img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.lpan:hover .lpan__im img{transform:scale(1.05)}
.lpan__tab{position:absolute;left:5%;bottom:0;width:74%;background:var(--blue);clip-path:polygon(9% 0,100% 0,91% 100%,0 100%);color:#fff;padding:.5em 1.4em .45em;transition:background .3s}
.lpan__tt{display:inline-flex;align-items:center;gap:.4em;font-size:clamp(1.25rem,.8rem + 1.6vw,2.3rem);line-height:1;padding-right:.2em}
.lpan__tt::after{content:"";width:.5em;height:.5em;border:solid #fff;border-width:.13em .13em 0 0;transform:translateX(-10px) rotate(45deg) skew(8deg,8deg);opacity:0;transition:opacity .3s,transform .4s var(--ease)}
.lpan:hover .lpan__tt::after{opacity:1;transform:translateX(2px) rotate(45deg) skew(8deg,8deg)}
.lpan:hover .lpan__tab{background:var(--blue-hi)}
@media (max-width:899px){.loc__g{grid-template-columns:1fr}}
/* members band */
.mem{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--ink-m),#050F1B);color:#fff;padding-block:clamp(56px,6.4vw,104px)}
.mem__g{position:relative;z-index:1;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:clamp(20px,3.2vw,56px)}
.seal{display:block;width:clamp(150px,17vw,260px);rotate:calc((var(--p,.5) - .5) * 24deg);transition:filter .3s}
.seal img{width:100%;height:auto}
.seal:hover{filter:brightness(1.1)}
.mem__rule{width:1px;align-self:stretch;background:rgba(255,255,255,.22)}
.mem__r{display:grid;gap:clamp(20px,2.4vw,36px);min-width:0}
.revs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.4vw,22px)}
.rev{display:grid;align-content:start;gap:10px;padding:clamp(16px,1.5vw,22px);background:var(--white);border-radius:14px;box-shadow:0 18px 36px -14px rgba(0,0,0,.6);color:#2B2F3A}
.rev__h{display:flex;align-items:center;gap:12px}
.rev__av{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;font-weight:700;font-size:1.15rem;flex:none}
.rev__w{display:grid;line-height:1.25}
.rev__n{font-weight:700;color:var(--blue-small);font-size:.98rem}
.rev__d{font-size:.84rem;color:#5E6372}
.rev__t{font-size:.98rem;line-height:1.55;color:#2B2F3A}
.stars{position:relative;display:inline-block;height:20px;width:max-content}
.stars__b,.stars__f{display:flex;gap:2px}
.stars__f{position:absolute;inset:0;color:var(--gold)}
.stars__b{color:#D9DDE4}
.stars svg{width:20px;height:20px;fill:currentColor}
@media (max-width:1079px){.mem__g{grid-template-columns:1fr;justify-items:center}.mem__rule{display:none}.revs{grid-template-columns:1fr;justify-items:stretch}.mem__r{justify-items:center;width:100%}}
@media (min-width:640px) and (max-width:1079px){.revs{grid-template-columns:repeat(3,1fr)}}
