:root {
    --paper: #fdf7ec;
    --ink: #1e1b16;
    --ink-muted: #6d6455;
    --accent: #b1352f;
    --accent-light: #e6c8a1;
    --border: rgba(30, 27, 22, 0.1);
    --shadow: 0 25px 60px rgba(46, 38, 26, 0.18);
    font-family: 'Source Serif 4', 'Times New Roman', 'Songti SC', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.pf-body {
    margin: 0;
    background: radial-gradient(circle at top, #f7f2e7 0%, #f1e3c7 50%, #e5d4b2 100%);
    color: var(--ink);
}

.pf-body a {
    color: inherit;
    text-decoration: none;
}

.pf-shell {
    display: flex;
    min-height: 100vh;
}

.pf-aside {
    width: 320px;
    padding: 2rem 1.5rem;
    background: var(--paper);
    box-shadow: 25px 0 60px rgba(61, 49, 32, 0.25);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.masthead {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.masthead .logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.15);
}

.masthead h1 {
    margin: 0;
    font-family: 'Playfair Display', 'Songti SC', serif;
    letter-spacing: 0.08em;
}

.masthead p {
    margin: 0.1rem 0 0;
    font-size: 0.85rem;
    color: var(--ink-muted);
    letter-spacing: 0.2em;
}

.search {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: #fffdf6;
}

.search input {
    border: none;
    padding: 0.5rem 0.9rem;
    flex: 1;
    font-size: 0.95rem;
    font-family: inherit;
    background: transparent;
}

.search button {
    border: none;
    background: var(--ink);
    color: #fff;
    padding: 0 1rem;
    cursor: pointer;
    font-family: inherit;
}

.nav {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.nav p {
    margin: 0 0 0.4rem;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.nav a {
    position: relative;
    padding: 0.35rem 0.6rem 0.35rem 1.4rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.nav a:hover {
    border-color: rgba(0, 0, 0, 0.12);
    background: #fffdf6;
    color: var(--accent);
}

.nav a::before {
    content: "•";
    position: absolute;
    left: 0.6rem;
    color: var(--accent);
}

.nav-empty {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.nav-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--paper);
    box-shadow: var(--shadow);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ink);
}

.pf-content {
    flex: 1;
    padding: 2rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fold {
    background: var(--paper);
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.fold-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.fold-head h2 {
    margin: 0.3rem 0 0;
}

.fold-head small {
    display: block;
    color: var(--ink-muted);
    margin-top: 0.25rem;
}

.rubric {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--ink-muted);
}

.link {
    color: var(--accent);
    font-size: 0.95rem;
    text-decoration: none;
}

.fold-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.headline {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.headline--featured {
    grid-column: span 2;
}

.headline__thumb img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.headline__body {
    padding: 0.9rem 1rem 1.2rem;
}

.headline__body .overline {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ink-muted);
    text-transform: uppercase;
}

.headline__body .title {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin: 0.4rem 0;
    color: var(--ink);
    text-decoration: none;
}

.headline__body .excerpt {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

.columns {
    margin-top: 1.3rem;
    column-count: 2;
    column-gap: 1.2rem;
}

.column-card {
    break-inside: avoid;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 0.8rem;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.15);
    padding-bottom: 0.8rem;
}

.column-card .thumb {
    flex: 0 0 120px;
}

.column-card img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.column-card .title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.column-card .meta {
    margin: 0.2rem 0;
    color: var(--ink-muted);
    font-size: 0.85rem;
}

.column-card .excerpt {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.85rem;
}

.pager {
    margin-top: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pager a {
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    color: var(--ink);
}

.pager .disabled {
    opacity: 0.4;
    pointer-events: none;
}

.fold--detail .detail-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
}

.detail-wrap .poster {
    position: relative;
}

.detail-wrap .poster img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-wrap .poster span {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.8rem;
}

.story h1 {
    margin: 0.4rem 0;
    font-size: 2rem;
}

.story .lead {
    margin: 0;
    color: var(--ink-muted);
}

.factline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.factline dt {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--ink-muted);
}

.factline dd {
    margin: 0.2rem 0 0;
}

.article {
    color: var(--ink);
    line-height: 1.8;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
}

.press-player__screen {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#artplayer-container {
    width: 100%;
    height: clamp(240px, 50vw, 520px);
}

.press-player__controls {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.control span {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--ink-muted);
}

.control__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    padding: 0.25rem 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

.chip.active,
.chip:hover {
    background: var(--ink);
    color: #fff;
}

.pf-footer {
    text-align: center;
    color: var(--ink-muted);
    padding: 1.4rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .pf-aside {
        position: fixed;
        inset: 0 auto 0 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 10;
    }
    .pf-aside[data-open="true"] {
        transform: translateX(0);
    }
    .nav-toggle {
        display: flex;
    }
    .pf-content {
        margin-left: 0;
        padding-top: 5rem;
    }
    .fold--detail .detail-wrap {
        grid-template-columns: 1fr;
    }
    .columns {
        column-count: 1;
    }
}

