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

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

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

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

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

    /* Hero redesign derived tokens */
    --grape:        #5B0A6B;
    --coral-soft:   #FFE4DE;
    --lilac-soft:   #F3E7FF;
    --butter-soft:  #FFF3CC;
    --shadow-warm:  0 22px 44px rgba(138,16,160,0.20);
    --shadow-coral: 0 14px 30px rgba(255,107,107,0.34);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

.btn-primary {
    background: var(--coral);
    color: var(--white);
    border: 2px solid var(--coral);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

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

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

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

.btn-secondary--subdued {
    font-size: 15px;
    opacity: 1;
}

.hero-actions .btn-secondary {
    color: #06C755;
    border-color: #06C755;
    background: #FFFFFF;
}

.hero-actions .btn-secondary:hover {
    background: #06C755;
    color: #FFF;
}

.btn-secondary--subdued:hover {
    opacity: 1;
}

/* ===== Hero ===== */
.hero {
    background:
        radial-gradient(115% 90% at 12% 8%,  rgba(192,132,252,0.30) 0%, rgba(192,132,252,0) 46%),
        radial-gradient(100% 85% at 92% 14%, rgba(255,107,107,0.30) 0%, rgba(255,107,107,0) 50%),
        radial-gradient(130% 120% at 82% 108%, rgba(251,191,36,0.22) 0%, rgba(251,191,36,0) 55%),
        linear-gradient(160deg, #FFFDF7 0%, #FFF4EC 55%, #FFEAF1 100%);
    position: relative;
    overflow: hidden;
    padding: 32px 32px 24px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.hero-decor{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;}
.hero-blob{position:absolute;border-radius:50%;filter:blur(6px);opacity:.5;animation:heroFloat 14s ease-in-out infinite;}
.hero-blob--lilac {width:280px;height:280px;left:-70px;top:8%;background:radial-gradient(circle at 30% 30%, #C084FC, #8a10a0);opacity:.22;animation-delay:0s;}
.hero-blob--coral {width:220px;height:220px;right:-60px;top:4%;background:radial-gradient(circle at 30% 30%, #FF9A8B, #FF6B6B);opacity:.22;animation-delay:-4s;}
.hero-blob--butter{width:240px;height:240px;left:20%;bottom:-90px;background:radial-gradient(circle at 30% 30%, #FFE082, #FBBF24);opacity:.20;animation-delay:-8s;}
.hero-doodle--star{position:absolute;width:34px;height:34px;right:14%;top:22%;opacity:.55;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);background:var(--accent);animation:heroTwinkle 3.2s ease-in-out infinite;}
@keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-18px)}}
@keyframes heroTwinkle{0%,100%{transform:scale(1) rotate(0);opacity:.4}50%{transform:scale(1.25) rotate(20deg);opacity:.75}}

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

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

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

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

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

    50% {
        background-position: -20% 50%;
    }

    100% {
        background-position: 120% 50%;
    }
}

@keyframes headerCtaPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 107, 107, 0.0);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 18px rgba(255, 107, 107, 0.35);
    }
}

@keyframes footerCtaPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 18px 32px rgba(255, 148, 60, 0.35);
    }
}

/* ===== Hero Social Proof Strip ===== */
.hero-social-proof {
    display: flex;
    gap: 20px;
    justify-content: center;
    background: #FFFFFF;
    border: 2px solid var(--coral-soft);
    box-shadow: var(--shadow-warm);
    border-radius: 18px;
    padding: 12px 24px;
    margin: 16px 0 8px;
    position: relative;
    overflow: hidden;
    padding-top: 16px;
}

.hero-social-proof::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--coral), var(--accent));
}

.hero-social-proof__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-social-proof__item + .hero-social-proof__item {
    border-left: 1px solid var(--coral-soft);
    padding-left: 20px;
}

.hero-social-proof__value {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--coral);
    line-height: 1.2;
}

.hero-social-proof__label {
    font-size: 0.8rem;
    color: var(--ink);
    font-weight: 500;
    white-space: nowrap;
}

.hero-social-proof__stars {
    font-size: 0.8rem;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .hero-social-proof {
        gap: 12px;
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .hero-social-proof__value {
        font-size: 1.05rem;
    }

    .hero-social-proof__label {
        font-size: 0.65rem;
        white-space: normal;
        text-align: center;
    }

    .hero-social-proof__item + .hero-social-proof__item {
        border-left: none;
        padding-left: 0;
    }
}

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

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

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

.hero h1 {
    font-family: 'Zen Maru Gothic', 'Fredoka', sans-serif;
    font-weight: 900;
    color: var(--grape);
    text-shadow: 0 2px 0 rgba(255,255,255,0.6);
    font-size: clamp(2.75rem, 4.7vw, 4.3rem);
    letter-spacing: 1px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero-title__chunk {
    display: inline;
}

.hero-title__separator {
    display: inline;
}

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

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

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

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

.hero-subheadline {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.hero-subheadline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--coral));
    opacity: .85;
}

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

.hero-description__line {
    margin: 0;
}

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

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

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

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

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

    /* Japanese typography fix: prevent character-by-character wrapping */
    .eyebrow,
    .hero-title,
    .hero-description--mobile .hero-description__line {
        word-break: normal;
        overflow-wrap: anywhere;
        line-break: strict;
    }

    .eyebrow {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .eyebrow .mobile-break {
        flex-basis: 100%;
        width: 100%;
        height: 0;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    /* Mobile sizing fixes to prevent wrapping - Force override */
    .hero h1.hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .eyebrow {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }

    .hero-subheadline {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        word-break: keep-all;
        overflow-wrap: normal;
        line-break: strict;
    }

    .hero-subheadline::after {
        left: 10%;
        right: 10%;
    }
}

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

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

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

/* Campaign banner inside the hero primary (coral) CTA — image replaces the button text */
.hero-actions .btn-pill.btn-banner {
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    padding: 5px;            /* thin coral frame around the image */
    border-radius: 18px;     /* frame corners (overrides the pill radius) */
    box-shadow: var(--shadow-coral);
    width: 100%;
    max-width: 460px;
    min-width: 0;            /* clean scale-down on tablet row + small screens */
    line-height: 0;          /* remove inline-block whitespace under the image */
}

.hero-actions .btn-pill.btn-banner picture {
    display: block;
}

.hero-actions .btn-pill.btn-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 13px;      /* slightly rounded image corners */
}

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

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

@media (min-width: 1024px) and (max-height: 850px) {
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .eyebrow {
        margin-bottom: 8px;
    }

    .hero-chips {
        margin-bottom: 12px;
    }
}

/* ===== Hero Chips Group (Playful & Organized) ===== */
.hero-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    /* Slightly softer than pill, more like a sticker */
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #ffffff;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 14px rgba(138,16,160,0.16);
    border: 2px solid rgba(255,255,255,0.85);
    /* Lifted sticker effect */
}

.chip:hover {
    transform: translateY(-3px) scale(1.04) rotate(0);
    /* Playful bounce on hover */
}

