/* ============================================
   HVPT — Harry Vine Personal Training
   Main Stylesheet | Mobile-first
   ============================================ */

/* --- Design Tokens --- */
:root {
    --blue: #003E63;
    --red: #ad0005;
    --white: #FFFFFF;
    --gray: #6C757D;
    --green: #28a745;
    --orange: #ffc107;

    --blue-dark: #00263d;
    --red-dark: #8a0004;
    --red-hover: #c40006;
    --off-white: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-body: #333333;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-500: #6C757D;
    --gray-600: #555555;
    --gray-900: #1a1a1a;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);

    --header-height: 70px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Utility: Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 700;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.btn-sm {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    min-height: 44px;
}

.btn-md {
    font-size: 0.9375rem;
    padding: 0.625rem 1.5rem;
    min-height: 44px;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.875rem 2rem;
    min-height: 44px;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--blue);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 62, 99, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(0, 62, 99, 1);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
    height: 100%;
}

.nav-logo {
    z-index: 1001;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 52px;
    width: auto;
    transition: opacity 0.2s ease;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.85;
}

/* Hamburger */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Hamburger open state */
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--blue-dark);
    padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-lg);
    padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.3s ease;
    z-index: 1000;
}

.nav-menu.open {
    right: 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active {
    font-weight: 700;
}

.dropdown-arrow {
    margin-left: 4px;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

/* Mobile dropdown */
.dropdown-menu {
    display: none;
    padding-left: var(--space-sm);
}

.nav-dropdown.open .dropdown-menu {
    display: block;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.dropdown-menu a:hover {
    color: var(--white);
}

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-actions .btn {
    width: 100%;
}

.nav-actions .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-actions .btn-outline:hover {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    padding: 0 var(--space-sm);
    background:
        linear-gradient(
            135deg,
            var(--blue-dark) 0%,
            var(--blue) 40%,
            #004d7a 70%,
            var(--blue-dark) 100%
        );
    overflow: hidden;
}

/* Animated background texture — placeholder for real photo/video */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(173, 0, 5, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    z-index: 1;
}

/* Subtle diagonal lines for texture */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.015) 40px,
        rgba(255, 255, 255, 0.015) 41px
    );
    z-index: 1;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50%;
    width: auto;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    filter: brightness(0) invert(1);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 720px;
    padding: 0 var(--space-sm);
}

.hero-headline {
    font-size: clamp(2.25rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

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

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--blue);
    padding: var(--space-lg) var(--space-sm);
}

.stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    max-width: 960px;
    margin: 0 auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--red);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   WHAT WE OFFER — Cards
   ============================================ */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--blue);
    text-align: center;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.offers {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-sm);
}

.offers-container {
    max-width: 1100px;
    margin: 0 auto;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.offer-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.offer-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 62, 99, 0.08);
    color: var(--blue);
    margin-bottom: var(--space-md);
}

.offer-icon--red {
    background: rgba(173, 0, 5, 0.08);
    color: var(--red);
}

.offer-icon--teal {
    background: rgba(26, 138, 138, 0.08);
    color: #1a8a8a;
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: var(--space-xs);
}

.offer-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: var(--space-md);
}

.offer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--red);
    padding: 0.5rem 1.25rem;
    min-height: 44px;
    border: 2px solid var(--red);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.offer-link:hover {
    background: var(--red);
    color: var(--white);
}

/* ============================================
   RESPONSIVE — Tablet (640px+)
   ============================================ */
@media (min-width: 640px) {
    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }

    .hero-content {
        padding: 0 var(--space-lg);
    }

    .stats-container {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-2xl);
    }

    .stat-number {
        font-size: 3.25rem;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    /* About page — tablet */
    .about-headshot {
        width: 180px;
        height: 180px;
    }

    .story-figure {
        max-width: 180px;
    }

    .story-figure--right {
        float: right;
        margin: var(--space-sm) 0 var(--space-xs) 24px;
    }

    .story-figure--left {
        float: left;
        margin: var(--space-sm) 24px var(--space-xs) 0;
    }

    .story-gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    /* Classes page — tablet */
    .class-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .class-logo {
        width: 180px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-extras {
        grid-template-columns: repeat(2, 1fr);
    }

    .trial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rules-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mentors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .day-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    /* PT page — tablet */
    .pt-why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pt-booking-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-audience {
        padding: var(--space-xl) var(--space-md);
    }

    .pt-audience-container {
        padding: 0 var(--space-sm);
    }

    .pt-audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Academy page — tablet */
    .academy-stats-container {
        flex-wrap: nowrap;
        gap: var(--space-2xl);
    }

    .academy-levels {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Leaderboard page — tablet */
    .lb-prizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lb-annual-prizes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lb-how-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Gallery — tablet */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Blog — tablet */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Shop — tablet */
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   ABOUT HARRY TEASER
   ============================================ */
.about-teaser {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.about-teaser-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-teaser-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-teaser-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
}

.about-teaser-heading {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.about-teaser-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.about-teaser-link {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-xs);
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    min-height: 44px;
    transition: color 0.2s ease;
}

.about-teaser-link:hover {
    color: var(--red-hover);
}

/* ============================================
   CLASS SCHEDULE PREVIEW
   ============================================ */
.schedule-preview {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-sm);
}

.schedule-container {
    max-width: 1100px;
    margin: 0 auto;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.schedule-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-md) var(--space-md) 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    border-left: 4px solid transparent;
    overflow: hidden;
}

.schedule-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Accent bar colours */
/* Class accent colours — consistent across site */
.schedule-card--hiit     { border-left-color: var(--red); }
.schedule-card--peak     { border-left-color: var(--blue); }
.schedule-card--power    { border-left-color: #2d2d2d; }
.schedule-card--mobility { border-left-color: #1a8a8a; }

.schedule-card-body {
    flex: 1;
    min-width: 0;
    padding-left: var(--space-sm);
}

.schedule-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.125rem;
}

.schedule-datetime {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.schedule-availability {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.schedule-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.schedule-dot--plenty  { background: var(--green); }
.schedule-dot--filling { background: var(--orange); }
.schedule-dot--almost  { background: var(--red); }

.schedule-spaces {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray);
}

.schedule-card .btn {
    flex-shrink: 0;
}

/* On narrow screens, stack schedule card content vertically */
@media (max-width: 480px) {
    .schedule-card {
        flex-wrap: wrap;
    }

    .schedule-card-body {
        flex: 1 1 100%;
    }

    .schedule-card .btn {
        margin-left: auto;
    }
}

.schedule-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray);
    margin-top: var(--space-lg);
    font-style: italic;
}

.schedule-footer {
    text-align: center;
    margin-top: var(--space-sm);
}

/* ============================================
   LEADERBOARD TEASER
   ============================================ */
.leaderboard-teaser {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
    text-align: center;
}

.leaderboard-container {
    max-width: 640px;
    margin: 0 auto;
}

.section-title--light {
    color: var(--white);
}

/* Podium layout */
.podium {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.podium-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.podium-medal {
    font-size: 2rem;
    line-height: 1;
}

.podium-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

@media (max-width: 420px) {
    .podium-name {
        font-size: 0.8125rem;
    }

    .podium-medal {
        font-size: 1.5rem;
    }

    .podium-bar--1st { height: 80px; }
    .podium-bar--2nd { height: 56px; }
    .podium-bar--3rd { height: 40px; }
}

.podium-sessions {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-xs);
}

.podium-bar {
    width: 100%;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-xs);
}

