:root {
    --bg: #0b0b0c;
    --panel: #121214;
    --line: #26262b;
    --text: #ece8e1;
    --muted: #8d8880;
    --accent: #c9b896;
    --chip: #2a2420;
    --chip-text: #d7c4a3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: var(--bg);
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    background:
        radial-gradient(1200px 500px at 50% -10%, #1a1814 0%, transparent 60%),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 80px;
}

.masthead {
    padding-bottom: 0;
    margin-bottom: 36px;
    text-align: center;
}

.kicker {
    color: var(--accent);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 11px;
    margin-bottom: 14px;
}

.masthead h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.masthead h1 a {
    color: inherit;
}

.tagline {
    margin: 16px auto 0;
    max-width: 520px;
    color: var(--muted);
    font-size: 15px;
}

.tagline em {
    color: var(--text);
    font-style: normal;
    border-bottom: 1px solid var(--accent);
}

.meta-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sections a {
    padding: 12px 13px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.sections a:hover {
    color: var(--text);
}

.sections a.is-active {
    color: var(--accent);
    box-shadow: inset 0 -2px 0 var(--accent);
}

.lead-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: stretch;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}

.lead-media {
    position: relative;
    min-height: 340px;
    background-color: #141416;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid var(--line);
}

.lead-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lead-body h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 12px 0 16px;
}

.lead-body p {
    color: var(--muted);
    font-size: 17px;
    max-width: 42ch;
}

.byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.chip {
    padding: 2px 7px;
    border: 1px solid #3a342c;
    background: var(--chip);
    color: var(--chip-text);
    letter-spacing: 0.14em;
}

.secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line);
}

.story {
    display: block;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.story:hover h3,
.lead-card:hover h2 {
    color: var(--accent);
}

.story h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    margin: 8px 0 10px;
}

.story p {
    color: var(--muted);
    font-size: 14px;
}

.story--secondary {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    padding: 28px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
}

.story--secondary:nth-child(2n) {
    border-right: 0;
}

.story--secondary:nth-child(n + 3) {
    border-top: 1px solid var(--line);
}

.thumb {
    position: relative;
    min-height: 96px;
    background-color: #141416;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid var(--line);
}

.media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background:
        linear-gradient(135deg, rgba(28, 27, 24, 0.2) 0%, rgba(13, 13, 15, 0.15) 100%);
}

.media-fallback strong {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-size: 12px;
}

.lead-media .media-fallback strong {
    font-size: 18px;
    letter-spacing: 0.28em;
}

.media-fallback span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.grid-wrap {
    padding-top: 40px;
}

.section-title {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
}

.grid .story {
    padding: 22px 0;
}

.empty {
    padding: 80px 0;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.colophon {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.colophon p + p {
    margin-top: 8px;
}

@media (max-width: 860px) {
    .page {
        width: min(1120px, calc(100% - 28px));
        padding-top: 28px;
    }

    .sections a {
        padding: 10px 11px;
        font-size: 10px;
    }

    .lead-card,
    .secondary,
    .grid,
    .story--secondary {
        grid-template-columns: 1fr;
    }

    .lead-media {
        min-height: 220px;
    }

    .story--secondary {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .story--secondary:nth-child(n + 3) {
        border-top: 0;
    }
}
