/* ==========================================================================
   Komlan Ahoudou — author site
   Palette drawn from the book art: forest night, sunlit gold, Kente clay,
   warm paper; and the ivory / charcoal split of the second cover.
   ========================================================================== */

:root {
    --ink: #0e1a14;
    --ink-2: #14241b;
    --ink-3: #1f3628;
    --night: #09110d;
    --paper: #f4ecdf;
    --paper-2: #ece1cd;
    --paper-card: #fbf7f0;
    --line: #d9cab0;
    --line-ink: rgba(239, 230, 214, .14);
    --gold: #d29a45;
    --gold-2: #e8b866;
    --clay: #a6442a;
    --taupe: #a08371;
    --bone: #f3f0ea;
    --char: #1a1919;
    --text: #1d221e;
    --muted: #5d5c53;
    --on-ink: #efe6d6;
    --on-ink-muted: #b6ae9d;
    --error: #a12a1a;
    --ok: #2f5a3b;

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --gutter: clamp(16px, 4vw, 56px);
    --maxw: 1320px;
    --section: clamp(84px, 11vw, 170px);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    font-variation-settings: 'SOFT' 50, 'WONK' 0;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 200;
    padding: .7rem 1.1rem; background: var(--gold); color: var(--ink);
    font-weight: 700; text-decoration: none; transform: translateY(-150%);
    transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type ---------- */
.eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 1.4rem;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--taupe { color: #7c6353; }

h1, h2, h3 { font-family: var(--serif); font-weight: 350; letter-spacing: -.02em; line-height: 1.02; font-variation-settings: 'SOFT' 50, 'WONK' 0; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }

/* Word-mask reveal structure (see split_words in PHP) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .06em .12em 0; margin: -.02em -.06em -.12em 0; }
.w__i { display: inline-block; will-change: transform; }

.prose p + p { margin-top: 1.15em; }
.prose { max-width: 62ch; color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.prose--lg { font-size: 1.1rem; }
.prose--light { color: rgba(243, 240, 234, .78); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--text); margin: 2.4em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--clay); }

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
    min-height: 52px; padding: .95rem 1.6rem;
    border: 1px solid transparent; border-radius: 2px;
    font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none; white-space: nowrap;
    transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .icon { transition: transform .45s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--gold-2); }
.btn--ghost { border-color: rgba(239, 230, 214, .35); color: var(--on-ink); }
.btn--ghost::before { background: var(--on-ink); }
.btn--ghost:hover { color: var(--ink); border-color: var(--on-ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { background: var(--clay); }
.btn--taupe { background: var(--taupe); color: #141313; }
.btn--taupe::before { background: var(--bone); }
.btn--header { min-height: 42px; padding: .6rem 1.1rem; font-size: .7rem; border-color: rgba(239, 230, 214, .35); color: inherit; }
.btn--header::before { background: var(--gold); }
.btn--header:hover { color: var(--ink); border-color: var(--gold); }

.link-arrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none; padding: .35rem 0;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { transition: transform .45s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    color: var(--on-ink);
    transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); transition: height .5s var(--ease); }
.site-header.is-scrolled {
    background: rgba(244, 236, 223, .92);
    color: var(--text);
    box-shadow: 0 1px 0 rgba(29, 34, 30, .08);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
}
.site-header.is-scrolled .site-header__inner { height: 70px; }
.site-header.is-scrolled .btn--header { border-color: rgba(29, 34, 30, .3); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.menu-is-open { background: transparent; color: var(--on-ink); box-shadow: none; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.wordmark { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; margin-right: auto; }
.wordmark__first { font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; margin-bottom: .32rem; opacity: .82; }
.wordmark__last { font-family: var(--serif); font-size: 1.62rem; font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.primary-nav ul { display: flex; gap: 2.1rem; }
.primary-nav a {
    position: relative; display: inline-block; padding: .4rem 0;
    font-size: .88rem; font-weight: 600; text-decoration: none; letter-spacing: .02em;
}
.primary-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
    display: none; align-items: center; gap: .8rem;
    background: none; border: 0; padding: .6rem 0; margin-right: -.2rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.menu-toggle__lines { position: relative; width: 26px; height: 10px; }
.menu-toggle__lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { top: 4px; transform: rotate(-45deg); }

.menu-panel {
    position: fixed; inset: 0; z-index: 90;
    background: var(--ink); color: var(--on-ink);
    overflow-y: auto; overscroll-behavior: contain;
}
.menu-panel[hidden] { display: none; }
.menu-panel__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding-top: calc(var(--header-h) + 5vh); padding-bottom: 2.5rem; }
.menu-panel__list li { border-bottom: 1px solid var(--line-ink); }
.menu-panel__list a {
    display: flex; align-items: baseline; gap: 1.2rem; padding: 1rem 0;
    font-family: var(--serif); font-size: clamp(1.9rem, 7vw, 2.8rem); font-weight: 300; line-height: 1.05; text-decoration: none;
}
.menu-panel__list a[aria-current="page"] { color: var(--gold); font-style: italic; }
.menu-panel__num { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.menu-panel__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.menu-panel__mail { color: var(--on-ink-muted); text-decoration: none; }

@media (max-width: 959px) {
    .js .primary-nav { display: none; }
    .js .menu-toggle { display: inline-flex; }
    .site-header__inner { gap: 1.2rem; }
}
@media (max-width: 959px) {
    /* No-JS fallback: nav stays visible as a compact row */
    html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 1rem; }
    html:not(.js) .primary-nav ul { gap: 1.2rem; }
}
@media (max-width: 600px) {
    .btn--header { display: none; }
    :root { --header-h: 72px; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ink); color: var(--on-ink);
    min-height: min(100svh, 1040px);
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 clamp(5rem, 9vw, 7rem);
}
.hero__glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60% 60% at 78% 30%, rgba(210, 154, 69, .22), transparent 70%),
        radial-gradient(50% 70% at 0% 100%, rgba(31, 54, 40, .9), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; }
