/* ============================================================
   ASSATA SPEAKS — 46th Anniversary Edition
   Compiled & Edited by Bibi Angola
   Theme: aged paper, burnt orange, deep red, charcoal — from the book cover
   ============================================================ */

:root {
    --paper:        #ece1cb;
    --paper-light:  #f4ecdc;
    --paper-dark:   #dccdaf;
    --ink:          #1d1611;
    --ink-soft:     #3a2c22;
    --orange:       #c05a28;
    --orange-deep:  #a34517;
    --red:          #9e2b25;
    --red-deep:     #7c1d18;
    --gold:         #c9a870;
    --cream-text:   #f0e7d3;
    --muted:        #6d5b49;

    --font-display: 'Ultra', serif;
    --font-caps:    'Oswald', sans-serif;
    --font-body:    'Crimson Pro', serif;

    --container:    1200px;
    --radius:       4px;
    --shadow-book:  0 40px 80px -20px rgba(29, 22, 17, .55);
    --ease-out:     cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--ink-soft);
    background: var(--paper);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .3s; }
a:hover { color: var(--orange); }
ul { list-style: none; }

::selection { background: var(--orange); color: var(--cream-text); }

.container {
    width: min(100% - 3rem, var(--container));
    margin-inline: auto;
}

/* Aged paper texture (SVG noise overlay) */
.texture-noise::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography helpers ---------- */
.lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--ink);
}

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }

.section-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }

.section-kicker {
    display: inline-block;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    line-height: 1.1;
    color: var(--ink);
    text-transform: uppercase;
}

.section-title em {
    font-style: normal;
    color: var(--red);
    display: inline-block;
    position: relative;
}

.section-flourish {
    margin-top: 1.2rem;
    color: var(--orange);
    font-size: 1.4rem;
}

.section-flourish::before,
.section-flourish::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease-out), box-shadow .3s, color .3s;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform .4s var(--ease-out);
    z-index: -1;
}

.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--cream-text); transform: translateY(-3px); }

.btn--primary {
    background: var(--orange);
    color: var(--cream-text);
    box-shadow: 0 12px 30px -10px rgba(192, 90, 40, .7);
}
.btn--primary:hover { color: var(--cream-text); }

.btn--ghost {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

.btn--lg { padding: 1.15rem 3rem; font-size: 1rem; }
.btn--full { width: 100%; text-align: center; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at center, #efe5d1 0%, var(--paper-dark) 100%);
}

html.js .page-loader { display: flex; }

.loader-inner { text-align: center; position: relative; z-index: 2; }

.loader-flourish {
    color: var(--orange);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.loader-title {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    line-height: 1;
}

.loader-line {
    display: block;
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--orange);
    overflow: hidden;
}

.loader-line span {
    display: inline-block;
    transform: translateY(110%);
}

.loader-line--small { font-size: clamp(1.4rem, 4vw, 2.4rem); color: var(--red); letter-spacing: .3em; }

.loader-bar {
    width: min(320px, 60vw);
    height: 3px;
    background: rgba(29, 22, 17, .15);
    margin: 2rem auto 1rem;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--red));
}

.loader-tagline {
    font-family: var(--font-caps);
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: .75rem;
    color: var(--muted);
    opacity: 0;
}

/* Brush swipe panel that reveals the site */
.loader-brush {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ink) 0%, #2c2018 100%);
    transform: translateY(101%);
    z-index: 3;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: background .4s, box-shadow .4s, padding .4s;
}

.site-header.scrolled {
    background: rgba(236, 225, 203, .92);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(29, 22, 17, .12);
    padding: .7rem 0;
}

.header-inner {
    width: min(100% - 3rem, var(--container));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); }

.brand-mark {
    color: var(--orange);
    font-size: 1.6rem;
    line-height: 1;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    text-transform: uppercase;
    color: var(--ink);
}

.brand-sub {
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-nav ul { display: flex; align-items: center; gap: 2.2rem; }

.site-nav a:not(.btn) {
    font-family: var(--font-caps);
    font-weight: 500;
    font-size: .88rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    position: relative;
    padding: .3rem 0;
}

.site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease-out);
}

.site-nav a:not(.btn):hover::after,
.site-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { padding: .7rem 1.6rem; font-size: .82rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: .5rem;
    z-index: 1100;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--ink);
    transition: transform .35s var(--ease-out), opacity .3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 9rem 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(192, 90, 40, .18), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(158, 43, 37, .14), transparent 60%),
        linear-gradient(180deg, var(--paper-light) 0%, var(--paper) 55%, var(--paper-dark) 100%);
}

.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: clamp(.85rem, 1.6vw, 1.05rem);
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1.4rem;
}

.hero-flourish { color: var(--orange); font-size: 1.6rem; margin-bottom: 1.6rem; }
.hero-flourish::before, .hero-flourish::after {
    content: ""; display: inline-block; width: 50px; height: 1px;
    background: var(--gold); vertical-align: middle; margin: 0 .9rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .95;
    color: var(--ink);
}

