:root{--white:#fff;--platinum:#E5E4E2;--silver:#C0C0C0;--text:#1A1A1A;--muted:#6d7076;--panel:rgba(255,255,255,.72);--line:rgba(26,26,26,.1);--shadow:0 20px 60px rgba(26,26,26,.10);--soft:0 10px 30px rgba(26,26,26,.08);--radius:16px;--font-hero:"Bisetron","Orbitron",sans-serif;--font-heading:"Bebas Neue",sans-serif;--font-body:"Lato",sans-serif}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}.page,.page *{scroll-margin-top:104px}body{background:radial-gradient(900px 420px at 70% 0,rgba(192,192,192,.25),transparent 60%),linear-gradient(180deg,#fff,#f6f6f4 48%,#fff);color:var(--text);font-family:var(--font-body);line-height:1.55;overflow-x:hidden}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.font-hero{font-family:var(--font-hero)}.font-heading,h1,h2,h3,h4,.btn{font-family:var(--font-heading);letter-spacing:.08em;text-transform:uppercase}.font-body{font-family:var(--font-body)}.page{max-width:1480px;margin:0 auto;padding:16px clamp(12px,2vw,28px) 28px;display:grid;gap:20px}.row{display:grid;gap:20px}.row>*{min-width:0}.row--hero{grid-template-columns:2.55fr 1fr}.row--mid{grid-template-columns:1.05fr 1.55fr .95fr}.row--low{grid-template-columns:1.25fr 1.45fr .9fr}.side-col{display:grid;gap:20px;align-content:start}.panel{position:relative;background:var(--panel);border:1px solid rgba(255,255,255,.78);border-radius:var(--radius);box-shadow:var(--shadow),inset 0 0 0 1px rgba(255,255,255,.5);backdrop-filter:blur(16px);padding:20px 22px}.panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel__head h2{font-size:18px;color:var(--text)}.panel__tools{display:inline-flex;gap:6px;margin-left:auto}.panel__expand,.panel__close,.chat__win button{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--text);cursor:pointer;box-shadow:var(--soft)}.panel__close{display:none}.panel__link{font-family:var(--font-heading);font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:5px 12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 24px;border-radius:10px;border:1px solid var(--line);transition:.25s;cursor:pointer}.btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(26,26,26,.12)}.btn--glow{background:linear-gradient(135deg,var(--text),#4b4b4b);color:#fff;box-shadow:0 12px 32px rgba(26,26,26,.22)}.btn--glass,.btn--outline{background:rgba(255,255,255,.64);color:var(--text)}.btn--pill{border-radius:40px}.nav{display:flex;align-items:center;gap:28px;position:sticky;top:12px;z-index:100;background:rgba(255,255,255,.88);padding:12px 22px}.nav__logo .site-logo{height:44px}.nav__links{display:flex;gap:30px;margin:0 auto}.nav__links a{font-family:var(--font-heading);font-size:14px;color:var(--muted);padding:8px 2px;border-bottom:2px solid transparent}.nav__links a.active,.nav__links a:hover{color:var(--text);border-bottom-color:var(--silver)}.nav__burger{display:none;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px}.nav__burger span{width:24px;height:2px;background:var(--text)}.hero{overflow:hidden;min-height:540px;display:flex;align-items:center;padding:0}.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(20%) brightness(1.05);opacity:.22}.hero__overlay{position:absolute;inset:0;background:linear-gradient(100deg,rgba(255,255,255,.95) 20%,rgba(255,255,255,.68) 62%,rgba(229,228,226,.7))}.hero__content{position:relative;z-index:2;padding:58px 50px;max-width:680px}.hero__title{font-size:clamp(44px,5.6vw,86px);font-weight:900;line-height:1;color:var(--text);text-shadow:0 8px 0 rgba(192,192,192,.25)}.hero__sub{margin-top:16px;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.hero__pulse{width:min(520px,90%);height:56px;margin:14px 0 4px;filter:drop-shadow(0 4px 10px rgba(26,26,26,.16))}.hero__pulse path{stroke-dasharray:1000;stroke-dashoffset:1000;animation:pulse-draw 3.2s ease forwards .4s}@keyframes pulse-draw{to{stroke-dashoffset:0}}.hero__ctas{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px}.hero__play{position:relative;top:auto;right:auto;width:96px;height:96px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.72);box-shadow:var(--shadow);cursor:pointer;color:var(--text)}.hero__play-ring{position:absolute;inset:0;transform:rotate(-90deg)}.pr-bg,.pr-fill{fill:none;stroke-width:2}.pr-bg{stroke:rgba(26,26,26,.12)}.pr-fill{stroke:var(--text);stroke-dasharray:289;stroke-dashoffset:75}.hero__play-icon{display:block;font-size:20px}.hero__play-label{display:block;font-family:var(--font-heading);font-size:10px}.hero__play-label em{display:block;font-style:normal;color:var(--muted)}.live__rings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;justify-items:center;align-items:start}.stat{text-align:center}.stat__ring{position:relative;max-width:96px;margin:0 auto;aspect-ratio:1}.stat__ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-bg,.ring-fill{fill:none;stroke-width:3}.ring-bg{stroke:rgba(26,26,26,.09)}.ring-fill{stroke:var(--text);stroke-linecap:round;stroke-dasharray:276.5;stroke-dashoffset:276.5;transition:stroke-dashoffset 1.8s}.stat.lit .ring-fill{stroke-dashoffset:var(--ring-lit,24)}.stat__value{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-size:18px;color:var(--text)}.stat__label,.lb-pts,.coach p{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}.lb__list{list-style:none;display:grid;gap:13px}.lb-row{display:grid;grid-template-columns:24px 76px 1fr auto;align-items:center;gap:10px}.lb-name{font-weight:700}.lb-bar{height:6px;background:rgba(26,26,26,.08);border-radius:4px;overflow:hidden}.lb-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--silver),var(--text));border-radius:4px;transition:width 1.4s}.plans-viewport{overflow:hidden}.plans-track{display:flex;gap:12px;transition:transform .45s;padding-top:14px}.plan{flex:0 0 calc((100% - 24px)/3);min-width:150px;background:rgba(255,255,255,.58);border:1px solid var(--line);border-radius:14px;padding:20px 14px 16px;display:flex;flex-direction:column;gap:12px;transition:.3s}.plan:hover,.coach:hover{transform:translateY(-4px);box-shadow:var(--soft)}.plan--featured{border-color:rgba(26,26,26,.18);box-shadow:0 18px 44px rgba(26,26,26,.13);transform:translateY(-10px);background:#fff}.plan__badge{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:var(--text);color:#fff;font-family:var(--font-heading);font-size:10px;padding:4px 12px;border-radius:20px}.plan__price{font-family:var(--font-heading);font-size:28px;color:var(--text)}.plan__price span{font-size:13px;color:var(--muted);margin-left:2px}.plan ul:not(.plan__features){list-style:none;display:grid;gap:7px;flex:1}.plan ul:not(.plan__features) li{font-size:13px;color:var(--muted)}.plan ul:not(.plan__features) li:before{content:"✓ ";color:var(--text)}.car-arrow{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer}.facility,.ba{position:relative;min-height:330px;border-radius:12px;overflow:hidden;border:1px solid var(--line)}.facility__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(30%) brightness(1.05);opacity:.62}.facility__grid{position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(26,26,26,.045) 0 1px,transparent 1px 46px),repeating-linear-gradient(90deg,rgba(26,26,26,.045) 0 1px,transparent 1px 46px)}.hotspot{position:absolute;z-index:2;display:flex;gap:7px;align-items:center;background:rgba(255,255,255,.88);border:1px solid var(--line);color:var(--text);font-family:var(--font-heading);font-size:12px;padding:7px 12px;border-radius:30px;cursor:pointer;box-shadow:var(--soft)}.hotspot span{width:8px;height:8px;border-radius:50%;background:var(--text);box-shadow:0 0 10px rgba(26,26,26,.35)}.hotspot.active{background:var(--text);color:#fff}.facility__tooltip{position:absolute;z-index:5;width:230px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.facility__tooltip img{width:100%;height:96px;object-fit:cover}.facility__tooltip p{padding:12px 14px;font-size:13px}.ba{cursor:ew-resize}.ba__side{position:absolute;inset:0;display:flex;align-items:flex-end;padding:16px;background-size:cover;background-position:center}.ba__side>span{font-family:var(--font-heading);font-size:12px;letter-spacing:.18em;background:#fff;border:1px solid var(--line);padding:5px 12px;border-radius:20px;position:relative;z-index:2}.ba__before{background:linear-gradient(160deg,#f1f1ef,#c9c9c6)}.ba__after{background:linear-gradient(160deg,#fff,#d6d6d3);clip-path:inset(0 0 0 50%)}.ba__after>span{margin-left:auto}.ba__fig{position:absolute;left:50%;bottom:0;width:64%;height:88%;transform:translateX(-50%);background:radial-gradient(ellipse 26% 13% at 50% 9%,rgba(26,26,26,.25) 0 55%,transparent 60%),radial-gradient(ellipse 48% 36% at 50% 46%,rgba(26,26,26,.18) 0 55%,transparent 62%);filter:blur(7px)}.ba__handle{position:absolute;top:0;bottom:0;left:50%;width:2px;background:var(--text);cursor:ew-resize;z-index:3}.ba__grip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--text);display:flex;align-items:center;justify-content:center;box-shadow:var(--soft)}.carousel{overflow:hidden;cursor:grab;padding:10px 0 4px}.carousel__track{display:flex;gap:14px;will-change:transform}.coach{flex:0 0 150px;background:rgba(255,255,255,.6);border:1px solid var(--line);border-radius:12px;padding:18px 12px;text-align:center;transition:.35s;user-select:none;opacity:.66;transform:scale(.94)}.coach.is-center{opacity:1;transform:scale(1.04);background:#fff;box-shadow:var(--soft)}.coach__photo{width:100%;aspect-ratio:1/1.15;margin:0 auto 12px;border-radius:10px;object-fit:cover;background:radial-gradient(ellipse 38% 20% at 50% 18%,rgba(26,26,26,.18) 0 55%,transparent 62%),linear-gradient(160deg,#fff,#d8d8d5);border:1px solid var(--line)}.coach h4{font-size:16px}.coaches__hint{text-align:center;margin-top:14px;font-family:var(--font-heading);font-size:11px;color:var(--muted)}.sched__tabs{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:10px}.sched__tabs button{flex:1;border:0;background:rgba(255,255,255,.55);padding:10px 4px;font-family:var(--font-heading);cursor:pointer}.sched__tabs button.active{background:var(--text);color:#fff}.sched__list{display:grid;gap:7px}.sched__row{display:grid;grid-template-columns:82px 1fr 78px 64px auto;gap:10px;align-items:center;padding:9px 12px;border:1px solid rgba(26,26,26,.08);border-radius:8px;background:rgba(255,255,255,.5);font-size:13px}.sched__row--hot{background:#fff;box-shadow:0 0 0 1px rgba(26,26,26,.12),var(--soft)}.sched__join{font-family:var(--font-heading);font-size:11px;border:1px solid var(--line);border-radius:18px;padding:5px 12px}.chat__body{height:170px;overflow:auto;display:grid;gap:10px;align-content:start}.chat__msg{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:13px}.chat__msg--user{margin-left:auto;background:var(--text);color:#fff}.chat__chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.chat__chips button,.chat__form button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:7px 12px;cursor:pointer}.chat__form{display:flex;gap:8px}.chat__form input{flex:1;border:1px solid var(--line);border-radius:20px;padding:10px 14px}.chat.minimized .chat__inner{display:none}.footer__grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.1fr;gap:26px}.footer__brand img{height:62px;margin-bottom:16px}.footer h4{font-size:18px;margin-bottom:12px}.footer p,.footer a{color:var(--muted)}.socials{display:flex;gap:10px}.socials a{width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-family:var(--font-heading);box-shadow:var(--soft)}.map-card{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin-top:10px}.map-card__pin{font-size:28px;color:var(--text)}.map-card__btn{display:block;margin-top:10px;font-family:var(--font-heading);color:var(--text)}.footer__bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:26px;padding-top:18px;font-size:13px}.footer__legal{display:flex;gap:18px}.vmodal[hidden]{display:none!important}.vmodal{position:fixed;inset:0;z-index:300;display:grid;place-items:center}.vmodal__backdrop{position:absolute;inset:0;background:rgba(26,26,26,.72);backdrop-filter:blur(10px)}.vmodal__box{position:relative;z-index:2;width:min(940px,92vw);background:#fff;border-radius:18px;padding:18px;box-shadow:var(--shadow)}.vmodal__box video{width:100%;border-radius:12px}.vmodal__close{position:absolute;right:18px;top:-46px;width:38px;height:38px;border-radius:50%;border:0;background:#fff;font-size:24px}.focus-backdrop{position:fixed;inset:0;background:rgba(26,26,26,.24);backdrop-filter:blur(8px);z-index:190;opacity:0;pointer-events:none;transition:.3s}.focus-backdrop.visible{opacity:1;pointer-events:auto}body.focus-lock{overflow:hidden}.panel.is-focused{position:fixed!important;z-index:220;overflow:auto}.panel.is-focused .panel__close{display:inline-grid}.panel.is-animating{transition:top .32s,left .32s,width .32s,height .32s}.focus-placeholder{border-radius:var(--radius)}.panel.is-focused .facility,.panel.is-focused .ba{min-height:620px}.panel.is-focused .chat__body{height:520px}@media(max-width:1100px){.row--hero,.row--mid,.row--low,.footer__grid{grid-template-columns:1fr 1fr}.hero{min-height:500px}.side-col{grid-template-columns:1fr 1fr}}@media(max-width:760px){.page{padding:10px}.row--hero,.row--mid,.row--low,.footer__grid,.side-col{grid-template-columns:1fr}.nav{top:8px}.nav__links{position:fixed;inset:0;background:rgba(255,255,255,.98);display:none;flex-direction:column;align-items:center;justify-content:center;z-index:120}.nav__links.open{display:flex}.nav__cta{display:none}.nav__burger{display:flex;margin-left:auto}.hero__content{padding:44px 24px}.hero__play{position:relative;top:auto;right:auto;margin:20px auto}.sched__row{grid-template-columns:1fr 1fr}.footer__bottom{display:grid;gap:12px}.panel.is-focused{width:96vw!important;height:94vh!important;left:2vw!important;top:3vh!important}}

/* ===== Responsive interaction enhancement layer ===== */
:root {
    --container: 1200px;
    --gap-sm: 1rem;
    --gap-md: 1.5rem;
    --gap-lg: 2rem;
    --section-y: clamp(3.75rem, 7vw, 6.25rem);
    --ease-premium: 0.28s ease;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.page {
    width: min(100%, var(--container));
    max-width: var(--container);
    margin-inline: auto;
    padding: clamp(1rem, 2vw, 1.75rem) 1rem clamp(2rem, 4vw, 3rem);
    gap: var(--gap-md);
}

.row,
.side-col,
.footer__grid,
.live__rings,
.plans-track,
.carousel__track,
.sched__list,
.chat__body {
    gap: var(--gap-md);
}

.panel {
    max-width: 100%;
    min-width: 0;
    transition:
        transform var(--ease-premium),
        box-shadow var(--ease-premium),
        border-color var(--ease-premium),
        background-color var(--ease-premium),
        opacity 0.4s ease,
        translate 0.4s ease;
    will-change: transform;
}

.panel:not(.nav):not(.hero):not(.is-focused):hover,
.plan:hover,
.coach:hover,
.ccard:hover,
.admin-card:hover,
.table-card:hover {
    transform: scale(1.02);
    box-shadow: 0 1.25rem 3.75rem rgba(26, 26, 26, 0.14);
    border-color: rgba(26, 26, 26, 0.16);
}

.plan--featured:hover,
.coach.is-center:hover {
    transform: translateY(-0.375rem) scale(1.02);
}

.btn,
.car-arrow,
.panel__expand,
.panel__close,
.chat__win button,
.hotspot,
.sched__tabs button,
.sched__join,
.chat__chips button,
.chat__form button,
.socials a,
.map-card,
.nav__links a,
.nav__burger,
button,
a {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease;
}

.btn:hover,
.car-arrow:hover,
.panel__expand:hover,
.panel__close:hover,
.chat__win button:hover,
.sched__join:hover,
.chat__chips button:hover,
.chat__form button:hover,
.socials a:hover,
.map-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.875rem 1.75rem rgba(26, 26, 26, 0.13), 0 0 0 0.0625rem rgba(192, 192, 192, 0.35) inset;
}

.btn:active,
.car-arrow:active,
.panel__expand:active,
.panel__close:active,
.chat__win button:active,
.hotspot:active,
.sched__tabs button:active,
.sched__join:active,
.chat__chips button:active,
.chat__form button:active,
.socials a:active,
.map-card:active {
    transform: scale(0.98);
}

.btn:focus-visible,
.car-arrow:focus-visible,
.panel__expand:focus-visible,
.panel__close:focus-visible,
.hotspot:focus-visible,
.sched__tabs button:focus-visible,
.chat__chips button:focus-visible,
.chat__form input:focus-visible,
.chat__form button:focus-visible,
.nav__links a:focus-visible {
    outline: 0.1875rem solid rgba(192, 192, 192, 0.6);
    outline-offset: 0.1875rem;
}

.nav {
    width: min(100%, var(--container));
    margin-inline: auto;
    top: 0.75rem;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: 0 0.75rem 2rem rgba(26, 26, 26, 0.06);
}

.nav.nav--scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(26, 26, 26, 0.1);
    box-shadow: 0 1rem 2.5rem rgba(26, 26, 26, 0.12);
}