.hero__copy { grid-column: 1 / span 7; position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.4rem, 5.2vw, 5.2rem); line-height: .96; font-weight: 300; margin-bottom: 2rem; max-width: 11ch; }
.hero__title em { color: var(--gold); }
.hero__lede { max-width: 46ch; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.75; color: var(--on-ink-muted); margin-bottom: 2.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__art { grid-column: 8 / span 5; position: relative; padding: 0 0 3rem 12%; }
.hero__arch {
    position: relative; overflow: hidden;
    aspect-ratio: 3 / 4.15; border-radius: 999px 999px 0 0;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.hero__arch::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(14, 26, 20, .65), transparent 45%);
    box-shadow: inset 0 0 0 1px rgba(232, 184, 102, .28);
    border-radius: inherit;
}
.hero__arch-img { position: absolute; inset: -8% 0; }
.hero__arch-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__book {
    position: absolute; left: 0; bottom: 0; width: 58%; z-index: 2;
    display: block; transform: rotate(-4deg);
    box-shadow: 0 34px 60px -18px rgba(0, 0, 0, .75), 0 8px 18px rgba(0, 0, 0, .35);
    transform-style: preserve-3d;
}
.hero__book img { width: 100%; }
.hero__book::after {
    /* subtle spine highlight */
    content: ''; position: absolute; inset: 0 auto 0 0; width: 7%;
    background: linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, .18) 60%, transparent);
    pointer-events: none;
}
.hero__caption { position: absolute; right: 0; bottom: 0; text-align: right; line-height: 1.25; }
.hero__caption-kicker { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.hero__caption-title { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }

.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 1px; height: 56px; background: rgba(239, 230, 214, .18); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); }
@media (prefers-reduced-motion: no-preference) {
    .hero__scroll span { animation: scrollcue 2.4s var(--ease) infinite; }
}
@keyframes scrollcue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

@media (max-width: 1023px) {
    .hero { min-height: 0; }
    .hero__copy { grid-column: 1 / -1; }
    .hero__art { grid-column: 1 / -1; width: min(100%, 470px); margin: 1.5rem auto 0; padding-left: 14%; }
    .hero__scroll { display: none; }
}
@media (max-width: 600px) { .hero__caption { display: none; } .hero__art { padding-bottom: 1.5rem; } }

