/* ==========================================================================
   ALCHEMICAL MIND — Landing page design system
   Palette derived directly from the printed cover:
   parchment ground, rust-terracotta title, antique gold rules, ink brown text.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Ground */
    --parchment:        #F5EEE1;
    --parchment-deep:   #EFE6D5;
    --parchment-edge:   #E3D7BF;

    /* Ink */
    --ink:              #241E18;
    --ink-soft:         #453A2F;
    --ink-mute:         #6B5C4B;

    /* Accents (from the cover artwork) */
    --rust:             #9B3316;
    --rust-deep:        #7C2711;
    --rust-glow:        #C2551F;
    --gold:             #B8934C;
    --gold-soft:        #D3BC8D;
    --gold-deep:        #94742F;
    --teal:             #2C4453;
    --violet:           #7A6A94;

    /* Typography */
    --font-display: 'Cinzel', 'Trajan Pro', Constantia, Georgia, serif;
    --font-body:    'EB Garamond', 'Palatino Linotype', Palatino, Georgia, serif;

    /* Fluid type scale */
    --fs-eyebrow:  clamp(0.70rem, 0.68rem + 0.10vw, 0.78rem);
    --fs-small:    clamp(0.94rem, 0.92rem + 0.12vw, 1.02rem);
    --fs-body:     clamp(1.10rem, 1.05rem + 0.24vw, 1.28rem);
    --fs-lead:     clamp(1.24rem, 1.14rem + 0.46vw, 1.56rem);
    --fs-h3:       clamp(1.55rem, 1.38rem + 0.80vw, 2.10rem);
    --fs-h2:       clamp(2.00rem, 1.68rem + 1.50vw, 3.10rem);
    --fs-h1:       clamp(2.85rem, 2.10rem + 3.40vw, 5.40rem);
    --fs-quote:    clamp(1.45rem, 1.16rem + 1.35vw, 2.45rem);

    /* Space */
    --sp-3xs: 0.25rem;
    --sp-2xs: 0.5rem;
    --sp-xs:  0.75rem;
    --sp-s:   1rem;
    --sp-m:   1.5rem;
    --sp-l:   2.25rem;
    --sp-xl:  clamp(2.75rem, 2.3rem + 2.2vw, 4rem);
    --sp-2xl: clamp(4rem, 3.2rem + 3.8vw, 6.5rem);
    --sp-3xl: clamp(5.5rem, 4.2rem + 6.0vw, 9.5rem);

    /* Structure */
    --measure: 62ch;
    --container: 1220px;
    --container-narrow: 780px;
    --nav-h: 68px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 260ms var(--ease);
    --t-mid:  520ms var(--ease);
    --t-slow: 700ms var(--ease);

    /* Elevation — warm, never grey */
    --shadow-sm: 0 1px 2px rgba(60, 40, 20, 0.06), 0 4px 12px rgba(60, 40, 20, 0.05);
    --shadow-md: 0 2px 4px rgba(60, 40, 20, 0.07), 0 14px 34px rgba(60, 40, 20, 0.10);
    --shadow-lg: 0 4px 8px rgba(60, 40, 20, 0.08), 0 30px 70px rgba(60, 40, 20, 0.18);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--parchment);
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.68;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-variant-numeric: oldstyle-nums;
}

/* NB: no fixed decorative overlay here on purpose — it sat between the page
   background and the content, which broke `mix-blend-mode` colour matching
   for the pillar sigils. Warmth comes from the palette itself. */

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

a { color: var(--rust); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-deep); }

:focus-visible {
    outline: 2px solid var(--rust);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection { background: var(--gold-soft); color: var(--ink); }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -120%);
    z-index: 200;
    background: var(--rust); color: var(--parchment);
    padding: 0.7rem 1.4rem;
    font-family: var(--font-display); font-size: 0.8rem;
    letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
    transition: transform var(--t-fast);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--parchment); }

