/* ==========================================================================
   Leslie Howard — warm cream card-stack system
   Serif display (Cormorant Garamond / ivyora-display) + Poppins body
   ========================================================================== */

:root {
    /* Palette */
    --cream:    #eae5db;   /* light tiles, light surfaces */
    --cream-bg: #d9d4cb;   /* page background, contrast tiles */
    --dark:     #1b1815;   /* near-black, warm undertone */
    --dark-2:   #252220;   /* tile dark */
    --dark-3:   #2e2b28;   /* tile mid */
    --muted:    #8c847a;   /* secondary text, eyebrows */
    --white:    #ffffff;   /* nav, cards */
    --blush:    #f3ddd0;   /* warm accent tile */
    --line:     rgba(27, 24, 21, 0.12);

    /* Type */
    --serif: 'ivyora-display', 'Cormorant Garamond', Georgia, serif;
    --sans:  'Poppins', system-ui, -apple-system, sans-serif;

    /* Shape & rhythm */
    --gap: 12px;
    --r-section: 22px;
    --r-tile: 16px;
    --r-frame: 18px;
    --pad-x: clamp(24px, 5vw, 72px);
    --pad-y: clamp(56px, 8vw, 96px);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    color: var(--dark);
    background: var(--cream-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 300; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type primitives ---------- */
.eyebrow {
    font-family: var(--sans);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.55); }

.section-intro {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300; line-height: 1.1; letter-spacing: -0.01em;
    margin-top: 18px;
}
.divider { width: 56px; height: 1px; background: var(--line); margin: 26px 0; }
.lede { font-size: clamp(15px, 1.4vw, 17px); color: var(--muted); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--dark); color: var(--white);
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    padding: 12px 14px 12px 22px; border-radius: 26px;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { opacity: 0.82; }
.btn:active { transform: scale(0.98); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-icon {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; line-height: 1; flex-shrink: 0;
}
.btn-white .btn-icon { background: rgba(27, 24, 21, 0.10); }
.btn--plain { background: transparent; color: var(--dark); padding-left: 0; }
.btn--plain:hover { opacity: 0.6; }

.textlink { font-size: 13px; font-weight: 600; color: var(--dark); display: inline-flex; align-items: center; gap: 6px; }
.textlink::after { content: "\203A"; font-size: 16px; transition: transform 0.25s var(--ease); }
.textlink:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Navigation — floating rounded card, sticky
   ========================================================================== */
.nav {
    position: fixed; top: 48px; left: 50%; transform: translateX(-50%);
    width: min(800px, calc(100% - 24px)); z-index: 100;
    transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav.is-scrolled { top: 14px; }
.nav__inner {
    background: var(--white);
    border-radius: 6px;
    padding: 18px 37px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 8px 30px -14px rgba(0, 0, 0, 0.5);
}
.nav__brand { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0.01em; display: inline-flex; align-items: center; }
.nav__brand img { height: 24px; width: auto; display: block; }
.nav__menu { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); }
.nav__link { font-size: 12.5px; font-weight: 500; color: var(--dark); opacity: 0.7; transition: opacity 0.2s var(--ease); white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__cta { margin-left: 8px; }

.nav__checkbox, .nav__burger { display: none; }
@media (max-width: 800px) {
    .nav__cta { display: none; }
    .nav__burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 30px; cursor: pointer; }
    .nav__burger span { display: block; height: 1.5px; width: 22px; background: var(--dark); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
    .nav__menu {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--white); border-radius: 0 0 8px 8px;
        padding: 4px 22px 16px; box-shadow: 0 12px 36px -18px rgba(0,0,0,0.5);
        transform: translateY(-10px); opacity: 0; pointer-events: none;
        transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    }
    .nav__link { padding: 14px 0; font-size: 16px; opacity: 1; width: 100%; border-bottom: none; }
    .nav__divider { display: none; }
    .nav__checkbox:checked ~ .nav__menu { transform: none; opacity: 1; pointer-events: auto; }
    .nav__checkbox:checked ~ .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .nav__checkbox:checked ~ .nav__burger span:last-child  { transform: translateY(-3px) rotate(-45deg); }
}

/* ==========================================================================
   Page = flex column of rounded section cards on cream
   ========================================================================== */
.page { display: flex; flex-direction: column; gap: var(--gap); padding: var(--gap) 5%; }
.page > section { border-radius: var(--r-section); overflow: hidden; position: relative; }

.section { background: var(--cream); padding: var(--pad-y) var(--pad-x); }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--dark); color: var(--white); }
.section-head { max-width: 720px; }
.section-foot { margin-top: clamp(36px, 5vw, 56px); }

