/* ==========================================================================
   Jaimee Johnson — Author Website
   Palette drawn from the Popular cover: night-plum sky, Glinda pink,
   blossom blush and the gold of the Unveiling Oz crest.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-normal-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url("../fonts/jost-normal-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
    --ink: #140b11;
    --ink-2: #1d1018;
    --ink-3: #0d070b;
    --wine: #3a1426;
    --wine-2: #561d38;
    --rose: #e0669f;
    --rose-strong: #c13f7c;
    --rose-deep: #9b2a60;
    --blush: #f4c6d7;
    --petal: #fbeaf0;
    --gold: #d8ab5a;
    --gold-light: #f0d49a;
    --cream: #f8f1ec;
    --paper: #fffaf7;

    --text-dark: #2a1720;
    --muted-dark: #6b5560;
    --text-light: #f3e8ec;
    --muted-light: #c3aeb8;
    --line-light: rgba(216, 171, 90, 0.28);
    --line-dark: rgba(58, 20, 38, 0.14);

    --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
    --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

    --gutter: clamp(16px, 4vw, 40px);
    --max: 1200px;
    --section-y: clamp(84px, 11vw, 150px);
    --header-h: 84px;
    --radius: 2px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-book: 0 2px 4px rgba(0, 0, 0, 0.25), 0 18px 40px -10px rgba(0, 0, 0, 0.55), 0 40px 90px -30px rgba(193, 63, 124, 0.45);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 76px;
}
body {
    margin: 0;
    background: var(--ink);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.08; }
button, input, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
main { display: block; outline: none; }
::selection { background: var(--rose-strong); color: #fff; }

:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}
.section-light :focus-visible, .section-blush :focus-visible { outline-color: var(--rose-deep); }

.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: -60px; z-index: 200;
    padding: 0.7rem 1.1rem;
    background: var(--gold-light); color: var(--ink);
    font-weight: 500; text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
    width: min(var(--max), 100% - var(--gutter) * 2);
    margin-inline: auto;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.9rem;
    margin: 0 0 1.25rem;
    font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold-light);
}
.eyebrow-line { width: 42px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--dark { color: var(--rose-deep); }
.eyebrow--center { justify-content: center; }

.section-title {
    font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);
    color: var(--wine);
    letter-spacing: -0.01em;
    margin-bottom: 1.6rem;
}
.section-title--light { color: var(--text-light); }

.prose p { color: var(--muted-dark); }
.prose strong { color: var(--text-dark); font-weight: 500; }

.rule { border: 0; height: 1px; background: var(--line-dark); margin: 1.8rem 0; }

/* ---------- Buttons ---------- */
.btn {
    --btn-y: 0.95rem;
    --btn-x: 1.6rem;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    min-height: 48px;
    padding: var(--btn-y) var(--btn-x);
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    line-height: 1.2; text-decoration: none;
    cursor: pointer; overflow: hidden; isolation: isolate;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn .icon { transition: transform 0.45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--rose-strong), var(--rose-deep));
    color: #fff;
    box-shadow: 0 10px 30px -12px rgba(193, 63, 124, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.btn-primary:hover { box-shadow: 0 16px 38px -12px rgba(224, 102, 159, 0.85), inset 0 0 0 1px rgba(240, 212, 154, 0.5); }

.btn-ghost {
    border-color: rgba(243, 232, 236, 0.4);
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(255, 255, 255, 0.06); }

.btn-outline { border-color: rgba(58, 20, 38, 0.35); color: var(--wine); }
.btn-outline:hover { border-color: var(--rose-deep); color: var(--rose-deep); background: rgba(193, 63, 124, 0.05); }

.btn-lg { --btn-y: 1.1rem; --btn-x: 2rem; min-height: 54px; }
.btn-sm { --btn-y: 0.6rem; --btn-x: 1.05rem; min-height: 40px; font-size: 0.7rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; margin-top: 2.2rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: height 0.5s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
}
.site-header::after {
    content: ""; position: absolute; inset: auto 0 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-light), transparent);
    opacity: 0; transition: opacity 0.5s;
}
.site-header.is-scrolled {
    --header-h: 70px;
    background: rgba(20, 11, 17, 0.86);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.7);
}
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-right: auto; }
.brand-mark {
    width: 44px; height: 44px; border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(240, 212, 154, 0.55), 0 6px 18px -6px rgba(224, 102, 159, 0.7);
    transition: transform 0.6s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-light); }
