/* Listen While You Drive — letterhead, simple stacked scroll */

:root {
    --ink: #0e1a2e;
    --navy: #173056;
    --gold: #b08a3e;
    --gold-soft: #d9c38a;
    --page: #fbf7f0;
    --rule: #d4c7ad;
    --text: #1c1a16;
    --muted: #6f675b;
    --shadow: 0 18px 50px rgba(14, 26, 46, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #e7dfd0;
}

body {
    font-family: "Libre Baskerville", Georgia, serif;
    background:
        radial-gradient(ellipse at 50% 0%, #f4ecdf 0%, #e7dfd0 58%, #d9d0bf 100%);
    color: var(--text);
    line-height: 1.7;
    padding: 3rem 1.25rem 3rem;
}

.container {
    max-width: 780px;
    margin: 0 auto;
    background: var(--page);
    border: 1px solid #c9b896;
    box-shadow:
        0 0 0 6px var(--page),
        0 0 0 7px #c9b896,
        var(--shadow);
}

.header {
    background: var(--page);
    color: var(--ink);
    padding: 2.6rem 1.75rem 1.5rem;
    text-align: center;
}

.header h1 {
    margin: 0;
    font-family: "Cormorant Garamond", "Palatino Linotype", serif;
    font-size: clamp(1.85rem, 4.6vw, 2.55rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink);
    line-height: 1.15;
}

.header p {
    margin: 0.9rem 0 0;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.header::after {
    content: "";
    display: block;
    width: 72px;
    height: 0;
    margin: 1.3rem auto 0;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-top: 3px;
}

.player-container {
    width: 100%;
}

.media-card {
    padding: 1.5rem 2.35rem 1.55rem;
    background: transparent;
    border-bottom: 1px solid var(--rule);
}

.episode-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 500;
    color: var(--ink);
    text-align: center;
    margin: 0 0 0.25rem;
}

.episode-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    margin: 0.55rem auto 0;
    background: var(--gold);
}

.episode-date {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    margin: 0.65rem 0 1rem;
}

.audio-player,
.video-player {
    width: 100%;
    outline: none;
    min-height: 44px;
}

.video-player {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.audio-player::-webkit-media-controls-panel,
.video-player::-webkit-media-controls-panel {
    background-color: #efe8d8;
}

.footer {
    background: var(--ink);
    color: #efe7d8;
    text-align: center;
    padding: 1.35rem 1rem 1.5rem;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.footer p {
    margin: 0.25rem 0;
    line-height: 1.7;
}

.footer a {
    color: var(--gold-soft);
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    body {
        padding: 0;
        background: var(--page);
    }

    .container {
        border: 0;
        box-shadow: none;
    }

    .header {
        padding: 2.1rem 1.2rem 1.2rem;
    }

    .header h1 {
        letter-spacing: 0.03em;
        font-size: 1.7rem;
    }

    .media-card {
        padding: 1.35rem 1.2rem 1.4rem;
    }
}
