/* ==========================================================================
   English Fight Kids — LP v3 (preview, Nov 2026)
   One stylesheet, mobile first. Same class names as the live page, so
   js/main.js (tracking, hero rotator, carousel, header) works unchanged.
   ========================================================================== */

/* ===== Tokens ===== */
:root {
    --grape-950: #1A0B2B;
    --grape-900: #24103A;
    --grape-800: #33124F;
    --grape-700: #4A1670;
    --purple: #7B1FA2;
    --purple-400: #A24BD0;
    --lilac-50: #FBF7FF;
    --lilac-100: #F4ECFF;
    --lilac-200: #E7D6FF;
    --orange: #F4581C;
    --orange-deep: #D93A0B;
    --orange-shadow: #A42B05;
    --orange-100: #FFEBDD;
    --sun: #FFC933;
    --sun-100: #FFF4CF;
    --mint: #17B890;
    --sky: #2F95F5;
    --pink: #FF5E8E;
    --cream: #FFF9F0;
    --paper: #FFFFFF;
    --ink: #24103A;
    --ink-soft: #594C6C;
    --ink-mute: #7A6F8C;
    --hairline: rgba(36, 16, 58, 0.10);
    --line: #06C755;
    --line-deep: #05A546;
    --line-text: #04803A;

    /* names the store and column stylesheets also use */
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius: 20px;
    --radius-sm: 12px;
    --mint-deep: #0B7F62;
    --mint-100: #DDF7EE;
    --sky-100: #E1F0FF;
    --pink-100: #FFE3EC;
    --line-shadow: #047A34;
    --shadow-pop: 6px 6px 0 var(--grape-900);
    --band-dark:
        radial-gradient(70% 55% at 0% 0%, rgba(162, 75, 208, 0.38), transparent 70%),
        radial-gradient(55% 50% at 100% 100%, rgba(244, 88, 28, 0.2), transparent 70%),
        var(--grape-900);

    --r-xl: 36px;
    --r-lg: 28px;
    --r: 20px;
    --r-sm: 12px;

    --shadow-sm: 0 1px 2px rgba(36, 16, 58, 0.05), 0 6px 18px rgba(36, 16, 58, 0.06);
    --shadow-md: 0 2px 6px rgba(36, 16, 58, 0.06), 0 18px 40px rgba(36, 16, 58, 0.11);
    --shadow-lg: 0 8px 18px rgba(36, 16, 58, 0.08), 0 36px 70px rgba(36, 16, 58, 0.18);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --font-head: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;
    --font-pop: 'Fredoka', 'Zen Maru Gothic', sans-serif;

    --header-h: 56px;
    --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
    --section-y: clamp(64px, 10vw, 128px);
    --arc: clamp(20px, 4.4vw, 56px);
}

@media (min-width: 1024px) {
    :root {
        --header-h: 64px;
        --gutter: max(32px, env(safe-area-inset-left), env(safe-area-inset-right));
    }
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 28px);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.85;
    font-feature-settings: 'palt';
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* <picture> is only a source switch: its <img> sizes against the real parent */
picture {
    display: contents;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
blockquote,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--purple-400);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Phrase-aware line breaks: index.html carries <wbr> at phrase boundaries, so
   keep-all breaks only there (same result in iOS Safari, in-app WebViews, Chrome). */
:where(h1, h2, h3, h4, .btn, .chip, .hero-subheadline, .hero-social-proof__label,
    .section-intro, .lead-quote, .punchline, .problem-resolution, .cta-note, .stage-note,
    .coach-meta, .message-from-coaches p, .concern-list dt, .concern-list dd, .promise-tile p,
    .testimonial-author, .month-card p, .step-card p, .pricing-card__note,
    .pricing-card__features li, .social-proof-nudge p, .hero-urgency-text, .video-chip,
    .footer-message, .sticky-cta-bar__text, .map-link, .rhythm-step p, .problem-card p) {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

p {
    text-wrap: pretty;
}

::selection {
    background: var(--sun);
    color: var(--grape-900);
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ===== Scroll progress ===== */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 120;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--orange) 60%, var(--sun));
    transform: scaleX(var(--scroll, 0));
    transform-origin: 0 50%;
}

/* ===== Buttons ===== */
.btn {
    --btn-h: 56px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--btn-h);
    padding: 10px 26px;
    border-radius: 999px;
    border: 2px solid var(--purple);
    background: var(--paper);
    color: var(--purple);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s;
    -webkit-tap-highlight-color: transparent;
}

.btn svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.btn__arrow {
    transition: transform 0.3s var(--ease-spring);
}

.btn:hover .btn__arrow {
    transform: translateX(5px);
}

.btn:active {
    transform: translateY(2px) scale(0.985);
}

/* primary: warm, pressable */
.btn--cta {
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, #FF7A3D 0%, var(--orange) 46%, var(--orange-deep) 100%);
    box-shadow: 0 4px 0 var(--orange-shadow), 0 14px 26px rgba(217, 58, 11, 0.32);
    overflow: hidden;
    isolation: isolate;
}

.btn--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
    transform: translateX(-120%);
    animation: btn-shine 5.2s var(--ease-out) infinite;
}

@keyframes btn-shine {
    0%,
    62% {
        transform: translateX(-120%);
    }

    84%,
    100% {
        transform: translateX(120%);
    }
}

.btn--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--orange-shadow), 0 20px 34px rgba(217, 58, 11, 0.36);
}

.btn--cta:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--orange-shadow), 0 6px 12px rgba(217, 58, 11, 0.3);
}

/* LINE: white with the brand green as frame and icon (dark green text for contrast) */
.btn--line {
    border: 2px solid var(--line);
    background: var(--paper);
    color: var(--line-text);
    box-shadow: 0 4px 0 rgba(5, 165, 70, 0.18);
}

.btn--line .btn__icon {
    width: 26px;
    height: 26px;
    color: var(--line);
}

.btn--line:hover {
    transform: translateY(-2px);
    background: #F3FFF8;
    box-shadow: 0 6px 0 rgba(5, 165, 70, 0.22);
}

.btn__label {
    display: grid;
    line-height: 1.35;
}

.btn__label span:first-child {
    font-size: 12px;
    opacity: 0.85;
}

.cta-pair {
    display: grid;
    gap: 14px;
    justify-content: center;
    margin-top: clamp(28px, 5vw, 44px);
}

.cta-pair .btn {
    width: 100%;
    max-width: 420px;
}

@media (min-width: 640px) {
    .cta-pair {
        display: flex;
        flex-wrap: wrap;
    }

    .cta-pair .btn {
        width: auto;
        min-width: 250px;
        max-width: none;
    }

    .cta-pair--start {
        justify-content: flex-start;
    }
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink-mute);
    text-align: center;
}

.split .cta-note {
    text-align: left;
}

.cta-note a {
    color: var(--line-text);
    font-weight: 700;
}

/* ===== Header: a floating glass pill that appears after the first scroll ===== */
.header {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1240px;
    height: var(--header-h);
    margin-inline: auto;
    padding: 0 8px 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 0 rgba(36, 16, 58, 0.04), 0 14px 34px rgba(36, 16, 58, 0.14);
    transition: transform 0.45s var(--ease-out), opacity 0.3s;
}

.js-enabled .header:not(.header--visible) {
    transform: translateY(-160%);
    opacity: 0;
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.logo-image {
    width: auto;
    height: 30px;
}

.nav-toggle {
    order: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin-left: auto;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--grape-900);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
}

.nav-toggle__icon {
    display: grid;
    gap: 4px;
    width: 16px;
}

.nav-toggle__icon span {
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.header--nav-open .nav-toggle__icon span:nth-child(1) {
    transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.header-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 14px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: 50% 0;
    transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0.25s;
}

.header--nav-open .header-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.header-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 14px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 17px;
    text-decoration: none;
    color: var(--ink);
}

.header-nav a::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2.5px solid var(--orange);
    border-right: 2.5px solid var(--orange);
    transform: rotate(45deg);
}

.header-nav a:hover,
.header-nav a:focus-visible {
    background: var(--lilac-100);
}

.header-nav .link-button-distinct {
    margin-top: 6px;
    background: var(--lilac-100);
    color: var(--purple);
    font-size: 14px;
}

.header-nav .link-button-distinct::after {
    display: none;
}

