/* =========================================================
   Site updates — inner pages, legal, programs, contact, marquee
========================================================= */

:root {
    --page-content-top-gap-desktop: clamp(20px, 2.5vw, 32px);
    --page-content-top-gap-mobile: clamp(16px, 4vw, 26px);
    --page-content-top-padding-desktop: calc(var(--header-height) + var(--page-content-top-gap-desktop));
    --page-content-top-padding-mobile: calc(var(--header-height) + var(--page-content-top-gap-mobile));
    --legal-panel-padding-desktop: clamp(22px, 4.5vw, 36px);
    --legal-panel-padding-mobile: clamp(18px, 5.5vw, 26px);
    --legal-page-container-padding-mobile: clamp(18px, 5vw, 24px);
    --partnerships-page-partner-gap: clamp(28px, 4vw, 40px);
    --partnerships-page-partner-logo-height: 72px;
    --partnerships-page-partner-logo-height-mobile: 60px;
    --partnerships-page-partner-benefit-color: var(--color-light);
    --partnerships-slide-width-mobile: clamp(108px, 24vw, 148px);
    --programs-page-row-image-max-height-mobile: 200px;
    --programs-page-row-image-max-height-desktop: 280px;
    --calc-result-panel-bg: rgba(8, 8, 12, 0.32);
    --calc-result-panel-border: rgba(255, 255, 255, 0.14);
    --calc-result-panel-radius: 16px;
    --calc-result-panel-width: 100%;
    --calc-result-panel-max-width: min(100%, var(--bmi-form-width, 520px));
    --calc-result-panel-min-height: 88px;
    --calc-result-panel-padding: 22px;
    --contact-info-card-fixed-width: 280px;
    --contact-info-card-min-height: 88px;
    --contact-info-card-padding-y: 14px;
    --contact-info-card-padding-x: 16px;
    --contact-social-pill-size: 44px;
    --partner-logo-scroll-duration: 26s;
    --partner-logo-scroll-gap: clamp(40px, 6vw, 72px);
    --partner-logo-scroll-item-width: clamp(168px, 22vw, 240px);
    --partner-logo-scroll-logo-max-height: 88px;
    --site-type-h1-size: 22px;
    --site-type-h2-size: 22px;
    --site-type-h3-size: 18px;
    --site-type-eyebrow-size: 14px;
    --site-type-body-size: 16px;
    --site-type-button-size: 12px;
    --site-type-heading-stack-gap: var(--section-heading-text-gap-desktop, 20px);
    --site-type-heading-stack-gap-mobile: var(--section-heading-text-gap-mobile, 15px);
    --site-type-section-heading-gap: var(--section-text-content-gap-desktop, 40px);
    --site-type-section-heading-gap-mobile: var(--section-text-content-gap-mobile, 28px);
    --site-reveal-distance: var(--section-reveal-distance-desktop, 16px);
    --site-reveal-duration: var(--section-reveal-duration-desktop, 0.72s);
    --contact-tile-min-height: 76px;
    --contact-tile-radius: 16px;
    --map-loading-bg: #121218;
    --about-circle-size-home: clamp(92px, 14vw, 128px);
    --about-circle-size-page: clamp(128px, 22vw, 176px);
    --about-circle-border: rgba(255, 255, 255, 0.2);
    --about-circle-glow: rgba(222, 36, 47, 0.42);
    --about-spotlight-radius: 22px;
    --about-spotlight-padding: clamp(28px, 4.5vw, 44px);
    --about-spotlight-min-height: clamp(360px, 52vw, 520px);
    --about-spotlight-overlay-opacity: 0.78;
    --about-team-overlap-home: clamp(-18px, -3vw, -28px);
    --about-team-overlap-page: clamp(-24px, -4vw, -36px);
    --hero-video-object-position-desktop: center center;
    --hero-video-object-position-mobile: center center;
    --hero-video-object-fit: cover;
    --hero-video-crossfade-duration: 0.14s;
    --program-detail-gallery-columns-desktop: 3;
    --program-detail-gallery-max-photos: 6;
    --page-inner-padding-bottom-desktop: 88px;
    --page-inner-padding-bottom-mobile: 64px;
    --programs-home-intro-button-gap: clamp(28px, 4vw, 40px);
    --programs-page-photo-overlay-opacity: 0.55;
}

.site-page-section--from-top {
    padding-top: var(--page-content-top-padding-desktop) !important;
    padding-bottom: var(--page-inner-padding-bottom-desktop, 88px);
}

@media (max-width: 760px) {
    .site-page-section--from-top {
        padding-top: var(--page-content-top-padding-mobile) !important;
        padding-bottom: var(--page-inner-padding-bottom-mobile, 64px);
    }
}

/* ----- Legal: one continuous bordered card ----- */
.legal-page-heading-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto var(--section-text-content-gap-desktop, 20px);
    text-align: left;
}

.legal-page-heading-row--centered {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--legal-heading-row-gap, 12px);
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.legal-page-heading-row--centered .legal-page-heading-title {
    text-align: center;
    line-height: 1.12;
}

.legal-page-heading-block .legal-page-heading-subtitle {
    margin: var(--section-heading-text-gap-desktop, 10px) 0 0;
    color: rgba(250, 249, 254, 0.68);
    font-size: clamp(14px, 1.5vw, 15px);
    line-height: 1.5;
    text-align: center;
}

.legal-content-body {
    text-align: left;
}

.legal-content-card--continuous {
    padding: var(--legal-panel-padding-desktop);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--legal-content-color, rgba(250, 249, 254, 0.76));
    font-size: var(--legal-content-font-size, 17px);
    line-height: var(--legal-content-line-height, 1.8);
    text-align: left;
    box-sizing: border-box;
    box-shadow: none;
}

.legal-content-card--continuous h2,
.legal-content-card--continuous h3,
.legal-content-card--continuous h4,
.legal-content-card--continuous p,
.legal-content-card--continuous ul,
.legal-content-card--continuous ol {
    text-align: left;
}

.legal-content-card--continuous ul,
.legal-content-card--continuous ol {
    padding-left: clamp(18px, 4vw, 24px);
    list-style-position: outside;
}

