/* 1. IMPORT FONTS (The "Power Cord") */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Proza+Libre:wght@400;500;600&display=swap');

/* 2. CONFIGURE VARIABLES (The "Switchboard") */
:root {
    /* --- PALETTE: Earthy Minimalist --- */
    --bg-paper: #F9F7F2;
    /* Warm white */
    --bg-white: #ffffff;
    /* Pure white for cards/nav */
    --text-main: #2A2A2A;
    /* Soft Charcoal */
    --text-muted: #6B665E;
    /* Grey */

    /* Earthy Accents */
    --earth-green: #5d6d5b;
    /* Sage */
    --earth-clay: #b08d76;
    /* Soft Clay/Terracotta */
    --earth-sand: #e6e2dd;
    /* Beige detail */
    --earth-TerraDark: #BC5A45;
    /* Dark contrast */
    --earth-calmback: #E8E4DD;
    /* Calm Back */

    /* --- TYPOGRAPHY SWITCHBOARD --- */
    /* Typography */
    /* OPTION A: Clean Modern (Apple/Inter) */
    /* --font-head: 'Lato', sans-serif; */
    /* --font-body: 'Georgia', serif; */
    /* OPTION B: Warm Editorial */
    --font-head: 'Cormorant Garamond', serif;
    --font-body: 'Proza Libre', sans-serif;

    /* Classic Readable */
    --max-width: 1100px;

    /* Dark Mode Utility (Footer) */
    --gray-900: #111827;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
}

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

body {
    background-color: var(--bg-paper);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.7;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: 2.5rem;
    font-family: var(--font-head);
    color: var(--text-main);
    letter-spacing: 0.05em;
    font-weight: 400;

}

h2,
h3,
.nav-link,
.drop-btn {
    font-family: var(--font-body);
    color: var(--text-main);
    letter-spacing: 0.05em;
    font-weight: 400;

}

.text-accent {
    color: var(--earth-TerraDark);
    font-family: var(--font-head);
}

.text-accent-main {
    font-family: var(--font-head);
}

/* Signature Logo Sizing */
.nav-signature {
    height: 55px;
    /* Sets the height fixed */
    width: auto;
    /* Lets width adjust automatically */
    display: block;
    /* Removes any weird bottom spacing */
    padding: 5px 0;
    /* Gives it a little breathing room */
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: var(--bg-white);
    border-bottom: 1px solid var(--earth-sand);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: none;
    color: var(--earth-main);
    letter-spacing: 1px;
}

.menu {
    display: flex;
    gap: 35px;
    height: 100%;
    align-items: center;
}

/* Dropdowns */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.drop-btn {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    padding: 10px 0;
    transition: color 0.2s;
}

.drop-btn:hover,
.dropdown:hover .drop-btn {
    color: var(--earth-clay);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 68px;
    /* Closer to the button text for a compact feel */
    left: -15px;
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--earth-sand);
    border-top: 3px solid var(--earth-clay);
    padding: 10px 0;
}

.dropdown-content::before {
    content: "";
    position: absolute;
    top: -40px;
    /* Briges the gap to ensure stable hover */
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background: var(--bg-paper);
    color: var(--earth-green);
    padding-left: 30px;
}

/* --- RESPONSIVE NAVIGATION --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--earth-green);
    /* Sage Green instead of Charcoal */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Tablet & Mobile View */
@media screen and (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    /* WE RENAMED THIS: It was .nav-links, now it is .menu */
    .menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        height: 0;
        overflow-y: hidden;
        transition: height 0.3s ease;
        border-bottom: 1px solid var(--earth-sand);
        gap: 0;
        align-items: flex-start;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .menu.active {
        height: auto;
        padding-bottom: 30px;
        overflow-y: auto;
        max-height: calc(100vh - 80px);
    }

    .dropdown {
        width: 100%;
        display: block;
        height: auto;
        position: relative;
        /* Ensure children stay relative */
    }

    .drop-btn {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
    }

    .dropdown-content {
        position: static;
        /* Vital to push items down */
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background: #fdfbf7;
        padding: 0;
        border-top: 1px solid #f0f0f0;
        margin-top: 0;
    }

    /* Remove the 'bridge' on mobile so it doesn't block clicks */
    .dropdown-content::before {
        display: none;
        /* No bridge needed on mobile */
    }

    .dropdown.show-dropdown .dropdown-content {
        display: block;
    }

    /* Disable hover effects on mobile */
    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.show-dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 12px 25px 12px 15px;
    }
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 140px 20px;
    background-color: var(--bg-paper);
    /* Subtle organic gradient */
    background-image: linear-gradient(to bottom, #ffffff 0%, var(--bg-paper) 100%);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    /* old: font-style: italic; */
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 40px;
}

/* --- BUTTONS --- */
.btn-gold {
    /* Keeping class name for HTML compatibility, but changing style */
    background-color: var(--text-main);
    color: #fff;
    padding: 15px 32px;
    border-radius: 4px;
    /* Soft edges */
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    transition: background 0.3s;
    display: inline-block;
}