.brand-sub { margin-top: 0.3rem; font-size: 0.62rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-light); }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-link {
    position: relative; display: inline-block; padding: 0.4rem 0;
    font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
    text-decoration: none; color: var(--text-light); opacity: 0.86;
    transition: opacity 0.3s, color 0.3s;
}
.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--gold-light);
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s var(--ease);
}
.nav-link:hover, .nav-link.is-current, .nav-link.is-active { opacity: 1; color: var(--gold-light); }
.nav-link:hover::after, .nav-link.is-current::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-buy, .menu-toggle { display: none; }

.menu-toggle {
    position: relative; z-index: 120;
    width: 48px; height: 48px; padding: 0;
    border: 1px solid rgba(240, 212, 154, 0.35); border-radius: 50%;
    background: transparent; cursor: pointer;
    align-items: center; justify-content: center;
}
.menu-bars { position: relative; width: 20px; height: 10px; }
.menu-bars span {
    position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text-light);
    transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-bars span:first-child { top: 0; }
.menu-bars span:last-child { top: 8.5px; }
.menu-open .menu-bars span:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-bars span:last-child { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
    .header-buy, .menu-toggle { display: inline-flex; }
    .primary-nav {
        position: fixed; inset: 0; z-index: 110;
        flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.5rem;
        padding: 110px calc(var(--gutter) + 8px) 48px;
        background:
            radial-gradient(60% 40% at 85% 10%, rgba(193, 63, 124, 0.28), transparent 70%),
            radial-gradient(50% 40% at 0% 100%, rgba(216, 171, 90, 0.16), transparent 70%),
            var(--ink);
        overflow-y: auto;
        visibility: hidden; opacity: 0;
        transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
    }
    .menu-open .primary-nav { visibility: visible; opacity: 1; transition: opacity 0.45s var(--ease); }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .nav-link {
        font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.8rem);
        font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none;
        opacity: 1;
        transform: translateY(14px);
        transition: transform 0.6s var(--ease), color 0.3s;
    }
    .menu-open .nav-link { transform: none; }
    .menu-open .nav-list li:nth-child(2) .nav-link { transition-delay: 0.04s; }
    .menu-open .nav-list li:nth-child(3) .nav-link { transition-delay: 0.08s; }
    .menu-open .nav-list li:nth-child(4) .nav-link { transition-delay: 0.12s; }
    .menu-open .nav-list li:nth-child(5) .nav-link { transition-delay: 0.16s; }
    .menu-open { overflow: hidden; }
}
@media (max-width: 480px) {
    .header-buy { display: none; }
    .brand-name { font-size: 1.3rem; }
    .brand-mark { width: 40px; height: 40px; }
}

