/* =========================================================
   INNER ANCHOR ACADEMY
   Main Website Stylesheet
   ========================================================= */


/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {

    /* Brand colors */
    --color-navy: #0c1724;
    --color-navy-light: #142536;
    --color-navy-medium: #1b3044;

    --color-gold: #c9a45c;
    --color-gold-light: #e0c27b;
    --color-gold-dark: #9d7a3d;

    --color-white: #ffffff;
    --color-off-white: #f7f7f5;

    --color-slate: #65717d;
    --color-slate-light: #9ca7b1;

    --color-border: rgba(12, 23, 36, 0.10);

    /* Typography */
    --font-body: "DM Sans", sans-serif;
    --font-heading: "Playfair Display", serif;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 110px;

    /* Effects */
    --shadow-soft:
        0 20px 60px rgba(12, 23, 36, 0.10);

    --shadow-card:
        0 15px 40px rgba(12, 23, 36, 0.08);

    --transition:
        250ms ease;

}/* ========================================
   THEME SEMANTIC TOKENS
======================================== */

html {
    --theme-bg: #0c1724;
    --theme-bg-alt: #142536;
    --theme-surface: rgba(255, 255, 255, 0.06);
    --theme-surface-alt: #142536
    --theme-surface-strong: rgba(255, 255, 255, 0.10);

    --theme-text: #f7f7f5;
    --theme-text-muted: #c7d0d7;

    --theme-accent: var(--color-gold);
    --theme-accent-light: var(--color-gold-light);

    --theme-border: rgba(255, 255, 255, 0.14);
    --theme-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

/* SMOKE */
/* SMOKE */
html[data-theme="smoke"] {
    --theme-bg: #8f969b;
    --theme-bg-alt: #7f878d;

    --theme-surface: rgba(255, 255, 255, 0.16);
    --theme-surface-alt: #99a0a5;
    --theme-surface-strong: rgba(255, 255, 255, 0.26);

    --theme-text: #182129;
    --theme-text-muted: #35424c;

    --theme-accent: #b98836;
    --theme-accent-light: #d1aa63;

    --theme-border: rgba(24, 33, 41, 0.18);
    --theme-shadow: 0 18px 45px rgba(18, 24, 29, 0.22);
}


/* CHARCOAL */
html[data-theme="charcoal"] {
    --theme-bg: #202326;
    --theme-bg-alt: #2b2f33;
    --theme-surface: rgba(255, 255, 255, 0.05);
    --theme-surface-alt: #2b2f33;
    --theme-surface-strong: rgba(255, 255, 255, 0.08);

    --theme-text: #f0ede7;
    --theme-text-muted: #c5c7c6;

    --theme-accent: #d0a04a;
    --theme-accent-light: #dfb96d;

    --theme-border: rgba(255, 255, 255, 0.12);
    --theme-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}


/* =========================================================
   2. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {
    font-family: var(--font-body);
    background: var(--theme-bg);
    color: var(--theme-text);
    line-height: 1.7;
    overflow-x: hidden;
}


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


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


button {
    font: inherit;
}


ul {
    list-style: none;
}


/* =========================================================
   3. GLOBAL LAYOUT
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container-width)
    );

    margin-inline: auto;
}


.section {
    padding-block: var(--section-padding);
}


.section-eyebrow,
.eyebrow {
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}


.section-heading {
    max-width: 720px;
    margin-bottom: 60px;
}


.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}


.section-heading h2,
.about-content h2,
.membership-content h2,
.final-cta h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(
        2.4rem,
        5vw,
        4rem
    );
    line-height: 1.12;
    letter-spacing: -0.025em;
}


.section-heading p {
    color: var(--color-slate);
    font-size: 1.08rem;
    margin-top: 22px;
    max-width: 650px;
}


.centered p {
    margin-inline: auto;
}


/* =========================================================
   4. BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding:
        0 28px;

    border-radius: 4px;

    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 0.02em;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {
    background: var(--color-gold);
    color: var(--color-navy);

    box-shadow:
        0 10px 30px rgba(201, 164, 92, 0.20);
}


.button-primary:hover {
    background: var(--color-gold-light);

    box-shadow:
        0 15px 35px rgba(201, 164, 92, 0.30);
}


.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.40);
    color: var(--color-white);
}


.button-secondary:hover {
    background: var(--color-white);
    color: var(--color-navy);
}


.button-full {
    width: 100%;
}


/* =========================================================
   5. HEADER
   ========================================================= */

.site-header {
    position: fixed;
    z-index: 1000;

    top: 0;
    left: 0;

    width: 100%;

    transition:
        background var(--transition),
        box-shadow var(--transition),
        backdrop-filter var(--transition);
}


.site-header.scrolled {
    background:
        rgba(12, 23, 36, 0.96);

    backdrop-filter: blur(14px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);
}


.nav-container {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.brand {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}


.brand-logo {
    width: 205px;
    height: auto;
    display:block;
    object-fit:contain;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}


.main-nav > a:not(.nav-cta) {
    position: relative;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.78rem;
    font-weight: 600;

    transition:
        color var(--transition);
}


.main-nav > a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--color-gold);

    transition:
        width var(--transition);
}


.main-nav > a:not(.nav-cta):hover {
    color: var(--color-white);
}


.main-nav > a:not(.nav-cta):hover::after {
    width: 100%;
}


.nav-cta {
    padding:
        11px 19px;

    border:
        1px solid var(--color-gold);

    color: var(--color-gold);

    font-size: 0.78rem;
    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition);
}


.nav-cta:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}


/* Mobile menu button */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    cursor: pointer;
}


.mobile-menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: var(--color-white);

    transition:
        transform var(--transition),
        opacity var(--transition);
}


.mobile-nav {
    display: none;
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 800px;

    display: flex;
    align-items: center;

    background:
        var(--theme-bg);

    color: var(--theme-text);

    overflow: hidden;
}


.hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 78% 50%,
            rgba(201, 164, 92, 0.16),
            transparent 28%
        ),

        radial-gradient(
            circle at 15% 80%,
            rgba(36, 82, 120, 0.25),
            transparent 30%
        );
}


.hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255,255,255,0.015) 50%,
            transparent 100%
        );
}


.hero-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 80px;

    padding-top: 110px;
    padding-bottom: 80px;
}


.hero-content {
    max-width: 650px;
}


.hero h1 {
    font-family: var(--font-heading);

    font-size: clamp(
        3.2rem,
        6vw,
        5.5rem
    );

    line-height: 1.03;

    letter-spacing: -0.04em;

    margin-bottom: 28px;
}


.hero h1 span {
    display: block;
    color: var(--color-gold);
}


.hero-description {
    max-width: 600px;

    color: var(--theme-text-muted);

    font-size: 1.08rem;

    line-height: 1.8;

    margin-bottom: 34px;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 32px;
}


.hero-tagline {
    color: rgba(255,255,255,0.55);

    font-size: 0.73rem;
    font-weight: 600;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}


.hero-tagline span {
    color: var(--color-gold);
    padding-inline: 8px;
}


/* Portrait */

