/* ===== Base Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Theme Tokens ===== */
:root {
    /* Brand palette */
    --primary: #FF6B6B;
    --blue: #3B82F6;
    --accent: #FBBF24;
    --green: #10B981;
    --purple: #8a10a0;
    --lilac: #C084FC;
    --orange: #FB923C;
    --teal: #0EA5E9;

    /* Surfaces */
    --background: #FFFBF0;
    --cream: #FEF3C7;
    --card-bg: #FFFFFF;

    /* Typography */
    --ink: #1E293B;
    --text-soft: #64748B;

    /* Legacy aliases */
    --white: var(--card-bg);
    --coral: var(--primary);
    --secondary: var(--purple);
    --butter: var(--background);
    --yellow: var(--accent);
    --highlight: var(--accent);
    --success: var(--green);
    --indigo: #6366F1;
    --peach: #FFE4D6;
    --radius: 16px;
    --shadow: 0 10px 24px rgba(0,0,0,0.12);
    --ease-spring: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-glide: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ===== Global Elements ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    line-height: 1.8;
    color: var(--ink);
    background: var(--butter);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Link & Focus Styles ===== */
.link-reset,
a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

a:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 3px;
}

button:focus-visible,
.btn-pill:focus-visible,
a.btn-pill:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 3px;
}

/* ===== Icon Sprite ===== */
.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ===== Header ===== */
.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    border: 2px solid var(--blue);
    background: transparent;
    color: var(--blue);
    font-weight: 700;
    padding: 8px 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.header--nav-open .nav-toggle {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.nav-toggle__icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle__icon span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.3s var(--ease-glide), opacity 0.3s ease;
}

.nav-toggle__label {
    font-size: 0.9rem;
}

.header--nav-open .nav-toggle__icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header--nav-open .nav-toggle__icon span:nth-child(2) {
    opacity: 0;
}

.header--nav-open .nav-toggle__icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header {
    background: var(--white);
    padding: 16px 32px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.2s ease;
    will-change: transform;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.header--visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

html:not(.js-enabled) .header {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.js-enabled .nav-toggle {
    display: inline-flex;
}

.nav-toggle {
    order: 3;
    margin-left: auto;
    flex: 0 0 auto;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 44px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    order: 4;
}

.header-cta {
    display: none;
    order: 2;
    margin-left: 16px;
    padding: 8px 18px;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
}

.header-cta.btn-pill {
    padding: 8px 18px;
}

.header-cta.btn-primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
    -webkit-text-fill-color: var(--white);
}

.header--cta-visible .header-cta {
    display: inline-flex;
    align-items: center;
    animation: headerCtaPulse 2.4s ease-in-out infinite;
    will-change: transform;
}

.header-cta.btn-primary:hover,
.header-cta.btn-primary:focus-visible {
    background: var(--coral);
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    box-shadow: 0 10px 24px rgba(255, 107, 107, 0.36);
    transform: scale(1.03) translateY(-2px);
    animation: none;
}


.header-nav a {
    font-weight: 600;
    color: var(--blue);
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: var(--blue);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s var(--ease-glide);
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: var(--purple);
    -webkit-text-fill-color: var(--purple);
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
    background: var(--purple);
    transform: scaleX(1);
}

/* ===== Buttons & CTAs ===== */
.btn-pill {
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 28px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-out;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.btn-pill:hover,
a.btn-pill:hover {
    text-decoration: none;
}

.btn-primary {
    background: transparent;
    color: var(--coral);
    border: 2px solid var(--coral);
}

.btn-primary:hover {
    background: var(--coral);
    color: var(--white);
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 107, 107, 0.36);
}

.btn-secondary {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-secondary:hover {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.03);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--white) 30%, #FF0000 100%);
    position: relative;
    overflow: hidden;
    padding: 48px 32px 96px;
}


.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes eyebrowSweep {
    0% {
        background-position: 120% 50%;
    }
    50% {
        background-position: -20% 50%;
    }
    100% {
        background-position: 120% 50%;
    }
}

@keyframes headerCtaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 107, 107, 0.0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 18px rgba(255, 107, 107, 0.35);
    }
}

@keyframes footerCtaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 18px 32px rgba(255, 148, 60, 0.35);
    }
}

.eyebrow {
    --eyebrow-line-color: var(--purple);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--eyebrow-line-color);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.eyebrow::before,
