/* ============================================================
   TCAM FX — home page (index.html) layout & effects
   Requires css/fx.css + js/fx.js. Style only; markup/text unchanged.
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    --ball-size: clamp(150px, 17vw, 260px);
    --ball-right: 8%;
    --ball-top: 22%;
    position: relative; isolation: isolate; overflow: hidden;
    min-height: max(680px, 100svh); display: flex; align-items: center;
    padding: 0 !important; margin: 0 !important; background: var(--bg) !important;
}
.hero-slideshow { position: absolute; inset: 0; }
.hero .owl-carousel { position: absolute; inset: 0; z-index: auto; }
.hero .owl-carousel .owl-stage-outer, .hero .owl-carousel .owl-stage, .hero .owl-carousel .owl-item { height: 100%; }
.hero .owl-carousel .owl-item { overflow: hidden; } /* keep each zoomed slide inside its own frame */
.hero-slide {
    height: 100%; min-height: max(680px, 100svh); background-size: cover; background-position: center;
    transform: scale(1.18); filter: saturate(1.1) contrast(1.05);
}
.hero .owl-item.active .hero-slide { animation: fx-kenburns 9s ease-out forwards; }
@keyframes fx-kenburns { from { transform: scale(1.18) translate(1.5%, 1%); } to { transform: scale(1.02) translate(0, 0); } }

/* Colour wash + legibility gradient over the photos */
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(0deg, var(--bg) 0%, rgba(7, 6, 12, 0) 34%),
        linear-gradient(95deg, rgba(7, 6, 12, 0.96) 0%, rgba(7, 6, 12, 0.78) 38%, rgba(7, 6, 12, 0.35) 70%, rgba(7, 6, 12, 0.55) 100%),
        radial-gradient(60% 70% at 80% 20%, rgba(124, 92, 255, 0.35), transparent 70%),
        radial-gradient(50% 60% at 10% 90%, rgba(255, 61, 110, 0.3), transparent 70%);
}
.hero::after { content: none; }
.fx-hero-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fx-sparks { position: absolute; inset: 0; mix-blend-mode: screen; }
.fx-beam {
    position: absolute; top: -30%; width: 34vw; height: 150%; transform-origin: 50% 0;
    background: linear-gradient(180deg, rgba(255, 236, 200, 0.22), rgba(255, 200, 150, 0.05) 55%, transparent 80%);
    clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); filter: blur(10px); mix-blend-mode: screen; opacity: 0.8;
    animation: fx-sweep 11s ease-in-out infinite alternate;
}
.fx-beam-1 { left: 4%; }
.fx-beam-2 { right: 2%; animation-duration: 13s; animation-direction: alternate-reverse; opacity: 0.6; }
@keyframes fx-sweep { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } }

/* Orbit rings around the ball */
.fx-orbit {
    position: absolute; aspect-ratio: 1; border-radius: 50%;
    right: calc(var(--ball-right) + var(--ball-size) / 2); top: calc(var(--ball-top) + var(--ball-size) / 2);
    translate: 50% -50%; border: 1px dashed rgba(255, 255, 255, 0.16);
}
.fx-orbit-1 { width: calc(var(--ball-size) * 1.55); animation: fx-spin 30s linear infinite; }
.fx-orbit-2 { width: calc(var(--ball-size) * 2.2); border-style: solid; border-color: rgba(255, 122, 26, 0.16); animation: fx-spin 46s linear infinite reverse; }
.fx-orbit-2::before, .fx-orbit-1::before {
    content: ''; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--saffron); box-shadow: 0 0 14px 3px var(--saffron);
}
.fx-orbit-1::before { left: auto; right: -4px; width: 8px; height: 8px; background: var(--ball); box-shadow: 0 0 14px 3px var(--ball); }
.fx-orbit-3 { width: calc(var(--ball-size) * 2.9); border: 1.5px solid rgba(124, 92, 255, 0.22); transform: rotateX(72deg) rotateZ(0deg); animation: fx-ring 22s linear infinite; }
@keyframes fx-ring { to { transform: rotateX(72deg) rotateZ(360deg); } }

