:root {
    --paper: #f5f2ec;
    --ink: #242820;
    --muted: #787b70;
    --red: #b6412f;
    --line: #dcded2;
    --green: #214e3c;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: wait;
    opacity: 0.55;
}
img {
    max-width: 100%;
    display: block;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3 {
    line-height: 1.15;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}
.site-header {
    max-width: 1380px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    border-bottom: 1px solid var(--line);
    gap: 24px;
}
.brand {
    font-weight: 800;
    letter-spacing: -1.5px;
    font-size: 28px;
    display: block;
    line-height: 1.1;
}
.brand > i {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid currentColor;
    margin-right: 12px;
    font-size: 22px;
    font-style: normal;
    transform: rotate(-6deg);
    color: var(--red);
}
.brand > span {
    font-weight: 400;
}
.brand small {
    display: block;
    margin-top: 9px;
    font: 9px Arial;
    letter-spacing: 2.3px;
}
.site-header nav {
    display: flex;
    gap: 28px;
    font-size: 12px;
    align-items: center;
}
.nav-admin {
    border: 1px solid var(--line);
    padding: 10px 18px;
    border-radius: 99px;
}
.public-main {
    max-width: 1300px;
    margin: auto;
    padding: 0 40px;
}
.journal-masthead {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 10px;
    letter-spacing: 1.8px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}
.intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    padding: 55px 0 50px;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
    color: var(--red);
    font-weight: 600;
}
.intro h1 {
    font-family: Georgia, serif;
    font-size: clamp(48px, 6.4vw, 88px);
    letter-spacing: -4px;
    line-height: 1.03;
    margin-top: 18px;
    font-weight: 400;
}
.intro h1 em {
    color: var(--red);
    font-weight: 400;
}
.intro > p {
    max-width: 300px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
    padding-bottom: 8px;
}
.lead-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    background: #e8e8dc;
    border: 1px solid #d7d9cc;
}
.lead-art {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background: #272e25;
    min-height: 460px;
}
.lead-art img {
    height: 100%;
    max-height: 550px;
    object-fit: contain;
}
.lead-art > span {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--paper);
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: 1.5px;
}
.lead-copy {
    padding: clamp(26px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lead-copy h2 {
    font-family: Georgia, serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    letter-spacing: -1px;
    margin: 23px 0;
}
.lead-copy > p:not(.eyebrow) {
    font-size: 14px;
    color: #666d60;
    line-height: 1.8;
}
.lead-copy > span {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c8cebd;
    margin-top: 35px;
    padding-top: 20px;
    font-size: 12px;
}
.lead-copy b {
    font-size: 24px;
    font-weight: 400;
}
.article-section {
    padding: 60px 0;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.section-heading h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: -0.8px;
    margin-top: 8px;
}
.section-heading > span {
    font-size: 11px;
    color: var(--muted);
}
.search-form {
    display: flex;
    gap: 12px;
    margin: 22px 0 30px;
    align-items: flex-end;
}
.search-form > input {
    flex: 1;
    min-width: 0;
}
.search-form input,
.search-form select {
    margin: 0;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    border: 1px solid transparent;
    background: var(--green);
    color: #fff;
    padding: 11px 20px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.button.subtle {
    border-color: var(--line);
    color: inherit;
    background: transparent;
}
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 30px;
}
.story-card {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.story-poster {
    background: #dfe2d6;
    display: flex;
    justify-content: center;
    height: 290px;
    overflow: hidden;
    margin-bottom: 20px;
}
.story-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    transition: transform 0.35s;
}
.story-poster:hover img {
    transform: scale(1.035);
}
.story-card .eyebrow {
    font-size: 9px;
}
.story-card .eyebrow span {
    color: var(--muted);
}
.story-card h3 {
    font:
        400 25px/1.22 Georgia,
        serif;
    letter-spacing: -0.5px;
    margin: 13px 0;
}
.story-card div > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
.read-link {
    font-size: 11px;
    display: block;
    margin-top: 18px;
    color: var(--red);
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 35px;
    font-size: 12px;
}
.pagination > span {
    margin-right: auto;
    color: var(--muted);
}
.empty-editorial {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed var(--line);
}
.empty-editorial > span {
    font-size: 45px;
    color: var(--red);
}
.empty-editorial h2 {
    font:
        400 36px Georgia,
        serif;
    margin: 10px 0 20px;
}
.empty-editorial p {
    color: var(--muted);
    font-size: 13px;
}
.site-footer {
    max-width: 1300px;
    margin: auto;
    border-top: 1px solid var(--line);
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}
.site-footer .brand {
    font-size: 22px;
}
.site-footer p,
.site-footer > span {
    font-size: 11px;
    color: var(--muted);
}
.site-footer > span {
    margin-left: auto;
}
.reading-page {
    max-width: 1120px;
    margin: auto;
    padding: 35px 40px 75px;
}
.breadcrumb {
    font-size: 12px;
    color: var(--muted);
}
.reading-header {
    padding: 45px 0 35px;
    max-width: 930px;
}
.reading-header h1 {
    font:
        400 clamp(36px, 5vw, 64px)/1.1 Georgia,
        serif;
    letter-spacing: -2px;
    margin: 20px 0;
}
.reading-deck {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
}
.byline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--muted);
}
.reading-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 60px;
}
.reading-sidebar img {
    width: 100%;
    border-radius: 4px;
}
.reading-sidebar dl {
    font-size: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.reading-sidebar dd {
    margin: 0;
    text-align: right;
}
.reading-sidebar dt {
    color: var(--muted);
}
.prose {
    font:
        18px/1.95 Georgia,
        serif;
    overflow-wrap: anywhere;
}
.prose > p {
    margin-bottom: 25px;
}
.prose h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 40px 0 22px;
    font-weight: 500;
    letter-spacing: -0.5px;
}
.source-note {
    font:
        12px/1.8 Arial,
        sans-serif;
    border-top: 1px solid var(--line);
    padding: 25px 0;
    color: var(--muted);
}
.prose .button {
    font-family: Arial, sans-serif;
}
label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}
input,
select,
textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #ccd1c4;
    border-radius: 5px;
    background: #fffef9;
    color: var(--ink);
    margin-top: 8px;
}
textarea {
    resize: vertical;
    line-height: 1.7;
    font-size: 14px;
}
.admin-body {
    --paper: #f3f4ee;
    --line: #d9ded2;
    background: var(--paper);
}
.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 245px;
    padding: 35px 25px;
    background: #17372b;
    color: #f0f4e9;
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.admin-sidebar .brand {
    font-size: 30px;
}
.admin-sidebar .brand span {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
}
.admin-sidebar > small {
    font-size: 9px;
    letter-spacing: 2px;
    color: #a6b8a1;
}
.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.admin-sidebar nav a {
    padding: 14px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-radius: 5px;
    color: #b5c4b0;
}
.admin-sidebar nav a.active {
    color: #fff;
    background: #ffffff12;
}
.admin-sidebar > a:not(.brand) {
    font-size: 12px;
    margin-top: auto;
}
.admin-sidebar .logout {
    margin: 0;
}
.admin-sidebar .logout button {
    width: 100%;
    border-color: #ffffff25;
    font-size: 11px;
}
.admin-main {
    margin-left: 245px;
    max-width: 1600px;
    padding: 40px;
}
.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}
.admin-heading p {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 12px;
}
.admin-heading h1 {
    font:
        400 38px Georgia,
        serif;
    letter-spacing: -1px;
}
.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 99px;
    font-size: 10px;
}
.status.draft {
    background: #eee3bd;
    color: #75632c;
}
.status.published {
    background: #d6e6d9;
    color: #28573a;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}
.admin-stats article {
    border: 1px solid var(--line);
    padding: 24px;
    border-radius: 8px;
    background: #fffefa;
}
.admin-stats p {
    font-size: 11px;
    color: var(--muted);
}
.admin-stats strong {
    display: block;
    font:
        400 42px Georgia,
        serif;
    margin-top: 14px;
}
.panel {
    padding: 28px;
    border: 1px solid var(--line);
    background: #fffefa;
    border-radius: 9px;
}
.panel h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.panel .section-heading h2 {
    margin: 0;
    font:
        400 27px Georgia,
        serif;
}
.panel-intro {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 800px;
    margin-bottom: 28px;
}
.table-scroll {
    overflow: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
}
th {
    text-align: left;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
}
td {
    padding: 18px 12px;
    border-bottom: 1px solid #e7e9e1;
}
td:first-child {
    min-width: 220px;
    max-width: 420px;
}
td a {
    color: var(--green);
    white-space: nowrap;
}
.muted {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 20px;
}
.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}
.editor-aside {
    position: sticky;
    top: 25px;
}
.editor-aside > img {
    height: 200px;
    object-fit: contain;
    background: #e4e7dc;
    width: 100%;
    margin-bottom: 25px;
}
.editor-aside .button {
    width: 100%;
    margin-top: 12px;
}
.editor-aside .eyebrow {
    display: block;
    margin-bottom: 10px;
}
.import-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}
.import-result {
    display: flex;
    gap: 18px;
    padding: 20px;
}
.import-result > img {
    width: 90px;
    height: 135px;
    object-fit: cover;
    flex: none;
}
.import-result h2 {
    font-size: 16px;
    margin-bottom: 12px;
}
.import-result p {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 15px;
}
.import-result .button {
    font-size: 10px;
    min-height: 36px;
    padding: 8px 12px;
}
.search-form label {
    flex: 1;
    margin: 0;
}
.login-shell {
    max-width: 430px;
    margin: 70px auto;
    padding: 30px;
}
.login-shell .brand {
    margin-bottom: 65px;
}
.login-shell h1 {
    font:
        400 48px Georgia,
        serif;
    letter-spacing: -2px;
    margin: 20px 0;
}
.login-shell > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 35px;
}
.login-shell .button {
    width: 100%;
}
.notice-stack {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
    width: min(350px, calc(100vw - 40px));
    pointer-events: none;
}
.notice {
    border: 1px solid #b9cbb4;
    background: #17372b;
    color: #fff;
    padding: 18px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 8px 30px #0002;
    overflow-wrap: anywhere;
}
.notice.error {
    background: #6e3028;
    border-color: #c9948d;
}
@media (max-width: 1000px) {
    .site-header,
    .public-main {
        padding-left: 24px;
        padding-right: 24px;
    }
    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-sidebar {
        width: 200px;
        padding: 25px 18px;
    }
    .admin-main {
        margin-left: 200px;
        padding: 25px;
    }
    .editor-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .editor-aside {
        position: static;
    }
    .import-grid {
        grid-template-columns: 1fr;
    }
    .reading-layout {
        gap: 30px;
        grid-template-columns: 170px minmax(0, 1fr);
    }
}
@media (max-width: 650px) {
    .site-header {
        padding: 22px 20px;
        gap: 12px;
    }
    .brand {
        font-size: 23px;
    }
    .brand small {
        font-size: 7px;
        letter-spacing: 1.5px;
    }
    .brand > i {
        width: 26px;
        height: 26px;
        margin-right: 8px;
        font-size: 18px;
    }
    .site-header nav {
        gap: 12px;
        font-size: 10px;
    }
    .nav-admin {
        display: none;
    }
    .journal-masthead {
        font-size: 8px;
        letter-spacing: 0.8px;
    }
    .public-main {
        padding: 0 20px;
    }
    .intro {
        padding: 32px 0;
        display: block;
    }
    .intro h1 {
        font-size: 57px;
        letter-spacing: -3px;
    }
    .intro > p {
        font-size: 12px;
        margin-top: 25px;
        max-width: 330px;
    }
    .lead-story {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .lead-art {
        min-height: 300px;
        max-height: 360px;
    }
    .lead-art img {
        height: 360px;
    }
    .lead-copy {
        padding: 28px;
    }
    .lead-copy h2 {
        font-size: 31px;
        margin: 18px 0;
    }
    .lead-copy > p:not(.eyebrow) {
        font-size: 12px;
    }
    .lead-copy > span {
        margin-top: 25px;
    }
    .article-section {
        padding: 38px 0;
    }
    .section-heading h2 {
        font-size: 28px;
    }
    .search-form {
        flex-wrap: wrap;
        gap: 10px;
    }
    .search-form > input {
        flex-basis: 100%;
    }
    .search-form > select {
        flex: 1;
        min-width: 0;
    }
    .search-form > .button {
        flex: none;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .story-card {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 18px;
    }
    .story-poster {
        height: 165px;
        margin: 0;
    }
    .story-poster img {
        object-fit: cover;
    }
    .story-card h3 {
        font-size: 21px;
        margin: 10px 0;
    }
    .story-card .eyebrow {
        font-size: 8px;
        letter-spacing: 0.7px;
    }
    .story-card div > p:not(.eyebrow) {
        font-size: 11px;
    }
    .read-link {
        margin-top: 12px;
    }
    .site-footer {
        padding: 30px 20px;
        gap: 15px;
    }
    .site-footer > span {
        margin-left: 0;
    }
    .reading-page {
        padding: 25px 20px 50px;
    }
    .reading-header {
        padding: 30px 0;
    }
    .reading-header h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }
    .reading-deck {
        font-size: 13px;
    }
    .byline {
        gap: 12px;
        font-size: 10px;
    }
    .reading-layout {
        display: block;
    }
    .reading-sidebar {
        display: flex;
        gap: 20px;
        margin-bottom: 30px;
        padding: 20px;
        background: #e9eade;
    }
    .reading-sidebar img {
        width: 95px;
        height: 140px;
        object-fit: cover;
    }
    .reading-sidebar dl {
        flex: 1;
        font-size: 11px;
    }
    .prose {
        font-size: 17px;
        line-height: 1.9;
    }
    .prose h2 {
        font-size: 26px;
    }
    .pagination {
        flex-wrap: wrap;
        font-size: 10px;
    }
    .admin-sidebar {
        position: static;
        width: 100%;
        padding: 20px;
        gap: 15px;
    }
    .admin-sidebar > small,
    .admin-sidebar > a:not(.brand),
    .admin-sidebar .logout {
        display: none;
    }
    .admin-sidebar nav {
        flex-direction: row;
        gap: 5px;
    }
    .admin-sidebar nav a {
        padding: 10px;
        font-size: 11px;
    }
    .admin-sidebar nav a span {
        display: none;
    }
    .admin-main {
        margin: 0;
        padding: 24px 16px;
    }
    .admin-heading h1 {
        font-size: 30px;
    }
    .admin-heading {
        margin-bottom: 25px;
    }
    .admin-stats {
        gap: 8px;
    }
    .admin-stats article {
        padding: 15px 10px;
    }
    .admin-stats p {
        font-size: 9px;
    }
    .admin-stats strong {
        font-size: 32px;
    }
    .panel {
        padding: 20px;
    }
    .search-form label {
        flex-basis: 100%;
    }
    .search-form label > select,
    .search-form label > input {
        margin: 6px 0 0;
    }
    .import-result {
        gap: 14px;
    }
    .import-result > img {
        width: 75px;
        height: 115px;
    }
    .login-shell {
        margin: 25px auto;
    }
    .login-shell .brand {
        margin-bottom: 40px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .story-poster img {
        transition: none;
    }
}