.podium-bar--1st {
    background: var(--red);
    height: 100px;
}

.podium-bar--2nd {
    background: rgba(255, 255, 255, 0.15);
    height: 72px;
}

.podium-bar--3rd {
    background: rgba(255, 255, 255, 0.1);
    height: 52px;
}

.leaderboard-hook {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.leaderboard-cta {
    display: flex;
    justify-content: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm);
}

.testimonials-container {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-mark {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--red);
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: -0.25rem;
}

.testimonial-quote {
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--blue);
    margin: 0;
    flex: 1;
}

.testimonial-divider {
    width: 40px;
    height: 2px;
    background: var(--red);
    margin: var(--space-md) 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray);
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.testimonial-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-tenure {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: var(--red);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
}

.cta-banner-heading {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-banner-btn {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.cta-banner-btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* ============================================
   PAGE HERO (Sub-pages)
   ============================================ */
.page-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35vh;
    padding: calc(var(--header-height) + var(--space-2xl)) var(--space-sm) var(--space-2xl);
    background:
        linear-gradient(
            135deg,
            var(--blue-dark) 0%,
            var(--blue) 40%,
            #004d7a 70%,
            var(--blue-dark) 100%
        );
    text-align: center;
}

.page-hero-headline {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.page-hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* ============================================
   ABOUT — Harry's Story (Prose Layout)
   ============================================ */
.about-story {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm) var(--space-lg);
}

.about-story-container {
    max-width: 720px;
    margin: 0 auto;
}

/* Prose — flowing text with inline figures */
.story-prose {
    overflow: hidden;
}

.story-prose p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: var(--space-sm);
}

.story-prose p:last-child {
    margin-bottom: 0;
}

/* Inline figures — small thumbnails within text */
.story-figure {
    max-width: 180px;
    margin: var(--space-sm) 0 var(--space-xs) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.story-figure-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* Photo gallery — framed section between story & philosophy */
.story-gallery {
    background: var(--off-white);
    padding: var(--space-lg) var(--space-sm);
}

.story-gallery-container {
    max-width: 720px;
    margin: 0 auto;
}

.story-gallery-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: var(--space-sm);
}

.story-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
}

.story-gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.story-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* ============================================
   ABOUT — Coaching Philosophy
   ============================================ */
.about-philosophy {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.about-philosophy-container {
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.philosophy-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.philosophy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    flex-shrink: 0;
}

.philosophy-text {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-style: italic;
}

/* ============================================
   ABOUT — Qualifications
   ============================================ */
.about-quals {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-sm);
}

.about-quals-container {
    max-width: 900px;
    margin: 0 auto;
}

.quals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.qual-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.qual-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
}

.qual-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.about-quals-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray);
    margin-top: var(--space-md);
}

/* Lead qualification — highlighted card */
.qual-lead {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--red);
}

.qual-lead-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    flex-shrink: 0;
}

.qual-lead-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.qual-lead-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
}

.qual-lead-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.qual-lead-detail {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.qual-lead-org {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}

/* ============================================
   ABOUT — Career History
   ============================================ */
.about-career {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm);
}

.about-career-container {
    max-width: 900px;
    margin: 0 auto;
}

.career-timeline {
    position: relative;
    padding-left: 2rem;
}

.career-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 3px;
    background: var(--blue);
    border-radius: 2px;
}

.career-entry {
    position: relative;
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-sm);
    background: var(--off-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    border-top: 4px solid var(--red);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.career-entry:last-child {
    margin-bottom: 0;
}

.career-entry::before {
    content: '';
    position: absolute;
    left: calc(-2rem + 2px);
    top: var(--space-lg);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--blue);
}

.career-dates {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 0.25rem;
}

.career-role {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.career-org {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: var(--space-xs);
}

.career-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* ============================================
   ABOUT — Mentors
   ============================================ */
.about-mentors {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-sm);
}

.about-mentors-container {
    max-width: 1100px;
    margin: 0 auto;
}

.mentors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.mentor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border-top: 4px solid var(--blue);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mentor-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.125rem;
}

.mentor-role {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.mentor-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* ============================================
   ABOUT — A Session With Harry
   ============================================ */
.about-day {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.about-day-container {
    max-width: 1100px;
    margin: 0 auto;
}

.day-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.day-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.day-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.day-step-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.day-step-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   PAGE FAQ
   ============================================ */
.page-faq {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm);
}

.page-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red);
    flex-shrink: 0;
    margin-left: var(--space-sm);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: '\2212';
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-answer {
    padding: 0 var(--space-md) var(--space-md);
}

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* ============================================
   PAGE HERO — Photo variant
   ============================================ */
.page-hero--photo {
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 38, 61, 0.88) 0%,
        rgba(0, 62, 99, 0.8) 50%,
        rgba(0, 38, 61, 0.88) 100%
    );
    z-index: 1;
}

.page-hero--photo .page-hero-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   CLASSES — Class Type Cards
   ============================================ */
.classes-types {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm);
}

.classes-types-container {
    max-width: 1100px;
    margin: 0 auto;
}

.class-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.class-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.class-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.class-card-accent {
    height: 4px;
}

.class-card--hiit .class-card-accent     { background: var(--red); }
.class-card--peak .class-card-accent     { background: var(--blue); }
.class-card--power .class-card-accent    { background: #2d2d2d; }
.class-card--mobility .class-card-accent { background: #1a8a8a; }

.class-card-body {
    padding: var(--space-md);
}

.class-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: var(--space-xs);
}

.class-card--hiit .class-card-icon     { color: var(--red); }
.class-card--mobility .class-card-icon { color: #1a8a8a; }

.class-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: var(--space-xs, 8px);
}

.class-card-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.class-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: var(--space-sm);
}

.class-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    background: var(--off-white);
    color: var(--gray);
}

.class-card-badge--level {
    background: rgba(40, 167, 69, 0.1);
    color: var(--green);
}

.class-card-badge--inter {
    background: rgba(255, 193, 7, 0.12);
    color: #b38600;
}