/* Location Chips - Trustworthy Blue/Teal */
.chip.variant-location {
    background: linear-gradient(135deg, #0EA5E9 0%, #3B82F6 100%);
}

/* Time/Schedule Chips - Energetic Orange */
.chip.variant-time {
    background: linear-gradient(135deg, #FB923C 0%, #FF6B6B 100%);
}

/* Method Chips - Creative Purple */
.chip.variant-method {
    background: linear-gradient(135deg, #8a10a0 0%, #C084FC 100%);
}

/* Size Chips - Safe/Comfortable Green */
.chip.variant-size {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

/* Safety Chips - Reassuring Teal-Green */
.chip.variant-safety {
    background: linear-gradient(135deg, #0D9488 0%, #10B981 100%);
}

/* Coach Chips - International/Native (Warm Brown-Orange) */
.chip.variant-coach {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
}

/* Legacy chip overrides if needed, or mobile adjustments */
@media (max-width: 768px) {
    .hero-chips-group {
        justify-content: center;
        /* Center on mobile */
        gap: 8px;
    }

    .chip {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

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

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

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

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 6% 4% -8% 4%;
    z-index: 0;
    border-radius: 40px;
    background: radial-gradient(60% 60% at 50% 55%, rgba(40, 18, 55, 0.20), rgba(40, 18, 55, 0) 70%);
    filter: blur(26px);
    opacity: 0.7;
    pointer-events: none;
}

.hero-visual__item {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    pointer-events: none;
    border: 6px solid transparent;
    padding: 4px;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, #C084FC 0%, #FF6B6B 45%, #FBBF24 100%) border-box;
    --hero-parallax-x: 0px;
    --hero-parallax-y: 0px;
    transition:
        transform 0.6s var(--ease-glide),
        box-shadow 0.6s var(--ease-glide),
        border-color 0.6s var(--ease-glide);
}

.hero-visual__item.is-primary {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: translate3d(calc(-2% + var(--hero-parallax-x, 0px)),
            calc(3% + var(--hero-parallax-y, 0px)),
            0) rotate(2.5deg);
    box-shadow: 0 2px 6px rgba(28, 12, 40, 0.10), 0 22px 44px rgba(28, 12, 40, 0.22);
}

.hero-visual__item.is-secondary {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translate3d(calc(9% + var(--hero-parallax-x, 0px)),
            calc(-10% + var(--hero-parallax-y, 0px)),
            0) rotate(-4deg);
    box-shadow: 0 1px 4px rgba(28, 12, 40, 0.07), 0 14px 30px rgba(28, 12, 40, 0.14);
}

.hero-visual__item.is-tertiary {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: translate3d(calc(17% + var(--hero-parallax-x, 0px)),
            calc(11% + var(--hero-parallax-y, 0px)),
            0) rotate(5deg) scale(0.94);
    box-shadow: 0 1px 3px rgba(28, 12, 40, 0.06), 0 10px 22px rgba(28, 12, 40, 0.10);
}

.hero-visual__next {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, #C084FC 0%, #FF6B6B 45%, #FBBF24 100%) border-box;
    color: var(--grape);
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(28, 12, 40, 0.18);
    transition: transform 0.25s var(--ease-glide), box-shadow 0.25s ease;
}

.hero-visual__next:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 18px rgba(28, 12, 40, 0.24);
}

.hero-visual__next:active {
    transform: scale(0.94);
}

@media (max-width: 1024px) {
    .hero-visual__next {
        width: 34px;
        height: 34px;
        font-size: 14px;
        right: 10px;
        bottom: 10px;
        border-width: 2px;
        box-shadow: 0 4px 10px rgba(28, 12, 40, 0.16);
    }
}

.hero-visual__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: calc(var(--radius) - 6px);
}

/* Fix: Use display: contents to make the picture transparency to the layout,
   restoring the img behavior as a direct child of hero-visual__item */


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== Video Section ===== */
.video-section {
    padding: 56px 0 24px;
    background: var(--background);
}

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

.video-chip {
    display: inline-block;
    font-family: 'Zen Maru Gothic', 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.video-heading {
    font-family: 'Zen Maru Gothic', 'Fredoka', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 24px;
}

.video-frame {
    background: linear-gradient(135deg, var(--blue) 0%, var(--lilac) 100%);
    border-radius: calc(var(--radius) + 8px);
    padding: 10px;
    box-shadow: 0 20px 48px rgba(59, 130, 246, 0.18), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--radius);
    overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.section-intro--bullets {
    list-style: none;
    padding-left: 0;
}

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

.policies-note__line {
    display: inline;
}

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

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

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

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

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

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

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

/* ===== Problem Agitation Section ===== */
.problem-card {
    border-left: 4px solid var(--primary);
}

.problem-resolution {
    text-align: center;
    margin-top: 24px;
    font-size: 1.1rem;
    color: var(--ink);
}

/* ===== Social Proof Nudges ===== */
.social-proof-nudge {
    text-align: center;
    padding: 20px 32px;
    background: rgba(255, 248, 230, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

/* ===== Safety Concerns Block ===== */
.safety-concerns {
    margin-top: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.safety-concerns h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
    text-align: center;
}

.concern-list dt {
    font-weight: 700;
    color: var(--ink);
    margin-top: 16px;
    font-size: 0.95rem;
}

.concern-list dd {
    color: var(--text-soft);
    margin-left: 0;
    padding-left: 16px;
    border-left: 3px solid var(--green);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

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

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

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

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

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

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

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

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

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

/* ===== Pricing Section ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    position: relative;
}

.pricing-card--trial {
    border: 3px solid var(--coral);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.pricing-card__price {
    margin: 4px 0;
}

.pricing-card__amount {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.pricing-card--trial .pricing-card__amount {
    color: var(--coral);
}

.pricing-card__period {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-left: 4px;
}

.pricing-card__note {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin: 0;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 8px 0 16px;
    text-align: left;
    width: 100%;
}

.pricing-card__features li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: var(--ink);
}

.pricing-card__features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.pricing-card .btn-pill {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.rhythm-step:nth-child(1) .rhythm-node {
    border-color: var(--blue);
    color: var(--blue);
}

.rhythm-step:nth-child(2) .rhythm-node {
    border-color: var(--green);
    color: var(--green);
}

.rhythm-step:nth-child(3) .rhythm-node {
    border-color: var(--yellow);
    color: #E5A820;
    background: #FFFBF0;
}

.rhythm-step:nth-child(4) .rhythm-node {
    border-color: var(--coral);
    color: var(--coral);
}

.rhythm-step:nth-child(5) .rhythm-node {
    border-color: var(--lilac);
    color: #bd33d5;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .hero-blob,
    .hero-doodle--star,
    .hero-urgency-text::before,
    .hero-subheadline::after {
        animation: none !important;
    }

    .hero-chips-group .chip {
        transform: none !important;
    }

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

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

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

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

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

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

@media (min-width: 969px) {

    /* Desktop: Standard Menu (Horizontal) */
    .js-enabled .header-nav {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        flex-direction: row;
        gap: 24px;
    }

    /* Hide Hamburger on Desktop */
    .js-enabled .nav-toggle,
    .nav-toggle {
        display: none !important;
    }

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

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

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

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

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

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

/* Responsive */
@media (max-width: 968px) {

    html,
    body {
        overflow-x: hidden;
    }

    body {
        padding-top: 0;
    }

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

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

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

    .nav-toggle {
        position: absolute;
        top: 16px;
        right: 20px;
        margin: 0;
        z-index: 1001;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    #safety .safety__layout {
        gap: 28px;
    }

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

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

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

    .hero {
        padding: 24px 20px 40px;
        background:
            radial-gradient(115% 90% at 12% 8%,  rgba(192,132,252,0.30) 0%, rgba(192,132,252,0) 46%),
            radial-gradient(100% 85% at 92% 14%, rgba(255,107,107,0.30) 0%, rgba(255,107,107,0) 50%),
            radial-gradient(130% 120% at 82% 108%, rgba(251,191,36,0.22) 0%, rgba(251,191,36,0) 55%),
            linear-gradient(160deg, #FFFDF7 0%, #FFF4EC 55%, #FFEAF1 100%);
    }

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

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

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

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

    .hero-visual__item.is-primary {
        transform: translate3d(0, 0, 0) rotate(0);
    }

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

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

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

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

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

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

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

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

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

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

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

    .media-card {
        order: -1;
    }

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

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

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

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

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

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

    .footer__nav {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .btn-pill {
        padding: 14px 28px;
        font-size: 16px;
    }

    .header {
        padding: 12px 18px;
    }

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

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

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

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

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

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

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

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

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

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

    .hero-visual__item.is-primary {
        transform: translate3d(0, 0, 0) rotate(0);
    }

    .hero-doodle--star,
    .hero-blob--butter {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .media-card {
        padding: 24px;
    }

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

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

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

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

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

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

    .footer__brand {
        text-align: center;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    .hero {
        padding: 16px 16px 24px;
    }

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

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

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

    .policies-note__line {
        display: block;
    }

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

    .container {
        padding: 0 20px;
    }

    .btn-pill {
        padding: 14px 28px;
        font-size: 16px;
    }

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

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

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

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

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

    .footer__nav-list {
        gap: 8px;
    }

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

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

    .footer-cta__button {
        width: 100%;
    }

    /* New components — small mobile fixes */
    .social-proof-nudge {
        padding: 16px 16px;
        font-size: 0.85rem;
    }

    .problem-resolution {
        font-size: 1rem;
    }

    .concern-list dt {
        font-size: 0.9rem;
    }

    .concern-list dd {
        font-size: 0.9rem;
        padding-left: 12px;
    }

    .safety-concerns h3 {
        font-size: 1.05rem;
    }

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

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

    .sticky-cta-bar__content {
        gap: 10px;
    }

    .sticky-cta-bar__btn.btn-pill {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .sticky-cta-bar__btn-line {
        padding: 12px 14px;
        font-size: 0.8rem;
    }

    .btn-pill {
        padding: 12px 22px;
        font-size: 15px;
    }

    .info-card {
        padding: 20px;
    }

    .hero-social-proof__stars {
        font-size: 0.65rem;
    }
}

/* ===== Extra-Small Mobile (320px) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 14px;
    }

    .hero {
        padding: 12px 12px 20px;
    }

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

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

    .hero-chips-group {
        gap: 6px;
    }

    .chip {
        font-size: 0.72rem;
        padding: 4px 8px;
    }

    .hero-social-proof {
        gap: 8px;
        padding: 8px 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-social-proof__value {
        font-size: 0.95rem;
    }

    .hero-social-proof__label {
        font-size: 0.6rem;
        white-space: normal;
        text-align: center;
    }

    .hero-social-proof__stars {
        font-size: 0.55rem;
        letter-spacing: 0;
    }

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

    .section-intro {
        font-size: 0.85rem;
    }

    .btn-pill {
        padding: 12px 18px;
        font-size: 15px;
    }

    .section-cta .btn-pill {
        min-width: 0;
        width: 100%;
        max-width: 280px;
    }

    .info-card {
        padding: 16px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card p,
    .info-card li {
        font-size: 0.85rem;
    }

    .sticky-cta-bar {
        padding: 10px 10px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .sticky-cta-bar__content {
        gap: 8px;
    }

    .sticky-cta-bar__btn.btn-pill {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .sticky-cta-bar__btn-line {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .social-proof-nudge {
        padding: 12px 14px;
        font-size: 0.8rem;
    }

    .problem-resolution {
        font-size: 0.9rem;
    }

    .concern-list dt {
        font-size: 0.85rem;
    }

    .concern-list dd {
        font-size: 0.85rem;
        padding-left: 10px;
    }

    .coach-card h3 {
        font-size: 1.1rem;
    }

    .coach-meta {
        font-size: 0.8rem;
    }

    .pricing-card__amount {
        font-size: 1.8rem;
    }

    .hero-visual {
        max-height: min(35vh, 280px);
        min-height: 180px;
    }
}

/* ===== Mobile Header Layout Fix (Force) ===== */
@media (max-width: 600px) {
    .header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        /* Space items on line 2 */
        align-items: center;
        padding: 12px 16px !important;
        row-gap: 12px;
        /* Space between logo and buttons */
    }

    .logo-brand {
        flex: 0 0 100%;
        /* Full width */
        width: 100%;
        display: flex;
        justify-content: flex-start;
        /* Align logo to the left */
        margin-bottom: 0;
        order: 1;
    }

    .logo-image {
        height: 40px;
        /* Slightly smaller logo if needed */
        width: auto;
    }

    .header-cta.btn-pill,
    .header-cta {
        order: 2;
        margin: 0 !important;
        width: auto !important;
        flex: 1 1 auto;
        /* Allow shrinking */
        min-width: 0;
        font-size: 10px !important;
        /* Small font to fit */
        padding: 8px 12px !important;
        white-space: nowrap;
        text-overflow: ellipsis;
        /* Ensure it doesn't push menu off */
        box-shadow: none !important;
    }

    /* Flatten for space */
    .nav-toggle {
        order: 3;
        margin: 0 !important;
        flex: 0 0 auto;
        /* Don't shrink/grow */
        font-size: 11px !important;
        padding: 8px 12px !important;
    }

    .mobile-break {
        display: inline;
    }
}

@media (min-width: 601px) {
    .mobile-break {
        display: none;
    }
}

.desktop-break {
    display: none;
}

@media (min-width: 601px) {
    .desktop-break {
        display: inline;
    }
}

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

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

.fade-in-delay-1 {
    transition-delay: 0.15s;
}

.fade-in-delay-2 {
    transition-delay: 0.3s;
}

.fade-in-delay-3 {
    transition-delay: 0.45s;
}

/* ===== Mobile Portrait Footer Toggle Redesign ===== */
@media (max-width: 768px) and (orientation: portrait) {

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

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

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

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

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

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

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

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

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

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

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

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

    .footer__nav-group--collapsible.is-open .footer__nav-list {
        max-height: 640px;
        /* comfortably fits future items */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: max-height 0.28s var(--ease-glide), opacity 0.2s ease, transform 0.28s var(--ease-glide), visibility 0s 0s;
    }
}

/* ===== Highlight Gradient Link ===== */
/* ===== Distinct Important Link ===== */
.link-button-distinct {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    background: rgba(138, 16, 160, 0.08) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    color: #8a10a0 !important;
    -webkit-text-fill-color: #8a10a0 !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    width: auto !important;
    margin-inline: 0 !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.link-button-distinct:hover,
.link-button-distinct:focus-visible {
    background: rgba(138, 16, 160, 0.15) !important;
    color: #6b0d7d !important;
    -webkit-text-fill-color: #6b0d7d !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.link-button-distinct::after {
    display: none !important;
}

/* Footer version - brighter colors for dark background */
.footer .link-button-distinct {
    background: rgba(192, 132, 252, 0.15) !important;
    color: #C084FC !important;
    -webkit-text-fill-color: #C084FC !important;
}

.footer .link-button-distinct:hover,
.footer .link-button-distinct:focus-visible {
    background: rgba(192, 132, 252, 0.25) !important;
    color: #d4a5ff !important;
    -webkit-text-fill-color: #d4a5ff !important;
}

/* ===== Local Focus Section (SEO & Checklist) ===== */
#local-focus {
    --section-background: var(--white);
    padding-bottom: 60px;
}

.local-focus-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.local-focus-grid .info-card {
    border: none;
    box-shadow: none;
    text-align: center;
    padding: 24px;
    border-radius: 20px;
    transition: transform 0.3s var(--ease-spring);
}

.local-focus-grid .info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: inherit;
    opacity: 0.95;
    font-weight: 800;
}

.local-focus-grid .info-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: inherit;
    opacity: 0.85;
    margin-bottom: 0;
}

/* Playful Variations */
.local-focus-grid .info-card:nth-child(5n+1) {
    background: #FFFBF0;
    /* Warm White */
    color: #451a03;
    border: 2px solid #FED7AA;
}

.local-focus-grid .info-card:nth-child(5n+2) {
    background: #F0F9FF;
    /* Alice Blue */
    color: #0c4a6e;
    border: 2px solid #BAE6FD;
}

.local-focus-grid .info-card:nth-child(5n+3) {
    background: #FAF5FF;
    /* Lavender Blush */
    color: #581c87;
    border: 2px solid #E9D5FF;
}

.local-focus-grid .info-card:nth-child(5n+4) {
    background: #F0FDF4;
    /* Honeydew */
    color: #14532d;
    border: 2px solid #BBF7D0;
}

.local-focus-grid .info-card:nth-child(5n) {
    background: #FFFBEB;
    /* Cornsilk */
    color: #78350f;
    border: 2px solid #FDE68A;
}

.local-focus-grid .info-card:hover {
    transform: translateY(-6px);
}

/* ===== Urgency Text ===== */
.hero-line-hint {
    font-size: 0.78rem;
    color: var(--text-secondary, #6b7280);
    font-weight: 400;
    margin-top: 8px;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.45s both;
}

.hero-urgency-text {
    font-size: 0.8rem;
    color: rgba(43, 43, 43, 0.60);
    font-weight: 500;
    margin-top: 14px;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.5s both;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-urgency-text::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.55);
}

@keyframes urgencyPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: .5;
    }
}

.hero-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    color: rgba(43, 43, 43, 0.55);
    text-decoration: none;
    font-weight: 500;
    margin-top: 6px;
    margin-left: 4px;
    font-size: 0.8rem;
    text-underline-offset: 3px;
    transition: color 0.2s var(--ease-glide);
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-video-link:hover {
    color: var(--purple);
    text-decoration: underline;
}

/* ===== Sticky CTA Bar (Mobile + Desktop) ===== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.sticky-cta-bar.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: slideUpFade 0.5s ease-out both;
}

.sticky-cta-bar__content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    gap: 16px;
}

.sticky-cta-bar__text {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    white-space: nowrap;
}

.sticky-cta-bar__btn.btn-pill {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: auto;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: headerCtaPulse 2s ease-in-out 2;
    background: var(--coral);
    color: var(--white);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.sticky-cta-bar__btn-line {
    padding: 12px 16px;
    font-size: 0.85rem;
    background: #06C755;
    color: white;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.sticky-cta-bar__btn-line:hover {
    background: #05B34A;
    text-decoration: none;
    color: white;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

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

/* ===== Mobile Adjustments ===== */
@media (max-width: 768px) {

    /* Hide header CTA on mobile since we have the sticky bar */
    .header-cta,
    .header--cta-visible .header-cta {
        display: none !important;
    }
}

/* Hero CTAs: keep the banner + LINE button stacked (override the tablet + in-app-webview row)
   so the LINE button stays a normal-size pill instead of shrinking into a wrapped blob. */
.hero-actions,
.is-webview .hero-actions {
    flex-direction: column;
}

/* Gentle pulse so users (especially mobile, who can't hover) can tell the banner is tappable. */
@keyframes ef-banner-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
}

.hero-actions .btn-pill.btn-banner {
    animation: ef-banner-pulse 2.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero-actions .btn-pill.btn-banner {
        animation: none;
    }
}

/* "Tap to apply" caption under the banner — makes it obvious the banner is clickable. */
.hero-banner-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--coral-soft);
    color: var(--coral);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.hero-banner-hint:hover {
    text-decoration: underline;
}
/* ===== FAQ Accordion (details/summary) ===== */
.faq-toggle summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

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

.faq-toggle summary h3 {
    margin: 0;
}

.faq-toggle summary::after {
    content: "＋";
    font-weight: 900;
    line-height: 1.4;
    flex-shrink: 0;
    opacity: 0.6;
}

.faq-toggle[open] summary::after {
    content: "−";
}

.faq-toggle > p {
    margin-top: 12px;
    margin-bottom: 0;
}

/* ==========================================================================
   store-lps additions (appended to the verbatim Fukuoka master stylesheet).
   Everything below this line is Tokyo-store-template-only; the master CSS
   above is untouched so future diffs against the Fukuoka LP stay clean.
   ========================================================================== */

.preview-banner {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #B91C1C;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    letter-spacing: .02em;
}

.preopen-banner {
    display: inline-block;
    background: #FFF4E0;
    border: 2px dashed #E8A33D;
    border-radius: 14px;
    color: #7A4A00;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    margin: 14px 0 4px;
}

.tbd-note {
    background: #F6F7FB;
    border-radius: 12px;
    padding: 14px 16px;
    color: #4A5568;
    line-height: 1.8;
}

.access-map {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.fukuoka-proof-intro {
    max-width: 720px;
    margin: 0 auto 8px;
    text-align: center;
    color: #4A5568;
    line-height: 1.9;
}


/* ==========================================================================
   HERO CTA SIZING (Sep 15, 2026) — the template swaps Fukuoka's campaign-banner
   image for a text button (README divergence #2). Size that button like the
   master's pill CTA: pill shape, solid coral, 15–16px text. Full width only on
   phones; a fixed comfortable width on tablet/desktop. No 104px banner block.
   ========================================================================== */
.hero-actions .btn-pill.btn-primary:not(.btn-banner) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 40px;
    font-size: 16px;
}
@media (min-width: 769px) {
    .hero-actions .btn-pill.btn-primary:not(.btn-banner),
    .hero-actions .btn-pill.btn-secondary { width: auto; min-width: 300px; max-width: 460px; }
}
@media (max-width: 768px) {
    .hero-actions .btn-pill.btn-primary:not(.btn-banner),
    .hero-actions .btn-pill.btn-secondary { width: 100%; max-width: 460px; min-width: 0; text-align: center; }
}
/* desktop parity kept from Sep 14: capped grid columns + headline on its own lines */
@media (min-width: 969px) {
    .hero-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hero-text { min-width: 0; }
    .hero h1.hero-title { white-space: nowrap; }
}

/* ==========================================================================
   SMALL-PHONE POLISH (Sep 15, 2026) — two wraps the master leaves on narrow
   phones. Store-template only; the Fukuoka master CSS above is untouched.
   ========================================================================== */
/* 9-character headline line (桜新町の放課後が、) no longer breaks mid-line under 345px */
@media (max-width: 345px) {
    .hero h1.hero-title { font-size: 1.62rem !important; }
}
/* FAQ LINE pill: keep 「まだ不安？LINEで何でも聞いてください」 on one line on phones
   instead of orphaning the last character */
@media (max-width: 430px) {
    #faq .section-cta .btn-pill.btn-secondary { padding-inline: 16px; font-size: 14px; }
}

/* ==========================================================================
   HERO VARIANT B (Sep 15, 2026) — layout copy from Bruno's mockup. Same fonts,
   same palette tokens. Only rendered when config.hero_variant == "b".
   ========================================================================== */
.hero--b { min-height: 0; padding: 36px 0 32px; display: block; overflow: hidden; }
.heroB { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  grid-template-areas: "text photo" "features photo" "actions photo" "stats stats";
  column-gap: 32px; row-gap: 26px; align-items: center; }
.heroB__text { grid-area: text; align-self: end; }
.heroB__photo { grid-area: photo; align-self: stretch; }
.heroB__features { grid-area: features; }
.heroB__actions { grid-area: actions; align-self: start; }
.heroB__stats { grid-area: stats; }
.heroB__br { display: none; }

.heroB__kicker { display: flex; width: fit-content; align-items: center; gap: 8px; margin: 0 0 18px; font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700; font-size: 1.15rem; color: #1D4ED8; position: relative; padding-bottom: 8px; }
.heroB__kicker svg { width: 20px; height: 20px; fill: #1D4ED8; }
.heroB__kicker::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 999px; background: #BFDBFE; }
.heroB__title { font-family: 'Zen Maru Gothic', 'Fredoka', sans-serif; font-weight: 900; color: var(--grape); line-height: 1.08;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem); letter-spacing: 2px; margin: 0; text-shadow: 0 2px 0 rgba(255,255,255,.6);
  position: relative; display: block; white-space: nowrap; }
.heroB__title::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 3.9em; height: 10px; border-radius: 999px;
  background: var(--coral); opacity: .9; transform: rotate(-1.5deg); }
.heroB__sub { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: clamp(1.15rem, 1.55vw, 1.45rem); color: var(--ink); margin: 30px 0 0; white-space: nowrap; }

.heroB__photo { position: relative; margin-right: calc(-1 * max(32px, (100vw - 1280px) / 2 + 32px)); min-height: 620px; }
.heroB__photo picture { position: absolute; inset: 0; display: block; overflow: hidden;
  border-radius: 48% 0 0 44% / 62% 0 0 58%; box-shadow: 0 24px 60px rgba(91,10,107,.16); }
.heroB__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; display: block; }
.heroB__photo::before { content: ""; position: absolute; left: -6%; top: -4%; bottom: -3%; right: 0; z-index: -1;
  border-radius: 50% 0 0 48% / 60% 0 0 55%; background: linear-gradient(140deg, rgba(192,132,252,.45), rgba(255,154,139,.25)); }
.heroB__sticker { position: absolute; font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; color: var(--ink); line-height: 1.3; z-index: 2; }
.heroB__sticker--top { top: 5%; right: 6%; font-size: clamp(1.4rem, 2.1vw, 2.1rem); transform: rotate(-10deg); text-align: center;
  text-shadow: 0 1px 0 #fff, 0 0 14px rgba(255,255,255,.95); }
.heroB__sticker--top::after { content: ""; display: block; height: 6px; margin-top: 6px; border-radius: 999px; background: #FBBF24; }
.heroB__sticker--pill { right: 3%; bottom: 7%; width: 168px; height: 168px; border-radius: 50%; background: #FDE68A; display: flex;
  align-items: center; justify-content: center; text-align: center; font-size: 1.25rem; transform: rotate(9deg); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.heroB__spark { position: absolute; top: 3%; right: 34%; width: 40px; height: 40px; z-index: 2;
  background: conic-gradient(from 0deg, #FBBF24 0 12deg, transparent 12deg 90deg, #FBBF24 90deg 102deg, transparent 102deg 180deg, #FBBF24 180deg 192deg, transparent 192deg 360deg); opacity: .85; }

.heroB__features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.heroB__features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px 4px;
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); border-left: 1px solid rgba(30,41,59,.14); }
.heroB__features li:first-child { border-left: 0; }
.heroB__features svg { width: 44px; height: 44px; }
.heroB__features li:nth-child(1) svg { fill: var(--purple); }
.heroB__features li:nth-child(2) svg { fill: #16A34A; }
.heroB__features li:nth-child(3) svg { fill: var(--orange); }
.heroB__features li:nth-child(4) svg { fill: #F59E0B; }

.heroB__actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.heroB__cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 14px 18px 14px 40px;
  border-radius: 999px; background: var(--coral); color: #fff; font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 1.35rem;
  text-decoration: none; box-shadow: 0 12px 28px rgba(255,107,107,.32); flex: 1 1 320px; max-width: 480px; transition: transform .2s ease-out; }
.heroB__cta:hover { transform: translateY(-2px); text-decoration: none; }
.heroB__cta-arrow { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--coral); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: none; }
.heroB__line { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 12px 30px; border-radius: 999px;
  border: 2px solid #06C755; color: #06C755; background: #fff; font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.heroB__line-badge { width: 30px; height: 30px; border-radius: 50%; background: #06C755; color: #fff; font-family: 'Fredoka', sans-serif; font-size: .6rem; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; }

.heroB__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-radius: 20px; padding: 18px 12px; margin-top: 4px;
  box-shadow: 0 12px 32px rgba(91,10,107,.08); }
.heroB__stats > div { display: flex; flex-direction: column; align-items: center; gap: 6px; border-left: 1px solid rgba(30,41,59,.12); }
.heroB__stats > div:first-child { border-left: 0; }
.heroB__stat-value { font-family: 'Fredoka', 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 2.4rem; color: var(--coral); line-height: 1; display: inline-flex; align-items: baseline; gap: 10px; }
.heroB__stat-value small { font-size: 1.3rem; }
.heroB__stats > div:last-child .heroB__stat-value { color: var(--grape); }
.heroB__stars { color: #FBBF24; font-size: 1.25rem; letter-spacing: 1px; }
.heroB__stat-label { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: .95rem; color: var(--ink); }

@media (max-width: 1100px) {
  .heroB__title { font-size: clamp(3rem, 5.6vw, 5rem); }
  .heroB__photo { min-height: 540px; }
}
@media (max-width: 968px) {
  .hero--b { padding: 24px 0 24px; }
  .heroB { padding: 0 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "photo" "features" "actions" "stats"; row-gap: 22px; }
  .heroB__br { display: inline; }
  .heroB__kicker { font-size: 1.15rem; margin-bottom: 14px; }
  .heroB__title { white-space: normal; font-size: clamp(3.2rem, 15.5vw, 4.4rem); letter-spacing: 1px; line-height: 1.1; }
  .heroB__title::after { width: 3.9em; height: 8px; }
  .heroB__sub { white-space: normal; }
  .heroB__sub { font-size: 1.45rem; margin-top: 22px; line-height: 1.45; }
  .heroB__photo { margin-right: 0; min-height: 0; }
  .heroB__photo picture { position: relative; inset: auto; aspect-ratio: 1 / 1.08; border-radius: 46% 54% 44% 56% / 40% 42% 58% 60%; }
  .heroB__photo::before { inset: -3% -2% -2% -3%; border-radius: 52% 48% 42% 58% / 44% 38% 62% 56%; }
  .heroB__sticker--top, .heroB__sticker--pill { display: none; }
  .heroB__spark { right: 8%; top: 1%; }
  .heroB__features { grid-template-columns: minmax(0,1fr) minmax(0,1fr); row-gap: 0; }
  .heroB__features li { padding: 18px 6px; border-left: 0; font-size: .92rem; }
  .heroB__features li:nth-child(even) { border-left: 1px solid rgba(30,41,59,.14); }
  .heroB__features li:nth-child(n+3) { border-top: 1px solid rgba(30,41,59,.14); }
  .heroB__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .heroB__cta, .heroB__line { width: 100%; max-width: none; flex: none; }
  .heroB__cta { font-size: 1.45rem; min-height: 72px; }
  .heroB__line { font-size: 1.2rem; min-height: 64px; }
  .heroB__stats { padding: 16px 6px; }
  .heroB__stats > div { padding: 0 4px; }
  .heroB__stat-value { font-size: 2rem; }
  .heroB__stat-label { font-size: .78rem; line-height: 1.3; text-align: center; }
  .heroB__stat-value { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .heroB__cta { transition: none; } }
@media (max-width: 400px) {
  .heroB__title { font-size: clamp(2.7rem, 14.5vw, 3.4rem); }
  .heroB__sub { font-size: 1.3rem; }
  .heroB__cta { font-size: 1.3rem; min-height: 66px; padding-left: 28px; }
  .heroB__line { font-size: 1.1rem; }
  .heroB__stat-value { font-size: 1.7rem; }
  .heroB__stat-value small { font-size: 1rem; }
  .heroB__stars { font-size: 1rem; letter-spacing: 0; }
  .heroB__stat-label { font-size: .7rem; }
  .heroB__features li { font-size: .85rem; padding: 14px 4px; }
}
/* variant B — beat the master's `.hero h1` phone sizes (specificity), and stop the CTA's
   nowrap text from setting a 369px min-content that overflowed 360px phones */
.hero--b .heroB__title { font-size: clamp(3.2rem, 6.2vw, 6.4rem); }
@media (max-width: 1100px) { .hero--b .heroB__title { font-size: clamp(3rem, 5.6vw, 5rem); } }
@media (max-width: 968px)  { .hero--b .heroB__title { font-size: clamp(3.2rem, 15.5vw, 4.4rem); } }
@media (max-width: 400px)  { .hero--b .heroB__title { font-size: clamp(2.6rem, 14.5vw, 3.4rem); } }
.heroB__actions, .heroB__cta, .heroB__line { min-width: 0; }
.heroB__cta { white-space: normal; }
@media (max-width: 400px) {
  .heroB__cta { font-size: 1.15rem; padding: 12px 14px 12px 22px; gap: 10px; }
  .heroB__cta-arrow { width: 38px; height: 38px; }
  .heroB__line { font-size: 1rem; padding: 10px 16px; }
}
/* variant B desktop: the photo bleeds to the right edge, so the container must not be
   centred with a max-width — that left a wide empty gutter on the left on large screens.
   Full-width grid, text starts at a fixed comfortable inset. */
@media (min-width: 969px) {
  .heroB { max-width: none; padding: 0 0 0 clamp(32px, 6vw, 120px); column-gap: clamp(24px, 3vw, 56px); }
  .heroB__photo { margin-right: 0; }
  .heroB__stats { margin-right: clamp(32px, 6vw, 120px); }
}
/* variant B — large monitors: cap the headline and the photo so the hero keeps the
   mockup's proportions instead of growing with the viewport */
@media (min-width: 969px) {
  .hero--b .heroB__title { font-size: clamp(3rem, 4.6vw, 4.8rem); line-height: 1.1; }
  .heroB__sub { font-size: clamp(1.15rem, 1.3vw, 1.4rem); margin-top: 24px; }
  .heroB { align-items: center; max-width: 1760px; margin: 0 auto; }
  .heroB__photo { align-self: center; min-height: 0; height: clamp(520px, 40vw, 660px); }
  .heroB__features li { font-size: clamp(.72rem, .8vw, .9rem); }
  .heroB__features svg { width: clamp(38px, 3vw, 48px); height: clamp(38px, 3vw, 48px); }
}
@media (min-width: 1760px) {
  .heroB { padding-left: 120px; }
  .heroB__photo { margin-right: -120px; }
  .heroB__stats { margin-right: 120px; }
}

/* ==== Polish V1 ==== */
/* Refine layer (桜新町 LP polish, V1). Append-only; declares no colour-bearing property.
   Everything above this line is byte-identical to _template/style.css. Master rules are
   neutralised by override; the override ledger lives in the V1 report. */

/* ---- 1. Non-colour tokens ---- */
:root {
    /* Type scale (8 steps, fluid) */
    --fs-2xs: 0.8rem;
    --fs-xs: 0.875rem;
    --fs-sm: 0.9375rem;
    --fs-base: 1rem;
    --fs-lead: clamp(1.0625rem, 0.95rem + 0.35vw, 1.125rem);
    --fs-h3: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3rem);
    --fs-h2: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
    --fs-display: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
    --lh-heading: 1.4;
    --lh-tight: 1.35;
    --lh-body: 1.8;

    /* Spacing (4/8 scale) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --section-y: clamp(56px, 8vw, 96px);
    --section-header-gap: clamp(28px, 4vw, 48px);
    --gutter: 20px;

    /* Radii */
    --radius-sm: 12px;
    --radius-md: var(--radius);
    --radius-lg: 24px;
    --radius-card: 20px;
    --radius-pill: 999px;

    /* Elevations (rgba values already rendered on the baseline page) */
    --elev-1: 0 2px 12px rgba(0, 0, 0, 0.08);
    --elev-2: 0 10px 24px rgba(0, 0, 0, 0.12);
    --elev-3: 0 18px 30px rgba(0, 0, 0, 0.18);

    /* Motion */
    --dur-1: 150ms;
    --dur-2: 250ms;
    --dur-3: 400ms;

    /* Header height (drives scroll-margin) */
    --hdr: 64px;

    /* Button sizes */
    --btn-sm: 44px;
    --btn-md: 52px;
    --btn-lg: 56px;
}

@media (min-width: 601px) {
    :root { --gutter: 24px; }
}

@media (min-width: 969px) {
    :root {
        --gutter: 32px;
        --hdr: 72px;
    }
}

/* ---- 2. Japanese typography ---- */
.section-title,
.section h3,
.section h4,
.footer h2,
.footer h3 {
    line-height: var(--lh-heading);
    font-feature-settings: "palt" 1;
    text-wrap: balance;
}

@supports (word-break: auto-phrase) {
    .section-title,
    .section h3,
    .footer h2 {
        word-break: auto-phrase;
        /* last resort for a phrase wider than its box (広尾 FAQ card at 1440 overflowed 59px) */
        overflow-wrap: anywhere;
    }
}

.section p,
.section li,
.footer p {
    text-wrap: pretty;
    line-break: strict;
}

/* Long paragraphs (3+ lines at 1440 in the baseline): left-aligned inside a centred column. */
#coaches .coach-card p,
#class-flow .rhythm-step p,
#class-flow .rhythm-substep p,
#local-focus .local-focus-grid .info-card p {
    text-align: start;
    max-width: 38em;
    margin-left: auto;
    margin-right: auto;
}

/* Section intros that wrap to 4-5 lines on phones: same treatment below 601px. */
@media (max-width: 600px) {
    #coaches .section-intro,
    #problem .section-intro,
    #positioning .section-intro,
    #why-boxing .section-intro,
    #english-everywhere .section-intro,
    #local-focus .section-intro,
    .fukuoka-proof-intro {
        text-align: start;
    }
}

/* ---- 3. Rhythm ---- */
.section:not(.section--policies) {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

/* Same-background neighbours: one gap, not two. */
#problem + #positioning,
#how-to-start + #schedule,
#schedule + #pricing,
#pricing + #access {
    padding-top: calc(var(--section-y) * 0.5);
}

.section-header {
    margin-bottom: var(--section-header-gap);
}

/* Anchor landing: the section's content clears header + 12px. The section's own top padding
   already provides part of that clearance, so the margin only adds what is missing (a full
   header-high margin would expose the previous section's trailing CTA under the header). */
.section[id],
.video-section[id],
.footer[id] {
    scroll-margin-top: max(0px, calc(var(--hdr) + 12px - var(--section-y)));
}

#problem + #positioning,
#how-to-start + #schedule,
#schedule + #pricing,
#pricing + #access {
    scroll-margin-top: max(0px, calc(var(--hdr) + 12px - var(--section-y) * 0.5));
}

/* The first section after the hero keeps the master landing position: the hero CTAs sit on the
   hero's bottom edge, and a margin would park them under the fixed header (harness H12). */
#coaches {
    scroll-margin-top: 0;
}

/* ---- 4. Buttons ---- */
.btn-pill {
    line-height: var(--lh-tight);
    transition-property: transform, box-shadow, background-color, color, border-color, opacity;
    transition-duration: var(--dur-2);
    transition-timing-function: var(--ease-glide);
}

.section-cta .btn-pill,
.pricing-card__note .btn-pill,
.footer-cta .btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--btn-md);
    text-align: center;
}

/* Pairs: wrap as whole buttons so one-line labels never break (row layout only;
   the master stacks .section-cta in a column at <=768, where a flex-basis would become a height).
   Basis 15rem, not 18rem: several .section-cta rows are capped at 560px by the master, and two
   18rem buttons would wrap there (pushing the local-focus CTA under the sticky bar, H12). */
@media (min-width: 769px) {
    .section-cta .btn-pill {
        flex: 1 1 15rem;
        max-width: 26rem;
    }
}

@media (max-width: 600px) {
    .section-cta .btn-pill {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
    }
}

/* One hover (-2px lift, the element's own shadow), one active, one focus ring. */
.btn-primary:hover,
.btn-secondary:hover,
.section-cta .btn-primary:hover,
.section-cta .btn-primary:focus-visible,
.section-cta .btn-secondary:hover,
.section-cta .btn-secondary:focus-visible,
.section-cta--overview .btn-secondary:hover,
.section-cta--overview .btn-secondary:focus-visible,
.header-cta.btn-primary:hover,
.header-cta.btn-primary:focus-visible {
    transform: translateY(-2px);
}

.btn-pill:active,
.section-cta .btn-pill:active,
.header-cta.btn-pill:active {
    transform: translateY(0) scale(0.98);
    transition-duration: var(--dur-1);
}

a.btn-pill:focus-visible,
.btn-pill:focus-visible {
    text-decoration-line: none;
}

/* ---- 5. Sticky bar ---- */
.sticky-cta-bar {
    padding-top: 7px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    visibility: hidden;
    transition: opacity var(--dur-3) var(--ease-glide), transform var(--dur-3) var(--ease-glide), visibility 0s linear var(--dur-3);
}

.sticky-cta-bar.visible {
    visibility: visible;
    animation: none;
    transition: opacity var(--dur-3) var(--ease-glide), transform var(--dur-3) var(--ease-glide), visibility 0s linear 0s;
}

.sticky-cta-bar__btn.btn-pill,
.sticky-cta-bar__btn-line {
    min-height: 48px;
    animation: none;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        padding-top: 7px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }
}

/* ---- 6. Cards and chips ---- */
.card,
.info-card,
.promise-tile,
.feature-card,
.coach-card,
.stage-card {
    border-radius: var(--radius-card);
}

.card,
.promise-tile {
    transition-property: transform, box-shadow;
    transition-duration: var(--dur-2);
    transition-timing-function: var(--ease-glide);
}

/* Static cards, FAQ items and chips do not lift. */
.card:hover,
.info-card:hover,
.promise-tile:hover,
.feature-card:hover,
.coach-card:hover,
.stage-card:hover,
.local-focus-grid .info-card:hover,
.styled-list li:hover,
.chip:hover {
    transform: none;
}

.card:hover,
.info-card:hover,
.promise-tile:hover {
    box-shadow: var(--shadow);
}

.local-focus-grid .info-card:hover {
    box-shadow: none;
}

@media (min-width: 601px) {
    .promise-grid,
    #safety .safety__content .promise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Area cards: 6 columns, each card spans 2; the last row centres, order stays locked. */
@media (min-width: 969px) {
    .local-focus-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .local-focus-grid > .info-card {
        grid-column: span 2;
    }

    .local-focus-grid > .info-card:nth-child(3n+1):nth-last-child(2) {
        grid-column: 2 / span 2;
    }

    .local-focus-grid > .info-card:nth-child(3n+1):last-child {
        grid-column: 3 / span 2;
    }
}

/* ---- 7. Header ---- */
.header {
    min-height: var(--hdr);
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-toggle {
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.header-cta.btn-pill {
    min-height: var(--btn-sm);
}

@media (min-width: 969px) {
    .header-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        min-width: 44px;
    }

    .header-cta {
        order: 5;
    }
}

/* ---- 8. FAQ and footer ---- */
/* The card's flex gap also spaced the closed (hidden) answer slot, leaving closed rows
   bottom-heavy; the answer keeps its own 12px top margin. */
.info-card.faq-toggle {
    gap: 0;
}

.faq-toggle summary {
    align-items: center;
    min-height: 48px;
    margin: -8px 0;
    padding: 8px 0;
}

.faq-toggle summary::after {
    content: "＋";
    transition: transform var(--dur-2) var(--ease-glide);
}

.faq-toggle[open] summary::after {
    content: "＋";
    transform: rotate(45deg);
}

.footer__nav {
    align-items: start;
}

.footer__brand,
.footer__nav-group {
    align-self: flex-start;
}

.footer__nav-toggle:focus-visible,
.footer__nav-group--collapsible .footer__nav-toggle:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.45);
    outline-offset: 3px;
}

.footer__nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* Block-level links that are tap targets in their own right (not inline text links). */
#access .info-card > a {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.logo-brand {
    min-height: 44px;
}

/* ---- 9. Hero (A composition kept; spacing polish only) ---- */
.hero:not(.hero--b) .hero-visual__next {
    min-width: 44px;
    min-height: 44px;
}

/* ---- 10. Motion and accessibility ---- */
/* No infinite attention loops on CTAs; the hero banner keeps one short pulse. */
.hero-actions .btn-pill.btn-banner {
    animation-iteration-count: 2;
}

.header--cta-visible .header-cta,
.footer-cta__button {
    animation: none;
}

/* Reveal only when JS is running (no-JS visitors see everything). */
html:not(.js-enabled) .fade-in {
    opacity: 1;
    transform: none;
}

/* Replace `transition: all` (master) with explicit properties. */
.feature-card,
.styled-list li,
.stage-card {
    transition-property: transform, box-shadow, opacity;
    transition-duration: var(--dur-2);
    transition-timing-function: var(--ease-glide);
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }

    .sticky-cta-bar,
    .sticky-cta-bar.visible {
        transform: none;
    }

    .btn-pill:hover,
    .btn-pill:active,
    .btn-primary:hover,
    .btn-secondary:hover,
    .section-cta .btn-pill:hover,
    .section-cta .btn-pill:focus-visible,
    .header-cta.btn-primary:hover,
    .header-cta.btn-primary:focus-visible,
    .hero-visual__next:hover,
    .hero-visual__next:active {
        transform: none;
    }
}

/* Desktop pairs keep one-line labels: the master caps .section-cta--center at 560px (≥768),
   which wrapped 「サードプレイスを体験する（¥0）」 to two lines at 1440 (the baseline fits it on one). */
@media (min-width: 969px) {
    .section-cta--center {
        max-width: 720px;
    }
}

/* ==== Polish V2 ==== */
/* Re-layout layer (Sep 23, 2026). Non-color only: no color/background/border-color/fill/stroke/filter
   declarations. Every A-hero rule is scoped to .hero:not(.hero--b). Remove this block to revert. */


/* ---- 2. Header visible from the top (CSS only; JS classes keep toggling harmlessly) ---- */
html .header,
html.js-enabled .header,
html .header.header--visible {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    min-height: var(--hdr);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center;
}
html body,
html body.header-is-visible { padding-top: var(--hdr); }
@media (max-width: 968px) {
    html .header { flex-wrap: wrap; column-gap: 12px; }
    html .header .logo-brand { flex: 0 1 auto; width: auto; min-height: var(--hdr); align-items: center; }
    html .header .logo-image { height: 40px; }
    html .header .nav-toggle {
        top: calc((var(--hdr) - 44px) / 2);
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    html .header { row-gap: 0; }
}

/* ---- 3. Hero A: photo → h1 → sub → CTAs → chips → stats (390); stats band (1440) ---- */
@media (max-width: 968px) {
    .hero:not(.hero--b) {
        min-height: calc(100svh - var(--hdr));
        justify-content: flex-start;
        padding: 12px 16px 28px;
    }
    .hero:not(.hero--b) .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
    .hero:not(.hero--b) .hero-visual {
        order: -1;
        width: min(100%, 45svh, 520px);
        aspect-ratio: 3 / 2;
        max-height: 30svh;
        min-height: 0;
        margin-inline: auto;
    }
    .hero:not(.hero--b) .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(100%, 520px);
        padding-inline: 0;
        margin: 0 auto;
    }
    .hero:not(.hero--b) .hero-title { order: 1; margin-bottom: 8px; }
    .hero:not(.hero--b) .hero-subheadline { order: 2; margin-bottom: 16px; }
    .hero:not(.hero--b) .hero-actions { order: 3; width: 100%; align-items: center; }
    .hero:not(.hero--b) .hero-chips-group { order: 4; margin: 16px 0 0; justify-content: center; }
    .hero:not(.hero--b) .hero-urgency-text { order: 5; }
    .hero:not(.hero--b) .hero-video-link { order: 6; }
    .hero:not(.hero--b) .hero-social-proof { order: 2; margin: 0 auto; }
}
@media (min-width: 969px) {
    .hero:not(.hero--b) { min-height: calc(100svh - var(--hdr)); }
    .hero:not(.hero--b) .hero-content:has(> .hero-social-proof) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "text visual" "proof proof";
        column-gap: 60px;
        row-gap: 40px;
        width: 100%;
    }
    .hero:not(.hero--b) .hero-text { grid-area: text; }
    .hero:not(.hero--b) .hero-actions { align-items: flex-start; }
    .hero:not(.hero--b) .hero-visual { grid-area: visual; justify-self: center; }
    .hero:not(.hero--b) .hero-social-proof {
        grid-area: proof;
        justify-self: stretch;
        justify-content: space-evenly;
        margin: 0;
        padding: 18px 32px 14px;
    }
}

