/* ==========================================
   IRON ROOTS — MEMBERSHIP
========================================== */

: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 {
    overflow: hidden;
}

img {
    width: 100%;
    display: block;
}

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);
}


/* ==========================================
   BUTTONS
========================================== */

.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:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 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.55);
    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
========================================== */

.membership-hero {
    position: relative;

    min-height: 88vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--iron-black);
    color: var(--white);
}

.membership-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.75) 48%,
            rgba(15,20,17,0.28)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;

    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
========================================== */

.membership-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);
}


/* ==========================================
   PRICING
========================================== */

.pricing-section {
    padding: 120px max(6vw,30px);

    background: var(--iron-black);

    color: var(--white);
}

.pricing-heading {
    max-width: var(--container);

    margin: 0 auto 65px;
}

.pricing-heading h2 span {
    color: var(--forest-light);
}

.pricing-grid {
    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

    align-items: stretch;
}

.pricing-card {
    position: relative;

    padding: 42px 35px;

    display: flex;
    flex-direction: column;

    background: var(--iron-black-soft);

    border:
        1px solid rgba(255,255,255,0.1);
}

.pricing-card.featured {
    background: var(--forest-dark);

    border-color:
        rgba(198,167,117,0.5);

    transform: translateY(-15px);
}

.popular-badge {
    position: absolute;

    top: 0;
    right: 0;

    padding: 9px 15px;

    background: var(--brass);

    color: var(--iron-black);

    font-family: var(--heading-font);
    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.plan-label {
    margin-bottom: 12px;

    color: var(--brass-light);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: clamp(3rem,4vw,4.6rem);
}

.price {
    margin-top: 30px;

    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.currency {
    padding-bottom: 9px;

    font-family: var(--heading-font);
    font-size: 1rem;

    color: rgba(255,255,255,0.6);
}

.price strong {
    font-family: var(--heading-font);

    font-size: clamp(4rem,6vw,6.5rem);

    line-height: 0.8;
}

.period {
    padding-bottom: 8px;

    color: rgba(255,255,255,0.5);

    font-size: 0.82rem;
}

.plan-description {
    margin-top: 25px;

    min-height: 80px;

    line-height: 1.7;

    color: rgba(255,255,255,0.62);
}

.plan-features {
    list-style: none;

    margin: 30px 0 35px;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plan-features li {
    padding-bottom: 15px;

    border-bottom:
        1px solid rgba(255,255,255,0.09);

    line-height: 1.5;

    color: rgba(255,255,255,0.75);
}

.plan-features li::before {
    content: "✓";

    margin-right: 10px;

    color: var(--brass-light);

    font-weight: 700;
}

.pricing-button {
    margin-top: auto;

    border:
        1px solid rgba(255,255,255,0.25);

    color: var(--white);
}

.pricing-button:hover {
    background: var(--forest);
    border-color: var(--forest);
}

.pricing-card .button-green {
    margin-top: auto;
}

.pricing-note {
    max-width: var(--container);

    margin: 35px auto 0;

    color: rgba(255,255,255,0.38);

    font-size: 0.75rem;
}


/* ==========================================
   INCLUDED
========================================== */

.included-section {
    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    background: var(--concrete);
}

.included-image img {
    height: 100%;
    min-height: 780px;

    object-fit: cover;
}

.included-content {
    padding: clamp(70px,8vw,130px);

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.benefit-list {
    margin-top: 40px;

    border-top:
        1px solid var(--concrete-dark);
}

.benefit-list article {
    padding: 25px 0;

    display: grid;

    grid-template-columns:
        55px 1fr;

    gap: 20px;

    border-bottom:
        1px solid var(--concrete-dark);
}

.benefit-list article > span {
    color: var(--brass-dark);

    font-family: var(--heading-font);
    font-weight: 700;
}

.benefit-list h3 {
    font-size: 1.6rem;
}

.benefit-list p {
    margin-top: 8px;

    max-width: 480px;

    line-height: 1.7;

    color: var(--text-muted);
}


/* ==========================================
   FREE TRIAL FEATURE
========================================== */

.trial-section {
    position: relative;

    min-height: 740px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
}

.trial-section > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.trial-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)
        );
}

.trial-content {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin-left: max(7vw,30px);

    padding-right: 30px;
}

.trial-content h2 {
    font-size: clamp(4rem,7vw,7rem);
}

.trial-content h2 span {
    color: var(--forest-light);
}

.trial-content > p:not(.eyebrow) {
    max-width: 580px;

    margin: 25px 0 35px;

    line-height: 1.8;

    color: rgba(255,255,255,0.68);
}


/* ==========================================
   COMPARISON TABLE
========================================== */

.comparison {
    background: var(--concrete-light);
}

.comparison-heading {
    margin-bottom: 60px;
}

.comparison-table {
    max-width: var(--container);

    margin: auto;

    border-top:
        1px solid var(--concrete-dark);
}

.comparison-row {
    display: grid;

    grid-template-columns:
        1.4fr repeat(3,1fr);

    border-bottom:
        1px solid var(--concrete-dark);
}

.comparison-row > div {
    padding: 22px;

    border-right:
        1px solid var(--concrete-dark);
}

.comparison-row > div:last-child {
    border-right: none;
}

.comparison-head {
    background: var(--forest-dark);

    color: var(--white);

    font-family: var(--heading-font);

    font-weight: 700;

    text-transform: uppercase;
}

.comparison-row:not(.comparison-head) div:first-child {
    font-family: var(--heading-font);

    font-size: 1.1rem;

    font-weight: 700;

    text-transform: uppercase;
}


/* ==========================================
   FAQ
========================================== */

.faq-section {
    background: var(--concrete);
}

.faq-heading {
    margin-bottom: 55px;
}

.faq-list {
    max-width: var(--container);

    margin: auto;

    border-top:
        1px solid var(--concrete-dark);
}

.faq-item {
    border-bottom:
        1px solid var(--concrete-dark);
}

.faq-question {
    width: 100%;

    padding: 26px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background: transparent;

    text-align: left;
}

.faq-question > span:first-child {
    font-family: var(--heading-font);

    font-size: clamp(1.5rem,2.5vw,2.2rem);

    font-weight: 700;

    text-transform: uppercase;
}

.faq-icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border:
        1px solid var(--concrete-dark);

    color: var(--forest-dark);

    font-size: 1.5rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);

    background: var(--forest-dark);

    color: var(--white);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.4s ease;
}

