/* BAKIPA FITNESS - Next Level visual layer v1. Existing palette, copy, prices and images stay authoritative. */
:root{
  --nl-wrap:1280px;--nl-gutter:clamp(1rem,3vw,2.5rem);--nl-xl:clamp(3.8rem,3rem + 3vw,7rem);
  --nl-l:clamp(2.3rem,1.7rem + 2vw,4.2rem);--nl-r:36px;
  --nl-soft:0 18px 50px -36px rgba(16,34,31,.42);--nl-photo:0 42px 90px -52px rgba(16,34,31,.58);
}
html{scroll-padding-top:96px}body{background:radial-gradient(circle at 92% 3%,color-mix(in oklab,var(--aqua) 7%,transparent),transparent 28rem),var(--paper)}
.container{max-width:var(--nl-wrap);padding-inline:var(--nl-gutter)}main{overflow:clip}section{padding-block:var(--nl-xl)}
h1,h2,h3,h4{letter-spacing:-.025em;text-wrap:balance}h1{line-height:1.01}h2{line-height:1.06}p,li,dd{text-wrap:pretty}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.18em}.eyebrow::before{width:32px}
.button{min-height:48px;padding-inline:1.55rem;box-shadow:none;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.button:hover{transform:translateY(-2px);box-shadow:0 16px 30px -24px rgba(16,34,31,.72)}.button-secondary{background:color-mix(in oklab,var(--paper) 86%,transparent)}
.site-header{transition:box-shadow .2s ease,background .2s ease,border-color .2s ease}.site-header[data-nl-scrolled="true"]{box-shadow:0 14px 32px -28px rgba(16,34,31,.78)}
.site-header .brand-mark{box-shadow:0 10px 26px -20px rgba(14,61,58,.85)}

/* Inner pages */
.breadcrumbs{padding-top:1.35rem;padding-bottom:.7rem}.page-hero{position:relative;padding-top:clamp(1.4rem,3vw,2.4rem);padding-bottom:var(--nl-l)}
.page-hero::before{content:"";position:absolute;inset:-120px -10vw 0 auto;width:min(46vw,720px);pointer-events:none;background:radial-gradient(circle,color-mix(in oklab,var(--aqua) 13%,transparent),transparent 68%)}
.page-hero-inner{position:relative;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:clamp(2.4rem,6vw,6.2rem)}
.page-hero h1{font-size:clamp(2.8rem,5.2vw,5rem)}.page-hero .lead{font-size:clamp(1.05rem,.93rem + .45vw,1.3rem)}
.page-hero-photo{border-radius:var(--nl-r) var(--nl-r) var(--nl-r) 16px;border:1px solid color-mix(in oklab,var(--line) 55%,transparent);box-shadow:var(--nl-photo)}
.page-hero.wide .page-hero-inner{max-width:960px;margin-inline:auto;padding-block:clamp(1rem,2vw,2.2rem)}
.detail-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:clamp(2.2rem,5vw,5rem)}.detail-copy{font-size:1.02rem}
.info-panel{top:112px;border:0;border-radius:26px;background:color-mix(in oklab,var(--white) 84%,var(--paper));box-shadow:var(--nl-soft);padding:clamp(1.4rem,2.8vw,2rem)}
.info-panel dl>div{border-bottom-style:solid}.callout{border-left-width:3px;background:color-mix(in oklab,var(--sand) 18%,var(--paper))}
.related-card{border-radius:26px;background:color-mix(in oklab,var(--white) 72%,var(--paper));box-shadow:none}
.price-list{max-width:860px;gap:0;border-top:1px solid var(--line)}.price-row{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:1.2rem .25rem}
.form-card{border:0;border-radius:26px;background:color-mix(in oklab,var(--white) 86%,var(--paper));box-shadow:var(--nl-soft);padding:clamp(1.35rem,3vw,2.35rem)}
.form-card input,.form-card select,.form-card textarea{min-height:48px;border-radius:13px;background:var(--white)}.form-card textarea{min-height:150px}.prose{max-width:820px}