/* ---- 4. Photo sections: photo card then content (≤968); sticky photo 5fr | content 7fr (≥969) ---- */
@media (min-width: 969px) {
    #why-boxing .why-boxing__layout,
    #safety .safety__layout,
    #program-overview .program-overview__layout,
    #body-skills .body-skills__layout,
    #class-flow .class-flow__layout {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: clamp(32px, 4vw, 56px);
        align-items: start;
    }
    #why-boxing .why-boxing__visual,
    #safety .safety__visual,
    #program-overview .program-overview__visual,
    #body-skills .body-skills__visual,
    #class-flow .class-flow__visual {
        position: sticky;
        top: calc(var(--hdr) + 24px);
        max-width: none;
        width: 100%;
        align-self: start;
    }
    #why-boxing .why-boxing__visual img,
    #safety .safety__visual img,
    #program-overview .program-overview__visual img,
    #body-skills .body-skills__visual img,
    #class-flow .class-flow__visual img {
        aspect-ratio: 4 / 5;
        max-height: calc(100vh - var(--hdr) - 48px);
        object-fit: cover;
        height: auto;
    }
    /* alternate sides: safety and body-skills put the photo on the right */
    #safety .safety__layout,
    #body-skills .body-skills__layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    #safety .safety__visual,
    #body-skills .body-skills__visual { order: 2; }
    #why-boxing .why-boxing__content,
    #safety .safety__content,
    #program-overview .program-overview__content,
    #body-skills .body-skills__content,
    #class-flow .class-flow__content { min-width: 0; gap: 32px; }
}