/* ---------- Featured novel ---------- */
.feature { padding: var(--section) 0; background: var(--paper); }
.feature__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: start; }
.feature__media { grid-column: 1 / span 5; position: sticky; top: 110px; }
.feature__cover {
    display: block; width: min(100%, 420px); margin-inline: auto;
    box-shadow: 0 2px 0 #e2d4bb, 0 4px 0 #d6c6aa, 0 50px 70px -30px rgba(40, 30, 15, .55), 0 14px 26px rgba(40, 30, 15, .18);
    transform-style: preserve-3d;
}
.feature__cover img { width: 100%; }
.feature__themes { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.2rem; margin-top: 2.2rem; }
.feature__themes li { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.feature__themes li + li::before { content: '·'; margin-right: 1.2rem; color: var(--clay); }
.feature__text { grid-column: 7 / span 6; padding-top: 1rem; }
.feature__title { font-size: clamp(2.2rem, 3.9vw, 3.8rem); margin-bottom: 1rem; }
.feature__title em { color: var(--clay); }
.feature__by { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.6rem; }
.feature__hook { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.25; color: var(--text); margin-bottom: 2rem; max-width: 24ch; }
.feature__turn { font-family: var(--serif); font-size: clamp(1.25rem, 1.6vw, 1.45rem); color: var(--text) !important; line-height: 1.3; }
.feature__turn em { color: var(--clay); }
.feature__question {
    margin: 2.4rem 0; padding-left: 1.4rem; border-left: 2px solid var(--clay);
    font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 44ch;
}
@media (max-width: 1023px) {
    .feature__media, .feature__text { grid-column: 1 / -1; position: static; }
    .feature__cover { width: min(72%, 380px); }
}

/* ---------- Trailer ---------- */
.trailer { padding: var(--section) 0; background: var(--ink); color: var(--on-ink); }
.trailer__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.trailer__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.trailer__title { font-size: clamp(2.1rem, 4.2vw, 3.9rem); }
.trailer__title em { color: var(--gold); }
.trailer__lede { max-width: 34ch; color: var(--on-ink-muted); }
.trailer__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.trailer__frame img, .trailer__frame video { width: 100%; height: 100%; object-fit: cover; }
.trailer__poster { transition: transform 1.2s var(--ease); }
.trailer__frame:hover .trailer__poster { transform: scale(1.03); }
.trailer__frame::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(9, 17, 13, .1), rgba(9, 17, 13, .55)); pointer-events: none; transition: opacity .5s; }
.trailer__frame.is-playing::after { opacity: 0; }
.trailer__play {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
    background: none; border: 0; color: var(--on-ink);
}
.trailer__play-icon {
    display: grid; place-items: center; width: clamp(76px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%;
    background: var(--gold); color: var(--ink);
    box-shadow: 0 0 0 0 rgba(210, 154, 69, .5);
    transition: transform .5s var(--ease), box-shadow .6s var(--ease);
}
.trailer__play-icon .icon { width: 30%; height: 30%; margin-left: 6%; }
.trailer__play:hover .trailer__play-icon { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(210, 154, 69, .15); }
.trailer__play-label { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.trailer__time { opacity: .7; margin-left: .5rem; }
.trailer__noscript { margin-top: 1rem; }
@media (max-width: 720px) { .trailer__head { grid-template-columns: 1fr; } }

/* ---------- Split book (ivory / charcoal, from its cover) ---------- */
.split-book { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) 0; background: var(--bone); color: var(--char); }
.split-book__bg { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: 1fr 1fr; }
.split-book__bg span:first-child { background: var(--bone); background-image: radial-gradient(120% 80% at 20% 10%, #fff 0, transparent 60%); }
.split-book__bg span:last-child { background: var(--char); background-image: radial-gradient(90% 70% at 80% 90%, #2a2726 0, transparent 70%); }
.split-book__grid { display: grid; grid-template-columns: 1fr minmax(240px, 340px) 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.split-book__title { font-size: clamp(2rem, 3.1vw, 3.1rem); line-height: 1.02; }
.split-book__title em { color: #8a6c5a; }
.split-book__subtitle { margin-top: 1.6rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #5d4d43; max-width: 30ch; }
.split-book__cover { display: block; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .55), 0 10px 24px rgba(0, 0, 0, .25); transform-style: preserve-3d; }
.split-book__cover img { width: 100%; }
.split-book__right { color: var(--bone); }
.split-book__right .actions { margin-top: 2.2rem; }
.split-book__right .link-arrow { color: var(--bone); }
@media (max-width: 1023px) {
    .split-book__bg { display: none; }
    .split-book__grid { grid-template-columns: 1fr; }
    .split-book__cover { position: relative; width: min(64%, 320px); margin: 1rem auto 0; }
    /* charcoal half begins at the middle of the cover and fills everything below */
    .split-book__cover::before { content: ''; position: absolute; left: -100vw; right: -100vw; top: 50%; height: 400vh; background: var(--char); z-index: -1; }
    .split-book__right { padding-top: 1.5rem; }
}

/* ---------- Author ---------- */
.author { padding: var(--section) 0; background: var(--paper-2); overflow: hidden; }
.author__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; }
.author__mark { grid-column: 1 / span 5; position: relative; }
.author__mono {
    display: block; font-family: var(--serif); font-weight: 300; line-height: .78; letter-spacing: -.06em;
    font-size: clamp(7rem, 17vw, 15rem); color: var(--ink);
}
.author__mono em { color: var(--clay); font-weight: 300; }
.author__mark::after {
    content: 'Komlan Ahoudou — Author'; position: absolute; left: .4rem; bottom: -2.4rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.author__body { grid-column: 7 / span 6; }
.author__title { font-size: clamp(2.1rem, 3.5vw, 3.3rem); margin-bottom: 1.8rem; }
.author__title em { color: var(--clay); }
.author__lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.35; margin-bottom: 1.6rem; max-width: 30ch; }
.author__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.8rem 0 2.4rem; }
.author__facts div { border-top: 1px solid var(--line); padding-top: 1rem; }
.author__facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-bottom: .45rem; }
.author__facts dd { font-size: .95rem; line-height: 1.5; }
@media (max-width: 1023px) {
    .author__mark, .author__body { grid-column: 1 / -1; }
    .author__mark { margin-bottom: 3.5rem; }
}
@media (max-width: 600px) { .author__facts { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Reviews ---------- */
.reviews { padding: var(--section) 0; background: var(--ink); color: var(--on-ink); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.reviews__head .eyebrow { margin: 0; order: 2; }
.reviews__title { font-size: clamp(2rem, 3.5vw, 3.3rem); max-width: 14ch; }
.reviews__title em { color: var(--gold); }
.reviews__featured { position: relative; max-width: 980px; margin: 0 0 clamp(4rem, 7vw, 6rem) auto; padding-left: clamp(0rem, 6vw, 6rem); }
.reviews__mark { position: absolute; left: 0; top: -.35em; font-family: var(--serif); font-size: clamp(4.5rem, 8vw, 7.5rem); line-height: 1; color: var(--gold); opacity: .9; }
.reviews__featured blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.38; letter-spacing: -.01em; }
.reviews__featured figcaption, .review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin-top: 2rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.reviews__on { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--on-ink-muted); font-family: var(--serif); font-style: italic; font-size: 1rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.review { border-top: 1px solid var(--line-ink); padding-top: 2rem; }
.review blockquote p { color: var(--on-ink-muted); font-size: 1rem; line-height: 1.75; }
.avatar {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(210, 154, 69, .6); color: var(--gold);
    font-family: var(--serif); font-size: .95rem; font-weight: 400; letter-spacing: .02em;
}
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } .reviews__mark { position: static; display: block; height: .5em; } }

/* ---------- ARC band ---------- */
.arc-band { background: var(--gold); color: var(--ink); padding: clamp(4rem, 8vw, 7rem) 0; }
.arc-band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; }
.arc-band .eyebrow { color: #3c3121; }
.arc-band__title { font-size: clamp(2rem, 3.5vw, 3.3rem); }
.arc-band__body p { font-size: 1.08rem; line-height: 1.7; margin-bottom: 1.8rem; max-width: 46ch; }
.arc-band .btn--ink::before { background: var(--night); }
@media (max-width: 860px) { .arc-band__inner { grid-template-columns: 1fr; } }

/* ---------- Connect ---------- */
.connect { padding: var(--section) 0; background: var(--paper); }
.connect__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: end; }
.connect__title { grid-column: 1 / span 7; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: .92; font-weight: 300; }
.connect__title em { color: var(--clay); }
.connect__body { grid-column: 8 / span 5; }
.connect__poem { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.6; margin-bottom: 2rem; color: var(--muted); }
.connect--paper { background: var(--paper-2); }
@media (max-width: 1023px) { .connect__title, .connect__body { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-ink); padding-top: clamp(5rem, 9vw, 8rem); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem clamp(2rem, 6vw, 6rem); padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.site-footer__statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; letter-spacing: -.01em; max-width: 20ch; margin-bottom: 2.2rem; }
.site-footer__statement em { color: var(--gold); }
.site-footer__mail { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.02rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(210, 154, 69, .5); transition: color .3s, border-color .3s; }
.site-footer__mail:hover { color: var(--gold); border-color: var(--gold); }
.site-footer__mail .icon { color: var(--gold); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: .4rem; }
.site-footer__heading { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; line-height: 1.4; }
.site-footer__col li + li { margin-top: .75rem; }
.site-footer__col a { color: var(--on-ink-muted); text-decoration: none; font-size: .96rem; line-height: 1.4; transition: color .3s; }
.site-footer__col a:hover { color: var(--on-ink); }
.site-footer__signature {
    display: flex; flex-wrap: nowrap; gap: .22em; white-space: nowrap;
    font-family: var(--serif); font-weight: 300; line-height: .9; letter-spacing: -.04em;
    /* the full name measures ~7.1em, so this fills the container on one line without clipping */
    font-size: min(calc((100vw - 2 * var(--gutter)) / 7.3), 13.5rem);
    border-top: 1px solid var(--line-ink); padding-top: clamp(2rem, 4vw, 3rem);
    color: rgba(239, 230, 214, .92);
    user-select: none;
}
.site-footer__sig-line { display: block; flex: none; overflow: hidden; padding: 0 .1em .06em 0; }
.site-footer__sig-line em { color: var(--gold); font-weight: 300; }
.site-footer__sig-line > span { display: inline-block; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1.6rem 0 2rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line-ink); font-size: .82rem; color: var(--on-ink-muted); }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--on-ink); text-decoration: underline; }
@media (max-width: 900px) {
    .site-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
    .site-footer__cols > :last-child { grid-column: 1 / -1; }
}