/* The floating tennis ball (#heroBall, shown by this stylesheet) */
.hero .fx-ball, #heroBall {
    display: block !important; position: absolute; z-index: 1; pointer-events: none;
    right: var(--ball-right); top: var(--ball-top); width: var(--ball-size); height: var(--ball-size); border-radius: 50%;
    background:
        radial-gradient(circle at 30% 26%, rgba(255, 255, 230, 0.95) 0%, rgba(240, 255, 150, 0.7) 9%, transparent 24%),
        radial-gradient(circle at 50% 50%, #e3ff52 0%, #c8f02a 45%, #8fb412 78%, #5e7808 100%);
    box-shadow: inset -22px -30px 50px rgba(30, 40, 0, 0.45), inset 10px 12px 30px rgba(255, 255, 255, 0.25),
                0 0 70px rgba(217, 255, 63, 0.45), 0 0 180px rgba(217, 255, 63, 0.22);
    translate: calc(var(--fx-px, 0) * -40px) calc(var(--fx-py, 0) * -40px);
    transition: translate 0.8s var(--ease);
    animation: fx-float 6.5s ease-in-out infinite;
}
#heroBall::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; opacity: 0.35; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.fx-ball-seam { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; animation: fx-spin 16s linear infinite; }
.fx-ball-seam svg { width: 100%; height: 100%; }
.fx-ball-seam path { fill: none; stroke: rgba(255, 255, 255, 0.88); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6)); }
.fx-ball-shine { position: absolute; inset: 8% 40% 50% 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 70%); filter: blur(4px); }
.fx-ball-shadow { display: none; }
@keyframes fx-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-26px) rotate(8deg); }
}
.fx-js:not(.fx-intro) #heroBall { opacity: 0; scale: 0.4; }
#heroBall { transition: translate 0.8s var(--ease), opacity 1.2s var(--ease) 0.3s, scale 1.4s var(--ease-back) 0.3s; }

/* Hero copy */
.hero-content {
    position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto;
    padding: calc(var(--header-h) + 3.5rem) var(--gutter) 7.5rem !important;
    text-align: left !important; background: none !important; border: 0 !important; box-shadow: none !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    transform: perspective(1400px) var(--fx-tilt, rotateY(0deg)); transition: transform 0.6s var(--ease);
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-start !important; margin: 0 0 1.8rem !important; }
.hero-headline {
    max-width: 12.5em; margin: 0 0 1.6rem !important;
    font-family: var(--f-display) !important; font-weight: 800 !important; font-size: clamp(2.5rem, 6.1vw, 5.7rem) !important;
    line-height: 1.0 !important; letter-spacing: -0.04em !important; color: var(--text) !important; text-align: left !important;
    filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.55)); /* filter, not text-shadow: split words clip shadows */
}
.hero-headline .accent { position: relative; display: inline-block; color: var(--saffron); }
.hero-headline .accent .fx-wi, .hero-headline .accent:not([data-fx-split]):not(:has(.fx-wi)) {
    background: var(--grad-wide); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent; animation: fx-grad-pan 7s linear infinite;
}
.hero-headline .accent::after {
    content: ''; position: absolute; left: 2%; right: 2%; bottom: -0.02em; height: 0.1em; border-radius: 1em;
    background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
    transition: transform 1.1s var(--ease) 1.1s; box-shadow: 0 0 24px rgba(255, 61, 110, 0.8);
}
.fx-intro .hero-headline .accent::after, html:not(.fx-js) .hero-headline .accent::after { transform: scaleX(1); }
.hero-sub {
    max-width: 640px; margin: 0 0 2.4rem !important; text-align: left !important;
    color: var(--muted) !important; font-size: clamp(1.05rem, 1.45vw, 1.24rem) !important; line-height: 1.7 !important;
}
.hero-sub b { color: var(--text); background: linear-gradient(transparent 62%, rgba(255, 122, 26, 0.35) 62%); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: flex-start !important; }
.hero-ctas .tcam-btn { padding: 1.1rem 1.8rem; }
.hero [data-fx="up"]:not(.fx-in) { transform: translateY(30px); }
.hero .hero-badges { --fx-d: 100ms; } .hero .hero-sub { --fx-d: 650ms; } .hero .hero-ctas { --fx-d: 850ms; }

