:root {
    --paper: #f4f0e8;
    --paper-light: #fbf9f4;
    --ink: #161713;
    --muted: #6e6e65;
    --line: #d8d1c4;
    --accent: #ec5d32;
    --accent-dark: #b83d1e;
    --forest: #163b31;
    --white: #fff;
    --radius: 1.25rem;
    --shadow: 0 24px 70px rgba(38, 31, 20, 0.1);
    --sans: Inter, "Segoe UI", Arial, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(22, 23, 19, 0.035) 0.7px, transparent 0.7px);
    background-size: 7px 7px;
    content: "";
    pointer-events: none;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    background: var(--ink);
    color: var(--white);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(22, 23, 19, 0.13);
    background: rgba(244, 240, 232, 0.92);
    backdrop-filter: blur(18px);
}

.site-header__inner,
.site-footer__inner,
.editorial-shell,
.hero__inner,
.channel-banner__inner,
.article-header__inner,
.article-layout {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header__inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.site-brand__mark,
.article-cta__mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    font-family: var(--serif);
    font-size: 1.18rem;
    line-height: 1.1;
}

.site-brand small {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.site-nav > a:not(.button):hover,
.text-link:hover,
.back-link:hover,
.story-link:hover,
.article-aside a:hover {
    color: var(--accent-dark);
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.82rem 1.4rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-2px);
}

.button--compact {
    min-height: 42px;
    padding: 0.6rem 1rem;
}

.button--light {
    border-color: var(--white);
    background: var(--white);
    color: var(--forest);
}

.button--light:hover {
    border-color: var(--accent);
    color: var(--white);
}

.text-link,
.story-link,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    transition: color 160ms ease;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.2rem;
    color: var(--accent-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 26px;
    height: 2px;
    background: currentColor;
}

.eyebrow--light {
    color: #f2c9b7;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.hero::after {
    position: absolute;
    top: -12rem;
    right: -8rem;
    width: min(42vw, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(236, 93, 50, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(236, 93, 50, 0.035), 0 0 0 140px rgba(236, 93, 50, 0.025);
    content: "";
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: end;
    gap: clamp(3rem, 9vw, 9rem);
}

.hero h1,
.article-header h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.6rem, 8.2vw, 7.6rem);
    font-weight: 500;
    letter-spacing: -0.065em;
    line-height: 0.9;
}

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

.hero__lead {
    max-width: 690px;
    margin: 2rem 0 0;
    color: #484a44;
    font-family: var(--serif);
    font-size: clamp(1.12rem, 2vw, 1.4rem);
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-top: 2.2rem;
}

.hero__note {
    position: relative;
    padding: 1.4rem 0 0;
    border-top: 1px solid var(--ink);
}

.hero__note-number {
    display: block;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 3.6rem;
    line-height: 1;
}

.hero__note p {
    margin: 0.8rem 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero__note small {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.editorial-shell {
    padding-block: 2rem 7rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--ink);
}

.section-heading .eyebrow {
    margin-bottom: 0.6rem;
}

.section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
}