/* ---- 5. Class-flow: vertical timeline (node | text); steps never reordered ---- */
.rhythm-stepper .rhythm-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    text-align: left;
}
.rhythm-stepper .rhythm-step > .rhythm-node {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 20px;
}
.rhythm-stepper .rhythm-step > :not(.rhythm-node) { grid-column: 2; }
.rhythm-stepper .rhythm-step > h3 { margin: 10px 0 4px; }
#class-flow .class-flow__content .rhythm-stepper {
    flex-direction: column;
    gap: 24px;
    margin: 8px 0;
}
@media (min-width: 969px) {
    /* the existing connector line, re-oriented vertically behind the nodes (same element, same paint) */
    #class-flow .rhythm-stepper::before {
        top: 24px;
        bottom: 24px;
        left: 22.5px;
        right: auto;
        width: 3px;
        height: auto;
    }
}

/* ---- 6. FAQ single column; pricing + schedule centred ---- */
#faq .card-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
    margin-inline: auto;
}
#faq .card-grid { gap: 12px; }
@media (min-width: 769px) { #faq .card-grid { gap: 16px; } }
@media (min-width: 969px) {
    #pricing .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }
    #schedule .card-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 640px;
        margin-inline: auto;
    }
}

/* ---- 7. Local-focus: 6-column grid, 2 per card, order locked; last row centred ---- */
@media (min-width: 601px) and (max-width: 968px) {
    #local-focus .local-focus-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    #local-focus .local-focus-grid > * { grid-column: span 2; }
    #local-focus .local-focus-grid > :nth-child(2n+1):last-child { grid-column: 2 / span 2; }
}