.class-card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-body);
    margin-bottom: var(--space-xs);
}

.class-card-bring {
    padding: var(--space-xs) var(--space-sm);
    background: var(--off-white);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.class-card-bring-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 0.125rem;
}

.class-card-bring p {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.4;
}

/* ============================================
   CLASSES — Weekly Schedule
   ============================================ */
.classes-schedule {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.classes-schedule-container {
    max-width: 1100px;
    margin: 0 auto;
}

.classes-schedule-note {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.schedule-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.schedule-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.schedule-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-sm);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-table td {
    padding: var(--space-xs) var(--space-xs);
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    height: 52px;
}

.schedule-table-time {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-align: left !important;
    padding-left: var(--space-sm) !important;
    white-space: nowrap;
}

.schedule-table-class {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-sm);
    color: var(--white);
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.schedule-table-class:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.schedule-table-class--hiit     { background: var(--red); }
.schedule-table-class--peak     { background: rgba(255, 255, 255, 0.15); }
.schedule-table-class--power    { background: #2d2d2d; }
.schedule-table-class--mobility { background: #1a8a8a; }

.classes-schedule-cta {
    text-align: center;
}

/* ============================================
   CLASSES — Membership Plans
   ============================================ */
.classes-plans {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm);
}

.classes-plans-container {
    max-width: 960px;
    margin: 0 auto;
}

.classes-plans-intro {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
    max-width: 600px;
    margin: calc(var(--space-xl) * -1) auto var(--space-xl);
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.plan-card {
    position: relative;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
}

.plan-card--popular {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(173, 0, 5, 0.1);
}

.plan-card-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--red);
    color: var(--white);
    padding: 0.25rem 0.875rem;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-card-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0;
}

.plan-card-freq {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.plan-card-price {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: var(--space-xs);
}

.plan-card-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
}

.plan-card-detail {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-body);
    margin-bottom: var(--space-sm);
}

.plans-extras {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.plan-extra {
    padding: var(--space-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.plan-extra--highlight {
    background: var(--blue);
    border: 2px solid var(--red);
}

.plan-extra--highlight .plan-extra-name {
    color: var(--white);
}

.plan-extra--highlight .plan-extra-desc {
    color: rgba(255, 255, 255, 0.8);
}

.plan-extra-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.plan-extra-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: var(--space-xs);
}

.plan-extra-price span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
}

.plan-extra--highlight .plan-extra-price span {
    color: rgba(255, 255, 255, 0.5);
}

.plan-extra-desc {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.plan-extra .btn {
    width: 100%;
}

/* ============================================
   CLASSES — Trial Offers
   ============================================ */
.classes-trial {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.classes-trial-container {
    max-width: 800px;
    margin: 0 auto;
}

.trial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.trial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
}

.trial-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--red);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.trial-card-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.trial-card-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

/* ============================================
   CLASSES — Booking Rules
   ============================================ */
.classes-rules {
    background: var(--off-white);
    padding: var(--space-lg) var(--space-sm);
}

.classes-rules-container {
    max-width: 960px;
    margin: 0 auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.rules-item {
    padding: var(--space-md);
}

.rules-item-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.rules-item p {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* ============================================
   PT — Why Personal Training
   ============================================ */
.pt-why {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm);
}

.pt-why-container {
    max-width: 1100px;
    margin: 0 auto;
}

.pt-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.pt-why-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pt-why-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pt-why-card-accent {
    height: 4px;
    background: var(--red);
}

.pt-why-card-body {
    padding: var(--space-md);
}

.pt-why-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--red);
    margin-bottom: var(--space-xs);
}

.pt-why-card-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.pt-why-card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-body);
}

/* ============================================
   PT — What's Included
   ============================================ */
.pt-included {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.pt-included-container {
    max-width: 800px;
    margin: 0 auto;
}

.pt-included-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pt-included-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.pt-included-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 900;
    flex-shrink: 0;
}

.pt-included-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.125rem;
}

.pt-included-item p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   PT — Pricing & Booking
   ============================================ */
.pt-booking {
    background: var(--white);
    padding: var(--space-2xl) var(--space-sm);
}

.pt-booking-container {
    max-width: 700px;
    margin: 0 auto;
}

.pt-booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.pt-booking-card {
    position: relative;
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
}

.pt-booking-card--bundle {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(173, 0, 5, 0.1);
}

.pt-booking-tag {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--red);
    color: var(--white);
    padding: 0.25rem 0.875rem;
    border-radius: 100px;
    white-space: nowrap;
}

.pt-booking-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.pt-booking-price {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: var(--space-xs);
}

.pt-booking-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
}

.pt-booking-detail {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-body);
    margin-bottom: var(--space-sm);
}

.pt-booking-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray);
    font-style: italic;
    line-height: 1.5;
}

/* ============================================
   PT — Block Booking Packages
   ============================================ */
.pt-blocks {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-sm);
}

.pt-blocks-container {
    max-width: 700px;
    margin: 0 auto;
}

.pt-blocks-intro {
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-body);
    margin-bottom: var(--space-lg);
}

.pt-blocks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.pt-blocks-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 62, 99, 0.08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.pt-blocks-benefit {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--blue);
    background: rgba(0, 62, 99, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-top: var(--space-xs);
}

.pt-blocks-cta {
    text-align: center;
    margin-top: var(--space-md);
}

/* ============================================
   PT — Group PT Options
   ============================================ */
.pt-group {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.pt-group-container {
    max-width: 900px;
    margin: 0 auto;
}

.pt-group-intro {
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-lg);
}

.pt-group-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.pt-group-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pt-group-card-accent {
    height: 4px;
    background: var(--red);
}

.pt-group-card-body {
    padding: var(--space-md);
    text-align: center;
}

.pt-group-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 62, 99, 0.08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.pt-group-card-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.pt-group-card-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-body);
    margin-bottom: var(--space-sm);
}

.pt-group-card-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: var(--space-sm);
}

.pt-group-card-price span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray);
}

/* ============================================
   PT — Who Is PT Right For?
   ============================================ */
.pt-audience {
    background: var(--blue);
    padding: var(--space-xl) var(--space-sm);
}

.pt-audience-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.pt-audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.pt-audience-item {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.pt-audience-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.pt-audience-item p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   ACADEMY — Hero
   ============================================ */
.academy-hero {
    min-height: 0;
    background: #003E63;
    padding-bottom: var(--space-lg);
}

.academy-hero-logo {
    max-width: 280px;
    width: 70%;
    height: auto;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    mix-blend-mode: multiply;
}

/* ============================================
   ACADEMY — Stats Bar
   ============================================ */
.academy-stats {
    background: var(--blue);
    padding: var(--space-lg) var(--space-sm);
}

.academy-stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-xl);
    max-width: 960px;
    margin: 0 auto;
}