@media (max-width: 760px) {
    .legal-page-container.narrow-container {
        padding-left: var(--legal-page-container-padding-mobile);
        padding-right: var(--legal-page-container-padding-mobile);
    }

    .legal-content-card--continuous {
        padding: var(--legal-panel-padding-mobile);
    }
}

body:not(.dashboard-app-body) .legal-content-card--continuous {
    border-radius: var(--site-glass-radius, 28px) !important;
    border: 1px solid var(--site-glass-border, rgba(255, 255, 255, 0.14)) !important;
    background: var(--site-glass-bg, rgba(18, 20, 20, 0.42)) !important;
    box-shadow: var(--site-glass-shadow, 0 18px 48px rgba(0, 0, 0, 0.28)) !important;
}

/* ----- Contact: premium clickable tiles (whole card is the link) ----- */
.contact-page-flow--tiles .contact-page-block-info {
    margin-top: var(--contact-page-map-info-gap, clamp(40px, 5vw, 56px));
}

.contact-page-flow--tiles .contact-tiles--premium {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2.2vw, 20px);
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.contact-page-flow--tiles .contact-tile {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 18px);
    min-height: var(--contact-tile-min-height);
    padding: clamp(14px, 2.2vw, 18px) clamp(16px, 2.4vw, 20px);
    border-radius: var(--contact-tile-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.24s ease,
        background-color 0.24s ease,
        box-shadow 0.24s ease;
}

.contact-page-flow--tiles .contact-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(222, 36, 47, 0.32);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.contact-page-flow--tiles .contact-tile:hover .contact-tile__icon {
    color: var(--color-red, #de242f);
    transform: translateY(-4px);
    filter: drop-shadow(0 0 10px rgba(222, 36, 47, 0.5));
}

.contact-page-flow--tiles .contact-tile:active {
    transform: translateY(1px) scale(0.995);
    border-color: rgba(222, 36, 47, 0.55);
    background: linear-gradient(145deg, rgba(222, 36, 47, 0.14), rgba(255, 255, 255, 0.04));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.contact-page-flow--tiles .contact-tile:focus {
    outline: none;
}

.contact-page-flow--tiles .contact-tile:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.contact-page-flow--tiles .contact-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: clamp(36px, 5vw, 42px);
    height: clamp(36px, 5vw, 42px);
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    transition: color 0.24s ease, transform 0.24s ease, filter 0.24s ease;
}

.contact-page-flow--tiles .contact-tile__icon svg {
    width: clamp(20px, 3vw, 24px);
    height: clamp(20px, 3vw, 24px);
}

.contact-page-flow--tiles .contact-tile__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    text-align: left;
}

.contact-page-flow--tiles .contact-tile__label {
    font-size: clamp(11px, 1.4vw, 12px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 249, 254, 0.58);
}

.contact-page-flow--tiles .contact-tile__value {
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-light, #faf9fe);
    overflow-wrap: anywhere;
}

.contact-page-flow--tiles .contact-tile__icon svg,
.contact-page-flow--tiles .contact-tile__icon svg path {
    fill: currentColor !important;
    color: inherit;
}

.contact-page-flow--tiles .contact-tile--socials {
    cursor: default;
}

.contact-page-flow--tiles .contact-tile__value--socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.contact-page-flow--tiles .contact-tile__social-link {
    color: var(--color-light, #faf9fe) !important;
    text-decoration: none;
    font-size: inherit;
    font-weight: 600;
    line-height: 1.45;
}

.contact-page-flow--tiles .contact-tile__social-link:active {
    color: var(--color-red, #de242f) !important;
}

.contact-page-flow--tiles .contact-tile__social-link:focus {
    outline: none;
}

.contact-page-flow--tiles .contact-tile__social-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
    border-radius: 4px;
}

.contact-page-flow--tiles .contact-tile__social-sep {
    color: rgba(250, 249, 254, 0.45);
}

.contact-page-flow--map-first .contact-location-map-container {
    margin-inline: auto;
    left: auto;
    transform: none;
    width: min(100%, var(--contact-location-map-max-width-desktop, 920px));
}

.contact-map--instant,
.contact-map--instant.lazy-map-wrap {
    position: relative;
    background: var(--map-loading-bg);
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    min-height: clamp(240px, 42vw, 420px);
}

.contact-map--instant::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.03) 8%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.03) 33%);
    background-size: 200% 100%;
    animation: map-loading-shimmer 1.4s ease-in-out infinite;
    pointer-events: none;
}

.contact-map--instant.is-loaded::before,
.contact-map--instant:has(iframe[src])::before {
    opacity: 0;
    animation: none;
    transition: opacity 0.35s ease;
}

.contact-map--instant iframe {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: inherit;
    background: var(--map-loading-bg);
    opacity: 1;
}

.lazy-map-wrap.is-eager-map .lazy-map-placeholder {
    display: none !important;
}

@keyframes map-loading-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ----- Programs list (stream) ----- */
.programs-page-flow--stream,
.programs-page-flow--stream .programs-page-section,
.program-detail-page.programs-page-flow--stream {
    color: var(--color-light) !important;
}

.programs-page-flow--stream .programs-page-eyebrow,
.programs-page-flow--stream .programs-page-title,
.programs-page-flow--stream .programs-page-subtitle,
.programs-page-flow--stream .programs-page-row-title,
.programs-page-flow--stream .programs-page-row-text,
.programs-page-flow--stream .programs-page-row-list,
.programs-page-flow--stream .programs-page-row-list li,
.program-detail-page .program-detail-block-title,
.program-detail-page .program-detail-block-text,
.program-detail-page .program-detail-block-list,
.program-detail-page .program-detail-block-list li {
    color: var(--color-light) !important;
}

.programs-page-flow--stream .programs-page-row-text,
.programs-page-flow--stream .programs-page-row-list,
.program-detail-page .program-detail-block-text,
.program-detail-page .program-detail-block-list {
    color: rgba(250, 249, 254, 0.88) !important;
}
.programs-page-heading--stream::after {
    content: "";
    display: block;
    width: clamp(64px, 12vw, 120px);
    height: 2px;
    margin: clamp(16px, 2.5vw, 22px) auto 0;
    background: linear-gradient(90deg, transparent, rgba(222, 36, 47, 0.55), transparent);
}