/* Slideshow controls: progress bars + glass arrows */
.hero .owl-dots {
    position: absolute; z-index: 3; bottom: 46px; margin: 0 !important; display: flex; gap: 8px;
    left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.hero .owl-dot { padding: 6px 0 !important; background: none !important; border: 0; }
.hero .owl-dot span {
    position: relative; display: block; width: 26px !important; height: 3px !important; margin: 0 !important; overflow: hidden;
    border-radius: 3px !important; background: rgba(255, 255, 255, 0.22) !important; transition: width 0.5s var(--ease) !important;
}
.hero .owl-dot.active span { width: 64px !important; }
.hero .owl-dot.active span::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; animation: fx-load 5s linear forwards; }
.hero .owl-nav {
    position: absolute; z-index: 3; bottom: 30px; margin: 0 !important; display: flex; gap: 10px;
    right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.hero .owl-nav button.owl-prev, .hero .owl-nav button.owl-next {
    position: relative; width: 54px; height: 54px; margin: 0 !important; border-radius: 50% !important; cursor: pointer;
    background: rgba(255, 255, 255, 0.06) !important; border: 1px solid var(--line-2) !important;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.3s, transform 0.4s var(--ease-back), border-color 0.3s !important;
}
.hero .owl-nav button i { display: none; }
.hero .owl-nav button::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px;
    border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translate(-30%, -50%) rotate(-45deg);
}
.hero .owl-nav button.owl-next::before { transform: translate(-70%, -50%) rotate(135deg); }
.hero .owl-nav button:hover { background: var(--grad) !important; border-color: transparent !important; transform: scale(1.08); }
.fx-scroll-cue {
    position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 14px;
}
.fx-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ball); animation: fx-cue 1.8s var(--ease) infinite; }
@keyframes fx-cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── Stats band (overlaps the hero) ─────────────────────── */
section.stats {
    position: relative; z-index: 4; margin-top: -64px !important;
    padding: 0 var(--gutter) !important; background: transparent !important; border: 0 !important;
}
.stats .container { max-width: var(--wrap); padding: 0; }
.stats-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 !important; text-align: left;
    background: linear-gradient(160deg, rgba(30, 24, 58, 0.82), rgba(14, 11, 28, 0.9));
    border: 1px solid var(--line-2); border-radius: 28px; overflow: hidden;
    backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 122, 26, 0.06);
}
.stat-item { position: relative; padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.1rem, 2vw, 1.8rem); border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-item.fx-spot { transform: none !important; }
.stat-item h3 {
    margin: 0 0 0.35rem !important; font-family: var(--f-mono) !important; font-weight: 700 !important;
    font-size: clamp(2rem, 3.3vw, 3.1rem) !important; line-height: 1 !important; letter-spacing: -0.03em;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important;
}
.stat-item:first-child h3 { background: var(--grad-ball); -webkit-background-clip: text; background-clip: text; }
.stat-item p { margin: 0; color: var(--muted); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em; }
.stat-item::after {
    content: ''; position: absolute; left: clamp(1.1rem, 2vw, 1.8rem); bottom: 0; width: 0; height: 2px; background: var(--grad); transition: width 0.6s var(--ease);
}
.stat-item:hover::after { width: 50%; }