/* ============================================
   ACADEMY — Overview
   ============================================ */
.academy-overview {
    background: var(--blue-dark);
    padding: var(--space-2xl) var(--space-sm);
}

.academy-overview-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.academy-overview-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: calc(var(--space-xl) * -1) auto var(--space-xl);
}

/* Level cards */
.academy-levels {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.academy-level-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.academy-level-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.academy-level-card-accent {
    height: 4px;
}

.academy-level-card--foundation .academy-level-card-accent  { background: var(--green); }
.academy-level-card--development .academy-level-card-accent { background: var(--blue); }
.academy-level-card--performance .academy-level-card-accent { background: var(--orange); }
.academy-level-card--elite .academy-level-card-accent       { background: var(--red); }

.academy-level-card-body {
    padding: var(--space-md);
}

.academy-level-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.academy-level-card--foundation .academy-level-card-number  { background: var(--green); }
.academy-level-card--development .academy-level-card-number { background: var(--blue); }
.academy-level-card--performance .academy-level-card-number { background: var(--orange); color: var(--text-dark); }
.academy-level-card--elite .academy-level-card-number       { background: var(--red); }

.academy-level-card-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.academy-level-card-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   LEADERBOARD PAGE
   ============================================ */

/* --- Compact Hero Banner --- */
.lb-hero {
    background: var(--blue);
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-md) var(--space-lg);
    text-align: center;
}

.lb-hero-headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.lb-hero-sub {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- Shared Components --- */
.lb-pill {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.lb-pill--dark {
    background: rgba(255, 255, 255, 0.12);
}

.lb-section-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.lb-section-heading--light {
    color: var(--white);
}

.lb-section-sub {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.lb-section-sub--light {
    color: rgba(255, 255, 255, 0.65);
}

/* --- Monthly Top 10 --- */
.lb-monthly {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
}

.lb-monthly-container {
    max-width: 800px;
    margin: 0 auto;
}

.lb-monthly-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.lb-monthly-sub {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

/* --- Shared Table --- */
.lb-table-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.lb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    text-align: left;
}

.lb-table--on-dark {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lb-table thead {
    background: var(--blue);
}

.lb-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    padding: 0.875rem 1rem;
}

.lb-table td {
    font-size: 0.9375rem;
    color: #333;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.15s ease;
}

.lb-table tbody tr:last-child td {
    border-bottom: none;
}

.lb-table tbody tr:hover td {
    background: #f5f5f5;
}

.lb-th-num {
    text-align: center;
    width: 5rem;
}

.lb-th-rank {
    width: 3.5rem;
    text-align: center;
}

/* --- Rank Badges --- */
.lb-td-rank {
    text-align: center;
    vertical-align: middle;
}

.lb-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 800;
    background: #e9ecef;
    color: #6c757d;
}

.lb-badge--gold {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5c3d00;
    box-shadow: 0 3px 12px rgba(255, 165, 0, 0.4);
}

.lb-badge--silver {
    width: 38px;
    height: 38px;
    font-size: 0.9375rem;
    background: linear-gradient(135deg, #e8e8e8, #b0b0b0);
    color: #333;
    box-shadow: 0 3px 12px rgba(160, 160, 160, 0.4);
}

.lb-badge--bronze {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #CD7F32, #a0622a);
    color: #fff;
    box-shadow: 0 3px 12px rgba(205, 127, 50, 0.4);
}

/* --- Top-3 Row Highlights --- */
.lb-row--gold td {
    background: #fffbeb;
    border-bottom-color: #fde68a;
}

.lb-row--silver td {
    background: #f8f8f8;
    border-bottom-color: #d5d5d5;
}

.lb-row--bronze td {
    background: #fdf6ee;
    border-bottom-color: #e8cba8;
}

.lb-row--gold .lb-td-name,
.lb-row--silver .lb-td-name,
.lb-row--bronze .lb-td-name {
    font-weight: 800;
    color: var(--blue);
}

.lb-td-name {
    font-weight: 600;
    color: #1a1a1a;
}

.lb-td-attended {
    text-align: center;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--blue);
}

.lb-td-booked {
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #999;
}

/* --- "Still time to climb" message --- */
.lb-climb-msg {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--red);
}

.lb-climb-msg svg {
    flex-shrink: 0;
}

/* --- Monthly Prizes --- */
.lb-prizes {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
}

.lb-prizes-container {
    max-width: 800px;
    margin: 0 auto;
}

.lb-prizes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.lb-prize-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lb-prize-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lb-prize-card--champion {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.lb-prize-card--draw {
    border-color: var(--red);
    background: rgba(173, 0, 5, 0.1);
}

.lb-prize-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.lb-prize-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.lb-prize-req {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--red);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: var(--space-md);
}

.lb-prize-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lb-prize-list li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.lb-prize-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-top: var(--space-sm);
}

.lb-prize-fine-print {
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    margin-top: var(--space-md);
}

/* --- Annual Leaderboard --- */
.lb-annual {
    background: var(--blue-dark);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
}

