/* ========================================
   Janis M. Falk — Main Stylesheet
   ======================================== */

/* --- Variables (matched from janisfalk.com Astra theme) --- */
:root {
    --gold: #DCA54A;         /* color-0: primary accent */
    --gold-hover: #D09A40;   /* color-1: hover accent */
    --navy: #0F172A;         /* color-2: links, meta */
    --text: #4A4A4A;         /* color-3: body text, headings */
    --cream: #FAF5E5;        /* color-4: page background */
    --white: #FFFFFF;        /* color-5 */
    --tan: #F0E6C5;          /* color-6: subtle background */
    --near-black: #141004;   /* color-7: dark accents */
    --dark: #222222;         /* color-8: outline buttons */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Montserrat', sans-serif;
    --max-width: 1200px;
    --padding: 24px;
}

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

/* --- Base --- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6em;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

p { margin-bottom: 1em; }

::selection { background-color: var(--gold); color: #000; }

/* --- Typography (matched from live site) --- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--navy); }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; color: var(--navy); }

h1 { font-size: 6rem; line-height: 1em; }
h2 { font-size: 3rem; line-height: 1.3em; }
h3 { font-size: 2rem; line-height: 1.3em; }
h4 { font-size: 1.5rem; line-height: 1.2em; }

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

.section { padding: 60px 0; }
.section--cream { background: var(--cream); }
.text-center { text-align: center; }

/* Full-width section (flame backgrounds, etc.) */
.section--flame {
    background-image: url('/images/Flame.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 60px 40px 75px;
}

/* --- Header --- */
.site-header {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
}

.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 32px var(--padding) 16px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.header-top .header-social { justify-self: start; }
.header-top .logo { justify-self: center; }
.header-top .nav-toggle-label { justify-self: end; }

.header-social a {
    color: var(--navy);
    margin-right: 12px;
    display: inline-flex;
}

.header-social a:hover { color: var(--gold-hover); }

.header-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.logo img {
    width: 70px;
    height: 70px;
}

/* Nav */
.site-nav {
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 var(--padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav-list a {
    display: flex;
    align-items: center;
    padding: 0 24px;
    line-height: 30px;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-list a:hover {
    color: var(--navy);
    text-decoration: none;
}

.nav-list a.active {
    color: var(--navy);
    text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle { display: none; }
.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--text);
    height: 2px;
    width: 24px;
    position: relative;
    transition: all 0.3s;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

.site-header:has(.nav-toggle:checked) .nav-toggle-label span { background: transparent; }
.site-header:has(.nav-toggle:checked) .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
.site-header:has(.nav-toggle:checked) .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }

/* --- Hero / Book Feature (3-column layout) --- */
.book-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 168px 40px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.section--hero { padding: 0; }

.book-author {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: right;
    padding-bottom: 120px;
}

.book-author h1 {
    letter-spacing: -4px;
    margin-bottom: 20px;
}

.book-author .subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8em;
    font-weight: 400;
    color: var(--text);
}

.book-cover {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: center;
    padding: 0 64px;
}

.book-cover img {
    width: 662px;
    max-width: 100%;
    box-shadow: 48px 96px 100px -24px rgba(31, 49, 51, 0.39);
}

.book-info {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: left;
    padding-bottom: 120px;
}

.book-info .tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: var(--text);
}

.book-info .separator {
    display: block;
    width: 48px;
    height: 0;
    border-top: 1px solid var(--gold);
    margin: 0 0 25px;
}

.book-info .tagline em {
    font-style: italic;
}

.retailer-links {
    display: flex;
    row-gap: 15px;
    column-gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.retailer-links a {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
}

.retailer-links a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.retailer-links img {
    width: 120px;
    height: 40px;
    object-fit: contain;
    border: 1px solid var(--navy);
    border-radius: 0;
    box-sizing: border-box;
}

/* --- Explore More (bottom of hero) --- */
.explore-more {
    text-align: center;
    padding: 0;
}

.explore-more a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.explore-more a:hover { color: var(--gold); }

.explore-more svg {
    width: 15px;
    height: 15px;
}

/* --- Signup Icon --- */
.signup-icon {
    color: var(--navy);
    margin-bottom: 24px;
}

/* --- Book Description --- */
.book-description-section {
    padding: 40px 0;
}

.book-description-section .separator {
    display: block;
    width: 1px;
    height: 3em;
    background: var(--gold);
    margin: 0 auto 40px;
}

.book-description-section h2 {
    max-width: 960px;
    margin: -10px auto 40px;
    letter-spacing: -2px;
}

.book-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6em;
    text-align: left;
    color: var(--text);
}

.book-description p { margin-bottom: 26px; }

/* --- Blockquote / Pull Quote --- */
.pull-quote {
    text-align: center;
    padding: 0;
    max-width: 1120px;
    margin: 0 auto;
}

.pull-quote .quote-icon {
    width: 64px;
    height: auto;
    margin: 0 auto 8px;
    opacity: 1;
}

.pull-quote blockquote {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    font-style: normal;
    line-height: 1.3em;
    margin: 32px 0;
    color: var(--navy);
}

.pull-quote .attribution {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Rivera Quote (body-size text, not large blockquote) --- */
.rivera-quote {
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 0;
}

.rivera-quote .separator {
    display: block;
    width: 1px;
    height: 3em;
    background: var(--gold);
    margin: 0 auto 24px;
}

.rivera-quote h2 { max-width: 880px; margin: 0 auto 24px; letter-spacing: -2px; }

.rivera-quote p {
    font-size: 1rem;
    line-height: 1.6em;
    color: var(--text);
    text-align: left;
    max-width: 560px;
    margin: -10px auto 26px;
}

.rivera-quote .attribution {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    max-width: 560px;
    margin: 16px auto 0;
    text-align: left;
}

/* --- Content Sections (text + image side by side) --- */
.section--content-pair {
    padding: 144px 40px 40px;
}

.content-pair {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 20px;
    border: 12px solid var(--white);
    overflow: visible;
    max-width: 100%;
    margin: 0 auto;
}

.content-pair--reverse {
    flex-direction: row-reverse;
}

.content-pair .content-text {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 8px 96px 0 48px;
}

.content-pair .content-image {
    flex: 0 0 50%;
    max-width: 50%;
    margin: -80px 0;
    padding: 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-pair .content-image img {
    width: 100%;
    box-shadow: 0px 18px 40px -10px rgba(0, 0, 0, 0.44);
}

.content-pair h3 { margin-bottom: 24px; }

/* Per-section padding overrides */
.section--behind-the-book { padding: 144px 40px 40px; }
.section--behind-the-book .container { padding: 0; }
.section--behind-the-book .content-image { padding: 0 80px; }
.section--white-eagle { padding: 40px 40px 30px; }
.section--white-eagle .container { padding: 0; }
.section--loniow { padding: 30px 40px 40px; }
.section--loniow .container { padding: 0; }

/* --- Further Reading Cards --- */
.section--further-reading { padding: 100px 40px; }
.section--further-reading .container { padding: 0; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 0;
    box-shadow: 0px 18px 40px -10px rgba(0, 0, 0, 0.44);
}

.card h4 { margin-bottom: 8px; }

.card p {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 24px;
}

.card .read-more {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    padding-bottom: 12px;
    transition: color 0.2s;
}

.card .read-more:hover {
    color: var(--gold-hover);
    text-decoration: none;
}

/* --- Events (3-column card grid, matching live site) --- */
.events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    max-width: 1080px;
    margin: 0 auto;
}

.event {
    display: flex;
    flex-direction: column;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0px 18px 40px -10px rgba(0, 0, 0, 0.44);
    border-radius: 0;
}

.event-image {
    width: 100%;
    object-fit: contain;
}

.event-details {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

.event-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 6px;
}

.event-details h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.event-details p {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 12px;
    flex: 1;
}

.event-link {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    align-self: flex-start;
}

.event-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    text-decoration: none;
}

/* --- About --- */
.section--about { padding-top: 16px; }

.about-layout {
    display: flex;
    align-items: stretch;
}

.about-photo {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 48px 72px 48px 48px;
}

.about-photo img {
    width: 271px;
    box-shadow: 24px 64px 100px -24px rgba(31, 49, 54, 0.4);
}

.about-text {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 48px 96px 48px 48px;
    border-left: 1px solid var(--tan);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-size: 1.5rem;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.about-separator {
    display: block;
    width: 228px;
    height: 0;
    border-top: 1px solid var(--gold-hover);
    margin-bottom: 16px;
}

.about-text p { margin-bottom: 20px; }
.about-text p:last-child { margin-bottom: 0; }

/* --- Book Club --- */
.discussion-questions {
    max-width: 720px;
    margin: 0 auto;
}

.discussion-questions h3 {
    margin-bottom: 10px;
}

.discussion-questions ol {
    margin-left: 20px;
    line-height: 2;
}

.discussion-questions li {
    padding-left: 8px;
}

/* --- Contact --- */
.section--contact { padding-top: 16px; }

.contact-layout {
    display: flex;
    align-items: stretch;
}

.contact-info {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 48px 0 0;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info h3 { margin-bottom: 20px; }
.contact-info a { font-size: 1.125rem; color: #3A3A3A; }
.contact-info a:hover { color: var(--gold); }

.contact-email {
    display: flex;
    align-items: center;
    gap: 22px;
}

.email-icon {
    width: 14px;
    height: 14px;
    fill: var(--gold);
    flex-shrink: 0;
}

.contact-form-wrap {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 64px;
    border-left: 1px solid var(--tan);
}

.contact-form-wrap h2 { margin-bottom: 16px; }

/* --- Forms --- */
.form-section {
    background: var(--white);
    padding: 80px;
    box-shadow: 48px 96px 100px -48px rgba(31, 49, 51, 0.24);
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
}

.section--signup { padding: 112px 40px; }

.form-section h2 { margin-bottom: 0; }

.form-section p {
    color: var(--text);
    margin-bottom: 0;
}

.signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.signup-form input[type="email"] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fafafa;
    width: 480px;
}

.signup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--navy);
}

.contact-form {
    max-width: 100%;
    text-align: left;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 16px;
}

.required { color: #c62828; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot */
.form-hp { position: absolute; left: -9999px; }

/* Form messages */
.form-message { margin-top: 12px; font-size: 0.9rem; }
.form-message--success { color: var(--gold); }
.form-message--error { color: #c0392b; }

/* Outline button style (matches live site) */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--dark);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.btn:hover {
    color: var(--gold);
    border-color: var(--gold);
    text-decoration: none;
}

.btn-link {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: var(--text);
    border: none;
    border-bottom: 2px solid var(--dark);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 4px;
    margin-top: 20px;
    transition: color 0.2s, border-color 0.2s;
}

.btn-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Form messages */
.form-message {
    display: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 12px;
}

.form-message--success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.form-message--error {
    display: block;
    background: #fbe9e7;
    color: #c62828;
}

/* --- Footer (transparent on cream, centered layout) --- */
.site-footer {
    padding: 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 40px 0;
}

.footer-logo img {
    width: 100px;
    height: 100px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text);
    font-size: 1rem;
    font-weight: 400;
}

.footer-nav a:hover {
    color: var(--navy);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-social a {
    color: var(--navy);
}

.footer-social a:hover { color: var(--gold-hover); }

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    font-size: 0.875rem;
    color: var(--text);
    padding: 20px 0 40px;
}

/* --- Error Page --- */
.error-page {
    text-align: center;
    padding: 0 var(--padding) 100px;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Page Header --- */
.page-header {
    text-align: center;
    padding: 184px var(--padding) 0;
}

.page-header h1 {
    margin-bottom: 32px;
}

.page-header--separator .separator {
    display: block;
    width: 1px;
    height: 3em;
    background: var(--gold);
    margin: 0 auto 24px;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 921px) {
    h1 { font-size: 3.5rem; letter-spacing: -2px; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.6rem; }

    .book-feature { padding: 160px 24px 40px; min-height: auto; }
    .book-cover { padding: 0 32px; }
    .book-author .subtitle { font-size: 16px; }

    .content-pair { max-width: 85%; border-width: 8px; padding: 0; }
    .content-pair .content-text {
        flex: 0 0 66%;
        max-width: 66%;
        padding: 32px 40px 24px 32px;
    }
    .content-pair--reverse .content-text {
        flex: 0 0 66%;
        max-width: 66%;
        padding: 32px 32px 24px 40px;
    }
    .content-pair .content-image {
        flex: 0 0 34%;
        max-width: 34%;
        padding: 0 0 32px 24px;
        margin: 0;
    }
    .content-pair--reverse .content-image {
        padding: 0 24px 32px 0;
    }

    .events-list { grid-template-columns: repeat(2, 1fr); padding: 0 5%; }
    .cards { gap: 20px; }

    .section--content-pair,
    .section--behind-the-book { padding: 80px 24px 24px; }
    .section--white-eagle { padding: 8px 24px 32px; }
    .section--loniow { padding: 32px 24px 48px; }

    .section--flame { padding: 40px 40px 50px; }
    .pull-quote blockquote { font-size: 24px; margin: 8px 0 24px; }
    .pull-quote .attribution { font-size: 12px; }
    .pull-quote .quote-icon { width: 32px; height: 32px; }
    .section--further-reading { padding: 80px 4px; }
    .section--signup { padding: 112px 40px 40px; }
    .form-section { padding: 32px 24px; }

    .book-description { padding: 0; margin: 0 20%; max-width: none; }
    .book-description-section { padding: 40px 0 0; }
    .book-description-section h2 { margin: 0 24px 40px; }

    .cards { margin-top: 46px; padding: 0 5%; }
    .card { padding: 24px; }

    .discussion-questions { padding: 0 5%; }
    .contact-layout { padding: 0 5%; }
    .about-layout { padding: 0 5%; }
}

@media (max-width: 768px) {
    .nav-toggle-label { display: block; }

    .site-header {
        background: var(--cream);
    }

    .site-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        background: var(--cream);
    }

    .nav-toggle:checked ~ .site-nav {
        max-height: 300px;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 8px 8px 16px;
    }

    .book-feature {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 140px 24px 40px;
    }

    .book-author {
        flex: none;
        max-width: 100%;
        text-align: center;
        padding-bottom: 0;
    }

    .book-author .subtitle { font-size: 16px; }

    .book-cover {
        flex: none;
        max-width: 100%;
        padding: 24px 64px;
    }

    .book-info {
        flex: none;
        max-width: 100%;
        text-align: center;
        padding-bottom: 0;
    }

    .book-info .separator { margin: 0 auto 25px; }

    .retailer-links {
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .retailer-links img { width: 100%; height: 48px; }

    .explore-more { display: none; }

    .section--content-pair,
    .section--behind-the-book { padding: 64px 0 48px; }
    .section--white-eagle { padding: 0 0 32px; }
    .section--loniow { padding: 32px 0 0; }

    .section--flame { padding: 30px 0 36px; }
    .pull-quote { padding: 0 10%; }
    .pull-quote blockquote { font-size: 18px; margin: 8px 0 16px; }
    .pull-quote .attribution { font-size: 10px; }
    .pull-quote .quote-icon { width: 24px; height: 24px; }

    .events-list { grid-template-columns: 1fr; padding: 0 5%; }

    .event-image {
        height: 200px;
    }

    .about-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-photo {
        flex: none;
        max-width: 100%;
        justify-content: center;
        padding: 24px;
    }

    .about-text {
        flex: none;
        max-width: 100%;
        border-left: none;
        padding: 24px;
        align-items: center;
    }

    .about-separator { margin: 0 auto 16px; }

    .contact-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 5%;
    }

    .contact-info {
        flex: none;
        max-width: 100%;
        padding: 0 0 32px;
    }

    .contact-form-wrap {
        flex: none;
        max-width: 100%;
        border-left: none;
        padding: 32px 0 0;
        border-top: 1px solid var(--tan);
    }

    .section--signup { padding: 80px 0 48px; }
    .form-section { padding: 24px; max-width: 90%; }

    .signup-form {
        flex-direction: column;
        align-items: center;
    }

    .signup-form input[type="email"] {
        width: 100%;
        max-width: 320px;
    }

    .cards { margin-top: 36px; padding: 0 5%; gap: 32px; }
    .card { padding: 24px; }

    .footer-nav ul {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 544px) {
    h1 { font-size: 2.5rem; letter-spacing: -2px; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    .section { padding: 40px 0; }

    .book-feature {
        padding: 120px 24px 40px;
    }

    .book-cover {
        padding: 24px 48px;
    }

    .book-feature { padding-bottom: 0; }
    .book-description-section { padding: 0 7.5% 40px; margin-top: 0; }
    .book-description-section .separator { margin-bottom: 24px; }
    .book-description { margin: 0; padding: 0; max-width: none; }
    .book-description-section h2 { margin: 0 0 30px; }
    .book-description-section .separator { margin-bottom: 40px; }

    .pull-quote { padding: 0 7.5%; }
    .rivera-quote { padding: 0 7.5%; }
    .rivera-quote p,
    .rivera-quote .attribution { max-width: none; }

    /* Content pairs stack on mobile */
    .content-pair,
    .content-pair--reverse {
        flex-direction: column;
        max-width: 85%;
        padding: 0;
    }

    .content-pair .content-image,
    .content-pair--reverse .content-image {
        flex: none;
        max-width: 100%;
        margin: 0;
        padding: 0 24px 32px;
        order: 1;
    }

    .content-pair .content-text,
    .content-pair--reverse .content-text {
        flex: none;
        max-width: 100%;
        padding: 24px 24px 32px;
    }

    /* Hide Behind the Book image on mobile (matches live site) */
    .section--behind-the-book .content-image { display: none; }
    .section--behind-the-book .content-text {
        flex: none;
        max-width: 100%;
    }

    .cards { grid-template-columns: 1fr; padding: 0 7.5%; }
    .section--further-reading { padding: 48px 0 72px; }
    .form-section { max-width: 85%; }
}
