/* ==========================================
   IRON ROOTS — COACHES
========================================== */

:root {

    --iron-black: #111315;
    --iron-black-soft: #1b1f22;
    --iron-raised: #24292b;

    --forest: #4f6255;
    --forest-dark: #3d4d43;
    --forest-light: #6d8273;

    --brass: #b08d57;
    --brass-dark: #8e6e3f;
    --brass-light: #c6a775;

    --concrete: #d7d4ce;
    --concrete-light: #ebe9e4;
    --concrete-dark: #b8b5af;

    --white: #f6f7f6;

    --text-dark: #181b1a;
    --text-muted: #626865;

    --heading-font: "Barlow Condensed", sans-serif;
    --body-font: "Inter", sans-serif;

    --container: 1400px;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--concrete);
    color: var(--text-dark);
    font-family: var(--body-font);
    overflow-x: hidden;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    font: inherit;
    cursor: pointer;
}


/* GLOBAL */

.section {
    padding: 120px max(6vw, 30px);
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--brass);

    font-family: var(--heading-font);
    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: var(--heading-font);
    line-height: 0.9;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(3.6rem, 7vw, 7rem);
}

h2 span {
    color: var(--forest-dark);
}


/* BUTTON */

.button {
    min-height: 55px;

    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: var(--heading-font);
    font-weight: 700;

    letter-spacing: 0.06em;
    text-transform: uppercase;

    transition: 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-green {
    background: var(--forest);
    color: var(--white);
}

.button-green:hover {
    background: var(--forest-dark);
}

.button-outline {
    border: 1px solid rgba(255,255,255,0.5);

    color: var(--white);
}

.button-outline:hover {
    background: var(--white);
    color: var(--iron-black);
}


/* HEADER */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    padding: 0 max(4vw, 25px);

    display: flex;
    align-items: center;

    gap: 40px;

    z-index: 1000;

    color: var(--white);

    transition: 0.35s ease;
}

.header.scrolled {
    height: 75px;

    background: rgba(17,19,21,0.96);

    backdrop-filter: blur(12px);

    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

.logo {
    display: flex;
    flex-direction: column;

    font-family: var(--heading-font);
}

.logo-main {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 0.85;
}

.logo-sub {
    margin-top: 5px;

    color: var(--brass);

    font-size: 0.56rem;
    letter-spacing: 0.27em;
}

.desktop-nav {
    margin-left: auto;

    display: flex;
    gap: 32px;
}

.desktop-nav a {
    position: relative;

    font-family: var(--heading-font);

    font-weight: 600;

    text-transform: uppercase;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--forest-light);

    transition: width 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav .active-link::after {
    width: 100%;
}

.nav-cta {
    padding: 15px 20px;

    background: var(--forest);

    font-family: var(--heading-font);
    font-weight: 700;

    text-transform: uppercase;
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    background: transparent;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 6px auto;

    background: var(--white);
}

.mobile-menu {
    position: fixed;

    inset: 0;

    padding: 130px 30px 40px;

    z-index: 900;

    background: var(--iron-black);
    color: var(--white);

    transform: translateX(100%);

    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu nav a {
    padding: 13px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.12);

    font-family: var(--heading-font);
    font-size: 2.3rem;

    text-transform: uppercase;
}

.mobile-menu .button {
    width: 100%;
    margin-top: 35px;
}


/* HERO */

.coaches-hero {
    position: relative;

    min-height: 88vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--iron-black);
    color: var(--white);
}

.coaches-hero > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,11,9,0.96),
            rgba(15,20,17,0.72) 50%,
            rgba(15,20,17,0.23)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 920px;

    margin-left: max(7vw, 30px);

    padding-top: 80px;
}

.hero-content h1 {
    font-size: clamp(4.8rem, 9vw, 9rem);
    font-weight: 900;
}

.hero-content h1 span {
    color: var(--forest-light);
}

.hero-content > p:not(.eyebrow) {
    max-width: 620px;

    margin: 30px 0;

    line-height: 1.8;

    color: rgba(255,255,255,0.74);
}


/* INTRO */

.coach-intro {
    max-width: 1500px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 100px;

    align-items: end;
}

