/* ============================================
   CELESTINE BUECHER – Design System
   Ancient Manuscript meets Modern Editorial
   celestinebuecher.de
   ============================================ */

/* ─── CSS VARIABLES ─── */
:root {
    --forest: #1a3a2a;
    --forest-deep: #0f2118;
    --emerald: #2d6a4f;
    --emerald-light: #40916c;
    --gold: #c9a84c;
    --gold-dark: #a67c00;
    --gold-glow: #e8d48b;
    --parchment: #f4efe4;
    --parchment-dark: #e8dfd0;
    --parchment-deep: #d4c9b5;
    --ink: #2c2416;
    --ink-light: #5a4d3a;
    --ink-faded: #7d6f5c;
    --white: #faf8f3;
    --red-accent: #8b3a3a;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Crimson Text', Georgia, 'Times New Roman', serif;

    --max-content: 920px;
    --max-prose: 720px;
    --radius: 3px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
}


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

html {
    scroll-behavior: smooth;
}

img, picture, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ─── BASE TYPOGRAPHY ─── */
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--parchment);
    line-height: 1.75;
    font-size: 17px;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(212,201,181,0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232,223,208,0.5) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(212,201,181,0.3) 0%, transparent 50%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--emerald);
    text-decoration-color: var(--emerald-light);
    text-underline-offset: 0.15em;
    transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover, a:focus-visible {
    color: var(--gold-dark);
    text-decoration-color: var(--gold-dark);
}

::selection {
    background: rgba(201,168,76,0.25);
    color: var(--ink);
}


