/**
 * Home page — editorial layer
 *
 * Brings the home page typography and graphic style in line with the
 * /store/ editorial design system: Crimson Text serif headlines, brown
 * eyebrows, sage/forest accents on a warm cream background. Loaded
 * alongside suspra.css and bookshop.css so the eyebrow/headline/subtitle
 * vocabulary is shared across the site.
 *
 * Scoped to `body.home-page` so it only applies to the home page.
 */

/* ============================================================
   Page chrome — cream background, no leading padding under hero
   ============================================================ */

body.home-page.bookshop-editorial {
    background: var(--background-cream, #FDFCF8);
}

/* The fixed hero + 100vh spacer already clear the site header on the
   home page, so we suppress bookshop.css's main padding-top here.
   Main also gets its own opaque cream surface and stacking context so
   the fixed hero compositor layer can never flash through during scroll
   — even before individual section backgrounds finish painting. */
body.home-page.bookshop-editorial main {
    padding-top: 0;
    background: var(--background-cream, #FDFCF8);
    position: relative;
    z-index: 1;
}

/* ============================================================
   Hero — full-frame photograph of Earth. Minimal type, single CTA.
   The site header is hidden over the hero (see "Header behaviour"
   below) so nothing competes with the photo on first paint.
   ============================================================ */

body.home-page .hero-section {
    z-index: 0;
    /* Override suspra.css's forest-sky background image — the photo now
       lives in a <picture> so the section background is unused. */
    background-image: none;
    background-color: #0a0d10;
}

body.home-page .hero-photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

body.home-page .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Subtle vertical veil — keeps the photo dominant but makes white
   text readable against bright skies and surf. Concentrated at top
   and bottom; mid-frame stays clear. */
body.home-page .hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.10) 22%,
            rgba(0, 0, 0, 0.00) 45%,
            rgba(0, 0, 0, 0.10) 65%,
            rgba(0, 0, 0, 0.55) 100%);
}

body.home-page .hero-content {
    position: static;
    z-index: 2;
    max-width: none;
    padding: 0 1.5rem;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
    text-align: center;
    color: #fff;
}

body.home-page .hero-content::before { display: none; }

/* Wordmark sits at the top of the section (positioned relative to
   .hero-section, which is position: fixed). Pulled out of flow so
   the H1 + Join button can be perfectly centered in the viewport. */