.programs-page-list--stream {
    display: grid;
    gap: clamp(36px, 5vw, 52px);
}

.programs-page-row--stream {
    display: grid;
    grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 28px);
    align-items: start;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.programs-page-row-media {
    overflow: hidden;
    border-radius: clamp(14px, 2vw, 20px);
    max-height: var(--programs-page-row-image-max-height-desktop);
}

.programs-page-row-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: var(--programs-page-row-image-max-height-desktop);
    object-fit: cover;
}

.programs-page-row-number {
    margin: 0 0 8px;
    color: var(--color-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.programs-page-row-title {
    margin: 0 0 10px;
    font-family: var(--global-heading-font-family);
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.12;
}

.programs-page-row-text {
    margin: 0 0 14px;
    color: rgba(250, 249, 254, 0.82);
    line-height: 1.72;
}

.programs-page-row-list {
    margin: 0 0 16px;
    padding-left: 20px;
    color: rgba(250, 249, 254, 0.78);
}

/* ----- Program detail (stream) ----- */
.program-detail-intro--stream {
    display: grid;
    gap: clamp(24px, 3.5vw, 32px);
    margin-bottom: clamp(28px, 4vw, 40px);
}

.program-detail-block--stream {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.program-detail-block-title {
    margin: 0 0 10px;
    font-size: clamp(18px, 2vw, 22px);
}

.program-detail-block-text,
.program-detail-block-list {
    margin: 0;
    color: rgba(250, 249, 254, 0.82);
    line-height: 1.72;
}

.program-detail-gallery--stream .program-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--program-detail-gallery-columns-desktop, 3), minmax(0, 1fr));
    gap: clamp(12px, 2vw, 18px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.program-detail-gallery-item--stream {
    border: 0;
    border-radius: clamp(12px, 2vw, 16px);
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.program-detail-gallery-item--stream img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ----- Partnerships page ----- */
.partnerships-page-heading--clean::after {
    content: "";
    display: block;
    width: clamp(64px, 12vw, 120px);
    height: 2px;
    margin: clamp(16px, 2.5vw, 22px) auto 0;
    background: linear-gradient(90deg, transparent, rgba(222, 36, 47, 0.55), transparent);
}

.partnerships-page-lead--clean {
    max-width: 720px;
    margin: 0 auto clamp(32px, 4.5vw, 48px);
    text-align: center;
    color: rgba(250, 249, 254, 0.84);
    line-height: 1.72;
}

.partnerships-page-partners--clean {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--partnerships-page-partner-gap);
    margin-bottom: clamp(32px, 4.5vw, 48px);
}

.partnerships-page-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.8vw, 14px);
    padding: clamp(12px, 2vw, 16px);
    text-align: center;
    border: 0;
    background: transparent;
}

.partnerships-page-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--partnerships-page-partner-logo-height);
}

.partnerships-page-partner-logo img {
    max-width: 100%;
    max-height: var(--partnerships-page-partner-logo-height);
    object-fit: contain;
}

.partnerships-page-partner-benefit {
    margin: 0;
    color: var(--partnerships-page-partner-benefit-color);
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 600;
    line-height: 1.45;
}

.partnerships-page-footnote--clean {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: rgba(250, 249, 254, 0.68);
    font-size: clamp(14px, 1.5vw, 15px);
    line-height: 1.6;
}