.intro-copy {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.intro-copy p {
    max-width: 560px;

    line-height: 1.8;

    color: var(--text-muted);
}


/* TEAM */

.team-section {
    padding: 120px max(6vw,30px);

    background: var(--iron-black);

    color: var(--white);
}

.team-heading {
    max-width: var(--container);

    margin: 0 auto 65px;
}

.team-heading h2 span {
    color: var(--forest-light);
}

.coach-grid {
    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 20px;
}

.coach-card {
    background: var(--iron-black-soft);
}

.coach-photo {
    position: relative;

    height: 550px;

    overflow: hidden;
}

.coach-photo img {
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.coach-card:hover .coach-photo img {
    transform: scale(1.025);
}

.coach-number {
    position: absolute;

    top: 20px;
    right: 20px;

    font-family: var(--heading-font);

    font-size: 5rem;
    font-weight: 900;

    color: rgba(255,255,255,0.18);
}

.coach-card-content {
    padding: 35px;
}

.coach-role {
    margin-bottom: 10px;

    color: var(--brass);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.coach-card h3 {
    font-size: clamp(2.8rem, 4vw, 4.5rem);
}

.coach-description {
    max-width: 580px;

    margin-top: 18px;

    line-height: 1.75;

    color: rgba(255,255,255,0.62);
}

.coach-specialties {
    margin-top: 25px;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.coach-specialties span {
    padding: 8px 12px;

    border: 1px solid rgba(255,255,255,0.15);

    font-size: 0.7rem;

    text-transform: uppercase;
}

.bio-button {
    margin-top: 28px;

    background: transparent;

    color: var(--forest-light);

    font-family: var(--heading-font);
    font-weight: 700;

    text-transform: uppercase;
}

.bio-button:hover {
    color: var(--brass-light);
}


/* MODAL */

.coach-modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    pointer-events: none;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.coach-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.72);
}

.modal-panel {
    position: relative;

    z-index: 2;

    width: min(600px, 100%);

    height: 100%;

    padding: 100px 55px;

    background: var(--forest-dark);

    color: var(--white);

    transform: translateX(100%);

    transition: transform 0.4s ease;
}

.coach-modal.active .modal-panel {
    transform: translateX(0);
}

.modal-close {
    position: absolute;

    right: 30px;
    top: 25px;

    background: transparent;

    color: var(--white);

    font-size: 2.5rem;
}

.modal-role {
    color: var(--brass-light);

    text-transform: uppercase;

    letter-spacing: 0.12em;
}

.modal-panel h2 {
    margin-top: 15px;

    font-size: clamp(4rem,7vw,6rem);
}

.modal-bio {
    margin-top: 30px;

    line-height: 1.8;

    color: rgba(255,255,255,0.72);
}

.modal-info {
    margin-top: 40px;

    padding-top: 30px;

    border-top:
        1px solid rgba(255,255,255,0.16);

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.modal-info div {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.modal-info span {
    color: rgba(255,255,255,0.45);

    font-size: 0.7rem;

    text-transform: uppercase;
}

.modal-info strong {
    font-family: var(--heading-font);

    font-size: 1.5rem;

    text-transform: uppercase;
}


/* COACHING FEATURE */

.coaching-feature {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    background: var(--concrete);
}

.feature-image img {
    height: 100%;
    min-height: 720px;

    object-fit: cover;
}

.feature-content {
    padding: clamp(70px,8vw,130px);

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.feature-content p:not(.eyebrow) {
    max-width: 560px;

    margin-top: 20px;

    line-height: 1.8;

    color: var(--text-muted);
}


/* FORM FEATURE */

.form-feature {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
}

.form-feature > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.form-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,11,9,0.94),
            rgba(15,20,17,0.65),
            rgba(15,20,17,0.18)
        );
}

.form-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin-left: max(7vw,30px);
}

.form-content h2 {
    font-size: clamp(4rem,7vw,7rem);
}

.form-content h2 span {
    color: var(--forest-light);
}

.form-content > p:not(.eyebrow) {
    max-width: 600px;

    margin-top: 25px;

    line-height: 1.8;

    color: rgba(255,255,255,0.68);
}

.form-quote {
    margin-top: 35px;

    padding-left: 20px;

    border-left: 4px solid var(--brass);

    font-family: var(--heading-font);

    font-size: 2rem;

    text-transform: uppercase;
}


/* STANDARDS */

.standards {
    background: var(--forest-dark);
    color: var(--white);
}

.standards-heading {
    margin-bottom: 70px;
}

.standards-heading h2 span {
    color: var(--brass-light);
}

.standards-grid {
    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2,1fr);
}

.standard {
    min-height: 320px;

    padding: 45px;

    border:
        1px solid rgba(255,255,255,0.13);
}

.standard-number {
    font-family: var(--heading-font);

    font-size: 4rem;
    font-weight: 900;

    color: rgba(255,255,255,0.12);
}

.standard h3 {
    margin-top: 45px;

    font-size: 2.3rem;
}

.standard p {
    max-width: 440px;

    margin-top: 15px;

    line-height: 1.7;

    color: rgba(255,255,255,0.65);
}


/* CULTURE */

.culture {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    background: var(--iron-black);

    color: var(--white);
}

.culture-content {
    padding: clamp(70px,8vw,130px);

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.culture-content h2 span {
    color: var(--forest-light);
}

.culture-content p:not(.eyebrow) {
    max-width: 580px;

    margin-top: 20px;

    line-height: 1.8;

    color: rgba(255,255,255,0.65);
}

.culture-image img {
    height: 100%;
    min-height: 700px;

    object-fit: cover;
}


/* GROUP COACHING */

.group-coaching {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    color: var(--white);
}

.group-coaching > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.group-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10,13,11,0.95),
            rgba(10,13,11,0.58),
            rgba(10,13,11,0.2)
        );
}

.group-content {
    position: relative;

    z-index: 2;

    margin-left: max(7vw,30px);

    max-width: 800px;
}