/* ── Shared section rhythm ──────────────────────────────── */
.pathway-section, .features, .why-cricket-section, .fixtures-section, .leadership-section, .gallery-section, .booking {
    position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0 !important; background: transparent !important; color: var(--text);
}
.pathway-section { padding-top: clamp(5rem, 10vw, 8rem) !important; }
.section-head { max-width: none; margin: 0 0 clamp(2.4rem, 5vw, 4rem) !important; text-align: left !important; }
.section-head-split { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 2rem 4rem; }
.section-head-split > p { justify-self: end; max-width: 460px; margin: 0 0 0.6rem; color: var(--muted); font-size: 1.05rem; }
.section-link {
    justify-self: end; align-self: end; display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.8rem;
    padding: 0.75rem 1.3rem; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--glass);
    color: var(--text) !important; font-weight: 700; font-size: 0.92rem;
    transform: translate(var(--tx, 0), var(--ty, 0)); transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.section-link:hover { border-color: var(--saffron); background: rgba(255, 122, 26, 0.12); box-shadow: 0 0 30px -6px rgba(255, 122, 26, 0.6); }

/* ── Pathway ────────────────────────────────────────────── */
.pathway-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; padding-top: 54px; }
.fx-path-line {
    position: absolute; top: 14px; left: 0; right: 0; height: 16px; pointer-events: none;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 4px, transparent 5px) 0 50% / 25% 16px repeat-x,
        linear-gradient(var(--line-2), var(--line-2)) center / 100% 2px no-repeat;
}
.fx-path-line span {
    position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--grad);
    transform-origin: 0 50%; transform: scaleX(var(--fx-p, 0)); box-shadow: 0 0 16px rgba(255, 61, 110, 0.9);
}
.fx-path-line span::after {
    content: ''; position: absolute; right: -7px; top: -6px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--ball); box-shadow: 0 0 18px 4px rgba(217, 255, 63, 0.8); transform: scaleX(calc(1 / max(var(--fx-p, 1), 0.02)));
}
.pathway-step { padding: 2.1rem 1.8rem 2.2rem; }
.pathway-step .num {
    display: block; margin-bottom: 1.4rem; font-family: var(--f-display); font-weight: 800; font-size: 3.6rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3); transition: -webkit-text-stroke-color 0.6s, filter 0.6s;
}
.pathway-step.is-lit .num {
    -webkit-text-stroke-color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 6px 22px rgba(255, 61, 110, 0.45));
}
.pathway-step h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.pathway-step p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.pathway-step.is-lit { border-color: rgba(255, 122, 26, 0.35); }
.tcam-card.is-accent {
    background: linear-gradient(150deg, rgba(255, 122, 26, 0.28), rgba(255, 61, 110, 0.18) 45%, rgba(124, 92, 255, 0.28));
    border-color: rgba(255, 140, 80, 0.4);
}
.tcam-card.is-accent p { color: rgba(255, 255, 255, 0.82); }

/* ── Features bento ─────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature-card:nth-child(1), .feature-card:nth-child(6) { grid-column: span 2; }
.feature-card { padding: 2.1rem 2rem; overflow: hidden; }
.feature-card:nth-child(1), .feature-card:nth-child(6) {
    background: linear-gradient(140deg, rgba(255, 122, 26, 0.14), rgba(124, 92, 255, 0.1) 60%, rgba(255, 255, 255, 0.02));
}
.feature-icon {
    width: 66px; height: 66px; margin-bottom: 1.5rem; border-radius: 20px; display: grid; place-items: center; font-size: 1.95rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)); border: 1px solid var(--line-2);
    box-shadow: 0 14px 34px -12px rgba(255, 61, 110, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: fx-bob 5s ease-in-out infinite; transition: transform 0.6s var(--ease-back);
}
.feature-card:nth-child(2) .feature-icon { animation-delay: -1s; } .feature-card:nth-child(3) .feature-icon { animation-delay: -2s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: -3s; } .feature-card:nth-child(5) .feature-icon { animation-delay: -4s; }
.feature-card:hover .feature-icon { transform: rotate(-12deg) scale(1.14); }
@keyframes fx-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ── Why tennis cricket ─────────────────────────────────── */
.why-tennis-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.why-tennis-card { display: flex; flex-direction: column; align-items: flex-start; padding: 2.1rem 2rem; }
.why-icon {
    position: relative; font-size: 2.3rem !important; line-height: 1; margin-bottom: 1.4rem;
    filter: drop-shadow(0 8px 20px rgba(255, 122, 26, 0.45)); transition: transform 0.6s var(--ease-back);
}
.why-icon::after {
    content: ''; position: absolute; z-index: -1; inset: -14px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.3), transparent 70%); transition: transform 0.6s var(--ease);
}
.why-tennis-card:hover .why-icon { transform: translateY(-6px) rotate(8deg) scale(1.12); }
.why-tennis-card:hover .why-icon::after { transform: scale(1.5); }
.why-tennis-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.why-tennis-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.why-badge {
    margin-top: 0.6rem; display: inline-flex; padding: 0.38rem 0.85rem; border-radius: var(--pill);
    font-family: var(--f-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ball);
    background: rgba(217, 255, 63, 0.08); border: 1px solid rgba(217, 255, 63, 0.3);
}

