:root {
    --home-ink: #1e3029;
    --home-paper: #e4e6e4;
    --home-mist: #d8dfda;
    --home-line: #bbc6bf;
    --home-muted: #536159;
    --home-accent: #2b6934;
    --home-lime: #d5e889;
}

body.template-homepage {
    margin: 0;
    background: var(--home-paper);
    color: var(--home-ink);
    font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

.home-shell {
    width: min(100% - 3rem, 68rem);
    margin: 0 auto;
}

.home-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5.5rem;
    border-bottom: 1px solid var(--home-line);
}

.home-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--home-ink);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.wordmark-number {
    display: grid;
    width: 2rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--home-accent);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
    font-weight: 400;
}

.home-footer > a:last-child {
    color: var(--home-ink);
    font-size: 0.9rem;
    text-decoration: none;
}

.home-footer > a:last-child:hover {
    color: var(--home-accent);
}

.home-hero {
    display: flex;
    min-height: 29rem;
    align-items: center;
    padding: 4rem 0 5rem;
}

.hero-copy {
    max-width: 52rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.eyebrow-mark {
    width: 0.55rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--home-accent);
}

.hero-copy h1,
.section-heading h2,
.latest-item h3,
.empty-state h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.hero-copy h1 {
    max-width: 14ch;
    font-size: 4.5rem;
    line-height: 1.04;
}

.hero-copy h1 em {
    color: var(--home-accent);
    font-weight: 400;
}

.hero-editorial {
    max-width: 38rem;
    margin-top: 1.5rem;
    color: var(--home-ink);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-editorial > :first-child {
    margin-top: 0;
}

.hero-editorial > :last-child {
    margin-bottom: 0;
}

.hero-editorial a {
    color: var(--home-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.hero-lede {
    max-width: 36rem;
    margin: 1.5rem 0 2rem;
    color: var(--home-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.latest-section {
    box-sizing: border-box;
    margin: 0;
    padding: 4rem 0 5rem;
    background: var(--home-mist);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.section-heading .eyebrow {
    margin-bottom: 0;
}

.eyebrow-divider {
    color: var(--home-accent);
}

.section-heading h2 {
    font-size: 2.6rem;
}

.latest-list {
    border-top: 1px solid var(--home-line);
}

.latest-item {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--home-line);
}

.latest-date {
    color: var(--home-muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.latest-item h3 {
    font-size: 1.45rem;
}

.latest-item h3 a {
    color: inherit;
    text-decoration-color: var(--home-accent);
    text-underline-offset: 0.2em;
}

.latest-item h3 a:hover {
    color: var(--home-accent);
}

.latest-intro {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.55;
}

.empty-state {
    display: grid;
    grid-template-columns: 8rem 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
}

.empty-number {
    margin: 0;
    color: var(--home-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.empty-state h3 {
    font-size: 1.5rem;
}

.empty-state div p,
.empty-state-text {
    margin: 0.5rem 0 0;
    color: var(--home-muted);
    line-height: 1.5;
}

.empty-state > a {
    display: grid;
    width: 2.75rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--home-ink);
    border-radius: 50%;
    color: var(--home-ink);
    font-size: 1.2rem;
    text-decoration: none;
}

.empty-state > a:hover {
    background: var(--home-ink);
    color: #fff;
}

.home-footer {
    min-height: 5rem;
    border-top: 1px solid var(--home-line);
    border-bottom: 0;
}

.home-footer > p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.82rem;
}

@media (max-width: 760px) {
    .home-shell {
        width: min(100% - 2rem, 38rem);
    }

    .home-hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: 0;
        padding: 3rem 0 4rem;
    }

    .hero-copy h1 {
        max-width: 12ch;
        font-size: 3.5rem;
    }

    .hero-figure {
        max-width: none;
    }

    .hero-figure img {
        aspect-ratio: 1.25;
    }

    .hero-index {
        bottom: 1rem;
    }

    .latest-section {
        padding: 3rem 1rem 4rem;
    }

    .section-heading h2 {
        font-size: 2.1rem;
    }

    .latest-item {
        grid-template-columns: 5rem minmax(0, 1fr);
        align-items: start;
        gap: 0.75rem 1rem;
    }

    .empty-state {
        grid-template-columns: 2.5rem 1fr auto;
        gap: 1rem;
    }

    .empty-state h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 420px) {
    .hero-copy h1 {
        font-size: 2.75rem;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .home-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        padding: 1.25rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
}