/*
 * story.css — The Story page
 * Palette: Obsidian / Amethyst / Emerald / Gold / Cream
 * Typography: Cinzel Decorative H2 · Libre Baskerville body · Cormorant Garamond italic
 */

/* ── Custom properties scoped to page ──────────────────────────────────── */
.page-story {
    --story-obsidian:  #1A1614;
    --story-amethyst:  #5B2C91;
    --story-emerald:   #1D5F4A;
    --story-gold:      #C9A44C;
    --story-cream:     #F4EDD9;
    --story-cream-mid: #EDE4CF;

    background: var(--story-cream);
    color: var(--story-obsidian);
    min-height: 100vh;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.story-breadcrumb {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(201, 164, 76, 0.25);
}

.story-breadcrumb__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-breadcrumb__home {
    color: var(--story-amethyst);
    text-decoration: none;
    transition: color 0.2s;
}
.story-breadcrumb__home:hover { color: var(--story-emerald); }

.story-breadcrumb__sep {
    color: var(--story-gold);
    font-size: 0.6rem;
}

.story-breadcrumb__current {
    color: var(--story-obsidian);
    opacity: 0.55;
}

/* ── Article wrapper ────────────────────────────────────────────────────── */
.story-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 4rem 2rem 7rem;
}

/* ── Preamble ────────────────────────────────────────────────────────────── */
.story-preamble {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--story-obsidian);
    opacity: 0.72;
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
}

/* ── Hero geometry ───────────────────────────────────────────────────────── */
.story-hero-geometry {
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 0 auto 3rem;
    text-align: center;
}

.hero-geometry {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
}

/* ── Section headings (Cinzel Decorative) ────────────────────────────────── */
.story-h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--story-obsidian);
    margin: 0 0 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 164, 76, 0.35);
}

/* ── Body copy (Libre Baskerville) ───────────────────────────────────────── */
.story-body {
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--story-obsidian);
    margin-bottom: 1.4rem;
}

.story-body strong {
    font-weight: 700;
    color: var(--story-obsidian);
}

.story-body a {
    color: var(--story-amethyst);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(91, 44, 145, 0.35);
    transition: color 0.2s, text-decoration-color 0.2s;
}
.story-body a:hover {
    color: var(--story-emerald);
    text-decoration-color: rgba(29, 95, 74, 0.55);
}

/* ── Aside (italic parenthetical) ────────────────────────────────────────── */
.story-aside {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.72;
    color: var(--story-obsidian);
    opacity: 0.68;
    margin-bottom: 1.6rem;
    padding-left: 1.25rem;
    border-left: 2px solid rgba(201, 164, 76, 0.4);
}

.story-aside a {
    color: var(--story-amethyst);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.story-aside a:hover { color: var(--story-emerald); }

/* ── Pull-quote questions ────────────────────────────────────────────────── */
.story-pull {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.45rem;
    line-height: 1.55;
    text-align: center;
    color: var(--story-obsidian);
    margin: 2.5rem auto 2.5rem;
    padding: 2rem 1.5rem;
    background: var(--story-cream-mid);
    border-top: 1px solid rgba(201, 164, 76, 0.3);
    border-bottom: 1px solid rgba(201, 164, 76, 0.3);
    max-width: 560px;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.story-section {
    margin-bottom: 3rem;
    scroll-margin-top: 5rem;
}

.story-section--why-now {
    border-top: 1px solid rgba(201, 164, 76, 0.2);
    padding-top: 2.5rem;
    margin-top: 2rem;
}

/* ── Room photo ──────────────────────────────────────────────────────────── */
.story-room-image {
    margin: 1.75rem 0 2rem;
}

.story-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
    filter: sepia(8%) brightness(0.97);
}

/* ── Dividers ────────────────────────────────────────────────────────────── */
.story-divider {
    margin: 2rem auto 3.5rem;
    text-align: center;
}

.divider-geometry {
    display: block;
    width: 100%;
    max-width: 580px;
    height: auto;
    margin: 0 auto;
}

/* ── Signoff ─────────────────────────────────────────────────────────────── */
.story-signoff {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: normal;
    color: var(--story-obsidian);
    opacity: 0.72;
    margin-top: 3rem;
    text-align: right;
    padding-right: 0.5rem;
}

.story-signoff em {
    font-style: italic;
    color: var(--story-amethyst);
    opacity: 0.85;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .story-page {
        padding: 2.5rem 1.25rem 5rem;
    }

    .story-h2 {
        font-size: 0.95rem;
    }

    .story-pull {
        font-size: 1.2rem;
        padding: 1.5rem 1rem;
        margin: 2rem auto;
    }

    .story-preamble {
        font-size: 0.95rem;
    }

    .story-body {
        font-size: 0.95rem;
    }

    .hero-geometry {
        max-width: 100%;
    }

    .story-breadcrumb {
        padding: 1rem 1.25rem;
    }
}