.header-cta {
    display: none;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(26, 11, 43, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 769px) {
    .header-cta {
        order: 2;
        display: inline-flex;
        --btn-h: 44px;
        margin-left: auto;
        padding: 6px 20px;
        font-size: 14px;
        box-shadow: 0 3px 0 var(--orange-shadow);
    }

    .nav-toggle {
        margin-left: 0;
    }
}

@media (min-width: 1100px) {
    .header {
        padding-left: 24px;
    }

    .nav-toggle {
        display: none;
    }

    .header-nav {
        position: static;
        display: flex;
        gap: 2px;
        margin-left: auto;
        padding: 0;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .header-nav a {
        position: relative;
        padding: 8px 13px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 700;
        transition: background-color 0.2s, color 0.2s;
    }

    .header-nav a::after {
        display: none;
    }

    .header-nav a.is-current {
        background: var(--grape-900);
        color: #fff;
    }

    .header-nav .link-button-distinct {
        margin: 0 4px 0 6px;
        background: none;
        box-shadow: inset 0 0 0 1.5px var(--lilac-200);
        font-size: 13px;
    }

    .header-cta {
        margin-left: 6px;
    }
}

/* ===== Sticky booking dock ===== */
.sticky-cta-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 95;
    transform: translateY(160%);
    transition: transform 0.5s var(--ease-out);
    pointer-events: none;
}

.sticky-cta-bar.visible,
.nav-open .sticky-cta-bar {
    transform: none;
    pointer-events: auto;
}

.sticky-cta-bar__content {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 520px;
    margin-inline: auto;
    padding: 7px;
    border-radius: 999px;
    background: rgba(36, 16, 58, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(26, 11, 43, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sticky-cta-bar__text {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 12px;
    color: var(--sun);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 12px;
    line-height: 1.35;
}

.sticky-cta-bar .btn {
    --btn-h: 46px;
    flex: none;
    padding: 6px 18px;
    font-size: 14.5px;
    box-shadow: none;
}

.sticky-cta-bar__btn-line {
    gap: 6px;
    padding-inline: 14px !important;
    border-color: transparent;
    font-family: var(--font-pop);
}

@media (max-width: 359px) {
    .sticky-cta-bar__text {
        display: none;
    }

    .sticky-cta-bar .btn--cta {
        flex: 1 1 auto;
    }
}

/* Tablet/desktop: the header carries booking, so only a LINE pill floats */
@media (min-width: 769px) {
    .sticky-cta-bar {
        left: auto;
        right: 22px;
        bottom: 22px;
    }

    .sticky-cta-bar__content {
        padding: 6px;
    }

    .sticky-cta-bar__text,
    .sticky-cta-bar__btn {
        display: none;
    }
}

/* ===== Reveal on scroll (hidden state exists only once main.js sets .reveal-ready) ===== */
.reveal-ready .fade-in,
.reveal-ready .stagger > * {
    opacity: 0;
    transform: translateY(26px);
}

.reveal-ready .fade-in.is-visible,
.reveal-ready .stagger.is-visible > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
}

/* photos open like a shutter */
.reveal-ready .split__visual.fade-in {
    transform: none;
}

.reveal-ready .split__visual.fade-in .photo-frame {
    clip-path: inset(0 0 100% 0 round 28px);
}

.reveal-ready .split__visual.fade-in.is-visible .photo-frame {
    clip-path: inset(0 0 0 0 round 28px);
    transition: clip-path 1.1s var(--ease-out);
}

/* ===== Section scaffolding ===== */
.section {
    position: relative;
    padding-block: var(--section-y);
    background: var(--bg-top, transparent);
}

/* a soft dome instead of a straight edge where a chapter begins */
.video-section,
.section-testimonials,
#english-everywhere,
#problem,
#safety,
#schedule,
.footer {
    position: relative;
}

.section-testimonials::before,
#english-everywhere::before,
#problem::before,
#safety::before,
#schedule::before,
.footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - 1px);
    height: var(--arc);
    background: var(--bg-top);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
}

/* the chapter before a dome leaves room for it */
.video-section,
#why-boxing,
.section-testimonials,
#body-skills,
#english-everywhere,
.section--policies {
    padding-bottom: calc(var(--section-y) + var(--arc));
}

.section-header {
    max-width: 780px;
    margin: 0 auto clamp(28px, 5vw, 52px);
    text-align: center;
}

.section-header--left {
    margin-inline: 0;
    text-align: left;
}

/* English eyebrow with the logo's two bars */
.section-header[data-en]::before {
    content: attr(data-en);
    display: inline-block;
    margin-bottom: 14px;
    padding-left: 34px;
    background:
        linear-gradient(var(--purple), var(--purple)) 0 calc(50% - 4px) / 24px 4px no-repeat,
        linear-gradient(var(--orange), var(--orange)) 0 calc(50% + 4px) / 24px 4px no-repeat;
    color: var(--orange);
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(27px, 6.9vw, 46px);
    line-height: 1.32;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.section-intro {
    margin-top: 18px;
    font-size: clamp(16px, 1.5vw, 17px);
    line-height: 2;
    color: var(--ink-soft);
}

.grid {
    display: grid;
    gap: 14px;
}

@media (min-width: 768px) {
    .grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* ===== Split layout (photo + content) ===== */
.split {
    display: grid;
    gap: clamp(28px, 6vw, 44px);
}

.split__visual {
    position: relative;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
}

.split__visual::before {
    content: '';
    position: absolute;
    inset: 14px -8px -12px 14px;
    border-radius: 28px 28px 28px 96px;
    background: var(--purple);
    background-image: repeating-linear-gradient(0deg, transparent 0 26px, rgba(255, 255, 255, 0.16) 26px 30px);
}

.split__visual--alt::before {
    inset: 14px 14px -12px -8px;
    border-radius: 28px 28px 96px 28px;
    background-color: var(--sun);
    background-image: repeating-linear-gradient(0deg, transparent 0 26px, rgba(36, 16, 58, 0.1) 26px 30px);
}

.photo-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 28px 28px 28px 96px;
    background: var(--lilac-100);
    box-shadow: var(--shadow-md);
}

.split__visual--alt .photo-frame {
    border-radius: 28px 28px 96px 28px;
}

.photo-frame picture,
.photo-frame img {
    width: 100%;
    height: 100%;
}

.photo-frame img {
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
    transform: scale(1.04);
}

/* gentle parallax where the browser supports scroll-driven animation */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .photo-frame img {
            animation: photo-drift linear both;
            animation-timeline: view();
            animation-range: entry 0% exit 100%;
        }

        @keyframes photo-drift {
            from {
                transform: scale(1.08) translateY(-3%);
            }

            to {
                transform: scale(1.08) translateY(3%);
            }
        }
    }
}

.deco-dot {
    position: absolute;
    z-index: 2;
    top: -18px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: var(--shadow-md);
    animation: bob 5s ease-in-out infinite;
}

.split__visual--alt .deco-dot {
    right: auto;
    left: 6px;
}

.deco-dot svg {
    width: 46px;
    height: 46px;
}

@keyframes bob {
    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-8px) rotate(4deg);
    }
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(48px, 6vw, 88px);
        align-items: start;
    }

    .split--reverse {
        grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    }

    .split--reverse .split__visual {
        order: 2;
    }

    .split__visual {
        position: sticky;
        top: calc(var(--header-h) + 44px);
        max-width: none;
    }

    .photo-frame {
        aspect-ratio: 1 / 1;
        max-height: calc(100vh - 190px);
    }

    /* show the child, not only the props */
    #why-boxing .photo-frame img {
        object-position: 82% 50%;
    }
}

/* ===== Cards ===== */
.card {
    position: relative;
    padding: 22px;
    border-radius: var(--r);
    background: var(--paper);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
}

.card h3 {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 18.5px;
    line-height: 1.5;
}

.card p,
.card li {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--ink-soft);
}

.card h3 + p,
.card h3 + ul {
    margin-top: 8px;
}

.card--lift {
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}

@media (hover: hover) {
    .card--lift:hover {
        transform: translateY(-5px);
        border-color: var(--lilac-200);
        box-shadow: var(--shadow-md);
    }
}

.card-icon {
    display: block;
    flex: none;
    width: 52px;
    height: 52px;
}

.card-icon .icon {
    width: 100%;
    height: 100%;
}

/* ===== Social proof ribbon (sits on the seam of the next chapter) ===== */
.social-proof-nudge {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    height: 46px;
    margin-top: calc((var(--arc) + 23px) * -1);
    margin-bottom: calc(var(--arc) - 23px);
    padding-inline: 16px;
}

.social-proof-nudge p {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 22px;
    border-radius: 999px;
    background: var(--sun);
    color: var(--grape-900);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(12px, 3.3vw, 16px);
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 4px 0 #E0A800, 0 14px 28px rgba(26, 11, 43, 0.28);
    transform: rotate(-1.5deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 10px 0 calc(56px + var(--arc));
    background:
        radial-gradient(120% 60% at 0% 38%, rgba(231, 214, 255, 0.75) 0%, transparent 60%),
        radial-gradient(90% 50% at 100% 0%, rgba(255, 216, 190, 0.7) 0%, transparent 62%),
        var(--cream);
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    display: block;
}

.hero-shape--ring {
    width: 150px;
    height: 150px;
    left: -60px;
    top: 56%;
    border-radius: 50%;
    border: 22px solid rgba(123, 31, 162, 0.10);
}

.hero-shape--star {
    width: 34px;
    height: 34px;
    right: 7%;
    top: 62%;
    background: var(--sun);
    clip-path: polygon(50% 0, 61% 36%, 98% 36%, 68% 58%, 79% 94%, 50% 72%, 21% 94%, 32% 58%, 2% 36%, 39% 36%);
    animation: twinkle 4.5s ease-in-out infinite;
}

.hero-shape--pill {
    width: 92px;
    height: 26px;
    right: -30px;
    bottom: 110px;
    border-radius: 999px;
    background: rgba(244, 88, 28, 0.16);
    transform: rotate(-24deg);
}

@keyframes twinkle {
    0%,
    100% {
        transform: scale(1) rotate(0);
    }

    50% {
        transform: scale(1.25) rotate(18deg);
    }
}

.hero-content {
    position: relative;
    display: grid;
    gap: 26px;
    max-width: 1240px;
    margin-inline: auto;
}

/* --- photo stack --- */
.hero-visual {
    position: relative;
    height: clamp(250px, 72vw, 420px);
    margin-inline: 10px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 16px -4px -10px 12px;
    border-radius: 32px 32px 32px 110px;
    background: var(--purple);
    background-image: repeating-linear-gradient(0deg, transparent 0 26px, rgba(255, 255, 255, 0.16) 26px 30px);
}

.hero-visual__item {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 32px 32px 32px 110px;
    opacity: 0;
    transition: opacity 1.1s ease;
    background: var(--lilac-100);
}

.hero-visual__item.is-primary {
    opacity: 1;
    z-index: 1;
}

.hero-visual__item picture,
.hero-visual__image {
    width: 100%;
    height: 100%;
}

.hero-visual__image {
    object-fit: cover;
    object-position: 50% 30%;
    transform: scale(1.02) translate3d(var(--hero-parallax-x, 0), var(--hero-parallax-y, 0), 0);
}

.hero-visual__item.is-primary .hero-visual__image {
    animation: hero-zoom 7s var(--ease-out) both;
}

@keyframes hero-zoom {
    from {
        scale: 1.12;
    }

    to {
        scale: 1;
    }
}

.hero.is-offscreen *,
.hero.is-offscreen *::before {
    animation-play-state: paused !important;
}

/* speech bubble that cycles through the lesson's phrases */
.hero-shout {
    position: absolute;
    z-index: 3;
    top: 16px;
    left: 14px;
    display: grid;
    padding: 7px 16px 8px;
    border-radius: 18px 18px 18px 4px;
    background: var(--paper);
    color: var(--grape-900);
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    box-shadow: 0 8px 22px rgba(26, 11, 43, 0.25);
    transform: rotate(-4deg);
}

.hero-shout span {
    grid-area: 1 / 1;
    text-align: center;
    opacity: 0;
    animation: shout 12s infinite;
}

.hero-shout span:nth-child(2) {
    animation-delay: 3s;
}

.hero-shout span:nth-child(3) {
    animation-delay: 6s;
}

.hero-shout span:nth-child(4) {
    animation-delay: 9s;
}

@keyframes shout {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    3%,
    22% {
        opacity: 1;
        transform: scale(1);
    }

    25%,
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

.hero-visual__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 14px;
    display: flex;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(26, 11, 43, 0.42);
    transform: translateX(-50%);
}

.hero-visual__dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.4s var(--ease-out), background-color 0.3s;
}