/* Footer (≥1024): brand 2fr + nav groups, tops aligned */
@media (min-width: 1024px) {
    .footer .footer__layout {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        align-items: start;
    }
    .footer .footer__brand { flex: none; max-width: 420px; }
    .footer .footer__nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        gap: 32px;
        align-items: start;
    }
}


/* ---- 8. Coaches: 1:1 crop on phones; one coach = horizontal profile (≥969); 2 cards = 2 columns (≥600) ---- */
.coach-card .coach-photo {
    aspect-ratio: 1 / 1;
    min-height: 0;
}
.coach-card .coach-photo img { object-position: center 25%; }
@media (min-width: 600px) {
    .coach-grid:has(> .coach-card + .coach-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 969px) {
    .coach-grid:has(> .coach-card:only-child) { grid-template-columns: minmax(0, 760px); }
    .coach-grid > .coach-card:only-child {
        width: min(100%, 760px);
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        column-gap: 32px;
        text-align: left;
        align-items: start;
    }
    .coach-grid > .coach-card:only-child > .coach-photo { grid-row: 1 / span 3; margin-bottom: 0; }
    .coach-grid > .coach-card:only-child > :not(.coach-photo) { grid-column: 2; }
}

/* ---- 9. Testimonials: stacked on phones, 3 columns at ≥969, author pinned to the bottom ---- */
@media (min-width: 969px) {
    .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.testimonial-card .testimonial-author { margin-top: auto; }

/* ---- 10. Positioning: h2 spans, paragraphs in 2 left-aligned columns (≥969) ---- */
@media (min-width: 969px) {
    #positioning .section-header {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 48px;
        row-gap: 12px;
        max-width: 1040px;
        margin-inline: auto;
    }
    #positioning .section-header > .section-title { grid-column: 1 / -1; }
    #positioning .section-header > .section-intro { margin: 0; text-align: left; max-width: none; }
    #positioning .section-header > .section-intro:only-of-type { grid-column: 1 / -1; text-align: center; }
}

/* ---- 11. Access: "header header" / "cards map" / "cta cta" (≥969) ---- */
@media (min-width: 969px) {
    #access .container {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-areas: "header header" "cards map" "cta cta";
        column-gap: 32px;
        align-items: stretch;
    }
    #access .container > .section-header { grid-area: header; }
    #access .container > .card-grid { grid-area: cards; grid-template-columns: minmax(0, 1fr); align-content: start; }
    #access .container > .access-map { grid-area: map; margin-top: 0; min-height: 360px; }
    #access .container > .access-map iframe { height: 100%; min-height: 360px; display: block; }
    #access .container > .section-cta { grid-area: cta; }
    #access .container > .card-grid { gap: 16px; }
}