/* ---------- Shared dark backdrop ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-glow--rose {
    width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax;
    background: radial-gradient(closest-side, rgba(193, 63, 124, 0.42), rgba(86, 29, 56, 0.2) 55%, transparent);
}
.hero-glow--gold {
    width: 60vmax; height: 60vmax; left: -25vmax; bottom: -30vmax;
    background: radial-gradient(closest-side, rgba(216, 171, 90, 0.2), transparent 70%);
}
.hero-stars {
    position: absolute; inset: 0; opacity: 0.55;
    background-image:
        radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 32% 68%, rgba(240, 212, 154, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 58% 14%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 76% 44%, rgba(244, 198, 215, 0.8), transparent),
        radial-gradient(1px 1px at 88% 82%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 6% 88%, rgba(240, 212, 154, 0.6), transparent),
        radial-gradient(1px 1px at 46% 92%, rgba(255, 255, 255, 0.5), transparent);
    background-size: 420px 420px;
}
.petals { position: absolute; inset: 0; }
.petal {
    position: absolute; top: -40px; left: 0;
    width: 14px; height: 11px;
    border-radius: 150% 0 150% 0;
    background: linear-gradient(135deg, #fbd3e2, #e0669f 70%);
    opacity: 0.85;
    will-change: transform;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 40px) 0 90px;
    background:
        linear-gradient(180deg, rgba(13, 7, 11, 0) 70%, var(--ink) 100%),
        radial-gradient(120% 90% at 50% 0%, #2a1220 0%, var(--ink) 65%);
    overflow: hidden;
}
.hero-grid {
    position: relative;
    display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}
.hero-title {
    font-size: clamp(4.4rem, 2rem + 10vw, 10.5rem);
    font-style: italic; font-weight: 500;
    line-height: 0.92; letter-spacing: -0.02em;
    margin: 0 0 1.4rem -0.04em;
    padding-bottom: 0.08em;
    color: var(--blush);
    background: linear-gradient(100deg, var(--petal) 0%, var(--blush) 30%, var(--rose) 62%, var(--gold-light) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-series {
    font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted-light); margin-bottom: 1.6rem;
}
.hero-series strong { color: var(--gold-light); font-weight: 500; }
.hero-lead {
    max-width: 30ch;
    font-family: var(--font-display); font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem);
    font-style: italic; line-height: 1.35; color: var(--text-light);
}

.hero-stage {
    position: relative;
    display: grid; place-items: center;
    aspect-ratio: 1 / 1.08;
}
.hero-orb {
    position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.16), transparent 32%),
        radial-gradient(circle at 50% 55%, rgba(244, 198, 215, 0.2), rgba(193, 63, 124, 0.1) 55%, rgba(20, 11, 17, 0) 72%);
    box-shadow: inset 0 0 0 1px rgba(240, 212, 154, 0.35), inset 0 0 60px rgba(244, 198, 215, 0.15), 0 0 120px -20px rgba(224, 102, 159, 0.45);
}
.hero-orb::before {
    content: ""; position: absolute; inset: -5%; border-radius: 50%;
    border: 1px dashed rgba(240, 212, 154, 0.22);
}
.book-3d {
    position: relative; z-index: 2;
    width: clamp(210px, 28vw, 380px);
    perspective: 1400px;
}
.book-3d .book-cover {
    width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
    transform: rotateY(-14deg) rotateX(2deg);
    transform-origin: left center;
    border-radius: 1px 4px 4px 1px;
    box-shadow: var(--shadow-book);
    transition: transform 1s var(--ease);
}
.hero-stage:hover .book-3d .book-cover { transform: rotateY(-6deg) rotateX(1deg); }
.book-3d::after {
    /* spine highlight */
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 7%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.25) 60%, transparent);
    transform: rotateY(-14deg); transform-origin: left center;
    pointer-events: none;
}
.hero-branch { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35)); }
.hero-branch--a { width: 26%; left: -2%; top: -6%; transform: rotate(-18deg); }
.hero-branch--b { width: 22%; right: 0; bottom: -4%; z-index: 3; transform: rotate(14deg); }

.scroll-cue {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    display: grid; place-items: center; width: 44px; height: 64px;
}
.scroll-cue-line {
    width: 1px; height: 48px;
    background: linear-gradient(180deg, transparent, var(--gold-light));
    animation: cue 2.4s var(--ease) infinite;
    transform-origin: top;
}
@keyframes cue {
    0% { transform: scaleY(0); opacity: 1; }
    60% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 900px) {
    .hero { padding-top: calc(var(--header-h) + 24px); padding-bottom: 110px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { order: 2; }
    .hero-stage { order: 1; width: min(400px, 78%); margin-inline: auto; aspect-ratio: 1 / 1; }
    .book-3d { width: 54%; }
    .hero-lead { margin-inline: auto; }
    .hero .btn-row { justify-content: center; }
    .hero .eyebrow { justify-content: center; }
    .scroll-cue { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.section-light {
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(244, 198, 215, 0.45), transparent 70%),
        var(--cream);
    color: var(--text-dark);
}
.section-blush {
    background: linear-gradient(180deg, #f8e4eb 0%, var(--petal) 100%);
    color: var(--text-dark);
}
.section-dark { background: var(--ink); color: var(--text-light); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; }

/* ---------- About the book ---------- */
.book-grid {
    display: grid; grid-template-columns: 0.82fr 1.18fr; align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}
.book-visual { position: relative; justify-self: center; width: min(440px, 100%); }
.book-frame { position: relative; }
.book-frame::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px;
    border: 1px solid rgba(216, 171, 90, 0.7);
}
.book-frame .book-cover {
    position: relative; width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
    box-shadow: var(--shadow-book);
    transition: transform 0.9s var(--ease);
}
.book-visual:hover .book-cover { transform: translate(-6px, -6px); }
.book-caption {
    margin: 3rem 0 0; text-align: center;
    font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-dark);
}
.book-hook {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem);
    line-height: 1.3; color: var(--rose-deep);
    margin-bottom: 1.6rem; max-width: 30ch;
}
.book-facts {
    display: flex; flex-wrap: wrap; gap: 0;
    margin: 2rem 0 0; padding: 1.2rem 0;
    border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.book-facts div { padding: 0 1.6rem; border-left: 1px solid var(--line-dark); }
.book-facts div:first-child { padding-left: 0; border-left: 0; }
.book-facts dt { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); }
.book-facts dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--wine); }