/* Home art direction, scoped by its unique hero structure without changing copy/markup. */
body:has(>main>.hero) .hero{position:relative;padding-top:clamp(1.3rem,3vw,2.6rem);padding-bottom:clamp(3.2rem,6vw,6rem);overflow:clip}
body:has(>main>.hero) .hero::before{content:"";position:absolute;width:min(58vw,900px);aspect-ratio:1;right:-22vw;top:-30vw;border-radius:50%;background:radial-gradient(circle,color-mix(in oklab,var(--aqua) 14%,transparent),transparent 67%)}
body:has(>main>.hero) .hero-grid{position:relative;z-index:1;grid-template-columns:minmax(0,.88fr) minmax(460px,1.12fr);gap:clamp(2.5rem,6vw,6.5rem);min-height:min(760px,calc(100vh - 92px))}
body:has(>main>.hero) .hero-copy{max-width:660px}body:has(>main>.hero) .hero-copy h1{font-size:clamp(3.2rem,5.7vw,5.8rem);line-height:.98;margin-bottom:1.35rem}
body:has(>main>.hero) .hero-copy .lead{max-width:590px;font-size:clamp(1.05rem,.94rem + .48vw,1.32rem);margin-bottom:1.8rem}
body:has(>main>.hero) .hero-photo{aspect-ratio:auto;min-height:610px;border-radius:46px 46px 46px 18px;box-shadow:var(--nl-photo);transform:rotate(.25deg)}
body:has(>main>.hero) .hero-photo img{object-position:54% center;transform:scale(1.012)}body:has(>main>.hero) .hero-photo::after{background:linear-gradient(180deg,transparent 52%,rgba(14,61,58,.34))}
body:has(>main>.hero) .hero-chip{border:1px solid rgba(255,255,255,.62);backdrop-filter:blur(14px);background:rgba(255,255,255,.9);box-shadow:0 22px 44px -32px rgba(16,34,31,.85)}
body:has(>main>.hero) .hero-chip.one{left:22px;bottom:22px}body:has(>main>.hero) .hero-chip.two{right:22px;top:22px}
body:has(>main>.hero) .hero-badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:2.25rem;padding-top:1.35rem}
body:has(>main>.hero) .hero-badges>div{display:grid;grid-template-columns:26px minmax(0,1fr);gap:.65rem;padding-right:.9rem;margin-right:.9rem;border-right:1px solid var(--line)}
body:has(>main>.hero) .hero-badges>div:last-child{border-right:0;padding-right:0;margin-right:0}

/* Fact ribbon */
body:has(>main>.hero) .ribbon{padding-block:0;background:color-mix(in oklab,var(--teal) 94%,var(--ink))}
body:has(>main>.hero) .ribbon-inner{gap:0;text-align:left}body:has(>main>.hero) .ribbon-inner>div{min-height:112px;display:flex;flex-direction:column;justify-content:center;padding:1.25rem clamp(1rem,2vw,1.7rem);border-right-color:rgba(247,243,236,.12)}
body:has(>main>.hero) .ribbon-inner>div:first-child{padding-left:0}body:has(>main>.hero) .ribbon-inner strong{font-size:clamp(1.55rem,1.2rem + .9vw,2.05rem)}

/* Orientation: de-cardified editorial grid */
body:has(>main>.hero) .chooser-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-block:1px solid var(--line)}
body:has(>main>.hero) .chooser-card{min-height:220px;display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:1.1rem;align-content:start;border:0;border-radius:0;background:transparent;padding:clamp(1.5rem,3vw,2.4rem);box-shadow:none}
body:has(>main>.hero) .chooser-card:nth-child(odd){border-right:1px solid var(--line)}body:has(>main>.hero) .chooser-card:nth-child(-n+2){border-bottom:1px solid var(--line)}
body:has(>main>.hero) .chooser-card:hover{transform:none;box-shadow:none;background:color-mix(in oklab,var(--teal-3) 5%,transparent)}
body:has(>main>.hero) .chooser-card .badge{grid-row:1/span 3;width:52px;height:52px;border-radius:50%;background:color-mix(in oklab,var(--teal-3) 11%,var(--paper))}
body:has(>main>.hero) .chooser-card h3{font-size:clamp(1.25rem,1.05rem + .55vw,1.62rem)}body:has(>main>.hero) .chooser-card small{color:var(--coral-2)}