/* ---- 4b. Photo-section refinements (≥969) ---- */
@media (min-width: 969px) {
    /* why-boxing: "visual header" / "cards cards" / "cta cta" — the content wrapper dissolves */
    #why-boxing .why-boxing__layout { align-items: center; row-gap: 24px; }
    #why-boxing .why-boxing__content > .section-cta { margin-top: 12px; }
    #why-boxing .why-boxing__content { display: contents; }
    #why-boxing .why-boxing__visual { position: relative; top: auto; grid-column: 1; grid-row: 1; }
    #why-boxing .why-boxing__visual img { aspect-ratio: auto; max-height: none; }
    #why-boxing .why-boxing__content > .section-header { grid-column: 2; grid-row: 1; text-align: left; }
    #why-boxing .why-boxing__content > .section-header .section-intro { margin-inline: 0; }
    #why-boxing .why-boxing__content > :not(.section-header) { grid-column: 1 / -1; }
    /* long-column sections: heading left-aligned beside the sticky photo */
    #safety .safety__content .section-header,
    #program-overview .program-overview__content .section-header,
    #body-skills .body-skills__content .section-header,
    #class-flow .class-flow__content .section-header { text-align: left; }
    #safety .safety__content .section-header .section-intro,
    #program-overview .program-overview__content .section-header .section-intro,
    #body-skills .body-skills__content .section-header .section-intro,
    #class-flow .class-flow__content .section-header .section-intro { margin-inline: 0; }
    /* body-skills: cards as rows */
    #body-skills .body-skills__content .card-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    #body-skills .body-skills__content { gap: 24px; }
    #body-skills .body-skills__content > .section-cta { margin-top: 0; }
}

/* ---- Safety promises: rows on phones, 2×2 from 600px (no orphan tile) ---- */
@media (min-width: 600px) {
    #safety .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
    #safety .promise-grid .promise-tile {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
        text-align: left;
        padding: 20px;
    }
    #safety .promise-grid .promise-tile > .promise-icon { grid-row: 1 / span 3; width: 56px; height: 56px; margin: 0; }
    #safety .promise-grid .promise-tile > :not(.promise-icon) { grid-column: 2; }
}

/* ---- Photo-section rhythm: the content column's flex gap spaces the header (no 60px double gap) ---- */
@media (max-width: 600px), (min-width: 969px) {
    #why-boxing .why-boxing__content > .section-header,
    #safety .safety__content > .section-header,
    #program-overview .program-overview__content > .section-header,
    #body-skills .body-skills__content > .section-header,
    #class-flow .class-flow__content > .section-header { margin-bottom: 0; }
    #safety .safety__content > .promise-grid { margin-top: 0; }
}
/* tablet: the always-visible header would sit on local-focus's closing CTA at the page-bottom anchor */
@media (min-width: 601px) and (max-width: 968px) {
    #local-focus { padding-bottom: 32px; }
}
@media (min-width: 969px) {
    #class-flow .class-flow__content { gap: 20px; }
    #class-flow .class-flow__content .rhythm-stepper { gap: 20px; }
    #class-flow .class-flow__content > .section-cta { margin-top: 12px; }
}
@media (min-width: 969px) and (max-width: 1199px) {
    #body-skills .body-skills__content > .section-cta { margin-top: 24px; }
    #access .container > .card-grid { gap: 36px; }
}
.hero:not(.hero--b) .hero-subheadline { text-wrap: balance; }