/* ── Fixtures teaser ────────────────────────────────────── */
.fixtures-card {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    padding: clamp(2rem, 4.5vw, 3.6rem) !important; border-radius: 36px !important; overflow: hidden;
    background:
        radial-gradient(40% 120% at 100% 0%, rgba(124, 92, 255, 0.45), transparent 70%),
        radial-gradient(40% 120% at 0% 100%, rgba(255, 122, 26, 0.35), transparent 70%),
        linear-gradient(120deg, rgba(255, 61, 110, 0.16), rgba(20, 16, 40, 0.6)) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
.fixtures-card .fx-copy { position: relative; z-index: 1; max-width: 720px; }
.fixtures-card h3 { font-size: clamp(1.4rem, 2.7vw, 2.3rem); line-height: 1.15; margin-bottom: 0.9rem; }
.fixtures-card p { color: rgba(255, 255, 255, 0.75); font-size: 1.04rem; margin: 0; }
.fixtures-card .tcam-btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ── Leadership ─────────────────────────────────────────── */
.leadership-section { background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.07) 25%, rgba(255, 61, 110, 0.05) 75%, transparent) !important; }
.leadership-intro { max-width: 900px; margin: 0 0 2.2rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.75; }
.leadership-bullets {
    list-style: none; margin: 0 0 clamp(3rem, 6vw, 4.5rem); padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.8rem;
}
.leadership-bullets li {
    position: relative; padding: 1rem 1.1rem 1rem 3.3rem; border-radius: 18px; background: var(--glass); border: 1px solid var(--line);
    color: var(--text); font-weight: 600; font-size: 0.95rem; line-height: 1.5; transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.leadership-bullets li::before {
    content: ''; position: absolute; left: 1rem; top: 1.05rem; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-ball);
    box-shadow: 0 0 16px rgba(217, 255, 63, 0.5);
}
.leadership-bullets li::after {
    content: ''; position: absolute; left: calc(1rem + 8px); top: calc(1.05rem + 5px); width: 6px; height: 11px;
    border-right: 2.5px solid #0b0f04; border-bottom: 2.5px solid #0b0f04; transform: rotate(45deg);
}
.leadership-bullets li:hover { border-color: rgba(217, 255, 63, 0.4); background: rgba(217, 255, 63, 0.05); transform: translateY(-3px); }
.leaders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.leader-card {
    position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 4 / 4.7; border-radius: 34px;
    border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.leader-card img {
    position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: center 20%;
    transform: translateY(var(--fx-py, 0px)) scale(1.04); transition: transform 1.2s var(--ease), filter 0.8s; filter: saturate(1.05);
}
.leader-card:hover img { transform: translateY(var(--fx-py, 0px)) scale(1.12); }
.leader-card::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 6, 12, 0) 35%, rgba(7, 6, 12, 0.7) 62%, rgba(7, 6, 12, 0.97) 100%);
}
.leader-card.fx-spot::before { z-index: 2; mix-blend-mode: screen; }
.leader-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(1.4rem, 3vw, 2.4rem); transform: translateZ(40px); }
.leader-role {
    display: inline-flex; margin-bottom: 0.9rem; padding: 0.4rem 0.85rem; border-radius: var(--pill);
    font-family: var(--f-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; color: #0b0f04; background: var(--grad-ball);
}
.leader-body h3 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); margin-bottom: 0.6rem; letter-spacing: -0.03em; }
.leader-body p { color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; max-width: 520px; }
.leader-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--saffron); font-weight: 800; font-size: 0.95rem; transition: gap 0.4s var(--ease), color 0.3s; }
.leader-card:hover .leader-link { color: var(--ball); letter-spacing: 0.01em; }