.hero-title .line {
    display: block;
    font-size: clamp(3.4rem, 9vw, 7.2rem);
    background: linear-gradient(120deg, var(--orange) 20%, var(--orange-deep) 45%, var(--red) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .line--sub {
    font-family: var(--font-caps);
    font-weight: 500;
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    letter-spacing: .35em;
    color: var(--ink-soft);
    -webkit-text-fill-color: var(--ink-soft);
    background: none;
    margin: .8rem 0;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    color: var(--ink);
    margin-top: 1.4rem;
}

.hero-subtitle strong {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--red);
    font-size: 1.15em;
}

.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }

.badge {
    font-family: var(--font-caps);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
}

.badge--anniv {
    background: radial-gradient(circle at 30% 30%, #d8bc8a, var(--gold));
    color: var(--ink);
    border-radius: 50%;
    width: 108px;
    height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 10px 25px -8px rgba(29, 22, 17, .4), inset 0 0 0 3px rgba(29, 22, 17, .15);
    transform: rotate(-8deg);
}

.badge-top { font-family: var(--font-display); font-size: 1.6rem; }
.badge-top sup { font-size: .7rem; }
.badge-bottom { font-size: .58rem; letter-spacing: .18em; }

.badge--editor {
    border-left: 3px solid var(--orange);
    padding-left: 1rem;
    color: var(--muted);
}
.badge--editor strong { color: var(--red); font-size: 1rem; letter-spacing: .18em; display: block; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.4rem; }

.hero-footnote {
    margin-top: 2rem;
    font-family: var(--font-caps);
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Hero book visual */
.hero-visual { position: relative; display: flex; justify-content: center; }

.book-tilt-wrap {
    position: relative;
    perspective: 1200px;
    width: min(100%, 460px);
}

.book-3d {
    width: 100%;
    filter: drop-shadow(var(--shadow-book));
    will-change: transform;
}

.book-shadow {
    position: absolute;
    bottom: -8%;
    left: 12%;
    width: 76%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(29, 22, 17, .35), transparent 70%);
    filter: blur(8px);
}

.hero-fist {
    position: absolute;
    bottom: -10px;
    left: -20px;
    font-size: 3.2rem;
    opacity: .25;
    transform: rotate(-15deg);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    z-index: 3;
}

.scroll-cue-label {
    font-family: var(--font-caps);
    font-size: .65rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--muted);
}

.scroll-cue-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(var(--orange), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-cue-line::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--red);
    animation: cueDrop 1.8s infinite var(--ease-out);
}

@keyframes cueDrop { 0% { top: -50%; } 100% { top: 110%; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
    background: var(--ink);
    padding: 1.1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-caps);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--paper);
}

.marquee-track i {
    font-style: normal;
    color: var(--orange);
}

/* ============================================================
   ABOUT THE BOOK
   ============================================================ */
.about-book { background: var(--paper); }

.about-book-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.about-book-visual { position: relative; }

.cover-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 70px -18px rgba(29, 22, 17, .5);
    border: 10px solid var(--paper-light);
    outline: 1px solid rgba(29, 22, 17, .15);
}

.cover-frame img { width: 100%; transform: scale(1.12); will-change: transform; }

.cover-badge {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 110px;
    height: 110px;
    background: var(--red);
    color: var(--cream-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-caps);
    font-size: .8rem;
    line-height: 1.25;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 15px 35px -8px rgba(124, 29, 24, .6);
    transform: rotate(10deg);
}

.about-book-copy p { margin-bottom: 1.4rem; }
.about-book-copy strong { color: var(--red); }

/* Pull quote */
.pull-quote {
    position: relative;
    background: linear-gradient(135deg, rgba(192, 90, 40, .09), rgba(158, 43, 37, .07));
    border-left: 4px solid var(--orange);
    padding: 2.2rem 2.4rem 1.6rem;
    margin: 2.4rem 0;
    border-radius: var(--radius);
}

.pull-quote p {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
}

.pull-quote cite {
    display: block;
    margin-top: .8rem;
    font-family: var(--font-caps);
    font-style: normal;
    font-size: .8rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--orange);
}

.quote-mark {
    position: absolute;
    top: -18px;
    left: 16px;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--orange);
    line-height: 1;
}

.quote-mark--close { top: auto; left: auto; right: 16px; bottom: -40px; }

/* Highlights counters */
.book-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(29, 22, 17, .15);
}

.highlight { text-align: center; }

.highlight-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    color: var(--red);
    line-height: 1.1;
}

.highlight-label {
    font-family: var(--font-caps);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ============================================================
   QUOTE BAND (dark)
   ============================================================ */
.quote-band {
    background:
        radial-gradient(800px 400px at 80% 20%, rgba(192, 90, 40, .22), transparent 60%),
        linear-gradient(160deg, #241b14, var(--ink) 70%);
    color: var(--cream-text);
    text-align: center;
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
    overflow: hidden;
}

.quote-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.quote-band-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }

/* Floating books — back cover left, 3D mockup right */
.quote-book {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: clamp(200px, 22vw, 340px);
    pointer-events: none;
    filter: drop-shadow(0 35px 50px rgba(0, 0, 0, .55));
}

.quote-book img {
    display: block;
    width: 100%;
    animation: quoteBookFloat 6.5s ease-in-out infinite;
}

.quote-book--left {
    left: max(-40px, 2%);
    transform: translateY(-50%) rotate(-7deg);
}

.quote-book--right {
    right: max(-30px, 2%);
    transform: translateY(-50%) rotate(6deg);
}

.quote-book--right img { animation-delay: -3.2s; }

@keyframes quoteBookFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-16px) rotate(1.5deg); }
}