.hero-visual__dots span.is-active {
    width: 24px;
    background: #fff;
}

.hero-visual__next {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--grape-900);
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(26, 11, 43, 0.22);
    transition: transform 0.3s var(--ease-spring);
}

.hero-visual__next:hover {
    transform: scale(1.12);
}

/* smiling sticker: a friendly face that blinks, inside slow-turning text */
.hero-stamp {
    position: absolute;
    z-index: 4;
    right: 2px;
    bottom: -34px;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 24%, #FFE98F, var(--sun) 55%, #FFB21F);
    color: var(--grape-900);
    box-shadow: 0 0 0 5px #fff, 0 14px 24px rgba(26, 11, 43, 0.3);
    transition: transform 0.5s var(--ease-spring);
}

.hero-stamp:hover {
    transform: rotate(-10deg) scale(1.06);
}

.hero-stamp__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 24s linear infinite;
}

.hero-stamp__ring text {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 10px;
    fill: currentColor;
}

.hero-stamp__face {
    width: 50%;
    height: 50%;
    animation: stamp-bob 3.2s ease-in-out infinite;
}

.hero-stamp__eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: stamp-blink 4s infinite;
}

@keyframes stamp-blink {
    0%,
    44%,
    50%,
    100% {
        transform: scaleY(1);
    }

    47% {
        transform: scaleY(0.1);
    }
}

@keyframes stamp-bob {
    0%,
    100% {
        transform: rotate(-7deg) translateY(0);
    }

    50% {
        transform: rotate(7deg) translateY(-3px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- copy --- */
.hero-text {
    position: relative;
    padding-inline: var(--gutter);
}

.hero-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(31px, 10.4vw, 46px);
    line-height: 1.22;
    letter-spacing: 0.01em;
}

.hero-title .hl {
    position: relative;
    z-index: 0;
    display: inline-block;
    font-size: 1.42em;
    line-height: 1.15;
    color: var(--purple);
}

/* marker stroke under the key word */
.hero-title .hl::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -0.06em;
    right: 0.14em;
    bottom: 0.06em;
    height: 0.3em;
    border-radius: 0.3em 0.12em 0.3em 0.12em;
    background: var(--sun);
    transform: rotate(-1.4deg) scaleX(0);
    transform-origin: 0 50%;
    animation: marker 0.8s 0.65s var(--ease-out) forwards;
}

@keyframes marker {
    to {
        transform: rotate(-1.4deg) scaleX(1);
    }
}

.hero-subheadline {
    margin-top: 14px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(16.5px, 4.7vw, 23px);
    line-height: 1.6;
}

.hero-subheadline .kw {
    color: var(--orange-deep);
}

.hero-subheadline .num {
    margin-inline: 0.06em;
    font-family: var(--font-pop);
    font-size: 1.5em;
    line-height: 1;
    color: var(--purple);
}

.hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.btn-banner {
    display: block;
    border-radius: 22px;
    filter: drop-shadow(0 10px 18px rgba(217, 58, 11, 0.16));
    transition: transform 0.35s var(--ease-spring);
}

.btn-banner img {
    width: 100%;
}

.btn-banner:hover {
    transform: translateY(-3px) rotate(-0.6deg);
}

.hero-banner-hint {
    width: 100%;
    --btn-h: 60px;
    font-size: 17.5px;
}

.hero-actions .btn--line {
    width: 100%;
}

.hero-urgency-text {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--orange-deep);
    text-align: center;
}

/* --- three numbers --- */
.hero-social-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}

.hero-social-proof__item {
    display: grid;
    grid-template-rows: 14px auto auto;
    justify-items: center;
    align-content: start;
    padding: 12px 6px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.hero-social-proof__stars {
    grid-row: 1;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1px;
    color: #F5A400;
}

.hero-social-proof__value {
    grid-row: 2;
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.15;
    color: var(--purple);
    font-variant-numeric: tabular-nums;
}

.hero-social-proof__label {
    grid-row: 3;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ink-soft);
}

.sp-paren {
    display: block;
    font-size: 9.5px;
    font-weight: 400;
    color: var(--ink-mute);
}

/* --- key facts --- */
.hero-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 20px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink-soft);
}

.chip__icon {
    flex: none;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--purple);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chip.variant-size .chip__text {
    padding-inline: 4px;
    color: var(--grape-900);
    background: linear-gradient(transparent 58%, var(--sun) 58%);
}

.hero-video-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 15.5px;
    color: var(--purple);
    text-decoration: underline;
    text-decoration-color: var(--lilac-200);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.hero-video-link__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding-left: 2px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    box-shadow: 0 0 0 0 rgba(244, 88, 28, 0.5);
    animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 88, 28, 0.5);
    }

    70%,
    100% {
        box-shadow: 0 0 0 12px rgba(244, 88, 28, 0);
    }
}

/* hero entrance */
@media (prefers-reduced-motion: no-preference) {
    .hero-title,
    .hero-subheadline,
    .hero-actions,
    .hero-social-proof,
    .hero-chips-group,
    .hero-video-link {
        animation: rise 0.8s var(--ease-out) both;
    }

    .hero-subheadline {
        animation-delay: 0.1s;
    }

    .hero-actions {
        animation-delay: 0.18s;
    }

    .hero-social-proof {
        animation-delay: 0.26s;
    }

    .hero-chips-group,
    .hero-video-link {
        animation-delay: 0.34s;
    }

    .hero-stamp {
        animation: pop 0.7s 0.5s var(--ease-spring) both;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(0.4) rotate(-40deg);
    }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .hero-content {
        max-width: 640px;
    }

    .hero-visual {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: clamp(36px, 6vh, 72px) 0 calc(72px + var(--arc));
    }

    .hero-content {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        align-items: center;
        gap: clamp(36px, 4.6vw, 80px);
        padding-inline: var(--gutter);
    }

    .hero-text {
        order: 1;
        padding-inline: 0;
    }

    .hero-visual {
        order: 2;
        height: clamp(460px, calc(100vh - 170px), 660px);
        height: clamp(460px, calc(100svh - 170px), 660px);
        margin: 0 14px 0 0;
    }

    .hero-visual::before {
        inset: 22px -14px -16px 18px;
        border-radius: 44px 44px 44px 170px;
    }

    .hero-visual__item {
        border-radius: 44px 44px 44px 170px;
    }

    .hero-title {
        font-size: clamp(46px, 5.1vw, 70px);
    }

    .hero-title .hl {
        font-size: 1.5em;
    }

    .hero-subheadline {
        margin-top: 18px;
    }

    .hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 560px;
        margin-top: 26px;
    }

    .btn-banner {
        grid-column: 1 / -1;
    }

    .hero-urgency-text {
        order: 4;
        grid-column: 1 / -1;
        text-align: left;
    }

    .hero-social-proof {
        max-width: 560px;
        gap: 12px;
    }

    .hero-shout {
        top: 34px;
        left: auto;
        right: 28px;
        padding: 10px 22px 11px;
        border-radius: 22px 22px 4px 22px;
        font-size: 24px;
        transform: rotate(5deg);
    }

    .hero-stamp {
        right: auto;
        left: -52px;
        top: -40px;
        bottom: auto;
        width: 156px;
        height: 156px;
        box-shadow: 0 0 0 6px #fff, 0 18px 30px rgba(26, 11, 43, 0.3);
    }

    .hero-visual__next {
        top: auto;
        bottom: 22px;
        right: 22px;
        width: 48px;
        height: 48px;
    }

    .hero-visual__dots {
        left: auto;
        right: 84px;
        bottom: 36px;
        transform: none;
    }

    .hero-shape--ring {
        width: 260px;
        height: 260px;
        left: -120px;
        top: 60%;
        border-width: 36px;
    }

    .hero-shape--star {
        width: 48px;
        height: 48px;
        right: auto;
        left: 47%;
        top: 9%;
    }
}

/* ===== Shout band: the lesson's phrases, running between hero and video ===== */
.shout-band {
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin: calc((var(--arc) + 66px) * -1) 0 -66px;
    padding-block: 40px;
    pointer-events: none;
}

.shout-band__strip {
    margin-inline: -4vw;
    padding-block: 12px;
    background: var(--sun);
    box-shadow: 0 10px 30px rgba(26, 11, 43, 0.25);
    transform: rotate(-2deg);
}

.shout-band__track {
    display: flex;
    width: max-content;
    animation: band-scroll 36s linear infinite;
}

.shout-band span {
    display: inline-flex;
    align-items: center;
    flex: none;
    color: var(--grape-900);
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: clamp(19px, 3vw, 30px);
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.shout-band span::after {
    content: '';
    width: 0.62em;
    height: 0.62em;
    margin-inline: 0.85em;
    background: var(--orange);
    clip-path: polygon(50% 0, 61% 36%, 98% 36%, 68% 58%, 79% 94%, 50% 72%, 21% 94%, 32% 58%, 2% 36%, 39% 36%);
}

.shout-band span:nth-child(even)::after {
    background: var(--purple);
}

@keyframes band-scroll {
    to {
        transform: translateX(-50%);
    }
}

/* ===== Video ===== */
.video-section {
    --bg-top: var(--grape-900);
    padding: calc(var(--section-y) + 20px) 0 calc(var(--section-y) + var(--arc));
    background:
        radial-gradient(70% 55% at 85% 100%, rgba(244, 88, 28, 0.26) 0%, transparent 60%),
        radial-gradient(70% 50% at 8% 0%, rgba(162, 75, 208, 0.34) 0%, transparent 60%),
        var(--grape-900);
    color: #fff;
}

.video-inner {
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
}

.video-chip {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--sun);
    color: var(--grape-900);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 14px;
    line-height: 1.4;
    transform: rotate(-2deg);
}