/* ---------- Inner page hero ---------- */
.page-hero, .not-found { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: calc(var(--header-h) + clamp(4rem, 9vw, 7.5rem)) 0 clamp(4.5rem, 8vw, 7rem); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 85% 0%, rgba(210, 154, 69, .18), transparent 70%), radial-gradient(45% 60% at 0% 100%, rgba(31, 54, 40, .9), transparent 70%); }
.page-hero__title { font-size: clamp(2.4rem, 5.2vw, 4.8rem); font-weight: 300; line-height: .96; max-width: 14ch; }
.page-hero__title em { color: var(--gold); }
.page-hero__intro { margin-top: 2rem; max-width: 52ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--on-ink-muted); line-height: 1.75; }

.breadcrumbs { margin-bottom: 2.4rem; font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .45; }
.breadcrumbs a { text-decoration: none; color: var(--on-ink-muted); }
.breadcrumbs a:hover { color: var(--on-ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--on-ink); }

/* ---------- Library ---------- */
.library { padding: var(--section) 0; background: var(--paper); }
.library__item { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; }
.library__item + .library__item { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); }
.library__cover { grid-column: 1 / span 5; display: block; width: min(100%, 400px); justify-self: center; box-shadow: 0 2px 0 #e2d4bb, 0 50px 70px -30px rgba(40, 30, 15, .5), 0 14px 26px rgba(40, 30, 15, .16); transform-style: preserve-3d; }
.library__cover img { width: 100%; }
.library__text { grid-column: 7 / span 6; }
.library__item:nth-child(even) .library__cover { grid-column: 8 / span 5; grid-row: 1; }
.library__item:nth-child(even) .library__text { grid-column: 1 / span 6; grid-row: 1; }
.library__title { font-size: clamp(2rem, 3.3vw, 3.2rem); margin-bottom: 1.2rem; }
.library__title a { text-decoration: none; }
.library__title a:hover em, .library__title a:hover { color: var(--clay); }
.library__subtitle { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-bottom: 1.2rem; color: var(--muted); }
.library__summary { font-size: 1.08rem; line-height: 1.75; color: var(--muted); max-width: 52ch; margin-bottom: 1.8rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.tags li { font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); }
@media (max-width: 1023px) {
    .library__item .library__cover, .library__item .library__text,
    .library__item:nth-child(even) .library__cover, .library__item:nth-child(even) .library__text { grid-column: 1 / -1; grid-row: auto; }
    .library__cover { width: min(70%, 360px); }
}

/* ---------- Book detail ---------- */
.book-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(4.5rem, 8vw, 7rem); }
.book-hero__bg { position: absolute; inset: 0; z-index: -1; }
.book-hero__bg span { position: absolute; inset: 0; }
.book-page--echoes-of-motherland .book-hero__bg span:first-child {
    background: url('../img/forest-1024.webp') center 40% / cover no-repeat;
    opacity: .28; filter: saturate(.85);
}
.book-page--echoes-of-motherland .book-hero__bg span:last-child { background: linear-gradient(100deg, var(--ink) 30%, rgba(14, 26, 20, .55) 70%, rgba(14, 26, 20, .3)); }
.book-page--why-does-the-devil-want-our-souls .book-hero { background: var(--char); }
.book-page--why-does-the-devil-want-our-souls .book-hero__bg span:last-child { left: auto; width: 34%; top: calc(var(--header-h) + 1rem); background: var(--bone); }
.book-page--why-does-the-devil-want-our-souls .eyebrow--gold { color: var(--taupe); }
.book-page--why-does-the-devil-want-our-souls .book-hero__title em { color: var(--taupe); }
.book-hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; }
.book-hero__text { grid-column: 1 / span 7; }
.book-hero__title { font-size: clamp(2.3rem, 4.5vw, 4.3rem); font-weight: 300; line-height: .98; max-width: 13ch; }
.book-hero__subtitle { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--on-ink-muted); max-width: 36ch; }
.book-hero__by { margin-top: 1.6rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.book-hero__by a { color: var(--gold); text-decoration: none; }
.book-page--why-does-the-devil-want-our-souls .book-hero__by a { color: var(--taupe); }
.book-hero__actions { margin-top: 2.4rem; }
.book-hero__tagline + .book-hero__actions { margin-top: 0; }
.book-hero__tagline { margin: 1.4rem 0 2.4rem; font-size: 1.1rem; color: var(--on-ink-muted); max-width: 44ch; }
.book-hero__cover { grid-column: 9 / span 4; width: min(100%, 400px); justify-self: center; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .7), 0 10px 24px rgba(0, 0, 0, .35); transform-style: preserve-3d; }
.book-hero__cover img { width: 100%; }
@media (max-width: 1023px) {
    .book-hero__text, .book-hero__cover { grid-column: 1 / -1; }
    .book-hero__cover { width: min(66%, 340px); margin-top: 1.5rem; }
    .book-page--why-does-the-devil-want-our-souls .book-hero__bg span:last-child { width: 100%; top: auto; height: 24%; }
}