.lb-annual-container {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Annual Prizes Section --- */
.lb-annual-prizes-section {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
}

.lb-annual-prizes-container {
    max-width: 960px;
    margin: 0 auto;
}

.lb-annual-prizes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.lb-tier {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    border: 3px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lb-tier:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.lb-tier--gold {
    border-color: #FFD700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
}

.lb-tier--silver {
    border-color: #b0b0b0;
    box-shadow: 0 4px 20px rgba(160, 160, 160, 0.15);
}

.lb-tier--bronze {
    border-color: #CD7F32;
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.15);
}

.lb-tier-rank {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.lb-tier--gold .lb-tier-rank {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lb-tier--silver .lb-tier-rank {
    color: #999;
}

.lb-tier--bronze .lb-tier-rank {
    color: #CD7F32;
}

.lb-tier-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

.lb-tier-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.lb-tier-list li {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #444;
}

.lb-tier-value {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
}

/* --- How It Works --- */
.lb-how {
    background: var(--white);
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
}

.lb-how-container {
    max-width: 960px;
    margin: 0 auto;
}

.lb-how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.lb-how-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.lb-how-icon {
    width: 56px;
    height: 56px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.lb-how-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.375rem;
}

.lb-how-desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================
   LEADERBOARD — Opt-Out Note
   ============================================ */
.lb-opt-out-note {
    background: var(--white);
    padding: var(--space-lg) var(--space-md);
}

.lb-opt-out-note-container {
    max-width: 700px;
    margin: 0 auto;
}

.lb-opt-out-note-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: var(--off-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.lb-opt-out-note-icon {
    flex-shrink: 0;
    color: var(--blue);
    margin-top: 0.1rem;
}

.lb-opt-out-note-box p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-body);
    margin: 0;
}

.lb-opt-out-note-box a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.lb-opt-out-note-box a:hover {
    text-decoration: underline;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
    background: var(--white);
    padding: var(--space-xl) var(--space-md);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.gallery-filter {
    background: var(--off-white);
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    min-height: 44px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.gallery-filter:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.gallery-filter.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.gallery-section-heading {
    grid-column: 1 / -1;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue);
    margin: var(--space-md) 0 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--off-white);
}

.gallery-section-heading:first-child {
    margin-top: 0;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.hidden {
    display: none;
}

.gallery-section-heading.hidden {
    display: none;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-section {
    background: var(--off-white);
    padding: var(--space-xl) var(--space-md);
}

.blog-container {
    max-width: 1100px;
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.blog-filter {
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    min-height: 44px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.blog-filter:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.blog-filter.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-card.hidden {
    display: none;
}

.blog-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-body {
    padding: var(--space-md) var(--space-md) var(--space-lg);
}

.blog-card-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    background: var(--blue);
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.blog-card-tag--nutrition { background: var(--green); }
.blog-card-tag--member { background: var(--orange); color: #333; }
.blog-card-tag--news { background: var(--red); }

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
    padding-top: var(--space-sm);
    border-top: 1px solid #eee;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-section {
    background: var(--white);
    padding: var(--space-xl) var(--space-md);
}

.shop-section--alt {
    background: var(--blue);
}

.shop-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.shop-intro {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.shop-intro--light {
    color: rgba(255, 255, 255, 0.65);
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.shop-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-section--alt .shop-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.shop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.shop-card--popular {
    border: 3px solid var(--red);
}

.shop-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--red);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    z-index: 2;
}

.shop-card-img--placeholder {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-card-img-label {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.shop-card-body {
    padding: var(--space-md) var(--space-md) var(--space-lg);
}

.shop-card-name {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 0.25rem;
}

.shop-card-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 0.25rem;
}

.shop-card-detail {
    font-size: 0.8125rem;
    color: #777;
    margin-bottom: var(--space-sm);
}

.shop-buy-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-category {
    background: var(--white);
    padding: var(--space-xl) var(--space-md);
}

.faq-category--alt {
    background: var(--off-white);
}

.faq-category-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 3px solid var(--red);
    display: inline-block;
}

/* ============================================
   RESPONSIVE — Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    :root {
        --header-height: 80px;
    }

    /* Desktop nav */
    .nav-logo-img {
        height: 60px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-container {
        padding: 0 var(--space-lg);
    }

    .nav-menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: none;
        padding: 0;
        overflow: visible;
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }

    .nav-links {
        flex-direction: row;
        gap: 0;
    }

    .nav-link {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
        border-bottom: none;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0.625rem;
        right: 0.625rem;
        height: 2px;
        background: var(--red);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }

    /* Desktop dropdown */
    .nav-dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: var(--blue-dark);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: var(--space-xs) 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: all 0.2s ease;
    }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu a {
        padding: 0.5rem var(--space-sm);
        font-size: 0.875rem;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-actions {
        flex-direction: row;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        gap: var(--space-xs);
    }

    .nav-actions .btn {
        width: auto;
    }

    /* Stats desktop */
    .stats-bar {
        padding: var(--space-lg) var(--space-lg);
    }

    .stats-container {
        gap: var(--space-3xl);
    }

    .stat-number {
        font-size: 3.75rem;
    }

    .hero-ctas .btn-lg {
        font-size: 1.0625rem;
        padding: 1rem 2.5rem;
    }

    /* Offers desktop */
    .offers {
        padding: var(--space-3xl) var(--space-lg);
    }

    .offers-grid {
        gap: var(--space-lg);
    }

    .offer-card {
        padding: var(--space-xl) var(--space-lg);
    }

    /* About teaser desktop — side by side */
    .about-teaser {
        padding: var(--space-3xl) var(--space-lg);
    }

    .about-teaser-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .about-teaser-photo {
        aspect-ratio: 3 / 4;
    }

    .about-teaser-content p {
        font-size: 1.0625rem;
    }

    /* Schedule desktop */
    .schedule-preview {
        padding: var(--space-3xl) var(--space-lg);
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* Leaderboard desktop */
    .leaderboard-teaser {
        padding: var(--space-3xl) var(--space-lg);
    }

    .podium-medal {
        font-size: 2.5rem;
    }

    .podium-name {
        font-size: 1.125rem;
    }

    .podium-bar--1st { height: 120px; }
    .podium-bar--2nd { height: 88px; }
    .podium-bar--3rd { height: 64px; }

    /* Leaderboard page — desktop */
    .lb-hero { padding: calc(var(--header-height) + var(--space-xl)) var(--space-lg) var(--space-xl); }
    .lb-monthly { padding: var(--space-3xl) var(--space-lg); }
    .lb-prizes { padding: var(--space-3xl) var(--space-lg); }
    .lb-annual { padding: var(--space-3xl) var(--space-lg); }
    .lb-annual-prizes-section { padding: var(--space-3xl) var(--space-lg); }
    .lb-how { padding: var(--space-3xl) var(--space-lg); }
    .lb-badge--gold { width: 44px; height: 44px; font-size: 1.125rem; }
    .lb-badge--silver { width: 42px; height: 42px; font-size: 1rem; }
    .lb-badge--bronze { width: 40px; height: 40px; font-size: 0.9375rem; }

    /* Gallery — desktop */
    .gallery-section { padding: var(--space-3xl) var(--space-lg); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

    /* Blog — desktop */
    .blog-section { padding: var(--space-3xl) var(--space-lg); }
    .blog-grid { grid-template-columns: repeat(3, 1fr); }

    /* Shop — desktop */
    .shop-section { padding: var(--space-3xl) var(--space-lg); }
    .shop-grid { grid-template-columns: repeat(3, 1fr); }

    /* FAQ — desktop */
    .faq-category { padding: var(--space-2xl) var(--space-lg); }

    /* Testimonials desktop */
    .testimonials {
        padding: var(--space-3xl) var(--space-lg);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .testimonial-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    /* About page — desktop */
    .page-hero {
        min-height: 40vh;
    }

    .about-story {
        padding: var(--space-3xl) var(--space-lg) var(--space-xl);
    }

    .story-prose p {
        font-size: 1.0625rem;
    }

    .story-figure {
        max-width: 200px;
    }

    .story-gallery {
        padding: var(--space-lg) var(--space-lg);
    }

    /* Classes page — desktop */
    .classes-types {
        padding: var(--space-3xl) var(--space-lg);
    }

    .class-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .class-card-body {
        padding: var(--space-md) var(--space-lg);
    }

    .classes-schedule {
        padding: var(--space-3xl) var(--space-lg);
    }

    .classes-plans {
        padding: var(--space-3xl) var(--space-lg);
    }

    .plans-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .plan-card {
        padding: var(--space-md) var(--space-sm);
    }

    .classes-trial {
        padding: var(--space-3xl) var(--space-lg);
    }

    .trial-card {
        padding: var(--space-md) var(--space-sm);
    }

    .about-philosophy {
        padding: var(--space-3xl) var(--space-lg);
    }

    .philosophy-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-quals {
        padding: var(--space-3xl) var(--space-lg);
    }

    .quals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qual-lead-title {
        font-size: 1.5rem;
    }

    .about-career {
        padding: var(--space-3xl) var(--space-lg);
    }

    .about-mentors {
        padding: var(--space-3xl) var(--space-lg);
    }

    .mentors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-day {
        padding: var(--space-3xl) var(--space-lg);
    }

    .day-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .page-faq {
        padding: var(--space-3xl) var(--space-lg);
    }

    /* PT page — desktop */
    .pt-why {
        padding: var(--space-3xl) var(--space-lg);
    }

    .pt-why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .pt-why-card-body {
        padding: var(--space-md) var(--space-lg);
    }

    .pt-included {
        padding: var(--space-3xl) var(--space-lg);
    }

    .pt-booking {
        padding: var(--space-3xl) var(--space-lg);
    }

    .pt-blocks {
        padding: var(--space-3xl) var(--space-lg);
    }

    .pt-group {
        padding: var(--space-3xl) var(--space-lg);
    }

    .pt-group-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pt-audience {
        padding: var(--space-2xl) var(--space-lg);
    }

    .pt-audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Academy page — desktop */
    .academy-hero-logo {
        max-width: 280px;
    }

    .academy-stats {
        padding: var(--space-lg) var(--space-lg);
    }

    .academy-stats-container {
        gap: var(--space-3xl);
    }

    .academy-overview {
        padding: var(--space-3xl) var(--space-lg);
    }

    .academy-levels {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-md);
    }
}

/* ============================================
   EXPANDABLE CARDS — details/summary pattern
   ============================================ */
.class-card details,
.pt-why-card details {
    border: none;
}

.class-card summary,
.pt-why-card summary {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    list-style: none;
    padding: 0;
}

.class-card summary::-webkit-details-marker,
.pt-why-card summary::-webkit-details-marker {
    display: none;
}

.class-card summary::after,
.pt-why-card summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red);
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.class-card details[open] summary::after,
.pt-why-card details[open] summary::after {
    content: '\2212';
}

.class-card-expandable,
.pt-why-card-expandable {
    padding-top: var(--space-sm);
}

/* ============================================
   LEADERBOARD TEASER — Compact Table
   ============================================ */
.leaderboard-teaser-table {
    width: 100%;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.leaderboard-teaser-table thead {
    background: rgba(255, 255, 255, 0.12);
}

.leaderboard-teaser-table th {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.625rem 0.75rem;
    text-align: left;
}

.leaderboard-teaser-table th:nth-child(3),
.leaderboard-teaser-table th:nth-child(4) {
    text-align: center;
}

.leaderboard-teaser-table td {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.leaderboard-teaser-table tbody tr:last-child td {
    border-bottom: none;
}

.leaderboard-teaser-table .lb-teaser-rank {
    text-align: center;
    width: 2.5rem;
    font-weight: 800;
}

.leaderboard-teaser-table .lb-teaser-attended,
.leaderboard-teaser-table .lb-teaser-booked {
    text-align: center;
    font-weight: 700;
}

.leaderboard-teaser-table .lb-teaser-row--gold td {
    background: rgba(255, 215, 0, 0.1);
}

.leaderboard-teaser-table .lb-teaser-row--silver td {
    background: rgba(200, 200, 200, 0.08);
}

.leaderboard-teaser-table .lb-teaser-row--bronze td {
    background: rgba(205, 127, 50, 0.08);
}

/* ============================================
   ABOUT — Headshot
   ============================================ */
.about-headshot {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: top center;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SPORTS HUB PAGE
   ============================================ */
.sports-hub {
    background: var(--off-white);
    padding: var(--space-2xl) var(--space-sm);
}

.sports-hub-container {
    max-width: 1100px;
    margin: 0 auto;
}

.sports-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.sports-hub-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    display: block;
}

.sports-hub-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sports-hub-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 62, 99, 0.08);
    color: var(--blue);
    margin-bottom: var(--space-sm);
    font-size: 1.75rem;
}

.sports-hub-card-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.sports-hub-card-tagline {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.sports-hub-card-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--red);
}

@media (min-width: 640px) {
    .sports-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sports-hub {
        padding: var(--space-3xl) var(--space-lg);
    }

    .sports-hub-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
}

/* ============================================
   ACADEMY — Clickable card links
   ============================================ */
.academy-level-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--space-lg) var(--space-sm) 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-xs);
}

.footer-logo-img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.8125rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--red);
    color: var(--white);
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 0.625rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-sm) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.75rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-md);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s ease;
    padding: 0.5rem 0;
    display: inline-block;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Footer — Tablet (640px+) */
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Footer — Desktop (1024px+) */
@media (min-width: 1024px) {
    .site-footer {
        padding: var(--space-xl) var(--space-lg) 0;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
        gap: var(--space-lg);
        align-items: start;
        padding-bottom: var(--space-lg);
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* ============================================
   SPONSORSHIP PAGE
   ============================================ */

.sponsor-intro {
    padding: var(--space-2xl) var(--space-sm);
    background: var(--white);
}

.sponsor-intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-intro-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.sponsor-intro-text:last-child {
    margin-bottom: 0;
}

/* --- Sponsor section --- */

.sponsor-section {
    padding: var(--space-2xl) var(--space-sm);
    background: var(--white);
}

.sponsor-section--light {
    background: var(--off-white);
}

.sponsor-section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.sponsor-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    background: rgba(0, 62, 99, 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.sponsor-previous-note {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

/* --- Sponsor cards --- */

.sponsor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.sponsor-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.sponsor-card--featured {
    border: 2px solid var(--blue);
    box-shadow: var(--shadow-md);
}

.sponsor-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--off-white);
    min-height: 200px;
}

.sponsor-logo-placeholder {
    width: 160px;
    height: 160px;
    background: var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-500);
    line-height: 1.3;
}

.sponsor-card-content {
    padding: var(--space-lg);
}

.sponsor-card-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.sponsor-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-500);
    margin-bottom: var(--space-md);
}