/* --------------------------------------------------------------------------
   3. Typography primitives
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
    color: var(--ink);
    text-wrap: balance;
    letter-spacing: -0.005em;
}

.eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: var(--sp-s);
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.prose { max-width: var(--measure); text-wrap: pretty; }
.prose p + p { margin-top: var(--sp-s); }

.center { text-align: center; }
.center .prose { margin-inline: auto; }

.drop-cap::first-letter {
    float: left;
    font-family: var(--font-display);
    font-size: 3.6em;
    line-height: 0.82;
    padding: 0.06em 0.12em 0 0;
    color: var(--rust);
}

/* Ornamental rule: ——— ✦ ——— */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-s);
    margin-inline: auto;
    width: min(320px, 60%);
    color: var(--gold);
}
.ornament::before, .ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, currentColor, transparent);
}
.ornament span { font-size: 0.7rem; letter-spacing: 0.4em; line-height: 1; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    position: relative;
    z-index: 1;
}
.container--narrow { max-width: var(--container-narrow); }

section { position: relative; }
.section { padding-block: var(--sp-3xl); }
.section--tight { padding-block: var(--sp-2xl); }
.section--deep { background-color: var(--parchment-deep); }

.section-head { margin-bottom: var(--sp-xl); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .ornament { margin-top: var(--sp-m); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--rust);
    --btn-fg: #FBF6EC;
    --btn-bd: var(--rust);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 0.95em 2.1em;
    background-color: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: clamp(0.78rem, 0.75rem + 0.14vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--t-fast), border-color var(--t-fast),
                color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn:hover {
    background-color: var(--rust-deep);
    border-color: var(--rust-deep);
    color: var(--btn-fg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-bd: var(--gold);
}
.btn--ghost:hover {
    background-color: rgba(184, 147, 76, 0.14);
    border-color: var(--gold-deep);
    color: var(--ink);
}

.btn--small { padding: 0.7em 1.3em; font-size: 0.72rem; letter-spacing: 0.12em; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-s) var(--sp-l);
    align-items: center;
}
.center .btn-row { justify-content: center; }

/* Quiet inline "text link with arrow" */
.link-arrow {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45em;
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-deep);
    border-bottom: 1px solid rgba(184, 147, 76, 0.5);
    padding-bottom: 0.25em;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.link-arrow span { transition: transform var(--t-fast); }
.link-arrow:hover { color: var(--rust); border-color: var(--rust); }
.link-arrow:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(to right, var(--gold), var(--rust));
    z-index: 120;
    pointer-events: none;
}

.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 110;
    display: flex;
    align-items: center;
    background-color: rgba(245, 238, 225, 0);
    border-bottom: 1px solid transparent;
    transition: background-color var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}
.site-nav.is-stuck {
    background-color: rgba(245, 238, 225, 0.92);
    backdrop-filter: saturate(120%) blur(10px);
    -webkit-backdrop-filter: saturate(120%) blur(10px);
    border-bottom-color: rgba(184, 147, 76, 0.38);
    box-shadow: 0 1px 20px rgba(60, 40, 20, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-m);
    width: 100%;
}

.wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(0.82rem, 0.78rem + 0.20vw, 0.95rem);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--rust);
    text-decoration: none;
    white-space: nowrap;
}
.wordmark:hover { color: var(--rust-deep); }

.nav-links {
    display: none;
    align-items: center;
    gap: clamp(1.1rem, 2.2vw, 2.2rem);
    list-style: none;
}
.nav-links a {
    font-family: var(--font-display);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    text-decoration: none;
    padding-block: 0.4rem;
    border-bottom: 1px solid transparent;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--rust); border-bottom-color: var(--gold); }