.hero-portrait-wrapper {
    position: relative;

    width: min(100%, 500px);

    margin-inline: auto;
}


.portrait-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        rgba(201,164,92,0.15);

    filter: blur(70px);
}


.portrait-frame {
    position: relative;
    z-index: 2;

    overflow: hidden;

    border:
        1px solid rgba(201,164,92,0.45);

    border-radius: 8px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35);
}


.hero-portrait {
    width: 100%;
    height: auto;

    object-fit: cover;
}


.portrait-accent {
    position: absolute;

    z-index: 1;

    width: 80%;
    height: 80%;

    right: -30px;
    bottom: -30px;

    border:
        1px solid var(--color-gold);

    border-radius: 8px;

    opacity: 0.5;
}


/* Scroll indicator */

.scroll-indicator {
    position: absolute;

    z-index: 3;

    bottom: 30px;
    left: 50%;

    transform:
        translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    color: rgba(255,255,255,0.55);

    font-size: 0.65rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.scroll-arrow {
    color: var(--color-gold);

    font-size: 1.1rem;

    animation:
        bounceArrow 2s infinite;
}


@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

}


/* =========================================================
   7. TRUST BAR
   ========================================================= */

.trust-bar {
    background: var(--color-off-white);

    border-bottom:
        1px solid var(--color-border);
}


.trust-grid {
    min-height: 105px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr
        auto
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;
}


.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    text-align: center;
}


.trust-number {
    color: var(--color-gold-dark);

    font-family: var(--font-heading);

    font-size: 2rem;
    font-weight: 600;
}


.trust-icon {
    color: var(--color-gold);

    font-size: 0.65rem;
}


.trust-label {
    color: var(--color-slate);

    font-size: 0.73rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.trust-divider {
    width: 1px;
    height: 32px;

    background: var(--color-border);
}


/* =========================================================
   8. ABOUT
   ========================================================= */

.about-section {
    background: var(--theme-surface);
}


.about-grid {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    align-items: center;

    gap: 100px;
}


.about-image-wrapper {
    position: relative;

    max-width: 470px;
}


.about-image {
    position: relative;
    z-index: 2;

    width: 100%;

    border-radius: 6px;

    box-shadow:
        var(--shadow-soft);
}


.about-image-accent {
    position: absolute;

    z-index: 1;

    top: -22px;
    left: -22px;

    width: 80%;
    height: 80%;

    border:
        1px solid var(--color-gold);

    border-radius: 6px;
}


.about-content h2 {
    margin-bottom: 28px;
}


.about-content h2 em {
    color: var(--color-gold-dark);
    font-style: normal;
}


.about-content p {
    color: var(--color-slate);

    margin-bottom: 18px;

    max-width: 650px;
}


.text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 15px;

    color: var(--color-gold-dark);

    font-weight: 700;

    transition:
        gap var(--transition);
}


.text-link:hover {
    gap: 16px;
}


/* =========================================================
   9. ACADEMY PILLARS
   ========================================================= */

.academy-section {
    background: var(--theme-surface-alt);
}


.academy-pillars {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.pillar-card {
    position: relative;

    padding: 35px 30px 40px;

    background: var(--color-white);

    border:
        none;

    box-shadow:
        var(--shadow-card);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.pillar-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 25px 55px rgba(12,23,36,0.12);
}


.pillar-icon {
    color: var(--color-gold);

    -webkit-text-stroke: 2px rgba(12, 23, 36, 0.9);
    paint-order: stroke fill;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;

    margin-bottom: 40px;
}



.pillar-card h3 {
    font-family: var(--font-heading);

    font-size: 1.7rem;

    margin-bottom: 14px;
}


.pillar-card p {
    color: var(--color-slate);

    font-size: 0.92rem;
}


/* =========================================================
   10. CURRICULUM
   ========================================================= */

.curriculum-section {
    background: var(--theme-bg);

    color: var(--theme-text);
}


.curriculum-section .section-heading h2 {
    color: var(--theme-text);
}


.curriculum-section .section-heading h2 span {
    display: block;

    color: var(--theme-accent);
}


.curriculum-section .section-heading p {
    color: var(--theme-text-muted);
}


.phase-list {
    border-top:
        1px solid var(--theme-border);
}


.phase-item {
    display: grid;

    grid-template-columns:
        80px
        1fr;

    gap: 30px;

    padding:
        30px 0;

    border-bottom:
        1px solid var(--theme-border);

    transition:
        padding-left var(--transition),
        background var(--transition);
}


.phase-item:hover {
    padding-left: 15px;
}


.phase-number {
    color: var(--theme-accent);

    font-family: var(--font-heading);

    font-size: 1.4rem;
}


.phase-item h3 {
    font-family: var(--font-heading);

    font-size: 1.45rem;

    margin-bottom: 6px;
}


.phase-item p {
    color: var(--theme-text-muted);

    font-size: 0.92rem;

    max-width: 700px;
}


.curriculum-cta {
    margin-top: 45px;
}


/* =========================================================
   11. MEMBERSHIP
   ========================================================= */

.membership-section {
    background: var(--color-off-white);
}


.membership-container {
    display: grid;

    grid-template-columns:
        1fr
        420px;

    gap: 100px;

    align-items: center;
}


.membership-content h2 {
    margin-bottom: 25px;
}


.membership-content > p {
    color: var(--color-slate);

    max-width: 620px;

    margin-bottom: 30px;
}


.membership-features {
    display: grid;

    gap: 14px;
}


.membership-features li {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--color-navy);

    font-weight: 600;
}


.membership-features span {
    color: var(--color-gold-dark);

    font-weight: 700;
}


.membership-card {
    padding: 50px 42px;

    background: var(--color-navy);

    color: var(--color-white);

    border:
        1px solid rgba(201,164,92,0.35);

    border-radius: 6px;

    box-shadow:
        var(--shadow-soft);

    text-align: center;
}


.membership-label {
    color: var(--color-gold);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.18em;
}


.membership-price {
    display: flex;

    align-items: baseline;
    justify-content: center;

    margin:
        20px 0 5px;
}


.currency {
    color: var(--color-gold);

    font-size: 1.5rem;
}


.amount {
    font-family: var(--font-heading);

    font-size: 5rem;
    line-height: 1;
}


.period {
    color: rgba(255,255,255,0.55);

    font-size: 0.9rem;

    margin-left: 5px;
}


.membership-note {
    color: rgba(255,255,255,0.55);

    font-size: 0.8rem;

    margin-bottom: 28px;
}


.membership-small {
    color: rgba(255,255,255,0.48);

    font-size: 0.76rem;

    margin-top: 20px;
}


/* =========================================================
   12. FAQ
   ========================================================= */

.faq-section {
    background: var(--theme-bg);
}


.faq-container {
    max-width: 850px;
}


.faq-list {
    border-top:
        1px solid var(--theme-border);
}


.faq-item {
    border-bottom:
        1px solid var(--theme-border);
}


.faq-item summary {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 25px 0;

    cursor: pointer;

    list-style: none;

    font-family: var(--font-heading);

    font-size: 1.15rem;
}


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