/* Courses: asymmetric photo gallery using existing semantic cards. */
body:has(>main>.hero) .course-list{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(1rem,2vw,1.55rem)}
body:has(>main>.hero) .course-item{grid-column:span 6;grid-template-columns:1fr;grid-template-rows:minmax(300px,38vw) auto;border-radius:var(--nl-r);border-color:color-mix(in oklab,var(--line) 68%,transparent);box-shadow:var(--nl-soft);overflow:clip}
body:has(>main>.hero) .course-item:nth-child(1),body:has(>main>.hero) .course-item:nth-child(4){grid-column:span 7}body:has(>main>.hero) .course-item:nth-child(2),body:has(>main>.hero) .course-item:nth-child(3){grid-column:span 5}
body:has(>main>.hero) .course-item .cover{min-height:0;aspect-ratio:auto;overflow:hidden}body:has(>main>.hero) .course-item .cover img{transition:transform .55s cubic-bezier(.2,.7,.2,1)}
body:has(>main>.hero) .course-item:hover .cover img{transform:scale(1.025)}body:has(>main>.hero) .course-item .body{padding:clamp(1.35rem,2.5vw,2rem)}
body:has(>main>.hero) .course-item h3{font-size:clamp(1.65rem,1.35rem + .9vw,2.2rem)}body:has(>main>.hero) .course-meta{padding-top:.9rem;border-top:1px solid var(--line)}

/* Schedule: one dark timeline-like scene. */
body:has(>main>.hero) section:has(.schedule-week){position:relative;background:color-mix(in oklab,var(--teal) 94%,var(--ink));color:var(--paper)}
body:has(>main>.hero) section:has(.schedule-week) .section-head h2{color:var(--paper)}body:has(>main>.hero) section:has(.schedule-week) .section-head p{color:rgba(247,243,236,.7)}body:has(>main>.hero) section:has(.schedule-week) .eyebrow{color:var(--sand)}
body:has(>main>.hero) .schedule-week{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-block:1px solid rgba(247,243,236,.16)}
body:has(>main>.hero) .day-card{padding:1.5rem clamp(1rem,2.5vw,2rem);border:0;border-right:1px solid rgba(247,243,236,.13);border-radius:0;background:transparent}body:has(>main>.hero) .day-card:last-child{border-right:0}
body:has(>main>.hero) .day-card .day-head{border-bottom-color:rgba(247,243,236,.14)}body:has(>main>.hero) .day-card .day-head strong{color:var(--paper)}body:has(>main>.hero) .day-card .day-head small{color:rgba(247,243,236,.55)}
body:has(>main>.hero) .slot{position:relative;grid-template-columns:88px 1fr;padding:.85rem 0 .85rem 1.15rem;background:transparent;border-radius:0}body:has(>main>.hero) .slot::before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;left:0;top:1.22rem;background:var(--sand);box-shadow:0 0 0 5px rgba(231,198,140,.12)}
body:has(>main>.hero) .slot .time,body:has(>main>.hero) .slot .slot-body .ask{color:var(--sand)}body:has(>main>.hero) .slot .time small,body:has(>main>.hero) .slot .slot-body .venue{color:rgba(247,243,236,.52)}body:has(>main>.hero) .slot .slot-body a.name{color:var(--paper)}