.deco-branch { position: absolute; pointer-events: none; opacity: 0.9; }
.deco-branch--book { width: clamp(90px, 11vw, 160px); right: -18px; top: 6%; transform: rotate(-10deg); }

@media (max-width: 900px) {
    .book-grid { grid-template-columns: 1fr; }
    .book-visual { width: min(330px, 78%); }
    .deco-branch--book { opacity: 0.35; }
}
@media (max-width: 520px) {
    .book-facts div { padding: 0 1rem; }
    .book-facts dd { font-size: 1.15rem; }
}

/* ---------- Series ---------- */
.series-section {
    background: linear-gradient(180deg, var(--ink) 0%, #23101b 45%, var(--ink) 100%);
}
.series-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(40% 40% at 15% 20%, rgba(216, 171, 90, 0.12), transparent 70%),
        radial-gradient(50% 50% at 90% 70%, rgba(193, 63, 124, 0.16), transparent 70%);
}
.series-head {
    position: relative;
    display: grid; grid-template-columns: minmax(180px, 280px) 1fr; align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.series-crest { width: 100%; filter: drop-shadow(0 20px 40px rgba(216, 171, 90, 0.18)); }
.series-head .section-title { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); max-width: 20ch; }
.series-line { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); color: var(--blush); margin: 0; }

.jacket { position: relative; margin: 0; }
.jacket > img {
    width: 100%; aspect-ratio: 1600 / 1124; object-fit: cover;
    box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-light);
}
.jacket figcaption {
    margin-top: 1.2rem; text-align: center;
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light);
}
@media (max-width: 760px) {
    .series-head { grid-template-columns: 1fr; text-align: center; }
    .series-crest { width: min(240px, 70%); margin-inline: auto; }
    .series-head .section-title { margin-inline: auto; }
    .series-head .eyebrow { justify-content: center; }
}

/* ---------- Author ---------- */
.author-grid {
    display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}
.author-visual { position: relative; width: min(500px, 100%); justify-self: center; }
.author-frame {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    border-radius: 999px 999px 0 0;
    box-shadow: 0 40px 80px -40px rgba(58, 20, 38, 0.55);
}
.author-frame img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; }
.author-visual::before {
    content: ""; position: absolute; inset: -18px -18px 18px 18px;
    border: 1px solid rgba(155, 42, 96, 0.35);
    border-radius: 999px 999px 0 0;
}
.author-monogram {
    position: absolute; right: -14px; bottom: 36px; z-index: 2;
    width: clamp(72px, 9vw, 96px); height: auto; border-radius: 50%;
    box-shadow: 0 0 0 6px var(--petal), 0 14px 30px -10px rgba(58, 20, 38, 0.5);
}
.author-lead {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.25;
    color: var(--rose-deep); margin-bottom: 1.6rem; max-width: 24ch;
}
.signature {
    margin: 2rem 0 0;
    font-family: var(--font-display); font-style: italic; font-size: 1.9rem;
    color: var(--wine);
}
.signature::before { content: ""; display: block; width: 56px; height: 1px; background: var(--gold); margin-bottom: 1.2rem; }
@media (max-width: 900px) {
    .author-grid { grid-template-columns: 1fr; }
    .author-visual { width: min(400px, 84%); }
}