@media (max-width: 1100px) {
    .quote-book { width: clamp(140px, 18vw, 220px); }
}

@media (max-width: 768px) {
    .quote-book { display: none; }
}

.quote-band-flourish { color: var(--orange); font-size: 1.8rem; display: inline-block; margin-bottom: 1.5rem; }

.quote-band-title {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    line-height: 1.15;
    color: var(--cream-text);
}

.quote-band-title span { color: var(--orange); display: block; }

.quote-band-text {
    max-width: 760px;
    margin: 2rem auto 0;
    font-size: 1.25rem;
    color: rgba(240, 231, 211, .85);
}

.quote-band-text strong { color: var(--gold); }

.quote-band-cta { margin-top: 2.6rem; }

/* ============================================================
   ABOUT THE AUTHOR
   ============================================================ */
.about-author { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-light) 100%); }

.author-intro {
    max-width: 860px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
    text-align: center;
}

.author-intro p { margin-bottom: 1.4rem; }
.author-intro strong { color: var(--red); }

/* Timeline */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(var(--orange), var(--red));
}

.timeline-item {
    position: relative;
    padding: 0 0 2.6rem 2.2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: .4rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--paper);
    border: 3px solid var(--orange);
    box-shadow: 0 0 0 4px rgba(192, 90, 40, .18);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--orange-deep);
    background: rgba(192, 90, 40, .1);
    padding: .15rem .9rem;
    border-radius: 20px;
    margin-bottom: .7rem;
}

.timeline-body h3 {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: .5rem;
}

.timeline-body em { color: var(--red); }

/* Author cards */
.author-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.author-card {
    background: #fdf8ee;
    border: 1px solid rgba(29, 22, 17, .12);
    border-top: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 2.2rem 2.4rem;
    box-shadow: 0 20px 45px -22px rgba(29, 22, 17, .28);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 55px -22px rgba(29, 22, 17, .38);
}

.card-title {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.card-icon { color: var(--orange); font-size: 1.3rem; }

.cred-list li {
    padding: .55rem 0 .55rem 1.4rem;
    border-bottom: 1px dashed rgba(29, 22, 17, .15);
    position: relative;
    font-size: 1rem;
}

.cred-list li:last-child { border-bottom: 0; }

.cred-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: .8rem;
    top: .75rem;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--paper); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.review-card {
    background: #fdf8ee;
    border: 1px solid rgba(29, 22, 17, .12);
    border-top: 3px solid var(--orange);
    border-radius: var(--radius);
    padding: 2.4rem 2.4rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px -24px rgba(29, 22, 17, .3);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}

.review-card:nth-child(even) { border-top-color: var(--gold); }

/* Gold shine sweep on hover */
.review-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(201, 168, 112, .28), transparent);
    transform: skewX(-20deg);
    transition: left .7s var(--ease-out);
    pointer-events: none;
}

.review-card:hover::after { left: 130%; }

.review-card::before {
    content: "❝";
    position: absolute;
    top: auto;
    bottom: 1.3rem;
    right: 1.6rem;
    font-size: 3.4rem;
    line-height: 1;
    color: rgba(192, 90, 40, .18);
}

.review-card:hover {
    transform: translateY(-8px) rotate(-.5deg);
    box-shadow: 0 30px 55px -24px rgba(29, 22, 17, .4);
}

.review-stars {
    color: var(--gold);
    font-size: 1.15rem;
    letter-spacing: .25em;
    margin-bottom: 1.1rem;
    text-shadow: 0 1px 0 rgba(124, 29, 24, .3);
}

.review-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ink-soft);
    margin-bottom: 1.6rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author strong {
    display: block;
    font-family: var(--font-caps);
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
}

.review-author span:last-child {
    font-size: .9rem;
    color: var(--muted);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: var(--cream-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: .9rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #fdf8ee, 0 0 0 5px rgba(201, 168, 112, .6);
}

/* Reviews CTA: dark dossier banner */
.reviews-cta {
    text-align: center;
    margin-top: 3.4rem;
    padding: clamp(2rem, 4vw, 2.8rem) 2rem;
    border-radius: var(--radius);
    background:
        radial-gradient(500px 260px at 50% -20%, rgba(192, 90, 40, .25), transparent 65%),
        linear-gradient(165deg, #2a1f16, var(--ink));
    border: 1px solid rgba(240, 231, 211, .16);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(29, 22, 17, .6);
}

.reviews-cta::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(201, 168, 112, .35);
    border-radius: calc(var(--radius) - 6px);
    pointer-events: none;
}

.reviews-cta p {
    font-family: var(--font-type);
    font-size: 1.15rem;
    color: var(--cream-text);
    margin-bottom: 1.5rem;
    letter-spacing: .04em;
}

.reviews-cta .btn--ghost {
    border-color: var(--gold);
    color: var(--gold);
    position: relative;
    z-index: 1;
}

/* kill the dark ::before wipe — dark text was disappearing over it */
.reviews-cta .btn--ghost::before { content: none; }

.reviews-cta .btn--ghost:hover {
    background: var(--gold);
    color: var(--ink);
    transform: translateY(-3px);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dark) 100%); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.contact-info .lead { margin-bottom: 2rem; }