/* Calm editorial zones and connected process. */
body:has(>main>.hero) .split-band{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:clamp(2.8rem,7vw,7rem)}body:has(>main>.hero) .split-band .split-photo{aspect-ratio:6/5;border-radius:var(--nl-r) var(--nl-r) 18px var(--nl-r);box-shadow:var(--nl-photo)}
body:has(>main>.hero) .split-band ul{border-top:1px solid var(--line)}body:has(>main>.hero) .split-band ul li{padding-block:.75rem;border-bottom:1px solid var(--line)}
body:has(>main>.hero) .about-band{grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:clamp(2.6rem,6vw,6rem);padding:clamp(2rem,5vw,4.5rem);border-radius:var(--nl-r);border:1px solid var(--line);background:radial-gradient(circle at 90% 10%,color-mix(in oklab,var(--aqua) 8%,transparent),transparent 28rem),var(--paper-2)}
body:has(>main>.hero) .about-band .about-photo{border-radius:28px 28px 28px 12px;box-shadow:var(--nl-photo)}body:has(>main>.hero) .about-band .facts{gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}body:has(>main>.hero) .about-band .facts div{min-height:112px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:rgba(255,255,255,.52)}
body:has(>main>.hero) .steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-block:1px solid var(--line)}body:has(>main>.hero) .step{min-height:220px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:1.8rem clamp(1rem,2vw,1.6rem)}body:has(>main>.hero) .step:last-child{border-right:0}

