/* ==========================================================================
   Mr.BRAINIUS – The Mind Gym · main stylesheet
   Mobile-first. Sections: tokens → base → layout → components → sections → motion
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --black: #090909;
    --dark: #111111;
    --white: #ffffff;
    --light: #f3f3f5;
    --grey: #777777;
    --pink: #ef2450;
    /* Same hue, a touch deeper: used for small pink text / white-on-pink buttons to meet WCAG AA (4.5:1) */
    --pink-ink: #e3194a;

    --ink: #090909;
    --ink-2: rgba(9, 9, 9, .72);
    --ink-3: rgba(9, 9, 9, .58);
    --on-dark: #ffffff;
    --on-dark-2: rgba(255, 255, 255, .74);
    --on-dark-3: rgba(255, 255, 255, .56);
    --line: rgba(9, 9, 9, .09);
    --line-dark: rgba(255, 255, 255, .1);

    --grad-pink: linear-gradient(135deg, #ef2450 0%, #c3143b 100%);
    --grad-dark: linear-gradient(160deg, #161616 0%, #090909 60%);

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1rem;
    --fs-md: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
    --fs-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
    --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --fs-h2: clamp(2rem, 1.35rem + 2.9vw, 3.75rem);
    --fs-hero: clamp(2.35rem, 1.3rem + 4.6vw, 5.5rem);

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

    --shadow-sm: 0 2px 10px rgba(9, 9, 9, .05);
    --shadow: 0 18px 40px -18px rgba(9, 9, 9, .22);
    --shadow-lg: 0 40px 80px -30px rgba(9, 9, 9, .35);
    --shadow-pink: 0 18px 40px -14px rgba(239, 36, 80, .55);

    --gutter: 16px;
    --container: 1280px;
    --header-h: 76px;
    --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --header-h: 84px; }
}
@media (min-width: 1440px) {
    :root { --gutter: 40px; --container: 1320px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--pink); color: var(--white); }

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

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

.skip-link {
    position: fixed;
    left: 16px; top: -100px;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--pink-ink);
    color: var(--white);
    font-weight: 700;
    border-radius: 999px;
    transition: top .2s;
}
.skip-link:not(:focus) { clip-path: inset(50%); opacity: 0; pointer-events: none; }
.skip-link:focus { top: 16px; }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hl { color: var(--pink); }

/* ---------- 3. Layout ---------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: var(--section-y);
    overflow: hidden;
}
.section--light { background: var(--light); }
.section--dark { background: var(--black); color: var(--on-dark); }

/* Section heading */
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--left { margin-inline: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.1rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pink-ink);
}
.eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.section--dark .eyebrow, .eyebrow--dark { color: var(--pink); }

.sec-title {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.sec-lead {
    margin-top: 1.25rem;
    font-size: var(--fs-md);
    color: var(--ink-2);
    text-wrap: pretty;
}
.section--dark .sec-lead { color: var(--on-dark-2); }

/* ---------- 4. Components ---------- */

/* Buttons */
.btn {
    --btn-bg: var(--pink-ink);
    --btn-fg: var(--white);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 52px;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: .005em;
    line-height: 1.2;
    text-align: center;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1.5px solid transparent;
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--black);
    transform: translateY(101%);
    transition: transform .45s var(--ease);
    border-radius: inherit;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: var(--shadow-pink); }
.btn-primary:hover::before { transform: translateY(0); }
.section--dark .btn-primary::before,
.hero .btn-primary::before,
.records .btn-primary::before,
.mobile-menu .btn-primary::before { background: var(--white); }
.section--dark .btn-primary:hover,
.hero .btn-primary:hover,
.records .btn-primary:hover,
.mobile-menu .btn-primary:hover { color: var(--black); }

.btn-dark { --btn-bg: var(--black); }
.btn-dark::before { background: var(--pink-ink); }
.btn-dark:hover::before { transform: translateY(0); }

.btn-ghost-dark {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: rgba(9, 9, 9, .18);
}
.btn-ghost-dark::before { background: var(--black); }
.btn-ghost-dark:hover { color: var(--white); border-color: var(--black); }
.btn-ghost-dark:hover::before { transform: translateY(0); }
.btn-ghost-dark:hover .icon { transform: none; }

.btn-sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .875rem; }
.btn-lg { min-height: 58px; padding: 1rem 1.9rem; font-size: var(--fs-base); }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    color: var(--pink-ink);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
    padding-bottom: 3px;
    transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.check {
    display: inline-grid;
    place-items: center;
    width: 24px; height: 24px;
    flex: none;
    border-radius: 50%;
    background: rgba(239, 36, 80, .12);
    color: var(--pink-ink);
}
.check .icon { width: 14px; height: 14px; stroke-width: 3; }

.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--white);
    color: var(--pink);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--sm { width: 46px; height: 46px; border-radius: 14px; }