.eyebrow::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--eyebrow-line-color);
    opacity: 0.35;
    transform: translateY(1px);
    flex-shrink: 0;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .eyebrow {
        color: transparent;
        background-image: linear-gradient(120deg, var(--purple) 0%, var(--purple) 32%, var(--coral) 47%, var(--accent) 58%, var(--purple) 74%, var(--purple) 100%);
        background-size: 220% 100%;
        background-position: 110% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        animation: eyebrowSweep 4.5s ease-in-out infinite;
    }
}

.hero h1 {
    font-family: 'Zen Maru Gothic', 'Fredoka', sans-serif;
    font-weight: 900;
    color: var(--blue);
    font-size: 3.5rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title__chunk {
    display: inline;
}

.hero-title__separator {
    display: inline;
}

.is-webview .hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.2;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: keep-all;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.hero-title--stacked {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.hero-title--stacked .hero-title__chunk {
    display: block;
    white-space: nowrap;
}

.hero-title--stacked .hero-title__separator {
    display: none;
}

.hero-subheadline {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink);
    margin-bottom: 32px;
}

.hero-description__line {
    margin: 0;
}

.hero-description__line + .hero-description__line {
    margin-top: 6px;
}

.hero-description--desktop {
    display: block;
}

.hero-description--mobile {
    display: none;
}

@media (max-width: 600px) {
    .hero-description--desktop {
        display: none;
    }

    .hero-description--mobile {
        display: block;
    }
}

/* ===== Chips & Highlights ===== */
.hero-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-actions .btn-pill {
    min-width: 220px;
}

.is-webview .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.is-webview .hero-actions .btn-pill {
    min-width: 0;
    width: auto;
}

.hero-reassurance {
    font-size: 0.9rem;
    color: rgba(43, 43, 43, 0.82);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: #ff8d02;
    color: #ffffff;
}

.chip--green {
    background: #8a10a0;
    color: #ffffff;
}

.chip--blue {
    background: #ffffff;
    color: #8a10a0;
}

.chip--compact {
    padding: 4px 10px;
    font-size: 0.75rem;
}

.program-facts__chip {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
}

.info-card-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: flex-start;
}

/* ===== Hero Visual & Rotator ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.3s both;
    width: clamp(320px, 36vw, 560px);
    aspect-ratio: 3 / 2;
    max-height: min(64vh, 640px);
    min-height: 320px;
    overflow: visible;
    border-radius: calc(var(--radius) + 8px);
    --hero-secondary-width: clamp(210px, 52%, 340px);
    --hero-secondary-height: clamp(220px, 62%, 360px);
    --hero-secondary-top: 2%;
    --hero-secondary-right: 0;
}

.hero-visual__item {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    pointer-events: none;
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    background: var(--white);
    --hero-parallax-x: 0px;
    --hero-parallax-y: 0px;
    transition:
        width 0.85s var(--ease-glide),
        height 0.85s var(--ease-glide),
        top 0.85s var(--ease-glide),
        left 0.85s var(--ease-glide),
        right 0.85s var(--ease-glide),
        transform 0.5s var(--ease-glide),
        box-shadow 0.5s ease;
}

.hero-visual__item.is-primary {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: translate3d(
        calc(-12px + var(--hero-parallax-x, 0px)),
        calc(14px + var(--hero-parallax-y, 0px)),
        0
    ) rotate(2deg);
    box-shadow: 0 28px 48px rgba(15, 24, 32, 0.3);
}

.hero-visual__item.is-secondary {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translate3d(
        calc(18% - 18px + var(--hero-parallax-x, 0px)),
        calc(-50% + 14px + var(--hero-parallax-y, 0px)),
        0
    ) rotate(-9deg);
    border: 6px solid var(--white);
    box-shadow: 0 24px 42px rgba(15, 24, 32, 0.26);
}

.hero-visual__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(43, 43, 43, 0.78);
    margin-top: 12px;
}

.cta-note a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.cta-note a:hover,
.cta-note a:focus-visible {
    color: var(--blue);
}

.cta-note--footer {
    color: rgba(43, 43, 43, 0.72);
}

.cta-note--footer a {
    color: var(--blue);
}

.section-cta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
}

.section-cta--center {
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.section-cta .btn-pill {
    min-width: 220px;
    text-align: center;
}

.section-cta .btn-primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.25);
}

.section-cta .btn-primary:hover,
.section-cta .btn-primary:focus-visible {
    background: var(--coral);
    color: var(--white);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 16px 28px rgba(255, 107, 107, 0.3);
}

.section-cta .btn-secondary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 12px 24px rgba(5, 108, 255, 0.2);
}

.section-cta .btn-secondary:hover,
.section-cta .btn-secondary:focus-visible {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 16px 28px rgba(5, 108, 255, 0.25);
}

.section-cta--overview .btn-secondary {
    background: var(--white);
    color: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 10px 24px rgba(5, 108, 255, 0.18);
}

.section-cta--overview .btn-secondary:hover,
.section-cta--overview .btn-secondary:focus-visible {
    background: var(--white);
    color: var(--blue);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 16px 28px rgba(5, 108, 255, 0.24);
}

.cta-note--center {
    text-align: center;
}

@media (max-width: 640px) {
    .section-cta {
        flex-direction: column;
        align-items: center;
    }

    .section-cta .btn-pill {
        width: auto;
        max-width: 320px;
        min-width: 0;
    }
}

@media (min-width: 768px) {
    .section-cta--center {
        max-width: 560px;
    }
}

.program-facts {
    padding: 0 32px 48px;
    background: var(--butter);
}

.program-facts__inner {
    max-width: 1080px;
    margin: 32px auto 0;
    padding: 32px 48px;
    border-radius: calc(var(--radius) + 4px);
    background: var(--white);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 5;
}

.program-facts__inner h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.program-facts__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    list-style: none;
}

.program-facts__list li {
    background: var(--white);
    border-radius: calc(var(--radius) - 2px);
    padding: 18px 16px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-top: 4px solid rgba(59, 130, 246, 0.2);
}

.program-facts__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--blue);
    margin-bottom: 8px;
}

.program-facts__value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.5;
}

.section--quicklinks {
    background: var(--white);
    padding: 28px 0 32px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

.quicklinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.quicklinks .chip {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.quicklinks .chip:hover,
.quicklinks .chip:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
}

/* ===== Wave Divider ===== */
.wave-divider {
    position: relative;
    height: 60px;
    background: var(--butter);
}