.video-heading {
    margin-top: 16px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(25px, 6.4vw, 44px);
    line-height: 1.35;
}

.video-frame {
    position: relative;
    margin-top: clamp(24px, 4vw, 40px);
    padding: clamp(6px, 1.2vw, 12px);
    border-radius: clamp(26px, 4vw, 44px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: clamp(20px, 3.2vw, 34px);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-facade {
    position: absolute;
    inset: 0;
    display: block;
}

.video-facade picture,
.video-facade img {
    width: 100%;
    height: 100%;
}

.video-facade img {
    object-fit: cover;
    transition: transform 0.9s var(--ease-out);
}

.video-facade:hover img {
    transform: scale(1.04);
}

.video-facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 11, 43, 0.45));
}

.video-facade__play {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: clamp(68px, 11vw, 104px);
    height: clamp(68px, 11vw, 104px);
    margin: calc(clamp(68px, 11vw, 104px) / -2) 0 0 calc(clamp(68px, 11vw, 104px) / -2);
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55), 0 14px 30px rgba(0, 0, 0, 0.35);
    animation: play-pulse 2.2s ease-out infinite;
    transition: transform 0.35s var(--ease-spring);
}

.video-facade:hover .video-facade__play {
    transform: scale(1.1);
}

.video-facade__play svg {
    width: 44%;
    height: 44%;
    margin-left: 6%;
}

@keyframes play-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55), 0 14px 30px rgba(0, 0, 0, 0.35);
    }

    75%,
    100% {
        box-shadow: 0 0 0 26px rgba(255, 255, 255, 0), 0 14px 30px rgba(0, 0, 0, 0.35);
    }
}

/* ===== Problem: three worries as chat bubbles, then the answer ===== */
#problem {
    --bg-top: var(--cream);
    padding-bottom: clamp(40px, 6vw, 72px);
}

.problem-grid {
    gap: 16px;
    max-width: 1080px;
    margin-inline: auto;
}

.problem-card {
    position: relative;
    width: min(100%, 440px);
    padding: 18px 20px 18px;
    border-radius: 26px 26px 26px 6px;
    background: var(--paper);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
}

.problem-card:nth-child(even) {
    margin-left: auto;
    border-radius: 26px 26px 6px 26px;
    background: var(--lilac-100);
    border-color: transparent;
}

.problem-card h3 {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 17px;
    line-height: 1.5;
}

.problem-emoji {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--sun-100);
    font-size: 24px;
    line-height: 1;
}

.problem-card:nth-child(even) .problem-emoji {
    background: var(--paper);
}

.problem-card p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink-soft);
}

.problem-arrow {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: clamp(26px, 5vw, 44px) auto 0;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 0 var(--orange-shadow);
    animation: nudge-down 1.8s ease-in-out infinite;
}

.problem-arrow svg {
    width: 26px;
    height: 26px;
}

@keyframes nudge-down {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 8px;
    }
}

.problem-resolution {
    max-width: 860px;
    margin: clamp(22px, 4vw, 36px) auto 0;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(23px, 6.2vw, 42px);
    line-height: 1.6;
    text-align: center;
}

.problem-resolution strong {
    background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-inline: 2px;
}

@media (min-width: 900px) {
    .problem-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        align-items: start;
    }

    .problem-card,
    .problem-card:nth-child(even) {
        width: auto;
        margin: 0;
        padding: 24px;
    }

    .problem-card:nth-child(2) {
        margin-top: 34px;
    }

    .problem-card:nth-child(3) {
        margin-top: 12px;
    }
}

/* ===== Photo band ===== */
.photo-band {
    overflow: hidden;
    padding-block: 18px clamp(8px, 2vw, 24px);
}

.photo-band__track {
    display: flex;
    width: max-content;
    animation: band-scroll 48s linear infinite;
}

.photo-band.is-paused .photo-band__track {
    animation-play-state: paused;
}

.photo-band__set {
    display: flex;
    flex: none;
    gap: 14px;
    padding-right: 14px;
}

.photo-band img {
    flex: none;
    width: clamp(190px, 24vw, 320px);
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.photo-band img:nth-child(odd) {
    margin-top: 16px;
    border-radius: 22px 22px 22px 64px;
}

.photo-band img:nth-child(even) {
    margin-bottom: 16px;
    border-radius: 22px 64px 22px 22px;
}

/* ===== Why (third place) ===== */
#why-boxing {
    --bg-top: var(--cream);
    padding-top: clamp(48px, 7vw, 96px);
}

.lead-quote {
    position: relative;
    margin-top: 22px;
    padding: 14px 18px;
    border-radius: 18px 18px 18px 4px;
    background: var(--lilac-100);
    color: var(--grape-900);
    font-weight: 700;
    line-height: 1.8;
}

.punchline {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(17px, 4.6vw, 21px);
    line-height: 1.75;
    color: var(--purple);
}

.solution-cards {
    gap: 12px;
}

.solution-cards .card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 20px;
}

.solution-cards .card-icon {
    grid-row: 1 / span 2;
}

.solution-cards .card p {
    grid-column: 2;
    margin-top: 6px;
}

/* ===== Testimonials ===== */
.section-testimonials {
    --bg-top: var(--grape-900);
    padding-top: calc(var(--section-y) * 0.8);
    background:
        radial-gradient(60% 40% at 100% 0%, rgba(162, 75, 208, 0.35) 0%, transparent 62%),
        radial-gradient(60% 45% at 0% 100%, rgba(244, 88, 28, 0.2) 0%, transparent 62%),
        var(--grape-900);
    color: #fff;
}

.section-testimonials .section-title,
#english-everywhere .section-title {
    color: #fff;
}

.section-testimonials .section-header[data-en]::before,
#english-everywhere .section-header[data-en]::before,
.video-section .section-header[data-en]::before {
    color: var(--sun);
    background:
        linear-gradient(var(--purple-400), var(--purple-400)) 0 calc(50% - 4px) / 24px 4px no-repeat,
        linear-gradient(var(--orange), var(--orange)) 0 calc(50% + 4px) / 24px 4px no-repeat;
}

.testimonial-grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.testimonial-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    position: relative;
    flex: none;
    display: flex;
    flex-direction: column;
    width: min(82vw, 340px);
    padding: 54px 22px 20px;
    border-radius: var(--r-lg);
    background: var(--paper);
    color: var(--ink);
    scroll-snap-align: start;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 6px;
    left: 18px;
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 76px;
    line-height: 1;
    color: var(--orange);
}

.testimonial-quote {
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--ink-soft);
}

.testimonial-card--feature {
    background: linear-gradient(160deg, var(--sun) 0%, #FFB21F 100%);
}

.testimonial-card--feature::before {
    color: var(--grape-900);
}

.testimonial-card--feature .testimonial-quote {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 18.5px;
    line-height: 1.75;
    color: var(--grape-900);
}

.testimonial-author {
    margin-top: auto;
    padding-top: 16px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ink-mute);
}

.testimonial-card--feature .testimonial-author {
    color: rgba(36, 16, 58, 0.72);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.carousel-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    transition: background-color 0.2s, opacity 0.2s, transform 0.25s var(--ease-spring);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.08);
}

.carousel-btn[aria-disabled="true"] {
    opacity: 0.3;
    transform: none;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-progress {
    width: 110px;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.carousel-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--sun);
    transform: scaleX(var(--carousel, 0.2));
    transform-origin: 0 50%;
    transition: transform 0.3s var(--ease-out);
}

/* desktop: a wall of voices */
@media (min-width: 1024px) {
    .testimonial-grid {
        display: block;
        columns: 3;
        column-gap: 20px;
        margin-inline: 0;
        padding: 0;
        overflow: visible;
    }

    .testimonial-card {
        width: auto;
        margin-bottom: 20px;
        break-inside: avoid;
        transition: transform 0.4s var(--ease-out);
    }

    .testimonial-card:hover {
        transform: translateY(-5px) rotate(-0.6deg);
    }

    .testimonial-card--feature .testimonial-quote {
        font-size: 21px;
    }

    .carousel-controls {
        display: none;
    }
}

/* ===== Safety ===== */
#safety {
    --bg-top: var(--lilac-100);
}

.promise-grid {
    display: grid;
    gap: 10px;
}

.promise-tile {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    padding: 16px 18px;
    border-radius: var(--r);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.promise-icon {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
}

.promise-icon__svg {
    width: 100%;
    height: 100%;
}

.promise-tile h3 {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 16px;
    line-height: 1.5;
}

.promise-tile p {
    grid-column: 2;
    margin-top: 4px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-soft);
}

@media (min-width: 640px) {
    .promise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .promise-tile {
        grid-template-columns: 1fr;
        row-gap: 10px;
        padding: 20px;
    }

    .promise-icon {
        grid-row: auto;
    }

    .promise-tile p {
        grid-column: auto;
        margin-top: 0;
    }
}

/* worries answered as a chat */
.safety-concerns {
    margin-top: 22px;
    padding: 22px 18px 20px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.safety-concerns h3 {
    margin-bottom: 16px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 17px;
    text-align: center;
}

.concern-list {
    display: grid;
    gap: 8px;
}

.concern-list dt,
.concern-list dd {
    width: fit-content;
    max-width: 88%;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 1.7;
}

.concern-list dt {
    border-radius: 18px 18px 18px 4px;
    background: var(--lilac-100);
    font-weight: 700;
}

.concern-list dd {
    margin: 0 0 10px auto;
    border-radius: 18px 18px 4px 18px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--grape-700) 100%);
    color: #fff;
}

/* ===== Coaches ===== */
#coaches {
    --bg-top: var(--cream);
}

.coach-grid {
    display: grid;
    gap: 16px;
    max-width: 940px;
    margin-inline: auto;
}