@media (min-width: 900px) {
    .nav-links { display: flex; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: calc(var(--nav-h) + var(--sp-2xl));
    padding-bottom: var(--sp-2xl);
    overflow: hidden;
    isolation: isolate;
}

.hero-veil {
    position: absolute;
    inset: -10% -5% auto -5%;
    width: 110%;
    height: 120%;
    object-fit: cover;
    opacity: 0.22;
    z-index: -1;
    object-position: 62% 50%;
    mask-image: radial-gradient(ellipse 62% 58% at 56% 46%, #000 5%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse 62% 58% at 56% 46%, #000 5%, transparent 68%);
}

.hero-grid {
    display: grid;
    gap: var(--sp-xl);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: clamp(2.5rem, 5vw, 5rem);
    }
}

.hero-title {
    font-size: var(--fs-h1);
    line-height: 0.97;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-m);
}
.hero-title em {
    font-style: normal;
    color: var(--rust);
}

.hero-sub {
    max-width: 48ch;
    margin-bottom: var(--sp-l);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.1rem;
    margin-top: var(--sp-l);
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.hero-meta li { list-style: none; display: flex; align-items: center; gap: 1.1rem; }
/* Separator leads each item after the first, so a wrapped line never
   ends on a dangling dot. */
.hero-meta li:not(:first-child)::before {
    content: "";
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex: none;
}

/* Keep the meta line on one row on small phones rather than letting a
   separator dot lead a wrapped second line. */
@media (max-width: 640px) {
    .hero-meta {
        font-size: 0.6rem;
        letter-spacing: 0.12em;
        gap: 0.4rem 0.7rem;
    }
    .hero-meta li { gap: 0.7rem; }
    .hero { padding-top: calc(var(--nav-h) + var(--sp-xl)); }
}

/* Book cover, framed like a plate in a folio */
.book-plate {
    position: relative;
    justify-self: center;
    width: min(400px, 82%);
    padding: clamp(0.8rem, 2vw, 1.4rem);
}
.book-plate::before,
.book-plate::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.book-plate::before {
    inset: 0;
    border: 1px solid rgba(184, 147, 76, 0.55);
}
.book-plate::after {
    inset: 6px;
    border: 1px solid rgba(184, 147, 76, 0.28);
}
.book-plate img {
    width: 100%;
    box-shadow: var(--shadow-lg);
    border-radius: 1px;
}
.book-plate .corner {
    position: absolute;
    width: 9px; height: 9px;
    color: var(--gold);
}
.book-plate .corner::before,
.book-plate .corner::after {
    content: "";
    position: absolute;
    background: currentColor;
}
.book-plate .corner::before { width: 9px; height: 1px; top: 0; left: 0; }
.book-plate .corner::after  { width: 1px; height: 9px; top: 0; left: 0; }
.book-plate .corner.tl { top: -1px; left: -1px; }
.book-plate .corner.tr { top: -1px; right: -1px; transform: scaleX(-1); }
.book-plate .corner.bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.book-plate .corner.br { bottom: -1px; right: -1px; transform: scale(-1); }

/* --------------------------------------------------------------------------
   8. Quote band
   -------------------------------------------------------------------------- */
.quote-band {
    background-color: var(--teal);
    color: #EFE6D5;
    padding-block: var(--sp-2xl);
    text-align: center;
}
.quote-band blockquote {
    font-family: var(--font-body);
    font-size: var(--fs-quote);
    font-style: italic;
    line-height: 1.34;
    max-width: 24ch;
    margin-inline: auto;
    text-wrap: balance;
    color: #F5EEE1;
}
.quote-band .attribution {
    display: block;
    margin-top: var(--sp-m);
    font-family: var(--font-display);
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-soft);
}
.quote-band .ornament { color: rgba(211, 188, 141, 0.7); margin-bottom: var(--sp-l); }

/* --------------------------------------------------------------------------
   9. Pillars
   -------------------------------------------------------------------------- */
.pillars {
    display: grid;
    gap: var(--sp-xl);
    margin-top: var(--sp-xl);
}
@media (min-width: 760px) {
    .pillars { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
}

/* The parchment fill is what `mix-blend-mode: darken` on the sigil blends
   against — .container opens a stacking context, so without it the sigil
   has no backdrop and its painted ground shows as a pale tile. */
.pillar {
    text-align: center;
    position: relative;
    background-color: var(--parchment);
}
@media (min-width: 760px) {
    .pillar:not(:first-child)::before {
        content: "";
        position: absolute;
        left: calc(-1 * clamp(0.75rem, 1.5vw, 1.5rem));
        top: 12%;
        bottom: 12%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(184, 147, 76, 0.45), transparent);
    }
}

