:root {
    --ink: #1d2421;
    --muted: #5c655f;
    --paper: #f7f6f1;
    --panel: #fff;
    --line: #d9ddd8;
    --accent: #365d4a;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

main {
    max-width: 1100px;
    margin: auto;
    padding: 48px 28px 80px;
}

.masthead {
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
    margin-bottom: 40px;
}

.kicker {
    font: 600 12px/1.2 system-ui, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

h1 {
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.02;
    font-weight: 500;
    margin: 12px 0 18px;
    max-width: 900px;
}

h2 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 500;
    margin: 52px 0 16px;
}

h3 {
    font-size: 20px;
    margin-top: 32px;
}

.dek {
    font-size: 21px;
    line-height: 1.5;
    color: #39423d;
    max-width: 820px;
}

.meta {
    font: 13px/1.5 system-ui, sans-serif;
    color: var(--muted);
    margin-top: 18px;
}

.paper {
    max-width: 820px;
}

.paper p {
    font-size: 18px;
    margin: 0 0 20px;
}

.paper blockquote {
    margin: 30px 0;
    padding: 18px 24px;
    border-left: 4px solid var(--accent);
    background: #eef2ee;
    font-size: 22px;
    line-height: 1.5;
}

.note {
    font: 14px/1.6 system-ui, sans-serif;
    color: var(--muted);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    margin: 32px 0;
}

.gallery-head {
    display: flex;
    gap: 20px;
    align-items: end;
    justify-content: space-between;
    margin-top: 70px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.gallery-head h2 {
    margin: 0;
}

.gallery-head p {
    font: 13px/1.4 system-ui, sans-serif;
    color: var(--muted);
    max-width: 360px;
    margin: 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.card {
    margin: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    overflow: hidden;
}

.card a {
    display: block;
    background: #eceeea;
}

.card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card figcaption {
    padding: 13px 14px 15px;
    font: 14px/1.45 system-ui, sans-serif;
    color: #39423d;
}

.date {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.closing {
    margin-top: 55px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-style: italic;
    color: #4a514d;
}

.sources {
    font: 13px/1.55 system-ui, sans-serif;
    color: var(--muted);
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

@media print {
    body {
        background: #fff;
    }

    main {
        max-width: none;
        padding: 20px;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .card {
        break-inside: avoid;
    }

    .card img {
        height: 180px;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    .paper p {
        font-size: 12pt;
    }
}