/* ─── KEYFRAMES ─── */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(201,168,76,0.3); }
    50% { text-shadow: 0 0 20px rgba(201,168,76,0.6), 0 0 40px rgba(201,168,76,0.2); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ============================================
   1. HERO — unified across all pages
   ============================================ */
.hero,
.author-hero {
    position: relative;
    background: linear-gradient(170deg, #0f2118 0%, #1a3a2a 40%, #2d6a4f 100%);
    color: #f4efe4;
    text-align: center;
    padding: 2rem 1.5rem;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before,
.author-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(201,168,76,0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(201,168,76,0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after,
.author-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #a67c00 20%, #c9a84c 50%, #a67c00 80%, transparent 100%);
}

.hero-ornament {
    font-size: 1.5rem;
    color: #c9a84c;
    letter-spacing: 0.5em;
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.hero h1,
.author-hero h1 {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-weight: 400;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.hero p,
.hero .hero-sub,
.hero .hero-tagline,
.hero .tagline,
.author-hero p,
.author-hero .subtitle {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-style: italic;
    font-size: 1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0.3rem auto;
    line-height: 1.5;
}

.hero .hero-author,
.hero .author-badge,
.hero-author {
    display: inline-block;
    border: 1px solid rgba(201,168,76,0.4);
    padding: 0.3rem 1.2rem;
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-top: 0.8rem;
    font-style: normal;
    opacity: 1;
}

.author-hero .life-dates {
    display: block;
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 0.5rem;
    font-style: normal;
}


/* ============================================
   2. NAVIGATION
   ============================================ */
.main-nav,
nav {
    background: var(--forest-deep);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
    padding: 0.8rem 1rem 0.4rem;
}

.main-nav .nav-brand {
    display: block;
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-align: center;
    padding-bottom: 0.5rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.main-nav .nav-brand a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav .nav-brand a:hover {
    color: var(--gold-glow);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.6rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--parchment-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav menu */
.nav-menu,
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

nav a,
.nav-menu a {
    display: block;
    padding: 0.85rem 1rem;
    color: var(--parchment-dark);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

nav a:hover, nav a:focus,
.nav-menu a:hover, .nav-menu a:focus {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.nav-menu a[aria-current="page"] {
    color: var(--gold);
    border-bottom-color: var(--gold);
}


/* ============================================
   3. BREADCRUMB
   ============================================ */
.breadcrumb {
    font-size: 0.82rem;
    color: var(--ink-faded);
    padding: 0.8rem 1.5rem;
    max-width: var(--max-content);
    margin: 0 auto;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.breadcrumb li + li::before {
    content: '\203A';
    margin-right: 0.3rem;
    color: var(--parchment-deep);
}

.breadcrumb a {
    color: var(--ink-faded);
    text-decoration: none;
    border-bottom: 1px dotted var(--parchment-deep);
}

.breadcrumb a:hover {
    color: var(--emerald);
    border-bottom-color: var(--emerald);
}

.breadcrumb [aria-current="page"] {
    color: var(--ink-light);
    font-weight: 600;
}


/* ============================================
   4. MAIN CONTENT
   ============================================ */
main {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}


/* ============================================
   5. INTRO SECTION
   ============================================ */
.intro {
    text-align: center;
    padding: 1.5rem 0 2.5rem;
}

.intro h2 {
    font-family: var(--font-display);
    color: var(--emerald);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.intro p {
    color: var(--ink-light);
    max-width: 680px;
    margin: 0 auto 1rem;
    font-size: 1.05rem;
}

.intro .book-count {
    display: inline-block;
    background: var(--forest);
    color: var(--gold);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
}


/* ============================================
   6. SECTION DIVIDERS
   ============================================ */
.section-divider {
    text-align: center;
    margin: 0.5rem 0 2rem;
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 0.8em;
    opacity: 0.5;
}


/* ============================================
   7. READING ORDER WIDGET
   ============================================ */
.reading-order {
    background: var(--white);
    border: 1px solid rgba(212,201,181,0.5);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.reading-order h2 {
    font-family: var(--font-display);
    color: var(--forest);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.order-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}

.order-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.order-list a {
    color: var(--emerald);
    text-decoration: none;
    font-size: 0.92rem;
    border-bottom: 1px dotted var(--emerald-light);
    transition: color 0.2s;
}

.order-list a:hover {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
}

.order-arrow {
    color: var(--gold);
    font-size: 0.8rem;
}


/* ============================================
   8. BOOK CARD
   ============================================ */
.book {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s, transform 0.4s;
    border: 1px solid rgba(212,201,181,0.5);
    position: relative;
}

.book::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--gold), var(--emerald));
    opacity: 0;
    transition: opacity 0.4s;
}

.book:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.book:hover::before {
    opacity: 1;
}

.book-number {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: rgba(201,168,76,0.12);
    line-height: 1;
    pointer-events: none;
}

.book-inner {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.book-cover {
    flex-shrink: 0;
    width: 170px;
}

.book-cover a {
    display: block;
    transition: transform 0.3s;
}

.book-cover a:hover {
    transform: scale(1.03);
}

.book-cover img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15), 1px 1px 3px rgba(0,0,0,0.1);
}

.book-cover img.img-error {
    display: none;
}

.book-cover-fallback {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(160deg, var(--forest) 0%, var(--emerald) 100%);
    border-radius: 2px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15), 1px 1px 3px rgba(0,0,0,0.1);
}

.book-cover-fallback span {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1rem;
    line-height: 1.3;
    font-style: italic;
}

.book-cover img.img-error + .book-cover-fallback {
    display: flex;
}

.book-info {
    flex: 1;
}

.book-info h2 {
    font-family: var(--font-display);
    color: var(--forest);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1rem;
}

.book-subtitle {
    color: var(--gold-dark);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
}

.book-year {
    font-size: 0.8rem;
    color: var(--ink-faded);
    background: var(--parchment);
    padding: 0.15rem 0.6rem;
    border-radius: 2px;
}

.book-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
}

.badge-bestseller { background: var(--gold); color: var(--forest-deep); }
.badge-handbuch { background: var(--emerald); color: var(--white); }
.badge-film { background: var(--red-accent); color: var(--white); }

.book-info p {
    margin-bottom: 0.7rem;
    font-size: 0.97rem;
    color: var(--ink-light);
}

.book-links {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}


/* ============================================
   9. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.88rem;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.btn-buy {
    background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(45,106,79,0.3);
}

.btn-buy:hover {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
    box-shadow: 0 4px 16px rgba(45,106,79,0.4);
    transform: translateY(-1px);
    color: var(--white);
}

.btn-audio {
    background: var(--parchment);
    color: var(--forest);
    border: 1px solid var(--parchment-deep);
}

.btn-audio:hover {
    background: var(--parchment-dark);
    border-color: var(--emerald);
    color: var(--emerald);
}

.btn-film {
    background: linear-gradient(135deg, var(--red-accent) 0%, #a04848 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(139,58,58,0.3);
}

.btn-film:hover {
    box-shadow: 0 4px 16px rgba(139,58,58,0.4);
    transform: translateY(-1px);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--emerald);
    border: 1px solid var(--emerald);
}

.btn-secondary:hover {
    background: var(--emerald);
    color: var(--white);
}

.btn-icon {
    font-size: 1.1rem;
}


/* ============================================
   10. PROSE — Long-form Reading
   ============================================ */
.prose {
    max-width: var(--max-prose);
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ink-light);
}

.prose > * + * {
    margin-top: 1.3rem;
}

.prose h2 {
    font-family: var(--font-display);
    color: var(--emerald);
    font-size: 1.7rem;
    font-weight: 500;
    margin-top: 2.8rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(201,168,76,0.2);
}

.prose h3 {
    font-family: var(--font-display);
    color: var(--forest);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.prose h3::before {
    content: '\25C6';
    color: var(--gold);
    margin-right: 0.5rem;
    font-size: 0.7em;
    vertical-align: 0.1em;
}

.prose p {
    margin-bottom: 0;
}

.prose strong {
    color: var(--ink);
    font-weight: 600;
}

.prose em {
    color: var(--ink);
}

.prose ul, .prose ol {
    padding-left: 1.5rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose li::marker {
    color: var(--gold);
}

.prose blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--ink);
    position: relative;
}

.prose blockquote::before {
    content: '\201E';
    position: absolute;
    top: -0.2rem;
    left: 0.6rem;
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.3;
    font-family: var(--font-display);
    line-height: 1;
}

.prose blockquote cite {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.88rem;
    font-style: normal;
    color: var(--ink-faded);
}

.prose blockquote cite::before {
    content: '\2014 ';
}

.prose a {
    color: var(--emerald);
    text-decoration: underline;
    text-decoration-color: rgba(45,106,79,0.3);
    text-underline-offset: 0.15em;
}

.prose a:hover {
    color: var(--gold-dark);
    text-decoration-color: var(--gold-dark);
}

.prose hr {
    border: none;
    text-align: center;
    margin: 2.5rem 0;
}

.prose hr::after {
    content: '\2022 \2022 \2022';
    color: var(--gold);
    letter-spacing: 0.8em;
    opacity: 0.5;
    font-size: 1.2rem;
}


/* ============================================
   11. BOOK RECOMMENDATION BOX (Inline Affiliate)
   ============================================ */
.book-recommend {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--parchment-deep);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
    margin: 2rem 0;
    position: relative;
    transition: border-color 0.3s;
}

.book-recommend:hover {
    border-color: rgba(201,168,76,0.4);
}

.book-recommend::before {
    content: 'Lesetipp';
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    background: var(--forest);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 2px;
}

.book-recommend-cover {
    flex-shrink: 0;
    width: 70px;
}

.book-recommend-cover img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.12);
}

.book-recommend-body {
    flex: 1;
    min-width: 0;
}

.book-recommend-body h4 {
    font-family: var(--font-display);
    color: var(--forest);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.book-recommend-body p {
    font-size: 0.88rem;
    color: var(--ink-faded);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.book-recommend-body .btn {
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
}


/* ============================================
   12. INSIGHT CARDS (9 Erkenntnisse)
   ============================================ */
.insight-card {
    background: var(--white);
    border: 1px solid rgba(212,201,181,0.5);
    border-radius: var(--radius);
    padding: 2rem 2rem 2rem 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s, transform 0.3s;
}

.insight-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, var(--emerald) 100%);
}

.insight-number {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 600;
    color: rgba(201,168,76,0.08);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.insight-card h3 {
    font-family: var(--font-display);
    color: var(--forest);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding-right: 3rem;
}

.insight-card h3 .insight-label {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    font-weight: 600;
    margin-right: 0.4rem;
    vertical-align: 0.15em;
}

.insight-card p {
    font-size: 0.97rem;
    color: var(--ink-light);
    line-height: 1.7;
}

.insight-card .insight-detail {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--parchment-dark);
    font-size: 0.93rem;
    color: var(--ink-faded);
}


/* ============================================
   13. AFFILIATE DISCLOSURE
   ============================================ */
.affiliate-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--ink-faded);
    margin-top: 2rem;
    padding: 1.2rem;
    border-top: 1px solid var(--parchment-deep);
}


/* ============================================
   14. FOOTER
   ============================================ */
footer {
    background: var(--forest-deep);
    color: rgba(244,239,228,0.6);
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 0.85rem;
}

footer a {
    color: rgba(244,239,228,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-links {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.footer-sep {
    color: rgba(244,239,228,0.3);
}

.footer-copy {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(201,168,76,0.4);
    font-size: 0.85rem;
    margin-top: 0.8rem;
}


/* ============================================
   15. SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Insight book links - compact affiliate link at end of each insight */
.insight-book-link {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--parchment-deep);
}

.insight-book-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--emerald);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--emerald);
    border-radius: 3px;
    transition: all 0.25s;
}