.contact-info .file-tag {
    display: inline-block;
    margin-bottom: 1.2rem;
    color: var(--red);
}

.contact-note {
    margin-top: 1.6rem;
    font-family: var(--font-type);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    padding-left: 1rem;
    border-left: 3px solid var(--gold);
}

.contact-list li {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px dashed rgba(29, 22, 17, .2);
    transition: transform .35s var(--ease-out);
}

.contact-list li:hover { transform: translateX(8px); }

.contact-list li:last-child { border-bottom: 0; }

.contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background .35s, color .35s, transform .35s var(--ease-out);
}

.contact-list li:hover .contact-icon {
    background: var(--red);
    color: #fdf8ee;
    transform: rotate(-8deg) scale(1.06);
}

.contact-list strong {
    display: block;
    font-family: var(--font-caps);
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .15rem;
}

.contact-list a { font-weight: 600; color: var(--red); }

.contact-form {
    position: relative;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(192, 90, 40, .07), transparent 60%),
        #fdf8ee;
    border-radius: var(--radius);
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border: 1px solid rgba(29, 22, 17, .12);
    box-shadow: 0 25px 55px -25px rgba(29, 22, 17, .35);
    border-top: 4px solid var(--red);
    overflow: hidden;
}

/* dashed inner frame — file folder feel */
.contact-form::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px dashed rgba(29, 22, 17, .14);
    border-radius: calc(var(--radius) - 6px);
    pointer-events: none;
}

.form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(29, 22, 17, .12);
}

.form-head .file-tag { color: var(--red); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-field { margin-bottom: 1.3rem; }

.form-field label {
    display: block;
    font-family: var(--font-caps);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .45rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--ink);
    background: var(--paper-light);
    border: 1px solid rgba(29, 22, 17, .2);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    transition: border-color .3s, box-shadow .3s, background .3s;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(192, 90, 40, .18);
}

.form-field.error input,
.form-field.error textarea {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(158, 43, 37, .15);
}

.form-note {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
    min-height: 1.5em;
    color: var(--orange-deep);
    font-weight: 600;
}

/* ============================================================
   FOOTER — closing the case file
   ============================================================ */
