:root {
    --bg: #10110f;
    --bg-light: #171915;
    --card: #1b1d19;
    --lime: #c5ff3d;
    --white: #f4f5ef;
    --muted: #92958b;
    --border: rgba(255, 255, 255, 0.11);
    --font: "Manrope", sans-serif;
    --display: "Barlow Condensed", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    overflow-x: hidden;
}

body,
button,
input,
select {
    font-family: var(--font);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

.container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.lime {
    color: var(--lime);
}

.section-padding {
    padding: 125px 0;
}

/* LOADER */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg);
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-size: 65px;
    font-weight: 900;
    letter-spacing: -3px;
    transition: opacity .6s ease, visibility .6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* HEADER */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.header-inner {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--display);
    font-size: 39px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--lime);
}

.nav {
    display: flex;
    gap: 37px;
}

.nav a {
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 700;
    transition: color .3s;
}

.nav a:hover {
    color: var(--lime);
}

.header-button {
    padding: 13px 20px;
    background: var(--lime);
    color: #111;
    font-size: 11px;
    font-weight: 800;
    transition: .3s;
}

.header-button:hover {
    background: white;
    transform: translateY(-3px);
}

.header-button span {
    margin-left: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 790px;
    height: 100vh;
    max-height: 1000px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2200&q=90")
        center 45% / cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 1.8s ease forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10,12,9,.96) 0%,
        rgba(10,12,9,.78) 43%,
        rgba(10,12,9,.25) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-label,
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 15px var(--lime);
    display: inline-block;
}

.hero-title {
    font-family: var(--display);
    font-size: clamp(90px, 13vw, 175px);
    font-weight: 900;
    line-height: .78;
    letter-spacing: -5px;
    margin-top: 35px;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 510px;
    max-width: 100%;
    margin-top: 55px;
}

.hero-bottom p {
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.9;
}

.round-button {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    transition: .35s;
}

.round-button:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: #111;
    transform: translateY(5px);
}

.hero-side-text {
    position: absolute;
    right: 35px;
    top: 50%;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 3px;
    color: rgba(255,255,255,.55);
}

.hero-number {
    position: absolute;
    bottom: 35px;
    right: 45px;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.55);
}

/* INTRO */

.intro {
    background: var(--bg);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 70px;
}

.section-label span {
    color: var(--lime);
}

.intro-content h2,
.section-heading h2,
.join-content h2 {
    font-family: var(--display);
    font-size: clamp(55px, 7vw, 88px);
    line-height: .92;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.intro-content p {
    max-width: 530px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.text-link {
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--lime);
    font-size: 12px;
    font-weight: 800;
    transition: color .3s;
}

.text-link:hover {
    color: var(--lime);
}

.text-link span {
    color: var(--lime);
    margin-left: 15px;
}

/* SECTION HEADINGS */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 25px;
}

.section-heading > p {
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
    padding-bottom: 8px;
}

/* PROGRAMS */

.programs {
    background: var(--bg-light);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.program-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: var(--card);
}

.program-card-large {
    grid-row: span 2;
    min-height: 738px;
}

.program-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.program-card:hover .program-image {
    transform: scale(1.07);
}

.image-strength {
    background-image: url("https://images.unsplash.com/photo-1583454110551-21f2fa2afe61?auto=format&fit=crop&w=1200&q=85");
}

.image-cardio {
    background-image: url("https://images.unsplash.com/photo-1538805060514-97d9cc17730c?auto=format&fit=crop&w=1000&q=85");
}

.image-functional {
    background-image: url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1000&q=85");
}

.image-stretching {
    background-image: url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=1000&q=85");
}

.program-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.9), transparent 75%);
}

.program-number {
    position: absolute;
    top: 25px;
    left: 28px;
    z-index: 2;
    color: white;
    font-size: 11px;
    letter-spacing: 2px;
}

.program-info {
    position: absolute;
    z-index: 2;
    left: 35px;
    bottom: 35px;
}

.program-info > span {
    color: var(--lime);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 800;
}