body.home-page .hero-wordmark {
    position: absolute;
    top: clamp(1.5rem, 4vh, 3rem);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

body.home-page .hero-wordmark:hover,
body.home-page .hero-wordmark:focus-visible {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

body.home-page .hero-wordmark:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 6px;
    border-radius: 4px;
}

body.home-page .hero-owl {
    height: 28px;
    width: auto;
    /* The owl SVG has dark fill — invert + drop shadow makes it sit
       confidently on the photo without re-authoring the asset. */
    filter:
        brightness(0) invert(1)
        drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
}

body.home-page .hero-line {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 600;
    font-size: clamp(2.25rem, 6vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: #fff;
    margin: 0 auto 1.1rem;
    max-width: 18ch;
    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.7),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

body.home-page .hero-lede {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto 2rem;
    max-width: 36ch;
    text-shadow:
        0 3px 14px rgba(0, 0, 0, 0.78),
        0 2px 5px rgba(0, 0, 0, 0.68),
        0 1px 2px rgba(0, 0, 0, 0.85);
}

body.home-page .hero-cta {
    margin: 0;
}

body.home-page .btn-hero {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: 1.05rem 2.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #A23E2A 0%, #7E2D1B 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 14px 32px -10px rgba(0, 0, 0, 0.55),
        0 4px 12px rgba(120, 45, 27, 0.42);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                background 0.25s ease, border-color 0.25s ease;
}

body.home-page .btn-hero:hover,
body.home-page .btn-hero:focus-visible {
    background: linear-gradient(135deg, #B5483A 0%, #8D372A 100%);
    transform: translateY(-2px);
    border-color: #fff;
    box-shadow:
        0 18px 38px -10px rgba(0, 0, 0, 0.6),
        0 6px 16px rgba(120, 45, 27, 0.55);
    text-decoration: none;
}

body.home-page .btn-hero:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 4px;
}

body.home-page .hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

body.home-page .hero-scroll-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

body.home-page .hero-scroll-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    line-height: 1;
    animation: hero-scroll-bounce 2.4s ease-in-out infinite;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.home-page .hero-scroll-cue:hover,
body.home-page .hero-scroll-cue:focus-visible { color: #fff; }
body.home-page .hero-scroll-cue:hover .hero-scroll-arrow,
body.home-page .hero-scroll-cue:focus-visible .hero-scroll-arrow {
    background: rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 255, 255, 0.7);
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ============================================================
   Header behaviour — hidden over the hero, slides in on scroll.
   Default state on the home page is HIDDEN, so first paint never
   shows a translucent white bar over the photo. JS adds the
   .header-shown class once the hero scrolls out of view.
   ============================================================ */

body.home-page #main-header {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    will-change: transform, opacity;
}

body.home-page.header-shown #main-header {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    body.home-page #main-header { transition: none; }
    body.home-page .hero-scroll-arrow { animation: none; }
    body.home-page .btn-hero { transition: none; }
}

/* ============================================================
   Section header pattern — eyebrow + serif headline + italic subtitle
   ============================================================ */

body.home-page .home-section-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 2.75rem;
}

body.home-page .home-section-header .bookshop-eyebrow,
body.home-page .home-section-header .bookshop-subtitle {
    text-align: center;
}

body.home-page .home-section-header .bookshop-headline {
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    margin-bottom: 0.85rem;
}

body.home-page .home-section-header .bookshop-subtitle {
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    margin-bottom: 0;
}

/* ============================================================
   Welcome — the heartfelt invitation
   ============================================================ */