.book-body { padding: var(--section) 0; background: var(--paper); }
.book-body__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.book-body__aside { grid-column: 1 / span 4; }
.book-facts { position: sticky; top: 110px; }
.book-facts div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.book-facts div:last-child { border-bottom: 1px solid var(--line); }
.book-facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-bottom: .35rem; }
.book-facts dd { font-size: .98rem; }
.book-facts a { color: var(--text); }
.book-body__main { grid-column: 6 / span 7; }
.book-body__hook { font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.08; margin-bottom: 2.4rem; max-width: 20ch; }
.book-body__question { margin-top: 2.6rem; padding-left: 1.4rem; border-left: 2px solid var(--clay); font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; max-width: 44ch; }
.book-body__closing { margin-top: 1.6rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }
@media (max-width: 1023px) {
    .book-body__aside, .book-body__main { grid-column: 1 / -1; }
    .book-body__aside { order: 2; }
    .book-facts { position: static; }
}

.jacket { padding: var(--section) 0; background: var(--paper-2); }
.jacket__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 3rem; align-items: center; }
.jacket__figure { grid-column: 1 / span 7; }
.jacket__figure img { width: 100%; box-shadow: 0 40px 70px -30px rgba(40, 30, 15, .5); }
.jacket__figure figcaption { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.jacket__text { grid-column: 9 / span 4; }
@media (max-width: 1023px) { .jacket__figure, .jacket__text { grid-column: 1 / -1; } }

.related { padding: var(--section) 0; background: var(--paper); }
.related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.related__title { font-size: clamp(1.9rem, 3.1vw, 2.9rem); }
.related__title em { color: var(--clay); }
.related__card { display: grid; grid-template-columns: minmax(110px, 170px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); text-decoration: none; background: var(--paper-card); transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.related__card:hover { border-color: var(--clay); transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(40, 30, 15, .35); }
.related__cover img { width: 100%; box-shadow: 0 18px 30px -12px rgba(40, 30, 15, .45); }
.related__text { display: flex; flex-direction: column; align-items: flex-start; }
.related__text .eyebrow { margin-bottom: .8rem; }
.related__name { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.1; margin-bottom: .9rem; }
.related__summary { color: var(--muted); max-width: 60ch; margin-bottom: 1.2rem; }
@media (max-width: 560px) { .related__card { grid-template-columns: 1fr; } .related__cover { width: 130px; } }

/* ---------- About page ---------- */
.bio { padding: var(--section) 0; background: var(--paper); }
.bio__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.bio__lead { grid-column: 1 / span 5; }
.bio__drop { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; }
.bio__drop::first-letter { float: left; font-size: 3.1em; line-height: .82; padding: .06em .1em 0 0; color: var(--clay); font-style: italic; }
.bio__text { grid-column: 7 / span 6; }
@media (max-width: 1023px) { .bio__lead, .bio__text { grid-column: 1 / -1; } }

.pillars { padding: var(--section) 0; background: var(--ink); color: var(--on-ink); }
.pillars__title { font-size: clamp(2rem, 3.5vw, 3.3rem); margin-bottom: clamp(3rem, 6vw, 5rem); }
.pillars__title em { color: var(--gold); }
.pillars__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-ink); }
.pillars__list li { padding: 2rem 1.6rem 2.4rem 0; }
.pillars__list li + li { border-left: 1px solid var(--line-ink); padding-left: 1.6rem; }
.pillars__num { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem; margin-bottom: 2.4rem; }
.pillars__list h3 { font-size: 1.3rem; line-height: 1.15; margin-bottom: .9rem; }
.pillars__list p { color: var(--on-ink-muted); font-size: .96rem; }
@media (max-width: 1023px) {
    .pillars__list { grid-template-columns: 1fr 1fr; }
    .pillars__list li:nth-child(3) { border-left: 0; padding-left: 0; }
    .pillars__list li:nth-child(n+3) { border-top: 1px solid var(--line-ink); }
}
@media (max-width: 600px) {
    .pillars__list { grid-template-columns: 1fr; }
    .pillars__list li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-ink); }
}