.sponsor-card-badge--active {
    background: rgba(0, 62, 99, 0.08);
    color: var(--blue);
}

.sponsor-card-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.sponsor-card-desc:last-of-type {
    margin-bottom: var(--space-md);
}

.sponsor-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--red);
    min-height: 44px;
    transition: color 0.2s;
}

.sponsor-card-link:hover {
    color: var(--blue);
}

/* --- Benefits section --- */

.sponsor-benefits {
    background: var(--blue);
    padding: var(--space-2xl) var(--space-sm);
}

.sponsor-benefits-container {
    max-width: 1100px;
    margin: 0 auto;
}

.sponsor-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.sponsor-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.sponsor-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    flex-shrink: 0;
}

.sponsor-benefit-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.sponsor-benefit-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* --- Become a Partner CTA --- */

.sponsor-cta {
    background: var(--gray-900);
    padding: var(--space-3xl) var(--space-sm);
    text-align: center;
}

.sponsor-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.sponsor-cta-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.sponsor-cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
}

.sponsor-cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
}

/* --- Sponsorship responsive --- */

@media (min-width: 640px) {
    .sponsor-logo-placeholder {
        width: 200px;
        height: 200px;
    }

    .sponsor-cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .sponsor-intro {
        padding: var(--space-3xl) var(--space-lg);
    }

    .sponsor-section {
        padding: var(--space-3xl) var(--space-lg);
    }

    .sponsor-card--featured {
        flex-direction: row;
    }

    .sponsor-card--featured .sponsor-card-logo {
        min-width: 280px;
    }

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

    .sponsor-benefits {
        padding: var(--space-3xl) var(--space-lg);
    }

    .sponsor-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sponsor-cta {
        padding: var(--space-3xl) var(--space-lg);
    }
}