.hero,
.panel:not(.nav):not(.chat--floating):not(.hero) {
    contain: paint;
}

.hero {
    contain: layout style;
    overflow: visible;
}

.nav {
    contain: none;
    overflow: visible;
}

.hero {
    min-height: clamp(30rem, 55vw, 40rem);
}

.hero__content {
    width: min(100%, 42.5rem);
    padding: clamp(2rem, 5vw, 3.625rem);
    container-type: inline-size;
    container-name: hero-content;
    overflow: visible;
}

.hero__title {
    --hero-title-max: 5.375rem;
    --hero-title-min: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(var(--hero-title-min), 10.5cqi, var(--hero-title-max));
    line-height: 1.05;
    width: 100%;
    max-width: 100%;
}

.hero__title-line {
    display: block;
    white-space: nowrap;
}

.hero__sub {
    font-size: clamp(0.875rem, 1.4vw, 1rem);
    letter-spacing: clamp(0.05em, 0.8vw, 0.12em);
}

.hero__ctas {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: var(--gap-sm);
    margin-top: 1.5rem;
    justify-content: start;
    align-items: center;
}

.hero__play {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 0.75rem;
    width: clamp(4.5rem, 8vw, 6rem);
    height: clamp(4.5rem, 8vw, 6rem);
}

.plan,
.coach,
.hotspot,
.sched__row,
.chat__msg,
.map-card,
.footer__col,
.footer__brand {
    min-width: 0;
}

.plan {
    flex-basis: clamp(13.5rem, 31vw, 18rem);
}

.plans-track,
.carousel__track {
    align-items: stretch;
}

.carousel__track .coach {
    flex: 0 0 clamp(9.5rem, 20vw, 12rem);
    min-width: clamp(9.5rem, 20vw, 12rem);
    max-width: none;
}

.coach {
    flex-basis: clamp(9.5rem, 20vw, 12rem);
}

.facility,
.ba {
    min-height: clamp(20rem, 42vw, 30rem);
}

.hotspot {
    max-width: min(14rem, 46vw);
    white-space: normal;
    line-height: 1.15;
}

.facility__tooltip {
    width: min(14.375rem, calc(100% - 1rem));
}

.sched__row {
    grid-template-columns: minmax(4.5rem, 5.125rem) minmax(0, 1fr) minmax(3.5rem, 4.875rem) minmax(3rem, 4rem) auto;
}

.chat__form input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 10px 14px;
    background: #fff;
    color: var(--text);
    -webkit-text-fill-color: currentColor;
}

.reveal-on-scroll {
    opacity: 0;
    translate: 0 1.5rem;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        translate: 0 0;
    }
}

@media (min-width: 1024px) {
    .page {
        padding-block: 1.5rem 3rem;
    }

    .row--hero,
    .row--mid,
    .row--low,
    .row--people,
    .row--schedule {
        align-items: stretch;
    }
}

@media (max-width: 1024px) {
    .page {
        width: min(100%, var(--container));
        padding-inline: 1rem;
        gap: var(--gap-md);
    }

    .row--hero,
    .row--mid,
    .row--low,
    .row--people,
    .row--schedule,
    .side-col,
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        grid-column: 1 / -1;
    }

    .row--hero .side-col {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .membership,
    .facility-panel,
    .coaches,
    .pulse-team,
    .sched,
    .row--people,
    .row--schedule {
        grid-column: 1 / -1;
    }

}

@media (max-width: 768px) {
    .page {
        padding: 0.75rem 1rem 2rem;
        gap: var(--gap-sm);
    }

    .row--people {
        grid-template-columns: 1fr;
    }

    .row--hero,
    .row--mid,
    .row--low,
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--gap-sm);
    }

    .row--hero .side-col {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .side-col {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 1rem;
        border-radius: 0.875rem;
    }

    .panel:not(.nav):not(.hero):not(.is-focused):hover,
    .plan:hover,
    .coach:hover {
        transform: none;
    }

    .nav {
        top: 0.5rem;
        width: calc(100% - 2rem);
        padding: 0.75rem 1rem;
        gap: 1rem;
    }

    .hero {
        min-height: auto;
        display: grid;
        gap: var(--gap-sm);
    }

    .hero__content {
        padding: clamp(2rem, 10vw, 3rem) 1rem 1rem;
    }

    .hero__title {
        --hero-title-max: 3.25rem;
        --hero-title-min: 1.125rem;
        font-size: clamp(var(--hero-title-min), 11cqi, var(--hero-title-max));
    }

    .hero__sub {
        max-width: 32rem;
        letter-spacing: 0.06em;
    }

    .hero__ctas,
    .chat__form,
    .footer__bottom {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .hero__ctas .btn,
    .nav__cta,
    .plan .btn,
    .sched__join {
        width: 100%;
    }

    .hero__play {
        position: relative;
        inset: auto;
        grid-column: 1;
        justify-self: center;
        margin: 0.75rem auto 0;
    }

    .live__rings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        max-width: 20rem;
        margin-inline: auto;
    }

    .stat__ring {
        max-width: clamp(4.5rem, 28vw, 6rem);
    }

    .stat__value {
        font-size: clamp(0.85rem, 4vw, 1.05rem);
    }

    .stat__label {
        font-size: 0.625rem;
    }

    .plans-viewport,
    .carousel {
        overflow-x: clip;
    }

    .plan,
    .coach {
        flex-basis: min(80vw, 18rem);
    }

    .facility,
    .ba {
        min-height: clamp(18rem, 82vw, 26rem);
    }

    .hotspot {
        max-width: 9.5rem;
        font-size: 0.625rem;
        padding: 0.375rem 0.55rem;
    }

    .sched__tabs {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .sched__tabs button {
        min-width: 4rem;
    }

    .sched__row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 0.75rem;
        padding: 0.75rem;
    }

    .sched__name,
    .sched__join {
        grid-column: 1 / -1;
    }

    .chat__body {
        height: 14rem;
    }

    .footer__grid {
        gap: var(--gap-md);
    }

    .footer__bottom,
    .footer__legal {
        align-items: start;
        justify-content: start;
    }
}

@media (max-width: 600px) {
    .row--hero .side-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .page {
        padding-inline: 0.75rem;
    }

    .nav {
        width: calc(100% - 1.5rem);
    }

    .nav__logo .site-logo {
        height: 2.25rem;
    }

    .panel__head {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .panel__head h2 {
        font-size: 1rem;
    }

    .panel__tools {
        flex-shrink: 0;
    }

    .live__rings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .stat__value {
        font-size: 0.9rem;
    }

    .stat__label {
        font-size: 0.6rem;
    }

    .lb-row {
        grid-template-columns: 1.5rem minmax(3.75rem, 1fr);
    }

    .lb-bar,
    .lb-pts {
        grid-column: 2 / -1;
    }

    .footer__legal {
        flex-wrap: wrap;
    }
}

/* ===== Layout audit fixes: overflow + touch target hardening ===== */
.nav__logo,
.nav__burger,
.panel__expand,
.panel__close,
.chat__win button,
.car-arrow,
.hotspot,
.sched__tabs button,
.sched__join,
.chat__chips button,
.chat__form button,
.footer a,
.socials a {
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.nav__logo,
.footer a:not(.map-card):not(.socials a),
.sched__join,
.panel__link {
    display: inline-flex;
    align-items: center;
}

.panel__expand,
.panel__close,
.chat__win button,
.car-arrow,
.chat__form button,
.socials a {
    display: inline-grid;
    place-items: center;
}

.panel__head {
    flex-wrap: wrap;
}

.live__rings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.5rem, 2vw, 0.75rem);
    justify-items: center;
    align-items: start;
    width: 100%;
}

.stat {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.stat.lit .ring-fill {
    stroke-dashoffset: var(--ring-lit, 24);
}

.stat__ring {
    width: 100%;
    max-width: clamp(4.25rem, 7vw, 6rem);
}

.stat__value {
    font-size: clamp(0.8rem, 1.6vw, 1.125rem);
    line-height: 1.1;
    padding-inline: 0.15rem;
    text-align: center;
}

.stat__label,
.lb-row,
.sched__row {
    min-width: 0;
}

.stat__label {
    overflow-wrap: anywhere;
    line-height: 1.1;
}

.ba__handle {
    overflow: visible;
}

.ba__grip {
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.plans-viewport {
    max-width: 100%;
}

.plans-track {
    max-width: 100%;
}

.carousel {
    max-width: 100%;
    cursor: grab;
    touch-action: pan-x;
}

.carousel__track {
    max-width: none;
    width: max-content;
}

.carousel.dragging {
    cursor: grabbing;
}

.carousel.dragging .coach {
    pointer-events: none;
}

.carousel.dragging .coach:hover,
.carousel.dragging .coach.is-center:hover {
    transform: none;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav {
        gap: 1rem;
    }

    .nav__links {
        gap: clamp(0.75rem, 2vw, 1.25rem);
    }

    .nav__links a,
    .nav__cta {
        font-size: 0.85rem;
    }

    .nav__cta {
        padding-inline: 1rem;
    }

    .live__rings {
        gap: 0.5rem;
    }

    .stat__ring {
        max-width: 4.5rem;
    }
}

@media (max-width: 768px) {
    .nav__burger {
        display: inline-grid;
    }

    .nav__logo .site-logo {
        max-height: 2.75rem;
        width: auto;
    }

    .panel__expand,
    .panel__close,
    .chat__win button,
    .car-arrow {
        width: 2.75rem;
        height: 2.75rem;
    }

    .membership .car-arrow,
    .coaches .car-arrow {
        display: none;
    }

    .membership .panel__head,
    .coaches .panel__head {
        justify-content: space-between;
    }

    .hotspot {
        min-height: 2.75rem;
        padding: 0.5rem 0.75rem;
    }

    .sched__tabs button,
    .sched__join,
    .panel__link,
    .chat__chips button,
    .chat__form input,
    .chat__form button {
        min-height: 2.75rem;
    }

    .panel__link {
        justify-content: center;
        padding-inline: 0.75rem;
    }

    .chat__form button {
        width: 100%;
    }

    .footer a:not(.map-card) {
        min-height: 2.75rem;
    }
}

@media (max-width: 420px) {
    .panel__head {
        align-items: center;
    }

    .panel__tools,
    .chat__win {
        gap: 0.375rem;
    }

    .live__rings {
        gap: 0.375rem;
    }

    .sched__tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
    }

    .sched__tabs button {
        width: 100%;
        min-width: 0;
    }

    .stat__ring {
        max-width: 4rem;
    }

    .hotspot {
        max-width: 8.5rem;
        font-size: 0.6rem;
    }
}

/* ===== Pulse AI — logo balloon popup ===== */
.messenger-popup {
    --pulse-balloon-bg: rgba(255, 255, 255, 0.9);
    --pulse-balloon-line: rgba(26, 26, 26, 0.12);
    position: fixed;
    right: clamp(1rem, 2.6vw, 2rem);
    bottom: clamp(1rem, 2.6vw, 2rem);
    z-index: 100000;
    display: grid;
    justify-items: end;
    align-content: end;
    gap: 0.55rem;
    pointer-events: none;
    max-width: calc(100vw - max(1rem, env(safe-area-inset-left)) - max(1rem, env(safe-area-inset-right)));
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.35rem);
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;
}

