/* STORY — single portrait + long caption */

:root {
    --ink: #151515;
    --muted: #666;
    --paper: #ffffff;
    --wash: #f3f1ec;
    --line: #e2ddd4;
    --accent: #b33a2b;
    --max: 720px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Source Serif 4", "Georgia", serif;
    color: var(--ink);
    background: var(--wash);
}

#wrapper {
    width: min(94%, 920px);
    margin: 0 auto;
    padding-bottom: 3.5rem;
}

header {
    padding-top: 1.75rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo img {
    display: block;
    height: 40px;
    width: auto;
}

.menu1 {
    display: flex;
    gap: 1.35rem;
    flex-wrap: wrap;
}

.menu1 a {
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--muted);
}

.menu1 a:hover,
.menu1 a.is-active {
    color: var(--ink);
}

main {
    margin-top: 1.75rem;
}

.site-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}

.story {
    background: var(--paper);
    border: 1px solid var(--line);
    max-width: var(--max);
    margin: 0 auto;
}

.story-hero {
    margin: 0;
}

.story-hero img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.story-body {
    padding: 1.5rem 1.35rem 2.25rem;
}

.story-body h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--accent);
}

.story-body p {
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0 0 1.1rem;
}

.story-body p:last-child {
    margin-bottom: 0;
}

.back-link {
    display: inline-block;
    margin: 1.5rem auto 0;
    max-width: var(--max);
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--muted);
}

.back-link:hover {
    color: var(--accent);
}

footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    text-align: right;
}

.credits p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    font-style: italic;
    color: var(--muted);
}

@media (max-width: 640px) {
    .story-body {
        padding: 1.2rem 1rem 1.75rem;
    }

    .story-body p {
        font-size: 1.02rem;
    }

    footer {
        text-align: left;
    }
}