.section-heading > p,
.section-heading time {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-story {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    min-height: 570px;
    border-radius: var(--radius);
    background: var(--paper-light);
    box-shadow: var(--shadow);
}

.featured-story__media,
.featured-story__body {
    min-width: 0;
}

.featured-story__media,
.story-tile__media,
.related-card__media {
    position: relative;
    overflow: hidden;
    background: #d9d4c8;
}

.featured-story__media img,
.story-tile__media img,
.related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-story__media:hover img,
.story-tile__media:hover img,
.related-card__media:hover img {
    transform: scale(1.035);
}

.featured-story__stamp {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--paper-light);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.featured-story__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    color: var(--muted);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.story-meta > * + *::before {
    margin-right: 0.9rem;
    color: var(--accent);
    content: "•";
}

.featured-story h2,
.story-tile h3,
.related-card h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.featured-story h2 {
    margin: 1.4rem 0 1.15rem;
    font-size: clamp(2.4rem, 4.2vw, 4.2rem);
    line-height: 0.98;
}

.featured-story h2 a:hover,
.story-tile h3 a:hover,
.related-card h3 a:hover {
    color: var(--accent-dark);
}

.featured-story__body > p,
.story-tile__body > p {
    color: #575950;
}

.featured-story .story-link {
    margin-top: 1.6rem;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.4rem;
}

.story-tile {
    display: flex;
    overflow: hidden;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(251, 249, 244, 0.72);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-tile:hover {
    box-shadow: 0 18px 45px rgba(38, 31, 20, 0.09);
    transform: translateY(-4px);
}

.story-tile__media {
    aspect-ratio: 16 / 10;
}

.story-tile__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.45rem;
}

.story-tile h3 {
    margin: 1rem 0 0.7rem;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    line-height: 1.08;
}

.story-tile__body > p {
    margin: 0 0 1.3rem;
    font-size: 0.9rem;
}

.story-tile .story-link {
    margin-top: auto;
}

.story-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(135deg, var(--forest), #265f50);
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--serif);
    font-size: 3rem;
}

.pagination {
    margin-top: 3rem;
}

.pagination nav > div:first-child {
    display: none;
}

.pagination nav > div:last-child,
.pagination nav > div:last-child > div:last-child > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.pagination nav p {
    display: none;
}

.pagination a,
.pagination span[aria-current="page"] > span,
.pagination span[aria-disabled="true"] > span {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper-light);
    font-size: 0.78rem;
}

.pagination span[aria-current="page"] > span {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.pagination svg {
    width: 16px;
    height: 16px;
}

.channel-banner {
    padding: 6rem 0;
    background: var(--forest);
    color: var(--white);
}

.channel-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
    align-items: end;
    gap: 5rem;
}

.channel-banner h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.channel-banner__action p {
    margin: 0 0 1.5rem;
    color: #c8d8d2;
}

.article-header {
    padding: clamp(4rem, 8vw, 7.5rem) 0 3rem;
}

.article-header__inner {
    max-width: 960px;
}

.article-header__meta {
    margin-top: 3rem;
}

.article-header h1 {
    margin-top: 1.35rem;
    font-size: clamp(3.4rem, 7vw, 7rem);
}

.article-header__inner > p {
    max-width: 760px;
    margin: 1.8rem 0 0;
    color: #52544d;
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

.article-cover {
    width: min(1300px, calc(100% - 24px));
    max-height: 760px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    background: #d9d4c8;
}

.article-cover img {
    width: 100%;
    max-height: 760px;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 740px);
    justify-content: center;
    gap: clamp(2rem, 8vw, 7rem);
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.article-aside {
    display: flex;
    align-self: start;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.6rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.article-aside span:first-child {
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.audio-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.65fr) minmax(250px, 1fr);
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.6rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper-light);
}

.audio-card > div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.audio-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 0.72rem;
}

.audio-card strong,
.audio-card small {
    display: block;
}

.audio-card small {
    color: var(--muted);
}

.audio-card audio {
    width: 100%;
}

.article-prose {
    color: #262722;
    font-family: var(--serif);
    font-size: clamp(1.12rem, 1.65vw, 1.28rem);
    line-height: 1.85;
}

.article-prose > *:first-child {
    margin-top: 0;
}

.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose blockquote {
    margin: 0 0 1.55em;
}

.article-prose h2,
.article-prose h3 {
    margin: 1.7em 0 0.65em;
    color: var(--ink);
    font-family: var(--sans);
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.article-prose h2 {
    font-size: 1.9rem;
}

.article-prose h3 {
    font-size: 1.45rem;
}

.article-prose a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.article-prose blockquote {
    padding: 0.3rem 0 0.3rem 1.4rem;
    border-left: 3px solid var(--accent);
    color: #55574f;
    font-style: italic;
}

.article-prose li + li {
    margin-top: 0.55rem;
}

.article-cta {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: var(--radius);
    background: var(--forest);
    color: var(--white);
}

.article-cta__mark {
    width: 64px;
    height: 64px;
}

.article-cta h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
}

