:root {
    --bg: #181818;
    --bg-soft: #20201f;
    --bg-raised: #262523;
    --text: #f1ece4;
    --text-soft: #cbc4bb;
    --muted: #9c958c;
    --quiet: #807970;
    --gold: #c9a96e;
    --gold-light: #dfc58f;
    --line: #383532;
    --shadow: rgba(0, 0, 0, 0.48);
    --serif: "EB Garamond", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--gold-light);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--text);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    padding: 0.65rem 1rem;
    background: var(--gold);
    color: #151515;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0;
}

.brand {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 1.15rem;
    font-family: var(--sans);
    font-size: 0.72rem;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--gold-light);
}

.page-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.content-shell {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
    min-height: 720px;
    padding: 72px 0 78px;
}

.hero-cover {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    box-shadow: 0 24px 72px var(--shadow);
}

.eyebrow,
.section-label {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 690px;
    margin: 0.65rem 0 0.2rem;
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

.byline {
    margin-bottom: 1.8rem;
    color: var(--muted);
    font-size: 1rem;
}

.hero-logline {
    max-width: 650px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.15;
}

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

.hero-summary {
    max-width: 620px;
    margin-top: 1.4rem;
    color: var(--text-soft);
    font-size: 1.08rem;
}

.hero-quote {
    max-width: 590px;
    margin-top: 1.6rem;
    padding-left: 1.1rem;
    border-left: 2px solid var(--gold);
    color: var(--text);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.45;
}

.hero-quote cite,
.quote-card cite,
.reader-card cite {
    display: block;
    margin-top: 0.55rem;
    color: var(--gold-light);
    font-size: 0.78em;
    font-style: italic;
    letter-spacing: 0.04em;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-top: 1.8rem;
}

.amazon-link {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 20px;
    border: 1px solid #625b53;
    border-radius: 4px;
    background: #111;
    transition: border-color 160ms ease, transform 160ms ease;
}

.amazon-link:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
}

.amazon-badge {
    width: 188px;
    height: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-decoration: none;
}

.button-primary {
    background: var(--gold);
    color: #171717;
}

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

.button-secondary {
    color: var(--gold-light);
}

.button-secondary:hover {
    background: var(--gold);
    color: #171717;
}

.release-note {
    width: 100%;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.73rem;
}

.section {
    padding: 84px 0;
    border-top: 1px solid var(--line);
}

.section h2,
.page-intro h1 {
    max-width: 820px;
    margin: 0.45rem auto 1.4rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.08;
}

.section-lead {
    max-width: 720px;
    color: var(--text-soft);
    font-size: 1.2rem;
}

.story-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-top: 2.2rem;
}

.story-copy p {
    color: var(--text-soft);
}

.signature-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
}

.signature-section::before {
    position: absolute;
    left: 50%;
    top: -180px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(201, 169, 110, 0.12);
    border-radius: 50%;
    content: "";
}

.signature-copy {
    position: relative;
    max-width: 790px;
}

.signature-copy p {
    margin-top: 1.25rem;
    color: var(--text-soft);
    font-size: 1.25rem;
}

.excerpt-preview {
    max-width: 760px;
    margin-top: 2.2rem;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-soft);
}

.excerpt-preview p {
    margin-bottom: 1.25rem;
    color: #ded7ce;
    font-size: 1.16rem;
    line-height: 1.82;
}

.excerpt-preview p:last-child {
    margin-bottom: 0;
}

.excerpt-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.transformation {
    text-align: center;
}

.transformation-line {
    max-width: 780px;
    margin: 0 auto;
    color: var(--text);
    font-size: clamp(2rem, 4.5vw, 3.45rem);
    font-style: italic;
    line-height: 1.15;
}

.house-sound {
    max-width: 650px;
    margin: 1.8rem auto 0;
    color: var(--gold-light);
    font-size: 1.25rem;
}

.proof-grid,
.reader-grid,
.link-grid,
.press-grid {
    display: grid;
    gap: 20px;
    margin-top: 2rem;
}

.proof-grid {
    grid-template-columns: 0.75fr 1.25fr 1.25fr;
}

.reader-grid,
.link-grid {
    grid-template-columns: repeat(3, 1fr);
}

.quote-card,
.reader-card,
.link-card,
.fact-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--bg-soft);
}

.score-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.score {
    color: var(--gold-light);
    font-size: 3.1rem;
    font-weight: 600;
    line-height: 1;
}

.score small {
    color: var(--muted);
    font-size: 0.34em;
    font-weight: 400;
}