.faq-item summary span {
    color: var(--theme-accent);

    font-family: var(--font-body);

    font-size: 1.4rem;

    transition:
        transform var(--transition);
}


.faq-item[open] summary span {
    transform: rotate(45deg);
}


.faq-answer {
    padding:
        0 45px 25px 0;
}


.faq-answer p {
    color: var(--theme-text-muted);

    font-size: 0.95rem;
}


/* =========================================================
   13. FINAL CTA
   ========================================================= */

.final-cta {
    position: relative;

    padding:
        120px 0;

    background:
        var(--theme-bg);

    color: var(--theme-text);

    text-align: center;

    overflow: hidden;
}


.final-cta::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        rgba(201,164,92,0.09);

    filter: blur(50px);
}


.final-cta-content {
    position: relative;
    z-index: 2;
}


.final-cta h2 {
    font-size: clamp(
        3rem,
        7vw,
        5rem
    );

    color: var(--theme-text);

    margin-bottom: 20px;
}


.final-cta p:not(.section-eyebrow) {
    max-width: 620px;

    margin:
        0 auto 35px;

    color:
        var(--theme-text-muted);

    font-size: 1.05rem;
}


.final-cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   14. FOOTER
   ========================================================= */

.site-footer {
    background: var(--theme-bg-alt);

    color: var(--theme-text);
}


.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap: 60px;

    padding:
        75px 0;
}


.footer-logo {
    width: 205px;
    height:auto;
    display:block;

    margin-bottom: 18px;
}


.footer-brand p {
    color:
        var(--theme-text-muted);

    font-size: 0.82rem;
}


.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}


.footer-links h3 {
    color: var(--color-gold);

    font-size: 0.72rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 10px;
}


.footer-links a {
    color:
        var(--theme-text-muted);

    font-size: 0.82rem;

    transition:
        color var(--transition);
}


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


.footer-bottom {
    border-top:
        1px solid var(--theme-border);
}


.footer-bottom-content {
    min-height: 75px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {
    color:
        var(--theme-text-muted);

    font-size: 0.72rem;
}


.footer-legal {
    display: flex;

    gap: 20px;
}


.footer-legal a {
    color:
        var(--theme-text-muted);

    font-size: 0.72rem;
}


.footer-legal a:hover {
    color: var(--theme-text);
}


/* =========================================================
   15. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 16px;
    }


    .main-nav > a:not(.nav-cta) {
        font-size: 0.72rem;
    }


    .hero-container {
        gap: 45px;
    }


    .about-grid {
        gap: 60px;
    }


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


    .membership-container {
        gap: 60px;
    }

}


/* =========================================================
   16. MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 850px) {

    :root {
        --section-padding: 80px;
    }


    .main-nav {
        display: none;
    }


    .mobile-menu-toggle {
        display: block;
    }


    .mobile-nav {
        display: flex;

        flex-direction: column;

        max-height: 0;

        overflow: hidden;

        background:
            rgba(8,17,27,0.98);

        transition:
            max-height 350ms ease;
    }


    .mobile-nav.open {
        max-height: 600px;
    }


    .mobile-nav a {
        padding:
            15px 20px;

        border-top:
            1px solid rgba(255,255,255,0.07);

        color:
            rgba(255,255,255,0.75);

        font-size: 0.9rem;
    }


    .mobile-nav a:hover {
        color: var(--color-white);
    }


    .mobile-nav-cta {
        margin:
            15px 20px 20px;

        background: var(--color-gold);

        color: var(--color-navy) !important;

        text-align: center;

        font-weight: 700;
    }


    .hero {
        min-height: auto;
    }


    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 150px;
        padding-bottom: 100px;
    }


    .hero-content {
        margin-inline: auto;
    }


    .hero-buttons {
        justify-content: center;
    }


    .hero-tagline {
        line-height: 2;
    }


    .hero-portrait-wrapper {
        width: 100%;
        height:auto;
        display:block;
        object-fit:cover;
    }


    .scroll-indicator {
        display: none;
    }


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

        gap: 0;
    }


    .trust-divider {
        display: none;
    }


    .trust-item {
        padding:
            25px 10px;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .about-image-wrapper {
        margin-inline: auto;
    }


    .about-content {
        text-align: center;
    }


    .about-content p {
        margin-inline: auto;
    }


    .membership-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .membership-card {
        max-width: 500px;

        margin-inline: auto;
    }


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


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

}


/* =========================================================
   17. SMALL MOBILE
   ========================================================= */

@media (max-width: 550px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                var(--container-width)
            );
    }


    .nav-container {
        min-height: 75px;
    }


    .brand-logo {
        width: 150px;
    }


    .hero h1 {
        font-size: 3rem;
    }


    .hero-description {
        font-size: 0.95rem;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-buttons .button {
        width: 100%;
    }


    .hero-portrait-wrapper {
        width: 100%;
    }


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


    .trust-item {
        padding:
            18px 10px;
    }


    .academy-pillars {
        grid-template-columns: 1fr;
    }


    .pillar-card {
        padding: 30px 25px;
    }


    .phase-item {
        grid-template-columns:
            45px
            1fr;

        gap: 15px;
    }


    .phase-number {
        font-size: 1.1rem;
    }


    .phase-item h3 {
        font-size: 1.25rem;
    }


    .membership-card {
        padding:
            40px 25px;
    }


    .amount {
        font-size: 4.2rem;
    }


    .faq-item summary {
        font-size: 1rem;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


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


    .footer-bottom-content {
        flex-direction: column;

        justify-content: center;

        padding:
            20px 0;
    }


    .footer-legal {
        justify-content: center;
    }

}


/* =========================================================
   18. REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}/* =========================================================
   19. SCROLL REVEAL ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 700ms ease,
        transform 700ms ease;
}


.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Respect users who prefer reduced motion */

@media (prefers-reduced-motion: reduce) {

    .reveal {
        opacity: 1;
        transform: none;
    }

}/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .reveal {
        opacity: 1;
        transform: none;
    }

}/* =========================================================
   20. SOCIAL LINKS
   ========================================================= */

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.82rem;
    font-weight: 600;

    transition:
        color 250ms ease,
        transform 250ms ease;
}


.footer-social a:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}


.social-arrow {
    color: var(--color-gold);
    font-size: 0.8rem;
}/* =========================================================
   LIGHTHOUSE & OCEAN ATMOSPHERE
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
}


/* ---------------------------------------------------------
  /* =========================================================
   HERO ATMOSPHERE
   Inner Anchor Academy
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
}


/* Keep all atmospheric effects behind the content */

.hero-atmosphere {
    position: absolute;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: 1;
}


/* ---------------------------------------------------------
   Lighthouse beam
   --------------------------------------------------------- */