/* ==========================================================================
   1 — Dark photo hero
   ========================================================================== */
.hero-bg {
    min-height: min(90vh, 860px);
    background-color: var(--dark);
    background-size: cover; background-position: center 35%;
    display: flex; align-items: flex-end;
    color: var(--white);
}
.hero-bg::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12, 9, 7, 0.78) 0%, rgba(12, 9, 7, 0.30) 42%, rgba(12, 9, 7, 0.05) 72%);
}
.hero-bg__content { position: relative; padding: var(--pad-x); padding-bottom: clamp(40px, 6vw, 72px); max-width: 960px; }
.hero-bg__title {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(42px, 7vw, 92px); line-height: 1.04; letter-spacing: -0.01em;
    margin: 18px 0 28px; white-space: nowrap;
}
.hero-bg__title em { display: block; font-style: italic; font-weight: 300; color: rgba(255, 255, 255, 0.82); white-space: nowrap; }
.hero-bg__sub { color: rgba(255, 255, 255, 0.62); max-width: 640px; margin: 0 0 30px; font-size: 15px; }

/* ==========================================================================
   2 — 60/40 split (books, author)
   ========================================================================== */
.split {
    background: var(--cream);
    display: grid; grid-template-columns: 1.32fr 1fr;
    gap: clamp(36px, 5vw, 64px); align-items: center;
    padding: var(--pad-y) var(--pad-x);
}
.split--reverse .split__media { order: -1; }
.split__copy { max-width: 40rem; }
.split__title {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.01em;
    margin: 18px 0 0;
}
.split__title .is-bold  { font-weight: 600; }
.split__title .is-muted { color: var(--muted); }
.split__body { color: var(--muted); margin-bottom: 30px; }
.split__body p + p { margin-top: 1em; }

/* media frames */
.split__media { position: relative; border-radius: var(--r-frame); overflow: hidden; }
.split__media--book {
    background: var(--cream-bg);
    width: 100%; height: 680px;
    display: flex; align-items: center; justify-content: center;
    padding: clamp(22px, 2.5vw, 38px);
}
.split__media--book .split__img {
    width: auto; height: 100%; max-height: 600px; max-width: 100%; object-fit: contain; border-radius: 4px;
    box-shadow: 0 24px 50px -18px rgba(20, 15, 10, 0.5);
}
@media (max-width: 900px) {
    .split__media--book { height: auto; min-height: 340px; }
    .split__media--book .split__img { max-height: 58vh; height: auto; }
}
.split__media--cover { aspect-ratio: 4 / 5; }
.split__media--cover .split__img { width: 100%; height: 100%; object-fit: cover; }
.split__caption {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    font-family: var(--serif); font-style: italic; font-size: 14px;
    color: var(--dark); background: rgba(255, 255, 255, 0.82);
    padding: 5px 12px; border-radius: 20px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.split__pills { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-tag {
    font-size: 11px; font-weight: 500; color: var(--dark);
    background: rgba(255, 255, 255, 0.86); padding: 6px 13px; border-radius: 20px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ==========================================================================
   3 — Three-tile grid
   ========================================================================== */
.tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(36px, 5vw, 52px); }
.tile { border-radius: var(--r-tile); padding: clamp(28px, 3vw, 40px) clamp(26px, 3vw, 36px); }
.tile-dark  { background: var(--dark-2); color: var(--white); }
.tile-mid   { background: var(--dark-3); color: var(--white); }
.tile-light { background: var(--cream-bg); color: var(--dark); }
.tile-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; }
.tile-heading { font-family: var(--serif); font-size: clamp(20px, 2vw, 27px); font-weight: 400; margin: 14px 0 12px; line-height: 1.15; }
.tile-body { font-size: 14px; line-height: 1.7; opacity: 0.72; }

/* Image tiles */
.tile--img {
    background-size: cover; background-position: center;
    color: var(--white); padding: 0; position: relative; overflow: hidden;
    min-height: 320px; display: flex; flex-direction: column;
    text-decoration: none; cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.tile--img:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6); }