.wave-divider svg {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
}

/* ===== Layout Containers ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Section Defaults ===== */
.section {
    --section-background: transparent;
    padding: 80px 0;
    position: relative;
    background: var(--section-background);
}

.section--policies {
    padding: 48px 0;
    background: var(--orange);
}

.section--bg-white {
    --section-background: var(--white);
}

.section--bg-butter {
    --section-background: var(--butter);
}

.section--bg-cream {
    --section-background: var(--cream);
}

.section--bg-card {
    --section-background: var(--card-bg);
}

.section--bg-peach {
    --section-background: var(--peach);
}

/* ===== Section-Specific Backgrounds ===== */
#program-overview {
    --section-background: #567bff;
}

#program-overview .program-overview__mobile-card {
    display: none;
}

#program-overview .program-overview__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#program-overview .program-overview__visual {
    display: block;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 24, 56, 0.22);
    position: relative;
    width: 100%;
    max-width: clamp(620px, 58vw, 820px);
}

#program-overview .program-overview__visual img {
    width: 100%;
    height: auto;
    display: block;
}

#program-overview .program-overview__content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

#program-overview .program-overview__content .section-header {
    align-self: stretch;
}

#program-overview .program-overview__content .card-grid {
    width: 100%;
}

#why-boxing {
    --section-background: #fd9e4bf8;
}

#why-boxing .why-boxing__mobile-card {
    display: none;
}

#why-boxing .why-boxing__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#why-boxing .why-boxing__visual {
    display: block;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 24, 56, 0.22);
    position: relative;
    width: 100%;
    max-width: clamp(620px, 58vw, 820px);
}

#why-boxing .why-boxing__visual img {
    width: 100%;
    height: auto;
    display: block;
}

#why-boxing .why-boxing__content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

#why-boxing .why-boxing__content .section-header {
    align-self: stretch;
}

#why-boxing .why-boxing__content .card-grid {
    width: 100%;
}

#body-skills {
    --section-background: var(--white);
}

#body-skills .body-skills__mobile-card {
    display: none;
}

#body-skills .body-skills__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#body-skills .body-skills__visual {
    display: block;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 24, 56, 0.18);
    position: relative;
    width: 100%;
    max-width: clamp(620px, 58vw, 820px);
}

#body-skills .body-skills__visual img {
    width: 100%;
    height: auto;
    display: block;
}

#body-skills .body-skills__content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

#body-skills .body-skills__content .section-header {
    align-self: stretch;
}

#body-skills .body-skills__content .card-grid {
    width: 100%;
}

#safety {
    --section-background: #FFF4D0;
}