.lighthouse-beam {
    position: absolute;

    width: 58%;
    height: 46%;

    top: 17%;
    right: -3%;

    transform-origin: 7% 50%;
    transform: rotate(-14deg);

    background:
        linear-gradient(
            90deg,
            rgba(255, 225, 158, 0.50) 0%,
            rgba(255, 225, 158, 0.22) 20%,
            rgba(255, 225, 158, 0.08) 55%,
            transparent 100%
        );

    clip-path: polygon(
        0% 47%,
        100% 0%,
        100% 100%,
        0% 53%
    );

    filter: blur(7px);

    opacity: 0.15;

    animation:
        lighthouseSweep 16s ease-in-out infinite;
}


@keyframes lighthouseSweep {

    0% {
        transform: rotate(-14deg);
        opacity: 0.07;
    }

    22% {
        opacity: 0.14;
    }

    50% {
        transform: rotate(17deg);
        opacity: 0.17;
    }

    72% {
        opacity: 0.12;
    }

    100% {
        transform: rotate(-14deg);
        opacity: 0.07;
    }

}


/* ---------------------------------------------------------
   Warm reflection on the ocean
   --------------------------------------------------------- */

.ocean-light {
    position: absolute;

    width: 48%;
    height: 17%;

    left: 18%;
    bottom: 7%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 207, 111, 0.18) 0%,
            rgba(255, 207, 111, 0.08) 32%,
            transparent 72%
        );

    filter: blur(12px);

    opacity: 0.35;

    animation:
        oceanReflection 12s ease-in-out infinite;
}


@keyframes oceanReflection {

    0% {
        transform: translateX(-5%) scaleX(0.85);
        opacity: 0.22;
    }

    50% {
        transform: translateX(20%) scaleX(1.08);
        opacity: 0.42;
    }

    100% {
        transform: translateX(-5%) scaleX(0.85);
        opacity: 0.22;
    }

}


/* ---------------------------------------------------------
   Keep actual website content above atmosphere
   --------------------------------------------------------- */

.hero > *:not(.hero-atmosphere) {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   Accessibility
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .lighthouse-beam,
    .ocean-light {
        animation: none;
    }

}

/* =========================================================
   21. HERO LIGHTHOUSE + ANCHOR VISUALS
   Targeted visual restoration
   ========================================================= */

.hero-lighthouse {
    position: absolute;
    z-index: 1;
    top: 7%;
    right: 4%;
    width: clamp(135px, 14vw, 220px);
    pointer-events: none;
    opacity: 0.92;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.32));
    animation: lighthouseFloat 8s ease-in-out infinite;
}

.lighthouse-image {
    width: 100%;
    height: auto;
}

.lighthouse-beacon {
    position: absolute;
    top: 8%;
    left: 36%;
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 220, 135, 0.75);
    filter: blur(12px);
    animation: beaconPulse 3.8s ease-in-out infinite;
}

@keyframes lighthouseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes beaconPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 0.85; transform: scale(1.12); }
}

/* Existing beam now sits behind the lighthouse and content. */
.lighthouse-beam {
    z-index: 0;
    pointer-events: none;
}

.ocean-light {
    z-index: 0;
    pointer-events: none;
}

/* Strong anchor at the bottom of the closing section. */
.hero-anchor {
    position: absolute;
    z-index: 1;
    right: clamp(18px, 7vw, 110px);
    bottom: -42px;
    width: clamp(150px, 18vw, 250px);
    opacity: 0.18;
    pointer-events: none;
    transform: rotate(-5deg);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.28));
    animation: anchorDrift 7s ease-in-out infinite;
}

.anchor-image {
    width: 100%;
    height: auto;
}

@keyframes anchorDrift {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-6px); }
}

/* Keep the closing copy above the decorative anchor. */
.final-cta-content {
    position: relative;
    z-index: 2;
}

/* Restore the subtle lift effect across the important interactive cards. */
.phase-item,
.membership-card,
.about-image-wrapper,
.hero-portrait-wrapper {
    transition:
        transform 300ms ease,
        box-shadow 300ms ease;
}

.phase-item:hover {
    transform: translateY(-4px);
}

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(12, 23, 36, 0.14);
}

.about-image-wrapper:hover,
.hero-portrait-wrapper:hover {
    transform: translateY(-4px);
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    .hero-lighthouse,
    .lighthouse-beacon,
    .hero-anchor {
        animation: none;
    }

    .phase-item,
    .membership-card,
    .about-image-wrapper,
    .hero-portrait-wrapper {
        transition: none;
    }
}

/* Smaller screens: keep the lighthouse visible without crowding the portrait. */
@media (max-width: 900px) {
    .hero-lighthouse {
        top: 4%;
        right: 3%;
        width: 145px;
        opacity: 0.65;
    }

    .hero-anchor {
        right: 4%;
        bottom: -55px;
        width: 170px;
        opacity: 0.13;
    }
}

@media (max-width: 550px) {
    .hero-lighthouse {
        top: 3%;
        right: 4%;
        width: 105px;
        opacity: 0.52;
    }

    .hero-anchor {
        right: -5px;
        bottom: -48px;
        width: 125px;
        opacity: 0.11;
    }
}
/* =========================================================
   22. INTERACTIVE CURRICULUM JOURNEY
   ========================================================= */

.curriculum-phase {
    display: block;
    padding: 0;
}

.curriculum-phase:hover {
    padding-left: 0;
    transform: none;
}


/* Remove default details marker */

.curriculum-phase summary {
    list-style: none;
}

.curriculum-phase summary::-webkit-details-marker {
    display: none;
}


/* Main clickable row */

.phase-summary {
    display: grid;

    grid-template-columns:
        80px
        1fr
        46px;

    gap: 30px;

    align-items: center;

    padding:
        30px 0;

    cursor: pointer;

    transition:
        padding-left 300ms ease,
        background 300ms ease;
}


.phase-summary:hover {
    padding-left: 15px;
}


/* Heading area */

.phase-heading h3 {
    font-family: var(--font-heading);

    font-size: 1.45rem;

    margin-bottom: 6px;
}


.phase-heading p {
    color: rgba(255,255,255,0.58);

    font-size: 0.92rem;

    max-width: 700px;
}


/* Plus button */

.phase-toggle {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    justify-self: end;

    border:
        1px solid rgba(201,164,92,0.45);

    border-radius: 50%;

    color: var(--color-gold);

    font-size: 1.35rem;
    font-weight: 300;

    transition:
        transform 350ms ease,
        background 300ms ease,
        color 300ms ease,
        border-color 300ms ease;
}


.phase-summary:hover .phase-toggle {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}


/* Rotate + into × when open */

.curriculum-phase[open] .phase-toggle {
    transform: rotate(45deg);

    background: var(--color-gold);
    color: var(--color-navy);
}


/* Expanded content */

.phase-expanded {
    margin:
        0 46px 0 110px;

    padding:
        5px 0 35px;

    max-width: 760px;

    animation:
        phaseReveal 400ms ease;
}