.big-number {
    display: block;

    font-family: var(--heading-font);

    font-size: clamp(8rem,15vw,15rem);
    font-weight: 900;

    line-height: 0.7;

    color: var(--brass-light);
}

.group-content h2 {
    margin-top: 35px;
}

.group-content h2 span {
    color: var(--forest-light);
}

.group-content > p:not(.eyebrow) {
    max-width: 580px;

    margin-top: 25px;

    line-height: 1.8;

    color: rgba(255,255,255,0.7);
}


/* FIRST VISIT */

.first-visit {
    max-width: 1500px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 80px;

    align-items: center;
}

.visit-image img {
    min-height: 620px;

    object-fit: cover;
}

.visit-content > p:not(.eyebrow) {
    max-width: 560px;

    margin: 25px 0 35px;

    line-height: 1.8;

    color: var(--text-muted);
}


/* FINAL CTA */

.final-cta {
    min-height: 650px;

    padding: 100px max(6vw,30px);

    display: grid;

    place-items: center;

    text-align: center;

    background: var(--forest-dark);

    color: var(--white);
}

.final-content {
    max-width: 950px;
}

.final-content h2 span {
    color: var(--brass-light);
}

.final-content > p:not(.eyebrow) {
    max-width: 620px;

    margin: 30px auto 35px;

    line-height: 1.8;

    color: rgba(255,255,255,0.68);
}

.final-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;
}


/* FOOTER */

.footer {
    position: relative;

    padding: 90px max(6vw,30px) 30px;

    overflow: hidden;

    background: #0b0d0c;

    color: var(--white);
}

.footer-word {
    position: absolute;

    left: 50%;
    bottom: -45px;

    transform: translateX(-50%);

    color: rgba(255,255,255,0.02);

    font-family: var(--heading-font);

    font-size: clamp(9rem,20vw,21rem);
    font-weight: 900;

    white-space: nowrap;
}

.footer-content {
    position: relative;

    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.4fr;

    gap: 60px;
}

.footer-brand p {
    margin-top: 25px;

    color: rgba(255,255,255,0.55);

    font-family: var(--heading-font);

    font-size: 1.8rem;

    text-transform: uppercase;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 12px;

    color: var(--brass);
}

.footer-column a,
.footer-column p {
    color: rgba(255,255,255,0.52);

    font-size: 0.88rem;

    line-height: 1.6;
}

.footer-bottom {
    position: relative;

    max-width: var(--container);

    margin: 70px auto 0;

    padding-top: 25px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255,255,255,0.1);

    color: rgba(255,255,255,0.34);

    font-size: 0.73rem;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-tagline {
    color: var(--forest-light);

    font-family: var(--heading-font);

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* REVEAL */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

.mobile-sticky-cta {
    display: none;
}


/* TABLET */

@media (max-width: 1100px) {

    .desktop-nav {
        display: none;
    }

    .nav-cta {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .coach-intro {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .coach-grid {
        grid-template-columns: 1fr;
    }

    .coaching-feature,
    .culture,
    .first-visit {
        grid-template-columns: 1fr;
    }

    .standards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

}


/* MOBILE */

@media (max-width: 768px) {

    .section {
        padding: 80px 22px;
    }

    .header {
        height: 72px;

        padding: 0 18px;
    }

    .nav-cta {
        display: none;
    }

    .coaches-hero {
        min-height: 88svh;
    }

    .hero-content {
        margin: 0;

        padding: 110px 22px 60px;
    }

    .hero-content h1 {
        font-size: clamp(4rem,18vw,6.5rem);
    }

    .team-section {
        padding: 80px 22px;
    }

    .coach-photo {
        height: 430px;
    }

    .coach-card-content {
        padding: 28px 22px;
    }

    .modal-panel {
        padding: 90px 25px 50px;
    }

    .modal-info {
        grid-template-columns: 1fr;
    }

    .feature-image img,
    .culture-image img,
    .visit-image img {
        min-height: 480px;
    }

    .feature-content,
    .culture-content {
        padding: 80px 22px;
    }

    .form-content,
    .group-content {
        margin: 0;

        padding: 80px 22px;
    }

    .standards-grid {
        grid-template-columns: 1fr;
    }

    .final-buttons {
        flex-direction: column;

        align-items: center;
    }

    .final-buttons .button {
        width: 100%;

        max-width: 340px;
    }

    .footer {
        padding: 70px 22px 100px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .mobile-sticky-cta {
        position: fixed;

        left: 12px;
        right: 12px;
        bottom: 12px;

        min-height: 54px;

        display: flex;
        align-items: center;
        justify-content: center;

        z-index: 800;

        background: var(--forest);

        color: var(--white);

        font-family: var(--heading-font);
        font-weight: 700;

        letter-spacing: 0.07em;

        text-transform: uppercase;

        box-shadow:
            0 8px 30px rgba(0,0,0,0.38);
    }

}


@media (max-width: 480px) {

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-column:last-child {
        grid-column: auto;
    }

}