#safety .safety__mobile-card {
    display: none;
}

#safety .safety__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#safety .safety__visual {
    display: block;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(13, 24, 44, 0.18);
    position: relative;
    width: 100%;
    max-width: clamp(620px, 58vw, 820px);
}

#safety .safety__visual img {
    width: 100%;
    height: auto;
    display: block;
}

#safety .safety__content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

#safety .safety__content .section-header {
    align-self: stretch;
}

#safety .safety__content .promise-grid {
    width: 100%;
}

#class-flow {
    --section-background: var(--cream);
}

#class-flow .class-flow__mobile-card {
    display: none;
}

#class-flow .class-flow__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#class-flow .class-flow__visual {
    display: block;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 24, 56, 0.18);
    position: relative;
    width: 100%;
    max-width: clamp(620px, 58vw, 820px);
}

#class-flow .class-flow__visual img {
    width: 100%;
    height: auto;
    display: block;
}

#class-flow .class-flow__content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

#class-flow .class-flow__content .section-header {
    align-self: stretch;
}

#class-flow .class-flow__content .rhythm-stepper,
#class-flow .class-flow__content .stage-note {
    width: 100%;
}

#coaches {
    --section-background: #8A2BE2;
}

#faq {
    --section-background: var(--card-bg);
}

#program-overview .section-title {
    color: #ffffff;
}

#why-boxing .section-title {
    color: #ffff;
}

#body-skills .section-title {
    color: var(--purple);
}

#safety .section-title {
    color: var(--green);
}

#class-flow .section-title {
    color: var(--blue);
}

#coaches .section-title {
    color: var(--orange);
}

#faq .section-title {
    color: var(--teal);
}

.section--bg-white {
    --section-background: var(--white);
}

.section--bg-butter {
    --section-background: var(--butter);
}

.section--bg-cream {
    --section-background: var(--cream);
}

.section--bg-card {
    --section-background: var(--card-bg);
}

.section--bg-peach {
    --section-background: var(--peach);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-family: 'Zen Maru Gothic', 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--ink);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

.policies-note {
    text-align: center;
    font-size: 0.95rem;
    color: rgba(43, 43, 43, 0.8);
}

.policies-note__line {
    display: inline;
}

.policies-note a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.policies-note a:hover,
.policies-note a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===== Card Components ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    transition: all 0.2s ease-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0,0,0,0.12);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    margin-bottom: 18px;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.card-icon svg {
    width: 54px;
    height: 54px;
}

.info-card:hover .card-icon {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 14px 22px rgba(0,0,0,0.12);
}

.info-card h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    font-size: 0.95rem;
}

.benefit-list li {
    position: relative;
    padding-left: 26px;
}

.benefit-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue);
    font-weight: 700;
}

/* ===== Two Column Layout ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ===== Feature Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    transition: all 0.2s ease-out;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.coach-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    text-align: center;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.coach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
}

.coach-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 220px;
    border-radius: calc(var(--radius) - 6px);
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.coach-photo--bruno {
    background-image: url('../b2.png');
}

.coach-photo--keith {
    background-image: url('../a1.png');
}

.coach-card h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.coach-meta {
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.coach-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.coach-note {
    margin-top: 40px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink);
}

.section-testimonials {
    background: rgba(255, 248, 230, 0.9);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ink);
}

.testimonial-author {
    font-weight: 700;
    color: var(--blue);
    font-size: 0.9rem;
    text-align: right;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.icon-speech {
    background: linear-gradient(135deg, var(--blue), var(--green));
}

.icon-speech::before {
    content: 'A-Z';
}

.icon-strength {
    background: linear-gradient(135deg, var(--blue), var(--indigo));
}

.icon-strength::before {
    content: '💪';
    font-size: 32px;
}

.icon-smile {
    background: linear-gradient(135deg, var(--yellow), #FDBA74);
}

.icon-smile::before {
    content: '★';
    font-size: 36px;
    color: var(--white);
}

.feature-card h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Highlight box */
.highlight-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    margin: 32px 0;
}

.highlight-box h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* List styling */
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding: 16px 16px 16px 50px;
    margin: 12px 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.2s ease-out;
}