@media (min-width: 1025px) {
    .partnerships-page-partners--clean {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ----- Partner logo scroll (rebuilt — isolated from old marquee CSS) ----- */
@keyframes partner-logo-scroll-run {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

body:not(.dashboard-app-body) .partner-logo-scroll {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin-top: var(--section-text-content-gap-desktop, 48px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    isolation: isolate;
}

body:not(.dashboard-app-body) .partner-logo-scroll__viewport {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

body:not(.dashboard-app-body) .partner-logo-scroll__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    margin: 0;
    padding: clamp(8px, 1.5vw, 12px) 0;
    gap: 0;
    animation: partner-logo-scroll-run var(--partner-logo-scroll-duration, 26s) linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

body:not(.dashboard-app-body) .partner-logo-scroll__list {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--partner-logo-scroll-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

body:not(.dashboard-app-body) .partner-logo-scroll__item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: var(--partner-logo-scroll-item-width);
    min-width: var(--partner-logo-scroll-item-width);
    max-width: var(--partner-logo-scroll-item-width);
    margin: 0;
    padding: 0;
}

body:not(.dashboard-app-body) .partner-logo-scroll__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--partner-logo-scroll-logo-max-height);
    text-decoration: none;
    color: inherit;
}

body:not(.dashboard-app-body) .partner-logo-scroll__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: var(--partner-logo-scroll-logo-max-height);
    aspect-ratio: 240 / 88;
    object-fit: contain;
    pointer-events: none;
}

body:not(.dashboard-app-body) .partner-logo-scroll a.partner-logo-scroll__link:hover,
body:not(.dashboard-app-body) .partner-logo-scroll a.partner-logo-scroll__link:focus-visible {
    opacity: 0.9;
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    body:not(.dashboard-app-body) .partner-logo-scroll__track {
        animation-duration: calc(var(--partner-logo-scroll-duration, 26s) * 2);
    }
}

/* Legacy marquee — hidden if any old markup remains */
body:not(.dashboard-app-body) .partnerships-marquee-shell:not(:has(.partner-logo-scroll)) {
    display: none;
}

@media (max-width: 760px) {
    .contact-page-flow--tiles .contact-tiles--premium {
        grid-template-columns: minmax(0, 1fr);
        max-width: 100%;
    }

    body:not(.dashboard-app-body) .partner-logo-scroll {
        --partner-logo-scroll-item-width: clamp(140px, 34vw, 180px);
        --partner-logo-scroll-logo-max-height: 72px;
        --partner-logo-scroll-gap: clamp(32px, 7vw, 48px);
        --partner-logo-scroll-duration: 22s;
    }

    .programs-page-row--stream {
        grid-template-columns: 1fr;
    }

    .programs-page-row-media {
        max-height: var(--programs-page-row-image-max-height-mobile);
    }

    .programs-page-row-image {
        max-height: var(--programs-page-row-image-max-height-mobile);
    }

    .program-detail-gallery--stream .program-detail-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partnerships-page-partners--clean {
        grid-template-columns: 1fr;
    }
}

/* ----- Hero background video (full viewport cover, same scroll behavior) ----- */
body:not(.dashboard-app-body) .hero-media {
    overflow: hidden;
    min-height: 100%;
    background: var(--hero-bg, #0a0a0e);
}

body:not(.dashboard-app-body) .hero-media .hero-image--video-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: var(--hero-video-object-fit, cover);
    object-position: var(--hero-video-object-position-desktop, var(--hero-image-position-desktop, center center));
    opacity: var(--hero-image-opacity, 1);
    transition: opacity 0.2s ease;
}

body:not(.dashboard-app-body) .hero-media.is-video-playing .hero-image--video-fallback {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body:not(.dashboard-app-body) .hero-video {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block !important;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: var(--hero-video-object-fit, cover);
    object-position: var(--hero-video-object-position-desktop, var(--hero-image-position-desktop, center center));
    opacity: var(--hero-image-opacity, 1);
    pointer-events: none;
    background: transparent;
    transform: none !important;
}

/* Keep hero visible while the page intro fade runs so autoplay works on desktop. */
body.is-page-entering:not(.dashboard-app-body) .hero-section,
body.is-page-entering:not(.dashboard-app-body) .hero-section .hero-media,
body.is-page-entering:not(.dashboard-app-body) .hero-section .hero-video,
body.is-page-leaving:not(.dashboard-app-body) .hero-section,
body.is-page-leaving:not(.dashboard-app-body) .hero-section .hero-media,
body.is-page-leaving:not(.dashboard-app-body) .hero-section .hero-video {
    opacity: 1 !important;
}

@media (max-width: 760px) {
    body:not(.dashboard-app-body) .hero-video,
    body:not(.dashboard-app-body) .hero-media .hero-image--video-fallback {
        object-position: var(--hero-video-object-position-mobile, var(--hero-image-position-mobile, center center));
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.dashboard-app-body) .hero-video {
        display: block !important;
    }
}

/* ----- Front page About (spotlight + team circles) ----- */
body:not(.dashboard-app-body) .about-section--home-spotlight {
    padding-top: var(--site-section-inner-y, clamp(48px, 6vw, 72px)) !important;
    padding-bottom: var(--site-section-inner-y, clamp(48px, 6vw, 72px)) !important;
    background: transparent !important;
}

body:not(.dashboard-app-body) .about-home-spotlight {
    padding: var(--about-spotlight-padding);
    border-radius: var(--about-spotlight-radius);
    overflow: hidden;
}

body:not(.dashboard-app-body) .about-home-spotlight--video {
    position: relative;
    isolation: isolate;
    min-height: var(--about-spotlight-min-height, clamp(420px, 55vw, 580px));
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
}

body:not(.dashboard-app-body) .about-home-spotlight--video .about-home-spotlight__grid {
    flex: 1 1 auto;
    min-height: inherit;
    align-items: center;
    align-content: center;
    padding-block: clamp(32px, 5vw, 56px);
}

body:not(.dashboard-app-body) .about-home-spotlight__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

body:not(.dashboard-app-body) .about-home-spotlight__poster,
body:not(.dashboard-app-body) .about-home-spotlight__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

body:not(.dashboard-app-body) .about-home-spotlight__poster {
    z-index: 1;
    opacity: 1;
    transition: opacity 0.18s ease;
}

body:not(.dashboard-app-body) .about-home-spotlight__video {
    z-index: 2;
}

body:not(.dashboard-app-body) .about-home-spotlight__media.is-video-playing .about-home-spotlight__poster {
    opacity: 0;
}

body:not(.dashboard-app-body) .about-home-spotlight__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(135deg, rgba(0, 0, 8, calc(var(--about-spotlight-overlay-opacity, 0.78) * 1.08)) 0%, rgba(0, 0, 8, calc(var(--about-spotlight-overlay-opacity, 0.78) * 0.96)) 48%, rgba(0, 0, 8, calc(var(--about-spotlight-overlay-opacity, 0.78) * 0.88)) 100%);
    pointer-events: none;
}

body:not(.dashboard-app-body) .about-home-spotlight__grid {
    position: relative;
    z-index: 4;
}

body:not(.dashboard-app-body) .about-home-spotlight__grid {
    display: grid;
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

body:not(.dashboard-app-body) .about-home-spotlight__grid--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

body:not(.dashboard-app-body) .about-home-spotlight__content--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(100%, 720px);
    margin-inline: auto;
    text-align: center;
    gap: var(--site-section-step-gap, clamp(14px, 2vw, 20px));
}

body:not(.dashboard-app-body) .about-home-spotlight__content--centered .about-eyebrow,
body:not(.dashboard-app-body) .about-home-spotlight__content--centered .about-title,
body:not(.dashboard-app-body) .about-home-spotlight__content--centered .about-text {
    margin: 0;
    text-align: center;
}

body:not(.dashboard-app-body) .about-home-spotlight__icons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}

body:not(.dashboard-app-body) .about-home-spotlight__content--centered .about-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}

body:not(.dashboard-app-body) .about-home-spotlight__content {
    max-width: 56ch;
    margin-inline: auto;
    text-align: center;
}

body:not(.dashboard-app-body) .about-home-spotlight__content .about-eyebrow {
    color: var(--color-red);
    letter-spacing: 0.14em;
}

body:not(.dashboard-app-body) .about-home-spotlight__content .about-text {
    color: rgba(250, 249, 254, 0.9);
    line-height: 1.72;
    margin-bottom: 0;
}

body:not(.dashboard-app-body) .about-home-spotlight__content .about-actions,
body:not(.dashboard-app-body) .about-home-spotlight__visual .about-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--section-content-button-gap, var(--section-header-button-gap-desktop, 32px));
}

body:not(.dashboard-app-body) .about-home-spotlight__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(160px, 28vw, 220px);
}

body:not(.dashboard-app-body) .about-home-spotlight__glow {
    position: absolute;
    inset: -20% -10%;
    z-index: 0;
    overflow: hidden;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(48px);
    pointer-events: none;
}