.program-info h3 {
    font-family: var(--display);
    font-size: 45px;
    line-height: .95;
    margin-top: 13px;
    font-weight: 800;
}

.program-info a {
    display: inline-block;
    margin-top: 22px;
    font-size: 11px;
    font-weight: 700;
}

.program-info a span {
    color: var(--lime);
    margin-left: 12px;
}

/* STATEMENT */

.statement {
    height: 570px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.statement-image {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=85") center 55% / cover;
}

.statement-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,10,7,.94), rgba(8,10,7,.4));
}

.statement-content {
    position: relative;
    z-index: 2;
}

.statement-content > span {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--lime);
    font-weight: 800;
}

.statement-content h2 {
    font-family: var(--display);
    font-size: clamp(55px, 8vw, 100px);
    line-height: .95;
    margin-top: 25px;
}

/* COACHES */

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.coach-card {
    overflow: hidden;
}

.coach-photo {
    height: 400px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter .5s, transform .7s;
}

.coach-card:hover .coach-photo {
    filter: grayscale(0%);
}

.coach-one {
    background-image: url("https://images.unsplash.com/photo-1567013127542-490d757e51fc?auto=format&fit=crop&w=800&q=85");
}

.coach-two {
    background-image: url("https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=800&q=85");
}

.coach-three {
    background-image: url("https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&w=800&q=85");
}

.coach-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.coach-info h3 {
    font-family: var(--display);
    font-size: 23px;
    letter-spacing: .5px;
}

.coach-info div span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
    margin-top: 8px;
}

.coach-arrow {
    color: var(--lime);
    font-size: 23px;
}

.demo-caption {
    color: #73766e;
    font-size: 10px;
    margin-top: 22px;
}

/* PRICING */

.pricing {
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.price-card {
    position: relative;
    background: var(--card);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: transform .35s, border-color .35s;
}

.price-card:hover {
    transform: translateY(-8px);
    border-color: var(--lime);
}

.price-featured {
    border-color: var(--lime);
    background: #20251a;
}

.popular-label {
    position: absolute;
    top: 0;
    right: 25px;
    background: var(--lime);
    color: #111;
    padding: 8px 13px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.price-tag {
    color: var(--lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.price-card h3 {
    font-family: var(--display);
    font-size: 42px;
    margin-top: 20px;
}

.price-card > p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 8px;
}

.price-value {
    font-family: var(--display);
    font-size: 45px;
    font-weight: 800;
    margin-top: 35px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.price-value span {
    font-family: var(--font);
    font-size: 10px;
    color: var(--muted);
    font-weight: 500;
}

.price-card ul {
    list-style: none;
    margin-top: 25px;
    min-height: 145px;
}

.price-card li {
    position: relative;
    padding-left: 20px;
    color: #c4c6bd;
    font-size: 11px;
    margin-bottom: 17px;
}

.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lime);
}

.price-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--border);
    font-size: 10px;
    font-weight: 800;
    transition: .3s;
}

.price-button:hover {
    background: var(--lime);
    color: #111;
    border-color: var(--lime);
}

.price-button span {
    color: var(--lime);
}

.price-button:hover span {
    color: #111;
}

/* SCHEDULE */

.schedule-table {
    border-top: 1px solid var(--border);
}

.schedule-row {
    display: grid;
    grid-template-columns: .7fr 2fr 1fr 1fr;
    gap: 20px;
    padding: 25px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    transition: background .3s;
}

.schedule-row:not(.schedule-header):hover {
    background: var(--card);
}

.schedule-row > span:first-child {
    color: var(--lime);
    font-weight: 800;
}

.schedule-row strong {
    font-weight: 700;
}

.schedule-row > span {
    color: var(--muted);
}