/* Logo tile: the supplied logo is black-on-white, so it always sits on a white tile */
.logo-tile {
    display: inline-grid;
    place-items: center;
    background: var(--white);
    border-radius: 14px;
    padding: 5px 9px;
    box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .45);
    transition: transform .4s var(--ease), padding .3s var(--ease);
}
.logo-tile img { height: 54px; width: auto; transition: height .3s var(--ease); }
.logo-tile--sm img { height: 46px; }
.logo-tile--lg { padding: 10px 16px; border-radius: 18px; }
.logo-tile--lg img { height: 96px; }

/* Card spotlight (pointer-follow glow), enabled by JS on fine pointers */
.spot { position: relative; isolation: isolate; }
.spot::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 36, 80, .10), transparent 45%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.spot:hover::after { opacity: 1; }
.spot--dark::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 36, 80, .22), transparent 45%); }

/* Decorative neural graphic */
.neural {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.neural-lines line { stroke: var(--pink); stroke-width: 1; }
.neural-dots circle { fill: var(--pink); }
.neural .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.6s var(--ease-in-out) infinite; }

/* ---------- 5. Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    color: var(--white);
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .3s var(--ease), backdrop-filter .4s;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 9, 9, .55), transparent);
    pointer-events: none;
    transition: opacity .4s;
}
.site-header.is-scrolled {
    --header-h: 68px;
    background: rgba(9, 9, 9, .86);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -24px rgba(0, 0, 0, .6);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .logo-tile img { height: 46px; }

.header-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand { display: inline-flex; border-radius: 14px; }
.brand:hover .logo-tile { transform: translateY(-1px) scale(1.02); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: clamp(1rem, .2rem + 1.3vw, 1.75rem); }
.nav-link {
    position: relative;
    display: inline-block;
    padding: .5rem 0;
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
    color: rgba(255, 255, 255, .86);
    transition: color .3s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="true"] { color: var(--white); }
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-cta { display: none; }

.menu-toggle {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    transition: background-color .3s;
}
.menu-toggle:hover { background: var(--pink-ink); border-color: var(--pink-ink); }
.menu-toggle-bars { display: grid; gap: 5px; width: 20px; }
.menu-toggle-bars span { display: block; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease); }
.menu-toggle-bars span:nth-child(2) { width: 70%; margin-left: auto; }
.menu-toggle:hover .menu-toggle-bars span:nth-child(2) { transform: translateX(-6px); }

@media (min-width: 640px) {
    .header-cta { display: inline-flex; }
}
@media (min-width: 1240px) {
    .main-nav { display: block; }
    .menu-toggle { display: none; }
}
@media (min-width: 1240px) and (max-width: 1359px) {
    .header-cta span { font-size: .8125rem; }
    .header-cta { padding-inline: 1rem; }
    .header-cta .icon { display: none; }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    color: var(--white);
    display: flex;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 100% 0%, rgba(239, 36, 80, .28), transparent 60%),
        var(--black);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.mobile-menu.is-open .mobile-menu-bg { opacity: 1; }
.mobile-menu-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-block: 14px 28px;
    overflow-y: auto;
}
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-close {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
}
.menu-close .icon { width: 22px; height: 22px; }
.menu-close:hover { background: var(--pink-ink); }
.mobile-links { margin-block: 2rem; display: grid; gap: .1rem; }
.mobile-links a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .55rem 0;
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    border-bottom: 1px solid var(--line-dark);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
}
.mobile-menu.is-open .mobile-links a { opacity: 1; transform: none; }
.mobile-links li:nth-child(1) a { transition-delay: .06s; }
.mobile-links li:nth-child(2) a { transition-delay: .1s; }
.mobile-links li:nth-child(3) a { transition-delay: .14s; }
.mobile-links li:nth-child(4) a { transition-delay: .18s; }
.mobile-links li:nth-child(5) a { transition-delay: .22s; }
.mobile-links li:nth-child(6) a { transition-delay: .26s; }
.mobile-links li:nth-child(7) a { transition-delay: .3s; }
.mobile-links li:nth-child(8) a { transition-delay: .34s; }
.mobile-links a:hover, .mobile-links a:focus-visible { color: var(--pink); }
.mobile-num { font-size: .8rem; font-weight: 700; color: var(--pink); letter-spacing: .05em; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 1.25rem; }
.mobile-contact { display: grid; gap: .6rem; font-size: var(--fs-sm); color: var(--on-dark-2); }
.mobile-contact a { display: inline-flex; align-items: center; gap: .6rem; }
.mobile-contact .icon { color: var(--pink); }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    max-height: 1100px;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s var(--ease-in-out), visibility 0s linear 1.1s;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.1s var(--ease-in-out), visibility 0s;
    z-index: 1;
}
.hero-media { position: absolute; inset: -4% 0; will-change: transform; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img {
    object-fit: cover;
    transform: scale(1.14);
    transition: transform 7s cubic-bezier(.25, .46, .45, .94);
}
.hero-slide.is-active .hero-media img { transform: scale(1.02); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 9, 9, .2) 0%, rgba(9, 9, 9, .15) 35%, rgba(9, 9, 9, .92) 100%),
        radial-gradient(900px 600px at 0% 100%, rgba(239, 36, 80, .3), transparent 60%);
}
@media (min-width: 768px) {
    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(9, 9, 9, .9) 0%, rgba(9, 9, 9, .66) 42%, rgba(9, 9, 9, .12) 78%),
            linear-gradient(180deg, rgba(9, 9, 9, .35) 0%, transparent 25%, transparent 70%, rgba(9, 9, 9, .7) 100%),
            radial-gradient(800px 600px at 0% 100%, rgba(239, 36, 80, .32), transparent 60%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 150px;
}
@media (min-width: 768px) {
    .hero-content { justify-content: center; padding-bottom: 120px; }
}
.hero-content > * { max-width: 820px; }

.hero-label {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: .75rem;
    padding: .45rem 1rem .45rem .45rem;
    margin-bottom: 1.5rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.hero-label-num {
    display: grid;
    place-items: center;
    min-width: 30px; height: 30px;
    padding-inline: 6px;
    border-radius: 999px;
    background: var(--pink);
    font-weight: 800;
    letter-spacing: 0;
}
.hero-title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.hero-text {
    margin-top: 1.4rem;
    max-width: 560px !important;
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, .82);
}
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Staggered text entrance per slide */
.hero-label, .hero-title, .hero-text, .hero-actions {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero-slide.is-active .hero-label { opacity: 1; transform: none; transition-delay: .35s; }
.hero-slide.is-active .hero-title { opacity: 1; transform: none; transition-delay: .5s; }
.hero-slide.is-active .hero-text { opacity: 1; transform: none; transition-delay: .68s; }
.hero-slide.is-active .hero-actions { opacity: 1; transform: none; transition-delay: .84s; }

.neural--hero {
    right: -8%;
    top: 8%;
    width: min(70vw, 760px);
    height: auto;
    opacity: .38;
    z-index: 2;
    display: none;
}
.neural--hero .neural-lines line { stroke: rgba(255, 255, 255, .5); }
.neural--hero .neural-dots circle { fill: rgba(255, 255, 255, .7); }
.neural--hero .neural-dots .pulse { fill: var(--pink); }
@media (min-width: 1024px) { .neural--hero { display: block; } }

.hero-orb {
    position: absolute;
    z-index: 2;
    right: 8%;
    bottom: 18%;
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(239, 36, 80, .5);
    pointer-events: none;
    display: none;
    animation: spin 30s linear infinite;
}
.hero-orb::before {
    content: "";
    position: absolute;
    top: -6px; left: 50%;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 24px 4px rgba(239, 36, 80, .7);
}
@media (min-width: 1024px) { .hero-orb { display: block; } }

.hero-controls {
    position: absolute;
    left: 0; right: 0;
    bottom: 32px;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}
.hero-dots { display: flex; gap: .5rem; flex: 1; max-width: 520px; }
.hero-dot {
    flex: 1;
    display: grid;
    gap: .55rem;
    padding: .5rem 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    transition: color .3s;
    min-width: 0;
}
.hero-dot:hover, .hero-dot.is-active { color: var(--white); }
.hero-dot-num { font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.hero-dot-bar { position: relative; display: block; height: 2px; background: rgba(255, 255, 255, .22); border-radius: 2px; overflow: hidden; }
.hero-dot-fill { position: absolute; inset: 0; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active .hero-dot-fill { animation: fill var(--hero-delay, 5s) linear forwards; }
.hero.is-hold .hero-dot.is-active .hero-dot-fill { animation-play-state: paused; }
.hero.is-static .hero-dot.is-active .hero-dot-fill { animation: none; transform: scaleX(1); }

.hero-arrows { display: flex; gap: .5rem; }
.hero-btn {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.hero-btn:hover { background: var(--pink-ink); border-color: var(--pink-ink); transform: translateY(-2px); }
.hero-btn .icon { width: 20px; height: 20px; }
.hero-btn .when-paused { display: none; }
.hero.is-paused .hero-btn .when-playing { display: none; }
.hero.is-paused .hero-btn .when-paused { display: block; }
@media (max-width: 479px) {
    .hero-dot-num { display: none; }
    .hero-arrows [data-hero-prev], .hero-arrows [data-hero-next] { display: none; }
    .hero-btn { width: 44px; height: 44px; }
}

.scroll-cue {
    position: absolute;
    z-index: 5;
    right: var(--gutter);
    top: 50%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    color: rgba(255, 255, 255, .7);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-cue-line { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue-line::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 1px; height: 40%;
    background: var(--pink);
    animation: scroll-line 2.2s var(--ease-in-out) infinite;
}
@media (min-width: 1240px) { .scroll-cue { display: flex; } }

/* ---------- 7. Intro ---------- */
.intro-grid { display: grid; gap: 3.5rem; align-items: center; }
.intro .sec-head { margin-bottom: 1.75rem; }
.intro-lead {
    font-size: var(--fs-lg);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.015em;
    margin-bottom: 1.25rem;
}
.intro-body { color: var(--ink-2); margin-bottom: 1rem; max-width: 620px; }

.equation {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
    padding: .55rem;
    border-radius: 999px;
    background: var(--light);
    box-shadow: inset 0 0 0 1px var(--line);
}
.eq-term {
    display: grid;
    place-items: center;
    min-width: 58px; height: 44px;
    padding-inline: 1rem;
    border-radius: 999px;
    background: var(--white);
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: var(--shadow-sm);
}
.eq-term--hl { background: var(--black); color: var(--white); }
.eq-term--hl::first-letter { color: var(--pink); }
.eq-op { font-weight: 800; color: var(--pink-ink); font-size: 1.25rem; }

.intro-visual {
    position: relative;
    min-height: 440px;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
}
.intro-ring {
    position: absolute;
    inset: 8% 6% 6% 12%;
    border-radius: 50%;
    border: 1.5px dashed rgba(239, 36, 80, .35);
    animation: spin 60s linear infinite;
}
.intro-photo {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--light);
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-photo--main { left: 0; top: 0; width: 72%; max-width: 370px; aspect-ratio: 370 / 300; transform: rotate(-3deg); }
.intro-photo--sub { right: 0; bottom: 0; width: 64%; max-width: 340px; aspect-ratio: 370 / 300; border: 6px solid var(--white); transform: rotate(2.5deg); }

.intro-badge {
    position: absolute;
    left: 4%;
    bottom: 14%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .8rem 1.1rem .8rem .8rem;
    border-radius: var(--radius);
    background: var(--black);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.intro-badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad-pink); }
.intro-badge strong { display: block; font-size: 1rem; line-height: 1.2; }
.intro-badge small { display: block; font-size: .75rem; color: var(--on-dark-3); }
.intro-brain {
    position: absolute;
    right: 8%;
    top: 4%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 66px; height: 66px;
    border-radius: 50%;
    background: var(--pink);
    color: var(--white);
    box-shadow: var(--shadow-pink);
}
.intro-brain .icon { width: 32px; height: 32px; }

@media (min-width: 1024px) {
    .intro-grid { grid-template-columns: 1.05fr .95fr; gap: 5rem; }
    .intro-visual { min-height: 520px; }
}

/* ---------- 8. Programs ---------- */
.coach-grid { display: grid; gap: 1.5rem; }
.coach-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.coach-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.coach-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.coach-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.coach-card:hover .coach-media img { transform: scale(1.06); }
.coach-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(9, 9, 9, .55)); }
.coach-tag {
    position: absolute;
    left: 1.25rem; bottom: 1.25rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: var(--white);
    font-size: .8125rem;
    font-weight: 700;
}
.coach-tag .icon { color: var(--pink); }
.coach-body { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; flex: 1; }
.coach-index {
    position: absolute;
    right: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    top: clamp(1.2rem, .8rem + 1.5vw, 2rem);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(239, 36, 80, .4);
}
.coach-title { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.coach-points { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.coach-points li { display: flex; gap: .85rem; align-items: flex-start; }
.coach-points strong { display: block; font-size: 1rem; line-height: 1.35; }
.coach-points li > span:last-child { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }
.coach-body .link-arrow { margin-top: auto; align-self: flex-start; }
@media (min-width: 768px) { .coach-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.topics {
    position: relative;
    margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
    padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
    border-radius: var(--radius-xl);
    background: var(--grad-dark);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}
.neural--topics { right: -60px; top: -80px; width: 420px; opacity: .22; z-index: -1; }
.topics-head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 2rem; }
.topics-icon { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 18px; background: var(--grad-pink); box-shadow: var(--shadow-pink); }
.topics-icon .icon { width: 30px; height: 30px; }
.topics-title { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.topics-lead { margin-top: .4rem; color: var(--on-dark-2); }
.topic-list { display: grid; gap: .75rem; grid-template-columns: 1fr; }
.topic {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-dark);
    font-weight: 600;
    font-size: var(--fs-sm);
    line-height: 1.35;
    transition: background-color .35s, border-color .35s, transform .45s var(--ease);
}
.topic .icon { color: var(--pink); width: 22px; height: 22px; }
.topic:hover { background: rgba(239, 36, 80, .12); border-color: rgba(239, 36, 80, .45); transform: translateY(-3px); }
@media (min-width: 560px) { .topic-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .topic-list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 9. Mentor ---------- */
.mentor { background: radial-gradient(1000px 700px at 15% 50%, rgba(239, 36, 80, .16), transparent 60%), var(--black); }
.neural--mentor { left: -120px; bottom: -120px; width: 620px; opacity: .14; }
.mentor-grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
.mentor-visual {
    position: relative;
    display: grid;
    place-items: end center;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1.05;
    margin-inline: auto;
}
.mentor-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.mentor-rings span { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
.mentor-rings span:nth-child(1) { width: 96%; aspect-ratio: 1; }
.mentor-rings span:nth-child(2) { width: 76%; aspect-ratio: 1; border-color: rgba(239, 36, 80, .4); border-style: dashed; animation: spin 50s linear infinite; }
.mentor-rings span:nth-child(3) { width: 56%; aspect-ratio: 1; }
.mentor-glow {
    position: absolute;
    left: 50%; top: 50%;
    width: 72%; aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(239, 36, 80, .85) 0%, rgba(239, 36, 80, .25) 45%, transparent 70%);
    filter: blur(10px);
}
.mentor-photo {
    position: relative;
    z-index: 1;
    width: 80%;
    max-width: 378px;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.mentor-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.3;
}
.mentor-chip .icon { width: 22px; height: 22px; color: var(--pink); }
.mentor-chip strong { color: var(--pink); }
.mentor-chip--a { left: -2%; top: 16%; }
.mentor-chip--b { right: -2%; bottom: 20%; }

.mentor-name { margin-bottom: .75rem; }
.mentor-designation { font-size: var(--fs-lg); font-weight: 600; line-height: 1.35; color: var(--on-dark); }
.mentor-role {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: rgba(239, 36, 80, .14);
    border: 1px solid rgba(239, 36, 80, .4);
    color: #ff9db3;
    font-size: var(--fs-sm);
    font-weight: 600;
}
.mentor-role .icon { color: var(--pink); }
.mentor-intro { margin-top: 1.5rem; color: var(--on-dark-2); max-width: 620px; }
.cred-list { display: grid; gap: .7rem; margin-top: 2rem; }
.cred {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .85rem 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-dark);
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1.45;
    transition: background-color .35s, border-color .35s, transform .45s var(--ease);
}
.cred:hover { background: rgba(239, 36, 80, .1); border-color: rgba(239, 36, 80, .4); transform: translateX(4px); }
.cred-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(239, 36, 80, .15); color: var(--pink); }
.cred-icon .icon { width: 20px; height: 20px; }
@media (min-width: 640px) {
    .cred-list { grid-template-columns: 1fr 1fr; }
    .cred:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .mentor-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
    .mentor-visual { max-width: 520px; }
}

/* ---------- 10. Achievements ---------- */
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-xl);
    background: var(--light);
    overflow: hidden;
}
.stat {
    position: relative;
    padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1rem, .5rem + 1.5vw, 2rem);
    text-align: center;
}
.stat:nth-child(odd)::after, .stat:nth-child(-n+2)::before { content: ""; position: absolute; background: var(--line); }
.stat:nth-child(odd)::after { right: 0; top: 20%; bottom: 20%; width: 1px; }
.stat:nth-child(-n+2)::before { left: 15%; right: 15%; bottom: 0; height: 1px; }
.stat-value {
    display: block;
    font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stat-suffix { color: var(--pink); }
.stat-label { display: block; margin-top: .65rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
@media (min-width: 900px) {
    .stats { grid-template-columns: repeat(4, 1fr); }
    .stat::before { display: none; }
    .stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
}

.tmsc {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 2rem;
    margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
    padding: clamp(2rem, 1.5rem + 3vw, 4rem);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
    text-align: center;
    overflow: hidden;
}
.tmsc-orbit { position: absolute; inset: 0; pointer-events: none; }
.tmsc-orbit span { position: absolute; border-radius: 50%; border: 1px solid rgba(239, 36, 80, .14); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.tmsc-orbit span:nth-child(1) { width: 380px; height: 380px; }
.tmsc-orbit span:nth-child(2) { width: 620px; height: 620px; border-style: dashed; animation: spin-c 80s linear infinite; }
.tmsc-orbit span:nth-child(3) { width: 880px; height: 880px; }
.tmsc-logo {
    position: relative;
    display: block;
    width: 150px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45);
    transition: transform .5s var(--ease);
}
.tmsc-logo:hover { transform: translateY(-4px) rotate(-1.5deg); }
.tmsc-logo img { width: 100%; }
.tmsc-copy { position: relative; max-width: 640px; }
.tmsc-copy .eyebrow { justify-content: center; }
.tmsc-copy .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.tmsc-title { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tmsc-text { margin: 1rem 0 1.25rem; color: var(--ink-2); }
@media (min-width: 900px) {
    .tmsc { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 3rem; align-items: center; }
    .tmsc-logo { width: 190px; }
    .tmsc-copy .eyebrow { justify-content: flex-start; }
    .tmsc-copy .eyebrow::after { display: none; }
    .tmsc-orbit span { left: 12%; }
}

/* ---------- 11. Why ---------- */
.why-grid { display: grid; gap: 1rem; }
.why-intro { padding-bottom: 1rem; }
.why-intro .sec-head { margin-bottom: 1.75rem; }
.why-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease);
}
.why-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.why-num {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--pink);
}
.why-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: .55rem; }
.why-text { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; transition: color .5s var(--ease); }
.why-card:hover { transform: translateY(-6px); background: var(--black); color: var(--white); box-shadow: var(--shadow-lg); }
.why-card:hover .why-text { color: var(--on-dark-2); }
.why-card:hover .icon-badge { background: var(--pink); color: var(--white); box-shadow: var(--shadow-pink); transform: rotate(-8deg) scale(1.05); }
.why-card.spot::after { z-index: 0; }
.why-card > * { position: relative; z-index: 1; }
@media (min-width: 640px) {
    .why-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .why-intro { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .why-intro { grid-column: span 2; padding-right: 2rem; padding-bottom: 0; align-self: center; }
}

/* ---------- 12. Challenges ---------- */
.challenges-grid { display: grid; gap: 3.5rem; align-items: start; }
.challenges-visual { position: relative; max-width: 560px; width: 100%; margin-inline: auto; padding-bottom: 4rem; }
.challenges-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 9 / 10; box-shadow: var(--shadow-lg); }
.challenges-photo img { width: 100%; height: 115%; object-fit: cover; margin-top: -7%; }
.quote-card {
    position: absolute;
    left: 6%; right: 6%; bottom: 0;
    padding: 1.6rem 1.6rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--grad-pink);
    color: var(--white);
    box-shadow: var(--shadow-pink);
}
.quote-icon { position: absolute; right: 1.25rem; top: -22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--black); }
.quote-icon .icon { width: 22px; height: 22px; }
.quote-card p { font-size: var(--fs-md); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.quote-card footer { margin-top: .8rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }

.challenge-list { display: grid; gap: .65rem; }
.challenge {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .95rem 1.1rem;
    border-radius: var(--radius);
    background: var(--light);
    border: 1px solid transparent;
    transition: background-color .35s, border-color .35s, transform .45s var(--ease), box-shadow .45s;
}
.challenge:hover { background: var(--white); border-color: rgba(239, 36, 80, .35); transform: translateX(6px); box-shadow: var(--shadow); }
.challenge-num { font-size: .875rem; font-weight: 800; color: var(--pink-ink); font-variant-numeric: tabular-nums; }
.challenge-title { font-weight: 700; line-height: 1.3; }
.challenge-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--white); color: var(--ink-3); transition: color .35s, background-color .35s; }
.challenge-icon .icon { width: 19px; height: 19px; }
.challenge:hover .challenge-icon { color: var(--white); background: var(--pink); }