.faq-answer p {
    max-width: 850px;

    padding: 0 0 28px;

    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 CTA
========================================== */

.mobile-sticky-cta {
    display: none;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {

    .desktop-nav {
        display: none;
    }

    .nav-cta {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .membership-intro {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .included-section {
        grid-template-columns: 1fr;
    }

    .included-image img {
        min-height: 550px;
    }

    .footer-content {
        grid-template-columns:
            1.5fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .section {
        padding: 80px 22px;
    }

    .header {
        height: 72px;

        padding: 0 18px;
    }

    .nav-cta {
        display: none;
    }

    .membership-hero {
        min-height: 88svh;
    }

    .hero-content {
        margin: 0;

        padding:
            110px 22px 60px;
    }

    .hero-content h1 {
        font-size:
            clamp(4rem,18vw,6.5rem);
    }

    .pricing-section {
        padding:
            80px 22px;
    }

    .pricing-card {
        padding:
            38px 24px;
    }

    .plan-description {
        min-height: 0;
    }

    .included-content {
        padding:
            80px 22px;
    }

    .trial-section {
        min-height: 680px;
    }

    .trial-content {
        margin: 0;

        padding:
            80px 22px;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-row {
        min-width: 720px;
    }

    .faq-question > span:first-child {
        font-size: 1.45rem;
    }

    .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) {

    .price strong {
        font-size: 5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-column:last-child {
        grid-column: auto;
    }

}