/* ── Gallery preview (masonry + reveal) ─────────────────── */
#gallery-preview .gallery-grid { column-count: 4; column-gap: 14px; }
#gallery-preview .gallery-item {
    position: relative; break-inside: avoid; margin: 0 0 14px; overflow: hidden; border-radius: 22px; cursor: zoom-in;
    border: 1px solid var(--line); background: var(--bg-3);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease), border-color 0.4s;
}
.fx-js #gallery-preview .gallery-item:not(.visible) { opacity: 0; transform: translateY(70px) scale(0.94); clip-path: inset(40% 0 0 0 round 22px); }
#gallery-preview .gallery-item:nth-child(4n+2) { transition-delay: 0.08s; } #gallery-preview .gallery-item:nth-child(4n+3) { transition-delay: 0.16s; } #gallery-preview .gallery-item:nth-child(4n+4) { transition-delay: 0.24s; }
#gallery-preview .gallery-item img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease), filter 0.6s; }
#gallery-preview .gallery-item::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s;
    background: linear-gradient(180deg, transparent 40%, rgba(255, 61, 110, 0.35)), radial-gradient(circle at 50% 50%, transparent 40%, rgba(7, 6, 12, 0.4));
}
#gallery-preview .gallery-item:hover { border-color: rgba(255, 122, 26, 0.5); }
#gallery-preview .gallery-item:hover img { transform: scale(1.1) rotate(1.2deg); filter: saturate(1.2) contrast(1.05); }
#gallery-preview .gallery-item:hover::after { opacity: 1; }