/* The engraved sigils are drawn on a parchment ground; a radial mask lets
   their edges dissolve into the page instead of showing as a hard tile. */
.pillar-sigil {
    width: clamp(122px, 14vw, 158px);
    height: clamp(122px, 14vw, 158px);
    display: block;
    margin-inline: auto;
    margin-bottom: var(--sp-xs);
    object-fit: cover;
    /* `darken` keeps the engraving and discards the plate's pale ground
       against the parchment fill on .pillar above. */
    mix-blend-mode: darken;
    /* The plate ground is a touch darker than the page; a 7% lift puts it
       just above the parchment so `darken` drops it and keeps the engraving. */
    filter: brightness(1.07) saturate(0.95) contrast(1.02);
    mask-image: radial-gradient(circle at 50% 50%, #000 66%, transparent 86%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 66%, transparent 86%);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.pillar-sigil[src*="typology"] {
    transform: scale(0.85);
}

.pillar-sigil[src*="wisdom"] {
    transform: scale(1.18);
}


.pillar h3 {
    font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.2rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: var(--sp-2xs);
    color: var(--rust);
}
.pillar p {
    font-size: var(--fs-small);
    color: var(--ink-mute);
    max-width: 34ch;
    margin-inline: auto;
    text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   10. Volumes
   -------------------------------------------------------------------------- */
.volume {
    display: grid;
    gap: var(--sp-l);
    align-items: center;
    margin-bottom: var(--sp-3xl);
}
.volume:last-of-type { margin-bottom: 0; }

@media (min-width: 860px) {
    .volume {
        grid-template-columns: 1.15fr 1fr;
        gap: clamp(2.5rem, 5vw, 5.5rem);
    }
    .volume--flip .volume-figure { order: 2; }
    .volume--flip .volume-body   { order: 1; }
}

.volume-figure {
    position: relative;
    margin: 0;
    padding: clamp(0.5rem, 1.2vw, 0.9rem);
    background: var(--parchment);
    border: 1px solid rgba(184, 147, 76, 0.4);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--t-mid), border-color var(--t-mid);
}
.volume-figure:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
/* Shown whole, parchment margin and all — the plates are meant to read as
   pages from the book, not as full-bleed photography. */
.volume-crop {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.volume-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volume-figure figcaption {
    margin-top: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.volume-numeral {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 1.8rem + 1.9vw, 3.2rem);
    line-height: 1;
    color: var(--gold-deep);
    margin-bottom: var(--sp-xs);
    letter-spacing: 0.04em;
}
.volume-numeral::after {
    content: "";
    height: 1px;
    width: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(to right, var(--gold), transparent);
}
.volume-body h3 {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-s);
}
.volume-body p { color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }

.volume-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: var(--sp-m);
    list-style: none;
}
.volume-tags li {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border: 1px solid rgba(184, 147, 76, 0.65);
    padding: 0.45em 0.9em;
    border-radius: 999px;
    background: rgba(184, 147, 76, 0.10);
}

/* --------------------------------------------------------------------------
   11. The Sixteen
   -------------------------------------------------------------------------- */
.sixteen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: var(--sp-xl);
    background: rgba(184, 147, 76, 0.4);
    border: 1px solid rgba(184, 147, 76, 0.4);
}
@media (min-width: 620px) { .sixteen-grid { grid-template-columns: repeat(4, 1fr); } }

.type-cell {
    background: var(--parchment);
    padding: clamp(0.9rem, 2.2vw, 1.6rem) 0.5rem;
    text-align: center;
    transition: background-color var(--t-fast), color var(--t-fast);
}
.type-cell:hover { background: var(--parchment-edge); }