.coach-card {
    display: grid;
    grid-template-columns: 38% 1fr;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
}

.coach-photo {
    position: relative;
    min-height: 100%;
    background: linear-gradient(180deg, var(--lilac-100), var(--lilac-200));
}

.coach-photo picture,
.coach-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.coach-photo img {
    object-fit: cover;
    object-position: 50% 12%;
    transition: transform 0.8s var(--ease-out);
}

.coach-card:hover .coach-photo img {
    transform: scale(1.05);
}

.coach-body {
    padding: 18px 18px 20px;
}

.coach-body h3 {
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    color: var(--purple);
}

.coach-meta {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--orange-deep);
}

.coach-body p:not(.coach-meta) {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--ink-soft);
}

@media (min-width: 768px) {
    .coach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .coach-card {
        grid-template-columns: 1fr;
        border-radius: var(--r-xl);
    }

    .coach-photo {
        aspect-ratio: 5 / 4;
        min-height: 0;
    }

    .coach-body {
        padding: 24px 26px 28px;
    }

    .coach-body h3 {
        font-size: 38px;
    }

    .coach-meta {
        font-size: 14px;
    }

    .coach-body p:not(.coach-meta) {
        font-size: 16px;
    }
}

.message-from-coaches {
    position: relative;
    max-width: 800px;
    margin: clamp(30px, 5vw, 52px) auto 0;
    padding: clamp(26px, 5vw, 44px) clamp(22px, 5vw, 52px);
    border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 8px;
    background: var(--grape-900);
    color: #fff;
}

.message-from-coaches::before {
    content: '“';
    position: absolute;
    top: -34px;
    left: 22px;
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 96px;
    line-height: 1;
    color: var(--sun);
}

.message-from-coaches p {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(17px, 4.6vw, 25px);
    line-height: 1.85;
}

/* ===== Program overview ===== */
#program-overview {
    --bg-top: var(--paper);
}

.section-intro--bullets {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.7;
}

.section-intro--bullets li,
.pricing-card__features li,
.card ul:not([class]) li {
    position: relative;
    padding-left: 30px;
}

.section-intro--bullets li::before,
.pricing-card__features li::before,
.card ul:not([class]) li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.3 3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.card ul:not([class]) {
    display: grid;
    gap: 8px;
}

.card ul:not([class]) li::before {
    background-color: var(--lilac-200);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.3 3 3 6-6.3' fill='none' stroke='%237B1FA2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.overview-cards {
    gap: 12px;
}

.overview-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.overview-head .card-icon {
    width: 44px;
    height: 44px;
}

@media (min-width: 640px) {
    .overview-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* ===== Class flow: a 60-minute track that fills as you scroll ===== */
#class-flow {
    --bg-top: var(--cream);
}

.rhythm-stepper {
    position: relative;
    counter-reset: step;
    padding-left: 60px;
}

.rhythm-track {
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--lilac-200);
}

.rhythm-track::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--purple), var(--orange) 70%, var(--sun));
    transform: scaleY(var(--flow, 0));
    transform-origin: 50% 0;
}

.rhythm-step {
    position: relative;
    counter-increment: step;
    padding: 2px 0 26px;
}

.rhythm-step:last-of-type {
    padding-bottom: 0;
}

.rhythm-node {
    position: absolute;
    left: -60px;
    top: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--paper);
    border: 3px solid var(--lilac-200);
    color: var(--ink-mute);
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 19px;
    transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.5s var(--ease-spring);
}

.rhythm-node::before {
    content: counter(step);
}

.rhythm-step.is-active .rhythm-node {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(244, 88, 28, 0.35);
}

.rhythm-step h3 {
    padding-top: 6px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 18.5px;
    line-height: 1.5;
}

.rhythm-step p {
    margin-top: 6px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--ink-soft);
}

.rhythm-substep {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--paper);
    border: 1px dashed var(--purple-400);
}

.rhythm-substep h4 {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 16px;
    color: var(--purple);
}

.rhythm-substep p {
    margin-top: 4px;
    font-size: 14.5px;
}

.stage-note {
    margin-top: 28px;
    padding: 14px 18px;
    border-radius: 18px;
    background: var(--sun-100);
    border: 1px solid rgba(255, 201, 51, 0.6);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.8;
    color: var(--grape-900);
}

/* ===== Three benefits ===== */
#body-skills {
    --bg-top: var(--lilac-50);
}

.benefit-cards {
    counter-reset: benefit;
    gap: 12px;
}

.benefit-cards .card {
    counter-increment: benefit;
    padding: 22px 22px 22px 86px;
    min-height: 104px;
}

.benefit-cards .card::before {
    content: '0' counter(benefit);
    position: absolute;
    left: 20px;
    top: 16px;
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 44px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--orange);
}

.benefit-cards .card:nth-child(2)::before {
    -webkit-text-stroke-color: var(--purple);
}

.benefit-cards .card:nth-child(3)::before {
    -webkit-text-stroke-color: #E0A800;
}

/* ===== After 3 months ===== */
#english-everywhere {
    --bg-top: var(--grape-900);
    padding-top: calc(var(--section-y) * 0.8);
    background:
        radial-gradient(60% 45% at 0% 0%, rgba(162, 75, 208, 0.35) 0%, transparent 62%),
        radial-gradient(60% 45% at 100% 100%, rgba(244, 88, 28, 0.22) 0%, transparent 62%),
        var(--grape-900);
    color: #fff;
}

#english-everywhere .section-intro,
#english-everywhere .cta-note {
    color: rgba(255, 255, 255, 0.78);
}

.month-cards {
    gap: 14px;
}

.month-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.month-card h3 {
    align-self: flex-start;
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--sun);
    color: var(--grape-900);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 16px;
    line-height: 1.5;
}

.month-card p {
    margin: 14px 0 18px;
    font-size: 16px;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.92);
}

.month-meter {
    display: block;
    height: 10px;
    margin-top: auto;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.month-meter span {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sun), var(--orange));
    transform-origin: 0 50%;
}

.month-card:nth-child(2) .month-meter span {
    width: 67%;
}

.month-card:nth-child(3) .month-meter span {
    width: 100%;
}

.reveal-ready .month-cards .month-meter span {
    transform: scaleX(0);
}

.reveal-ready .month-cards.is-visible .month-meter span {
    transform: none;
    transition: transform 1.2s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms + 0.45s);
}

.month-card:nth-child(2) {
    --i: 1;
}

.month-card:nth-child(3) {
    --i: 2;
}

@media (min-width: 768px) {
    .month-cards {
        align-items: end;
    }

    .month-card:nth-child(1) {
        min-height: 250px;
    }

    .month-card:nth-child(2) {
        min-height: 290px;
    }

    .month-card:nth-child(3) {
        min-height: 330px;
    }
}

/* ===== Schedule ===== */
#schedule {
    --bg-top: var(--cream);
    padding-bottom: clamp(40px, 6vw, 72px);
}

.schedule-grid {
    max-width: 920px;
    margin-inline: auto;
}

.schedule-card {
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}

.schedule-card h3 {
    padding: 16px 22px;
    background: linear-gradient(135deg, var(--purple), var(--grape-700));
    color: #fff;
    font-size: 19px;
}

.schedule-card:nth-child(2) h3 {
    background: linear-gradient(135deg, #FF7A3D, var(--orange-deep));
}

.timetable {
    display: grid;
    margin: 0;
    padding: 8px 22px 12px;
}

.timetable > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-block: 13px;
}

.timetable > div + div {
    border-top: 1px dashed var(--lilac-200);
}

.timetable dt {
    flex: none;
    min-width: 66px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--lilac-100);
    color: var(--purple);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
}

.schedule-card:nth-child(2) .timetable dt {
    background: var(--orange-100);
    color: var(--orange-deep);
}

.timetable dd {
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.timetable__sep {
    margin-inline: 2px;
    color: var(--ink-mute);
    font-weight: 400;
}

/* ===== Pricing ===== */
#pricing {
    --bg-top: var(--cream);
    padding-top: clamp(40px, 6vw, 72px);
}

.pricing-grid {
    display: grid;
    gap: 26px;
    max-width: 920px;
    margin-inline: auto;
}

.pricing-card {
    position: relative;
    --pad: 24px;
    display: flex;
    flex-direction: column;
    padding: 30px var(--pad) 26px;
    border-radius: var(--r-xl);
    background: var(--paper);
    border: 2px solid var(--lilac-200);
}

.pricing-card__title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 19px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
}

.pricing-card__amount {
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: clamp(46px, 13vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.pricing-card__period {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-mute);
}

.pricing-card__note {
    align-self: flex-start;
    margin-top: 10px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--lilac-100);
    font-size: 14px;
    font-weight: 700;
    color: var(--purple);
}

.pricing-card__features {
    display: grid;
    gap: 10px;
    margin: 22px 0 26px;
    padding-top: 22px;
    border-top: 2px dashed var(--lilac-200);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.7;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* the free trial is a ticket */
.pricing-card--trial {
    border: 0;
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(162, 75, 208, 0.5) 0%, transparent 60%),
        linear-gradient(160deg, var(--grape-800), var(--grape-950));
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--sun);
    color: var(--grape-900);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 13px;
    transform: rotate(-3deg);
}

.pricing-card--trial .pricing-card__amount {
    font-size: clamp(64px, 19vw, 88px);
    color: var(--sun);
    text-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
}

.pricing-card--trial .pricing-card__period {
    color: rgba(255, 255, 255, 0.75);
}

.pricing-card--trial .pricing-card__note {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.pricing-card--trial .pricing-card__note s {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card--trial .pricing-card__features {
    position: relative;
    border-top-color: rgba(255, 255, 255, 0.3);
}

/* ticket notches, cut at the dashed line */
.pricing-card--trial .pricing-card__features::before,
.pricing-card--trial .pricing-card__features::after {
    content: '';
    position: absolute;
    top: -15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cream);
}

.pricing-card--trial .pricing-card__features::before {
    left: calc(var(--pad) * -1 - 14px);
}

.pricing-card--trial .pricing-card__features::after {
    right: calc(var(--pad) * -1 - 14px);
}

.pricing-card--trial .pricing-card__features li::before {
    background-color: var(--orange);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .pricing-card {
        --pad: 34px;
        padding: 36px var(--pad) 32px;
    }
}

/* ===== How to start ===== */
#how-to-start {
    --bg-top: var(--cream);
    padding-top: 0;
}