.bio-books { padding: var(--section) 0; background: var(--paper); }
.bio-books__grid { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.bio-books__title { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 1.6rem; }
.bio-books__title em { color: var(--clay); }
.bio-book { display: flex; flex-direction: column; text-decoration: none; }
.bio-book__cover { display: block; margin-bottom: 1.6rem; box-shadow: 0 34px 50px -26px rgba(40, 30, 15, .55); transition: transform .7s var(--ease); }
.bio-book:hover .bio-book__cover { transform: translateY(-8px) rotate(-1deg); }
.bio-book__cover img { width: 100%; }
.bio-book .eyebrow { margin-bottom: .6rem; }
.bio-book__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: .6rem; }
.bio-book__text { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .bio-books__grid { grid-template-columns: 1fr 1fr; } .bio-books__intro { grid-column: 1 / -1; } }

/* ---------- Contact & forms ---------- */
.contact { padding: var(--section) 0; background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: start; }
.contact__aside { grid-column: 1 / span 4; position: sticky; top: 110px; }
.contact__aside p { color: var(--muted); }
.contact__aside-title { font-size: clamp(1.5rem, 2vw, 1.9rem); margin-bottom: 1.4rem; }
.contact__email { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); text-decoration: none; border-bottom: 1px solid var(--clay); padding-bottom: .2rem; word-break: break-all; }
.contact__email .icon { color: var(--clay); }
.contact__aside-small { font-size: .9rem; margin-bottom: .4rem; }
.steps { counter-reset: s; margin: 1.6rem 0 0; }
.steps li { counter-increment: s; display: flex; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 700; font-size: .75rem; letter-spacing: .1em; color: var(--clay); padding-top: .2rem; }
.form-card { grid-column: 6 / span 7; background: var(--paper-card); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 3.5rem); scroll-margin-top: 100px; }
.form-card__title { font-size: clamp(1.5rem, 2.1vw, 1.95rem); margin-bottom: 2rem; }
@media (max-width: 1023px) {
    .contact__aside, .form-card { grid-column: 1 / -1; position: static; }
    .form-card { order: -1; }
}