.tile--img .tile-heading { text-transform: capitalize; }
.tile__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12,9,7,0.82) 0%, rgba(12,9,7,0.55) 50%, rgba(12,9,7,0.30) 100%);
}
.tile__content {
    position: relative; z-index: 1; display: flex; flex-direction: column;
    padding: clamp(28px, 3vw, 40px) clamp(26px, 3vw, 36px);
    height: 100%; margin-top: auto;
}
.tile--img .tile-label { opacity: 0.65; }
.tile--img .tile-body  { opacity: 0.80; }

/* ==========================================================================
   4 — Dark featured quote (replaces the stats section)
   ========================================================================== */
.feature-quote { background: var(--dark); color: var(--white); padding: clamp(72px, 10vw, 130px) var(--pad-x); text-align: center; }
.feature-quote__mark { font-family: var(--serif); font-size: 64px; line-height: 0.5; color: rgba(255,255,255,0.25); display: block; }
.feature-quote blockquote {
    font-family: var(--serif); font-weight: 300; font-style: italic;
    font-size: clamp(27px, 4vw, 50px); line-height: 1.18; letter-spacing: -0.01em;
    max-width: 900px; margin: 28px auto 0;
}
.feature-quote cite { display: block; margin-top: 30px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ==========================================================================
   Praise grid (white card tiles)
   ========================================================================== */
.praise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: clamp(36px, 5vw, 52px); }
.praise-card { background: var(--white); border-radius: var(--r-tile); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.praise-card__quote { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 23px); font-weight: 400; line-height: 1.35; margin-bottom: 22px; }
.praise-card__source { margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   CTA card (blush) + newsletter
   ========================================================================== */
.cta-card { background: var(--blush); padding: clamp(64px, 9vw, 110px) var(--pad-x); text-align: center; }
.cta-card__inner { max-width: 620px; margin-inline: auto; }
.cta-card .section-intro { margin: 14px 0 18px; }
.cta-card p { color: rgba(27, 24, 21, 0.62); margin-bottom: 30px; }

.newsletter { background: var(--cream); padding: clamp(64px, 9vw, 110px) var(--pad-x); text-align: center; }
.newsletter__inner { max-width: 560px; margin-inline: auto; }
.newsletter .section-intro { margin: 14px 0 14px; }
.newsletter p { color: var(--muted); margin-bottom: 28px; }
.newsletter__form { display: flex; gap: 10px; max-width: 460px; margin-inline: auto; }
.newsletter__input { flex: 1; font: inherit; font-size: 15px; padding: 13px 20px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); color: var(--dark); }
.newsletter__input:focus { outline: none; border-color: var(--dark); }
.newsletter__note { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ==========================================================================
   Interior page hero (subpages)
   ========================================================================== */
.page-hero {
    min-height: 420px;
    background-color: var(--dark);
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--white);
    padding: clamp(48px, 7vw, 80px) var(--pad-x) clamp(40px, 5vw, 64px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 8, 6, 0.68); }
.page-hero__inner { position: relative; max-width: 720px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 80px); font-weight: 300; line-height: 1.05; margin: 16px 0 0; }
.page-hero p { font-size: 15px; color: rgba(255, 255, 255, 0.62); max-width: 480px; margin-top: 16px; }

/* prose for interior bodies */
.prose p { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose em { font-style: italic; }

/* ==========================================================================
   Footer — dark card
   ========================================================================== */
.footer { background: var(--dark); color: var(--white); border-radius: var(--r-section); margin: 0 5% var(--gap); overflow: hidden; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr 0.8fr; gap: clamp(32px, 5vw, 56px); padding: clamp(48px, 7vw, 80px) var(--pad-x) clamp(36px, 5vw, 52px); }
.footer__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; align-items: start; }
.footer__contact-block strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.footer__name { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.footer__logo { height: 34px; width: auto; display: block; margin-bottom: 2px; }
.footer__tag { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 10px; max-width: 24rem; }
.footer__label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer__lines { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.7; }
.footer__lines + .footer__lines { margin-top: 14px; }
.footer__lines a { color: rgba(255,255,255,0.85); }
.footer__links { display: flex; flex-direction: column; }
.footer__links .footer__label { margin-bottom: 12px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.62); padding: 5px 0; transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--white); }
.footer__base { padding: 22px var(--pad-x); border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: rgba(255,255,255,0.4); }