body:not(.dashboard-app-body) .about-home-spotlight__glow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Shared team circles (home + about page) ----- */
body:not(.dashboard-app-body) .about-team-circles {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

body:not(.dashboard-app-body) .about-team-circles__member {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    text-align: center;
}

body:not(.dashboard-app-body) .about-team-circles__member + .about-team-circles__member {
    margin-left: var(--about-team-overlap-page);
}

body:not(.dashboard-app-body) .about-team-circles--home .about-team-circles__member + .about-team-circles__member {
    margin-left: var(--about-team-overlap-home);
}

body:not(.dashboard-app-body) .about-team-circles__member:nth-child(2) {
    z-index: 2;
    transform: translateY(clamp(-8px, -1.5vw, -14px));
}

body:not(.dashboard-app-body) .about-team-circles__photo-wrap {
    width: var(--about-circle-size-page);
    height: var(--about-circle-size-page);
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(145deg, var(--about-circle-glow), rgba(255, 255, 255, 0.08));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body:not(.dashboard-app-body) .about-team-circles--home .about-team-circles__photo-wrap {
    width: var(--about-circle-size-home);
    height: var(--about-circle-size-home);
}

body:not(.dashboard-app-body) .about-team-circles__photo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--about-circle-border);
    background: rgba(255, 255, 255, 0.06);
}

body:not(.dashboard-app-body) .about-team-circles__photo--placeholder {
    display: grid;
    place-items: center;
    color: rgba(250, 249, 254, 0.42);
    background:
        radial-gradient(circle at 35% 28%, rgba(222, 36, 47, 0.18), transparent 58%),
        rgba(255, 255, 255, 0.05);
}

body:not(.dashboard-app-body) .about-team-circles__photo--placeholder svg {
    width: 38%;
    height: 38%;
    fill: currentColor;
}

body:not(.dashboard-app-body) .about-team-circles__member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body:not(.dashboard-app-body) .about-team-circles__meta {
    margin-top: clamp(10px, 2vw, 14px);
    max-width: 14ch;
    margin-inline: auto;
    text-align: center;
}

body:not(.dashboard-app-body) .about-team-circles__name {
    margin: 0 0 4px;
    color: var(--color-light, #faf9fe);
    font-size: var(--site-type-h3-size, 18px);
    font-weight: 700;
    line-height: 1.25;
}

body:not(.dashboard-app-body) .about-team-circles__role {
    margin: 0;
    color: rgba(250, 249, 254, 0.68);
    font-size: var(--site-type-body-size, 16px);
    line-height: 1.4;
}

@media (min-width: 900px) {
    body:not(.dashboard-app-body) .about-home-spotlight__grid--centered {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--site-section-step-gap, clamp(14px, 2vw, 20px));
    }

    body:not(.dashboard-app-body) .about-home-spotlight__content--centered {
        margin-inline: auto;
        text-align: center;
    }

    body:not(.dashboard-app-body) .about-home-spotlight__content--centered .about-actions {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    body:not(.dashboard-app-body) .about-team-circles {
        flex-wrap: nowrap !important;
        gap: clamp(8px, 2.5vw, 14px) !important;
        justify-content: center !important;
    }

    body:not(.dashboard-app-body) .about-team-circles--home .about-team-circles__member + .about-team-circles__member {
        margin-left: clamp(-10px, -2vw, -6px) !important;
    }

    body:not(.dashboard-app-body) .about-team-circles--home .about-team-circles__photo-wrap {
        width: clamp(72px, 21vw, 96px) !important;
        height: clamp(72px, 21vw, 96px) !important;
    }
}

/* ----- BMI + Strength result panels: identical size + border ----- */
body:not(.dashboard-app-body) .bmi-result.premium-glass--panel,
body:not(.dashboard-app-body) .bmi-section .bmi-result,
body:not(.dashboard-app-body) #bmiResult,
body:not(.dashboard-app-body) .strength-result.premium-glass--panel {
    width: 100% !important;
    max-width: 100% !important;
    min-height: var(--calc-result-panel-min-height) !important;
    padding: var(--calc-result-panel-padding) !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: var(--calc-result-panel-bg) !important;
    border: 1px solid var(--calc-result-panel-border) !important;
    border-left: 1px solid var(--calc-result-panel-border) !important;
    border-radius: var(--calc-result-panel-radius) !important;
    box-shadow: var(--site-glass-shadow, 0 18px 48px rgba(0, 0, 0, 0.28)) !important;
    backdrop-filter: blur(var(--site-glass-blur, 16px)) saturate(var(--site-glass-saturate, 140%)) !important;
    -webkit-backdrop-filter: blur(var(--site-glass-blur, 16px)) saturate(var(--site-glass-saturate, 140%)) !important;
}

body:not(.dashboard-app-body) .strength-result.premium-glass--panel.is-calculated,
body:not(.dashboard-app-body) .strength-result.premium-glass--panel:has(.strength-result-1rm),
body:not(.dashboard-app-body) .bmi-result.premium-glass--panel.is-calculated,
body:not(.dashboard-app-body) .bmi-result#bmiResult:has(.bmi-result-value) {
    display: grid !important;
    align-content: start !important;
    align-items: start !important;
    justify-content: stretch !important;
    min-height: var(--calc-result-panel-min-height) !important;
}

