/* ────────────────────────────────────────────────────────────────
   Landing page (signed-out homepage) — shared scaffolding.
   Section-specific visuals live in each section component's scoped CSS.
   See specs/homepage/ for the design + implementation plan.
   ──────────────────────────────────────────────────────────────── */

/* ── Reveal-on-scroll (driven by js/home-reveal.js) ─────────────── */
.home-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.home-reveal.in-view {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .home-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Landing shell: full-bleed sections, centered content column ── */
.home-landing {
    display: flex;
    flex-direction: column;
}

.home-section {
    position: relative;
    width: 100%;
    padding-block: clamp(3rem, 8vw, 6rem);
}
.home-section--tight {
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

/* Centered content column inside a (possibly full-bleed) section */
.home-shell {
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}
.home-shell--narrow {
    max-width: 820px;
}

/* ── Shared section heading rhythm ──────────────────────────────── */
.home-section-eyebrow {
    font: 700 0.68rem/1 var(--font-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--section-accent, var(--gold));
    margin: 0 0 0.9rem;
}
.home-section-title {
    font-family: var(--font-disp);
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.14;
    color: var(--ink);
    margin: 0 0 1rem;
    max-width: 18em;
}
.home-section-lede {
    font: 400 clamp(1rem, 1.3vw, 1.12rem)/1.6 var(--font-ui);
    color: var(--ink-2);
    max-width: 40em;
    margin: 0;
}

/* ────────────────────────────────────────────────────────────────
   Signed-in cockpit — shared scaffolding for the "Next Move" home.
   Module visuals live in each module component's scoped CSS; these are
   the shared surface/heading classes (modules are separate components,
   so shared classes must be global). --deck-accent is set by
   StageTheme.Vars on the .home-si wrapper and themes module accents.
   ──────────────────────────────────────────────────────────────── */
.home-si {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(0.9rem, 2.2vw, 1.6rem);
}

/* A supporting cockpit card. The hero (Next move) styles itself larger. */
.si-module {
    background: var(--surf-raised);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.si-eyebrow {
    font: 700 0.66rem/1 var(--font-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--deck-accent, var(--jade));
    margin: 0 0 0.6rem;
}
.si-title {
    font-family: var(--font-disp);
    font-weight: 600;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.15;
    color: var(--ink);
    margin: 0;
}