@keyframes phaseReveal {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.phase-explore-label {
    color: var(--color-gold);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    margin-bottom: 12px;
}


.phase-expanded > p:not(.phase-explore-label) {
    color: rgba(255,255,255,0.72);

    font-size: 0.95rem;

    line-height: 1.8;

    margin-bottom: 22px;
}


/* Topic pills */

.phase-topics {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.phase-topics span {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding:
        6px 13px;

    border:
        1px solid rgba(201,164,92,0.28);

    border-radius: 30px;

    background:
        rgba(201,164,92,0.06);

    color:
        rgba(255,255,255,0.72);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.03em;
}


/* Gold accent on opened phase */

.curriculum-phase[open] {
    background:
        linear-gradient(
            90deg,
            rgba(201,164,92,0.07),
            transparent 75%
        );
}


.curriculum-phase[open] .phase-number {
    color: var(--color-gold-light);
}


/* Mobile */

@media (max-width: 550px) {

    .phase-summary {
        grid-template-columns:
            42px
            1fr
            34px;

        gap: 12px;

        padding:
            24px 0;
    }


    .phase-summary:hover {
        padding-left: 0;
    }


    .phase-toggle {
        width: 32px;
        height: 32px;

        font-size: 1.1rem;
    }


    .phase-heading h3 {
        font-size: 1.2rem;
    }


    .phase-heading p {
        font-size: 0.82rem;
    }


    .phase-expanded {
        margin:
            0 10px 0 54px;

        padding-bottom: 28px;
    }


    .phase-topics span {
        font-size: 0.67rem;
    }

}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .phase-expanded {
        animation: none;
    }

    .phase-toggle,
    .phase-summary {
        transition: none;
    }

}/* =========================================================
   23. ACTIVE NAVIGATION
   ========================================================= */

.main-nav > a.active:not(.nav-cta) {
    color: var(--color-gold);
}


/* Keep the gold underline visible for the active section */

.main-nav > a.active:not(.nav-cta)::after {
    width: 100%;
}


/* Mobile active section */

.mobile-nav a.active:not(.mobile-nav-cta) {
    color: var(--color-gold);

    background:
        rgba(201, 164, 92, 0.06);
}


/* Slightly soften inactive navigation when a section is active */

.main-nav > a:not(.nav-cta) {
    transition:
        color 250ms ease,
        opacity 250ms ease;
}/* =========================================================
   24. FREE PREVIEW SECTION
   ========================================================= */

.preview-section {
    background:
        linear-gradient(
            180deg,
            var(--theme-surface-alt) 0%,
            var(--theme-bg) 100%
        );
}


.preview-heading {
    margin-bottom: 55px;
}


.preview-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.preview-card {
    overflow: hidden;

    background:
        var(--theme-surface);

    border:
        1px solid var(--theme-border);

    border-radius: 8px;

    box-shadow:
        var(--shadow-card);

    transition:
        transform 300ms ease,
        box-shadow 300ms ease;
}


.preview-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        0 28px 60px rgba(12, 23, 36, 0.13);
}


.preview-card-featured {
    border-color:
        rgba(201, 164, 92, 0.48);
}


/* Video / image area */

.preview-media {
    position: relative;

    min-height: 230px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(201,164,92,0.22),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--theme-surface-alt),
            var(--theme-bg)
        );

    color:
        var(--color-white);
}


.preview-media::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 35%,
            rgba(255,255,255,0.025),
            transparent 65%
        );

    pointer-events: none;
}


.preview-media-placeholder {
    background:
        linear-gradient(
            135deg,
            #172a3c,
            #0c1724
        );
}


.preview-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 2;

    padding:
        7px 10px;

    background:
        rgba(201,164,92,0.95);

    color:
        var(--color-navy);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}


.preview-media-label {
    position: absolute;

    left: 20px;
    bottom: 17px;

    z-index: 2;

    color:
        rgba(255,255,255,0.65);

    font-size: 0.7rem;
    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* Play button */

.preview-play {
    position: relative;

    z-index: 2;

    width: 66px;
    height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 4px;

    border:
        1px solid rgba(201,164,92,0.65);

    border-radius: 50%;

    background:
        rgba(8,17,27,0.55);

    color:
        var(--color-gold-light);

    font-size: 1.2rem;

    backdrop-filter:
        blur(8px);

    transition:
        transform 300ms ease,
        background 300ms ease;
}


.preview-card:hover .preview-play {
    transform:
        scale(1.08);

    background:
        rgba(201,164,92,0.16);
}


/* Card content */

.preview-card-content {
    padding:
        30px 28px 32px;
}


.preview-kicker {
    color:
        var(--color-gold-dark);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 10px;
}


.preview-card h3 {
    font-family:
        var(--font-heading);

    font-size: 1.65rem;

    line-height: 1.2;

    margin-bottom: 14px;
}


.preview-card-content > p:not(.preview-kicker) {
    color:
        var(--color-slate);

    font-size: 0.9rem;

    line-height: 1.75;
}


/* Lesson details */

.preview-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin:
        22px 0 25px;
}


.preview-meta span {
    padding:
        6px 10px;

    border:
        1px solid var(--color-border);

    border-radius: 20px;

    color:
        var(--color-slate);

    font-size: 0.68rem;
    font-weight: 600;
}


/* Buttons / links */

.preview-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;
}


.preview-actions .button {
    min-height: 44px;

    padding:
        0 18px;

    font-size: 0.78rem;
}


.preview-resource-link {
    color:
        var(--color-gold-dark);

    font-size: 0.78rem;
    font-weight: 700;

    transition:
        color 250ms ease;
}


.preview-resource-link:hover {
    color:
        var(--color-gold);
}