body.home-page .home-welcome {
    background: var(--background-cream, #FDFCF8);
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    border-bottom: 1px solid rgba(11, 73, 25, 0.10);
    position: relative;
}

body.home-page .home-welcome::after {
    content: '';
    display: block;
    width: 64px;
    height: 1px;
    background: rgba(11, 73, 25, 0.25);
    margin: 3rem auto 0;
}

body.home-page .home-welcome-inner {
    max-width: 44rem;
    margin: 0 auto;
}

body.home-page .home-welcome .bookshop-eyebrow {
    text-align: center;
}

body.home-page .home-welcome .bookshop-headline {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    margin-bottom: 1.75rem;
}

body.home-page .home-welcome-lede {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    line-height: 1.5;
    color: var(--forest-green-dark, #083A14);
    margin: 0 0 1.5rem;
}

body.home-page .home-welcome-body {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-dark, #2C3E50);
    margin: 0 0 1.5rem;
}

body.home-page .home-welcome-signature {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--forest-green-dark, #083A14);
    margin: 0;
    letter-spacing: 0.02em;
}

/* ============================================================
   Pathways — refined typography over the existing colour tiles
   ============================================================ */

body.home-page .home-pathways-section {
    background: var(--background-white, #fff);
    padding: 5.5rem 1.5rem;
}

body.home-page .home-pathways-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

body.home-page .pathways-framework {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

body.home-page .pathways-framework::before { display: none; }

body.home-page .pathways-grid {
    --pathway-card-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

body.home-page .pathways-row {
    display: grid;
    gap: 1.25rem;
}

body.home-page .pathways-row-top,
body.home-page .pathways-row-bottom {
    grid-template-columns: repeat(2, minmax(220px, var(--pathway-card-width)));
    justify-content: center;
}

body.home-page .pathways-row-middle {
    grid-template-columns: repeat(3, minmax(220px, var(--pathway-card-width)));
    justify-content: center;
}

body.home-page .pathway-habitat {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
}

body.home-page .pathway-card {
    background: var(--background-cream, #FDFCF8);
    border: 1px solid rgba(11, 73, 25, 0.12);
    border-radius: 6px;
    padding: 1.85rem 1.25rem 1.6rem;
    text-align: left;
    box-shadow: none;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.home-page .pathway-card::before { display: none; }

body.home-page .pathway-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -16px rgba(11, 73, 25, 0.30);
    border-color: rgba(11, 73, 25, 0.30);
    text-decoration: none;
}

body.home-page .pathway-card:focus-visible {
    outline: 3px solid rgba(11, 73, 25, 0.32);
    outline-offset: 4px;
}

body.home-page .pathway-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

body.home-page .pathway-icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.home-page .pathway-icon { width: 28px; height: 28px; }

body.home-page .pathway-content {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
}

body.home-page .pathway-title {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 600;
    font-size: 1.45rem;
    color: var(--forest-green-dark, #083A14);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    position: static;
    overflow: visible;
    text-align: left;
}

body.home-page .pathway-title::before {
    content: none;
}

body.home-page .pathway-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-medium, #5D6D7E);
    margin: 0;
}

@media (max-width: 980px) {
    body.home-page .pathways-row {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        justify-content: stretch;
    }

    body.home-page .pathway-card {
        width: 100%;
    }
}

/* ============================================================
   Authors — quieter, more book-jacket feeling
   ============================================================ */

body.home-page .trust-section {
    background: var(--background-cream, #FDFCF8);
    padding: 5.5rem 1.5rem;
    border-top: 1px solid rgba(11, 73, 25, 0.10);
    border-bottom: 1px solid rgba(11, 73, 25, 0.10);
}

body.home-page .trust-section::before { display: none; }

body.home-page .trust-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

body.home-page .home-authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

body.home-page .home-author-card {
    text-align: center;
}

body.home-page .home-author-photo {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--background-white, #fff);
    box-shadow: 0 16px 36px -14px rgba(11, 73, 25, 0.4);
    margin: 0 auto 1.25rem;
    display: block;
}

body.home-page .home-author-name {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--forest-green-dark, #083A14);
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

body.home-page .home-author-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--earth-brown, #8B4513);
    margin: 0 0 1rem;
}

body.home-page .home-author-bio {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-dark, #2C3E50);
    max-width: 32rem;
    margin: 0 auto;
}

/* ============================================================
   Recent articles — editorial card refinements
   ============================================================ */

body.home-page .recent-articles-section {
    background: var(--background-white, #fff);
    padding: 5.5rem 1.5rem;
}

body.home-page .recent-articles-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

body.home-page .recent-articles-grid .archive-entry {
    background: var(--background-white, #fff);
    border: 1px solid rgba(11, 73, 25, 0.10);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.home-page .recent-articles-grid .archive-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -16px rgba(11, 73, 25, 0.30);
    border-color: rgba(11, 73, 25, 0.30);
}

body.home-page .recent-articles-grid .article-image-wrapper {
    height: 200px;
    border-bottom: 1px solid rgba(11, 73, 25, 0.08);
    overflow: hidden;
}

body.home-page .recent-articles-grid .article-image-wrapper img {
    transition: transform 0.5s ease;
}

body.home-page .recent-articles-grid .archive-entry:hover .article-image-wrapper img {
    transform: scale(1.04);
}

body.home-page .recent-articles-grid .article-content {
    padding: 1.5rem 1.5rem 1.75rem;
}

body.home-page .recent-articles-grid .article-title-link {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--forest-green-dark, #083A14);
    line-height: 1.25;
    text-decoration: none;
    letter-spacing: -0.01em;
}

body.home-page .recent-articles-grid .article-title-link:hover {
    color: var(--forest-green, #0B4919);
}

body.home-page .recent-articles-grid .article-excerpt {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--text-medium, #5D6D7E);
    margin-top: 0.6rem;
}

body.home-page .recent-articles-grid .article-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--text-medium, #5D6D7E);
    text-transform: uppercase;
}

/* ============================================================
   Bookshelf — slim editorial shelf, links to /store/books.html
   ============================================================ */

body.home-page .featured-publications-section {
    background: var(--background-cream, #FDFCF8);
    padding: 5.5rem 1.5rem;
    border-top: 1px solid rgba(11, 73, 25, 0.10);
}

body.home-page .featured-publications-section::before { display: none; }
body.home-page .featured-publications-section h2::after { display: none; }

body.home-page .featured-publications-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

body.home-page .home-books-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
    list-style: none;
    padding: 0;
}

body.home-page .home-book {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.5rem;
    align-items: start;
    text-decoration: none;
    color: inherit;
    margin: 0;
}

body.home-page .home-book-cover-link {
    display: block;
    text-decoration: none;
}

body.home-page .home-book-cover {
    aspect-ratio: 2/3;
    border: 1px solid rgba(156, 175, 136, 0.45);
    box-shadow:
        0 18px 36px -18px rgba(11, 73, 25, 0.40),
        0 4px 10px rgba(11, 73, 25, 0.10);
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

body.home-page .home-book-cover-link:hover .home-book-cover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px -16px rgba(11, 73, 25, 0.45);
}

body.home-page .home-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.home-page .home-book-title {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--forest-green-dark, #083A14);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

body.home-page .home-book-subtitle {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-style: italic;
    font-size: 1.02rem;
    color: var(--text-medium, #5D6D7E);
    margin: 0 0 0.65rem;
    line-height: 1.4;
}

body.home-page .home-book-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--text-dark, #2C3E50);
    margin: 0;
}

body.home-page .home-book-actions {
    margin: 1rem 0 0;
}

body.home-page .home-book-learn-more {
    font-size: 0.9rem;
    padding: 0.55rem 1.2rem;
    font-weight: 600;
}

@media (max-width: 540px) {
    body.home-page .home-book {
        grid-template-columns: 100px 1fr;
        gap: 1.25rem;
    }
}

body.home-page .bookshop-link {
    text-align: center;
    margin: 3rem 0 0;
}

body.home-page .bookshop-link .archive-link {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--forest-green, #0B4919);
    border-bottom-width: 1px;
}

body.home-page .recent-articles-more {
    text-align: center;
    margin: 3rem 0 0;
}

body.home-page .recent-articles-more .archive-link {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-style: italic;
    font-size: 1.05rem;
}

body.home-page .home-archive-dispatch-count {
    display: inline-block;
    min-width: 2ch;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* ============================================================
   Final close — warm invitation
   ============================================================ */

/* Every content section establishes its own stacking context. Combined
   with the opaque main background above, this guarantees the fixed
   hero compositor layer is never visible behind the scrolling content. */
body.home-page main > .content-section {
    isolation: isolate;
}

/* Close section hosts its own picture/veil/content layers — same
   pattern as the hero section, decoupled from the fixed hero. This
   means the hero's H1 / lede / CTA do NOT bleed through. */
body.home-page .home-close-section {
    position: relative;
    overflow: hidden;
    background: #0a0d10;
    border-top: none;
    padding: 7rem 1.5rem 6rem;
    color: #fff;
}

body.home-page .home-close-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

body.home-page .home-close-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.home-page .home-close-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.40) 35%,
        rgba(0, 0, 0, 0.55) 70%,
        rgba(0, 0, 0, 0.75) 100%);
}

body.home-page .home-close-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

body.home-page .home-close-content h2 {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 600;
    font-size: clamp(2.1rem, 4vw, 2.95rem);
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -0.015em;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
}

body.home-page .home-close-body {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-style: italic;
    font-size: clamp(1.15rem, 1.9vw, 1.45rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto 2.25rem;
    max-width: 36ch;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.45);
}

body.home-page .home-close-actions {
    margin: 0 0 1.5rem;
}

body.home-page .home-close-actions .btn-primary {
    background: linear-gradient(135deg, var(--forest-green, #0B4919), var(--forest-green-light, #1A6B2E));
    border: 2px solid rgba(255, 255, 255, 0.85);
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(11, 73, 25, 0.45);
    text-transform: none;
}

body.home-page .home-close-actions .btn-primary::before { display: none; }

body.home-page .home-close-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--forest-green-light, #1A6B2E), var(--forest-green, #0B4919));
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -10px rgba(0, 0, 0, 0.6), 0 6px 16px rgba(11, 73, 25, 0.5);
}

body.home-page .home-close-tagline {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* ============================================================
   Suppress legacy .content-section h2 typography on home —
   we use .bookshop-headline directly on h2 elements instead.
   ============================================================ */

body.home-page .home-section-header h2 {
    margin: 0 0 0.85rem;
}

/* ============================================================
   Mobile refinements
   ============================================================ */

@media (max-width: 720px) {
    /* The mobile photo has a bright snow/cloud band where the wordmark and
       headline sit. Darken the veil more aggressively (especially top + middle)
       so white type reads cleanly, and reinforce the text-shadows as a belt-and-
       suspenders for any photo we swap in later. Desktop veil is unchanged. */
    body.home-page .hero-veil {
        background:
            linear-gradient(180deg,
                rgba(0, 0, 0, 0.62) 0%,
                rgba(0, 0, 0, 0.38) 25%,
                rgba(0, 0, 0, 0.28) 50%,
                rgba(0, 0, 0, 0.34) 72%,
                rgba(0, 0, 0, 0.65) 100%);
    }
    body.home-page .hero-content {
        padding: 0 1.25rem;
        margin: 0;
        max-width: 100%;
    }
    body.home-page .hero-wordmark {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
        gap: 0.55rem;
        text-shadow:
            0 1px 4px rgba(0, 0, 0, 0.85),
            0 0 14px rgba(0, 0, 0, 0.55);
    }
    body.home-page .hero-owl { height: 24px; }
    body.home-page .hero-line {
        font-size: clamp(2.3rem, 10vw, 3.3rem);
        max-width: 14.5ch;
        margin-bottom: 0.85rem;
        text-shadow:
            0 4px 18px rgba(0, 0, 0, 0.85),
            0 2px 6px rgba(0, 0, 0, 0.76),
            0 1px 2px rgba(0, 0, 0, 0.92);
    }
    body.home-page .hero-lede {
        font-size: clamp(1.24rem, 4.7vw, 1.4rem);
        max-width: 28ch;
        margin-bottom: 1.5rem;
        text-shadow:
            0 3px 14px rgba(0, 0, 0, 0.82),
            0 2px 5px rgba(0, 0, 0, 0.72),
            0 1px 2px rgba(0, 0, 0, 0.9);
    }
    body.home-page .btn-hero {
        font-size: 1.05rem;
        padding: 0.9rem 1.9rem;
    }
    body.home-page .hero-scroll-cue {
        bottom: 1.25rem;
        gap: 0.45rem;
    }
    body.home-page .hero-scroll-label {
        font-size: 0.66rem;
    }
    body.home-page .hero-scroll-arrow {
        width: 30px;
        height: 30px;
    }
    body.home-page .home-welcome {
        padding: 4rem 1.25rem 3.5rem;
    }
    body.home-page .home-pathways-section,
    body.home-page .recent-articles-section,
    body.home-page .featured-publications-section,
    body.home-page .trust-section,
    body.home-page .home-close-section {
        padding: 4rem 1.25rem;
    }
    body.home-page .home-authors-grid { gap: 2.5rem; }
    body.home-page .home-author-photo { width: 140px; height: 140px; }
}