/* ── Booking ────────────────────────────────────────────── */
.booking { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
.cta-split { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cta-copy { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 1rem; }
.cta-copy::before {
    content: ''; position: absolute; z-index: -1; left: -6%; top: 50%; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 230, 0.5), transparent 22%), radial-gradient(circle, rgba(217, 255, 63, 0.4), rgba(61, 255, 197, 0.08) 55%, transparent 70%);
    filter: blur(2px); opacity: 0.45; animation: fx-float 8s ease-in-out infinite;
}
.cta-copy::after {
    content: ''; position: absolute; z-index: -1; left: -14%; top: 30%; width: 470px; height: 470px; border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.14); animation: fx-spin 40s linear infinite;
}
.cta-copy h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 1.4rem; }
.cta-copy p { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 460px; }
.booking-form {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem;
    padding: clamp(1.5rem, 3.5vw, 2.6rem); border-radius: 32px;
    border: 1px solid transparent !important;
    background: linear-gradient(rgba(17, 13, 34, 0.9), rgba(17, 13, 34, 0.9)) padding-box, var(--grad) border-box !important;
    box-shadow: 0 50px 100px -40px rgba(255, 61, 110, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.booking-form > * { grid-column: 1 / -1; }
.booking-form > .form-group:nth-of-type(1), .booking-form > .form-group:nth-of-type(2),
.booking-form > .form-group:nth-of-type(6), .booking-form > .form-group:nth-of-type(7) { grid-column: span 1; }
.booking-form label span { font-weight: 600; }
#ocrStatus, #duplicateMsg { border-radius: 12px !important; }

/* ── Coach registration modal (inline-styled markup) ────── */
#coachRegisterModal { background: rgba(5, 4, 12, 0.78) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
#coachRegisterModal > div {
    padding: clamp(1.4rem, 4vw, 2.4rem) !important; border-radius: 30px !important; border: 1px solid transparent !important;
    background: linear-gradient(rgba(20, 15, 40, 0.97), rgba(20, 15, 40, 0.97)) padding-box, var(--grad) border-box !important;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.7) !important; animation: fx-pop 0.65s var(--ease-back);
}
#coachRegisterModal h2 { font-family: var(--f-display) !important; font-size: 1.7rem; }
#closeCoachModal { width: 42px; height: 42px; border-radius: 50% !important; background: var(--glass-2) !important; cursor: pointer; transition: transform 0.5s var(--ease-back); }
#closeCoachModal:hover { transform: rotate(90deg); }
#coachRegisterForm button { padding: 0.8rem 1.4rem !important; cursor: pointer; font-weight: 700 !important; }
#coachRegisterForm button[type="submit"] { background: var(--grad) !important; color: #fff !important; box-shadow: 0 12px 30px -10px rgba(255, 61, 110, 0.8); }
@keyframes fx-pop { from { opacity: 0; transform: translateY(40px) scale(0.92); } to { opacity: 1; transform: none; } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
    .section-head-split { grid-template-columns: 1fr; }
    .section-head-split > p, .section-link { justify-self: start; }
    .pathway-grid { grid-template-columns: repeat(2, 1fr); padding-top: 0; }
    .fx-path-line { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .why-tennis-row { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item:nth-child(3) { border-right: 0; }
    .stat-item:nth-child(n+4) { border-top: 1px solid var(--line); }
    #gallery-preview .gallery-grid { column-count: 3; }
    .cta-split { grid-template-columns: 1fr; }
    .cta-copy { position: relative; top: 0; }
    .hero { --ball-right: 4%; --ball-top: 16%; }
}
@media (max-width: 720px) {
    .hero { --ball-size: 120px; --ball-right: -4%; --ball-top: 13%; min-height: 100svh; }
    .hero-content { padding: calc(var(--header-h) + 5.5rem) var(--gutter) 6.5rem !important; }
    .hero-headline { font-size: clamp(1.85rem, 8.4vw, 3.2rem) !important; }
    .hero-ctas .tcam-btn { width: 100%; }
    .hero .owl-nav { display: none; }
    .hero .owl-dots { bottom: 30px; }
    .fx-scroll-cue, .fx-beam-2, .fx-orbit-3 { display: none; }
    .fx-beam { width: 70vw; }
    section.stats { margin-top: -40px !important; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
    .stat-item:nth-child(-n+2) { border-top: 0; }
    .stat-item:nth-child(2n) { border-right: 0 !important; }
    .stat-item:last-child { grid-column: 1 / -1; border-right: 0 !important; }
    .pathway-grid, .features-grid, .why-tennis-row, .leaders-grid { grid-template-columns: 1fr; }
    .feature-card:nth-child(1), .feature-card:nth-child(6) { grid-column: auto; }
    .fixtures-card { flex-direction: column; align-items: flex-start; }
    .fixtures-card .tcam-btn { width: 100%; }
    #gallery-preview .gallery-grid { column-count: 2; column-gap: 10px; }
    #gallery-preview .gallery-item { margin-bottom: 10px; border-radius: 16px; }
    .booking-form { grid-template-columns: 1fr; }
    .booking-form > .form-group:nth-of-type(n) { grid-column: 1 / -1; }
    .leader-card { aspect-ratio: 4 / 5; }
    .cta-copy::before { width: 220px; height: 220px; left: auto; right: -10%; top: 0; }
    .cta-copy::after { display: none; }
}