/* ==========================================================================
   Scroll animations
   ========================================================================== */
.fade-up  { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.scale-in { opacity: 0; transform: scale(0.96); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.in-view, .scale-in.in-view { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .split__copy { max-width: none; }
    .tiles-grid { grid-template-columns: 1fr; }
    .praise-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .footer__contacts { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
    .newsletter__form { flex-direction: column; }
    .newsletter__input, .newsletter__form .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .fade-up, .scale-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Books — multi-retailer buy, preorder, publisher
   ========================================================================== */
.buy-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn--ghost { background: transparent; color: var(--dark); border: 1.5px solid rgba(27,24,21,0.22); padding: 11px 20px; }
.btn--ghost:hover { opacity: 1; border-color: var(--dark); }
.feature-quote .btn--ghost, .section--dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.3); }

.preorder-line { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 0; }
.preorder-line::before { content: "● "; color: #b07d52; font-size: 9px; }

.book-pub { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.book-pub a { color: var(--dark); font-weight: 600; border-bottom: 1px solid var(--line); }
.book-pub a:hover { border-color: var(--dark); }

/* ==========================================================================
   Featured blurbs (book pages)
   ========================================================================== */
.blurbs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: clamp(36px, 5vw, 52px); }
.blurb { background: var(--cream-bg); border-radius: var(--r-tile); padding: clamp(30px, 4vw, 46px); }
.blurb__quote { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.5vw, 21px); font-weight: 400; line-height: 1.42; }
.blurb__quote::before { content: "\201C"; }
.blurb__quote::after { content: "\201D"; }
.blurb__source { margin-top: 22px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   More books grid
   ========================================================================== */
.more-books { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: clamp(36px, 5vw, 52px); }
.more-book { background: var(--white); border-radius: var(--r-tile); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.more-book:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -18px rgba(20,15,10,0.4); }
.more-book__media { display: block; width: 86px; }
.more-book__media img { border-radius: 4px; box-shadow: 0 10px 24px -12px rgba(20,15,10,0.5); }
.more-book__title { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); font-weight: 400; line-height: 1.15; }
.more-book__tag { font-size: 14px; color: var(--muted); line-height: 1.55; }
.more-book .textlink { margin-top: 2px; }

/* ==========================================================================
   Contact blocks
   ========================================================================== */
.contact-block + .contact-block { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-block__role { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-block a { color: var(--dark); border-bottom: 1px solid var(--line); }
.contact-block a:hover { border-color: var(--dark); }

/* ==========================================================================
   Footer social icons
   ========================================================================== */
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease); }
.footer__social a:hover { background: rgba(255,255,255,0.18); }
.footer__social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.78); }
.footer__col a { border: 0; }

@media (max-width: 900px) {
    .blurbs-grid, .more-books { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Books — 3-column row (homepage)
   ========================================================================== */
.books3__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.book-col { position: relative; background: var(--white); border-radius: var(--r-tile); height: 100%;
    padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 34px) clamp(30px, 3vw, 40px);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.book-col:hover { transform: translateY(-5px); box-shadow: 0 18px 50px -22px rgba(20,15,10,0.45); }
.book-col__media { display: flex; justify-content: center; margin-bottom: 26px; }
.book-col__cover {
    height: clamp(220px, 22vw, 320px); width: auto; border-radius: 4px;
    box-shadow: 0 18px 40px -16px rgba(20, 15, 10, 0.45);
}
.book-col__new-pill {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    background: var(--dark); color: var(--white);
    font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 7px 14px; border-radius: 980px;
    box-shadow: 0 4px 14px -4px rgba(20,15,10,0.5);
}
.book-col__title { font-family: var(--serif); font-size: clamp(22px, 2vw, 29px); font-weight: 400; line-height: 1.12; margin-bottom: 10px; }
.book-col__desc { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 30ch; }
.book-col .textlink { margin-top: 18px; }
.book-col--new { outline: 1.5px solid rgba(27,24,21,0.14); outline-offset: 0; }

@media (max-width: 860px) {
    .books3__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: var(--gap); }
}

/* Mobile: hero title wraps naturally, no forced single line */
@media (max-width: 680px) {
    .hero-bg__title, .hero-bg__title em { white-space: normal; font-size: clamp(36px, 10vw, 52px); }
    .hero-bg__content { max-width: 100%; }
}

/* Author split: 1/3 image, 2/3 text */
.split--author { grid-template-columns: 1fr 2fr; }

/* Author heading: two-line with italic second line */
.split__title-sub {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--muted);
}