.schedule-header {
    color: #777b70;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* JOIN */

.join {
    background: var(--bg-light);
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.join-content h2 {
    margin-top: 35px;
}

.join-content > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
    max-width: 390px;
    margin-top: 30px;
}

.join-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 45px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.join-form {
    background: var(--card);
    padding: 42px;
    border: 1px solid var(--border);
}

.join-form label {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #b6b9ae;
    margin-bottom: 12px;
    margin-top: 25px;
}

.join-form label:first-child {
    margin-top: 0;
}

.join-form input,
.join-form select {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    color: white;
    background: #252720;
    border: 1px solid transparent;
    outline: none;
    font-size: 12px;
    transition: border-color .3s;
}

.join-form input:focus,
.join-form select:focus {
    border-color: var(--lime);
}

.join-form input::placeholder {
    color: #777b70;
}

.join-form select {
    color: #aaa;
}

.join-form select option {
    background: #252720;
    color: white;
}

.submit-button {
    width: 100%;
    height: 58px;
    margin-top: 30px;
    border: none;
    background: var(--lime);
    color: #111;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .3s;
}

.submit-button:hover {
    background: white;
    transform: translateY(-3px);
}

.submit-button span {
    margin-left: 15px;
}

.join-form small {
    display: block;
    color: #74776e;
    font-size: 9px;
    line-height: 1.7;
    margin-top: 18px;
}

.form-message {
    color: var(--lime);
    font-size: 11px;
    line-height: 1.7;
    margin-top: 15px;
}

/* FOOTER */

.footer {
    padding: 55px 0 25px;
    background: #0b0c0a;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 55px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    font-size: 65px;
}

.footer-top p {
    font-family: var(--display);
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    color: #a9aca2;
}

.back-top {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: color .3s;
}

.back-top:hover {
    color: var(--lime);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    color: #73766e;
    font-size: 9px;
    letter-spacing: 1px;
}

/* REVEAL ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .container {
        width: calc(100% - 50px);
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 10px;
    }

    .header-button {
        padding: 12px;
        font-size: 10px;
    }

    .intro-grid {
        gap: 35px;
    }

    .join-grid {
        gap: 45px;
    }

    .price-card {
        padding: 30px 22px;
    }

    .coach-photo {
        height: 320px;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 36px);
    }

    .section-padding {
        padding: 85px 0;
    }

    .header-inner {
        height: 75px;
    }

    .logo {
        font-size: 34px;
    }

    .header-button {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 7px;
        width: 35px;
        padding: 8px 0;
    }

    .menu-toggle span {
        height: 2px;
        width: 26px;
        background: var(--lime);
        transition: .3s;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(4.5px) rotate(45deg);
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-4.5px) rotate(-45deg);
    }

    .nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 30px 25px;
        background: #141611;
        display: flex;
        flex-direction: column;
        gap: 25px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .3s;
        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 720px;
        height: 100svh;
        max-height: 850px;
    }

    .hero-background {
        background-position: 60% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(10,12,9,.91), rgba(10,12,9,.38));
    }

    .hero-title {
        font-size: clamp(85px, 19vw, 135px);
        letter-spacing: -3px;
    }

    .hero-bottom {
        margin-top: 40px;
    }

    .hero-side-text {
        right: 12px;
        font-size: 7px;
    }

    .hero-number {
        right: 20px;
        bottom: 20px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .intro-content h2,
    .section-heading h2,
    .join-content h2 {
        font-size: clamp(55px, 12vw, 78px);
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 25px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card,
    .program-card-large {
        min-height: 420px;
        grid-row: auto;
    }

    .statement {
        height: 460px;
    }

    .statement-content h2 {
        font-size: clamp(52px, 12vw, 78px);
    }

    .coaches-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .coach-photo {
        height: 420px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-card ul {
        min-height: auto;
    }

    .schedule-row {
        grid-template-columns: .6fr 1.6fr 1fr;
        gap: 10px;
        padding: 20px 5px;
        font-size: 10px;
    }

    .schedule-row > span:last-child {
        display: none;
    }

    .schedule-header {
        font-size: 8px;
    }

    .join-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .join-form {
        padding: 28px 20px;
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 25px;
    }

    .footer-logo {
        font-size: 55px;
    }

    .footer-top p {
        font-size: 19px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 78px;
    }

    .program-info h3 {
        font-size: 38px;
    }

    .coach-photo {
        height: 350px;
    }

    .join-form {
        padding: 22px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}