.btn-gold:hover {
    background-color: var(--earth-TerraDark);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- FOOTER --- */
footer {
    background: var(--gray-900);
    padding: 80px 5%;
    border-top: 1px solid #1f2937;
    /* Darker border */
    font-family: var(--font-body);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--bg-paper);
    /* Slightly off-white for footer headings */
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.legal {
    text-align: center;
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid var(--earth-sand);
    font-size: 0.8rem;
    color: #999;
}

/* DYNAMIC BOOK CARD STYLES */
.book-card {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--earth-sand, #ccc);
    /* Fallback color if variable missing */
    text-align: center;
    transition: 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.book-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: var(--earth-calmback, #E8E4DD);
    margin-bottom: 25px;
}

.book-card h3 {
    margin-bottom: 10px;
    color: var(--text-main, #333);
    /* old: font-family: 'Georgia', serif; */
    font-family: var(--font-head);
}

.book-card .author {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 10px;
}

.book-card .price {
    font-weight: 700;
    color: var(--earth-clay, #c5a059);
    margin-bottom: 20px;
}

/* BOOK DETAIL PAGE */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.detail-image img {
    width: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.detail-info h1 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-main, #333);
}

.detail-info .author {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.detail-info .description {
    line-height: 1.8;
    color: var(--text-muted, #555);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.detail-info .price {
    font-size: 2rem;
    color: var(--earth-clay, #c5a059);
    font-weight: 700;
    margin-bottom: 30px;
    display: block;
}

/* BG: reduce h1 line-height: */
.hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* CONTENT SECTIONS */
.section-container {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 40px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .content-grid.reverse-mobile .grid-image {
        grid-row: 1;
        /* Move image to top on mobile */
    }

}

.grid-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--earth-green);
}

.grid-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.grid-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =========================================
   NEW HOMEPAGE SECTIONS (Mockup 4 Styles)
   Add to bottom of style.css
   ========================================= */

/* --- UTILITIES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Refined Typography for Sections */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--text-main);
    font-weight: 400;
    margin: 0;
}

/* 1. HERO (Threshold) - Replaces old .hero */
.hero-threshold {
    padding: 8rem 0 6rem;
    text-align: center;
    background: transparent;
    /* Removes old gradient */
}

.hero-line {
    font-size: 3.5rem;
    font-family: var(--font-head);
    font-weight: 300;
    color: var(--text-main);
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    letter-spacing: 0.05em;
}

/* 2. ORIENTATION (Credibility Layer) */
.orientation-section {
    padding-bottom: 6rem;
    text-align: left;
}

.orientation-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
    border-left: 2px solid var(--earth-sand);
    padding-left: 2rem;
}

/* 3. THE BOOK (Anchor) */
.book-section {
    background: var(--bg-white);
    border-top: 1px solid var(--earth-sand);
    border-bottom: 1px solid var(--earth-sand);
    padding: 6rem 0;
}

.book-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.book-visual {
    display: flex;
    justify-content: center;
}

/* Placeholder for when image is missing */
.book-cover-mock {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 2/3;
    background: var(--earth-calmback);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--earth-sand);
}

.book-cover-mock::after {
    content: "COVER ART";
    font-family: var(--font-body);
    letter-spacing: 0.2em;
    color: var(--text-muted);
    opacity: 0.5;
}

.book-content {
    padding-right: 2rem;
}

.book-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.book-desc {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

/* --- vv BOOK PAGE SPECIFIC STYLES vv --- */

/* 1. Full Width Book Hero */

.book-page-body {
    background-color: var(--bg-paper);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.7;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

.book-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    background-color: #1a1a1a;
    /* Placeholder Background Image - Replace with evocative theme image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../images/Book1_Back_Top_v2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.book-page-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* UPDATE: Title Color changed to Gold */
    color: rgb(201, 179, 73);
}

.book-mini-desc {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem 0;
    display: inline-block;
}

/* 2. Main Detail Section */
.book-detail-section {
    padding: 6rem 0;
    background: var(--bg-paper);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Cover takes less space than text */
    gap: 5rem;
    align-items: start;
}

.detail-visual {
    position: sticky;
    top: 100px;
    /* Sticks when scrolling */
}

.detail-cover-img {
    width: 100%;
    height: auto;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--earth-sand);
}

.detail-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--earth-green);
    /* Subtle section header */
}

.detail-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.detail-actions {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

/* Buttons */
.btn-buy {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--text-main);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.btn-buy:hover {
    background-color: var(--earth-TerraDark);
}

.btn-secondary-outline {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--earth-sand);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

/* 3. Table of Contents */
.toc-section {
    padding: 4rem 0 6rem;
    border-top: 1px solid var(--earth-sand);
    background: var(--bg-white);
}

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

.toc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    border-left: 2px solid var(--earth-sand);
    padding-left: 2rem;
}

.toc-item {
    margin-bottom: 1.5rem;
}

.toc-chapter {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
}