.success-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--black);
    color: var(--white);
}
.success-title { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
@media (min-width: 640px) { .challenge-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .challenges-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
    .challenges-visual { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- 13. Outcomes ---------- */
.outcomes { background: radial-gradient(900px 500px at 90% 0%, rgba(239, 36, 80, .18), transparent 60%), var(--dark); }
.neural--outcomes { right: -140px; top: -100px; width: 640px; opacity: .14; }
.outcomes .container { position: relative; z-index: 1; }
.outcome-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.outcome {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line-dark);
    overflow: hidden;
    transition: transform .5s var(--ease), border-color .4s, background-color .4s;
}
.outcome:hover { transform: translateY(-6px); border-color: rgba(239, 36, 80, .5); background: rgba(255, 255, 255, .06); }
.outcome > * { position: relative; z-index: 1; }
.outcome.spot::after { z-index: 0; }
.outcome-num { position: absolute; right: 1.25rem; top: 1.1rem; font-size: .8rem; font-weight: 800; color: var(--on-dark-3); letter-spacing: .05em; }
.outcome-icon {
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    margin-bottom: 1.4rem;
    border-radius: 16px;
    background: rgba(239, 36, 80, .14);
    color: var(--pink);
    transition: background-color .4s, color .4s, transform .5s var(--ease), box-shadow .4s;
}
.outcome-icon .icon { width: 26px; height: 26px; }
.outcome:hover .outcome-icon { background: var(--pink); color: var(--white); transform: scale(1.06) rotate(-6deg); box-shadow: var(--shadow-pink); }
.outcome-title { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: .45rem; }
.outcome-text { font-size: var(--fs-sm); color: var(--on-dark-2); line-height: 1.55; }
@media (max-width: 559px) {
    /* Compact horizontal cards on phones: icon beside the text */
    .outcome-grid { gap: .75rem; }
    .outcome { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.15rem 1.1rem; }
    .outcome-icon { grid-row: span 2; margin-bottom: 0; width: 48px; height: 48px; }
    .outcome-title { margin-bottom: .2rem; padding-right: 1.5rem; }
    .outcome-num { top: .9rem; right: 1rem; }
}
@media (min-width: 560px) { .outcome-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
@media (min-width: 900px) { .outcome-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .outcome-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 14. Coaching modes ---------- */
.mode-grid { display: grid; gap: 1.5rem; }
.mode {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.mode:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mode--online { background: var(--black); color: var(--white); }
.mode--offline { background: var(--light); }
.mode-media { aspect-ratio: 16 / 10; overflow: hidden; }
.mode-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mode:hover .mode-media img { transform: scale(1.06); }
.mode-body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; flex: 1; }
.mode-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.mode-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--pink); color: var(--white); box-shadow: var(--shadow-pink); }
.mode-icon .icon { width: 26px; height: 26px; }
.mode-title { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.mode-list { display: grid; gap: .8rem; margin-bottom: 2rem; }
.mode-list li { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.mode--online .check { background: rgba(239, 36, 80, .2); color: var(--pink); }
.mode-body .btn { margin-top: auto; align-self: flex-start; }
.mode--online .btn-primary::before { background: var(--white); }
.mode--online .btn-primary:hover { color: var(--black); }
@media (min-width: 768px) { .mode-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

/* ---------- 15. World records ---------- */
.records {
    position: relative;
    padding-block: calc(var(--section-y) * 1.15);
    color: var(--white);
    background: var(--black);
    overflow: hidden;
    isolation: isolate;
}
.records-bg { position: absolute; inset: -12% 0; z-index: -2; }
.records-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
.records-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(9, 9, 9, .94) 0%, rgba(9, 9, 9, .8) 50%, rgba(9, 9, 9, .6) 100%),
        radial-gradient(700px 500px at 100% 100%, rgba(239, 36, 80, .4), transparent 60%);
}
.records-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.records-lines span {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 36, 80, .7), transparent);
    animation: sweep 7s var(--ease-in-out) infinite;
    opacity: .5;
}
.records-lines span:nth-child(1) { top: 22%; }
.records-lines span:nth-child(2) { top: 58%; animation-delay: 2.3s; }
.records-lines span:nth-child(3) { top: 86%; animation-delay: 4.6s; }
.records-grid { display: grid; gap: 3.5rem; align-items: center; }
.records-copy .sec-title { margin-bottom: 1.5rem; }
.records-text { color: var(--on-dark-2); margin-bottom: 1rem; max-width: 640px; }
.record-bodies { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, .5rem + 2vw, 2rem); }
.record-body {
    width: clamp(110px, 24vw, 170px);
    aspect-ratio: 1;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 60px -10px rgba(239, 36, 80, .5);
}
.record-body img { width: 100%; height: 100%; border-radius: 50%; }
@media (min-width: 1024px) {
    .records-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; }
    .record-bodies { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; }
    .record-body:nth-child(1) { grid-column: 1 / -1; }
    .record-body { width: 180px; }
}