#how-to-start .container {
    width: calc(100% - 20px);
    max-width: 1100px;
    padding: clamp(36px, 6vw, 64px) clamp(18px, 4vw, 56px) clamp(32px, 5vw, 56px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(60% 60% at 100% 0%, rgba(255, 201, 51, 0.5) 0%, transparent 60%),
        var(--sun-100);
}

.steps {
    display: grid;
    gap: 34px;
    counter-reset: start;
}

.step-card {
    position: relative;
    padding: 30px 20px 20px;
    border-radius: var(--r);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.step-card h3 {
    position: absolute;
    top: -17px;
    left: 50%;
    padding: 5px 18px;
    border-radius: 999px;
    background: var(--grape-900);
    color: var(--sun);
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap;
    transform: translateX(-50%);
}

.step-card p {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 16.5px;
    line-height: 1.65;
}

/* dotted connector between steps */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0;
    height: 17px;
    border-left: 3px dotted var(--orange);
}

.big-cta {
    display: grid;
    justify-items: center;
    margin-top: clamp(26px, 4vw, 40px);
}

.big-cta .btn {
    --btn-h: 66px;
    width: 100%;
    max-width: 460px;
    font-size: 19px;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }

    .step-card {
        padding: 36px 22px 26px;
    }

    .step-card:not(:last-child)::after {
        left: 100%;
        top: 50%;
        width: 30px;
        height: 0;
        border-left: 0;
        border-top: 3px dotted var(--orange);
    }
}

/* ===== Access ===== */
#access {
    --bg-top: var(--cream);
}

.access-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--r-lg);
}

.access-card h3 {
    position: relative;
    padding-left: 34px;
}

.access-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 26px;
    height: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F4581C'%3E%3Cpath d='M12 2a8 8 0 0 0-8 8c0 5 5.5 10.2 7.4 11.8a1 1 0 0 0 1.2 0C14.5 20.2 20 15 20 10a8 8 0 0 0-8-8Z'/%3E%3Ccircle cx='12' cy='10' r='3' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}

.access-card--contact h3 {
    padding-left: 0;
}

.access-card--contact h3::before {
    display: none;
}

.access-card p a {
    color: var(--purple);
    font-weight: 700;
}

.access-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--grape-900);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 14.5px;
    line-height: 1.3;
    text-decoration: none;
    transition: transform 0.25s var(--ease-out), background-color 0.2s;
}

.map-link:hover {
    transform: translateY(-2px);
    background: var(--purple);
}

.map-link--sub {
    background: var(--lilac-100);
    color: var(--purple);
}

.map-link--sub:hover {
    background: var(--lilac-200);
}

@media (min-width: 768px) {
    .access-card--contact {
        grid-column: 1 / -1;
        background: var(--lilac-50);
    }
}

/* ===== FAQ ===== */
#faq {
    --bg-top: var(--lilac-50);
}

.faq-list {
    display: grid;
    gap: 10px;
    max-width: 840px;
    margin-inline: auto;
}

.faq-toggle {
    border-radius: 20px;
    background: var(--paper);
    border: 1px solid var(--hairline);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-toggle[open] {
    border-color: var(--purple-400);
    box-shadow: var(--shadow-md);
}

.faq-toggle summary {
    position: relative;
    display: block;
    padding: 18px 58px 18px 20px;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

.faq-toggle summary::-webkit-details-marker {
    display: none;
}

.faq-toggle summary h3 {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 16.5px;
    line-height: 1.6;
}

.faq-toggle summary::before,
.faq-toggle summary::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 16px;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 3px;
    background: var(--orange);
    transition: transform 0.35s var(--ease-out);
}

.faq-toggle summary::after {
    transform: rotate(90deg);
}

.faq-toggle[open] summary::after {
    transform: rotate(0);
}

.faq-toggle > p {
    padding: 0 20px 20px;
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--ink-soft);
}

@supports (interpolate-size: allow-keywords) {
    .faq-toggle {
        interpolate-size: allow-keywords;
    }

    .faq-toggle::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete;
    }

    .faq-toggle[open]::details-content {
        block-size: auto;
    }
}

@media (min-width: 768px) {
    .faq-toggle summary {
        padding: 22px 64px 22px 26px;
    }

    .faq-toggle summary h3 {
        font-size: 17px;
    }

    .faq-toggle > p {
        padding: 0 26px 24px;
        font-size: 16px;
    }
}

/* ===== Parents' column teaser ===== */
#column {
    --bg-top: var(--cream);
}

.column-cards {
    display: grid;
    gap: 18px;
    max-width: 980px;
    margin-inline: auto;
}

.column-cards__rest {
    display: grid;
    gap: 18px;
}

.column-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.column-card:hover,
.column-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.column-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--lilac-100);
}

.column-card__media picture,
.column-card__media img {
    width: 100%;
    height: 100%;
}

.column-card__media img {
    object-fit: cover;
    transition: transform 0.9s var(--ease-out);
}

.column-card:hover .column-card__media img {
    transform: scale(1.05);
}

.column-card__issue {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--grape-900);
    color: var(--sun);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 12.5px;
}

.column-card__body {
    padding: 20px 22px 24px;
}

.column-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.column-tag {
    padding: 2px 11px;
    border-radius: 999px;
    background: var(--lilac-100);
    color: var(--purple);
    font-size: 11.5px;
    font-weight: 700;
}

.column-card__title {
    margin-top: 12px;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(18px, 4.8vw, 24px);
    line-height: 1.55;
}

.column-card__title a {
    text-decoration: none;
}

.column-card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.column-card__excerpt {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink-soft);
}

.column-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--orange-deep);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 15px;
}

.column-card__more svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-spring);
}

.column-card:hover .column-card__more svg {
    transform: translateX(5px);
}

.column-more {
    display: grid;
    justify-items: center;
    margin-top: 26px;
}

@media (min-width: 768px) {
    .column-card--feature {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        align-items: center;
    }

    .column-card--feature .column-card__media {
        height: 100%;
        aspect-ratio: auto;
        min-height: 300px;
    }

    .column-card--feature .column-card__body {
        padding: 30px 34px;
    }
}

/* ===== Local focus (area guide, quiet on purpose) ===== */
#local-focus {
    --bg-top: var(--cream);
    padding-top: 0;
}

#local-focus .section-title {
    font-size: clamp(21px, 5.2vw, 30px);
}

.local-focus-grid {
    gap: 10px;
}

.local-focus-grid .card {
    padding: 16px 18px;
    border-radius: 16px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.7);
}

.local-focus-grid .card h3 {
    font-size: 16px;
}

.local-focus-grid .card p {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.8;
}

@media (min-width: 1024px) {
    .local-focus-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

/* ===== Policies ===== */
.section--policies {
    padding-top: 0;
}

.policies-note {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--ink-mute);
    text-align: center;
}

.policies-note__line {
    display: inline-block;
}

.policies-note a {
    color: var(--purple);
}

/* ===== Footer ===== */
.footer {
    --bg-top: var(--grape-950);
    padding: clamp(40px, 7vw, 80px) 0 calc(96px + env(safe-area-inset-bottom));
    background: var(--grape-950);
    color: rgba(255, 255, 255, 0.82);
}

.footer__layout {
    display: grid;
    gap: 36px;
}

.footer-message {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(25px, 6.8vw, 44px);
    line-height: 1.5;
    color: #fff;
}

.footer-message span {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.62em;
    line-height: 1.7;
    color: var(--sun);
}

.footer-cta__button {
    width: 100%;
    max-width: 420px;
    margin-top: 26px;
}

.footer__nav {
    display: grid;
    gap: 4px;
}

.footer__nav-label {
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sun);
}

.footer__nav-group {
    padding-block: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__nav-list {
    display: grid;
    gap: 2px;
    margin-top: 10px;
}

.footer__nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15.5px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__nav-list a:hover {
    color: var(--sun);
}

.footer__nav-list--locations li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer__location-name {
    font-size: 15px;
    color: #fff;
}

.footer__nav-list--locations a {
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 14px;
}

.footer__nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 32px;
    text-align: left;
}

.footer__nav-toggle-icon {
    position: relative;
    width: 14px;
    height: 14px;
}

.footer__nav-toggle-icon::before,
.footer__nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--sun);
    transition: transform 0.3s var(--ease-out);
}

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

.is-open > .footer__nav-toggle .footer__nav-toggle-icon::after {
    transform: none;
}

@media (max-width: 768px) {
    .footer__nav-group--collapsible:not(.is-open) .footer__nav-list {
        display: none;
    }
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

@media (min-width: 769px) {
    .footer {
        padding-bottom: 48px;
    }

    .footer__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }

    .footer__nav {
        padding-top: 36px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer__nav {
        grid-template-columns: auto minmax(250px, auto) auto;
        gap: 56px;
        justify-content: start;
    }

    .footer__nav-group {
        padding: 0;
        border: 0;
    }

    .footer__nav-toggle {
        cursor: default;
    }

    .footer__nav-toggle-icon {
        display: none;
    }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-shout span:first-child {
        opacity: 1;
        animation: none;
    }

    .hero-title .hl::after {
        transform: rotate(-1.4deg);
        animation: none;
    }

    .shout-band__track,
    .photo-band__track {
        animation: none;
    }
}

/* ==========================================================================
   Round 2 — the hand of an illustrator, and a shorter read on phones
   ========================================================================== */

/* ---- Paper grain over the whole page (one small tile, composited once) ---- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 119;
    pointer-events: none;
    opacity: 0.55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .06 0 0 0 0 .23 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Hand-drawn squiggle under every section title ---- */
.section-title::after {
    content: '';
    display: block;
    width: 86px;
    height: 12px;
    margin: 14px auto 0;
    background: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 12'%3E%3Cpath d='M3 7 Q9 0 15 6 T27 6 T39 6 T51 6 T63 6 T75 6 T83 5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 12'%3E%3Cpath d='M3 7 Q9 0 15 6 T27 6 T39 6 T51 6 T63 6 T75 6 T83 5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-header--left .section-title::after {
    margin-left: 0;
}

.section-testimonials .section-title::after,
#english-everywhere .section-title::after {
    background: var(--sun);
}

#local-focus .section-title::after {
    display: none;
}