.insight-book-link a:hover {
    background: var(--emerald);
    color: var(--white);
}

/* Fallback: show everything if JS fails or takes long */
.no-js .reveal,
.reveal.no-delay {
    opacity: 1;
    transform: none;
}


/* ============================================
   16. UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-emerald { color: var(--emerald); }
.text-muted { color: var(--ink-faded); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }


/* ============================================
   17. RESPONSIVE
   ============================================ */

/* ─── Mobile: up to 700px ─── */
@media (max-width: 700px) {

    /* Hamburger nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--forest-deep);
        border-top: 1px solid rgba(201,168,76,0.15);
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        font-size: 0.95rem;
    }

    /* Fallback for simple nav */
    nav a {
        padding: 0.6rem 0.7rem;
        font-size: 0.82rem;
    }

    main {
        padding: 1.5rem 1rem 2rem;
    }

    .book-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1.2rem;
        gap: 1.2rem;
    }

    .book-cover {
        width: 140px;
    }

    .book-number {
        font-size: 2rem;
        top: 0.8rem;
        right: 1rem;
    }

    .book-meta {
        justify-content: center;
    }

    .book-links {
        justify-content: center;
    }

    .book-info h2 {
        font-size: 1.3rem;
    }

    .order-list {
        flex-direction: column;
        align-items: center;
    }

    .order-arrow {
        transform: rotate(90deg);
    }

    /* Prose */
    .prose {
        font-size: 1rem;
    }

    .prose h2 {
        font-size: 1.45rem;
    }

    .prose h3 {
        font-size: 1.15rem;
    }

    .prose blockquote {
        padding: 1.2rem 1rem 1.2rem 1.5rem;
        margin: 1.5rem 0;
    }

    /* Book recommend */
    .book-recommend {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
        padding: 1.5rem 1.2rem 1.2rem;
    }

    .book-recommend-cover {
        width: 60px;
    }

    /* Insight cards */
    .insight-card {
        padding: 1.5rem 1.2rem 1.5rem 1.5rem;
    }

    .insight-number {
        font-size: 3.5rem;
    }
}

/* ─── Small mobile: up to 400px ─── */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    nav a {
        padding: 0.5rem 0.5rem;
        font-size: 0.78rem;
    }

    .book-cover {
        width: 120px;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }

    .insight-number {
        font-size: 2.5rem;
    }
}

/* ─── Tablet+: 700px and above ─── */
@media (min-width: 701px) {
    .nav-menu {
        display: flex !important;
    }

    .nav-toggle {
        display: none !important;
    }
}

/* ─── Desktop: 1024px and above ─── */
@media (min-width: 1024px) {

    .book-inner {
        padding: 2.5rem;
    }

    .book-cover {
        width: 190px;
    }

    .prose {
        font-size: 1.08rem;
    }
}


/* ============================================
   18. PRINT STYLES
   ============================================ */
@media print {
    .hero,
    nav,
    .main-nav,
    .book-links,
    .affiliate-note,
    footer,
    .nav-toggle,
    .btn,
    .book-recommend {
        display: none;
    }

    body {
        background: #fff;
        background-image: none;
        color: #000;
        font-size: 12pt;
    }

    .book {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .insight-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .prose a::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #666;
    }
}