/* ---------- 16. Franchise ---------- */
.franchise-grid { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.franchise-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem 1.2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
    overflow: hidden;
}
.franchise-card > * { position: relative; z-index: 1; }
.franchise-card.spot::after { z-index: 0; }
.franchise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.franchise-card:hover .icon-badge { background: var(--pink); color: var(--white); transform: rotate(-8deg); }
.franchise-num {
    position: absolute;
    right: 1rem; top: .6rem;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -.05em;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(239, 36, 80, .35);
    line-height: 1;
}
.franchise-title { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
@media (min-width: 768px) { .franchise-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } .franchise-card { padding: 1.75rem; } .franchise-title { font-size: 1.125rem; } }
@media (min-width: 1100px) { .franchise-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 17. Gallery ---------- */
.masonry { columns: 2; column-gap: .75rem; }
.masonry-item { break-inside: avoid; margin-bottom: .75rem; }
.gallery-link {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--light);
}
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.gallery-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(9, 9, 9, .65));
    opacity: 0;
    transition: opacity .5s var(--ease);
}
.gallery-zoom {
    position: absolute;
    z-index: 2;
    left: 50%; top: 50%;
    display: grid;
    place-items: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--pink);
    color: var(--white);
    transform: translate(-50%, -50%) scale(.6);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .4s;
}
.gallery-zoom .icon { width: 24px; height: 24px; }
.gallery-link:hover img, .gallery-link:focus-visible img { transform: scale(1.08); }
.gallery-link:hover::after, .gallery-link:focus-visible::after { opacity: 1; }
.gallery-link:hover .gallery-zoom, .gallery-link:focus-visible .gallery-zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 559px) { .gallery-link { border-radius: var(--radius); } .gallery-zoom { width: 44px; height: 44px; } }
@media (min-width: 560px) { .masonry { column-gap: 1.25rem; } .masonry-item { margin-bottom: 1.25rem; } }
@media (min-width: 1024px) { .masonry { columns: 3; column-gap: 1.5rem; } .masonry-item { margin-bottom: 1.5rem; } }