.article-cta p:not(.eyebrow) {
    color: #c8d8d2;
}

.article-cta .button {
    margin-top: 0.5rem;
}

.related {
    padding-top: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.related-card {
    min-width: 0;
}

.related-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 0.8rem;
}

.related-card time {
    display: block;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.69rem;
    font-weight: 800;
}

.related-card h3 {
    margin: 0.55rem 0 0.8rem;
    font-size: 1.55rem;
    line-height: 1.08;
}

.empty-state {
    width: min(720px, calc(100% - 40px));
    min-height: 65vh;
    margin: 0 auto;
    padding: 7rem 0;
    text-align: center;
}

.empty-state__code {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 8rem;
    line-height: 0.8;
    opacity: 0.18;
}

.empty-state .eyebrow {
    justify-content: center;
    margin-top: 2rem;
}

.empty-state h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.empty-state > p:not(.eyebrow) {
    max-width: 560px;
    margin: 1.5rem auto 2rem;
    color: var(--muted);
}

.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(22, 23, 19, 0.13);
}

.site-footer__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.site-footer strong {
    font-family: var(--serif);
    font-size: 1.2rem;
}

.site-footer p {
    max-width: 590px;
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.site-footer a {
    font-size: 0.78rem;
    font-weight: 800;
}

@media (max-width: 960px) {
    .hero__inner,
    .channel-banner__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__note {
        max-width: 420px;
    }

    .featured-story {
        grid-template-columns: 1fr;
    }

    .featured-story__media {
        min-height: 430px;
    }

    .story-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .article-aside {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--line);
    }

    .article-aside span:first-child {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .site-header__inner,
    .site-footer__inner,
    .editorial-shell,
    .hero__inner,
    .channel-banner__inner,
    .article-header__inner,
    .article-layout {
        width: min(100% - 28px, 1180px);
    }

    .site-header__inner {
        min-height: 70px;
    }

    .site-brand small,
    .site-nav > a:not(.button) {
        display: none;
    }

    .site-nav {
        gap: 0;
    }

    .button--compact {
        min-height: 38px;
        padding-inline: 0.85rem;
        font-size: 0.72rem;
    }

    .hero {
        padding: 4rem 0 4.5rem;
    }

    .hero::after {
        top: -5rem;
        right: -11rem;
        width: 360px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 15vw, 5rem);
    }

    .hero__lead {
        font-size: 1.08rem;
    }

    .hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .editorial-shell {
        padding-bottom: 5rem;
    }

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

    .featured-story {
        min-height: 0;
    }

    .featured-story__media {
        min-height: 290px;
    }

    .featured-story__body {
        padding: 1.5rem;
    }

    .featured-story h2 {
        font-size: 2.4rem;
    }

    .story-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .pagination nav,
    .pagination nav > div:last-child,
    .pagination nav > div:last-child > div:last-child,
    .pagination nav > div:last-child > div:last-child > span {
        max-width: 100%;
    }

    .pagination nav > div:last-child > div:last-child > span {
        flex-wrap: wrap;
    }

    .channel-banner {
        padding: 4.5rem 0;
    }

    .channel-banner h2 {
        font-size: 3.25rem;
    }

    .article-header {
        padding-top: 3.5rem;
    }

    .article-header__meta {
        margin-top: 2.3rem;
    }

    .article-header h1 {
        font-size: clamp(3rem, 14vw, 4.6rem);
    }

    .article-cover {
        width: calc(100% - 16px);
        border-radius: 0.85rem;
    }

    .article-cover img {
        min-height: 300px;
    }

    .audio-card {
        grid-template-columns: 1fr;
    }

    .article-prose {
        font-size: 1.08rem;
        line-height: 1.78;
    }

    .article-cta {
        grid-template-columns: 1fr;
        padding: 1.6rem;
    }

    .article-cta__mark {
        width: 52px;
        height: 52px;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