.reveal-ready .section-header.fade-in .section-title::after {
    clip-path: inset(0 100% 0 0);
}

.reveal-ready .section-header.fade-in.is-visible .section-title::after {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.9s 0.35s var(--ease-out);
}

/* ---- Sparkles beside the titles of the dark chapters ---- */
.section-testimonials .section-header,
#english-everywhere .section-header,
.video-inner {
    position: relative;
}

.section-testimonials .section-header::after,
#english-everywhere .section-header::after,
.video-inner::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 2%;
    width: 54px;
    height: 54px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23FFC933'%3E%3Cpath d='M30 4Q30 18 44 18Q30 18 30 32Q30 18 16 18Q30 18 30 4Z'/%3E%3Cpath d='M10 25Q10 32 17 32Q10 32 10 39Q10 32 3 32Q10 32 10 25Z'/%3E%3Cpath d='M38 35Q38 40 43 40Q38 40 38 45Q38 40 33 40Q38 40 38 35Z' fill='%23F4581C'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: twinkle 3.6s ease-in-out infinite;
    pointer-events: none;
}

.video-inner::before {
    top: -18px;
    right: auto;
    left: 2%;
    transform: scaleX(-1);
    animation: none;
}

@media (min-width: 768px) {
    .section-testimonials .section-header::after,
    #english-everywhere .section-header::after {
        width: 72px;
        height: 72px;
        right: 8%;
    }

    .video-inner::before {
        width: 72px;
        height: 72px;
        left: 6%;
    }
}

/* ---- Hero: comic emphasis strokes beside the key word ---- */
.hero-title .hl::before {
    content: '';
    position: absolute;
    top: -0.12em;
    right: -0.62em;
    width: 0.6em;
    height: 0.6em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23F4581C' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M7 30 4 13'/%3E%3Cpath d='M18 27 26 7'/%3E%3Cpath d='M27 34 38 25'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: pop 0.5s 1.25s var(--ease-spring) both;
}

/* ---- Hero (desktop): a second snapshot pinned to the photo ---- */
.hero-snap {
    display: none;
}

@media (min-width: 1024px) {
    .hero-snap {
        position: absolute;
        z-index: 4;
        left: -58px;
        bottom: 46px;
        display: block;
        width: clamp(150px, 14vw, 200px);
        padding: 6px 6px 6px;
        border-radius: 20px;
        background: var(--paper);
        box-shadow: var(--shadow-lg);
        transform: rotate(-6deg);
        animation: snap-float 6s ease-in-out infinite;
    }

    .hero-snap img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 15px;
    }

    /* a strip of tape */
    .hero-snap::before {
        content: '';
        position: absolute;
        top: -11px;
        left: 50%;
        width: 62px;
        height: 22px;
        margin-left: -31px;
        background: rgba(255, 201, 51, 0.82);
        transform: rotate(3deg);
    }
}

@keyframes snap-float {
    0%,
    100% {
        transform: rotate(-6deg) translateY(0);
    }

    50% {
        transform: rotate(-4deg) translateY(-8px);
    }
}

/* ---- English phrases pop out of the Japanese text ---- */
.en {
    font-family: var(--font-pop);
    font-weight: 700;
    font-size: 1.07em;
    letter-spacing: 0.01em;
    color: var(--purple);
    display: inline-block;
}

#english-everywhere .en {
    color: var(--sun);
}

.rhythm-step .en,
.benefit-cards .en {
    color: var(--orange-deep);
}

/* ---- Safety: the answer to a parent's first question leads ---- */
.promise-tile:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 56px 1fr;
    padding: 20px;
    background: linear-gradient(120deg, #E4FAF1 0%, var(--paper) 78%);
    box-shadow: inset 0 0 0 2px rgba(23, 184, 144, 0.45), var(--shadow-sm);
}

.promise-tile:first-child .promise-icon {
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
}

.promise-tile:first-child h3 {
    font-size: 17.5px;
}

.promise-tile:first-child p {
    grid-column: 2;
    margin-top: 4px;
}

@media (min-width: 640px) {
    .promise-tile:first-child {
        column-gap: 18px;
        row-gap: 0;
        align-items: center;
    }

    .promise-tile:first-child h3 {
        font-size: 19px;
    }
}

/* ---- Voices: a small face beside each signature ---- */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author::before {
    content: '';
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--lilac-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B1FA2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8.5' r='3.6'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.testimonial-card--feature .testimonial-author::before {
    background-color: rgba(255, 255, 255, 0.55);
}

/* ---- Coaches: their faces sign the message ---- */
.message-from-coaches {
    margin-bottom: 30px;
}

.coach-avatars {
    position: absolute;
    left: 26px;
    bottom: -26px;
    display: flex;
}

.coach-avatars img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid var(--cream);
    object-fit: cover;
    object-position: 50% 8%;
    background: var(--lilac-100);
}

.coach-avatars img + img {
    margin-left: -12px;
}

/* ---- Class flow: the track is the gym's agility ladder ---- */
.rhythm-track {
    left: 12px;
    top: 4px;
    bottom: 4px;
    width: 24px;
    overflow: visible;
    border-radius: 0;
    background:
        linear-gradient(var(--lilac-200), var(--lilac-200)) left / 4px 100% no-repeat,
        linear-gradient(var(--lilac-200), var(--lilac-200)) right / 4px 100% no-repeat,
        repeating-linear-gradient(180deg, var(--lilac-200) 0 4px, transparent 4px 22px);
}

.rhythm-track::after {
    border-radius: 0;
    background:
        linear-gradient(var(--sun), var(--sun)) left / 4px 100% no-repeat,
        linear-gradient(var(--sun), var(--sun)) right / 4px 100% no-repeat,
        repeating-linear-gradient(180deg, var(--orange) 0 4px, transparent 4px 22px);
    transform: none;
    clip-path: inset(0 0 calc(100% - var(--flow, 0) * 100%) 0);
}

/* ---- Schedule: which days, at a glance ---- */
.week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    padding: 18px 22px 4px;
}

.week span {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    max-width: 44px;
    width: 100%;
    margin-inline: auto;
    border-radius: 50%;
    background: var(--lilac-50);
    color: #B9AFC6;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
}

.week .is-on {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 3px 0 var(--grape-700);
}

.schedule-card:nth-child(2) .week .is-on {
    background: var(--orange);
    box-shadow: 0 3px 0 var(--orange-shadow);
}

.reveal-ready .schedule-grid .week .is-on {
    transform: scale(0.4);
    opacity: 0;
}

.reveal-ready .schedule-grid.is-visible .week .is-on {
    transform: none;
    opacity: 1;
    transition: transform 0.6s var(--ease-spring), opacity 0.3s;
    transition-delay: calc(0.35s + var(--d, 0) * 0.12s);
}

.week .is-on ~ .is-on {
    --d: 1;
}

.week .is-on ~ .is-on ~ .is-on {
    --d: 2;
}