.score-label {
    margin-top: 0.75rem;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-card p,
.reader-card p {
    color: var(--text-soft);
    font-size: 1.02rem;
    font-style: italic;
}

.proof-link {
    margin-top: 1.5rem;
}

.rating-source {
    margin-top: 0.45rem;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.7rem;
}

.rating-source a {
    color: var(--muted);
}

.reader-card .reader-role {
    margin-top: 0.3rem;
    color: var(--quiet);
    font-family: var(--sans);
    font-size: 0.68rem;
    font-style: normal;
}

.preorder-section {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 44px;
    padding: 48px;
    border: 1px solid rgba(201, 169, 110, 0.35);
    border-radius: 7px;
    background: var(--bg-raised);
}

.preorder-cover {
    width: 180px;
    box-shadow: 0 16px 44px var(--shadow);
}

.preorder-copy h2 {
    margin: 0.3rem 0 0.8rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.05;
}

.preorder-copy p {
    max-width: 600px;
    color: var(--text-soft);
}

.preorder-copy .hero-actions {
    margin-top: 1.35rem;
}

.club-teaser {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 58px;
}

.club-teaser aside {
    padding: 28px;
    border-left: 2px solid var(--gold);
    background: var(--bg-soft);
}

.club-teaser aside p {
    color: var(--text-soft);
}

.about-teaser {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 30px;
}

.about-teaser p {
    max-width: 760px;
    color: var(--text-soft);
}

.page-intro {
    padding: 72px 0 52px;
    border-bottom: 1px solid var(--line);
}

.page-intro p {
    max-width: 760px;
    color: var(--text-soft);
    font-size: 1.18rem;
}

.prose-page {
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 100px;
}

.prose-page h2 {
    margin: 2.5rem 0 1rem;
    color: var(--text);
    font-size: 1.65rem;
    font-weight: 500;
}

.prose-page h3 {
    margin: 2rem 0 0.8rem;
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.prose-page p,
.prose-page li {
    color: var(--text-soft);
}

.prose-page p {
    margin-bottom: 1.2rem;
}

.prose-page ul,
.prose-page ol {
    margin: 0 0 1.5rem 1.4rem;
}

.prose-page li {
    margin-bottom: 0.65rem;
    padding-left: 0.35rem;
}

.prose-page blockquote {
    margin: 2rem 0;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: 2px solid var(--gold);
}

.prose-page blockquote p {
    color: var(--text);
    font-size: 1.18rem;
    font-style: italic;
}

.manuscript-excerpt p {
    margin-bottom: 1.45rem;
    color: #ddd6cd;
    font-size: 1.12rem;
    line-height: 1.86;
}

.manuscript-excerpt .chapter-number,
.manuscript-excerpt .chapter-title {
    text-align: center;
}

.manuscript-excerpt .chapter-number {
    margin-top: 3rem;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.manuscript-excerpt .chapter-title {
    margin-bottom: 2.2rem;
    color: var(--text);
    font-size: 2.1rem;
}

.disclosure {
    margin: 1.5rem 0;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--bg-soft);
}

.disclosure summary {
    padding: 18px 22px;
    color: var(--gold-light);
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
}

.disclosure-content {
    padding: 0 22px 22px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 1.6rem 0 2.2rem;
}

.metric {
    padding: 18px 10px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    text-align: center;
}

.metric strong {
    display: block;
    color: var(--gold-light);
    font-size: 1.65rem;
}

.metric span {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.fact-card dt {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fact-card dd {
    margin: 0.15rem 0 1rem;
    color: var(--text);
}

.fact-card dd:last-child {
    margin-bottom: 0;
}

.download-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 90px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
}

.footer-brand {
    color: var(--text);
    font-size: 1.1rem;
}

.footer-copy {
    max-width: 560px;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1.2rem;
    font-family: var(--sans);
    font-size: 0.7rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

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

.trademark {
    margin-top: 1.4rem;
    color: var(--quiet);
    font-family: var(--sans);
    font-size: 0.62rem;
}

.mobile-preorder {
    display: none;
}

@media (max-width: 840px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 42px;
        padding: 48px 0 64px;
        text-align: center;
    }

    .hero-cover {
        max-width: 250px;
    }

    .hero-summary,
    .hero-quote {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-quote {
        padding-left: 0;
        border-left: 0;
    }

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

    .release-note {
        text-align: center;
    }

    .story-copy,
    .proof-grid,
    .reader-grid,
    .link-grid,
    .club-teaser,
    .about-teaser,
    .press-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        max-width: 650px;
    }

    .about-teaser {
        align-items: start;
    }

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

    .metrics-grid .metric:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 17px;
        padding-bottom: 70px;
    }

    .nav-shell {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 0.45rem 0.9rem;
    }

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

    .hero-logline {
        font-size: 1.55rem;
    }

    .section {
        padding: 64px 0;
    }

    .story-copy {
        gap: 18px;
    }

    .preorder-section {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        text-align: center;
    }

    .preorder-cover {
        width: 150px;
        margin: 0 auto;
    }

    .preorder-copy .hero-actions {
        justify-content: center;
    }

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

    .footer-links {
        justify-content: flex-start;
    }

    .mobile-preorder {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 16px;
        border-top: 1px solid var(--line);
        background: rgba(24, 24, 24, 0.97);
        font-family: var(--sans);
        text-decoration: none;
        transform: translateY(100%);
        transition: transform 200ms ease;
    }

    .mobile-preorder.is-visible {
        transform: translateY(0);
    }

    .mobile-preorder span:first-child {
        color: var(--text-soft);
        font-size: 0.72rem;
    }

    .mobile-preorder span:last-child {
        padding: 8px 13px;
        border-radius: 3px;
        background: var(--gold);
        color: #161616;
        font-size: 0.7rem;
        font-weight: 700;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