/* ============================================
   RESPONSIVE — Wide desktop (1280px+)
   ============================================ */
@media (min-width: 1280px) {
    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ===== Live Timetable ===== */

/* Week navigation bar */
.tt-week-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--space-lg);
}

.tt-week-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    min-width: 180px;
    text-align: center;
    user-select: none;
}

.tt-week-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}

.tt-week-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.tt-today-btn {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    min-height: 44px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    font-family: 'Inter', sans-serif;
}

.tt-today-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.tt-today-btn.tt-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Mobile day selector tabs */
.tt-day-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-bottom: var(--space-md);
    scrollbar-width: none;
}

.tt-day-tabs::-webkit-scrollbar {
    display: none;
}

.tt-day-tab {
    flex: 1 0 auto;
    padding: 8px 12px;
    min-height: 44px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.tt-day-tab:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.tt-day-tab.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.tt-day-tab.is-today {
    position: relative;
}

.tt-day-tab.is-today::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
}

/* Loading / Error states */
.tt-loading,
.tt-error {
    text-align: center;
    padding: var(--space-xl) 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

.tt-error {
    color: rgba(255, 180, 180, 0.9);
}

.tt-retry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-sm);
    padding: 8px 20px;
    min-height: 44px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s ease;
}

.tt-retry-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Desktop grid container */
.tt-grid {
    display: none;
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    /* Show ~5 hours (10 x 48px slots) + 40px header */
    max-height: 520px;
}

.tt-grid-inner {
    display: grid;
    grid-template-columns: 54px repeat(7, 1fr);
    min-width: 720px;
    position: relative;
}

/* Time axis (left column) */
.tt-time-col {
    grid-column: 1;
    display: flex;
    flex-direction: column;
}

.tt-time-header {
    height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--blue);
}

.tt-time-slot {
    height: 48px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 8px;
    padding-top: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.tt-time-slot span {
    transform: translateY(-7px);
    display: block;
}

/* Day columns */
.tt-day-col {
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.tt-day-header {
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    user-select: none;
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--blue);
}

.tt-day-header .tt-day-date {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 1px;
}

.tt-day-col.is-today .tt-day-header {
    color: #fff;
    background: #0f4a6c;
}

.tt-day-body {
    position: relative;
}

.tt-day-slot {
    height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tt-day-col.is-today .tt-day-body {
    background: rgba(255, 255, 255, 0.025);
}

/* Sunday closed */
.tt-day-col.is-closed .tt-day-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-closed-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.2);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Class blocks — absolute within day body */
.tt-block {
    position: absolute;
    left: 3px;
    right: 3px;
    border-radius: 6px;
    padding: 5px 7px;
    overflow: hidden;
    cursor: default;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tt-block:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.tt-block-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-block-time {
    font-size: 0.58rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
    margin-top: 1px;
}

.tt-block-spaces {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    margin-top: 2px;
}

.tt-block-spaces.tt-full {
    color: rgba(255, 200, 200, 0.9);
}

/* PT block styling */
.tt-block--pt {
    background: #7c3aed;
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.85;
}

/* Mobile list view */
.tt-mobile-list {
    display: block;
}

.tt-mobile-day {
    display: none;
}

.tt-mobile-day.active {
    display: block;
}

.tt-mobile-empty {
    text-align: center;
    padding: var(--space-lg) 0;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.4);
}

.tt-mobile-closed {
    text-align: center;
    padding: var(--space-xl) 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.25);
}

.tt-mobile-card {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    margin-bottom: 8px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}

.tt-mobile-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.tt-mobile-colour {
    width: 5px;
    border-radius: 3px;
    flex-shrink: 0;
}

.tt-mobile-info {
    flex: 1;
    min-width: 0;
}