/* ---- Program overview on phones: four tabs instead of four long cards ---- */
.overview-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.overview-tab {
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 16px;
    background: var(--paper);
    border: 1.5px solid var(--lilac-200);
    color: var(--ink-soft);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 13.5px;
    line-height: 1.35;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.overview-tab[aria-selected="true"] {
    background: var(--grape-900);
    border-color: var(--grape-900);
    color: #fff;
    box-shadow: 0 4px 0 var(--grape-950);
    transform: translateY(-2px);
}

.overview-cards.is-tabbed > .card[hidden] {
    display: none;
}

.overview-cards.is-tabbed > .card {
    animation: tab-in 0.4s var(--ease-out);
}

@keyframes tab-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ---- Area guide on phones: one swipeable row ---- */
@media (max-width: 767px) {
    .local-focus-grid {
        display: flex;
        gap: 10px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .local-focus-grid::-webkit-scrollbar {
        display: none;
    }

    .local-focus-grid .card {
        flex: none;
        width: min(76vw, 300px);
        scroll-snap-align: start;
    }
}

/* ---- Footer: the gym's cones line up to say goodbye ---- */
.footer__brand::before {
    content: '';
    display: block;
    width: 190px;
    height: 30px;
    margin-bottom: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 30'%3E%3Cg%3E%3Cpath d='M4 25Q15-8 26 25Z' fill='%23F4581C'/%3E%3Crect x='0' y='23' width='30' height='6' rx='3' fill='%23F4581C'/%3E%3Cpath d='M44 25Q55-8 66 25Z' fill='%23FFC933'/%3E%3Crect x='40' y='23' width='30' height='6' rx='3' fill='%23FFC933'/%3E%3Cpath d='M84 25Q95-8 106 25Z' fill='%232F95F5'/%3E%3Crect x='80' y='23' width='30' height='6' rx='3' fill='%232F95F5'/%3E%3Cpath d='M124 25Q135-8 146 25Z' fill='%2317B890'/%3E%3Crect x='120' y='23' width='30' height='6' rx='3' fill='%2317B890'/%3E%3Cpath d='M164 25Q175-8 186 25Z' fill='%23A24BD0'/%3E%3Crect x='160' y='23' width='30' height='6' rx='3' fill='%23A24BD0'/%3E%3C/g%3E%3C/svg%3E") left center / contain no-repeat;
}

@media (prefers-reduced-motion: reduce) {
    .rhythm-track::after {
        clip-path: none;
    }
}

/* ==========================================================================
   Hero, round 4 — show kids moving
   ========================================================================== */

/* second action photo: on phones it leans on the corner of the main one */
.hero-snap {
    position: absolute;
    z-index: 4;
    left: -2px;
    bottom: -24px;
    display: block;
    width: 112px;
    padding: 4px;
    border-radius: 16px;
    background: var(--paper);
    box-shadow: var(--shadow-md);
    transform: rotate(-6deg);
    animation: snap-float 6s ease-in-out infinite;
}

.hero-snap img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.hero-snap::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    width: 46px;
    height: 17px;
    margin-left: -23px;
    background: rgba(255, 201, 51, 0.85);
    transform: rotate(3deg);
}

.hero-text {
    padding-top: 10px;
}

@media (min-width: 1024px) {
    .hero-snap {
        left: -62px;
        bottom: 44px;
        width: clamp(170px, 15vw, 220px);
        padding: 6px;
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
    }

    .hero-snap img {
        border-radius: 15px;
    }

    .hero-snap::before {
        top: -11px;
        width: 62px;
        height: 22px;
        margin-left: -31px;
    }

    .hero-text {
        padding-top: 0;
    }
}

/* ==========================================================================
   Hero balance on laptops: copy and photo start on the same line, the photo
   is as tall as the first screen, and everything fits above the fold
   ========================================================================== */
@media (min-width: 1024px) {
    .hero {
        padding-top: clamp(40px, 6vh, 64px);
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
        gap: clamp(40px, 5vw, 88px);
    }

    .hero-visual {
        height: clamp(440px, calc(100vh - 130px), 640px);
        height: clamp(440px, calc(100svh - 130px), 640px);
        margin: 0 16px 0 0;
    }

    .hero-title {
        font-size: clamp(40px, 4.1vw, 60px);
    }

    .hero-title .hl {
        font-size: 1.36em;
    }

    .hero-stamp {
        left: -46px;
        top: -30px;
        width: 132px;
        height: 132px;
    }

    .hero-shape--star,
    .hero-shape--pill {
        display: none;
    }

    /* both buttons keep their label on one line */
    .hero-actions .btn {
        gap: 8px;
        padding-inline: 14px;
        font-size: 16px;
    }

    .hero-shape--ring {
        left: -170px;
        opacity: 0.6;
    }
}

/* short laptop windows: tighten so the whole offer stays on the first screen */
@media (min-width: 1024px) and (max-height: 800px) {
    .hero {
        padding-top: 34px;
    }

    .hero-title {
        font-size: clamp(38px, 3.8vw, 54px);
    }

    .hero-subheadline {
        margin-top: 10px;
        font-size: 20px;
    }

    .hero-actions {
        gap: 10px;
        max-width: 520px;
        margin-top: 16px;
    }

    .hero-banner-hint,
    .hero-actions .btn--line {
        --btn-h: 54px;
    }

    .hero-social-proof {
        max-width: 520px;
        margin-top: 16px;
    }

    .hero-social-proof__item {
        padding: 8px 6px;
    }

    .hero-social-proof__value {
        font-size: 28px;
    }

    .hero-chips-group {
        margin-top: 14px;
    }

    .hero-video-link {
        margin-top: 12px;
    }

    .hero-stamp {
        top: -22px;
        width: 120px;
        height: 120px;
    }
}

/* narrower laptops: the snapshot stays clear of the copy column */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-snap {
        left: -26px;
        bottom: 34px;
        width: 150px;
    }
}

/* ==========================================================================
   Hero scrapbook (Bruno's choice, Nov 11): four taped photos, one smile on
   top and three of the children moving
   ========================================================================== */
.hero-visual--scrap {
    height: 330px;
}

.hero-visual--scrap::before {
    display: none;
}

.scrap {
    position: absolute;
    padding: 5px;
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 12px 26px rgba(26, 11, 43, 0.22);
    transition: transform 0.45s var(--ease-spring), box-shadow 0.3s;
}

.scrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

/* a strip of tape on each photo */
.scrap::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: -9px;
    left: 50%;
    width: 52px;
    height: 18px;
    margin-left: -26px;
    background: rgba(255, 201, 51, 0.88);
    transform: rotate(-3deg);
}

.scrap--1 {
    z-index: 2;
    left: 0;
    top: 2%;
    width: 66%;
    --rot: -3deg;
    transform: rotate(var(--rot));
}

.scrap--1 img {
    object-position: 100% 50%;
}

.scrap--2 {
    z-index: 3;
    right: 0;
    top: 24%;
    width: 52%;
    --rot: 4deg;
    transform: rotate(var(--rot));
}

.scrap--2::before {
    background: rgba(244, 88, 28, 0.78);
}

.scrap--3 {
    z-index: 3;
    left: 3%;
    bottom: 0;
    width: 45%;
    --rot: 3deg;
    transform: rotate(var(--rot));
}

.scrap--3::before {
    background: rgba(162, 75, 208, 0.72);
}

.scrap--3 img {
    object-position: 50% 12%;
}

.scrap--4 {
    z-index: 4;
    right: 3%;
    bottom: -3%;
    width: 46%;
    --rot: -4deg;
    transform: rotate(var(--rot));
}

@media (hover: hover) {
    .scrap:hover {
        z-index: 6;
        transform: rotate(0) scale(1.05);
        box-shadow: 0 22px 44px rgba(26, 11, 43, 0.3);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .scrap {
        animation: scrap-in 0.7s var(--ease-spring) both;
    }

    .scrap--2 {
        animation-delay: 0.12s;
    }

    .scrap--3 {
        animation-delay: 0.24s;
    }

    .scrap--4 {
        animation-delay: 0.36s;
    }
}

@keyframes scrap-in {
    from {
        opacity: 0;
        transform: rotate(calc(var(--rot) * 3)) scale(0.7) translateY(20px);
    }
}

.hero-visual--scrap .hero-shout {
    z-index: 5;
    left: auto;
    right: 6px;
    top: 2px;
}

.hero-visual--scrap .hero-stamp {
    z-index: 6;
    right: 36%;
    bottom: 26%;
    width: 96px;
    height: 96px;
}

@media (min-width: 600px) and (max-width: 1023px) {
    .hero-visual--scrap {
        height: 520px;
    }
}

@media (min-width: 1024px) {
    .hero-visual--scrap {
        height: clamp(440px, calc(100vh - 130px), 640px);
        height: clamp(440px, calc(100svh - 130px), 640px);
    }

    .scrap {
        padding: 8px;
        border-radius: 20px;
    }

    .scrap img {
        border-radius: 14px;
    }

    .scrap::before {
        top: -12px;
        width: 70px;
        height: 24px;
        margin-left: -35px;
    }

    .scrap--1 {
        top: 0;
        width: 70%;
    }

    .scrap--2 {
        right: -4%;
        top: 27%;
        width: 56%;
    }

    .scrap--3 {
        left: -2%;
        bottom: 1%;
        width: 50%;
    }

    .scrap--4 {
        right: 0;
        bottom: -2%;
        width: 50%;
    }

    .hero-visual--scrap .hero-stamp {
        left: -52px;
        right: auto;
        top: auto;
        bottom: 36%;
        width: 124px;
        height: 124px;
    }

    .hero-visual--scrap .hero-shout {
        right: 0;
        top: 5%;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-visual--scrap .hero-stamp {
        left: -26px;
        width: 104px;
        height: 104px;
    }
}

/* ==========================================================================
   The stamp jumps rope: arms, little feet, a rope that swings over the head
   and under the feet, and a hop each time it passes below
   ========================================================================== */
.hero-stamp--jump {
    --jump: 0.9s;
    display: block;
    border-radius: 0;
    background: none;
    box-shadow: none;
    aspect-ratio: 200 / 220;
    height: auto;
}

.hero-visual--scrap .hero-stamp--jump {
    right: 27%;
    bottom: 13%;
    width: 150px;
    height: auto;
}

.hero-stamp__jumper {
    position: absolute;
    inset: 0;
    animation: stamp-jump var(--jump) ease-in-out infinite;
}

.hero-stamp__jumper > svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-stamp__body {
    position: absolute;
    left: 19%;
    top: 22.73%;
    display: grid;
    place-items: center;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 24%, #FFE98F, var(--sun) 55%, #FFB21F);
    color: var(--grape-900);
    box-shadow: 0 0 0 4px #fff, 0 10px 18px rgba(26, 11, 43, 0.22);
}

.hero-stamp__rope path {
    fill: none;
    stroke: var(--orange);
    stroke-width: 5;
    stroke-linecap: round;
    transform-box: view-box;
    transform-origin: 100px 118px;
    animation: rope-spin var(--jump) cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

/* in front of the body on the way down, behind it on the way up */
.hero-stamp__rope--front {
    animation: rope-front var(--jump) steps(1) infinite;
}

.hero-stamp__rope--back {
    animation: rope-back var(--jump) steps(1) infinite;
}

.hero-stamp__arms {
    fill: var(--sun);
    stroke: var(--grape-900);
    stroke-width: 6;
    stroke-linecap: round;
}

.hero-stamp__arms .arm {
    fill: none;
}

.hero-stamp__arms circle {
    stroke-width: 4;
}

.hero-stamp__feet {
    fill: var(--grape-900);
    animation: stamp-feet var(--jump) ease-in-out infinite;
}

.hero-stamp__shadow {
    position: absolute;
    left: 28%;
    bottom: 5%;
    width: 44%;
    height: 6%;
    border-radius: 50%;
    background: rgba(26, 11, 43, 0.2);
    animation: stamp-shadow var(--jump) ease-in-out infinite;
}

@keyframes rope-spin {
    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(-1);
    }
}

@keyframes rope-front {
    0% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@keyframes rope-back {
    0% {
        opacity: 0;
    }

    50%,
    100% {
        opacity: 1;
    }
}

@keyframes stamp-jump {
    0%,
    24%,
    78%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8%);
    }
}

@keyframes stamp-feet {
    0%,
    24%,
    78%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3%);
    }
}

@keyframes stamp-shadow {
    0%,
    24%,
    78%,
    100% {
        transform: scaleX(1);
        opacity: 1;
    }

    50% {
        transform: scaleX(0.7);
        opacity: 0.6;
    }
}

@media (min-width: 1024px) {
    .hero-visual--scrap .hero-stamp--jump {
        left: -84px;
        right: auto;
        top: auto;
        bottom: 27%;
        width: 184px;
        height: auto;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-visual--scrap .hero-stamp--jump {
        left: -44px;
        width: 150px;
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stamp__rope--front {
        opacity: 0;
    }
}