.site-footer {
    background: var(--ink);
    color: var(--cream-text);
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

/* Pan-African stripe across the very top */
.footer-stripes {
    display: flex;
    height: 6px;
}

.footer-stripes i {
    flex: 1;
}

.footer-stripes i:nth-child(1) { background: linear-gradient(90deg, #9e2b25, #c05a28); }
.footer-stripes i:nth-child(2) { background: linear-gradient(90deg, #c05a28, #c9a870); }
.footer-stripes i:nth-child(3) { background: linear-gradient(90deg, #c9a870, #7a6438); }

/* Giant drifting watermark — the manifesto, on loop */
.footer-watermark {
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.4rem) 0 1.6rem;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.footer-watermark-track {
    display: flex;
    width: max-content;
    animation: footerDrift 36s linear infinite;
}

.footer-watermark-track span {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8.5rem);
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 231, 211, .16);
}

@keyframes footerDrift {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.brand--footer .brand-title { color: var(--cream-text); }
.brand--footer .brand-sub { color: rgba(240, 231, 211, .55); }

.footer-stamps { margin-top: 1.5rem; }

.footer-tagline {
    margin-top: 1.4rem;
    font-style: italic;
    color: rgba(240, 231, 211, .7);
    line-height: 1.9;
}

.site-footer h4 {
    display: flex;
    align-items: baseline;
    gap: .8rem;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1.3rem;
}

.site-footer h4 .file-tag { font-size: .62rem; color: rgba(240, 231, 211, .45); }

.footer-nav li { margin-bottom: .7rem; }

.footer-nav a {
    display: inline-block;
    position: relative;
    color: rgba(240, 231, 211, .75);
    font-family: var(--font-caps);
    font-size: .9rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .3s, transform .3s var(--ease-out);
}

.footer-nav a::before {
    content: "\2192";
    display: inline-block;
    margin-right: .2rem;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .3s, transform .3s var(--ease-out);
}

.footer-nav a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-cta p {
    color: rgba(240, 231, 211, .7);
    margin-bottom: 1.4rem;
}

.footer-note-type {
    margin-top: 1.2rem;
    font-family: var(--font-type);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(240, 231, 211, .4);
}

/* End-of-record strip */
.footer-end {
    padding: 1.6rem 0;
    border-top: 1px dashed rgba(240, 231, 211, .18);
}

.footer-end-inner {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.end-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 231, 211, .2));
}

.end-rule:last-child {
    background: linear-gradient(90deg, rgba(240, 231, 211, .2), transparent);
}

.end-text {
    font-family: var(--font-type);
    font-size: .74rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(201, 168, 112, .75);
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(240, 231, 211, .12);
    padding: 1.4rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .92rem;
    color: rgba(240, 231, 211, .55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { order: 2; }
    .hero-visual { order: 1; }
    .book-tilt-wrap { width: min(72vw, 380px); }
    .hero-meta, .hero-actions { justify-content: center; }
    .hero-flourish::before, .hero-flourish::after { display: none; }
    .about-book-grid { grid-template-columns: 1fr; }
    .about-book-visual { max-width: 460px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 1.05rem; }

    .nav-toggle { display: flex; }

    .site-nav {
        position: fixed;
        inset: 0;
        background: linear-gradient(160deg, #241b14, var(--ink));
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity .45s var(--ease-out), visibility .45s;
        z-index: 1050;
    }

    .site-nav.open { opacity: 1; visibility: visible; }

    .site-nav ul { flex-direction: column; gap: 2.2rem; text-align: center; }

    .site-nav a:not(.btn) { color: var(--cream-text); font-size: 1.3rem; }
    .site-nav a:not(.btn):hover { color: var(--gold); }

    .nav-toggle.open span { background: var(--cream-text); }

    .reviews-grid { grid-template-columns: 1fr; }
    .author-columns { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
    .footer-nav li { margin-bottom: 0; }
    .site-footer h4 { justify-content: center; }
    .file-stamps.footer-stamps { justify-content: center; }
    .end-text { white-space: normal; text-align: center; }
    .footer-bottom-inner { justify-content: center; text-align: center; }

    .book-highlights { gap: 1rem; }

    .scroll-cue { display: none; }
}

@media (max-width: 520px) {
    .form-row { grid-template-columns: 1fr; }
    .badge--anniv { width: 92px; height: 92px; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .cover-badge { width: 88px; height: 88px; font-size: .68rem; right: -10px; top: -14px; }
    .pull-quote { padding: 2rem 1.4rem 1.4rem; }
}

/* ============================================================
   ENHANCEMENTS — v2
   ============================================================ */

/* Anchor offset for fixed header */
section[id] { scroll-margin-top: 90px; }

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--red));
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 2000;
}

/* Custom cursor (desktop only) */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot, .cursor-ring { display: block; }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(192, 90, 40, .65);
    transition: width .3s, height .3s, border-color .3s, background-color .3s;
}

.cursor-ring.hovering {
    width: 62px;
    height: 62px;
    border-color: var(--red);
    background: rgba(192, 90, 40, .12);
}

/* Split-title chars */
.section-title .word { display: inline-block; white-space: nowrap; }
.section-title .char { display: inline-block; will-change: transform; }

/* Hero floating ornaments */
.hero-ornament {
    position: absolute;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    color: rgba(158, 43, 37, .14);
}

.hero-ornament--1 { top: 16%; left: 3%; font-size: 4.5rem; color: rgba(192, 90, 40, .2); }
.hero-ornament--2 { bottom: 12%; right: 4%; font-size: 7rem; }

/* Quote band watermark */
.quote-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 15rem);
    line-height: 1;
    white-space: nowrap;
    color: rgba(240, 231, 211, .05);
    pointer-events: none;
    user-select: none;
}

/* Author ornaments */
.author-ornament {
    position: absolute;
    line-height: 1;
    font-size: 9rem;
    color: rgba(192, 90, 40, .08);
    pointer-events: none;
    user-select: none;
}

.author-ornament--1 { top: 6%; right: 3%; }
.author-ornament--2 { bottom: 16%; left: -1%; font-size: 11rem; }

/* Author hero: medallion + copy */
.author-hero {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
    max-width: 1060px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.author-medallion-wrap {
    position: relative;
    width: 300px;
    aspect-ratio: 1;
    margin-inline: auto;
}

.medallion-glow {
    position: absolute;
    inset: -12%;
    background: radial-gradient(circle, rgba(192, 90, 40, .3), transparent 65%);
    filter: blur(12px);
}

.author-medallion {
    position: relative;
    width: 100%;
    height: 100%;
}

.medallion-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: ringSpin 24s linear infinite;
}

.medallion-ring text {
    font-family: var(--font-caps);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4.5px;
    fill: var(--red);
}

@keyframes ringSpin { to { transform: rotate(360deg); } }

.medallion-initials {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 62%;
    height: 62%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 4.2rem;
    color: var(--cream-text);
    background: radial-gradient(circle at 32% 28%, var(--orange), var(--red-deep));
    border-radius: 50%;
    box-shadow: 0 20px 45px -12px rgba(124, 29, 24, .55), inset 0 0 0 6px rgba(240, 231, 211, .15);
}

.author-sign {
    font-size: 1.9rem;
    font-style: italic;
    color: var(--orange-deep);
    margin-top: 1.6rem;
}

/* Author stats band */
.author-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(29, 22, 17, .15);
    border: 1px solid rgba(29, 22, 17, .15);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 1060px;
    margin: 0 auto clamp(3.5rem, 7vw, 5rem);
    box-shadow: 0 25px 50px -25px rgba(29, 22, 17, .3);
}

.stat {
    background: #fdf8ee;
    text-align: center;
    padding: 2.2rem 1rem;
    transition: background .35s;
}

.stat:hover { background: #ffffff; }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1;
    color: var(--red);
}

.stat-label {
    display: block;
    margin-top: .6rem;
    font-family: var(--font-caps);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Alternating timeline */
.timeline--alt {
    padding-left: 0;
    max-width: 1060px;
}

.timeline--alt .timeline-line {
    left: 50%;
    transform: translateX(-50%);
}

.timeline--alt .timeline-item {
    width: 50%;
    padding: 0 3rem 3rem 0;
}

.timeline--alt .timeline-item:nth-child(odd) {
    margin-left: 50%;
    padding: 0 0 3rem 3rem;
}

.timeline--alt .timeline-dot { left: auto; right: -7px; }

.timeline--alt .timeline-item:nth-child(odd) .timeline-dot {
    left: -7px;
    right: auto;
}

.timeline-card {
    background: #fdf8ee;
    border: 1px solid rgba(29, 22, 17, .12);
    border-radius: var(--radius);
    padding: 1.8rem 2rem;
    position: relative;
    box-shadow: 0 20px 45px -22px rgba(29, 22, 17, .28);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}

.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 55px -22px rgba(29, 22, 17, .4);
}

.timeline-card h3 {
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
    margin: .4rem 0 .5rem;
}

.timeline-card p { font-size: 1.02rem; margin: 0; }
.timeline-card em { color: var(--red); }

/* Author cards: corner ornaments */
.author-card { position: relative; overflow: hidden; }

.author-card::before,
.author-card::after {
    content: "";
    position: absolute;
    width: 46px;
    height: 46px;
    border: 0 solid var(--orange);
    opacity: .5;
    pointer-events: none;
}

.author-card::before { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.author-card::after { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }

/* Reviews summary: rating panel with distribution bars */
.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 680px;
    margin: -1.5rem auto 3rem;
    background: #fdf8ee;
    border: 1px solid rgba(29, 22, 17, .12);
    border-top: 3px solid var(--red);
    border-radius: var(--radius);
    padding: 1.6rem 2rem;
    box-shadow: 0 20px 45px -25px rgba(29, 22, 17, .3);
}

.summary-score { display: flex; align-items: center; gap: 1.1rem; }

.score-num {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1;
    color: var(--red);
}

.score-side { display: flex; flex-direction: column; gap: .25rem; }
.score-side .review-stars { font-size: 1rem; margin-bottom: 0; }
.score-label { font-size: .95rem; color: var(--muted); }

.summary-bars { display: flex; flex-direction: column; gap: .5rem; min-width: 230px; }

.bar-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-caps);
    font-size: .72rem;
    letter-spacing: .1em;
    color: var(--muted);
}