.styled-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    background: var(--green);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.message-from-coaches {
    margin-top: 36px;
    padding: 32px;
    border-radius: calc(var(--radius) + 4px);
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.message-from-coaches blockquote {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(43, 43, 43, 0.9);
    font-style: italic;
}

.message-from-coaches blockquote p {
    margin: 0;
}

.strong-text {
    font-weight: 700;
    color: var(--blue);
}

.strong-text2 {
    font-weight: 700;
    color: var(--blue);
}

/* Class rhythm stepper */
.rhythm-stepper {
    display: flex;
    justify-content: space-between;
    margin: 48px 0;
    position: relative;
}

.rhythm-stepper::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(to right, var(--blue), var(--green));
    z-index: 0;
}

.rhythm-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.rhythm-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--blue);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    color: var(--blue);
}

.rhythm-step:nth-child(1) .rhythm-node::before { content: '1'; }
.rhythm-step:nth-child(2) .rhythm-node::before { content: '2'; }
.rhythm-step:nth-child(3) .rhythm-node::before { content: '3'; }
.rhythm-step:nth-child(4) .rhythm-node::before { content: '4'; }
.rhythm-step:nth-child(5) .rhythm-node::before { content: '5'; }

.rhythm-step:nth-child(1) .rhythm-node { border-color: var(--blue); color: var(--blue); }
.rhythm-step:nth-child(2) .rhythm-node { border-color: var(--green); color: var(--green); }
.rhythm-step:nth-child(3) .rhythm-node { border-color: var(--yellow); color: #E5A820; background: #FFFBF0; }
.rhythm-step:nth-child(4) .rhythm-node { border-color: var(--coral); color: var(--coral); }
.rhythm-step:nth-child(5) .rhythm-node { border-color: var(--lilac); color: #bd33d5; }

.rhythm-step h4 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.rhythm-step p {
    font-size: 0.9rem;
    color: var(--ink);
}

.rhythm-substep {
    margin-top: 16px;
}

#class-flow .stage-note {
    margin: 32px auto 36px;
    max-width: 720px;
    text-align: center;
}

/* ===== Milestone Badge ===== */
.milestone {
    background: var(--butter);
    color: var(--ink);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.milestone::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.milestone::after {
    content: '★';
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 60px;
    color: rgba(43, 43, 43, 0.12);
    font-weight: 900;
}

.milestone h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 900;
}

.milestone p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== Promise Tiles ===== */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.promise-tile {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s ease-out;
}

.promise-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.promise-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.promise-icon__svg {
    width: 44px;
    height: 44px;
}

.promise-icon--safety {
    background: linear-gradient(135deg, #FF9A8B, #FF6B6B);
}

.promise-icon--group {
    background: linear-gradient(135deg, #7AC8FF, #4F86FF);
}

.promise-icon--gear {
    background: linear-gradient(135deg, #7DE2D1, #35C9A4);
}

.promise-icon--respect {
    background: linear-gradient(135deg, #C6B4FF, #7F7BFF);
}

.promise-tile h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}

/* ===== Stage Cards ===== */
.stage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.stage-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    border-top: 6px solid var(--blue);
    transition: all 0.2s ease-out;
}

.stage-card:nth-child(2) {
    border-top-color: var(--green);
}

.stage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.stage-card h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

/* ===== Soft Accent Section ===== */
.lilac-bg {
    --section-background: #FFF4D0;
    position: relative;
}

/* ===== Final CTA ===== */

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #202020, #2b2b2b);
    padding: 96px 0 60px;
    color: var(--white);
}

.footer__layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 96px);
    flex-wrap: wrap;
}

.footer__brand {
    flex: 0 0 320px;
    max-width: 360px;
}

.footer-cta {
    max-width: 880px;
    margin: 0 auto 48px;
    padding: 48px;
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(135deg, rgba(255, 244, 208, 0.95), rgba(255, 250, 235, 0.95));
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
    color: var(--ink);
}

.footer-cta h2 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.footer-cta p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 28px;
}

.footer-cta__button {
    margin-bottom: 16px;
    font-size: 1.05rem;
    padding: 16px 40px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.2);
    animation: footerCtaPulse 3.2s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.footer-message {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.9;
}

.footer-message span {
    color: var(--yellow);
}

.footer__nav {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px 48px;
    min-width: 240px;
}

.footer__nav-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav-group--collapsible {
    width: 100%;
}

.footer__nav-group--collapsible .footer__nav-list {
    margin-top: 12px;
}

.footer__nav-toggle {
    display: none;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 18px;
    margin: 0;
    text-align: left;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 16px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer__nav-toggle:hover,
.footer__nav-toggle:focus-visible {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
    outline: none;
}

.footer__nav-toggle-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
}

.footer__nav-toggle-icon::before,
.footer__nav-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer__nav-toggle-icon::after {
    transform: rotate(90deg);
}