.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label, .choice legend { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: .5rem; }
.req { color: var(--clay); }
.opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.field input, .field textarea {
    display: block; width: 100%; padding: .85rem 0; min-height: 48px;
    background: transparent; border: 0; border-bottom: 1px solid #bfae90; border-radius: 0;
    font-size: 1.05rem; line-height: 1.5; color: var(--text);
    transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--clay); box-shadow: 0 1px 0 var(--clay); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.has-error input, .has-error textarea { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field__error { margin-top: .5rem; font-size: .86rem; font-weight: 600; color: var(--error); }
.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice__opts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .3rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem 1.05rem; border: 1px solid #c9b898; border-radius: 2px; font-size: .9rem; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: .6rem; }
.form__note { font-size: .84rem; color: var(--muted); max-width: 40ch; }
.form__note a { color: var(--clay); }
.btn[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1.2rem 1.4rem; margin-bottom: 1.8rem; border-left: 3px solid; }
.notice:focus { outline: none; }
.notice--error { background: #f7e6e0; border-color: var(--error); color: #5e1a10; }
.notice--success { background: #e8eddf; border-color: var(--ok); padding: 2rem; margin: 0; }
.notice--success h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }
.notice--success p { color: var(--muted); margin-bottom: 1.4rem; }

/* ---------- Legal ---------- */
.legal { padding: var(--section) 0; background: var(--paper); }
.legal__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; }
.legal__updated { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal .prose { color: var(--text); }
@media (max-width: 860px) { .legal__grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.not-found { min-height: 88svh; display: flex; align-items: center; }
.not-found__inner { position: relative; }
.not-found__code { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: -1; font-family: var(--serif); font-size: clamp(7rem, 22vw, 18rem); font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(210, 154, 69, .35); }
.not-found__links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }

/* ---------- Narrow screens: 12-column grids collapse (their gaps alone would overflow) ---------- */
@media (max-width: 1023px) {
    .hero__grid, .feature__grid, .author__grid, .connect__grid, .library__item,
    .book-hero__grid, .book-body__grid, .jacket__grid, .bio__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Motion: initial hidden states only while the intro runs ---------- */
@media (prefers-reduced-motion: no-preference) {
    .anim [data-hero], .anim [data-hero-book], .anim [data-hero-arch] { opacity: 0; }
    .anim [data-hero-words] .w__i { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