.preview-coming-soon {
    color:
        var(--color-slate-light);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


.preview-note {
    margin-top: 35px;

    color:
        var(--color-slate);

    text-align: center;

    font-size: 0.78rem;
}


/* Tablet */

@media (max-width: 1000px) {

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

}


/* Mobile */

@media (max-width: 650px) {

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


    .preview-media {
        min-height: 205px;
    }


    .preview-card-content {
        padding:
            26px 22px 28px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .preview-card,
    .preview-play {
        transition: none;
    }

}/* =========================================================
   25. EMBEDDED WEBSITE VIDEOS
   ========================================================= */

.intro-video-section {
    background: var(--theme-bg-alt);
}

.intro-video-container {
    max-width: 1000px;
}

.intro-video-heading {
    margin-bottom: 45px;
}

.intro-video-frame {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    border:
        1px solid rgba(201, 164, 92, 0.38);

    border-radius: 10px;

    background: var(--color-navy);

    box-shadow:
        0 30px 70px rgba(12, 23, 36, 0.16);
}

.intro-video-frame iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* Videos inside the three free-class cards */

.preview-video {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background:
        var(--color-navy);
}

.preview-video iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* Keep cards visually balanced */

.preview-card {
    display: flex;
    flex-direction: column;
}

.preview-card-content {
    flex: 1;

    display: flex;
    flex-direction: column;
}

.preview-card-content .preview-meta {
    margin-top: auto;
    padding-top: 22px;
}


/* Mobile */

@media (max-width: 650px) {

    .intro-video-heading {
        margin-bottom: 30px;
    }

}/* =========================================================
   26. DARKER IAA COLOR PALETTE
   Replaces harsh white sections while preserving contrast
   ========================================================= */

/* Main alternate section color */
:root {
    --iaa-slate-dark: #182633;
    --iaa-slate-mid: #22313f;
    --iaa-text-soft: #d8dde1;
    --iaa-text-muted: #aeb8c0;
}


/* ---------------------------------------------------------
   ABOUT / MEET YOUR GUIDE
   --------------------------------------------------------- */

.about-section {
    background: var(--theme-bg);
}

.about-section h2,
.about-section h3 {
    color: var(--theme-text);
}

.about-section p {
    color: var(--theme-text-muted);
}


/* ---------------------------------------------------------
   INTRO VIDEO
   --------------------------------------------------------- */

.intro-video-section {
    background: var(--theme-bg-alt);
}

.intro-video-section h2 {
    color: var(--theme-text);
}

.intro-video-section .section-heading > p:not(.section-eyebrow) {
    color: var(--theme-text-muted);
}


/* ---------------------------------------------------------
   ACADEMY SECTION
   --------------------------------------------------------- */

.academy-section {
    background: var(--theme-bg-alt);
}

.academy-section h2 {
    color: var(--theme-text);
}

.academy-section .section-heading > p:not(.section-eyebrow) {
    color: var(--theme-text-muted);
}


/* Academy cards */

.pillar-card {
    background: var(--theme-surface);
    border-color: var(--theme-border);
}

.pillar-card h3 {
    color: var(--theme-text);
}

.pillar-card p {
    color: var(--theme-text-muted);
}


/* ---------------------------------------------------------
   FREE CLASS SECTION
   --------------------------------------------------------- */

.preview-section {
    background: var(--theme-bg-alt);
}

.preview-section h2 {
    color: var(--theme-text);
}

.preview-section .section-heading > p:not(.section-eyebrow) {
    color: var(--theme-text-muted);
}


/* Free class cards */

.preview-card {
    background: var(--theme-surface);
    border-color: rgba(201, 164, 92, 0.20);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.20);
}

.preview-card h3 {
    color: var(--theme-text);
}

.preview-card-content > p:not(.preview-kicker) {
    color: var(--theme-text-muted);
}

.preview-meta span {
    color: var(--theme-text-muted);

    border-color:
        rgba(201, 164, 92, 0.30);

    background:
        var(--theme-surface-alt);
}


.preview-note {
    color: var(--theme-text-muted);
}


/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.faq-section {
    background: var(--theme-bg-alt);
}

.faq-section h2 {
    color: var(--theme-text);
}

.faq-item {
    border-color:
        var(--theme-border);
}

.faq-item summary {
    color: var(--theme-text);
}

.faq-answer p {
    color: var(--theme-text-muted);
}


/* ---------------------------------------------------------
   GENERAL LIGHT-SECTION TEXT CORRECTIONS
   --------------------------------------------------------- */

.about-section .text-link {
    color: var(--color-gold);
}


/* Keep gold eyebrow labels prominent */

.about-section .section-eyebrow,
.intro-video-section .section-eyebrow,
.academy-section .section-eyebrow,
.preview-section .section-eyebrow,
.faq-section .section-eyebrow {
    color: var(--color-gold);
}


/* ---------------------------------------------------------
   SUBTLE SEPARATION BETWEEN DARK SECTIONS
   --------------------------------------------------------- */

.about-section,
.intro-video-section,
.academy-section,
.preview-section,
.faq-section {
    border-top:
        1px solid var(--theme-border);
}/* ---------------------------------------------------------
   MEMBERSHIP
   --------------------------------------------------------- */

.membership-section {
    background: var(--theme-surface-alt);
}

.membership-section h2 {
    color: var(--theme-text);
}

.membership-content > p {
    color: var(--theme-text-muted);
}

.membership-features li {
    color: var(--theme-text);
}

.membership-features span {
    color: var(--theme-accent);
}

/* Keep the price card darker for contrast */

.membership-card {
    background: var(--color-navy);

    border-color:
        rgba(201, 164, 92, 0.35);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.22);
}/* =========================================================
   27. REALISTIC LIGHTHOUSE POSITIONING
   ========================================================= */

.hero-lighthouse {
    top: 3%;
    right: 1%;

    width:
        clamp(240px, 24vw, 380px);

    opacity: 0.96;

    filter:
        drop-shadow(0 28px 45px rgba(0, 0, 0, 0.38));
}


/* Make the new PNG fill the lighthouse container */

.lighthouse-image {
    width: 100%;
    height: auto;

    display: block;
}


/* Tone down the extra CSS beacon glow
   because the new image already has a strong lamp */

.lighthouse-beacon {
    opacity: 0.35;

    filter:
        blur(18px);

    transform:
        scale(0.9);
}


/* Slightly soften the existing animated beam
   so it complements the image instead of competing with it */

.lighthouse-beam {
    opacity: 0.10;
}


/* Tablet */

@media (max-width: 900px) {

    .hero-lighthouse {
        top: 4%;
        right: -2%;

        width:
            clamp(180px, 30vw, 260px);

        opacity: 0.78;
    }

}


/* Mobile */

@media (max-width: 550px) {

    .hero-lighthouse {
        top: 3%;
        right: -8px;

        width: 150px;

        opacity: 0.58;
    }

}/* =========================================================
   28. CINEMATIC LIGHTHOUSE HERO
   ========================================================= */

.hero {
    background:
        linear-gradient(
            90deg,
    color-mix(in srgb, var(--theme-bg) 8%, transparent) 0%,
    color-mix(in srgb, var(--theme-bg) 15%, transparent) 38%,
    color-mix(in srgb, var(--theme-bg) 72%, transparent) 58%,
    color-mix(in srgb, var(--theme-bg) 94%, transparent) 100%
),
        url("../assets/images/lighthouse-hero.png");

    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}


/* Turn off the old illustrated lighthouse pieces */

.hero-lighthouse {
    display: none;
}

.lighthouse-beam {
    display: none;
}

.ocean-light {
    display: none;
}


/* Remove the old hero background layer so the photo shows */

.hero-background {
    background: transparent;
}


/* Make sure the actual content stays above the photograph */

.hero-container {
    position: relative;
    z-index: 2;
}


/* Mobile: darken more so text remains readable */

@media (max-width: 768px) {

    .hero {
        background:
            linear-gradient(
                rgba(5, 17, 29, 0.68),
                rgba(5, 17, 29, 0.88)
            ),
            url("../assets/images/lighthouse-hero.png");

        background-size: cover;
        background-position: 25% center;
    }

}/* =========================================================
   29. FINAL HERO LAYOUT
   ========================================================= */

/* Remove portrait from hero only */
.hero-portrait,
.hero-photo,
.hero-image,
.hero-visual {
    display: none;
}

/* Give hero copy the right half of the screen */
.hero-grid {
    grid-template-columns: 1fr;
}

.hero-content {
    width: 48%;
    max-width: 720px;
    margin-left: auto;
    margin-right: 5%;
}

/* Keep lighthouse area visually open */
.hero {
    min-height: 760px;
}

/* Move background slightly left to feature lighthouse */
.hero {
    background-position: left center;
}