body:not(.dashboard-app-body) .strength-result-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ----- Strength section: prevent horizontal overflow ----- */
body:not(.dashboard-app-body) .strength-section,
body:not(.dashboard-app-body) .strength-container,
body:not(.dashboard-app-body) .strength-layout,
body:not(.dashboard-app-body) .strength-form,
body:not(.dashboard-app-body) .strength-form-grid,
body:not(.dashboard-app-body) .strength-field,
body:not(.dashboard-app-body) .strength-exercise-trigger {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body:not(.dashboard-app-body) .strength-layout {
    overflow: visible;
}

body:not(.dashboard-app-body) .strength-result:not(.is-calculated) .strength-result-label,
body:not(.dashboard-app-body) .bmi-result:not(.is-calculated) .bmi-result-label {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    max-width: 100%;
}

/* Very narrow screens: allow clean word wrapping (last resort) + slight shrink. */
@media (max-width: 560px) {
    body:not(.dashboard-app-body) .strength-result:not(.is-calculated) .strength-result-label,
    body:not(.dashboard-app-body) .bmi-result:not(.is-calculated) .bmi-result-label {
        white-space: normal;
        font-size: clamp(13px, 3.6vw, 15px);
    }
}

/* ----- Smooth scroll + content reveal (never hide whole sections) ----- */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Safety: old section reveal must never trap scroll below hero */
body:not(.dashboard-app-body) .site-scroll-reveal,
body:not(.dashboard-app-body) .site-scroll-reveal.is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@media (prefers-reduced-motion: no-preference) {
    body:not(.dashboard-app-body) [data-reveal] {
        opacity: 0;
        transform: translate3d(0, var(--reveal-distance, 24px), 0);
        transition:
            opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
            transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
    }

    body.home:not(.dashboard-app-body) [data-reveal]:not(.is-revealed) {
        transform: translate3d(0, var(--reveal-distance, 24px), 0) !important;
    }

    body:not(.dashboard-app-body) [data-reveal].is-revealed,
    body.home:not(.dashboard-app-body) [data-reveal].is-revealed {
        opacity: 1;
        transform: translate3d(0, 0, 0) !important;
    }
}

/* Hero: allow normal page scroll on all devices — stable height on mobile (no JS pixel lock) */
@media (max-width: 760px) {
    body:not(.dashboard-app-body) .hero-section {
        contain: none !important;
        min-height: 100svh !important;
        max-height: none !important;
    }

    body:not(.dashboard-app-body) .hero-media,
    body:not(.dashboard-app-body) .hero-video {
        transform: none !important;
        will-change: auto !important;
    }
}

body:not(.dashboard-app-body) .faq-item,
body:not(.dashboard-app-body) .membership-card,
body:not(.dashboard-app-body) .contact-tile,
body:not(.dashboard-app-body) .partner-logo-scroll,
body:not(.dashboard-app-body) .about-home-spotlight__visual,
body:not(.dashboard-app-body) .about-team-circles__member,
body:not(.dashboard-app-body) .about-page-value {
    will-change: auto;
}

/* ----- FAQ + bordered cards: red feedback on press only ----- */
body:not(.dashboard-app-body) .faq-question:hover {
    color: var(--faq-question-color, var(--color-light)) !important;
}

body:not(.dashboard-app-body) .faq-question:active {
    color: var(--color-red, #de242f) !important;
}

body:not(.dashboard-app-body) .faq-item.is-open {
    border-color: rgba(255, 255, 255, 0.14) !important;
}

body:not(.dashboard-app-body) .faq-item:active,
body:not(.dashboard-app-body) .faq-item:has(.faq-question:active) {
    border-color: rgba(222, 36, 47, 0.55) !important;
}

body:not(.dashboard-app-body) .membership-card:hover,
body:not(.dashboard-app-body) .program-card:hover,
body:not(.dashboard-app-body) .about-page-block:hover {
    border-color: inherit;
}

body:not(.dashboard-app-body) .membership-card:active,
body:not(.dashboard-app-body) .program-card:active,
body:not(.dashboard-app-body) .about-page-block:active {
    border-color: rgba(222, 36, 47, 0.45) !important;
}

/* ----- Site-wide type scale (edit px in :root above) ----- */
body:not(.dashboard-app-body) :is(
    .about-page-title,
    .programs-page-title,
    .partnerships-page-title,
    .blog-page-title,
    .contact-page-title,
    .contact-location-title,
    .legal-page-heading-title,
    .page-title,
    .single-post-title
) {
    font-size: var(--site-type-h1-size) !important;
    line-height: 1.2 !important;
}

body:not(.dashboard-app-body) :is(
    .programs-title,
    .membership-title,
    .partnerships-title,
    .booking-section-intro-title,
    .about-title,
    .bmi-title,
    .location-title,
    .faq-title,
    .equipment-title,
    .gym-gallery-title,
    .strength-title,
    .get-in-touch-title,
    .program-card-title,
    .about-page-pillar-title,
    .about-page-value__title,
    .about-page-team-heading,
    .about-page-trainers-heading,
    .section-title
) {
    font-size: var(--site-type-h2-size) !important;
    line-height: 1.25 !important;
}

body:not(.dashboard-app-body) :is(
    .programs-eyebrow,
    .membership-eyebrow,
    .partnerships-eyebrow,
    .booking-section-intro-eyebrow,
    .about-eyebrow,
    .bmi-eyebrow,
    .location-eyebrow,
    .faq-eyebrow,
    .equipment-eyebrow,
    .gym-gallery-eyebrow,
    .strength-eyebrow,
    .get-in-touch-eyebrow,
    .programs-page-eyebrow,
    .about-page-eyebrow,
    .partnerships-page-eyebrow,
    .blog-page-eyebrow,
    .contact-page-eyebrow,
    .contact-location-eyebrow,
    .legal-page-eyebrow,
    .section-eyebrow
) {
    font-size: var(--site-type-eyebrow-size) !important;
}

body:not(.dashboard-app-body) :is(
    .programs-description,
    .membership-text,
    .partnerships-text,
    .booking-section-intro-text,
    .about-text,
    .bmi-text,
    .location-text,
    .faq-intro,
    .equipment-text,
    .gym-gallery-text,
    .strength-intro,
    .get-in-touch-intro,
    .program-card-text,
    .section-text,
    .page-subtitle,
    .programs-page-subtitle,
    .about-page-subtitle,
    .about-page-lead,
    .about-page-lead--futura,
    .about-page-pillar-text,
    .about-page-value__text,
    .about-page-trainer-role,
    .about-team-circles__role,
    .partnerships-page-subtitle,
    .blog-page-subtitle,
    .legal-page-heading-subtitle,
    .faq-answer,
    .faq-answer p
) {
    font-size: var(--site-type-body-size) !important;
}

body:not(.dashboard-app-body) .faq-question-text {
    font-size: var(--site-type-h3-size) !important;
    line-height: 1.4 !important;
}

body:not(.dashboard-app-body) :is(
    .btn,
    .btn-primary,
    .btn-ghost,
    .hero-btn,
    .about-cta,
    .booking-submit,
    .bmi-button
) {
    font-size: var(--site-type-button-size) !important;
}

/* ----- Breathable heading stacks (not section-to-section gaps) ----- */
body:not(.dashboard-app-body) .section-heading {
    margin-bottom: var(--site-type-section-heading-gap) !important;
}

body:not(.dashboard-app-body) :is(
    .hero-eyebrow + .hero-title,
    .hero-title + .hero-text,
    .programs-eyebrow + .programs-title,
    .programs-title + .programs-description,
    .membership-eyebrow + .membership-title,
    .membership-title + .membership-text,
    .partnerships-eyebrow + .partnerships-title,
    .partnerships-title + .partnerships-text,
    .about-eyebrow + .about-title,
    .about-title + .about-text,
    .faq-eyebrow + .faq-title,
    .faq-title + .faq-intro,
    .location-eyebrow + .location-title,
    .location-title + .location-text,
    .about-page-eyebrow + .about-page-title,
    .about-page-title + .about-page-subtitle,
    .programs-page-eyebrow + .programs-page-title,
    .programs-page-title + .programs-page-subtitle,
    .contact-location-eyebrow + .contact-location-title,
    .contact-location-title + .contact-location-text
) {
    margin-top: 0 !important;
}

/* Exclude hero from legacy heading stack margins (flex gap handles spacing) */
body:not(.dashboard-app-body) :is(
    .programs-title,
    .membership-title,
    .partnerships-title,
    .about-title,
    .faq-title,
    .location-title,
    .about-page-title,
    .programs-page-title,
    .contact-location-title
) {
    margin-bottom: var(--site-type-heading-stack-gap) !important;
}

body:not(.dashboard-app-body) .hero-title {
    margin-bottom: 0 !important;
}

@media (max-width: 760px) {
    :root {
        --site-type-h2-size: clamp(17px, 4.2vw, 21px);
    }

    body:not(.dashboard-app-body) .section-heading {
        margin-bottom: var(--site-type-section-heading-gap-mobile) !important;
    }

    body:not(.dashboard-app-body) :is(
        .programs-title,
        .membership-title,
        .partnerships-title,
        .about-title,
        .faq-title,
        .location-title,
        .about-page-title,
        .programs-page-title,
        .contact-location-title
    ) {
        margin-bottom: var(--site-type-heading-stack-gap-mobile) !important;
    }

    body:not(.dashboard-app-body) .hero-title {
        margin-bottom: 0 !important;
    }
}

/* ----- About Us page (circles layout) ----- */
body:not(.dashboard-app-body) .about-page-flow--circles {
    color: var(--color-light, #faf9fe);
}

body:not(.dashboard-app-body) .about-page-flow--circles .about-page-heading,
body:not(.dashboard-app-body) .about-page-flow--circles .about-page-lead,
body:not(.dashboard-app-body) .about-page-flow--circles .about-page-values,
body:not(.dashboard-app-body) .about-page-flow--circles .about-page-actions {
    color: inherit;
}

body:not(.dashboard-app-body) .about-page-flow--circles .about-page-eyebrow {
    color: var(--color-red, #de242f);
}

body:not(.dashboard-app-body) .about-page-flow--circles .about-page-title {
    color: var(--color-light, #faf9fe);
}

body:not(.dashboard-app-body) .about-page-flow--circles .about-page-subtitle,
body:not(.dashboard-app-body) .about-page-lead--circles,
body:not(.dashboard-app-body) .about-page-lead--circles p {
    color: rgba(250, 249, 254, 0.82);
    max-width: 68ch;
    margin-inline: auto;
    line-height: 1.72;
    text-align: center;
}

body:not(.dashboard-app-body) .about-page-lead--circles {
    margin-bottom: clamp(32px, 5vw, 48px);
}

body:not(.dashboard-app-body) .about-page-team-panel {
    padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 32px);
    margin-bottom: clamp(36px, 5vw, 56px);
    border-radius: var(--about-spotlight-radius);
    text-align: center;
}

body:not(.dashboard-app-body) .about-page-team-heading {
    margin: 0 0 clamp(20px, 3vw, 28px);
    color: var(--color-light, #faf9fe);
    font-size: var(--site-type-h2-size, 22px);
}

body:not(.dashboard-app-body) .about-page-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 22px);
    margin-bottom: clamp(32px, 5vw, 48px);
}

body:not(.dashboard-app-body) .about-page-value {
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--about-spotlight-radius);
    text-align: left;
}

body:not(.dashboard-app-body) .about-page-value__index {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-red, #de242f);
    font-size: var(--site-type-eyebrow-size, 14px);
    font-weight: 700;
    letter-spacing: 0.14em;
}

body:not(.dashboard-app-body) .about-page-value__title {
    margin: 0 0 10px;
    color: var(--color-light, #faf9fe);
    font-size: var(--site-type-h2-size, 22px);
}

body:not(.dashboard-app-body) .about-page-value__text {
    margin: 0;
    color: rgba(250, 249, 254, 0.78);
    line-height: 1.7;
}

body:not(.dashboard-app-body) .about-page-actions {
    margin-top: clamp(8px, 2vw, 16px);
}

@media (max-width: 760px) {
    body:not(.dashboard-app-body) .about-page-values {
        grid-template-columns: minmax(0, 1fr);
    }

    body:not(.dashboard-app-body) .about-team-circles--page .about-team-circles__photo-wrap {
        width: clamp(100px, 28vw, 140px);
        height: clamp(100px, 28vw, 140px);
    }
}

/* ----- Home programs — centered heading, red eyebrow, photo overlay ----- */
body:not(.dashboard-app-body) .programs-section .programs-intro--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--programs-home-intro-button-gap) !important;
    margin-bottom: var(--programs-intro-margin-bottom);
    text-align: center;
}

body:not(.dashboard-app-body) .programs-section .programs-intro-head {
    width: 100%;
    max-width: var(--programs-title-max-width);
    margin-inline: auto;
}

body:not(.dashboard-app-body) .programs-section .programs-intro-head .programs-title {
    max-width: 100%;
    margin-inline: auto;
}

body:not(.dashboard-app-body) .programs-section .programs-intro-head .programs-eyebrow {
    color: var(--color-red, #de242f);
}

body:not(.dashboard-app-body) .programs-section .programs-intro-actions .programs-button {
    margin-top: 0 !important;
}

body:not(.dashboard-app-body) .programs-section .program-card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 8, 0.2) 0%, rgba(0, 0, 8, 0.62) 52%, rgba(0, 0, 8, 0.94) 100%);
    opacity: 1;
}

