/* ---------- buttons: skewed parallelograms with a chevron; hover sweeps a lighter fill along the slant ---------- */
.btn{position:relative;display:inline-block;white-space:nowrap;overflow:hidden;isolation:isolate;transform:skewX(var(--slant));border:0;cursor:pointer;color:#fff;background:var(--blue);font-size:clamp(1.05rem,.95rem + .25vw,1.2rem);line-height:1;letter-spacing:.01em}
.btn__in{display:inline-flex;align-items:center;gap:.45em;padding:.95em 1.55em .9em;transform:skewX(calc(var(--slant) * -1))}
.btn::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--blue-hi);transform:translateX(-102%);transition:transform .5s var(--ease)}
.btn:hover::before,.btn:focus-visible::before{transform:none}
.btn__c{width:.95em;height:.95em;transition:transform .35s var(--ease)}
.btn:hover .btn__c{transform:translateX(5px)}
.btn--ghost{background:rgba(2,11,18,.5);box-shadow:inset 0 0 0 2px rgba(255,255,255,.92)}
.btn--ghost::before{background:#fff}
.btn--ghost:hover,.btn--ghost:focus-visible{color:var(--ink)}
.btn--white{background:#fff;color:var(--ink)}
.btn--white::before{background:#DCE9FF}
/* ---------- header (D06) ---------- */
.hdr{position:sticky;top:0;z-index:60;background:var(--ink-h);transition:box-shadow .35s}
.hdr__in{display:flex;align-items:center;gap:clamp(18px,2.4vw,40px);height:var(--hh);max-width:calc(var(--max) + 100px);margin-inline:auto;padding-inline:var(--gut);transition:height .4s var(--ease)}
.hdr__logo img{height:calc(var(--hh) * .74);width:auto;transition:height .4s var(--ease)}
.hdr.is-small{box-shadow:0 10px 30px rgba(0,0,0,.45)}
.hdr.is-small .hdr__in{height:calc(var(--hh) * .78)}
.hdr__rule{width:1px;height:calc(var(--hh) * .52);background:rgba(255,255,255,.22)}
.nav{margin-left:auto}
.nav__l{display:flex;gap:clamp(18px,2.3vw,38px);align-items:center}
.nav__i{position:relative;display:flex;align-items:center;gap:3px}
.nav__a{position:relative;color:#F3F4F7;font-size:clamp(.95rem,.78rem + .42vw,1.1rem);font-weight:800;letter-spacing:.012em;padding:10px 0;transition:color .2s}
.nav__a::after{content:"";position:absolute;left:0;right:0;bottom:3px;height:3px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease)}
.nav__a:hover::after,.nav__i.is-active .nav__a::after,.nav__i:focus-within .nav__a::after{transform:scaleX(1)}
.nav__t{display:grid;place-items:center;width:22px;height:30px;border:0;background:none;color:#7E8CA3;cursor:pointer}
.nav__t svg{width:13px;height:13px;transform:rotate(90deg);transition:transform .3s}
.nav__i.open .nav__t svg,.nav__i:hover .nav__t svg{transform:rotate(-90deg)}
.sub::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}      /* hover bridge between the item and its panel */
.sub{position:absolute;left:-14px;top:calc(100% + 17px);min-width:236px;padding:10px;background:#07131F;box-shadow:0 22px 40px rgba(0,0,0,.5);border-top:3px solid var(--blue);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .28s,transform .28s var(--ease),visibility .28s}
.nav__i:hover .sub,.nav__i:focus-within .sub,.nav__i.open .sub{opacity:1;visibility:visible;transform:none}
.sub a{display:block;padding:10px 14px;color:#DADADE;font-weight:600;font-size:.95rem;transition:background .2s,color .2s,padding .25s var(--ease)}
.sub a:hover{background:rgba(2,123,252,.16);color:#fff;padding-left:20px}
.hdr__menu{display:none;position:relative;width:46px;height:46px;border:0;background:none;color:#fff;cursor:pointer}
.hdr__menu svg{width:28px;height:28px}
.hdr__menu-c{display:none}
html.menu-open .hdr__menu-o{display:none}
html.menu-open .hdr__menu-c{display:block}
@media (max-width:1079px){
  .hdr__rule,.nav__t{display:none}
  .hdr__cta{margin-left:auto}
  .hdr__menu{display:grid;place-items:center}
  .nav{position:fixed;left:0;right:0;top:var(--hh);bottom:0;margin:0;background:var(--ink);padding:22px var(--gut) 56px;overflow:auto;opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .3s,transform .4s var(--ease),visibility .3s}
  html.menu-open{overflow:hidden}
  html.menu-open .nav{opacity:1;visibility:visible;transform:none}
  .nav__l{flex-direction:column;align-items:stretch;gap:6px}
  .nav__i{display:block;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:12px;opacity:0;transform:translateX(-22px);transition:opacity .4s,transform .5s var(--ease)}
  html.menu-open .nav__i{opacity:1;transform:none;transition-delay:calc(var(--i) * .06s + .12s)}
  .nav__a{display:inline-block;font-size:1.7rem}
  .nav__a::after{display:none}
  .sub::before{display:none}
  .sub{position:static;opacity:1;visibility:visible;transform:none;background:none;box-shadow:none;border:0;padding:0 0 0 2px;min-width:0;display:flex;flex-wrap:wrap;gap:2px 18px}
  .sub a{padding:6px 0;color:#9FB0C7}
  .sub a:hover{padding-left:0;background:none}
}
@media (max-width:767px){
  .hdr__in{gap:10px}
  .hdr__logo img{height:calc(var(--hh) * .66)}
  .hdr__cta{font-size:.95rem;background:var(--blue-btn)}
  .hdr__cta .btn__in{padding:.8em 1.05em .75em}
  .hdr__cta .btn__c{display:none}
  .hdr__menu{width:40px}
}
/* ---------- hero (D07) ---------- */
.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--ink);min-height:clamp(540px,45vw,740px);display:flex;align-items:center;color:#fff}
.hero__ph{position:absolute;inset:0;z-index:-2;transform:translate3d(0,calc(var(--hp,0) * 34%),0) scale(calc(1 + var(--hp,0) * .08));transform-origin:50% 40%}
.hero__ph{isolation:isolate}
.hero__ph picture{display:block;height:100%}
.hero__ph img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,60% 30%)}
/* the grade (every page's hero): a navy-to-blue multiply over the photo, strongest on the headline side, so a bright room reads as the
   dark blue-lit gym of the mockup and the kick still shows; the white dobok stays light because the right end of the ramp is pale blue */
.hero__ph::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;mix-blend-mode:multiply;
  background:linear-gradient(90deg,var(--navy-a) 0%,#052A74 24%,#2A5AB4 40%,#A9C0EC 53%,#D2DFF7 64%,#8AA8E0 82%,#4A6EBA 100%)}
.hero__ph::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(60% 80% at 66% 42%,rgba(60,155,255,.2),rgba(60,155,255,0) 70%),linear-gradient(0deg,rgba(2,21,60,.45),rgba(2,21,60,0) 40%),linear-gradient(180deg,rgba(2,21,60,.4),rgba(2,21,60,0) 30%)}
.hero__shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020B12 0%,rgba(2,11,18,.94) 26%,rgba(2,11,18,.6) 44%,rgba(2,11,18,.08) 64%,rgba(2,11,18,0) 80%),linear-gradient(0deg,rgba(2,11,18,.55),rgba(2,11,18,0) 32%)}
.hero__shade::after{content:"";position:absolute;inset:0;background:var(--ink);opacity:calc(var(--hp,0) * .62)}
.hero__in{padding-block:clamp(44px,6vw,92px);transform:translate3d(0,calc(var(--hp,0) * -9vh),0)}
.hero__h{color:#F9F9F9}
.hero__sub{margin-top:clamp(18px,2vw,30px);font-size:clamp(1.05rem,.9rem + .5vw,1.4rem);line-height:1.45;color:#F1F3F7;max-width:21em}
.hero__third{margin-top:14px;font-family:var(--display);font-style:italic;font-weight:800;text-transform:uppercase;font-size:clamp(1.3rem,2.4vw,2.4rem);color:#fff}
.hero__btns{display:flex;flex-wrap:wrap;gap:16px 22px;margin-top:clamp(24px,2.6vw,40px)}
@media (min-width:1700px){.pg-home .hero__ph img{object-position:62% 0%}}      /* FE line 4: the box is 3.4:1 on a wide screen and shows half the 16:9 photo; start at its top so the kicking girl's head is never cut */
@media (max-width:767px){
  .hero{display:block;min-height:0}
  .hero__ph{position:relative;inset:auto;aspect-ratio:4/5;width:100%;transform:none}
  .hero__ph img{object-position:50% 40%}
  .hero__ph::after{background:radial-gradient(95% 65% at 50% 56%,#D2DFF7 0%,#8EACE3 48%,#2A5AB4 100%)}
  .hero__shade{inset:0 0 auto 0;height:auto;aspect-ratio:4/5;background:linear-gradient(0deg,#020B12 0%,rgba(2,11,18,.55) 22%,rgba(2,11,18,0) 52%)}
  .hero__shade::after{display:none}
  .hero__in{margin-top:clamp(-120px,-24vw,-70px);padding-block:0 40px;position:relative;transform:none}
  .hero__btns{gap:14px 18px}
}
/* ---------- the blue strip (D08): larger icons, no dividers ---------- */
.strip{background:var(--blue);color:#fff;position:relative;z-index:2}
.strip__l2{display:flex;justify-content:space-around;align-items:center;gap:20px;padding-block:clamp(18px,2vw,30px)}
.strip__i{display:flex;align-items:center;gap:clamp(12px,1.3vw,20px)}
.strip__ic{width:clamp(36px,3.5vw,52px);height:clamp(36px,3.5vw,52px);stroke-width:1.55;flex:none}
.strip__li{display:inline-block;font-size:clamp(1.2rem,1rem + .75vw,1.7rem);line-height:1.1;font-weight:800}
.strip__l{display:block;padding:.15em .3em .1em 0}
@media (max-width:767px){.strip__l2{flex-direction:column;align-items:flex-start;gap:14px}}
/* ---------- blue corner slices (D03), cut across a dark band; slide along their own 30 degree angle ---------- */
:where(:has(> .slice)){position:relative;overflow:clip}      /* any band that carries slices clips them, whatever the page module forgot to set */
/* The box reaches past its corner by exactly the most the scroll slide can move it (42px across, 24px down: the 30 degree angle), so the slide
   never opens a gap against the band's edge; the band clips the part that overhangs. */
.slice{--ox:42px;--oy:24px;position:absolute;width:calc(min(32%,500px) + var(--ox));aspect-ratio:1/.577;pointer-events:none;--sx:1;translate:calc((var(--p,.5) - .5) * 84px * var(--sx)) calc((var(--p,.5) - .5) * 48px);z-index:0}
.slice__a,.slice__b{position:absolute;inset:0}
.slice__a{clip-path:polygon(0 0,100% 0,100% 100%);background:linear-gradient(120deg,rgba(2,115,241,.0) 8%,rgba(2,115,241,.5))}
.slice__b{clip-path:polygon(13% 0,21% 0,100% 79%,100% 87%);background:var(--slice)}
.slice--tr{top:calc(var(--oy) * -1);right:calc(var(--ox) * -1)}
.slice--tl{top:calc(var(--oy) * -1);left:calc(var(--ox) * -1);--sx:-1}
.slice--tl .slice__a,.slice--tl .slice__b{transform:scaleX(-1)}
.slice--bl{bottom:calc(var(--oy) * -1);left:calc(var(--ox) * -1)}
.slice--bl .slice__a,.slice--bl .slice__b{transform:scale(-1,-1)}
.slice--br{bottom:calc(var(--oy) * -1);right:calc(var(--ox) * -1);--sx:-1}
.slice--br .slice__a,.slice--br .slice__b{transform:scaleY(-1)}
@media (max-width:767px){.slice{width:calc(min(36%,190px) + var(--ox))}}
/* ---------- closing band (D15) ---------- */
/* The band's top half (the gutters either side of the navy panel) takes the colour of the section above it, the bottom half the footer's:
   --close-top is white by default; a dark section that can sit above a band sets it here to its own bottom-edge colour, so no white sliver shows
   beside it. Programs' .why ends on a flat var(--ink) edge (inner.css), so that is the value. A new dark section above a band: add it here. */
.close{--close-top:var(--white);padding-inline:clamp(10px,2vw,32px);background:linear-gradient(var(--close-top) 50%,var(--ink-f) 50%)}
:is(.why,.story,.mem) + .close{--close-top:var(--ink)}
.close__p{position:relative;overflow:hidden;max-width:calc(var(--max) + 120px);margin-inline:auto;background:linear-gradient(100deg,var(--navy-a),var(--navy-b));padding:clamp(40px,5.2vw,84px) clamp(22px,5vw,80px);color:#fff}
/* the mockup: heading and sub-line left, the buttons right in ONE row, both blocks centred on the band's middle; stacked on narrow screens */
.close__c{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(20px,3vw,56px)}
.close__t{display:grid;gap:clamp(12px,1.2vw,20px);justify-items:start;min-width:0}
.close__h{font-size:clamp(2.1rem,4.4vw,4.4rem);color:#FBFBFC}
.close--2 .close__h{font-size:clamp(2.1rem,3.7vw,3.9rem)}
.close__s{font-size:clamp(1.05rem,.95rem + .4vw,1.3rem);color:#E6EEFB;max-width:30em}
.close__b{display:flex;flex-wrap:nowrap;gap:16px 22px;justify-content:flex-end;align-items:center}
.close .slice{width:calc(min(15%,210px) + var(--ox))}      /* small corner slices: the stripe stays in the corner, never across the text or the buttons */
/* two buttons: the page module's order stands, "View timetable" first and the primary on the right, as the mockup draws it; only the phone stack puts the primary on top */
@media (max-width:1179px){.close--2 .close__c{grid-template-columns:1fr}.close--2 .close__b{justify-content:flex-start}}
@media (max-width:859px){.close__c{grid-template-columns:1fr}.close__b{justify-content:flex-start}}
@media (max-width:599px){.close__b{flex-direction:column;align-items:stretch;gap:14px;max-width:340px}.close__b .btn{display:block}.close__b .btn__in{justify-content:center}.close__b .btn--primary{order:-1}}
@media (max-width:430px){.close__h{font-size:clamp(1.8rem,9.2vw,2.1rem)}.close--2 .close__h{font-size:clamp(1.8rem,9.2vw,2.1rem)}}
/* ---------- footers ---------- */
.foot{position:relative;overflow:hidden;background:var(--ink-f);color:#FAFBFB}
.foot__logo img{height:clamp(66px,7vw,100px);width:auto}
.foot__soc{display:grid;gap:0}
.soc__r{display:flex;align-items:center;gap:2px}
.soc__n{width:6.4em;font-size:1.15rem;line-height:1;letter-spacing:.01em;color:#fff}      /* the studio labels beside the social icons: the same heavy italic display style as the studio names (base.css), one label style in the footer */
.soc{display:grid;place-items:center;width:44px;height:44px;color:#fff;transition:color .2s,transform .3s var(--ease)}
.soc svg,.fc .soc svg{width:24px;height:24px}
.soc:hover{color:var(--blue-hi);transform:translateY(-3px)}
.foot--big{padding-top:clamp(56px,6vw,96px)}
.foot__g{display:grid;grid-template-columns:1.05fr .95fr .95fr 1.15fr;gap:clamp(24px,3.4vw,56px);position:relative;z-index:1}
.foot__brand{display:grid;gap:20px;align-content:start;padding-right:clamp(0px,2.5vw,40px);border-right:1px solid rgba(255,255,255,.16)}
.foot__brand p{color:#FAFBFB;font-size:1rem;max-width:21em}
.foot__h{font-size:1.4rem;padding-bottom:12px;margin-bottom:18px;border-bottom:2px solid var(--blue);color:#fff;letter-spacing:.01em}
.foot__l{display:grid;gap:18px}
.foot__l li{display:flex;gap:14px;align-items:flex-start;font-size:1rem;line-height:1.45}
.foot__l svg{width:19px;height:19px;flex:none;margin-top:2px;color:#fff}
.foot__l a{transition:color .2s}
.foot__l a:hover{color:var(--blue-hi)}
.cb{display:grid;gap:12px}
.cb input,.cb select{width:100%;height:50px;padding:0 16px;border:2px solid transparent;border-radius:8px;background:#fff;color:#2B2F3A;font-size:1rem;appearance:none;transition:box-shadow .2s,border-color .2s}
.cb input::placeholder{color:#5E6372}
.cb input:focus,.cb select:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(2,123,252,.45)}
.cb__sel{position:relative;display:block}
.cb__ch{position:absolute;right:14px;top:50%;width:16px;height:16px;margin-top:-8px;transform:rotate(90deg);color:#2B2F3A;pointer-events:none}
.cb__go{justify-self:start;margin-top:6px}
.cb__note{min-height:1.4em;font-size:.95rem;color:#A9C7F5}
.foot__base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding-block:clamp(36px,4vw,64px) 26px;font-size:.9rem;color:#9AA7BA;position:relative;z-index:1}
.foot__base a{color:#C7D3E6;border-bottom:1px solid rgba(199,211,230,.4)}
.foot__base a:hover{color:#fff}
.foot--compact{padding-top:8px}
.fc{display:flex;align-items:center;gap:clamp(18px,3vw,56px);flex-wrap:wrap;padding-block:26px 8px}
.fc .foot__logo img{height:clamp(54px,5vw,72px)}
.fc__v{display:flex;gap:6px 22px;flex-wrap:wrap;align-items:center}
.fc__n,.fc__t{display:inline-flex;align-items:center;gap:9px;font-size:1.15rem}
.fc__t{font-family:var(--body);font-weight:500;font-size:1rem}
.fc svg{width:19px;height:19px}
.fc .foot__soc{margin-left:auto}
@media (max-width:1079px){.foot__g{grid-template-columns:1fr 1fr}.foot__brand{border:0}}
@media (max-width:640px){.foot__g{grid-template-columns:1fr}.fc .foot__soc{margin-left:0}}