.messenger-popup.is-ready {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.messenger-popup.is-ready.is-opening,
.messenger-popup.is-ready.minimized {
    pointer-events: none;
}

.messenger-popup.is-ready.is-opening > *,
.messenger-popup.is-ready.minimized > * {
    pointer-events: auto;
}

.messenger-popup > * {
    pointer-events: auto;
}

.messenger-popup__fab {
    position: relative;
    width: 4.5rem;
    height: 4.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.messenger-popup__fab:hover {
    transform: translateY(-0.15rem);
}

.messenger-popup__fab-balloon {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0.55rem 0.65rem 0.75rem;
    border-radius: 1.35rem 1.35rem 1.35rem 0.55rem;
    background: var(--pulse-balloon-bg);
    border: 1px solid var(--pulse-balloon-line);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow:
        0 0.85rem 2rem rgba(26, 26, 26, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.messenger-popup__fab-balloon::after {
    content: "";
    position: absolute;
    right: 0.72rem;
    bottom: -0.42rem;
    width: 0.95rem;
    height: 0.95rem;
    background: var(--pulse-balloon-bg);
    border-right: 1px solid var(--pulse-balloon-line);
    border-bottom: 1px solid var(--pulse-balloon-line);
    transform: rotate(42deg);
    border-radius: 0 0 0.18rem 0;
    box-shadow: 0.35rem 0.35rem 0.65rem rgba(26, 26, 26, 0.05);
}

.messenger-popup__fab-balloon img {
    width: 2.35rem;
    height: auto;
    object-fit: contain;
}

.messenger-popup__fab-badge {
    position: absolute;
    top: 0.12rem;
    right: 0.1rem;
    z-index: 2;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #fff;
    border: 0.14rem solid #fff;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 0.22rem 0.55rem rgba(26, 26, 26, 0.28);
    animation: messenger-fab-pulse 1.8s ease-out infinite;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.messenger-popup:not(.minimized) .messenger-popup__fab-badge {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.55);
    animation: none;
}

.messenger-popup__card {
    position: relative;
    width: min(20rem, calc(100vw - max(2rem, env(safe-area-inset-left)) - max(2rem, env(safe-area-inset-right))));
    max-height: min(70dvh, 28rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem 1.25rem 1.25rem 0.65rem;
    background: var(--pulse-balloon-bg);
    border: 1px solid var(--pulse-balloon-line);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 1.25rem 3.25rem rgba(26, 26, 26, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transform-origin: bottom right;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease;
}

.messenger-popup__card::after {
    content: "";
    position: absolute;
    right: 1.15rem;
    bottom: -0.48rem;
    width: 1rem;
    height: 1rem;
    background: var(--pulse-balloon-bg);
    border-right: 1px solid var(--pulse-balloon-line);
    border-bottom: 1px solid var(--pulse-balloon-line);
    transform: rotate(42deg);
    border-radius: 0 0 0.18rem 0;
}

.messenger-popup.minimized .messenger-popup__card {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.75rem) scale(0.94);
}

.messenger-popup.is-opening .messenger-popup__card {
    animation: messenger-pop-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.messenger-popup.is-dismissed {
    display: none !important;
}

.messenger-popup[hidden] {
    display: none !important;
}

.messenger-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 245, 243, 0.42));
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 1.2rem 1.2rem 0 0;
    color: var(--text);
}

.messenger-popup__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.messenger-popup__avatar {
    width: 2rem;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.messenger-popup__meta {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.messenger-popup__meta strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
}

.messenger-popup__meta span {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.messenger-popup__actions {
    display: inline-flex;
    gap: 0.35rem;
}

.messenger-popup__icon-btn {
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--pulse-balloon-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.messenger-popup__icon-btn:hover {
    background: #fff;
}

.messenger-popup__thread {
    display: grid;
    gap: 0.65rem;
    padding: 0.9rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.messenger-popup__bubble {
    position: relative;
    max-width: 92%;
    border-radius: 1rem;
    padding: 0.72rem 0.85rem;
    font-size: 0.84rem;
    line-height: 1.45;
}

.messenger-popup__bubble p {
    margin: 0;
}

.messenger-popup__bubble p + p {
    margin-top: 0.35rem;
}

.messenger-popup__bubble--incoming {
    justify-self: start;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 26, 26, 0.08);
    color: var(--text);
    border-bottom-left-radius: 0.3rem;
    box-shadow: 0 0.35rem 0.85rem rgba(26, 26, 26, 0.06);
}

.messenger-popup__bubble--incoming::before {
    content: "";
    position: absolute;
    left: -0.28rem;
    bottom: 0.62rem;
    width: 0.72rem;
    height: 0.72rem;
    background: rgba(255, 255, 255, 0.92);
    border-left: 1px solid rgba(26, 26, 26, 0.08);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    transform: rotate(28deg);
    border-radius: 0 0 0 0.12rem;
}

.messenger-popup__bubble--cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--text), #4b4b4b);
    color: #fff;
    border: 1px solid rgba(26, 26, 26, 0.18);
    border-bottom-right-radius: 0.3rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0.55rem 1.2rem rgba(26, 26, 26, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.messenger-popup__bubble--cta::after {
    content: "";
    position: absolute;
    right: -0.24rem;
    bottom: 0.62rem;
    width: 0.72rem;
    height: 0.72rem;
    background: #4b4b4b;
    transform: rotate(42deg);
    border-radius: 0 0 0.12rem 0;
}

.messenger-popup__bubble--cta:hover {
    transform: translateY(-0.08rem);
    box-shadow: 0 0.65rem 1.35rem rgba(26, 26, 26, 0.24);
    color: #fff;
}

.messenger-popup__note {
    margin: 0;
    text-align: center;
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    color: var(--muted);
}

@keyframes messenger-fab-pulse {
    0% { box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.28); }
    72% { box-shadow: 0 0 0 0.65rem rgba(26, 26, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 26, 26, 0); }
}

@keyframes messenger-pop-in {
    0% {
        opacity: 0;
        transform: translateY(0.85rem) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    body.nav-open .messenger-popup {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .messenger-popup {
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        left: auto;
        max-width: calc(100vw - max(0.75rem, env(safe-area-inset-left)) - max(0.75rem, env(safe-area-inset-right)));
    }

    .messenger-popup__fab {
        width: 3.85rem;
        height: 3.7rem;
    }

    .messenger-popup__fab-balloon img {
        width: 2rem;
    }

    .messenger-popup__card {
        width: calc(100vw - max(1rem, env(safe-area-inset-left)) - max(1rem, env(safe-area-inset-right)));
        max-width: 20rem;
        max-height: min(62dvh, 24rem);
    }

    .messenger-popup__bubble {
        font-size: 0.8rem;
    }

    .messenger-popup__meta strong {
        font-size: 0.88rem;
    }
}

@media (max-width: 380px) {
    .messenger-popup__fab {
        width: 3.55rem;
        height: 3.4rem;
    }

    .messenger-popup__card {
        max-height: min(58dvh, 22rem);
    }
}

[data-theme="dark"] .messenger-popup {
    --pulse-balloon-bg: rgba(18, 20, 25, 0.88);
    --pulse-balloon-line: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .messenger-popup__header {
    background: linear-gradient(180deg, rgba(24, 27, 33, 0.82), rgba(14, 16, 20, 0.55));
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #f2f3f5;
}

[data-theme="dark"] .messenger-popup__meta span,
[data-theme="dark"] .messenger-popup__note {
    color: #9aa3af;
}

[data-theme="dark"] .messenger-popup__icon-btn {
    background: rgba(22, 24, 29, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f2f3f5;
}

[data-theme="dark"] .messenger-popup__bubble--incoming {
    background: rgba(22, 24, 29, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f2f3f5;
}

[data-theme="dark"] .messenger-popup__bubble--incoming::before {
    background: rgba(22, 24, 29, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .messenger-popup__fab-badge {
    background: linear-gradient(180deg, #f2f3f5 0%, #d8d9db 100%);
    color: #1a1a1a;
    border-color: rgba(18, 20, 25, 0.9);
    box-shadow: 0 0.22rem 0.55rem rgba(0, 0, 0, 0.35);
}

/* Legacy chat widget styles (unused) */
.chat--floating {
    position: fixed;
    right: clamp(1rem, 2.6vw, 2rem);
    bottom: clamp(1rem, 2.6vw, 2rem);
    z-index: 210;
    width: min(22rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 1.25rem 3.5rem rgba(26, 26, 26, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(255, 255, 255, 0.18);
    opacity: 1;
    translate: 0 0;
    transition:
        width var(--ease-premium),
        height var(--ease-premium),
        border-radius var(--ease-premium),
        box-shadow var(--ease-premium),
        transform var(--ease-premium),
        background-color var(--ease-premium),
        backdrop-filter var(--ease-premium);
}

.chat--floating:hover {
    transform: translateY(-0.125rem);
}

.panel.chat.chat--floating:not(.is-focused):hover {
    transform: translateY(-0.125rem);
}

.chat--floating .chat__head {
    cursor: pointer;
    margin-bottom: 0.875rem;
}

.chat--floating .chat__head h2 {
    color: var(--text);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.chat--floating .chat__win button {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.chat--floating .chat__body {
    height: auto;
    min-height: clamp(6rem, 14vh, 8.5rem);
}

.chat--floating .chat__msg {
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.chat__cta {
    display: flex;
    justify-content: center;
    padding-top: 0.75rem;
}

.chat__cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.chat--floating .chat__form {
    display: flex;
    grid-template-columns: none;
}

.chat--floating.is-dismissed {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.chat--floating[hidden] {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.chat--floating.minimized {
    width: 4.75rem;
    height: 4.75rem;
    padding: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow:
        0 0.85rem 2rem rgba(26, 26, 26, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.chat--floating.minimized .chat__head {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center;
}

.chat--floating.minimized .chat__head::before {
    content: "AP";
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(26, 26, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    box-shadow: 0 0.75rem 1.6rem rgba(26, 26, 26, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.chat--floating.minimized .chat__head::after {
    content: "";
    position: absolute;
    top: 0.8rem;
    right: 0.85rem;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 50%;
    background: #fff;
    border: 0.18rem solid var(--text);
    animation: ask-pulse-cue 1.8s ease-out infinite;
}

.chat--floating.minimized h2,
.chat--floating.minimized .chat__win {
    display: none;
}

.chat--floating.minimized .chat__inner {
    display: none !important;
}

@keyframes ask-pulse-cue {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.28);
    }

    72% {
        box-shadow: 0 0 0 0.75rem rgba(26, 26, 26, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 26, 26, 0);
    }
}

@media (max-width: 768px) {
    .plans-viewport,
    .carousel {
        overflow: hidden;
        touch-action: pan-x;
    }

    .plans-track,
    .carousel__track {
        display: flex;
        grid-template-columns: none;
        width: auto;
        max-width: none;
        transition: transform 0.45s cubic-bezier(.33, 1, .68, 1) !important;
        overflow: visible;
    }

    .plan,
    .plan--featured,
    .coach,
    .coach.is-center {
        width: auto;
        max-width: none;
        flex: 0 0 min(80vw, 18rem);
    }

    .coach {
        opacity: 0.66;
        transform: scale(.94) !important;
    }

    .coach.is-center {
        opacity: 1;
        transform: scale(1.04) !important;
    }

    .chat--floating {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
        border-radius: 1.1rem;
    }

    .chat--floating .chat__head {
        align-items: center;
    }

    .chat--floating .chat__body {
        height: clamp(13rem, 46dvh, 23rem);
    }

    .chat--floating .chat__form button {
        width: 3rem;
        flex: 0 0 3rem;
    }

    .chat--floating.minimized {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 999px;
    }
}

.membership__hint {
    text-align: center;
    margin-top: 0.875rem;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

/* ===== Final visual balance fixes ===== */
.row--people {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--gap-md);
    align-items: stretch;
}

.row--schedule {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gap-md);
}

.row--people .coaches,
.row--people .pulse-team,
.row--schedule .sched {
    min-width: 0;
}

.membership-coaching-page__people,
.membership-coaching-page__schedule {
    margin: 0;
}

.row--low {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
}

.nav {
    justify-content: space-between;
    gap: clamp(1rem, 2vw, 1.75rem);
    padding: 0.85rem clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 1.25rem;
    will-change: auto;
    transform: none;
}

.nav__burger {
    display: none;
}

.nav__logo {
    flex: 0 0 auto;
}

.nav__drawer {
    display: none;
}

@media (min-width: 769px) {
    .nav__links {
        flex: 1;
        align-items: center;
        justify-content: center;
        display: flex;
        gap: clamp(1rem, 3vw, 2rem);
    }

    .nav__links > a {
        position: relative;
        border-bottom: 0;
        padding: 0.45rem 0.1rem;
        min-width: 0;
        min-height: 0;
        font-family: var(--font-heading);
        font-size: 14px;
        color: var(--muted);
    }

    .nav__links > a::after {
        content: "";
        position: absolute;
        left: 50%;
        right: 50%;
        bottom: 0;
        height: 0.125rem;
        border-radius: 999px;
        background: var(--text);
        transition: left 0.25s ease, right 0.25s ease;
    }

    .nav__links > a.active::after,
    .nav__links > a:hover::after {
        left: 0;
        right: 0;
    }

    .nav__links > a.active,
    .nav__links > a:hover {
        color: var(--text);
    }
}

.nav__cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.socials a {
    display: inline-grid;
    place-items: center;
    justify-items: center;
    width: 2.625rem;
    height: 2.625rem;
    padding: 0;
    color: var(--muted);
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
}

.socials a svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: currentColor;
    display: block;
}

.socials a:hover {
    color: var(--text);
}

.plans-viewport {
    cursor: grab;
    touch-action: pan-x;
}

.plans-viewport.dragging {
    cursor: grabbing;
}

.plans-viewport.dragging .plan {
    pointer-events: none;
}

.plans-viewport.dragging .plan a,
.plans-viewport.dragging .plan button {
    pointer-events: auto;
}

.sched__empty {
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 0.75rem;
    color: var(--muted);
    text-align: center;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.46);
}

.sched__row {
    grid-template-columns: minmax(4.75rem, 5.25rem) minmax(0, 1fr) minmax(3rem, 4.5rem) minmax(3rem, 3.75rem);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sched__row--hot {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.sched__join {
    display: none;
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.35rem;
}

.sched__row.is-selected .sched__join {
    display: inline-flex;
}

.sched__row.is-selected,
.sched__row:focus-visible {
    background: #fff;
    border-color: rgba(26, 26, 26, 0.16);
    box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.12), var(--soft);
    outline: none;
}

.sched__time,
.sched__name,
.sched__coach,
.sched__len {
    min-width: 0;
}

.sched__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.panel.is-focused {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.panel.is-focused .panel__head {
    flex: 0 0 auto;
}

.panel.is-focused .plans-viewport,
.panel.is-focused .carousel {
    flex: 1;
    display: flex;
    align-items: center;
}

.panel.is-focused .plans-track,
.panel.is-focused .carousel__track {
    align-items: center;
}

.panel.is-focused .plan {
    flex-basis: clamp(14rem, 26vw, 20rem);
}

.panel.is-focused.sched .sched__list {
    align-content: start;
}

.chat--floating {
    contain: none;
}

.chat--floating.minimized {
    width: 6.75rem;
    height: 4.75rem;
    z-index: 240;
}

.chat--floating.minimized .chat__head::before {
    content: "ASK AI";
    width: 5.55rem;
    padding-inline: 0.4rem;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .nav {
        width: calc(100% - 1.5rem);
        overflow: visible;
        z-index: 120;
        justify-content: space-between;
    }

    .nav__links,
    .nav__cta {
        display: none !important;
    }

    .nav__logo .site-logo {
        opacity: 1;
        filter: none;
    }

    .nav__burger {
        display: inline-grid;
        place-items: center;
        color: var(--text);
        z-index: 160;
    }

    .nav__burger span {
        background: var(--text);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav__drawer {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 300;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        pointer-events: none;
    }

    .nav__drawer.open {
        display: flex;
        pointer-events: auto;
    }

    .nav__backdrop {
        position: absolute;
        inset: 0;
        margin: 0;
        padding: 0;
        border: 0;
        background: rgba(26, 26, 26, 0.32);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        cursor: pointer;
    }

    .nav__menu-panel {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        width: min(94vw, 24rem);
        max-height: min(88dvh, 40rem);
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.95);
        border-radius: 1.25rem;
        box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
        overflow: hidden;
        transform: translateY(0.75rem) scale(0.98);
        opacity: 0;
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
    }

    .nav__drawer.open .nav__menu-panel {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    .nav__menu-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1.25rem;
        flex: 0 0 auto;
        border-bottom: 1px solid var(--line);
    }

    .nav__menu-logo {
        height: 2rem;
        width: auto;
    }

    .nav__close {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: #fff;
        color: var(--text);
        font-size: 1.2rem;
        line-height: 1;
        cursor: pointer;
        box-shadow: var(--soft);
    }

    .nav__menu-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.25rem;
        flex: 1 1 auto;
        min-height: 0;
        margin: 0;
        padding: 1rem 1rem 0.5rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .nav__menu-group {
        display: grid;
        gap: 0;
        flex: 0 0 auto;
    }

    .nav__menu-group-toggle {
        display: block;
        width: 100%;
        border: 0;
        background: none;
        text-align: center;
        padding: 0.75rem 2rem 0.75rem 1rem;
        font-family: var(--font-heading);
        font-size: clamp(1.15rem, 4.8vw, 1.45rem);
        line-height: 1.15;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
        border-radius: 0.75rem;
        cursor: pointer;
        position: relative;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .nav__menu-group-toggle::after {
        content: "";
        position: absolute;
        right: 1rem;
        top: 50%;
        width: 0.45rem;
        height: 0.45rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-70%) rotate(45deg);
        opacity: 0.72;
        transition: transform 0.22s ease;
    }

    .nav__menu-group.is-open .nav__menu-group-toggle {
        color: var(--text);
        background: rgba(255, 255, 255, 0.85);
        box-shadow: var(--soft);
    }

    .nav__menu-group.is-open .nav__menu-group-toggle::after {
        transform: translateY(-30%) rotate(-135deg);
    }

    .nav__menu-group-panel[hidden] {
        display: none !important;
    }

    .nav__menu-group-panel {
        display: grid;
        gap: 0.1rem;
        max-height: min(11rem, 24dvh);
        margin: 0.15rem 0 0.35rem;
        padding: 0.15rem 0.35rem 0.35rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid var(--line);
    }

    .nav__menu-group-panel a {
        display: block;
        padding: 0.55rem 0.75rem;
        border-radius: 0.55rem;
        font-family: var(--font-body);
        font-size: clamp(0.88rem, 3.4vw, 0.95rem);
        line-height: 1.35;
        letter-spacing: 0;
        text-transform: none;
        text-align: center;
        color: var(--muted);
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .nav__menu-group-panel a:hover,
    .nav__menu-group-panel a:focus-visible {
        color: var(--text);
        background: rgba(255, 255, 255, 0.7);
    }

    .nav__menu-list > a {
        display: block;
        width: 100%;
        font-family: var(--font-heading);
        font-size: clamp(1.15rem, 4.8vw, 1.45rem);
        line-height: 1.15;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 0.75rem 1rem;
        text-align: center;
        color: var(--muted);
        border-bottom: 0;
        border-radius: 0.75rem;
        background: transparent;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .nav__menu-list > a::before {
        display: none;
    }

    .nav__menu-list > a::after {
        display: none;
    }

    .nav__menu-list > a:hover,
    .nav__menu-list > a:focus-visible {
        color: var(--text);
        background: rgba(255, 255, 255, 0.7);
    }

    .nav__menu-list > a.active {
        color: var(--text);
        background: rgba(255, 255, 255, 0.85);
        box-shadow: var(--soft);
    }

    .nav__menu-cta {
        display: inline-flex;
        justify-content: center;
        width: calc(100% - 2rem);
        margin: 0.5rem 1rem 1rem;
        padding: 0.9rem 1.25rem;
        flex: 0 0 auto;
        font-size: 0.8125rem;
        letter-spacing: 0.1em;
        color: #fff;
        background: linear-gradient(135deg, var(--text), #4b4b4b);
        border: 0;
        box-shadow: 0 0.75rem 1.75rem rgba(26, 26, 26, 0.2);
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .chat--floating {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .nav__cta {
        display: none;
    }

    .plans-viewport,
    .carousel {
        overflow: hidden;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }

    .plans-track,
    .carousel__track {
        display: flex;
        align-items: stretch;
        grid-template-columns: none;
        width: auto;
        max-width: none;
        gap: 0.75rem;
        transition: transform 0.45s cubic-bezier(.33, 1, .68, 1) !important;
        overflow: visible;
    }

    .plan,
    .plan--featured,
    .coach,
    .coach.is-center {
        flex: 0 0 calc(100% - 0.25rem);
        width: calc(100% - 0.25rem);
        max-width: calc(100% - 0.25rem);
        min-height: 100%;
        transform: none !important;
        box-shadow: var(--soft);
    }

    .plan--featured {
        margin-top: 0;
        border-color: rgba(26, 26, 26, 0.16);
    }

    .plan ul:not(.plan__features) {
        flex: 1;
    }

    .membership .panel__head h2 {
        flex: 1;
        text-align: center;
    }

    .chat--floating.minimized {
        width: 6.4rem;
        height: 4.5rem;
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .chat--floating.minimized .chat__head::before {
        width: 5.2rem;
    }
}

@keyframes chat-pop-in {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat--floating.is-opening {
    animation: chat-pop-in 0.42s ease;
}

/* ===== Careers module ===== */
.careers__grid {
    display: grid;
    gap: 1rem;
}

.careers__grid--page {
    gap: 1.25rem;
}

.careers__hint {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--muted);
}

.careers__hint a {
    color: var(--text);
    font-weight: 700;
}

.careers-page__head {
    align-items: flex-start;
    gap: 1rem;
}

.careers-page__head h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.careers-page__intro {
    max-width: 42rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.careers-page__note {
    margin-bottom: 1.25rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
    color: var(--muted);
    font-size: 0.95rem;
}

.careers-page__note a {
    color: var(--text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.careers-page__empty {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    padding: 1.5rem;
    border: 1px dashed var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.5);
}

.careers-page__empty h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.job-card {
    display: grid;
    gap: 0.875rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.job-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--soft);
    border-color: rgba(26, 26, 26, 0.14);
}

.job-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.job-card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.job-card__meta span:not(:last-child)::after {
    content: "•";
    margin-left: 0.75rem;
    color: var(--silver);
}

.job-card__desc {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.job-card__reqs {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.job-card__reqs li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.job-card__reqs li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text);
    font-weight: 700;
}

.job-card__apply {
    flex: 0 0 auto;
    white-space: nowrap;
}

.job-card--compact .job-card__head {
    align-items: center;
}

.job-card--compact .job-card__title {
    font-size: 1.125rem;
}

@media (min-width: 769px) {
    .careers__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .careers__grid--page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .job-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .job-card__apply {
        width: 100%;
    }

    .careers-page__head {
        flex-direction: column;
    }

    .careers-page__head .btn {
        width: 100%;
    }
}

/* ===== Community hub page (wireframe layout) ===== */
.events-home .panel__head h2,
.events-section .panel__head h2,
.marketing-home .panel__head h2,
.marketing-section .panel__head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.events-home .community-hub__row,
.events-section .community-hub__row,
.marketing-home .community-hub__row,
.marketing-section .community-hub__row {
    padding: 0 1.25rem 1.25rem;
}

.events-section .panel__head + .community-hub__row {
    padding-top: 0;
}

.marketing-section .panel__head + .community-hub__row {
    padding-top: 0;
}

.marketing-section__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    min-width: 0;
}

.community-hub__events--page {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    padding: 0 1.25rem 1.25rem;
    align-items: stretch;
}

.community-hub {
    gap: clamp(1.25rem, 3vw, 2rem);
}

.community-hub__section {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.community-hub__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.community-hub__head h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.community-hub__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

.community-hub__more {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    min-width: 3rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease, transform 0.25s ease;
}

.community-hub__more:hover,
.community-hub__more:focus-visible {
    color: var(--text);
    transform: translateX(0.2rem);
}

.community-hub__more:hover .community-hub__more-arrow,
.community-hub__more:focus-visible .community-hub__more-arrow {
    transform: translateX(0.15rem);
}

.community-hub__more-arrow {
    font-size: 1.35rem;
    line-height: 1;
    color: var(--text);
    transition: transform 0.25s ease;
}

.community-hub__events {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    min-width: 0;
}

.community-event-card {
    display: grid;
    gap: 0.85rem;
    min-width: 0;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.community-event-card:hover,
.community-event-card:focus-within {
    transform: translateY(-0.35rem);
}

.community-event-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 0.35rem;
    overflow: hidden;
    background: #ececeb;
    border: 1px solid var(--line);
    transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.community-event-card:hover .community-event-card__media,
.community-event-card:focus-within .community-event-card__media {
    border-color: rgba(26, 26, 26, 0.16);
    box-shadow: var(--soft);
}

.community-event-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.community-event-card:hover .community-event-card__media img,
.community-event-card:focus-within .community-event-card__media img {
    transform: scale(1.06);
}

.community-event-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.72);
    transition: color 0.25s ease, background-color 0.25s ease;
}

.community-event-card:hover .community-event-card__placeholder,
.community-event-card:focus-within .community-event-card__placeholder {
    color: rgba(26, 26, 26, 0.9);
    background: rgba(255, 255, 255, 0.35);
}

.community-event-card__body h3,
.community-event-card__body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.15;
    transition: color 0.25s ease;
}

.community-event-card:hover .community-event-card__body h3,
.community-event-card:focus-within .community-event-card__body h3,
.community-event-card:hover .community-event-card__body h2,
.community-event-card:focus-within .community-event-card__body h2 {
    color: var(--text);
}

.community-event-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0;
    flex: 1;
}

.community-event-card__body p,
.community-event-card__date,
.community-event-card__excerpt {
    margin-top: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
    transition: color 0.25s ease;
}

.community-event-card__excerpt {
    font-size: 0.9rem;
}

.community-event-card__content {
    flex: 1;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    text-align: left;
}

.community-event-card__content.richtext p + p,
.community-event-card__content.richtext ul + p,
.community-event-card__content.richtext ol + p {
    margin-top: 0.65rem;
}

.community-event-card__cta {
    margin-top: auto;
    justify-self: start;
}

.community-event-card:hover .community-event-card__body p,
.community-event-card:focus-within .community-event-card__body p {
    color: rgba(26, 26, 26, 0.78);
}

.community-hub__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

.community-hub__gallery-item {
    aspect-ratio: 4 / 5;
    margin: 0;
    border-radius: 0.35rem;
    overflow: hidden;
    background: #ececeb;
    border: 1px solid var(--line);
}

.community-hub__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-hub__gallery-item figcaption {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--line);
}

.community-hub__gallery-wrap {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.community-hub__gallery--collapsible:not(.is-expanded) .is-gallery-hidden {
    display: none;
}

.community-hub__gallery.is-expanded .is-gallery-hidden {
    display: block;
}

.community-hub__gallery.is-expanded {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.pulse-community .community-hub__gallery {
    grid-template-columns: 1fr;
}

.pulse-community .community-hub__gallery-item {
    aspect-ratio: 16 / 10;
}

.pulse-community .community-hub__gallery-item figcaption {
    position: static;
}

.community-hub__reviews {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(0.75rem, 2vw, 1.25rem);
    min-width: 0;
}

.community-hub__reviews .review-card {
    min-height: 5.5rem;
}

.community-hub__reviews .review-card--compact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    min-height: 5.5rem;
}

.community-hub__reviews .review-card--compact .review-card__head {
    flex: 0 0 auto;
}

.community-hub__reviews .review-card--compact .review-card__quote {
    margin: 0;
    flex: 1;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.community-hub__feedback {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 4.5rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #ececeb;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.78);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.community-hub__feedback:hover,
.community-hub__feedback:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--soft);
    color: var(--text);
}

.community-hub__empty {
    padding: 2rem 1rem;
    border: 1px dashed var(--line);
    border-radius: 0.75rem;
    text-align: center;
    color: var(--muted);
}

[data-theme="dark"] .community-event-card__media,
[data-theme="dark"] .community-hub__gallery-item,
[data-theme="dark"] .community-hub__feedback {
    background: #181b21;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .community-event-card__placeholder,
[data-theme="dark"] .community-hub__feedback {
    color: rgba(242, 243, 245, 0.78);
}

[data-theme="dark"] .community-event-card:hover .community-event-card__media,
[data-theme="dark"] .community-event-card:focus-within .community-event-card__media {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .community-event-card:hover .community-event-card__placeholder,
[data-theme="dark"] .community-event-card:focus-within .community-event-card__placeholder {
    color: rgba(242, 243, 245, 0.92);
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .community-event-card:hover .community-event-card__body p,
[data-theme="dark"] .community-event-card:focus-within .community-event-card__body p {
    color: rgba(242, 243, 245, 0.72);
}

@media (max-width: 900px) {
    .community-hub__row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .community-hub__more {
        justify-self: end;
    }

    .community-hub__events,
    .community-hub__gallery,
    .marketing-section__grid {
        grid-template-columns: 1fr;
    }

    .community-hub__reviews {
        grid-template-columns: 1fr;
    }

    .community-hub__reviews .review-card--compact {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
    }

    .community-hub__reviews .review-card--compact .review-card__quote {
        width: 100%;
        -webkit-line-clamp: 4;
    }

    .community-hub__head {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .panel.reveal-on-scroll {
        opacity: 1;
        translate: none;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .reviews__grid .review-card--compact {
        display: grid;
    }
}

/* ===== Community leaderboard page ===== */
.community-page__head {
    align-items: flex-start;
    gap: 1rem;
}

.community-page__head h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.community-page__intro {
    max-width: 42rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.community-page__empty {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    padding: 1.5rem;
    border: 1px dashed var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.5);
}

.community-page__empty h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.community-page__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.community-stat {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
}

.community-stat__value {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 0.06em;
}

.community-stat__label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.community-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.875rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.community-podium__card {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    text-align: center;
    padding: 1.1rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--soft);
}

.community-podium__card--1 {
    min-height: 9.5rem;
    border-color: rgba(26, 26, 26, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 228, 226, 0.55));
}

.community-podium__card--2 {
    min-height: 8.25rem;
}

.community-podium__card--3 {
    min-height: 7.5rem;
}

.community-podium__medal {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.community-podium__card h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.community-podium__card p {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.community-page__list {
    display: grid;
    gap: 0.9rem;
}

.community-page__list-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.community-page__list-head h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.community-page__list-head span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.lb__list--page {
    gap: 1rem;
}

.lb-row--top .lb-name {
    color: var(--text);
}

.lb-row--top .lb-fill {
    background: linear-gradient(90deg, var(--platinum), var(--text));
}

.lb-empty {
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 0.75rem;
    color: var(--muted);
    text-align: center;
}

.community-page__note {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.community-page__note a {
    color: var(--text);
    font-weight: 700;
}

.community-page__section {
    margin-top: var(--gap-md);
}

.community-page__section .panel__head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

@media (max-width: 768px) {
    .community-page__head {
        flex-direction: column;
    }

    .community-page__head .btn {
        width: 100%;
    }

    .community-page__stats,
    .community-podium {
        grid-template-columns: 1fr;
    }

    .community-podium__card,
    .community-podium__card--1,
    .community-podium__card--2,
    .community-podium__card--3 {
        min-height: auto;
    }
}

/* ===== Facility background — match site platinum texture ===== */
.facility {
    width: 100%;
    background-color: #8b8f94;
}

.facility:not(.facility--page) {
    position: relative;
    overflow: visible;
}

.facility-panel .facility__tooltip,
#facilityTooltip {
    position: fixed;
    z-index: 360;
    pointer-events: auto;
    width: min(14.375rem, calc(100vw - 1rem));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

#facilityTooltip:not([hidden]) {
    display: block;
    visibility: visible;
    opacity: 1;
}

.panel.facility-panel {
    contain: none;
    overflow: visible;
}

.panel.facility-panel:not(.is-focused):hover {
    transform: none;
}

.panel.facility-panel.has-tooltip-open {
    z-index: 40;
}

.facility::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--facility-photo);
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    filter: grayscale(38%) brightness(1.16) contrast(0.9) saturate(0.82);
    opacity: 0.62;
    pointer-events: none;
}

.facility__grid {
    z-index: 1;
    background:
        repeating-linear-gradient(0deg, rgba(26, 26, 26, 0.045) 0 1px, transparent 1px 46px),
        repeating-linear-gradient(90deg, rgba(26, 26, 26, 0.045) 0 1px, transparent 1px 46px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(246, 246, 244, 0.4)),
        radial-gradient(ellipse at 50% 52%, transparent 38%, rgba(255, 255, 255, 0.3) 100%);
    pointer-events: none;
}

.facility__tooltip img {
    filter: grayscale(20%) brightness(1.05);
}

.facility__tooltip-link {
    display: block;
    cursor: pointer;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facility__tooltip-link:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--soft);
}

.facility__tooltip-link:focus-visible {
    outline: 0.1875rem solid rgba(192, 192, 192, 0.6);
    outline-offset: 0.125rem;
}

.facility__tooltip-cta {
    display: block;
    padding: 0.45rem 0.75rem 0.65rem;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.facility__tooltip-caption {
    padding: 0.55rem 0.75rem 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text);
    font-style: italic;
}

.facility-page__caption {
    min-height: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--muted);
    font-style: italic;
    text-align: center;
}

.facility-page__caption[hidden] {
    display: none;
}

.facility-panel__hint,
.facility-page__hint {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.facility-page__head {
    align-items: flex-start;
}

.facility-page__intro {
    margin-top: 0.35rem;
    max-width: 42rem;
    color: var(--muted);
}

.facility-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--gap-md);
    align-items: stretch;
}

.facility-page__map,
.facility-page__detail {
    min-width: 0;
}

.facility-page__map .facility {
    min-height: clamp(18rem, 42vw, 28rem);
    border-radius: 0.875rem;
    overflow: hidden;
    border: 1px solid var(--line);
}

.facility-page__detail {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    padding: 1rem;
}

.facility-page__photo {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid var(--line);
    min-height: clamp(12rem, 28vw, 18rem);
}

.facility-page__gallery {
    display: grid;
    gap: 0.75rem;
}

.facility-page__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--soft);
}

.facility-page__nav--prev {
    left: 0.75rem;
}

.facility-page__nav--next {
    right: 0.75rem;
}

.facility-page__count {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.72);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.facility-page__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
}

.facility-page__thumb {
    flex: 0 0 auto;
    width: 4.5rem;
    height: 4.5rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.facility-page__thumb.is-active {
    border-color: var(--text);
    box-shadow: var(--soft);
}

.facility-page__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-zone__count {
    display: inline-grid;
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.08);
    font-size: 0.625rem;
    line-height: 1;
}

.facility-zone.is-active .facility-zone__count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.facility-page__photo img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    filter: grayscale(18%) brightness(1.05);
}

.facility-page__copy {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.facility-page__eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.facility-page__copy h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.05;
}

.facility-page__copy p:last-of-type {
    color: var(--muted);
}

.facility-page__zones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1rem;
}

.facility-zone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.facility-zone:hover,
.facility-zone.is-active {
    color: var(--text);
    background: #fff;
    border-color: rgba(26, 26, 26, 0.16);
    box-shadow: var(--soft);
}

.facility-zone.is-active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.facility--page .hotspot.active {
    background: var(--text);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.12), var(--soft);
}

@media (max-width: 900px) {
    .facility-page__layout {
        grid-template-columns: 1fr;
    }

    .facility-page__detail {
        order: 2;
    }
}

@media (max-width: 768px) {
    .facility-page__head {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .facility-page__head .btn {
        width: 100%;
    }

    .facility-page__zones {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facility-zone {
        width: 100%;
        text-align: center;
    }
}

/* ===== Promotions ===== */
.promotions__grid {
    display: grid;
    gap: 1rem;
}

.promotions__grid--page {
    grid-template-columns: 1fr;
}

.promotions__hint {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.promotions__hint a {
    color: var(--text);
    font-weight: 700;
}

.events-page__head,
.promotions-page__head,
.marketing-page__head {
    align-items: flex-start;
    gap: 1rem;
}

.events-page__head h1,
.promotions-page__head h1,
.marketing-page__head h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.events-page__intro,
.promotions-page__intro,
.marketing-page__intro {
    max-width: 42rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.events-page__empty,
.promotions-page__empty,
.marketing-page__empty {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    padding: 1.5rem;
    border: 1px dashed var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.5);
}

.events-page__empty h2,
.promotions-page__empty h2,
.marketing-page__empty h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.promo-card {
    display: grid;
    gap: 0.875rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--soft);
    border-color: rgba(26, 26, 26, 0.14);
}

.promo-card--featured {
    border-color: rgba(26, 26, 26, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(229, 228, 226, 0.45));
}

.promo-card__media img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 0.75rem;
}

.promo-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.promo-card__badge {
    display: inline-flex;
    margin-bottom: 0.45rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--text);
    color: var(--white);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promo-card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.promo-card__meta,
.promo-card__code {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.promo-card__desc {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.promo-card__cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.promo-card--compact .promo-card__head {
    align-items: center;
}

.promo-card--compact .promo-card__title {
    font-size: 1.125rem;
}

@media (min-width: 769px) {
    .promotions__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .promo-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-card__cta {
        width: 100%;
    }

    .promotions-page__head {
        flex-direction: column;
    }

    .promotions-page__head .btn {
        width: 100%;
    }
}

.hotspot {
    z-index: 2;
}

.facility__tooltip {
    z-index: 3;
}

.panel.facility-panel.is-focused .facility {
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    min-height: clamp(20rem, 62vh, 42rem);
}

/* ===== Theme toggle ===== */
.nav__theme {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--soft);
    flex: 0 0 auto;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav__theme:hover {
    transform: translateY(-1px);
}

.nav__theme-icon {
    font-size: 1rem;
    line-height: 1;
}

.nav__theme-icon--sun {
    display: none;
}

[data-theme="dark"] .nav__theme-icon--moon {
    display: none;
}

[data-theme="dark"] .nav__theme-icon--sun {
    display: block;
}

.nav__menu-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .nav__theme:not(.nav__theme--drawer) {
        margin-left: auto;
    }

    .nav__theme--drawer {
        width: 2.25rem;
        height: 2.25rem;
    }
}

/* ===== Night mode ===== */
[data-theme="dark"] {
    color-scheme: dark;
    --text: #f2f3f5;
    --muted: #9aa0a8;
    --platinum: #3a3f48;
    --silver: #8d949e;
    --panel: rgba(16, 18, 22, 0.84);
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
    --soft: 0 10px 30px rgba(0, 0, 0, 0.34);
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.11);
}

[data-theme="dark"] body {
    background:
        radial-gradient(900px 420px at 70% 0, rgba(70, 78, 92, 0.28), transparent 60%),
        linear-gradient(180deg, #090a0d, #12141a 48%, #090a0d);
    color: var(--text);
}

[data-theme="dark"] .panel {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .nav,
[data-theme="dark"] .nav--scrolled {
    background: rgba(12, 14, 18, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav__theme,
[data-theme="dark"] .panel__expand,
[data-theme="dark"] .panel__close,
[data-theme="dark"] .chat__win button,
[data-theme="dark"] .car-arrow,
[data-theme="dark"] .chat__chips button,
[data-theme="dark"] .chat__form button,
[data-theme="dark"] .sched__join,
[data-theme="dark"] .socials a,
[data-theme="dark"] .vmodal__close {
    background: var(--surface-strong);
    border-color: var(--line);
    color: var(--text);
}

[data-theme="dark"] .btn--glass,
[data-theme="dark"] .btn--outline {
    background: var(--surface);
    color: var(--text);
}

[data-theme="dark"] .btn--glow {
    background: linear-gradient(135deg, #f2f3f5, #a8adb5);
    color: #101216;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .hero__overlay {
    background: linear-gradient(100deg, rgba(8, 9, 12, 0.92) 18%, rgba(12, 14, 18, 0.72) 62%, rgba(18, 20, 26, 0.55));
}

[data-theme="dark"] .hero__video {
    filter: grayscale(15%) brightness(0.72);
    opacity: 0.34;
}

[data-theme="dark"] .hero__title {
    text-shadow: none;
}

[data-theme="dark"] .hero__play {
    background: rgba(18, 20, 24, 0.82);
}

[data-theme="dark"] .plan,
[data-theme="dark"] .coach,
[data-theme="dark"] .job-card,
[data-theme="dark"] .promo-card,
[data-theme="dark"] .community-stat,
[data-theme="dark"] .community-podium__card {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .plan--featured,
[data-theme="dark"] .coach.is-center,
[data-theme="dark"] .promo-card--featured {
    background: linear-gradient(180deg, rgba(28, 31, 38, 0.95), rgba(18, 20, 24, 0.88));
    border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .hotspot {
    background: rgba(12, 14, 18, 0.88);
    color: var(--text);
}

[data-theme="dark"] .hotspot.active {
    background: #f2f3f5;
    color: #101216;
}

[data-theme="dark"] .facility__tooltip,
[data-theme="dark"] .chat__msg,
[data-theme="dark"] .map-card,
[data-theme="dark"] .vmodal__box {
    background: #16181d;
    border-color: var(--line);
    color: var(--text);
}

[data-theme="dark"] .chat__msg--user {
    background: #f2f3f5;
    color: #101216;
}

[data-theme="dark"] .sched__tabs button {
    background: var(--surface);
    color: var(--muted);
}

[data-theme="dark"] .sched__tabs button.active,
[data-theme="dark"] .sched__row--hot {
    background: #f2f3f5;
    color: #101216;
}

[data-theme="dark"] .sched__row {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .sched__join {
    color: var(--text);
}

[data-theme="dark"] .ba__side > span,
[data-theme="dark"] .ba__grip {
    background: #16181d;
    color: var(--text);
    border-color: var(--line);
}

[data-theme="dark"] .ba__before {
    background: linear-gradient(160deg, #1a1c22, #101216);
}

[data-theme="dark"] .ba__after {
    background: linear-gradient(160deg, #22252d, #14161b);
}

[data-theme="dark"] .lb-bar {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .facility::before {
    filter: grayscale(30%) brightness(0.72) contrast(1.05) saturate(0.85);
    opacity: 0.72;
}

[data-theme="dark"] .facility__grid {
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 46px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 46px),
        linear-gradient(180deg, rgba(8, 9, 12, 0.18), rgba(12, 14, 18, 0.34)),
        radial-gradient(ellipse at 50% 52%, transparent 38%, rgba(0, 0, 0, 0.28) 100%);
}

[data-theme="dark"] .chat--floating {
    background: rgba(14, 16, 20, 0.58);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    box-shadow:
        0 1.5rem 4.5rem rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .chat--floating .chat__msg {
    background: rgba(22, 24, 29, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f2f3f5;
}

[data-theme="dark"] .chat--floating .chat__win button {
    background: rgba(22, 24, 29, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f2f3f5;
}

[data-theme="dark"] .chat--floating.minimized {
    background: rgba(14, 16, 20, 0.52);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .chat--floating.minimized .chat__head::before {
    background: #f2f3f5;
    color: #101216;
}

[data-theme="dark"] .chat--floating.minimized .chat__head::after {
    background: #101216;
    border-color: #f2f3f5;
}

[data-theme="dark"] .focus-backdrop {
    background: rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .vmodal__backdrop {
    background: rgba(0, 0, 0, 0.78);
}

[data-theme="dark"] .careers-page__empty,
[data-theme="dark"] .careers-page__note,
[data-theme="dark"] .community-page__empty,
[data-theme="dark"] .promotions-page__empty {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .promo-card__badge {
    background: #f2f3f5;
    color: #101216;
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav__menu-panel {
        background: rgba(14, 16, 20, 0.97);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    }

    [data-theme="dark"] .nav__menu-list > a:hover,
    [data-theme="dark"] .nav__menu-list > a:focus-visible,
    [data-theme="dark"] .nav__menu-list > a.active {
        background: var(--surface-strong);
        color: var(--text);
    }

    [data-theme="dark"] .nav__menu-group.is-open .nav__menu-group-toggle {
        background: var(--surface-strong);
        color: var(--text);
    }

    [data-theme="dark"] .nav__menu-group-panel a:hover,
    [data-theme="dark"] .nav__menu-group-panel a:focus-visible {
        background: rgba(255, 255, 255, 0.06);
        color: var(--text);
    }

    [data-theme="dark"] .nav__close {
        background: var(--surface-strong);
        color: var(--text);
    }
}

/* ===== Blog ===== */
.blog__grid,
.reviews__grid {
    display: grid;
    gap: 1rem;
}

.blog__grid--page,
.reviews__grid--page {
    grid-template-columns: 1fr;
}

.blog__hint,
.reviews__hint {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.blog__hint a,
.reviews__hint a {
    color: var(--text);
    font-weight: 700;
}

.blog-page__head,
.reviews-page__head,
.blog-article__head {
    align-items: flex-start;
    gap: 1rem;
}

.reviews-page__head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-page__head h1,
.reviews-page__head h1,
.blog-article__head h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.blog-page__intro,
.reviews-page__intro,
.blog-article__intro {
    max-width: 42rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.blog-page__empty,
.reviews-page__empty {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    padding: 1.5rem;
    border: 1px dashed var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.5);
}

.blog-card,
.review-card {
    display: grid;
    gap: 0.875rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover,
.review-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--soft);
    border-color: rgba(26, 26, 26, 0.14);
}

.blog-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid var(--line);
}

.blog-article__media {
    border-radius: 0.875rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid var(--line);
}

.blog-card__media img,
.blog-article__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.blog-article__media img {
    height: auto;
    max-height: min(70vh, 32rem);
    margin: 0 auto;
}

.blog-card__meta,
.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.blog-card__title,
.blog-card__title a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.blog-card__excerpt,
.blog-article__content {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.blog-card__cta {
    justify-self: start;
}

.blog-article__content {
    display: grid;
    gap: 1rem;
}

.blog-article__content img,
.richtext img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin-inline: auto;
    border-radius: 0.5rem;
}

.review-card__head {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.review-card__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
}

.review-card__avatar--placeholder {
    display: grid;
    place-items: center;
    background: var(--text);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.review-card__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.review-card__stars {
    display: inline-flex;
    gap: 0.15rem;
    margin-top: 0.2rem;
}

.review-card__star {
    color: var(--silver);
    font-size: 0.85rem;
}

.review-card__star.is-filled {
    color: var(--text);
}

.review-card__quote {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

.review-card--featured {
    border-color: rgba(26, 26, 26, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(229, 228, 226, 0.45));
}

.reviews-page__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.review-stat {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
}

.review-stat__value {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 0.06em;
}

.review-stat__label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.review-form-page__head,
.review-form-page__head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.review-form-page__head h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.review-form-page__intro {
    max-width: 42rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.review-form-page__head-actions {
    gap: 0.75rem;
}

.review-form-page__form {
    display: grid;
    gap: 1rem;
    max-width: 42rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
}

.review-form-page__form label,
.review-form-page__rating {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

.review-form-page__form input:not([type="radio"]),
.review-form-page__form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.75rem 0.875rem;
    font: inherit;
    background: #fff;
}

.review-form-page__rating {
    border: 0;
    padding: 0;
    margin: 0;
}

.review-form-page__rating legend {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.review-form-page__stars {
    display: flex;
    gap: 0.35rem;
}

.review-form-page__star {
    position: relative;
    cursor: pointer;
}

.review-form-page__star input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.review-form-page__star span[aria-hidden="true"] {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1;
    color: rgba(26, 26, 26, 0.18);
    transition: color 0.15s ease, transform 0.15s ease;
}

.review-form-page__star.is-filled span[aria-hidden="true"],
.review-form-page__star:hover span[aria-hidden="true"] {
    color: #c9a227;
}

.review-form-page__rating-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.review-form-page__optional {
    color: var(--muted);
    font-weight: 400;
}

.review-form-page__notice {
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    background: rgba(26, 26, 26, 0.06);
    border: 1px solid var(--line);
}

.review-form-page__errors {
    color: #8a1f1f;
    display: grid;
    gap: 0.35rem;
}

.review-form-page__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

[data-theme="dark"] .review-form-page__form {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .review-form-page__form input:not([type="radio"]),
[data-theme="dark"] .review-form-page__form textarea {
    background: var(--surface-strong);
    border-color: var(--line);
    color: var(--text);
}

[data-theme="dark"] .review-form-page__star span[aria-hidden="true"] {
    color: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .review-form-page__star.is-filled span[aria-hidden="true"],
[data-theme="dark"] .review-form-page__star:hover span[aria-hidden="true"] {
    color: #e0c35a;
}

@media (min-width: 769px) {
    .blog__grid,
    .reviews__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-page__head,
    .reviews-page__head,
    .blog-article__head {
        flex-direction: column;
    }

    .blog-page__head .btn,
    .reviews-page__head .btn,
    .reviews-page__head-actions,
    .blog-article__head .btn {
        width: 100%;
    }

    .reviews-page__stats {
        grid-template-columns: 1fr;
    }
}

[data-theme="dark"] .blog-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .review-stat,
[data-theme="dark"] .blog-page__empty,
[data-theme="dark"] .reviews-page__empty {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .blog-card__media,
[data-theme="dark"] .blog-article__media {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
}

[data-theme="dark"] .review-card--featured {
    background: linear-gradient(180deg, rgba(28, 31, 38, 0.95), rgba(18, 20, 24, 0.88));
}

[data-theme="dark"] .review-card__avatar--placeholder {
    background: #f2f3f5;
    color: #101216;
}

[data-theme="dark"] .review-card__star.is-filled {
    color: #f2f3f5;
}

.contact-page__head,
.legal-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-page__head h1,
.legal-page__head h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 0.95;
}

.contact-page__intro,
.legal-page__intro {
    max-width: 62ch;
    color: var(--muted);
    margin-top: 10px;
}

.contact-page__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.contact-page__tabs button {
    padding: 0.65rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-page__tabs button.active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.contact-page__panel {
    display: none;
}

.contact-page__panel.is-active {
    display: block;
}

.contact-page__partnerships {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
    gap: 1.5rem;
}

.contact-page__partnerships-copy,
.contact-page__partnerships-action {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.55);
}

.contact-page__partnerships-copy h2,
.contact-page__partnerships-action h3 {
    margin-bottom: 0.75rem;
}

.contact-page__partnerships-copy p,
.contact-page__partnerships-action p {
    color: var(--muted);
}

.contact-page__partnerships-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-left: 1.1rem;
    color: var(--text);
}

.contact-page__partnerships-email {
    margin: 1rem 0;
    color: var(--text) !important;
}

.contact-page__partnerships-email a {
    font-weight: 700;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: 28px;
}

.contact-page__info {
    display: grid;
    gap: 16px;
    align-content: start;
}

.contact-page__info h2 {
    font-size: 28px;
}

.contact-page__form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.55);
}

.contact-page__form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.contact-page__form input,
.contact-page__form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.contact-page__two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-page__optional {
    font-weight: 400;
    color: var(--muted);
}

.contact-page__notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.06);
    border: 1px solid var(--line);
}

.contact-page__errors {
    color: #8a1f1f;
    display: grid;
    gap: 6px;
}

.contact-page__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.legal-page__content {
    max-width: 78ch;
    display: grid;
    gap: 14px;
    line-height: 1.7;
}

.legal-page__content a {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact-page__head,
    .legal-page__head {
        flex-direction: column;
    }

    .contact-page__head .btn,
    .legal-page__head .btn {
        width: 100%;
    }

    .contact-page__grid,
    .contact-page__two,
    .contact-page__partnerships {
        grid-template-columns: 1fr;
    }
}

[data-theme="dark"] .contact-page__form,
[data-theme="dark"] .contact-page__notice,
[data-theme="dark"] .contact-page__partnerships-copy,
[data-theme="dark"] .contact-page__partnerships-action,
[data-theme="dark"] .contact-page__tabs button {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .contact-page__tabs button.active {
    background: #f2f3f5;
    border-color: #f2f3f5;
    color: #101216;
}

[data-theme="dark"] .contact-page__form input,
[data-theme="dark"] .contact-page__form textarea {
    background: #15181e;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f2f3f5;
    -webkit-text-fill-color: #f2f3f5;
    caret-color: #f2f3f5;
}

[data-theme="dark"] .contact-page__form label {
    color: #f2f3f5;
}

[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="color"]),
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #15181e;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f2f3f5;
    -webkit-text-fill-color: #f2f3f5;
    caret-color: #f2f3f5;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #8b939e;
    opacity: 1;
    -webkit-text-fill-color: #8b939e;
}

[data-theme="dark"] .chat__form input {
    background: #15181e;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f2f3f5;
    -webkit-text-fill-color: #f2f3f5;
}

[data-theme="dark"] .hero__sub.chrome-text,
[data-theme="dark"] .hero__sub.chrome-text--soft {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #c8ced6;
    -webkit-text-fill-color: #c8ced6;
    filter: none;
}

/* Panel tools: hidden until module is opened; only close shows when focused */
.panel[data-focusable] .panel__tools {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.92);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.panel[data-focusable].is-focused .panel__tools {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.panel[data-focusable] .panel__expand {
    display: none;
}

.panel[data-focusable]:not(.is-focused) .panel__head {
    cursor: pointer;
}

/* Membership inclusions */
.membership .panel__head {
    position: relative;
    justify-content: center;
}

.membership .panel__tools {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.membership__titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
}

.membership__subtitle {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

/* Marketing section */
.marketing {
    display: grid;
    gap: 1rem;
}

.marketing__head {
    align-items: flex-end;
    margin-bottom: 0;
}

.marketing__eyebrow {
    margin: 0 0 0.2rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.marketing__head h2 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.marketing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
    gap: 1rem;
}

.marketing__grid--page {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    padding: 0 1.25rem 1.25rem;
}

.marketing-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
}

.marketing-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.44);
}

.marketing-card figcaption {
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
    color: var(--muted);
}

.marketing-card figcaption strong,
.marketing-card figcaption span {
    display: block;
}

.marketing-card figcaption strong {
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.plan .plan__type {
    margin: 0;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.35;
}

.plan__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.08rem;
    min-height: 6.5rem;
    margin: 0 0 0.85rem;
    padding: 0 0.15rem;
}

.plan__title-eyebrow,
.plan__title-tag {
    font-family: var(--font-hero);
    font-size: clamp(0.62rem, 1.35vw, 0.78rem);
    letter-spacing: 0.24em;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}

.plan__title-eyebrow {
    color: var(--text);
}

.plan__title-main {
    font-family: var(--font-heading);
    font-size: clamp(2.15rem, 4.8vw, 3.15rem);
    letter-spacing: 0.03em;
    line-height: 0.9;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text);
    margin: 0.08rem 0;
}

.plan__title-tag {
    color: #1f56d8;
}

.plan--featured .plan__title-eyebrow,
.plan--featured .plan__title-main {
    color: #fff;
}

.plan--featured .plan__title-tag {
    color: #7eb4ff;
}

.plan--custom-color .plan__title-tag {
    color: var(--plan-accent, #1f56d8);
}

[data-theme="dark"] .plan__title-eyebrow,
[data-theme="dark"] .plan__title-main {
    color: #f2f3f5;
}

[data-theme="dark"] .plan__title-tag {
    color: #6ea8ff;
}

[data-theme="dark"] .plan--featured .plan__title-eyebrow,
[data-theme="dark"] .plan--featured .plan__title-main {
    color: #fff;
}

.plan--term .plan__title-main {
    font-size: clamp(2.35rem, 5.2vw, 3.45rem);
    letter-spacing: 0.02em;
    line-height: 0.88;
}

.plan--term .plan__title-tag {
    font-size: clamp(0.68rem, 1.4vw, 0.82rem);
    letter-spacing: 0.2em;
}

.plan--term .plan__features li,
.plan--term .plan__feature-label {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: none;
    font-size: 0.82rem;
    line-height: 1.25;
}

.plan .plan__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    line-height: 1;
}

.plan .plan__price span {
    display: block;
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
}

.plan .plan__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    flex: 1;
}

.plan .plan__features li {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.55rem;
    row-gap: 0.2rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--text);
}

.plan .plan__features li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    font-size: 0.68rem;
    line-height: 1;
    margin-top: 0.03rem;
}

.plan .plan__features li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.plan .plan__feature-label {
    grid-column: 2;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: none;
    font-size: 0.82rem;
    line-height: 1.25;
}

.plan .plan__feature-value {
    grid-column: 2;
    justify-self: start;
    font-weight: 700;
    text-align: left;
    font-size: 0.76rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    word-break: break-word;
}

.plan--featured .plan__type {
    color: rgba(255, 255, 255, 0.72);
}

.plan--featured .plan__price span {
    color: rgba(255, 255, 255, 0.72);
}

.plan--featured .plan__feature-label {
    color: #fff;
}

.plan--featured .plan__features li {
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .membership__subtitle {
    color: #9aa0a8;
    letter-spacing: 0.16em;
}

[data-theme="dark"] .marketing-card {
    background: var(--surface);
    border-color: var(--line);
}

[data-theme="dark"] .marketing-card img {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .marketing-card figcaption {
    color: var(--muted);
}

[data-theme="dark"] .plan .plan__type,
[data-theme="dark"] .plan .plan__price span {
    color: #9aa0a8;
}

[data-theme="dark"] .plan .plan__feature-label {
    color: #f2f3f5;
}

.plan--promo {
    --plan-accent: #c41e3a;
    border-color: color-mix(in srgb, var(--plan-accent) 35%, var(--line));
}

.plan--6-months.plan--promo { --plan-accent: #7b2fa0; }
.plan--12-months.plan--promo { --plan-accent: #1e6fd9; }
.plan--18-months.plan--promo { --plan-accent: #1a8f4c; }
.plan--annual.plan--promo { --plan-accent: #c41e3a; }

.plan__badge--launch {
    background: var(--plan-accent, #c41e3a);
    color: #fff;
}

.plan__price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.plan__price-compare {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--muted);
    text-decoration: line-through;
    letter-spacing: 0.04em;
    line-height: 1;
}

.plan--promo .plan__price {
    color: var(--plan-accent, var(--text));
}

.plan .plan__feature-value {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.plan .plan__feature-compare {
    color: var(--muted);
    text-decoration: line-through;
    font-weight: 500;
    font-size: 0.68rem;
}

.plan .plan__feature-waived {
    color: var(--plan-accent, #c41e3a);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan--custom-color {
    border-color: color-mix(in srgb, var(--plan-accent) 42%, var(--line));
}

.plan--custom-color.plan--featured,
.plan--custom-color:hover {
    box-shadow: 0 18px 44px color-mix(in srgb, var(--plan-accent) 24%, transparent);
}

.plan--custom-color .plan__badge,
.plan--custom-color .plan__features li::before {
    background: var(--plan-accent);
}

.plan--custom-color .btn--glow {
    background: linear-gradient(135deg, var(--plan-accent), color-mix(in srgb, var(--plan-accent) 70%, #111));
}

.plan--custom-color .btn--outline {
    border-color: color-mix(in srgb, var(--plan-accent) 45%, var(--line));
    color: var(--plan-accent);
}

.panel,
.panel *,
.plan,
.plan *,
.membership__titles,
.membership__subtitle,
.plan__feature-label,
.plan__feature-value,
.btn {
    min-width: 0;
}

.panel h1,
.panel h2,
.panel h3,
.panel h4,
.panel p,
.panel a,
.plan__feature-label,
.plan__feature-value,
.membership__subtitle,
.btn {
    overflow-wrap: anywhere;
    word-break: normal;
}

.plan__features li {
    align-items: start;
}

.pulse-community__slider {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.pulse-community__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.pulse-community__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.pulse-community__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pulse-community__slide figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.pulse-community__empty,
.pulse-team__empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted);
}

.community-gallery {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.community-gallery__item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.community-gallery__item.is-active {
    opacity: 1;
    transform: scale(1);
}

.community-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-gallery__item figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    font-weight: 700;
    overflow-wrap: anywhere;
}

[data-theme="dark"] .pulse-community__slider,
[data-theme="dark"] .community-gallery {
    background: #101216;
}

[data-theme="dark"] .pulse-community__slide figcaption,
[data-theme="dark"] .community-gallery__item figcaption {
    background: rgba(16, 18, 22, 0.86);
    color: #f2f3f5;
}

@media (max-width: 620px) {
    .plan {
        flex-basis: min(86vw, 320px);
    }

    .membership .panel__head {
        align-items: flex-start;
        gap: 10px;
    }

    .membership__titles {
        align-items: flex-start;
    }

    .marketing__head {
        align-items: flex-start;
    }

    .marketing__grid {
        grid-template-columns: 1fr;
    }

    .marketing-card img {
        height: 220px;
    }

    .pulse-community__slider {
        min-height: 220px;
    }

    .community-gallery {
        min-height: 360px;
    }
}

.plan--featured.plan--promo .plan__price-compare,
.plan--featured.plan--promo .plan__feature-compare {
    color: rgba(255, 255, 255, 0.55);
}

.plan--featured.plan--promo .plan__price {
    color: #fff;
}

.plan--featured.plan--promo .plan__feature-waived {
    color: #ffb4b4;
}

/* ===== Chrome theme (Option B) ===== */
[data-theme="dark"] {
    --chrome-highlight: #ffffff;
    --chrome-mid: #aeb4bd;
    --chrome-shadow: #5c636d;
    --chrome-deep: #121418;
    --panel: rgba(10, 10, 12, 0.88);
    --line: rgba(255, 255, 255, 0.12);
    --surface: rgba(255, 255, 255, 0.05);
    --surface-strong: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] body {
    background:
        radial-gradient(1200px 520px at 50% -8%, rgba(110, 118, 130, 0.18), transparent 58%),
        radial-gradient(900px 420px at 85% 12%, rgba(80, 88, 100, 0.1), transparent 55%),
        #000;
}

[data-theme="dark"] .nav,
[data-theme="dark"] .nav--scrolled {
    background: rgba(0, 0, 0, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .nav__logo .site-logo {
    height: clamp(2.75rem, 5.5vw, 3.75rem);
    width: auto;
    max-width: min(11rem, 42vw);
    object-fit: contain;
}

[data-theme="dark"] .panel {
    background: linear-gradient(155deg, rgba(16, 17, 20, 0.94) 0%, rgba(6, 6, 8, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .panel__head h2,
[data-theme="dark"] .chrome-text {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #e8ebef 24%,
        #8f969f 46%,
        #f3f5f7 58%,
        #b6bcc4 78%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.85)) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

[data-theme="dark"] .chrome-text--soft {
    background: linear-gradient(180deg, #f0f2f5 0%, #b8bec6 45%, #dfe3e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.7));
    letter-spacing: 0.1em;
}

[data-theme="dark"] .plan h3.font-heading {
    background: linear-gradient(180deg, #fff 0%, #c5cad1 50%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .btn--glow {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #d9dde3 30%,
        #707884 48%,
        #eef1f4 62%,
        #a8aeb6 100%
    );
    color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 3px 0 #434850,
        0 14px 34px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .btn--glow:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn--glass,
[data-theme="dark"] .btn--outline {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #eef0f3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .btn--glass:hover,
[data-theme="dark"] .btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
}

[data-theme="dark"] .plan,
[data-theme="dark"] .coach,
[data-theme="dark"] .promo-card,
[data-theme="dark"] .community-stat {
    background: linear-gradient(160deg, rgba(20, 22, 26, 0.96), rgba(8, 8, 10, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .plan--featured,
[data-theme="dark"] .coach.is-center,
[data-theme="dark"] .promo-card--featured {
    background: linear-gradient(160deg, rgba(28, 30, 36, 0.98), rgba(12, 12, 14, 1));
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .plan--promo .plan__price {
    background: linear-gradient(180deg, #fff 0%, var(--plan-accent, #c41e3a) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .plan__badge--launch {
    background: linear-gradient(180deg, #ffffff, #aeb4bd 45%, #6b727c 100%);
    color: #101216;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .hero__overlay {
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.94) 16%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.45) 100%);
}

[data-theme="dark"] .hero__video {
    filter: grayscale(20%) brightness(0.55) contrast(1.05);
    opacity: 0.42;
}

[data-theme="dark"] .hero__play {
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer__brand .site-logo {
    height: clamp(3rem, 6vw, 4.25rem);
    width: auto;
    max-width: 12rem;
}

[data-theme="dark"] .nav__links > a.active,
[data-theme="dark"] .nav__links > a:hover {
    color: #fff;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .nav__cta.btn--glow {
    padding-inline: 1.1rem;
}

[data-theme="light"] .chrome-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text);
    filter: none;
}

[data-theme="light"] .chrome-text--soft {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--muted);
    filter: none;
}

/* Site logo — transparent chrome, works on light + dark */
.site-logo {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.footer__brand .site-logo {
    height: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 0.75rem;
}

/* Membership & Coaching page */
.membership-coaching-page {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.membership-coaching-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--soft);
}

.membership-coaching-page__head h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.membership-coaching-page__intro {
    max-width: 40rem;
    color: var(--muted);
    margin: 0;
}

.membership-coaching-page__empty {
    padding: 2rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    text-align: center;
}

.membership-coaching-page__empty h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.membership-coaching-page .membership,
.membership-coaching-page .coaches,
.membership-coaching-page .pulse-team,
.membership-coaching-page .sched {
    margin: 0;
}

[data-theme="dark"] .membership-coaching-page__head,
[data-theme="dark"] .membership-coaching-page__empty {
    background: linear-gradient(155deg, rgba(16, 17, 20, 0.96), rgba(6, 6, 8, 0.99));
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .membership-coaching-page__head h1 {
    background: linear-gradient(180deg, #fff 0%, #e8ebef 24%, #8f969f 46%, #f3f5f7 58%, #b6bcc4 78%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .membership-coaching-page__head {
        flex-direction: column;
        align-items: stretch;
    }

    .membership-coaching-page__head .btn {
        width: 100%;
        justify-content: center;
    }
}

.coach__photo-btn {
    display: block;
    width: 100%;
    margin: 0 auto 12px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: 10px;
}

.coach__photo-btn .coach__photo {
    margin-bottom: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coach__photo-btn:hover .coach__photo,
.coach__photo-btn:focus-visible .coach__photo {
    transform: scale(1.02);
    box-shadow: var(--soft);
}

body.coach-modal-open {
    overflow: hidden;
}

.coach-modal {
    z-index: 250000;
}

.coach-modal__box {
    width: min(34rem, 92vw);
    padding: clamp(1rem, 3vw, 1.25rem);
}

.coach-modal__image {
    display: block;
    width: 100%;
    max-height: min(72vh, 40rem);
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid var(--line);
}

.coach-modal__meta {
    margin-top: 0.85rem;
    text-align: center;
}

.coach-modal__name {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coach-modal__role {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.95rem;
}

[data-theme="dark"] .coach-modal__image {
    background: rgba(255, 255, 255, 0.04);
}

/* What's Inside / Facility index page */
.facility-index-page {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.facility-index-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--soft);
}

.facility-index-page__head h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.facility-index-page__intro {
    max-width: 40rem;
    color: var(--muted);
    margin: 0;
}

.facility-index-page__empty {
    padding: 2rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    text-align: center;
}

.facility-index-page__empty h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.facility-index-page .facility-panel {
    margin: 0;
}

.facility-index-page__zones h2 {
    font-size: 1.35rem;
    margin-bottom: 0.875rem;
}

.facility-index-page__zone-list {
    display: grid;
    gap: 0.875rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.facility-index-page__zone {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.58);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.facility-index-page__zone:hover {
    transform: translateY(-0.125rem);
    box-shadow: var(--soft);
}

.facility-index-page__zone-title {
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.facility-index-page__zone-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

[data-theme="dark"] .facility-index-page__head,
[data-theme="dark"] .facility-index-page__empty,
[data-theme="dark"] .facility-index-page__zone {
    background: linear-gradient(155deg, rgba(16, 17, 20, 0.96), rgba(6, 6, 8, 0.99));
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .facility-index-page__head h1 {
    background: linear-gradient(180deg, #fff 0%, #e8ebef 24%, #8f969f 46%, #f3f5f7 58%, #b6bcc4 78%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .facility-index-page__head {
        flex-direction: column;
        align-items: stretch;
    }

    .facility-index-page__head .btn {
        width: 100%;
        justify-content: center;
    }
}

/* About page */
.about-page {
    margin-bottom: 1.5rem;
}

.about-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--soft);
    margin-bottom: 1.25rem;
}

.about-page__head h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-page__intro {
    max-width: 42rem;
    color: var(--muted);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-page__media {
    position: relative;
    margin-bottom: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--soft);
}

.about-page__media > img {
    width: 100%;
    max-height: 28rem;
    object-fit: cover;
    display: block;
}

.about-page__media-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(26, 26, 26, 0.35), rgba(26, 26, 26, 0.55)),
        radial-gradient(circle at center, rgba(26, 26, 26, 0.15), rgba(26, 26, 26, 0.45));
    pointer-events: none;
}

.about-page__media-logo {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    pointer-events: none;
}

.about-page__logo {
    width: min(20rem, 72%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
}

.about-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.about-page__main {
    display: grid;
    gap: 1rem;
}

.about-page__section {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
}

.about-page__tagline {
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    font-size: 1rem;
}

.about-page__story,
.about-page__aside > * {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
}

.about-page__story h2,
.about-page__section h2,
.about-page__location h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.about-page__section h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-page__lead {
    color: var(--text);
    line-height: 1.7;
}

.about-page__list {
    display: grid;
    gap: 0.65rem;
    padding-left: 1.15rem;
    color: var(--text);
    line-height: 1.65;
}

.about-page__list li::marker {
    color: var(--muted);
}

.about-page__values {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    padding-left: 1.25rem;
    counter-reset: about-value;
    list-style: decimal;
}

.about-page__values li {
    padding-left: 0.35rem;
}

.about-page__values li::marker {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text);
}

.about-page__values p,
.about-page__copy {
    color: var(--muted);
    line-height: 1.65;
}

.about-page__services {
    display: grid;
    gap: 1.25rem;
    margin-top: 1rem;
}

.about-page__section--services .about-page__services-intro,
.about-page__section--services .about-page__service-name,
.about-page__section--services .about-page__list,
.about-page__section--services .about-page__copy {
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: normal;
}

.about-page__section--services .about-page__services-intro {
    color: var(--text);
    margin-bottom: 1rem;
}

.about-page__service-name {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.6;
}

.about-page__section--services .about-page__list {
    color: var(--text);
}

.about-page__service {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.about-page__service:first-child {
    padding-top: 0;
    border-top: 0;
}

.about-page__description {
    display: grid;
    gap: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.about-page__aside {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.about-page__location p {
    color: var(--muted);
    line-height: 1.65;
}

.about-page__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.58);
}

.about-page__stat {
    display: grid;
    gap: 0.25rem;
    text-align: center;
}

.about-page__stat strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
}

.about-page__stat span {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-page__location .btn {
    margin-top: 1rem;
}

[data-theme="dark"] .about-page__head,
[data-theme="dark"] .about-page__media,
[data-theme="dark"] .about-page__story,
[data-theme="dark"] .about-page__section,
[data-theme="dark"] .about-page__mission,
[data-theme="dark"] .about-page__stats,
[data-theme="dark"] .about-page__location {
    background: linear-gradient(155deg, rgba(16, 17, 20, 0.96), rgba(6, 6, 8, 0.99));
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .about-page__head h1 {
    background: linear-gradient(180deg, #fff 0%, #e8ebef 24%, #8f969f 46%, #f3f5f7 58%, #b6bcc4 78%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .about-page__layout {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .about-page__section {
        padding: 1.25rem;
    }

    .about-page__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-page__stat strong {
        font-size: 1.35rem;
    }

    .about-page__stat span {
        font-size: 0.72rem;
    }
}

@media (max-width: 767px) {
    .about-page__head {
        flex-direction: column;
        align-items: stretch;
    }

    .about-page__head .btn {
        width: 100%;
        justify-content: center;
    }

    .about-page__layout {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .about-page__aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .about-page__stats {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 479px) {
    .about-page__stats {
        grid-template-columns: 1fr;
    }
}

/* ===== Navigation dropdown menus ===== */
.nav__dropdown-toggle,
.nav__menu-group-toggle {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font: inherit;
    cursor: pointer;
    color: inherit;
}

.nav__dropdown-toggle:focus,
.nav__menu-group-toggle:focus {
    outline: none;
}

.nav__dropdown-toggle:focus-visible,
.nav__menu-group-toggle:focus-visible {
    outline: 0.1875rem solid rgba(192, 192, 192, 0.6);
    outline-offset: 0.1875rem;
}

@media (min-width: 769px) {
    .nav__dropdown {
        position: relative;
    }

    .nav__dropdown-toggle {
        position: relative;
        border: 0;
        background: none;
        cursor: pointer;
        padding: 0.45rem 1.1rem 0.45rem 0.1rem;
        min-width: 0;
        min-height: 0;
        font-family: var(--font-heading);
        font-size: 14px;
        color: var(--muted);
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .nav__dropdown-toggle::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 0.45rem;
        height: 0.45rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-65%) rotate(45deg);
        opacity: 0.72;
    }

    .nav__dropdown-toggle::before {
        content: "";
        position: absolute;
        left: 0.1rem;
        right: 1rem;
        bottom: 0;
        height: 0.125rem;
        border-radius: 999px;
        background: var(--text);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.25s ease;
    }

    .nav__dropdown.is-open .nav__dropdown-toggle,
    .nav__dropdown-toggle:hover,
    .nav__dropdown-toggle:focus-visible {
        color: var(--text);
    }

    .nav__dropdown.is-open .nav__dropdown-toggle::before,
    .nav__dropdown-toggle:hover::before,
    .nav__dropdown-toggle:focus-visible::before {
        transform: scaleX(1);
    }

    .nav__dropdown-panel {
        position: absolute;
        top: calc(100% + 0.55rem);
        left: 50%;
        transform: translateX(-50%);
        min-width: 13.5rem;
        padding: 0.45rem;
        border: 1px solid var(--line);
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
        backdrop-filter: blur(16px);
        z-index: 140;
    }

    .nav__dropdown-panel a {
        display: block;
        padding: 0.62rem 0.85rem;
        border-radius: 0.55rem;
        font-family: var(--font-body);
        font-size: 0.92rem;
        letter-spacing: 0;
        text-transform: none;
        color: var(--muted);
        white-space: nowrap;
    }

    .nav__dropdown-panel a:hover,
    .nav__dropdown-panel a:focus-visible {
        color: var(--text);
        background: rgba(26, 26, 26, 0.05);
    }
}

[data-theme="dark"] .nav__dropdown-panel {
    background: rgba(18, 18, 18, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav__dropdown-panel a:hover,
[data-theme="dark"] .nav__dropdown-panel a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}

/* ===== Rich text content ===== */
.richtext {
    color: inherit;
}

.richtext p + p,
.richtext ul + p,
.richtext ol + p,
.richtext p + ul,
.richtext p + ol {
    margin-top: 0.85rem;
}

.richtext ul,
.richtext ol {
    padding-left: 1.25rem;
}

.richtext li + li {
    margin-top: 0.35rem;
}

.richtext a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.richtext strong,
.richtext b {
    font-weight: 700;
}

.richtext em,
.richtext i {
    font-style: italic;
}

/* Luxury preloader — first homepage visit per session */
html.splash-pending body {
    overflow: hidden;
}

body.is-splash-active {
    overflow: hidden;
}

.splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.splash--luxury .splash__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 72% 48% at 50% 38%, rgba(255, 255, 255, 0.98), transparent 68%),
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(192, 192, 192, 0.16), transparent 62%),
        linear-gradient(168deg, #fcfcfb 0%, #f0efed 42%, #e8e7e5 100%);
}

.splash--luxury .splash__grain {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    background-image: radial-gradient(rgba(26, 26, 26, 0.8) 0.6px, transparent 0.6px);
    background-size: 3px 3px;
}

.splash--luxury .splash__inner {
    position: relative;
    z-index: 1;
    width: min(94vw, 24rem);
    padding: 1.5rem clamp(0.65rem, 4vw, 1rem);
    text-align: center;
    transition: opacity 0.75s cubic-bezier(0.76, 0, 0.24, 1), transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.luxury-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.35rem, 4vw, 2rem);
    width: 100%;
}

.luxury-preloader__frame {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.9rem, 3vw, 1.35rem);
}

.luxury-preloader__rule {
    display: block;
    width: min(100%, 14rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(160, 164, 172, 0.35) 18%, rgba(229, 228, 226, 0.95) 50%, rgba(160, 164, 172, 0.35) 82%, transparent);
    transform: scaleX(0);
    opacity: 0;
    animation: luxury-rule-in 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.luxury-preloader__rule--bottom {
    animation-delay: 0.12s;
}

.luxury-preloader__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.55rem, 2vw, 0.85rem);
    width: min(88vw, 19rem);
    max-width: 100%;
}

.luxury-preloader__logo-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    isolation: isolate;
    animation: luxury-logo-in 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.luxury-preloader__logo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 28px rgba(26, 26, 26, 0.08));
}

.luxury-preloader__shimmer {
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(
        105deg,
        transparent 42%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 58%
    );
    transform: translateX(-120%) skewX(-12deg);
    animation: luxury-shimmer 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both;
    pointer-events: none;
    z-index: 1;
}

.luxury-preloader__tagline {
    margin: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18em;
    font-size: clamp(0.48rem, 2.8vw + 0.1rem, 0.68rem);
    letter-spacing: clamp(0.06em, 0.22vw + 0.03em, 0.24em);
    line-height: 1.3;
    text-transform: uppercase;
    color: rgba(109, 112, 118, 0.82);
    opacity: 0;
    transform: translateY(8px);
    animation: luxury-tagline-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.luxury-preloader__tagline-line {
    display: block;
    max-width: 100%;
    white-space: nowrap;
}

.luxury-preloader__tagline.is-fit-wrap .luxury-preloader__tagline-line {
    white-space: normal;
    text-wrap: balance;
    text-align: center;
}

@media (min-width: 520px) {
    .luxury-preloader__tagline {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35em;
        letter-spacing: clamp(0.1em, 0.3vw + 0.04em, 0.28em);
    }
}

.luxury-preloader__progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: min(100%, 11rem);
    opacity: 0;
    animation: luxury-progress-in 0.9s ease 0.75s forwards;
}

.luxury-preloader__progress-track {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(160, 164, 172, 0.28);
    overflow: hidden;
}

.luxury-preloader__progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.2), #ffffff 45%, rgba(192, 192, 192, 0.85) 100%);
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
}

.luxury-preloader__progress-label {
    display: block;
    width: 100%;
    max-width: 100%;
    font-family: var(--font-hero);
    font-size: clamp(0.5rem, 2vw + 0.1rem, 0.58rem);
    letter-spacing: clamp(0.16em, 0.5vw + 0.08em, 0.42em);
    text-transform: uppercase;
    color: rgba(138, 141, 147, 0.88);
    white-space: nowrap;
}

.splash--exit .splash__inner {
    opacity: 0;
    transform: translateY(-10px) scale(1.015);
}

.splash--exit .splash__backdrop {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

@keyframes luxury-logo-in {
    0% {
        opacity: 0;
        transform: scale(0.975);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes luxury-rule-in {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes luxury-shimmer {
    0% {
        transform: translateX(-120%) skewX(-12deg);
    }
    100% {
        transform: translateX(120%) skewX(-12deg);
    }
}

@keyframes luxury-tagline-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes luxury-progress-in {
    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .splash--luxury .splash__inner {
        width: min(98vw, 100%);
        padding-inline: 0.5rem;
    }

    .luxury-preloader__brand {
        width: min(94vw, 100%);
    }

    .luxury-preloader__tagline {
        font-size: clamp(0.44rem, 3.1vw, 0.56rem);
        letter-spacing: 0.1em;
    }

    .luxury-preloader__progress-label {
        font-size: clamp(0.44rem, 2.6vw, 0.52rem);
        letter-spacing: 0.2em;
    }
}

@media (max-width: 360px) {
    .luxury-preloader__tagline {
        font-size: 0.42rem;
        letter-spacing: 0.07em;
    }

    .luxury-preloader__logo {
        transform: scale(0.96);
        transform-origin: center top;
    }
}

@media (prefers-reduced-motion: reduce) {
    .luxury-preloader__logo-wrap,
    .luxury-preloader__rule,
    .luxury-preloader__shimmer,
    .luxury-preloader__tagline,
    .luxury-preloader__progress {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .splash--exit .splash__inner {
        transition-duration: 0.15s;
    }
}

/* Split-logo splash intro */
.splash__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 72% 48% at 50% 38%, rgba(255, 255, 255, 0.55), transparent 68%),
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(192, 192, 192, 0.1), transparent 62%),
        linear-gradient(168deg, rgba(252, 252, 251, 0.78) 0%, rgba(240, 239, 237, 0.72) 42%, rgba(232, 231, 229, 0.68) 100%);
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    transition: opacity 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}

.splash.is-exiting .splash__backdrop {
    opacity: 0;
}

.site-ambient {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.site-ambient__audio {
    display: none;
}


.splash__scene {
    position: relative;
    z-index: 1;
    width: min(94vw, 24rem);
    padding: clamp(1rem, 4vw, 1.75rem);
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.68s cubic-bezier(0.76, 0, 0.24, 1), transform 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}



.splash.is-exiting .splash__scene {
    opacity: 0;
    transform: translateY(-12px) scale(1.02);
}

.splash__trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.85rem, 3vw, 1.35rem);
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: center;
}

.splash__logo-stage {
    position: relative;
    display: block;
    width: min(88vw, 19rem);
    aspect-ratio: 1024 / 589;
    max-width: 100%;
    isolation: isolate;
}

.splash__logo-final {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 14px 28px rgba(26, 26, 26, 0.08));
    opacity: 0;
    transform: scale(0.84);
    animation: splash-logo-pop 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.splash__scene.is-logo-visible .splash__logo-stage {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.splash__scene.is-logo-visible .splash__logo-shine {
    animation: splash-shine 1.05s cubic-bezier(0.4, 0, 0.2, 1) 0.48s both;
}

.splash__logo-piece--subtitle {
    clip-path: polygon(34% 68%, 96% 68%, 96% 95%, 34% 95%);
    animation: splash-piece-subtitle 1s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.splash__logo-shine {
    position: absolute;
    inset: -35% -55%;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.62) 50%, transparent 58%);
    transform: translateX(-120%) skewX(-12deg);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.splash__scene.is-assembled .splash__logo-piece {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.splash__scene.is-reversing .splash__logo-final {
    opacity: 0;
    transform: scale(1.015);
    transition-duration: 0.28s;
}

.splash__scene.is-reversing .splash__logo-piece {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.splash__scene.is-reversing .splash__logo-piece--mark-left {
    animation: splash-piece-mark-left-exit 0.62s cubic-bezier(0.55, 0, 0.95, 0.45) both;
}

.splash__scene.is-reversing .splash__logo-piece--mark-right {
    animation: splash-piece-mark-right-exit 0.62s cubic-bezier(0.55, 0, 0.95, 0.45) 0.04s both;
}

.splash__scene.is-reversing .splash__logo-piece--word-left {
    animation: splash-piece-word-left-exit 0.62s cubic-bezier(0.55, 0, 0.95, 0.45) 0.08s both;
}

.splash__scene.is-reversing .splash__logo-piece--word-right {
    animation: splash-piece-word-right-exit 0.62s cubic-bezier(0.55, 0, 0.95, 0.45) 0.12s both;
}

.splash__scene.is-reversing .splash__logo-piece--subtitle {
    animation: splash-piece-subtitle-exit 0.55s cubic-bezier(0.55, 0, 0.95, 0.45) 0.16s both;
}

.splash__tagline {
    display: block;
    width: 100%;
    max-width: min(88vw, 19rem);
    margin: 0 auto;
    font-size: clamp(0.46rem, 2.6vw + 0.08rem, 0.68rem);
    letter-spacing: clamp(0.08em, 0.24vw + 0.04em, 0.28em);
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    color: rgba(109, 112, 118, 0.82);
    opacity: 0;
    transform: translateY(12px);
}

.splash__scene.is-tagline-visible .splash__tagline {
    animation: splash-tagline-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        splash-tagline-pulse 2.4s ease-in-out 0.95s infinite;
}

.splash.is-exiting .splash__tagline {
    animation: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

@keyframes splash-piece-mark-left {
    from { opacity: 0; transform: translate(-115%, -45%) rotate(-10deg) scale(0.92); }
    to { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
}

@keyframes splash-piece-mark-right {
    from { opacity: 0; transform: translate(-95%, 55%) rotate(12deg) scale(0.9); }
    to { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
}

@keyframes splash-piece-word-left {
    from { opacity: 0; transform: translate(35%, -105%) scale(0.94); }
    to { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes splash-piece-word-right {
    from { opacity: 0; transform: translate(105%, -25%) scale(0.94); }
    to { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes splash-piece-subtitle {
    from { opacity: 0; transform: translateY(75%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-piece-mark-left-exit {
    to { opacity: 0; transform: translate(-90%, -35%) rotate(-8deg) scale(0.94); }
}

@keyframes splash-piece-mark-right-exit {
    to { opacity: 0; transform: translate(-70%, 45%) rotate(10deg) scale(0.92); }
}

@keyframes splash-piece-word-left-exit {
    to { opacity: 0; transform: translate(28%, -80%) scale(0.94); }
}

@keyframes splash-piece-word-right-exit {
    to { opacity: 0; transform: translate(85%, -15%) scale(0.94); }
}

@keyframes splash-piece-subtitle-exit {
    to { opacity: 0; transform: translateY(55%); }
}

@keyframes splash-shine {
    0% { opacity: 0; transform: translateX(-120%) skewX(-12deg); }
    18% { opacity: 1; }
    100% { opacity: 0; transform: translateX(120%) skewX(-12deg); }
}

@keyframes splash-logo-pop {
    from {
        opacity: 0;
        transform: scale(0.84);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splash-tagline-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-tagline-pulse {
    0%, 100% { opacity: 0.82; }
    50% { opacity: 1; }
}

@media (max-width: 480px) {
    .splash__scene {
        width: min(98vw, 100%);
        padding-inline: 0.5rem;
    }

    .splash__logo-stage,
    .splash__tagline {
        max-width: min(94vw, 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .splash__logo-piece,
    .splash__logo-shine,
    .splash__tagline {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .splash__logo-final {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .splash__scene.is-assembled .splash__logo-piece {
        opacity: 0 !important;
    }
}
