:root {
    --bg: #f5f0e8;
    --dark: #2a2a2a;
    --accent: #a67c52;
    --text: #1a1a1a;
    --muted: #555;
    --line: #d8d0c4;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.site-header { background: var(--dark); color: #fff; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1.5rem;
    flex-wrap: nowrap;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
    min-width: 0;
}
.logo-mark {
    width: 48px; height: 48px; border-radius: 50%; background: #444;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700; letter-spacing: .05em;
    flex-shrink: 0;
}
.logo-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo-text {
    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.main-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}
.nav-link { color: #ddd; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--accent); }

.page-section { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.page-section:last-child { border-bottom: 0; }
.page-heading { font-size: 2.5rem; margin: 0 0 1.5rem; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.hero-image { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ccc; }
.hero-title { font-size: 2.75rem; margin: 0 0 .5rem; line-height: 1.1; }
.hero-subtitle { font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }
.hero-body { margin: 0 0 1.5rem; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; align-items: start; }
.about-grid h2 { font-size: 2.25rem; margin: 0; }

.topic-row {
    display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
    padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: center;
}
.topic-row:last-child { border-bottom: 0; }
.topic-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ccc; }
.topic-title { font-size: 1.75rem; margin: 0 0 .5rem; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
    background: #fff; border: 1px solid var(--line); padding: 1rem;
}
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 1rem; }

.episode-list-item {
    display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem;
    padding: 1.5rem 0; border-bottom: 1px solid var(--line);
    align-items: start;
}
.episode-list-item img,
.episode-list-item .episode-thumb-placeholder {
    width: 240px;
    height: 240px;
    object-fit: cover;
    display: block;
    background: #ccc;
}

.demo-banner {
    background: #3d342a; color: #f5f0e8; padding: 1rem 1.25rem;
    border-left: 4px solid var(--accent); margin-bottom: 2rem;
}

.btn {
    display: inline-block; padding: .75rem 1.5rem; text-decoration: none;
    background: var(--dark); color: #fff; border: none; cursor: pointer; font-size: .95rem;
}
.btn:hover { background: #444; }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-accent { background: var(--accent); }

.site-footer { background: var(--dark); color: #fff; padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-inner { text-align: center; }
.newsletter-block h2 { font-family: Georgia, serif; font-weight: 400; margin: 0 0 1.25rem; }
.newsletter-form { max-width: 420px; margin: 0 auto 2rem; display: grid; gap: .75rem; }
.newsletter-form input[type=email] {
    width: 100%; padding: .75rem 1rem; border: none; font-size: 1rem;
}
.consent-label { font-size: .85rem; color: #ccc; display: flex; gap: .5rem; align-items: flex-start; text-align: left; }
.footer-copy { color: #999; font-size: .85rem; margin: 0; }

.flash { padding: .75rem 1rem; margin: 1rem 0; border-radius: 4px; }
.flash-success { background: #d4edda; color: #155724; }
.flash-error { background: #f8d7da; color: #721c24; }

.prose p { margin: 0 0 1rem; }
.audio-embed { margin: 2rem 0; }
.audio-embed audio { width: 100%; }

.listen-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.btn-outline-dark { background: transparent; border: 1px solid var(--dark); color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }

.about-page { max-width: 720px; }
.about-intro { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.about-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1.25rem; }
.about-tagline { font-size: 1.15rem; font-weight: 600; color: var(--accent); margin: 0 0 .5rem; }
.about-host { font-size: 1rem; color: var(--muted); margin: 0; }
.about-prose { margin-bottom: 2.5rem; }
.about-themes { margin-bottom: 2.5rem; padding-top: .5rem; }
.about-themes h2, .about-listen h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.about-themes ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.about-themes li { margin-bottom: .5rem; }
.about-note { color: var(--muted); font-size: .95rem; }
.about-listen { padding-top: 1.5rem; border-top: 1px solid var(--line); }

.topic-resources { max-width: 720px; }
.topic-link-list { list-style: none; margin: 0; padding: 0; }
.topic-link-list li { margin-bottom: 1.25rem; }
.topic-link-list a { color: var(--accent); text-decoration: underline; font-weight: 600; }
.topic-resource-desc { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.topic-resource-item { margin-bottom: 1.25rem; }
.topic-media-list { display: flex; flex-direction: column; gap: 1.75rem; }
.topic-media-item h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.topic-media-player { width: 100%; max-width: 640px; margin-top: .5rem; }
.btn-secondary { background: #fff; border: 1px solid var(--dark); color: var(--dark); }
.btn-secondary:hover { background: var(--dark); color: #fff; }

@media (max-width: 768px) {
    .hero-grid, .about-grid, .topic-row, .episode-list-item { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .episode-list-item img,
    .episode-list-item .episode-thumb-placeholder {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 1;
    }
    .header-inner { gap: .75rem; min-height: 64px; }
    .logo-img, .logo-mark { width: 40px; height: 40px; }
    .logo-text { font-size: .8rem; }
    .main-nav { gap: .75rem; overflow-x: auto; }
    .nav-link { font-size: .85rem; }
}