.bar-label { width: 1.7rem; }

.bar {
    flex: 1;
    height: 8px;
    background: rgba(29, 22, 17, .1);
    border-radius: 4px;
    overflow: hidden;
}

.bar i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--orange), var(--red));
    border-radius: 4px;
    transition: width 1.2s var(--ease-out);
}

.bar-pct { width: 2.6rem; text-align: right; }

/* Verified stamp on review cards */
.review-stamp {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 2;
    font-family: var(--font-type);
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(158, 43, 37, .75);
    border: 2px solid rgba(158, 43, 37, .45);
    border-radius: 2px;
    padding: .28rem .55rem;
    transform: rotate(6deg);
}

/* Back to top */
.to-top {
    position: fixed;
    right: 1.6rem;
    bottom: 1.6rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: var(--ink);
    color: var(--gold);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .35s, transform .35s, visibility .35s, background .3s, color .3s;
    box-shadow: 0 15px 30px -10px rgba(29, 22, 17, .5);
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover { background: var(--orange); color: var(--cream-text); }

/* About the Book — v3 */
.book-ornament {
    position: absolute;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    color: rgba(192, 90, 40, .08);
}

.book-ornament--1 { top: 6%; left: 2%; font-size: 8rem; }
.book-ornament--2 { bottom: 4%; right: 2%; font-size: 10rem; }

.about-book-visual { z-index: 1; }

.cover-stack {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cover-stack span {
    position: absolute;
    border: 1px solid rgba(29, 22, 17, .15);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px -20px rgba(29, 22, 17, .3);
}

.cover-stack span:first-child {
    inset: 4% -2.5% -3.5% 5%;
    background: var(--paper-dark);
    transform: rotate(3.5deg);
}

.cover-stack span:last-child {
    inset: 2% -1% -1.5% 3.5%;
    background: #e6d9bd;
    transform: rotate(-2.5deg);
}

.about-book-visual .cover-frame { z-index: 2; }
.about-book-visual .cover-badge { z-index: 3; }

.year-chip {
    position: absolute;
    z-index: 3;
    background: var(--ink);
    color: var(--cream-text);
    font-family: var(--font-caps);
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: .7rem 1.1rem;
    border-radius: var(--radius);
    line-height: 1.4;
    box-shadow: 0 15px 30px -12px rgba(29, 22, 17, .5);
}

.year-chip strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: .05em;
    color: var(--gold);
}

.year-chip--from { top: 11%; left: -18px; transform: rotate(-4deg); }
.year-chip--to { bottom: 13%; right: -18px; transform: rotate(4deg); }

.inside-panel {
    background: #fdf8ee;
    border: 1px solid rgba(29, 22, 17, .12);
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    padding: 1.8rem 2rem;
    margin-top: 2.4rem;
    box-shadow: 0 20px 45px -25px rgba(29, 22, 17, .25);
}

.inside-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.2rem;
}