/* Lightbox */
.lightbox {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    overflow: hidden;
}
.lightbox::backdrop { background: rgba(9, 9, 9, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; animation: fade-in .35s var(--ease); }
.lightbox-inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 72px 16px 24px; }
.lightbox-figure { display: grid; justify-items: center; gap: 1rem; max-width: min(1000px, 100%); }
.lightbox-img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 200px);
    min-width: min(100%, 560px);
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7);
    transition: opacity .3s, transform .4s var(--ease);
}
.lightbox-img.is-loading { opacity: 0; transform: scale(.97); }
.lightbox-caption { display: flex; gap: 1rem; align-items: baseline; font-size: var(--fs-sm); color: var(--on-dark-2); text-align: center; max-width: 640px; }
.lightbox-count { font-weight: 800; color: var(--pink); white-space: nowrap; }
.lightbox-btn {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    transition: background-color .3s, transform .3s var(--ease);
}
.lightbox-btn:hover { background: var(--pink-ink); border-color: var(--pink-ink); }
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-close { right: 16px; top: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
    .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
    .lightbox-inner { padding-bottom: 96px; }
}

/* ---------- 18. Contact ---------- */
.contact { background: radial-gradient(900px 600px at 0% 0%, rgba(239, 36, 80, .2), transparent 60%), var(--black); }
.neural--contact { left: 30%; top: -160px; width: 600px; opacity: .1; }
.contact-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: .85rem; }
.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-dark);
    transition: border-color .35s, background-color .35s;
}
.contact-card:hover { border-color: rgba(239, 36, 80, .45); background: rgba(239, 36, 80, .07); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--grad-pink); box-shadow: var(--shadow-pink); }
.contact-icon .icon { width: 22px; height: 22px; }
.contact-meta { display: grid; gap: .15rem; min-width: 0; }
.contact-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.contact-meta a { font-weight: 700; font-size: 1.0625rem; overflow-wrap: anywhere; transition: color .25s; }
.contact-meta a:hover { color: var(--pink); }