/* Tablet / mobile */
@media (max-width: 900px) {

    .hero-content {
        width: 58%;
        margin-right: 3%;
    }

}

@media (max-width: 700px) {

    .hero {
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        max-width: none;
        margin: 0;
    }

}/* =========================================================
   30. HERO HEADER REFINEMENT
   ========================================================= */

.brand {
    position: relative;
    z-index: 5;
}

.brand-logo {
    width: 190px;
}

.nav-container {
    align-items: flex-start;
    padding-top: 16px;
}/* =========================================================
   31. FINAL LOGO POSITION
   ========================================================= */

.nav-container {
    align-items: center;
    padding-top: 0;
}

.brand {
    transform: translate(-55px, -8px);
}

.brand-logo {
    width: 175px;
}

@media (max-width: 1050px) {
    .brand {
        transform: none;
    }
}/* =========================================================
   32. CINEMATIC ANCHOR CLOSING SECTION
   ========================================================= */

.final-cta {
    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 28, 0.08) 0%,
            rgba(7, 17, 28, 0.25) 38%,
            rgba(7, 17, 28, 0.76) 62%,
            rgba(7, 17, 28, 0.94) 100%
        ),
        url("../assets/images/anchor-hero.png");

    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;
}


/* Hide the old illustrated anchor */

.hero-anchor {
    display: none;
}


/* Move closing content to the right side */

.final-cta-content {
    width: 48%;
    max-width: 650px;

    margin-left: auto;
    margin-right: 5%;

    text-align: left;

    position: relative;
    z-index: 2;
}


/* Keep the heading readable */

.final-cta h2 {
    color: #f1eee8;
}


/* Supporting copy */

.final-cta p:not(.section-eyebrow) {
    color: var(--iaa-text-soft);

    margin-left: 0;
    margin-right: 0;

    max-width: 600px;
}


/* Align buttons with the copy */

.final-cta-buttons {
    justify-content: flex-start;
}


/* Mobile */

@media (max-width: 768px) {

    .final-cta {
        min-height: 560px;

        background:
            linear-gradient(
                rgba(7, 17, 28, 0.62),
                rgba(7, 17, 28, 0.88)
            ),
            url("../assets/images/anchor-hero.png");

        background-size: cover;
        background-position: 35% center;
    }


    .final-cta-content {
        width: 100%;
        max-width: none;

        margin: 0;

        text-align: center;
    }


    .final-cta p:not(.section-eyebrow) {
        margin-left: auto;
        margin-right: auto;
    }


    .final-cta-buttons {
        justify-content: center;
    }

}/* =========================================================
   33. MOBILE HEADER POLISH
   ========================================================= */

@media (max-width: 550px) {

    .site-header .nav-container {
        min-height: 64px;
    }

    .site-header .brand-logo {
        width: 132px;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }

    .mobile-menu-toggle span {
        width: 22px;
    }

}/* =========================================================
   34. MOBILE ANCHOR FRAMING
   ========================================================= */

@media (max-width: 768px) {

    .final-cta {
        background-position: 20% center;
    }

}/* =========================================
   FOUNDING MEMBER / JOIN PAGE
========================================= */

.join-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(201, 164, 92, 0.08), transparent 28%),
        linear-gradient(135deg, #07111d 0%, #0d1b2a 48%, #132435 100%);
    color: #f1eee8;
}

.join-header {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.join-logo-link {
    display: inline-flex;
    align-items: center;
}

.join-logo {
    width: 150px;
    height: auto;
    display: block;
}

.join-back-link {
    color: #d7dde4;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.join-back-link:hover {
    color: var(--color-gold);
}

.join-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 50px 0 80px;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 56px;
    align-items: start;
}

.join-intro {
    padding-top: 34px;
}

.join-intro h1 {
    margin: 10px 0 18px;
    color: #f1eee8;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 0.98;
    max-width: 720px;
}

.join-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #dce2e8;
    max-width: 650px;
}

.join-intro > p:not(.section-eyebrow):not(.join-lead) {
    color: var(--iaa-text-soft);
    line-height: 1.75;
    max-width: 650px;
}

.join-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 34px;
}

.join-detail {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    background: rgba(255,255,255,0.035);
    backdrop-filter: blur(8px);
}

.join-detail strong {
    display: block;
    color: #f2d18d;
    margin-bottom: 7px;
    font-size: 1rem;
}

.join-detail span {
    display: block;
    color: #c2cad2;
    font-size: 0.93rem;
    line-height: 1.55;
}

.join-form-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.025)
        );
    border: 1px solid rgba(201, 164, 92, 0.28);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.28);
    backdrop-filter: blur(14px);
}

.join-form-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(201, 164, 92, 0.06);
    top: -120px;
    right: -120px;
    filter: blur(10px);
    pointer-events: none;
}

.join-form-card h2 {
    color: #f1eee8;
    margin: 6px 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.join-form-intro {
    color: #bfc8d1;
    line-height: 1.65;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f0f2f4;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    min-height: 52px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(5, 12, 20, 0.58);
    color: #ffffff;
    padding: 0 14px;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input:focus {
    border-color: rgba(201, 164, 92, 0.85);
    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.12);
    background: rgba(5, 12, 20, 0.82);
}

.join-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0;
    color: #c7cfd7;
    line-height: 1.55;
    cursor: pointer;
}

.join-checkbox input {
    margin-top: 4px;
    accent-color: #c9a45c;
}

.join-submit {
    width: 100%;
    margin-top: 12px;
    min-height: 54px;
}

.join-privacy-note {
    margin-top: 16px;
    color: #8f9ba6;
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
}

.join-success {
    text-align: center;
    padding: 18px 0 4px;
}

.join-success h3 {
    color: #f1eee8;
    font-size: 2rem;
    margin-bottom: 10px;
}

.join-success p {
    color: #bcc5ce;
    line-height: 1.65;
    margin-bottom: 22px;
}

.join-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 20px;
    text-align: center;
    color: #8895a1;
    font-size: 0.86rem;
}

.join-footer span {
    color: var(--color-gold);
    margin: 0 6px;
}

@media (max-width: 900px) {
    .join-main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 20px;
    }

    .join-intro {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .join-header {
        width: min(100% - 28px, 1180px);
        min-height: 76px;
    }

    .join-logo {
        width: 122px;
    }

    .join-back-link {
        font-size: 0.84rem;
    }

    .join-main {
        width: min(100% - 28px, 1180px);
        padding-bottom: 54px;
    }

    .join-intro h1 {
        font-size: 2.7rem;
    }

    .join-details,
    .form-row {
        grid-template-columns: 1fr;
    }

    .join-form-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .join-footer p {
        line-height: 1.8;
    }
}

/* =========================================
   THEME SWITCHER
========================================= */

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;

    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 999px;
}

.theme-option {
    width: 22px;
    height: 22px;
    padding: 3px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;

    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease;
}

.theme-option:hover {
    transform: scale(1.12);
}

.theme-option.active {
    border-color: var(--theme-accent);
}

.theme-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Anchor Blue */
.theme-dot-blue {
    background: #142536;
}