.inside-title span { color: var(--orange); }

.inside-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.8rem;
}

.inside-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

.inside-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(192, 90, 40, .12);
    color: var(--orange-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: background .3s, color .3s, transform .3s;
}

.inside-item:hover .inside-icon {
    background: var(--orange);
    color: var(--cream-text);
    transform: scale(1.08) rotate(-6deg);
}

.inside-item strong {
    display: block;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
}

.inside-item div span {
    display: block;
    font-size: .98rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Dark stats band under About the Book */
.book-highlights--band {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(2rem, 4vw, 3rem) 2rem;
    border-top: 0;
    background: linear-gradient(160deg, #241b14, var(--ink));
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -25px rgba(29, 22, 17, .5);
    position: relative;
    overflow: hidden;
}

.book-highlights--band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.book-highlights--band .highlight { position: relative; }

.book-highlights--band .highlight + .highlight {
    border-left: 1px solid rgba(240, 231, 211, .12);
}

.book-highlights--band .highlight-num { color: var(--gold); }
.book-highlights--band .highlight-label { color: rgba(240, 231, 211, .65); }

/* ============================================================
   V4 — MOVEMENT / RESISTANCE VIBE
   ============================================================ */

:root {
    --font-type: 'Special Elite', 'Courier New', monospace;
}

/* Archival photo vignette over the whole page */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9500;
    mix-blend-mode: multiply;
    background: radial-gradient(ellipse at center, transparent 52%, rgba(29, 22, 17, .24) 100%);
}

/* Kickers become typewriter dossier stamps */
.section-kicker {
    font-family: var(--font-type);
    font-size: .85rem;
    letter-spacing: .18em;
    color: var(--red);
    background: rgba(158, 43, 37, .05);
    border: 2px solid rgba(158, 43, 37, .5);
    border-radius: 2px;
    padding: .45rem 1.2rem;
    transform: rotate(-1.5deg);
}

/* Resistance dossier panel */
.resistance-file {
    position: relative;
    overflow: hidden;
    max-width: 1060px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
    border-radius: var(--radius);
    border: 1px solid rgba(240, 231, 211, .14);
    background:
        radial-gradient(900px 420px at 92% -10%, rgba(192, 90, 40, .18), transparent 60%),
        linear-gradient(165deg, #261c14, var(--ink) 75%);
    box-shadow: 0 40px 80px -30px rgba(29, 22, 17, .6);
    color: var(--cream-text);
}

.resistance-file::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.resistance-file > * { position: relative; z-index: 1; }

/* Red classified bar down the left edge */
.resistance-file::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: repeating-linear-gradient(
        -45deg,
        var(--red) 0 14px,
        var(--red-deep) 14px 28px
    );
}

.file-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px dashed rgba(240, 231, 211, .28);
}

.file-tag {
    font-family: var(--font-type);
    font-size: .85rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
}

.file-stamps { display: flex; gap: .9rem; }

.stamp {
    font-family: var(--font-type);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: .4rem .85rem;
    border: 2px solid currentColor;
    border-radius: 2px;
    transform: rotate(-4deg);
    opacity: .9;
    white-space: nowrap;
}

.stamp--red { color: #e05a4e; }
.stamp--gold { color: var(--gold); transform: rotate(3deg); }

.file-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.resistance-file .lead {
    color: var(--cream-text);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

.file-text { color: rgba(240, 231, 211, .82); }

.file-text strong { color: var(--orange); }

.resistance-file .author-sign { color: var(--gold); }

.resistance-file .medallion-ring text { fill: var(--gold); }

.resistance-file .medallion-glow {
    background: radial-gradient(circle, rgba(192, 90, 40, .4), transparent 65%);
}

/* Hero: Pan-African protest collage background */
.hero-bg-collage {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../images/hero-collage.png') center / cover no-repeat;
    opacity: .26;
    mix-blend-mode: multiply;
    transform: scale(1.12);
    -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 42%, #000 45%, transparent 100%);
    mask-image: radial-gradient(ellipse 95% 85% at 50% 42%, #000 45%, transparent 100%);
    pointer-events: none;
    will-change: transform;
}

/* Author photo in the dossier (archived cutout with tape) */
.file-photo {
    position: relative;
    width: min(100%, 290px);
    margin-inline: auto;
    background: var(--paper-light);
    padding: 12px 12px 58px;
    border-radius: 2px;
    transform: rotate(-2.5deg);
    box-shadow: 0 25px 50px -18px rgba(0, 0, 0, .7);
    transition: transform .45s var(--ease-out);
}

.file-photo:hover { transform: rotate(-.5deg) translateY(-4px); }

.file-photo img { width: 100%; display: block; }

.file-photo figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 16px;
    font-family: var(--font-type);
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: center;
}

.file-tape {
    position: absolute;
    width: 92px;
    height: 26px;
    background: rgba(201, 168, 112, .55);
    box-shadow: 0 2px 6px rgba(29, 22, 17, .3);
    z-index: 2;
}

.file-tape--tl { top: -12px; left: -24px; transform: rotate(-35deg); }
.file-tape--br { bottom: -10px; right: -24px; transform: rotate(-35deg); }

/* Front + back covers: angled spread */
.cover-frame--back {
    position: absolute;
    top: 3%;
    right: -7%;
    width: 78%;
    z-index: 1;
    border-width: 8px;
    transform: rotate(7deg);
    filter: brightness(.96) sepia(.06);
    transition:
        transform .55s var(--ease-out),
        top .55s var(--ease-out),
        right .55s var(--ease-out),
        width .55s var(--ease-out),
        filter .55s var(--ease-out),
        box-shadow .55s var(--ease-out);
}

.cover-frame--front {
    position: relative;
    width: 90%;
    z-index: 2;
}

/* Hover: back cover flips over to the EXACT front position — fully readable.
   Front cover sits at left 0 → width 90%, so land the back at right 10% / top 0. */
.about-book-visual:hover .cover-frame--back {
    top: 0;
    right: 10%;
    width: 90%;
    z-index: 3;
    transform: rotate(0deg) scale(1.02);
    filter: none;
    box-shadow: 0 35px 70px -18px rgba(29, 22, 17, .55);
}

.about-book-visual:hover .cover-frame--front {
    filter: brightness(.8) sepia(.08);
}

/* Service & Credentials: dark dossier cards */
.dossier-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(600px 300px at 90% -10%, rgba(192, 90, 40, .16), transparent 60%),
        linear-gradient(165deg, #261c14, var(--ink) 78%);
    border: 1px solid rgba(240, 231, 211, .14);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--cream-text);
    box-shadow: 0 30px 60px -28px rgba(29, 22, 17, .6);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}

.dossier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 70px -28px rgba(29, 22, 17, .7);
}