.tt-mobile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.tt-mobile-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.tt-mobile-spaces {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.tt-mobile-spaces.tt-full {
    color: rgba(255, 180, 180, 0.8);
}

/* Colour legend */
.tt-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tt-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.tt-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Tablet+ (640px): show grid, hide mobile list */
@media (min-width: 640px) {
    .tt-day-tabs {
        display: none;
    }

    .tt-mobile-list {
        display: none;
    }

    .tt-grid {
        display: block;
    }
}

/* Wider desktops: roomier blocks */
@media (min-width: 1024px) {
    .tt-grid-inner {
        grid-template-columns: 60px repeat(7, 1fr);
        min-width: 860px;
    }

    .tt-block {
        left: 4px;
        right: 4px;
        padding: 6px 8px;
    }

    .tt-block-name {
        font-size: 0.7rem;
    }

    .tt-block-time {
        font-size: 0.6rem;
    }

    .tt-block-spaces {
        font-size: 0.58rem;
    }
}

@media (min-width: 1280px) {
    .tt-grid-inner {
        min-width: 1000px;
    }

    .tt-block-name {
        font-size: 0.75rem;
    }

    .tt-block-time {
        font-size: 0.65rem;
    }

    .tt-block-spaces {
        font-size: 0.6rem;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--blue);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    padding: var(--space-md) var(--space-sm);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner[hidden] {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

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

.cookie-banner-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    text-align: center;
}

.cookie-banner-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-link {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-link:hover {
    color: var(--white);
    text-decoration-thickness: 2px;
}

.cookie-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    min-height: 44px;
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: var(--font);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.cookie-btn--accept {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.cookie-btn--accept:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
}

.cookie-btn--reject {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.cookie-btn--reject:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* Cookie banner — tablet+ */
@media (min-width: 640px) {
    .cookie-banner {
        padding: var(--space-md) var(--space-lg);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .cookie-banner-content {
        flex-direction: row;
        text-align: left;
        gap: var(--space-lg);
    }

    .cookie-banner-text {
        flex: 1;
    }

    .cookie-banner-actions {
        flex-direction: row;
        width: auto;
        max-width: none;
        flex-shrink: 0;
    }
}

/* ============================================
   MOBILE-ONLY OVERRIDES (below 640px)
   ============================================ */
@media (max-width: 639px) {
    /* Homepage hero — extra top padding so headline isn't cut off by header */
    .hero {
        padding-top: 20px;
    }

    /* Allow button text to wrap on narrow screens (Issue 8.4) */
    .btn {
        white-space: normal;
    }

    /* Reduce hero CTA min-width to prevent overflow (Issue 5.3) */
    .hero-ctas .btn {
        min-width: 0;
        width: 100%;
    }

    /* Footer link word-break for email addresses (Issue 2.1) */
    .footer-links a,
    .footer-contact a {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Footer bottom text readable size (Issue 7.1) */
    .footer-bottom {
        font-size: 0.875rem;
    }

    /* Footer heading readable size (Issue 7.2) */
    .footer-heading {
        font-size: 0.8125rem;
    }

    /* Footer contact items readable size */
    .footer-contact li {
        font-size: 0.875rem;
    }

    /* --- PASS 2 FIXES --- */

    /* Leaderboard teaser table — prevent horizontal overflow (P2-1) */
    .leaderboard-teaser-table {
        font-size: 0.8125rem;
    }

    .leaderboard-teaser-table td {
        padding: 0.5rem 0.5rem;
        font-size: 0.8125rem;
    }

    .leaderboard-teaser-table th {
        padding: 0.5rem 0.5rem;
        font-size: 0.625rem;
    }

    /* Leaderboard page tables — wrap in scrollable container (P2-2) */
    .lb-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lb-table th,
    .lb-table td {
        padding: 0.625rem 0.625rem;
        font-size: 0.8125rem;
    }

    .lb-td-attended {
        font-size: 1rem;
    }

    /* Footer bottom links — wrap and add spacing on narrow screens (P2-3) */
    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 0 var(--space-md);
    }

    .footer-bottom-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Dropdown menu links — adequate touch targets (P2-4) */
    .dropdown-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Gallery grid — single column on very narrow screens (P2-5) */
    .gallery-grid {
        columns: 1;
    }

    /* Guest form row — stack to 1 column on mobile (P2-6) */
    .guest-form-row {
        grid-template-columns: 1fr !important;
    }

    /* Leaderboard prize cards — reduce padding on mobile (P2-7) */
    .lb-prize-card {
        padding: var(--space-lg) var(--space-md);
    }

    .lb-tier {
        padding: var(--space-lg) var(--space-sm);
    }

    /* Sponsorship CTA actions — stack on narrow screens (P2-8) */
    .sponsor-cta-actions .btn {
        width: 100%;
    }

    /* Privacy/Terms/Cookies inline lists — reduce left padding (P2-9) */
    .faq-category-container ul {
        padding-left: var(--space-sm);
    }

    /* Contact card links — min touch target (P2-10) */
    .contact-card-link {
        min-height: 44px;
    }

    /* Lightbox close button — adequate touch target on mobile (P2-11) */
    .lightbox-close {
        min-width: 44px;
        min-height: 44px;
        top: 0.5rem;
        right: 0.5rem;
    }

    /* Article hero + body — tighter padding on mobile */
    .article-hero {
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-sm) var(--space-xl);
        min-height: 25vh;
    }

    .article-section {
        padding: var(--space-xl) var(--space-sm) var(--space-lg);
    }

    .article-body p {
        font-size: 1rem;
    }

    /* Blog card meta — stack if needed (P2-13) */
    .blog-card-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Podium — tighter spacing on narrow screens (P2-14) */
    .podium {
        gap: var(--space-xs);
    }

    /* Timetable week nav — prevent overflow (P2-15) */
    .tt-week-nav {
        flex-wrap: wrap;
    }

    .tt-week-label {
        min-width: 140px;
        font-size: 0.8rem;
    }

    /* Sponsor card content — reduce padding (P2-16) */
    .sponsor-card-content {
        padding: var(--space-md);
    }

    .sponsor-card-logo {
        min-height: 160px;
        padding: var(--space-md);
    }

    /* Schedule table hint — ensure user knows it scrolls (P2-17) */
    .schedule-table-wrap {
        position: relative;
    }

    .schedule-table-wrap::after {
        content: 'Scroll \2192';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.4);
        padding: var(--space-xs) 0;
    }

    /* CTA banner — reduce padding on narrow (P2-18) */
    .cta-banner {
        padding: var(--space-xl) var(--space-sm);
    }

    /* Ensure all body text is at least 14px (P2-19) */
    .faq-answer p,
    .faq-category-container p,
    .faq-category-container li {
        font-size: 0.9375rem;
    }
}

/* --- Blog Article Pages --- */

/* Article hero — matches .page-hero gradient but with left-aligned text */
.article-hero {
    display: flex;
    align-items: flex-end;
    min-height: 30vh;
    padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
    background:
        linear-gradient(
            135deg,
            var(--blue-dark) 0%,
            var(--blue) 40%,
            #004d7a 70%,
            var(--blue-dark) 100%
        );
}

.article-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.article-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.article-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--white);
    letter-spacing: -0.02em;
}

.article-meta {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.article-meta strong {
    color: var(--white);
    font-weight: 600;
}

/* Article body */
.article-section {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md) var(--space-xl);
}

.article-body p {
    margin-bottom: var(--space-lg);
    line-height: 1.85;
    font-size: 1.0625rem;
    color: #333;
}

.article-body h2 {
    font-size: 1.375rem;
    font-weight: 800;
    margin: var(--space-2xl) 0 var(--space-md);
    color: var(--blue);
    letter-spacing: -0.01em;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body blockquote {
    border-left: 4px solid var(--blue);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-lg) 0;
    background: var(--off-white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: #555;
}

.article-back {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-xl);
    padding-bottom: var(--space-md);
    font-weight: 600;
    color: var(--blue);
    min-height: 44px;
    font-size: 0.9375rem;
    gap: 0.375rem;
}

.article-back:hover {
    text-decoration: underline;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    margin-top: var(--space-xs);
    min-height: 44px;
}

.blog-card-read-more:hover {
    text-decoration: underline;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    text-decoration: underline;
}