.type-code {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.95rem, 0.88rem + 0.34vw, 1.2rem);
    letter-spacing: 0.10em;
    color: var(--ink);
    line-height: 1.1;
}
.type-cell:hover .type-code { color: var(--rust); }
.type-fn {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.74rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: var(--ink-mute);
    font-style: italic;
}

.sixteen-note {
    margin-top: var(--sp-m);
    font-size: var(--fs-small);
    color: var(--ink-mute);
    text-align: center;
    font-style: italic;
}

.sixteen-layout { display: grid; gap: var(--sp-xl); align-items: center; }
@media (min-width: 900px) {
    .sixteen-layout { grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
}
.sixteen-plate {
    margin: 0;
    padding: clamp(0.5rem, 1.2vw, 0.9rem);
    border: 1px solid rgba(184, 147, 76, 0.4);
    background: var(--parchment);
    box-shadow: var(--shadow-md);
}
.sixteen-plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* --------------------------------------------------------------------------
   12. Readership
   -------------------------------------------------------------------------- */
.reader-cards {
    display: grid;
    gap: var(--sp-m);
    margin-top: var(--sp-xl);
}
@media (min-width: 760px) { .reader-cards { grid-template-columns: repeat(2, 1fr); gap: var(--sp-l); } }

.reader-card {
    background: var(--parchment);
    border: 1px solid rgba(184, 147, 76, 0.4);
    padding: clamp(1.5rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.reader-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.reader-card h3 {
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: var(--sp-xs);
}
.reader-card p { font-size: var(--fs-small); color: var(--ink-mute); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   13. Authors
   -------------------------------------------------------------------------- */
.authors {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: var(--sp-3xl);
}
.authors-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 20% 50%;
    z-index: -2;
    /* Feather the top and bottom so the band melts into the parchment
       instead of butting against it with a hard seam. */
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 84%, transparent 100%);
}
.authors::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg,
        rgba(245, 238, 225, 0.28) 0%,
        rgba(245, 238, 225, 0.80) 30%,
        rgba(245, 238, 225, 1) 54%);
}
@media (max-width: 860px) {
    .authors::after {
        background: linear-gradient(180deg,
            rgba(245, 238, 225, 0.60) 0%,
            rgba(245, 238, 225, 0.97) 38%);
    }
}
.authors-body { margin-left: auto; max-width: 620px; }
.authors-body h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-m); }

.author-names {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-s) var(--sp-l);
    margin-top: var(--sp-l);
    padding-top: var(--sp-m);
    border-top: 1px solid rgba(184, 147, 76, 0.45);
    list-style: none;
}
.author-names li {
    font-family: var(--font-display);
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   14. Call to action
   -------------------------------------------------------------------------- */
.cta {
    background: var(--parchment-deep);
    border-top: 1px solid rgba(184, 147, 76, 0.35);
    border-bottom: 1px solid rgba(184, 147, 76, 0.35);
    padding-block: var(--sp-3xl);
    text-align: center;
}
.cta h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-m); }
.cta .lead { max-width: 52ch; margin-inline: auto; margin-bottom: var(--sp-l); }
.cta .btn-row { margin-bottom: var(--sp-m); }
.cta-fineprint {
    font-size: 0.85rem;
    color: var(--ink-mute);
    font-style: italic;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--parchment);
    padding-block: var(--sp-xl);
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--sp-s);
    align-items: center;
    text-align: center;
}
@media (min-width: 760px) {
    .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-links { display: flex; gap: var(--sp-m); list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a {
    color: var(--ink-mute);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--rust); }

/* --------------------------------------------------------------------------
   16. Motion
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity var(--t-slow), transform var(--t-slow);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .btn:hover, .reader-card:hover { transform: none; }
}

/* Print — the page should read like a proper page */
@media print {
    .site-nav, .progress-bar, .hero-veil, .authors-bg { display: none !important; }
    body { background: #fff; color: #000; }
    .reveal { opacity: 1; transform: none; }
}