.footer__nav-group--collapsible.is-open .footer__nav-toggle-icon::after {
    transform: rotate(0deg);
    opacity: 0;
}

.footer__nav-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
}

.footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer__nav-list a:hover,
.footer__nav-list a:focus-visible {
    color: var(--blue);
}

.footer__nav-list a[href*="lin.ee"]:hover,
.footer__nav-list a[href*="lin.ee"]:focus-visible {
    color: var(--green);
}

.footer__nav-list a[href*="zeal-b.com"]:hover,
.footer__nav-list a[href*="zeal-b.com"]:focus-visible {
    color: var(--purple);
}

.footer__nav-list--locations li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__location-name {
    font-weight: 600;
}

.footer__nav-list--locations a {
    color: var(--teal);
    text-decoration: underline;
    font-weight: 600;
}

.footer__nav-list--locations a:hover,
.footer__nav-list--locations a:focus-visible {
    color: var(--blue);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

/* ===== Sticky CTA ===== */
.sticky-cta {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual__item {
        transition: none !important;
        transform: translate3d(0, 0, 0) !important;
        --hero-parallax-x: 0px !important;
        --hero-parallax-y: 0px !important;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .sticky-cta {
        transition: none !important;
    }

    .nav-toggle__icon span {
        transition: none !important;
    }

    .js-enabled .header-nav {
        transition: none !important;
    }

    .header--cta-visible .header-cta {
        animation: none !important;
    }

    @supports ((-webkit-background-clip: text) or (background-clip: text)) {
        .eyebrow {
            animation: none;
            background-position: 50% 50%;
        }
    }
}

@media (min-width: 969px) {
    .js-enabled .header-nav {
        display: none;
    }

    .js-enabled .header--nav-open .header-nav {
        display: flex;
    }

    .header--nav-open .nav-toggle {
        margin-left: 16px;
    }

    .coach-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        justify-content: center;
    }

    .coach-card {
        width: min(100%, 480px);
        margin-inline: auto;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .hero-actions .btn-pill {
        min-width: 0;
    }
}

@media (min-width: 481px) and (max-width: 968px) {
    .coach-grid {
        justify-items: center;
    }

    .coach-card {
        width: min(100%, 420px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    body {
        padding-top: 0;
    }

    body.header-is-visible {
        padding-top: calc(68px + env(safe-area-inset-top));
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
        padding: 12px 20px;
        margin: 0 auto;
        max-width: none;
    }

    .logo-brand {
        flex: 0 0 auto;
    }

    .nav-toggle {
        order: 2;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .header-nav {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-left: 0;
    }

    .js-enabled .header-nav {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        padding: 0;
        border-top: 0;
        transition: max-height 0.3s var(--ease-glide), opacity 0.3s ease;
    }

    .js-enabled .header--nav-open .header-nav {
        max-height: 360px;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        padding: 12px 0 4px;
        border-top: 1px solid rgba(59, 130, 246, 0.15);
    }

    .header-nav a {
        width: 100%;
        padding: 8px 0;
        font-size: 0.95rem;
        text-align: left;
    }

    .header-cta {
        width: auto;
        order: 2;
        margin-left: 12px;
        margin-right: 12px;
        justify-content: center;
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    #program-overview .program-overview__layout {
        gap: 28px;
    }

    #program-overview .program-overview__mobile-card {
        display: block;
        margin: 0 auto 24px;
        max-width: 420px;
        border-radius: calc(var(--radius) + 4px);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    #program-overview .program-overview__visual {
        display: none;
        box-shadow: none;
    }

    #program-overview .program-overview__mobile-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    #why-boxing .why-boxing__mobile-card {
        display: block;
        margin: 0 auto 24px;
        max-width: 420px;
        border-radius: calc(var(--radius) + 4px);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    #why-boxing .why-boxing__layout {
        gap: 28px;
    }

    #why-boxing .why-boxing__mobile-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    #why-boxing .why-boxing__visual {
        display: none;
        box-shadow: none;
    }

    #body-skills .body-skills__mobile-card {
        display: block;
        margin: 0 auto 24px;
        max-width: 420px;
        border-radius: calc(var(--radius) + 4px);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    #body-skills .body-skills__mobile-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    #body-skills .body-skills__layout {
        gap: 28px;
    }

    #body-skills .body-skills__visual {
        display: none;
        box-shadow: none;
    }

    #class-flow .class-flow__mobile-card {
        display: block;
        margin: 0 auto 24px;
        max-width: 420px;
        border-radius: calc(var(--radius) + 4px);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    #class-flow .class-flow__mobile-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    #class-flow .class-flow__layout {
        gap: 28px;
    }

    #class-flow .class-flow__visual {
        display: none;
        box-shadow: none;
    }

    #safety .safety__mobile-card {
        display: block;
        margin: 0 auto 24px;
        max-width: 420px;
        border-radius: calc(var(--radius) + 4px);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    #safety .safety__mobile-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    #safety .safety__layout {
        gap: 28px;
    }

    #safety .safety__visual {
        display: none;
        box-shadow: none;
    }

    .chip--blue {
        background: #f3e7ff;
        color: #7b1fa2;
    }

    #hero .hero-actions .btn-primary {
        display: none;
    }

    .hero {
        padding: 44px 20px 80px;
        background: linear-gradient(135deg, #FF0000 0%, #FF0000 18%, var(--white) 52%, var(--white) 100%);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 40px;
    }

    .hero-text {
        margin: 0 auto;
        max-width: 520px;
    }

    .hero-visual {
        order: -1;
        width: clamp(280px, 70vw, 520px);
        aspect-ratio: 16 / 11;
        max-height: min(60vh, 520px);
        min-height: 280px;
        margin-inline: auto;
        --hero-secondary-width: clamp(180px, 58%, 300px);
        --hero-secondary-height: clamp(190px, 66%, 320px);
        --hero-secondary-top: 1%;
        --hero-secondary-right: 0;
    }

    .hero-chips,
    .hero-actions {
        justify-content: center;
        align-items: center;
    }

    .hero-actions {
        align-items: center;
    }

    .info-card-chips {
        justify-content: center;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .rhythm-stepper {
        flex-direction: column;
        gap: 32px;
    }

    .rhythm-stepper::before {
        display: none;
    }

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

    .media-card {
        order: -1;
    }

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

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

    .program-facts__inner {
        margin-top: 32px;
        padding: 32px;
    }

    .program-facts__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer__layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__brand {
        flex: 1 1 auto;
        max-width: none;
    }

    .footer__nav {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 18px;
    }

    .hero {
        padding: 32px 18px 72px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-title--stacked .hero-title__chunk {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        width: min(100%, 520px);
        padding-inline: clamp(12px, 6vw, 24px);
        text-align: center;
    }

    .hero-subheadline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-visual {
        width: clamp(234px, 63vw, 414px);
        aspect-ratio: 4 / 5;
        max-height: 432px;
        min-height: 252px;
        margin-inline: auto;
        --hero-secondary-width: clamp(144px, 58%, 234px);
        --hero-secondary-height: clamp(153px, 63%, 252px);
        --hero-secondary-top: 2%;
        --hero-secondary-right: 0;
    }

    .hero-visual__item.is-secondary {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .media-card {
        padding: 24px;
    }

    .program-facts {
        padding: 0 20px 40px;
    }

    .program-facts__inner {
        padding: 24px;
        margin-top: 28px;
    }

    .program-facts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .footer {
        padding: 80px 24px 48px;
    }

    .footer__layout {
        gap: 40px;
        align-items: center;
    }

    .footer__nav {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__brand {
        text-align: center;
    }

    .footer__nav-list {
        align-items: center;
    }

    .footer__nav-list--locations li {
        text-align: center;
    }

    .footer__nav-group--collapsible .footer__nav-toggle {
        display: flex;
        padding: 8px 0;
    }

    .footer__nav-group--collapsible .footer__nav-label {
        text-transform: none;
        letter-spacing: normal;
        font-size: 1.05rem;
    }

    .footer__nav-group--collapsible .footer__nav-list {
        display: none;
        width: 100%;
    }

    .footer__nav-group--collapsible.is-open .footer__nav-list {
        display: flex;
    }

    .footer-cta {
        padding: 36px 24px;
    }

    .footer-cta h2 {
        font-size: 2rem;
    }

    .footer-cta p {
        font-size: 1rem;
    }

    .footer-message {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 16px;
    }

    .nav-toggle__label {
        font-size: 0.85rem;
    }

    .header-nav a {
        padding: 10px 0;
        font-size: 0.95rem;
    }

    .hero {
        padding: 20px 16px 64px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-description {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
        text-align: center;
    }

    .policies-note__line {
        display: block;
    }

    .policies-note__line + .policies-note__line {
        margin-top: 4px;
    }

    .container {
        padding: 0 20px;
    }

    .btn-pill {
        padding: 10px 24px;
        font-size: 14px;
    }

    .hero-visual {
        width: clamp(198px, 72vw, 342px);
        aspect-ratio: 4 / 5;
        max-height: 396px;
        min-height: 216px;
        margin-inline: auto;
        --hero-secondary-width: clamp(135px, 61%, 198px);
        --hero-secondary-height: clamp(144px, 63%, 216px);
        --hero-secondary-top: 4%;
        --hero-secondary-right: 0;
    }

    .hero-actions .btn-pill {
        min-width: 0;
        width: auto;
        max-width: 100%;
        text-align: center;
        align-self: center;
    }

    .program-facts__inner {
        padding: 20px;
        margin-top: 20px;
    }

    .program-facts__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .program-facts__value {
        font-size: 0.9rem;
    }

    .footer__nav-list {
        gap: 8px;
    }

    .footer__nav-list--locations li {
        font-size: 0.9rem;
        align-items: center;
    }

    .footer-cta {
        padding: 28px 20px;
    }

    .footer-cta__button {
        width: 100%;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.96);
    filter: blur(10px);
    transition-property: opacity, transform, filter;
    transition-duration: 0.7s;
    transition-timing-function: var(--ease-spring);
    will-change: opacity, transform, filter;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.fade-in-delay-1 { transition-delay: 0.15s; }
.fade-in-delay-2 { transition-delay: 0.3s; }
.fade-in-delay-3 { transition-delay: 0.45s; }

/* ===== Mobile Portrait Footer Toggle Redesign ===== */
@media (max-width: 768px) and (orientation: portrait) {
    /* Elevated, professional toggle surface */
    .footer__nav-group--collapsible .footer__nav-toggle {
        display: flex;
        width: min(100%, 360px);
        margin-left: auto;
        margin-right: auto;
        padding: 11px 14px 11px 34px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        background: rgba(18, 18, 18, 0.55);
        color: #fff;
        font-weight: 600;
        gap: 14px;
        align-items: center;
        justify-content: space-between;
        position: relative;
        transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        -webkit-tap-highlight-color: transparent;
        --footer-toggle-accent: linear-gradient(135deg, #f97316, #facc15);
    }

    .footer__nav-group--collapsible .footer__nav-toggle::before {
        content: '';
        position: absolute;
        top: calc(50% - 5px);
        left: 16px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--footer-toggle-accent);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
    }

    .footer__nav-group--collapsible .footer__nav-toggle::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
        pointer-events: none;
    }

    .footer__nav-group--collapsible .footer__nav-toggle:hover,
    .footer__nav-group--collapsible .footer__nav-toggle:focus-visible {
        border-color: rgba(255, 255, 255, 0.36);
        background: rgba(24, 24, 24, 0.75);
        box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        outline: none;
    }

    .footer__nav-group--collapsible.is-open .footer__nav-toggle {
        border-color: rgba(255, 255, 255, 0.42);
        background: rgba(30, 30, 30, 0.85);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .footer__nav-group--collapsible .footer__nav-label {
        text-transform: none;
        letter-spacing: 0;
        font-size: 1.05rem;
        font-weight: 700;
        color: inherit;
    }

    .footer__nav-toggle[aria-controls="footerLocations"] {
        --footer-toggle-accent: linear-gradient(135deg, #fd7e14, #ffd54f);
    }

    .footer__nav-toggle[aria-controls="footerPolicies"] {
        --footer-toggle-accent: linear-gradient(135deg, #38bdf8, #6366f1);
    }

    /* Chevron indicator */
    .footer__nav-group--collapsible .footer__nav-toggle-icon::before,
    .footer__nav-group--collapsible .footer__nav-toggle-icon::after {
        display: none;
    }

    .footer__nav-group--collapsible .footer__nav-toggle-icon {
        width: 12px;
        height: 12px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(-45deg);
        transition: transform 0.25s var(--ease-glide);
    }

    .footer__nav-group--collapsible.is-open .footer__nav-toggle-icon {
        transform: rotate(135deg);
    }

    /* Smooth accordion animation for the list */
    .footer__nav-group--collapsible .footer__nav-list {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-4px);
        transition: max-height 0.28s var(--ease-glide), opacity 0.2s ease, transform 0.28s var(--ease-glide);
        will-change: max-height, opacity, transform;
    }

    .footer__nav-group--collapsible.is-open .footer__nav-list {
        max-height: 640px; /* comfortably fits future items */
        opacity: 1;
        transform: translateY(0);
    }
}