/* ==== Polish V2 — round 2 (on top of V1) ==== */

/* Header CTA: V1 moves it to the far right (order 5) because its header appears together with the CTA.
   V2's header is always visible, so the CTA pops in later: keep it in the free space by the logo
   (order 2) so the nav never jumps sideways when it appears. */
@media (min-width: 969px) {
    html .header .header-cta { order: 2; }
}

/* The header steps aside near the page bottom again (main.js adds .header--at-bottom there, the
   same moment the baseline hid it), so it never sits on the footer CTA. */
html .header.header--at-bottom,
html.js-enabled .header.header--at-bottom {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* ---- Hero CTAs: one row on desktop (primary first), labels centred everywhere ---- */
.hero:not(.hero--b) .hero-actions .btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (min-width: 969px) {
    .hero:not(.hero--b) .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 12px 16px;
    }
    .hero:not(.hero--b) .hero-actions .btn-pill.btn-primary:not(.btn-banner) {
        flex: 0 1 auto;
        min-width: 0;
        width: auto;
    }
    .hero:not(.hero--b) .hero-actions .btn-pill.btn-secondary {
        flex: 0 0 auto;
        min-width: 0;
        width: auto;
        min-height: 56px;
        padding-inline: 28px;
    }
}
@media (min-width: 969px) and (max-width: 1199px) {
    .hero:not(.hero--b) .hero-actions .btn-pill.btn-primary:not(.btn-banner) { padding-inline: 28px; }
    .hero:not(.hero--b) .hero-actions .btn-pill.btn-secondary { padding-inline: 22px; }
}

/* ---- Three-up sections at ≥969: equal heights, headings on one line ---- */
@media (min-width: 969px) {
    #problem .problem-grid,
    #english-everywhere .card-grid,
    #how-to-start .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
    #problem .problem-grid > .info-card,
    #english-everywhere .card-grid > .info-card,
    #how-to-start .card-grid > .info-card {
        height: 100%;
        justify-content: flex-start;
    }
    #english-everywhere .card-grid > .info-card > h3,
    #how-to-start .card-grid > .info-card > h3 { margin: 0; }
}

/* ---- Nudge bands and policies: compact, centred measure ---- */
.social-proof-nudge {
    padding-top: 14px;
    padding-bottom: 14px;
}
.social-proof-nudge > p {
    max-width: 40em;
    margin-inline: auto;
}
.section--policies {
    padding-top: 28px;
    padding-bottom: 28px;
}
.section--policies .policies-note {
    max-width: 40em;
    margin-inline: auto;
}

/* ---- Footer (≥769, desktop toggles hidden): column tops aligned, one link style ---- */
@media (min-width: 769px) {
    /* the label-less groups start one CONNECT-label line lower, so every list starts on one line */
    .footer .footer__nav-group--collapsible { padding-top: calc(0.95rem * 1.8); }
    .footer .footer__nav-group--collapsible .footer__nav-list { margin-top: 0; }
    .footer .footer__nav-group:not(.footer__nav-group--collapsible) { gap: 0; }
}
.footer .footer__nav-list a {
    font-weight: 500;
    text-decoration-line: none;
}

/* ---- Nav jumps: the first section after the A hero lands like every other section (heading just
   below the always-visible header). V1 pinned it to 0 because its hero CTAs sat on the hero's bottom
   edge; the V2 A hero ends with the stats band instead. Hero B keeps V1's 0. ---- */
:root:has(.hero:not(.hero--b)) #coaches {
    scroll-margin-top: max(0px, calc(var(--hdr) + 12px - var(--section-y)));
}

/* ---- Why-boxing lead on phones: the opening question reads as a lead ---- */
@media (max-width: 600px) {
    #why-boxing .why-boxing__content .section-header > .section-intro:first-of-type {
        font-size: var(--fs-lead);
        font-weight: 700;
        line-height: 1.7;
    }
}

/* ---- Polish ---- */
@media (min-width: 769px) {
    /* the store name in the locations column sits on the same line as the other columns' first links */
    .footer .footer__location-name { display: flex; align-items: center; min-height: 44px; }
    .footer .footer__nav-list--locations li { gap: 10px; }
}
@media (min-width: 969px) {
    #english-everywhere .card-grid + .cta-note,
    #problem .problem-grid + .problem-resolution { margin-top: 32px; }
}
/* Split layouts (≥969): everything in the text column shares the heading's left edge */
@media (min-width: 969px) {
    #safety .safety__content .safety-concerns { margin-inline: 0; max-width: none; }
    #safety .safety__content .safety-concerns > h3 { text-align: left; }
    #safety .safety__content > .cta-note,
    #program-overview .program-overview__content > .cta-note,
    #body-skills .body-skills__content > .cta-note,
    #class-flow .class-flow__content > .cta-note,
    #class-flow .class-flow__content > .stage-note { text-align: left; margin-inline: 0; }
}
@media (min-width: 969px) {
    /* a two-line subheadline breaks between phrases (「英語が／好きになる」), not inside one */
    @supports (word-break: auto-phrase) {
        .hero:not(.hero--b) .hero-subheadline { word-break: auto-phrase; }
    }
}
/* 969–1199: seven nav items (広尾) + the header CTA stay on one line */
@media (min-width: 969px) and (max-width: 1199px) {
    html .header { padding-left: 24px; padding-right: 24px; }
    .js-enabled .header-nav,
    .header-nav { gap: 14px; }
    .header-nav a { white-space: nowrap; font-size: 0.9rem; }
    html .header .header-cta { margin-left: 12px; }
}
/* Phones: icon cards (why-boxing, program-overview) put the icon beside the heading — the icon no
   longer costs a row of its own, so these long sections get shorter */
@media (max-width: 600px) {
    #why-boxing .info-card:has(> .card-icon),
    #program-overview .info-card:has(> .card-icon) {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 12px;
        align-items: center;
        align-content: start;
    }
    #why-boxing .info-card > .card-icon,
    #program-overview .info-card > .card-icon {
        grid-column: 1;
        width: 56px;
        height: 56px;
        margin: 0;
    }
    #why-boxing .info-card > .card-icon svg,
    #program-overview .info-card > .card-icon svg { width: 44px; height: 44px; }
    #why-boxing .info-card:has(> .card-icon) > h3,
    #program-overview .info-card:has(> .card-icon) > h3 { grid-column: 2; margin: 0; }
    #why-boxing .info-card:has(> .card-icon) > :not(.card-icon):not(h3),
    #program-overview .info-card:has(> .card-icon) > :not(.card-icon):not(h3) { grid-column: 1 / -1; }
}
/* ≥969: a long one-line h1 (広尾「恵比寿・広尾の放課後が、」) runs past its column; keep the text
   painted above the photo stack and sit the photo low, so no character hides behind the frame */
@media (min-width: 969px) {
    .hero:not(.hero--b) .hero-text { position: relative; z-index: 3; }
    .hero:not(.hero--b) .hero-content:has(> .hero-social-proof) > .hero-visual { align-self: end; }
}

/* ==== Polish V2 — round 3: current-generation visual system (non-colour only) ==== */
/* Card soup → panels and hairlines; left-aligned content; one type scale; straight hero photo;
   no icon tiles, glows or bounces. Every shadow left is either none or a hairline built from
   rgba(0,0,0,0.12), the card shadow colour these sections already render. */

/* ---- B1 Type ---- */
.section-title {
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0;
    margin-bottom: 12px;
}
.section-header { margin-bottom: clamp(28px, 4vw, 40px); }
.section-header .section-intro {
    line-height: 1.9;
    max-width: 34em;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 769px) {
    .section-header .section-intro { font-size: 1.0625rem; }
}
/* card titles clearly above body; body 1rem / 1.85 on desktop */
@media (min-width: 375px) {
    .section-header .section-intro { font-size: 1rem; }
    .section :is(.info-card, .promise-tile, .coach-card, .testimonial-card) h3,
    .section .pricing-card__title {
        font-size: 1.125rem;
        line-height: 1.5;
        font-weight: 700;
        letter-spacing: 0;
    }
}
@media (min-width: 969px) {
    .section :is(.info-card, .promise-tile, .coach-card) h3,
    .section .pricing-card__title { font-size: 1.25rem; }
    .section :is(.info-card, .promise-tile, .coach-card, .pricing-card) p,
    .section :is(.info-card, .promise-tile) li,
    #class-flow .rhythm-step p {
        font-size: 1rem;
        line-height: 1.85;
    }
    .testimonial-card .testimonial-quote { font-size: 1.0625rem; line-height: 1.85; }
}

/* ---- B2 Alignment: card content and multi-line paragraphs start on the left ---- */
.section :is(.info-card, .promise-tile, .coach-card, .pricing-card, .testimonial-card),
.section-header .section-intro,
.section-header .section-intro--bullets,
.problem-resolution,
.cta-note,
.stage-note,
.fukuoka-proof-intro {
    text-align: left;
}
.section .promise-tile .promise-icon { margin-left: 0; margin-right: 0; }