/* ----- Programs page — red eyebrow, centered, photo overlay ----- */
body:not(.dashboard-app-body) .programs-page-flow--stream .programs-page-eyebrow {
    color: var(--color-red, #de242f);
}

body:not(.dashboard-app-body) .programs-page-flow--stream .programs-page-heading--stream,
body:not(.dashboard-app-body) .programs-page-flow--stream .programs-page-title {
    text-align: center;
    margin-inline: auto;
}

body:not(.dashboard-app-body) .programs-page-row-media {
    position: relative;
    isolation: isolate;
}

body:not(.dashboard-app-body) .programs-page-row-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 0, 8, 0.12) 0%, rgba(0, 0, 8, calc(var(--programs-page-photo-overlay-opacity) + 0.2)) 100%);
}

body:not(.dashboard-app-body) .programs-page-row-image {
    position: relative;
    z-index: 0;
}

/* ----- Program detail — intro after benefits heading ----- */
body:not(.dashboard-app-body) .program-detail-block-intro {
    margin: 0 0 clamp(14px, 2.5vw, 20px);
    color: rgba(250, 249, 254, 0.82);
    font-size: var(--site-type-body-size, 16px);
    line-height: 1.72;
    max-width: 68ch;
}

/* ----- Contact page — info closer to map, tighter footer gap ----- */
body:not(.dashboard-app-body) .contact-page-flow--map-first .contact-page-blocks {
    gap: clamp(24px, 4vw, 36px) !important;
}