/* Smoke */
.theme-dot-smoke {
    background: #c9c9c6;
}

/* Charcoal */
.theme-dot-charcoal {
    background: #343638;
}
/* ========================================
   IAA LEGAL PAGES
======================================== */

.legal-page {
    min-height: 100vh;
    background: var(--bg-primary, #0f1720);
    color: var(--text-primary, #f5f5f2);
}

.legal-hero {
    padding: 120px 24px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-container {
    width: min(900px, 100%);
    margin: 0 auto;
}

.legal-hero .eyebrow {
    margin-bottom: 14px;
    color: var(--accent, #c9a75d);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.legal-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.legal-intro {
    max-width: 760px;
    margin: 0;
    color: var(--text-secondary, #cfd6dc);
    font-size: 1.08rem;
    line-height: 1.8;
}

.legal-content {
    padding: 64px 24px 100px;
}

.legal-content h2 {
    margin: 52px 0 16px;
    color: var(--text-primary, #f5f5f2);
    font-size: 1.5rem;
    line-height: 1.25;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 20px;
    color: var(--text-secondary, #cfd6dc);
    font-size: 1rem;
    line-height: 1.85;
}

.legal-updated {
    margin-top: 56px !important;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem !important;
    opacity: 0.8;
}

.legal-content .btn {
    margin-top: 12px;
}

@media (max-width: 700px) {
    .legal-hero {
        padding: 92px 20px 44px;
    }

    .legal-content {
        padding: 48px 20px 80px;
    }

    .legal-content h2 {
        margin-top: 40px;
        font-size: 1.3rem;
    }

    .legal-content p {
        font-size: 0.98rem;
        line-height: 1.75;
    }
}/* ========================================
   JOIN PAGE LEGAL LINKS
======================================== */

.join-footer-legal {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
}

.join-footer-legal a {
    color: var(--text-secondary, #cfd6dc);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.join-footer-legal a:hover {
    color: var(--accent, #c9a75d);
    opacity: 1;
}

.join-footer-legal span {
    color: var(--accent, #c9a75d);
    opacity: 0.55;
}/* ========================================
   SMOKE THEME — ATMOSPHERIC MIST
======================================== */

html[data-theme="smoke"] .section {
    position: relative;
    overflow: hidden;
}

html[data-theme="smoke"] .section::before,
html[data-theme="smoke"] .section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;

    width: 90%;
    height: 80%;

    border-radius: 50%;

    filter: blur(42px);
    opacity: 0.38;
}

html[data-theme="smoke"] .section::before {
    top: -15%;
    left: -20%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(90, 100, 108, 0.34) 0%,
            rgba(125, 135, 142, 0.22) 35%,
            rgba(175, 182, 187, 0.10) 60%,
            transparent 78%
        );

    animation: iaa-smoke-drift-one 28s ease-in-out infinite alternate;
}

html[data-theme="smoke"] .section::after {
    right: -22%;
    bottom: -18%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(70, 80, 88, 0.30) 0%,
            rgba(110, 120, 128, 0.20) 38%,
            rgba(165, 172, 178, 0.10) 62%,
            transparent 80%
        );

    animation: iaa-smoke-drift-two 34s ease-in-out infinite alternate;
}

html[data-theme="smoke"] .section > * {
    position: relative;
    z-index: 1;
}

@keyframes iaa-smoke-drift-one {
    0% {
        transform: translate3d(-4%, 2%, 0) scale(1);
    }

    50% {
        transform: translate3d(18%, 8%, 0) scale(1.12);
    }

    100% {
        transform: translate3d(34%, -3%, 0) scale(1.05);
    }
}

@keyframes iaa-smoke-drift-two {
    0% {
        transform: translate3d(6%, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-16%, -10%, 0) scale(1.16);
    }

    100% {
        transform: translate3d(-30%, 5%, 0) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme="smoke"] .section::before,
    html[data-theme="smoke"] .section::after {
        animation: none;
    }
}/* Smoke theme — improve hero text readability */
html[data-theme="smoke"] .hero-description {
    color: #0d141a;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.15);
}/* ========================================
   MOBILE THEME SELECTOR
======================================== */

.mobile-theme-switcher {
    display: none;
}

@media (max-width: 768px) {
    .mobile-theme-switcher {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;

        margin: 14px 0 6px;
        padding: 14px 0;

        border-top: 1px solid var(--theme-border);
        border-bottom: 1px solid var(--theme-border);
    }

    .mobile-theme-label {
        color: var(--theme-text);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-theme-switcher .theme-switcher {
        flex-shrink: 0;
    }
}/* Smoke theme — stronger Free Class card separation */
html[data-theme="smoke"] .preview-card {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(55, 65, 72, 0.28);
    box-shadow: 0 18px 45px rgba(25, 30, 35, 0.16);
}/* ========================================
   SMOKE THEME — NUMBER CONTRAST
======================================== */

/* Understand • Heal • Equip • Empower */
html[data-theme="smoke"] .pillar-number {
    color: #111820;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

/* Curriculum phase numbers */
html[data-theme="smoke"] .phase-number {
    color: #111820;
}/* ========================================
   HERO — THEME ATMOSPHERE
======================================== */

/* Smoke: cool mist over lighthouse */
html[data-theme="smoke"] .hero-background::after {
    background:
        linear-gradient(
            rgba(185, 195, 200, 0.30),
            rgba(125, 138, 145, 0.22)
        );
}

/* Charcoal: deeper graphite atmosphere */
html[data-theme="charcoal"] .hero-background::after {
    background:
        linear-gradient(
            rgba(15, 18, 20, 0.30),
            rgba(8, 10, 12, 0.42)
        );
}

/* ========================================
   FEELING WHEEL DOWNLOADS
======================================== */

.feeling-wheel-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.feeling-wheel-downloads a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;

    border: 1px solid var(--color-gold);
    border-radius: 6px;

    color: var(--color-gold);
    background: transparent;

    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition: all 0.2s ease;
}

.feeling-wheel-downloads a:hover {
    background: var(--color-gold);
    color: #0d1b26;
    transform: translateY(-1px);
}/* Smoke theme - Feeling Wheel downloads */
html[data-theme="smoke"] .feeling-wheel-downloads a {
    color: #111820;
    border-color: #111820;
}

html[data-theme="smoke"] .feeling-wheel-downloads a:hover {
    background: #111820;
    color: #ffffff;
}

/* ========================================
   MEMBER LOGIN PLACEHOLDER
======================================== */

.member-login-section {
    padding: 90px 0;
    background: var(--theme-bg-alt);
}

.member-login-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 52px 44px;
    text-align: center;

    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
}

.member-login-card h2 {
    margin: 10px 0 18px;
    color: var(--theme-text);
}

.member-login-card > p:not(.section-eyebrow) {
    color: var(--theme-text-muted);
    line-height: 1.7;
}

.member-login-note {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--theme-border);
}

@media (max-width: 768px) {
    .member-login-section {
        padding: 60px 0;
    }

    .member-login-card {
        padding: 38px 24px;
    }
}