.toc-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* --- ^^END of BOOK PAGE SPECIFIC STYLES^^ --- */

.btn-secondary-outline:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-editorial {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-editorial:hover {
    background: var(--text-main);
    color: var(--bg-paper);
}

/* 4. THE ARCHITECTURE (Frameworks) */
.architecture-section {
    background-color: var(--bg-paper);
}

.arch-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    font-style: italic;
    font-family: var(--font-head);
    color: var(--text-main);
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    border-top: 1px solid var(--earth-sand);
    padding-top: 3rem;
}

.arch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arch-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    /* Maintain custom hover structure */
    transition: border 0.3s ease;
    text-decoration: none;
}

.arch-link:hover {
    border-bottom-color: var(--earth-TerraDark);
    color: var(--earth-TerraDark);
    text-decoration: none;
    /* Safety check for hover state */
}

/* 5. PATHWAYS */
.pathways-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

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

.pathway-card {
    background: var(--bg-white);
    border: 1px solid var(--earth-sand);
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    /* Ensure full area is clickable */
    text-decoration: none;
}

.pathway-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--earth-clay);
}

.pathway-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--earth-TerraDark);
    margin-bottom: 1rem;
}

.pathway-title {
    font-size: 1.5rem;
    /* Reduced from 1.75rem to fit sentences */
    line-height: 1.3;
    margin-bottom: 0;
}

/* 6. ABOUT + NEWSLETTER */
.about-section {
    padding: 4rem 0 6rem;
    border-top: 1px solid var(--earth-sand);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-bio {
    font-size: 1.1rem;
    max-width: 600px;
}

.about-bio p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.link-text {
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--text-main);
}

/* Newsletter Box */
.newsletter-box {
    background: var(--bg-white);
    padding: 2.5rem;
    border: 1px solid var(--earth-sand);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.newsletter-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.2;
}

.newsletter-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--earth-sand);
    background: var(--bg-paper);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.email-input:focus {
    outline: none;
    border-color: var(--earth-clay);
}

.btn-submit {
    padding: 1rem;
    background: var(--text-main);
    color: var(--bg-white);
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: var(--earth-TerraDark);
}

.newsletter-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 1.5rem;
}

.newsletter-footer a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- OVERVIEW PAGE SPECIFIC STYLES --- */

/* Shared Body Class */
.page-body {
    background-color: var(--bg-paper);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.7;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

/* 1. Header */
.overview-header {
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--earth-sand);
    background: var(--bg-white);
}

.overview-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.overview-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--earth-clay);
}

/* 2. Philosophy Text */
.philosophy-section {
    padding: 6rem 0;
}

.philosophy-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.philosophy-text p:first-of-type::first-letter {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 0.8;
    float: left;
    margin-right: 0.5rem;
    color: var(--earth-TerraDark);
}

/* 3. The Hubs (Lens) Section */
.hubs-section {
    padding: 6rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--earth-sand);
    border-bottom: 1px solid var(--earth-sand);
}

.hubs-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.hubs-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hubs-intro p {
    font-size: 1.1rem;
}

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

.hub-card {
    background: var(--bg-paper);
    padding: 3rem 2rem;
    border: 1px solid var(--earth-sand);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 300px;
}

.hub-card:hover {
    transform: translateY(-5px);
    border-color: var(--earth-clay);
}

.hub-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hub-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.btn-hub {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-hub:hover {
    background: var(--text-main);
    color: var(--bg-paper);
}

/* 4. Closing Statement */
.closing-section {
    padding: 8rem 0;
    text-align: center;
}

.closing-statement {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

/* --- RESPONSIVE UPDATES --- */
@media (max-width: 900px) {
    .book-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .book-content {
        padding-right: 0;
        order: 2;
    }

    .book-visual {
        order: 1;
    }

    .book-cover-mock {
        margin: 0 auto;
        max-width: 250px;
    }

    .arch-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .pathways-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-line {
        font-size: 2.2rem;
    }

    .orientation-text p {
        padding-left: 0;
        border-left: none;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hubs-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .overview-title {
        font-size: 3rem;
    }

    .philosophy-text p {
        font-size: 1.2rem;
    }
}

/* --- FAQ PAGE SPECIFIC STYLES --- */

/* Header */
.faq-header {
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--earth-sand);
    background: var(--bg-white);
}

.faq-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.faq-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--earth-clay);
}

/* FAQ List Section */
.faq-section {
    padding: 6rem 0;
}

.faq-category {
    margin-bottom: 5rem;
}

.category-title {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--earth-sand);
    padding-bottom: 1rem;
}

/* Accordion Styles */
.accordion-item {
    border-bottom: 1px solid var(--earth-sand);
    background: transparent;
}

.accordion-btn {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.accordion-btn:hover {
    color: var(--earth-TerraDark);
}

.question-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: inherit;
}

.icon {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-btn.active .icon {
    transform: rotate(45deg);
    /* Turns + into x */
    color: var(--earth-TerraDark);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 2rem;
}

.answer-text {
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.answer-text a {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--text-main);
}