body:not(.dashboard-app-body) .contact-page-flow--map-first .contact-location-map-container {
    margin-bottom: 0 !important;
}

body:not(.dashboard-app-body) .contact-page-flow--map-first.contact-page-flow--centered .contact-page-info-wrap {
    margin-top: var(--contact-page-map-info-gap, clamp(40px, 5vw, 56px)) !important;
}

/* ----- Partnerships page — premium benefit cards ----- */
body:not(.dashboard-app-body) .partnerships-page-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, 1.8vw, 14px);
    padding: clamp(12px, 2vw, 16px);
    text-align: center;
    border: 0;
    background: transparent;
}

body:not(.dashboard-app-body) .partnerships-page-partner-card {
    padding: clamp(20px, 3vw, 28px) clamp(16px, 2.5vw, 22px);
    border-radius: var(--partnerships-partner-card-radius, 16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(222, 36, 47, 0.1), transparent 55%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body:not(.dashboard-app-body) .partnerships-page-partner-card .partnerships-page-partner-benefit {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

body:not(.dashboard-app-body) .partnerships-page-partners--clean {
    margin-bottom: clamp(24px, 3.5vw, 36px);
}

/* ----- About page — centered bordered team panel ----- */
body:not(.dashboard-app-body) .about-page-flow--circles .about-page-heading {
    text-align: center;
    margin-inline: auto;
}

body:not(.dashboard-app-body) .about-page-flow--circles .about-page-title {
    margin-inline: auto;
    text-align: center;
}

body:not(.dashboard-app-body) .about-page-team-panel {
    text-align: center;
}

body:not(.dashboard-app-body) .about-page-team-panel .about-team-circles,
body:not(.dashboard-app-body) .about-page-team-panel .about-page-team-heading {
    margin-inline: auto;
    text-align: center;
}

body:not(.dashboard-app-body) .about-page-team-panel .about-team-circles__grid {
    justify-content: center;
}

body:not(.dashboard-app-body) .about-page-lead--circles {
    text-align: center;
}

/* ----- Booking panel — width, single date/time box, clean buttons ----- */
body:not(.dashboard-app-body) .booking-step-panel {
    width: min(100%, 1040px) !important;
    max-width: min(100%, 1040px) !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-panel-view {
    padding-left: clamp(10px, 2.2vw, 16px) !important;
    padding-right: clamp(10px, 2.2vw, 16px) !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-date-time-panel {
    padding: clamp(12px, 2.5vw, 16px);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
}

body:not(.dashboard-app-body) .booking-step-panel .booking-date-time-panel .booking-calendar,
body:not(.dashboard-app-body) .booking-step-panel .booking-date-time-panel .booking-times-panel {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-date-time-panel .booking-step-title--time {
    margin-top: var(--site-section-header-inner-gap, 16px);
    padding-top: var(--site-section-header-inner-gap, 16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.dashboard-app-body) .booking-step-panel .booking-service-cards,
body:not(.dashboard-app-body) .booking-step-panel .booking-service-card,
body:not(.dashboard-app-body) .booking-step-panel .booking-confirm-summary,
body:not(.dashboard-app-body) .booking-step-panel .booking-summary-card,
body:not(.dashboard-app-body) .booking-step-panel .booking-step-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-main-button,
body:not(.dashboard-app-body) .booking-step-panel .booking-next-confirm,
body:not(.dashboard-app-body) .booking-step-panel .booking-submit {
    box-shadow: none !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-main-button:hover:not(:disabled),
body:not(.dashboard-app-body) .booking-step-panel .booking-next-confirm:hover:not(:disabled),
body:not(.dashboard-app-body) .booking-step-panel .booking-submit:hover:not(:disabled) {
    box-shadow: none !important;
    transform: none !important;
}

body:not(.dashboard-app-body) .booking-step-panel .booking-panel-view-actions {
    background: rgba(8, 8, 12, 0.96) !important;
    box-shadow: none !important;
}

/* ----- Refined inline arrow icon (CTA / Learn More / read-more links) ----- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    color: currentColor;
    line-height: 0;
    transition: transform var(--transition-main, 0.3s ease);
}

.link-arrow svg {
    display: block;
    width: 1em;
    height: 1em;
}

a:hover > .link-arrow,
a:focus-visible > .link-arrow,
.btn:hover .link-arrow,
.btn:focus-visible .link-arrow {
    transform: var(--hover-arrow-move, translateX(5px));
}

@media (prefers-reduced-motion: reduce) {
    .link-arrow {
        transition: none;
    }

    a:hover > .link-arrow,
    a:focus-visible > .link-arrow,
    .btn:hover .link-arrow,
    .btn:focus-visible .link-arrow {
        transform: none;
    }
}