.dossier-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.dossier-card > * { position: relative; z-index: 1; }

.dossier-card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: repeating-linear-gradient(
        -45deg,
        var(--orange) 0 12px,
        var(--orange-deep) 12px 24px
    );
}

.dossier-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
    padding-bottom: .9rem;
    margin-bottom: 1.3rem;
    border-bottom: 1px dashed rgba(240, 231, 211, .25);
}

.dossier-tag {
    font-family: var(--font-type);
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
}

.dossier-title {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cream-text);
    margin-bottom: .8rem;
}

.dossier-icon { color: var(--orange); font-size: 1.35rem; }

.dossier-intro {
    color: rgba(240, 231, 211, .78);
    margin-bottom: 1.4rem;
}

.dossier-intro strong { color: var(--gold); }

.record-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .9rem .6rem;
    border-bottom: 1px dashed rgba(240, 231, 211, .14);
    border-left: 3px solid transparent;
    border-radius: 2px;
    transition: background .3s, border-color .3s, transform .3s;
}

.record-list li:last-child { border-bottom: 0; }

.record-list li:hover {
    background: rgba(240, 231, 211, .05);
    border-left-color: var(--orange);
    transform: translateX(4px);
}

.record-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(192, 90, 40, .18);
    color: var(--orange);
    font-size: 1.05rem;
}

.record-icon--seal {
    font-family: var(--font-type);
    font-size: .68rem;
    letter-spacing: .04em;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.record-list strong {
    display: block;
    font-family: var(--font-caps);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cream-text);
}

.record-list li div span {
    display: block;
    margin-top: .15rem;
    font-size: .98rem;
    line-height: 1.55;
    color: rgba(240, 231, 211, .65);
}

/* ============================================================
   ENHANCEMENTS — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .author-hero { grid-template-columns: 1fr; text-align: center; }
    .author-medallion-wrap { width: 250px; }
    .file-body { grid-template-columns: 1fr; text-align: center; }
    .file-body .author-medallion-wrap { margin-inline: auto; }
    .file-header { justify-content: center; }
    .cover-frame--back { right: -4%; width: 72%; }
}

@media (max-width: 768px) {
    .author-stats { grid-template-columns: repeat(2, 1fr); }

    .timeline--alt .timeline-line {
        left: 6px;
        transform: none;
    }

    .timeline--alt .timeline-item,
    .timeline--alt .timeline-item:nth-child(odd) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 2.5rem 2.2rem;
    }

    .timeline--alt .timeline-dot,
    .timeline--alt .timeline-item:nth-child(odd) .timeline-dot {
        left: -2rem;
        right: auto;
    }

    .hero-ornament--2 { font-size: 4.5rem; }
    .author-ornament { font-size: 6rem; }
    .book-ornament { font-size: 5.5rem; }
    .inside-items { grid-template-columns: 1fr; }
    .year-chip--from { left: -8px; }
    .year-chip--to { right: -8px; }
}

@media (max-width: 520px) {
    .book-highlights--band { grid-template-columns: 1fr; gap: 1.6rem; }

    .book-highlights--band .highlight + .highlight {
        border-left: 0;
        border-top: 1px solid rgba(240, 231, 211, .12);
        padding-top: 1.6rem;
    }

    .file-stamps { justify-content: center; }
    .stamp { font-size: .6rem; padding: .35rem .6rem; }
    .cover-frame--back { right: -2%; width: 64%; top: 1%; }
    .file-photo { width: min(100%, 250px); }
    .hero-bg-collage { opacity: .2; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-cue-line::after { animation: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