/* ---------- Reviews ---------- */
.reviews-section {
    background:
        radial-gradient(50% 60% at 50% 0%, rgba(193, 63, 124, 0.2), transparent 70%),
        var(--ink);
}
.reviews-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review figure {
    position: relative; height: 100%; margin: 0;
    display: flex; flex-direction: column;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--line-light);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
    transition: border-color 0.5s, transform 0.6s var(--ease);
}
.review figure:hover { border-color: rgba(240, 212, 154, 0.55); }
.review-mark {
    font-family: var(--font-display); font-size: 5.5rem; line-height: 0.6;
    color: var(--rose); height: 2.2rem;
}
.review blockquote { margin: 0 0 2rem; flex: 1; }
.review blockquote p {
    margin: 0;
    font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem);
    font-style: italic; line-height: 1.5; color: var(--text-light);
}
.review figcaption { display: flex; align-items: center; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(240, 212, 154, 0.16); }
.review figcaption strong { display: block; font-weight: 500; letter-spacing: 0.04em; }
.review-avatar {
    display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%;
    background: linear-gradient(135deg, var(--wine-2), var(--rose-deep));
    box-shadow: 0 0 0 1px rgba(240, 212, 154, 0.45);
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.04em; color: var(--petal);
}
.review-role { display: block; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); }

/* Slider mode (enabled by JS) */
.reviews.is-slider { --per-view: 2; }
.reviews.is-slider .reviews-viewport { overflow: hidden; padding: 4px; margin: -4px; }
.reviews.is-slider .reviews-track {
    display: flex; gap: 24px;
    transition: transform 0.9s var(--ease);
}
.reviews.is-slider .review { flex: 0 0 calc((100% - 24px * (var(--per-view) - 1)) / var(--per-view)); }
.reviews.is-slider .review:not(.is-visible) figure { opacity: 0.45; }
.reviews.is-slider .review figure { transition: opacity 0.6s, border-color 0.5s; }
@media (max-width: 860px) {
    .reviews-track { grid-template-columns: 1fr; }
    .reviews.is-slider { --per-view: 1; }
}
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.6rem; }
.reviews-controls[hidden] { display: none; }
.slider-btn {
    display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
    border: 1px solid var(--line-light); border-radius: 50%;
    background: transparent; color: var(--text-light); cursor: pointer;
    transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.slider-btn:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(255, 255, 255, 0.04); }
.slider-dots { display: flex; gap: 2px; }
.slider-dot {
    width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer;
    display: grid; place-items: center;
}
.slider-dot::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: rgba(243, 232, 236, 0.3);
    transition: width 0.5s var(--ease), background-color 0.3s, border-radius 0.5s;
}
.slider-dot[aria-current="true"]::before { width: 24px; border-radius: 4px; background: var(--rose); }

/* ---------- Final CTA ---------- */
.cta-section {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(110px, 15vw, 200px) 0;
    text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink-3); }