/* Nav divider */
.nav__divider {
    display: block;
    width: 1px;
    height: 16px;
    background: rgba(27, 24, 21, 0.18);
    margin: 0 6px;
    flex-shrink: 0;
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form { 
    display: flex; flex-direction: column; gap: 12px;
    background: #d8d4cc; border-radius: var(--r-tile);
    padding: clamp(28px, 3vw, 40px);
}
.cf-row { display: flex; flex-direction: column; gap: 7px; }
.cf-input {
    font-family: var(--sans); font-size: 15px; color: var(--dark);
    background: var(--cream); border: 1.5px solid var(--line);
    border-radius: 10px; padding: 13px 16px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    width: 100%;
}
.cf-input::placeholder { color: var(--muted); }
.cf-input:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px rgba(27,24,21,0.07); }
.cf-textarea { resize: vertical; min-height: 140px; }

/* select wrapper */
.cf-select-wrap { position: relative; }
.cf-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; }
.cf-chevron {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    font-size: 18px; color: var(--muted); pointer-events: none; line-height: 1;
}

/* footer row */
.cf-footer { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 6px; }
.cf-submit { min-width: 160px; }
.cf-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* feedback notice */
.cf-notice { font-size: 14px; font-weight: 500; padding: 12px 16px; border-radius: 8px; }
.cf-notice--ok  { background: #eaf4ec; color: #2a6639; }
.cf-notice--err { background: #fdf0ef; color: #8b2a26; }

/* Shades of Emily hero — lighter overlay so the painting shows through */
.page-hero--low-overlay::before { background: rgba(10, 8, 6, 0.32); }

/* Footer contact block spacing & accent labels */
.footer__label--accent { color: #f0ded1; }
.footer__contact-block .footer__label { margin-bottom: 8px; }
.footer__contact-block--gap { margin-top: 28px; }
/* On desktop side-by-side, no top margin needed */
@media (min-width: 901px) { .footer__contact-block--gap { margin-top: 0; } }

/* About page photo — show full image without cropping */
.split__media--contain .split__img { object-fit: contain; object-position: center; }

/* ==========================================================================
   Featured quote carousel (dark section, 2 slides)
   ========================================================================== */
.fq-carousel { position: relative; overflow: hidden; }
.fq-slide { display: none; }
.fq-slide.is-active { display: block; }
.fq-dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.fq-dot {
    width: 32px; height: 3px; border-radius: 2px; border: none; padding: 0; cursor: pointer;
    background: rgba(255,255,255,0.25); transition: background 0.3s var(--ease);
}
.fq-dot.is-active { background: rgba(255,255,255,0.9); }

/* ==========================================================================
   Praise carousel
   ========================================================================== */
.praise-carousel { overflow: hidden; }
.praise-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.praise-card { flex: 0 0 100%; }
.praise-dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.praise-dot {
    width: 32px; height: 3px; border-radius: 2px; border: none; padding: 0; cursor: pointer;
    background: var(--line); transition: background 0.3s var(--ease);
}
.praise-dot.is-active { background: var(--dark); }

/* Tile book link */
.tile-link {
    display: inline-block; margin-top: 28px;
    font-family: var(--serif); font-size: 16px; font-weight: 400; font-style: italic;
    color: rgba(255,255,255,0.80);
}