/* ---- B3/B4 Cards → panels: one rounded panel per grid, 1px dividers, square cards, no drop shadow ---- */
.section :is(.info-card, .promise-tile, .coach-card, .pricing-card, .testimonial-card, .feature-card, .stage-card, .card) {
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.section :is(.info-card, .promise-tile, .coach-card, .pricing-card, .testimonial-card, .feature-card, .stage-card, .card):hover {
    transform: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
#why-boxing .solution-cards,
#safety .promise-grid,
#program-overview .card-grid,
#body-skills .card-grid,
#english-everywhere .card-grid,
#how-to-start .card-grid,
#problem .problem-grid,
#access .card-grid,
#faq .card-grid {
    gap: 1px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
#why-boxing .solution-cards > .info-card,
#safety .promise-grid > .promise-tile,
#program-overview .card-grid > .info-card,
#body-skills .card-grid > .info-card,
#english-everywhere .card-grid > .info-card,
#how-to-start .card-grid > .info-card,
#problem .problem-grid > .info-card,
#access .card-grid > .info-card,
#faq .card-grid > .info-card {
    border-radius: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    padding: 24px;
    height: 100%;
}
#why-boxing .solution-cards > .info-card:hover,
#safety .promise-grid > .promise-tile:hover,
#program-overview .card-grid > .info-card:hover,
#body-skills .card-grid > .info-card:hover,
#english-everywhere .card-grid > .info-card:hover,
#how-to-start .card-grid > .info-card:hover,
#problem .problem-grid > .info-card:hover,
#access .card-grid > .info-card:hover,
#faq .card-grid > .info-card:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
@media (min-width: 969px) {
    #why-boxing .solution-cards > .info-card,
    #safety .promise-grid > .promise-tile,
    #program-overview .card-grid > .info-card,
    #body-skills .card-grid > .info-card,
    #english-everywhere .card-grid > .info-card,
    #how-to-start .card-grid > .info-card,
    #problem .problem-grid > .info-card,
    #access .card-grid > .info-card { padding: 32px; }
    #faq .card-grid > .info-card { padding: 20px 28px; }
}
/* FAQ: one panel of rows */
#faq .card-grid > .info-card.faq-toggle { padding-top: 16px; padding-bottom: 16px; }
@media (min-width: 769px) { #faq .card-grid { gap: 1px; } }

/* ---- B5 Icons: no white tiles; the gradient-circle symbol sits top-left of the card ---- */
.section .card-icon,
.section .info-card:hover .card-icon {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 48px;
    height: 48px;
    margin: 0 0 4px;
    transform: none;
}
.section .card-icon svg { width: 48px; height: 48px; }
.section .promise-icon {
    width: 48px;
    height: 48px;
    box-shadow: none;
    margin: 0 0 16px;
}
.section .promise-icon svg,
.section .promise-icon .promise-icon__svg { width: 24px; height: 24px; }
@media (max-width: 600px) {
    #why-boxing .info-card:has(> .card-icon),
    #program-overview .info-card:has(> .card-icon) { grid-template-columns: 40px minmax(0, 1fr); }
    #why-boxing .info-card > .card-icon,
    #program-overview .info-card > .card-icon,
    #why-boxing .info-card > .card-icon svg,
    #program-overview .info-card > .card-icon svg { width: 40px; height: 40px; margin: 0; }
    #safety .promise-grid .promise-tile { grid-template-columns: 40px minmax(0, 1fr); padding: 20px 24px; }
    #safety .promise-grid .promise-tile > .promise-icon { width: 40px; height: 40px; margin: 0; }
}

/* ---- B6 Photos: 16px radius, no heavy shadow, fixed ratios ---- */
#why-boxing .why-boxing__visual, #safety .safety__visual, #program-overview .program-overview__visual,
#body-skills .body-skills__visual, #class-flow .class-flow__visual,
#why-boxing .why-boxing__mobile-card, #safety .safety__mobile-card, #program-overview .program-overview__mobile-card,
#body-skills .body-skills__mobile-card, #class-flow .class-flow__mobile-card,
.coach-card .coach-photo {
    border-radius: 16px;
    box-shadow: none;
}
@media (max-width: 968px) {
    #why-boxing .why-boxing__mobile-card img, #safety .safety__mobile-card img,
    #program-overview .program-overview__mobile-card img, #body-skills .body-skills__mobile-card img,
    #class-flow .class-flow__mobile-card img {
        aspect-ratio: 16 / 10;
        object-fit: cover;
        height: auto;
    }
    #why-boxing .why-boxing__mobile-card, #safety .safety__mobile-card, #program-overview .program-overview__mobile-card,
    #body-skills .body-skills__mobile-card, #class-flow .class-flow__mobile-card { max-width: none; }
}
@media (min-width: 969px) {
    #why-boxing .why-boxing__visual img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 560px; }
}

/* ---- B7 Hero: one straight photo; the rotator cross-fades by opacity only ---- */
.hero:not(.hero--b) .hero-visual::before { display: none; }
.hero:not(.hero--b) .hero-visual__item,
.hero:not(.hero--b) .hero-visual__item.is-primary,
.hero:not(.hero--b) .hero-visual__item.is-secondary,
.hero:not(.hero--b) .hero-visual__item.is-tertiary {
    transform: none;
    box-shadow: none;
    border-radius: 20px;
}
.hero:not(.hero--b) .hero-visual__item.is-secondary,
.hero:not(.hero--b) .hero-visual__item.is-tertiary { opacity: 0; }
.hero:not(.hero--b) .hero-visual__item.is-primary { opacity: 1; }
.hero:not(.hero--b) .hero-visual__image { border-radius: 14px; }
.hero:not(.hero--b) .hero-blob,
.hero:not(.hero--b) .hero-doodle--star { animation: none; }
.hero:not(.hero--b) .chip {
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 0.8125rem;
    box-shadow: none;
    letter-spacing: 0;
}
.hero:not(.hero--b) .chip:hover { transform: none; }
@media (min-width: 969px) {
    .hero:not(.hero--b) .hero-chips-group { justify-content: flex-start; gap: 8px; }
}
@media (max-width: 968px) {
    .hero:not(.hero--b) .hero-chips-group { gap: 8px; }
}

/* ---- B8 Buttons: 48px section pairs, no glow; −1px hover on buttons only ---- */
.section-cta .btn-pill,
.pricing-card .btn-pill {
    min-height: 48px;
    box-shadow: none;
}
.section-cta .btn-primary:hover, .section-cta .btn-secondary:hover,
.section-cta--overview .btn-secondary:hover, .pricing-card .btn-pill:hover {
    box-shadow: none;
    transform: translateY(-1px);
}
.btn-primary:hover, .btn-secondary:hover,
.section-cta .btn-primary:focus-visible, .section-cta .btn-secondary:focus-visible,
.header-cta.btn-primary:hover, .header-cta.btn-primary:focus-visible { transform: translateY(-1px); }
.hero:not(.hero--b) .hero-actions .btn-pill { box-shadow: none; }
@media (min-width: 969px) {
    /* split layouts: the CTA pair starts on the text column's left edge */
    #why-boxing .section-cta--center, #safety .safety__content .section-cta--center,
    #program-overview .program-overview__content .section-cta--center,
    #body-skills .body-skills__content .section-cta--center,
    #class-flow .class-flow__content .section-cta--center {
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
    }
    #why-boxing .section-cta .btn-pill, #safety .section-cta .btn-pill, #program-overview .section-cta .btn-pill,
    #body-skills .section-cta .btn-pill, #class-flow .section-cta .btn-pill { flex: 0 0 auto; }
}

/* ---- B10 Testimonials ---- */
.testimonial-card .testimonial-author {
    text-align: left;
    padding-top: 14px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
}

/* ---- B11 Motion: nothing loops ---- */
.hero-blob, .hero-doodle--star { animation: none; }

/* local-focus area cards keep their own tinted look (no ring: that region never painted one) */
.section#local-focus .local-focus-grid .info-card,
.section#local-focus .local-focus-grid .info-card:hover { box-shadow: none; }
@media (min-width: 969px) {
    #class-flow .class-flow__content .rhythm-stepper { gap: 14px; }
}
@media (min-width: 969px) {
    #class-flow .class-flow__content { gap: 16px; }
    #class-flow .rhythm-stepper .rhythm-step > h3 { margin: 6px 0 2px; }
    #class-flow .class-flow__content > .section-cta { margin-top: 4px; }
    #local-focus .local-focus-grid { gap: 16px; }
    #local-focus .local-focus-grid .info-card { padding: 24px; }
    #local-focus .section-cta { margin-top: 20px; }
}
@media (min-width: 601px) and (max-width: 968px) {
    #faq .card-grid > .info-card.faq-toggle { padding-top: 12px; padding-bottom: 12px; }
}
/* single-line notes under a centred CTA stay centred on desktop (split columns stay left, above) */
@media (min-width: 969px) {
    #how-to-start .cta-note--center,
    #english-everywhere .cta-note--center,
    #schedule .cta-note--center { text-align: center; }
}
/* pricing + coach: every line of card content starts on the left */
.section .pricing-card > :not(.pricing-badge),
.section .coach-card > :not(.coach-photo) { text-align: left; }
.section .pricing-card .pricing-card__price { justify-content: flex-start; }
.section .pricing-card .btn-pill { width: 100%; }
.section .pricing-card { align-items: stretch; text-align: left; }
/* hero stats band: its 2px border is the edge; the big purple glow goes */
.hero:not(.hero--b) .hero-social-proof { box-shadow: none; }
/* desktop spacing tuned so no section-closing CTA parks under the sticky bar at a nav-anchor position */
@media (min-width: 969px) {
    #faq .section-cta { margin-top: 48px; }
    #access .card-grid > .info-card:nth-child(2) { padding-top: 24px; padding-bottom: 40px; }
    #local-focus .section-header { margin-bottom: 28px; }
    #local-focus .local-focus-grid { gap: 12px; }
    #local-focus .local-focus-grid .info-card { padding: 20px 24px; }
    #local-focus .section-cta { margin-top: 16px; }
}
/* intros wrap into even lines instead of leaving a two-character last line */
.section-header .section-intro { text-wrap: balance; }

/* ==== Polish V2 — round 3 finishing (main session) ==== */
/* Phones: the intro under a centred title reads as one centred block (it was a narrow left-aligned
   block under a centred heading), and Japanese intros break at phrase boundaries (「安／心」→「安心」). */
@supports (word-break: auto-phrase) {
    .section-header .section-intro {
        word-break: auto-phrase;
        overflow-wrap: anywhere;
    }
}
@media (max-width: 600px) {
    .section-header .section-intro {
        text-align: center;
        margin-inline: auto;
    }
}

/* Phones/tablets (≤968): the header appears only after the hero headline scrolls past (the master's
   behaviour; main.js adds .header--visible). It overlays the page, so body keeps no top padding and
   nothing jumps when it slides in. Desktop keeps the always-visible header. */
@media (max-width: 968px) {
    html.js-enabled .header:not(.header--visible) {
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    html body,
    html body.header-is-visible {
        padding-top: 0;
    }
}

/* Small phones (≤360): compact hero — chips pair up two per row instead of stacking one per line,
   and a thinner photo frame (same gradient, less weight). */
@media (max-width: 360px) {
    .hero:not(.hero--b) .hero-chips-group { gap: 6px; }
    .hero:not(.hero--b) .chip {
        font-size: 0.75rem;
        padding: 4px 9px;
        min-height: 28px;
        letter-spacing: 0;
    }
    .hero:not(.hero--b) .hero-visual__item {
        border-width: 4px;
        padding: 2px;
    }
    .hero:not(.hero--b) .hero-visual__next {
        right: 8px;
        bottom: 8px;
    }
}

/* Phones (≤430): pair the short chips so the group wraps into three tidy rows instead of four or five
   (visual order only; chips are not focusable, markup order is unchanged). */
@media (max-width: 430px) {
    .hero:not(.hero--b) .chip.variant-location { order: 1; }
    .hero:not(.hero--b) .chip.variant-size { order: 2; }
    .hero:not(.hero--b) .chip.variant-method { order: 3; }
    .hero:not(.hero--b) .chip.variant-safety { order: 4; }
    .hero:not(.hero--b) .chip.variant-time { order: 5; }
}