.cta-bg img {
    position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 50% 30%;
    opacity: 0.32; filter: saturate(1.15) blur(1px);
}
.cta-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(60% 70% at 50% 50%, rgba(20, 11, 17, 0.35), rgba(20, 11, 17, 0.92) 80%),
        linear-gradient(180deg, var(--ink) 0%, transparent 25%, transparent 75%, var(--ink-3) 100%);
}
.cta-inner { max-width: 820px; }
.cta-title {
    font-size: clamp(3.2rem, 1.8rem + 6vw, 7rem);
    font-style: italic; line-height: 0.98; margin-bottom: 1.6rem;
    color: var(--blush);
    background: linear-gradient(100deg, var(--petal), var(--rose) 55%, var(--gold-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    padding-bottom: 0.08em;
}
.cta-text {
    font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem);
    font-style: italic; color: var(--text-light); max-width: 40ch; margin-inline: auto;
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative; overflow: hidden;
    padding: clamp(70px, 9vw, 110px) 0 28px;
    background: var(--ink-3);
    border-top: 1px solid var(--line-light);
}
.footer-glow {
    position: absolute; left: 50%; top: -280px; transform: translateX(-50%);
    width: 900px; height: 500px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(193, 63, 124, 0.18), transparent);
    pointer-events: none;
}
.footer-top {
    position: relative; text-align: center;
    padding-bottom: clamp(3rem, 6vw, 4.5rem); margin-bottom: clamp(3rem, 6vw, 4.5rem);
    border-bottom: 1px solid rgba(240, 212, 154, 0.14);
}
.footer-kicker { margin: 0 0 0.6rem; font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-light); }
.footer-motto {
    margin: 0;
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); line-height: 1;
    color: var(--text-light);
}
.footer-grid {
    position: relative;
    display: grid; grid-template-columns: 1.25fr 0.85fr 1.45fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
}
.footer-brand img { width: 150px; margin-bottom: 1.2rem; }
.footer-name { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--text-light); }
.footer-note { color: var(--muted-light); font-size: 0.95rem; max-width: 30ch; }
.footer-heading {
    margin-bottom: 1.2rem;
    font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light);
}
.footer-links li + li { margin-top: 0.55rem; }
.footer-links a {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 32px;
    text-decoration: none; color: var(--muted-light);
    transition: color 0.3s, transform 0.4s var(--ease);
}
.footer-links a:hover { color: var(--text-light); transform: translateX(3px); }
.footer-email { font-size: 0.92rem; }
.footer-email span { overflow-wrap: anywhere; }
.footer-cta p { color: var(--muted-light); font-size: 0.95rem; }
.footer-cta .btn { margin-top: 0.4rem; }
.social-links { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social-links a {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line-light); border-radius: 50%; color: var(--text-light);
    transition: border-color 0.3s, color 0.3s;
}
.social-links a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.6rem;
    border-top: 1px solid rgba(240, 212, 154, 0.14);
    font-size: 0.85rem; color: var(--muted-light);
}
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--text-light); font-weight: 500; }
.to-top {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
    font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
    color: var(--muted-light); transition: color 0.3s;
}
.to-top:hover { color: var(--gold-light); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative; overflow: hidden;
    padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(70px, 9vw, 110px);
    background: radial-gradient(120% 100% at 50% 0%, #2a1220 0%, var(--ink) 70%);
    text-align: center;
}
.page-hero--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.page-hero-inner { position: relative; max-width: 860px; }
.page-title {
    font-size: clamp(3rem, 1.8rem + 5vw, 6rem); font-style: italic; line-height: 1;
    margin-bottom: 1.4rem;
    color: var(--blush);
    background: linear-gradient(100deg, var(--petal), var(--rose) 60%, var(--gold-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    padding-bottom: 0.08em;
}
.page-lead {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); line-height: 1.4;
    color: var(--text-light); max-width: 38ch; margin-inline: auto;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
}
.contact-aside { padding-top: 0.5rem; }
.contact-monogram { width: 140px; margin-bottom: 1.6rem; box-shadow: 0 18px 40px -20px rgba(58, 20, 38, 0.6); }
.contact-aside-title { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); color: var(--wine); margin-bottom: 1rem; }
.contact-aside p { color: var(--muted-dark); }
.contact-email {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
    color: var(--rose-deep); text-decoration: none; overflow-wrap: anywhere;
}
.contact-email:hover { text-decoration: underline; }

.contact-form-wrap {
    padding: clamp(1.6rem, 4vw, 3.2rem);
    background: var(--paper);
    border: 1px solid var(--line-dark);
    box-shadow: 0 40px 80px -50px rgba(58, 20, 38, 0.45);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; }
.field { margin-bottom: 1.5rem; }
.field label {
    display: block; margin-bottom: 0.5rem;
    font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-dark);
}
.req { color: var(--rose-deep); }
.field input, .field textarea {
    display: block; width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid #dccbd2; border-radius: var(--radius);
    background: #fff; color: var(--text-dark);
    font-size: 1rem; line-height: 1.5;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #c7aab6; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--rose-strong);
    box-shadow: 0 0 0 3px rgba(193, 63, 124, 0.18);
}
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.field-error { margin: 0.5rem 0 0; font-size: 0.88rem; color: #a32118; }
.field-error[hidden] { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.form-note { margin: 0; font-size: 0.85rem; color: var(--muted-dark); }
.form-alert {
    margin-bottom: 1.8rem; padding: 1rem 1.2rem;
    border-left: 3px solid; font-size: 0.97rem;
}
.form-alert p { margin: 0; }
.form-alert--error { border-color: #b3261e; background: #fdf0ef; color: #7d1a13; }
.form-alert--success { border-color: #2e7d4f; background: #eef8f1; color: #1e5233; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .form-footer .btn { width: 100%; }
}

/* ---------- Motion pre-states (only while GSAP is expected) ---------- */
.motion [data-hero],
.motion [data-reveal],
.motion [data-footer-item] { opacity: 0; }
.petal { display: none; }
.motion .petal { display: block; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
