:root {
    --bg: #0b0d0c;
    --panel: #111412;
    --text: #e8e3d8;
    --muted: #cfc8bb;
    --gold: #b57921;
    --gold-light: #d6b373;
    --line: rgba(181, 121, 33, 0.34);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Lora", serif;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

/* Header */
.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 6%;
    background: linear-gradient(to bottom, rgba(0,0,0,.82), transparent);
}

.logo {
    color: #f1eadc;
    font-family: "Cinzel", serif;
    font-size: .98rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #f1eadc;
    font-family: "Montserrat", sans-serif;
    font-size: .74rem;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease;
}

nav a:hover,
nav a:focus-visible {
    color: var(--gold-light);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(rgba(5,8,9,.54), rgba(4,6,6,.92)),
        url("images/forest-hero.jpg") center/cover no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 43%, rgba(61,77,82,.20), transparent 38%),
        linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.32));
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, 88%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 130px 0 78px;
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: clamp(52px, 7vw, 110px);
    align-items: center;
}

.cover-wrap {
    max-width: 410px;
    margin: 0 auto;
}

.book-cover {
    width: 100%;
    height: auto;
    border: 1px solid rgba(213,179,115,.25);
    box-shadow: 0 28px 70px rgba(0,0,0,.62), 0 0 0 10px rgba(0,0,0,.08);
}

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

.eyebrow,
.section-kicker {
    margin-bottom: 12px;
    color: var(--gold);
    font-family: "Montserrat", sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;
    color: #f1eadc;
    font-family: "Cinzel", serif;
    font-size: clamp(2.8rem, 6vw, 5.7rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 4px 22px rgba(0,0,0,.85);
}

.hero-genre {
    margin-top: 20px;
    color: var(--gold-light);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(.88rem, 1.6vw, 1.08rem);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-hook {
    margin-top: 34px;
    color: var(--gold-light);
    font-family: "Lora", serif;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-style: italic;
}

.hero-summary {
    max-width: 620px;
    margin-top: 18px;
    color: #d9d4ca;
    font-size: 1.06rem;
}

.button {
    display: inline-block;
    margin-top: 32px;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    background: rgba(0,0,0,.28);
    color: #e8c78e;
    font-family: "Montserrat", sans-serif;
    font-size: .79rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.button:hover,
.button:focus-visible {
    background: var(--gold);
    color: #10110f;
    transform: translateY(-2px);
}

.hero-symbol {
    width: 88px;
    height: auto;
    margin-top: 34px;
    opacity: .62;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.55));
}

/* Shared sections */
section {
    scroll-margin-top: 30px;
}

.section-inner {
    width: min(1160px, 84%);
    margin: 0 auto;
}

.section-inner.narrow {
    width: min(860px, 84%);
}

h2 {
    color: #d09a4d;
    font-family: "Cinzel", serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    letter-spacing: 2.6px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Book */
.book-section {
    padding: 110px 0 120px;
    background:
        radial-gradient(circle at 50% 0%, rgba(181,121,33,.07), transparent 38%),
        #0b0d0c;
    border-top: 1px solid rgba(255,255,255,.04);
}

.book-section h2 {
    margin-bottom: 34px;
}

.book-copy {
    color: #d8d2c8;
    font-size: 1.07rem;
}

.book-copy p + p {
    margin-top: 20px;
}

.book-stakes {
    color: #f0e9dc;
    font-weight: 500;
}

.book-question {
    color: var(--gold-light);
    font-size: 1.2rem;
    font-style: italic;
}

/* Author */
.author-section {
    padding: 110px 0;
    background: #111412;
    border-top: 1px solid #252824;
    border-bottom: 1px solid #252824;
}

.author-grid {
    display: grid;
    grid-template-columns: minmax(250px, 390px) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 92px);
    align-items: center;
}

.author-photo-wrap {
    overflow: hidden;
    border: 1px solid rgba(181,121,33,.32);
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.author-photo {
    width: 100%;
    height: auto;
    filter: saturate(.84) brightness(.90);
}

.author-text h2 {
    margin-bottom: 28px;
}

.author-text p:last-child {
    max-width: 650px;
    color: #d8d2c8;
    font-size: 1.08rem;
}

/* Newsletter */
.newsletter {
    padding: 110px 0 120px;
    text-align: center;
    background:
        linear-gradient(rgba(7,9,8,.93), rgba(7,9,8,.95)),
        url("images/forest-hero.jpg") center/cover no-repeat;
}

.newsletter h2 {
    margin-bottom: 24px;
}

.newsletter p,
.newsletter li {
    color: #d5d0c7;
}

.newsletter ul {
    display: inline-block;
    margin: 22px auto 22px;
    text-align: left;
}

.newsletter li {
    margin-bottom: 7px;
}

.newsletter-form {
    position: relative;
    max-width: 520px;
    margin: 34px auto 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 7px;
    font-family: "Montserrat", sans-serif;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(181,121,33,.55);
    border-radius: 2px;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-family: "Lora", serif;
    font-size: 1rem;
}

.newsletter-form input:focus {
    border-color: var(--gold-light);
    outline: 2px solid rgba(181,121,33,.22);
    outline-offset: 2px;
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    color: #cbc5ba;
    font-size: .89rem;
    line-height: 1.5;
}

.consent-field input {
    margin-top: 4px;
}

.newsletter-form .button {
    width: 100%;
    margin-top: 2px;
    background: var(--gold);
    color: #111;
}

.newsletter-form .button:hover,
.newsletter-form .button:focus-visible {
    background: transparent;
    color: #e8c78e;
}

.website-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.signup-message {
    min-height: 24px;
    margin-top: 4px;
    font-family: "Montserrat", sans-serif;
    font-size: .88rem;
}

/* Footer */
.site-footer {
    padding: 30px 7%;
    text-align: center;
    background: #070807;
    border-top: 1px solid #252724;
    color: #8e8b84;
    font-family: "Montserrat", sans-serif;
    font-size: .72rem;
    letter-spacing: .6px;
}

.site-footer p + p {
    margin-top: 6px;
}

.footer-disclaimer {
    margin-top: 14px !important;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* Mobile */
@media (max-width: 860px) {
    .site-header {
        justify-content: center;
        padding: 22px 5%;
    }

    nav {
        display: none;
    }

    .logo {
        font-size: .82rem;
        text-align: center;
    }

    .hero-inner {
        width: min(620px, 88%);
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 105px 0 72px;
        text-align: center;
    }

    .cover-wrap {
        width: min(330px, 82vw);
        order: 2;
    }

    .hero-copy {
        order: 1;
        margin: 0 auto;
    }

    .hero h1 {
        letter-spacing: 3px;
    }

    .hero-symbol {
        margin-left: auto;
        margin-right: auto;
    }

    .author-grid {
        grid-template-columns: 1fr;
        width: min(680px, 84%);
    }

    .author-photo-wrap {
        width: min(370px, 100%);
        margin: 0 auto;
    }

    .author-text {
        text-align: center;
    }

    .author-text p:last-child {
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .section-inner,
    .section-inner.narrow {
        width: 88%;
    }

    .book-section,
    .author-section,
    .newsletter {
        padding: 82px 0;
    }

    .hero-summary,
    .book-copy,
    .author-text p:last-child {
        font-size: 1rem;
    }

    .hero-genre {
        letter-spacing: 2.6px;
    }
}