/* Shared FAQ, contact and finale. */
.faq-list{gap:0}details.faq{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}details.faq:first-child{border-top:1px solid var(--line)}details.faq[open]{box-shadow:none;border-color:var(--line)}details.faq summary{padding:1.2rem .2rem}details.faq p{padding:0 .2rem 1.35rem}
.contact-grid{gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.contact-card{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:color-mix(in oklab,var(--white) 54%,transparent);padding:clamp(1.3rem,2.6vw,2rem)}
.final-cta{position:relative;overflow:hidden;border-radius:var(--nl-r);min-height:360px;justify-content:center;background:linear-gradient(135deg,var(--teal) 0%,#0a302d 72%,var(--teal-2) 100%);box-shadow:var(--nl-photo)}
.final-cta::before{content:"";position:absolute;width:410px;aspect-ratio:1;right:-150px;top:-240px;border-radius:50%;border:1px solid rgba(247,243,236,.13);box-shadow:0 0 0 62px rgba(247,243,236,.025),0 0 0 124px rgba(247,243,236,.016)}.final-cta>*{position:relative;z-index:1}.final-cta .button{background:var(--sand);border-color:var(--sand);color:var(--teal)}

/* Course Finder: premium guided experience; data hooks and scoring remain untouched. */
.finder-shell{max-width:1060px}.finder-intro{gap:0;margin-bottom:clamp(1.8rem,4vw,3rem);border-block:1px solid var(--line)}.finder-intro>div{min-height:128px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:1.2rem clamp(.9rem,2vw,1.5rem)}.finder-intro>div:first-child{padding-left:0}.finder-intro>div:last-child{border-right:0;padding-right:0}
.finder-progress{height:6px;background:color-mix(in oklab,var(--line) 76%,transparent)}.finder-progress>span{background:linear-gradient(90deg,var(--teal-3),var(--aqua))}
.finder-form{position:relative;border:0;border-radius:var(--nl-r);background:radial-gradient(circle at 100% 0,color-mix(in oklab,var(--aqua) 8%,transparent),transparent 24rem),color-mix(in oklab,var(--white) 87%,var(--paper));box-shadow:var(--nl-soft);padding:clamp(1.5rem,4vw,3.2rem);overflow:hidden}
.finder-step legend{max-width:780px;font-size:clamp(1.8rem,3.8vw,3rem);line-height:1.08}.finder-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:1.4rem}.finder-option{min-height:72px;align-items:center;padding:1rem 1.1rem;border-radius:18px;background:color-mix(in oklab,var(--paper) 76%,var(--white));transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.finder-option:hover{transform:translateY(-2px);box-shadow:0 16px 28px -27px rgba(16,34,31,.8)}.finder-option:has(input:checked){background:color-mix(in oklab,var(--teal-3) 11%,var(--white));box-shadow:inset 0 0 0 1px var(--teal-2)}
.finder-actions{margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--line)}.match-card{border-radius:26px;box-shadow:none;background:color-mix(in oklab,var(--white) 80%,var(--paper))}.match-card:first-child{box-shadow:var(--nl-soft)}.match-score{min-width:86px;min-height:86px;background:linear-gradient(145deg,var(--teal),var(--teal-2))}
.site-footer{margin-top:var(--nl-xl);padding-top:clamp(3rem,5vw,5rem);background:color-mix(in oklab,var(--ink) 94%,var(--teal))}

@media(max-width:1120px){body:has(>main>.hero) .hero-grid{grid-template-columns:minmax(0,.94fr) minmax(390px,1.06fr);gap:clamp(2rem,4vw,3.4rem);min-height:auto}body:has(>main>.hero) .hero-photo{min-height:540px}body:has(>main>.hero) .course-item:nth-child(n){grid-column:span 6}}
@media(max-width:960px){.page-hero-inner,.detail-grid,body:has(>main>.hero) .hero-grid,body:has(>main>.hero) .split-band,body:has(>main>.hero) .about-band{grid-template-columns:1fr}.info-panel{position:static}body:has(>main>.hero) .hero-photo{min-height:500px;aspect-ratio:16/11;transform:none}body:has(>main>.hero) .schedule-week{grid-template-columns:1fr}body:has(>main>.hero) .day-card{border-right:0;border-bottom:1px solid rgba(247,243,236,.13)}body:has(>main>.hero) .steps{grid-template-columns:repeat(2,1fr)}.finder-options{grid-template-columns:1fr}}
@media(max-width:720px){:root{--nl-r:28px}section{padding-block:clamp(2.8rem,10vw,4rem)}.page-hero h1{font-size:clamp(2.45rem,11vw,3.7rem)}body:has(>main>.hero) .hero-copy h1{font-size:clamp(2.55rem,12vw,4rem)}body:has(>main>.hero) .hero-photo{min-height:420px;aspect-ratio:5/4;border-radius:28px 28px 28px 12px}body:has(>main>.hero) .hero-badges{grid-template-columns:1fr;gap:.8rem}body:has(>main>.hero) .hero-badges>div{border-right:0;border-bottom:1px solid var(--line);margin:0;padding:0 0 .8rem}body:has(>main>.hero) .ribbon-inner{grid-template-columns:repeat(2,1fr)}body:has(>main>.hero) .chooser-grid{grid-template-columns:1fr}body:has(>main>.hero) .chooser-card:nth-child(n){border-right:0;border-bottom:1px solid var(--line)}body:has(>main>.hero) .course-list{grid-template-columns:1fr}body:has(>main>.hero) .course-item:nth-child(n){grid-column:auto;grid-template-rows:270px auto;border-radius:26px}body:has(>main>.hero) .course-meta{grid-template-columns:1fr}body:has(>main>.hero) .steps{grid-template-columns:1fr}body:has(>main>.hero) .step:nth-child(n){border-right:0;border-bottom:1px solid var(--line)}.finder-intro{grid-template-columns:1fr}.finder-intro>div:nth-child(n){border-right:0;border-bottom:1px solid var(--line);padding:1rem 0;min-height:0}.finder-form{padding:1.25rem;border-radius:24px}.finder-step legend{font-size:clamp(1.65rem,8vw,2.35rem)}.finder-option{min-height:64px}.contact-grid{grid-template-columns:1fr}}
@media(max-width:420px){body:has(>main>.hero) .hero-photo{min-height:360px}body:has(>main>.hero) .hero-chip.two{display:none}body:has(>main>.hero) .course-item:nth-child(n){grid-template-rows:235px auto}.finder-actions{align-items:stretch;flex-direction:column-reverse}.finder-actions .button{width:100%}.price-row{align-items:flex-start;flex-direction:column;gap:.3rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}body:has(>main>.hero) .hero-photo,body:has(>main>.hero) .course-item .cover img{transform:none!important}}