.contact-mentor {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-dark);
}
.contact-mentor img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--pink); }
.contact-mentor-name { font-weight: 800; font-size: 1.125rem; color: var(--pink); }
.contact-mentor-role { font-size: var(--fs-sm); color: var(--on-dark-2); line-height: 1.45; }

.form-card {
    padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
    border-radius: var(--radius-xl);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6);
}
.form-title { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.form-sub { margin: .5rem 0 1.5rem; font-size: var(--fs-sm); color: var(--ink-2); }
.req { color: var(--pink-ink); }
.enquiry-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; gap: 1.1rem; }
.field label { font-size: .875rem; font-weight: 700; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 52px;
    padding: .8rem 1rem;
    border-radius: 14px;
    border: 1.5px solid rgba(9, 9, 9, .14);
    background: var(--light);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color .25s, background-color .25s, box-shadow .25s;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 30px;
    color: gray;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(9, 9, 9, .3); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--pink);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(239, 36, 80, .15);
}
.mb-5{
margin-bottom:30px;
}
.field [aria-invalid="true"] { border-color: var(--pink-ink); background: #fff5f7; }
.select-wrap { position: relative; }
.select-wrap::after {
    content: "";
    position: absolute;
    right: 1.1rem; top: 50%;
    width: 9px; height: 9px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.select-wrap select { padding-right: 2.75rem; cursor: pointer; }
.field-error { font-size: .8125rem; font-weight: 600; color: var(--pink-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8125rem; color: var(--ink-3); text-align: center; }
.form-status {
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.5;
    border: 1.5px solid transparent;
}
.form-status.is-sent { background: #f0f0f2; border-color: var(--black); color: var(--black); }
.form-status.is-sent::before { content: "✓  "; color: var(--pink-ink); font-weight: 800; }
.form-status.is-error, .form-status.is-invalid { background: #fff1f4; border-color: rgba(227, 25, 74, .45); color: #a50f33; }
.enquiry-form button[aria-busy="true"] { pointer-events: none; opacity: .75; }
.enquiry-form button[aria-busy="true"] .icon { animation: spin 1s linear infinite; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; } }

/* ---------- 19. Footer ---------- */
.site-footer {
    position: relative;
    padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
    background: var(--black);
    color: var(--on-dark-2);
    border-top: 1px solid var(--line-dark);
    overflow: hidden;
}
.footer-glow { position: absolute; right: -200px; bottom: -300px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 36, 80, .22), transparent 65%); pointer-events: none; }
.footer-top { position: relative; display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1.25rem; max-width: 380px; font-size: var(--fs-sm); }
.footer-affil a { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.footer-heading { margin-bottom: 1.1rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: var(--fs-sm); transition: color .25s, padding .3s var(--ease); }
.footer-col a:hover { color: var(--pink); }
.footer-col nav a:hover, .footer-col > ul:not(.footer-contact) a:hover { padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: .65rem; }
.footer-contact .icon { color: var(--pink); width: 18px; height: 18px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-social { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.footer-social a { padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line-dark); font-size: var(--fs-xs); font-weight: 700; }
.footer-bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--line-dark);
    font-size: .8125rem;
    color: var(--on-dark-3);
}
.footer-bottom a { color: var(--on-dark-2); font-weight: 600; }
.footer-bottom a:hover { color: var(--pink); }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } .footer-brand { grid-column: auto; } }

.to-top {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--pink-ink);
    color: var(--white);
    box-shadow: var(--shadow-pink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s, background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--black); }
.to-top .icon { width: 22px; height: 22px; }

/* ---------- 20. Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-c { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(2.2); opacity: .35; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@keyframes sweep { 0%, 100% { transform: translateX(-30%); opacity: 0; } 50% { transform: translateX(30%); opacity: .6; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.float-slow { animation: float 7s var(--ease-in-out) infinite; }
.float-med { animation: float 5.5s var(--ease-in-out) infinite .8s; }

/* Initial states for scroll reveals: only when JS + GSAP are running and motion is allowed.
   main.js removes `.js` styles by adding `.anim-ready` / `.no-anim` as appropriate. */
@media (prefers-reduced-motion: no-preference) {
    .js.anim-ready [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(40px); }
    .js.anim-ready [data-reveal-mask]:not(.is-revealed) { clip-path: inset(100% 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        transition-delay: 0s !important;
    }
    .hero-slide { transition: opacity .4s linear !important; }
    .hero-media img, .hero-slide.is-active .hero-media img { transform: none; }
}
