/* =========================================================
   TATE HARRISON MEDIA — GLOBAL STYLESHEET
   =========================================================
   Brand palette (matches the real, current live site at
   tatehenryharrison-creator.github.io — pulled from its
   origin/main on 2026-09-23, NOT the old Inter/dark look this
   file used to describe):

     Page background ....... #f5f4f0  (parchment/cream)
     Body text ............. #1C1A14  (near-black)
     Muted body text ....... #635f51  (subtext, paragraphs)
     Faint muted text ...... #a8a49c  (hero subtext, secondary)
     Gold accent ........... #C9A84C
     Blue-gray accent ...... #5C6E82

   Fonts, self-hosted via css/fonts.css (see that file):
     "Cinzel"          — h1 / h2 titles
     "EB Garamond"     — nav, labels, UI, subtext
     "IM Fell English" — body copy (default on <body>)

   HOW THIS FILE IS ORGANIZED (top to bottom):
   1. Reset & base
   2. Nav
   3. Buttons & links
   4. Hero
   5. Section layout helpers
   6. Episode grid / cards (blog + video + podcast list)
   7. Single-episode page
   8. About page
   9. Contact / subscribe
   10. Footer
   11. Mobile responsive

   Edit any color/size directly in Dreamweaver's CSS Designer —
   every rule below uses plain hex values (no variables) so the
   color swatch picker works normally on each one.
   ========================================================= */

/* 1. RESET & BASE ---------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'IM Fell English', serif;
    background: #f5f4f0;
    color: #1C1A14;
}

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

h1, h2 { margin: 0 0 10px 0; font-family: 'Cinzel', serif; font-weight: 400; }
h3 { margin: 0 0 10px 0; font-family: 'EB Garamond', serif; font-weight: 600; }

p { margin: 0 0 16px 0; color: #635f51; line-height: 1.6; }

a { color: inherit; }

/* Simple placeholder blocks — stand in for real photos/video
   until real media is dropped in. Safe to delete once you
   replace the <img>/<video> tag that uses this class. */
.placeholder-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ece8e0;
    border: 1px dashed #c7c2b4;
    color: #8a8575;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    min-height: 220px;
}

/* 2. NAV --------------------------------------------------- */
nav {
    padding: 4px 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f4f0;
    border-bottom: 1px solid rgba(28,26,20,0.12);
    position: sticky;
    top: 0;
    z-index: 300;
}

nav .brand {
    display: flex;
    align-items: center;
    color: #1C1A14;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

/* Logo is a stacked mark + wordmark. Kept as short as possible while
   the wordmark stays readable. */
.nav-logo {
    height: 62px;
    width: auto;
    display: block;
    transition: opacity 0.25s ease;
}

nav .brand:hover .nav-logo { opacity: 0.8; }

nav .nav-links a {
    color: #1C1A14;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    margin-left: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

nav .nav-links a:hover { opacity: 1; }

/* 3. BUTTONS & LINKS ---------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #1C1A14;
    border-radius: 30px;
    color: #1C1A14;
    font-family: 'EB Garamond', serif;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: #1C1A14;
    color: #f5f4f0;
}

.contact-link {
    color: #1C1A14;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s ease;
}

.contact-link:hover { opacity: 0.7; }

.contact-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: #1C1A14;
    transition: width 0.3s ease;
}

.contact-link:hover::after { width: 100%; }

/* 4. HERO (podcast-style layout, solid brand colors — no photo) --- */
.podcast-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    padding: 70px 6% 50px;
    overflow: hidden;
    background: #C9A84C;
}

/* Parchment card holding the podcast content, on the solid gold hero */
.podcast-hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    background: #f5f4f0;
    border-radius: 24px;
    padding: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1.2s ease forwards;
}

@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }

.podcast-hero-text { flex: 1.3; min-width: 0; }

.hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.6vw, 3.2rem);
    line-height: 1.15;
    margin: 0 0 10px;
    color: #1C1A14;
}

.podcast-hero-host {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(28,26,20,0.7);
    margin: 0 0 22px;
}

.podcast-hero-intro {
    font-family: 'IM Fell English', serif;
    color: rgba(28,26,20,0.65);
    max-width: 520px;
    line-height: 1.7;
    margin: 0 0 26px;
}

.podcast-hero-text .btn { border-color: #1C1A14; color: #1C1A14; }
.podcast-hero-text .btn:hover { background: #1C1A14; color: #f5f4f0; }

/* Cover art + subscribe + social column */
.podcast-hero-cover-col {
    flex-shrink: 0;
    width: 280px;
}

.podcast-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    border: 6px solid rgba(245,244,240,0.9);
    box-shadow: 0 18px 40px rgba(28,26,20,0.25);
}

.podcast-cover img { width: 100%; height: 100%; object-fit: cover; }

.podcast-subscribe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.subscribe-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1C1A14;
    color: #f5f4f0;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-family: 'EB Garamond', serif;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.subscribe-badge:hover { opacity: 0.82; }
.subscribe-badge svg { width: 18px; height: 18px; flex-shrink: 0; }

.podcast-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(245,244,240,0.85);
    color: #1C1A14;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.social-icon:hover { background: #f5f4f0; }
.social-icon svg { width: 17px; height: 17px; }

/* Scroll arrow — bottom of the photo, scrolls to the next section */
.scroll-arrow {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    animation: podcastArrowBounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 32px;
    height: 32px;
    stroke: rgba(28,26,20,0.6);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.scroll-arrow:hover svg { stroke: #1C1A14; }

.scroll-arrow-label {
    font-family: 'EB Garamond', serif;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(28,26,20,0.6);
}

@keyframes podcastArrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* 5. SECTION LAYOUT HELPERS ----------------------------------- */
.section {
    padding: 90px 10%;
}

.section-light {
    background: #ffffff;
    color: #1C1A14;
}

.section-light p { color: #635f51; }

.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'EB Garamond', serif;
    color: #8a8575;
    margin-bottom: 12px;
}

.section-heading {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.section-narrow {
    max-width: 720px;
    margin: 0 auto;
}

.center { text-align: center; }

.cta { text-align: center; }

/* 6. EPISODE GRID / CARDS (blog + video + podcast list) -------- */
/* Ken Burns background photo (the original hero image), now sitting
   behind the episode list instead of the hero. */
.episodes-section {
    position: relative;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    inset: -25%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    animation: heroKenBurns 24s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    0%   { transform: scale(1.00) translate(0%, 0%); }
    33%  { transform: scale(1.08) translate(-1.2%, -0.6%); }
    66%  { transform: scale(1.13) translate(1%, 0.5%); }
    100% { transform: scale(1.06) translate(0.5%, -1%); }
}

/* Parchment scrim so episode text stays readable over the photo */
.episodes-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(245,244,240,0.88);
}

.episodes-content {
    position: relative;
    z-index: 2;
}

/* Episode entries. Each one is written once, as a plain full-length
   block, in Library/episodes.lbi. js/episodes.js shortens it into a
   compact row on list pages (.is-compact), or expands it into the full
   page on episode.html (.is-detail). With no script, or in Dreamweaver's
   Design view, the full block simply shows as-is. */
.episode-list { margin-top: 40px; }

/* The blank starter in the Library file never shows on the site. */
.episode-entry-blank { display: none !important; }

.episode-entry {
    display: flex;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(28,26,20,0.1);
}

.episode-entry:first-child { padding-top: 0; }

.episode-entry-thumb {
    position: relative;
    flex: 0 0 240px;
}

.episode-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.episode-entry-body { flex: 1; min-width: 0; }

.episode-number-line {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'EB Garamond', serif;
    color: #a8a49c;
    margin-bottom: 8px;
}

.episode-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 8px;
}

.episode-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.episode-title a:hover { color: #5C6E82; }

.episode-guest {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: #635f51;
    margin: 0 0 10px;
}

.episode-desc { font-size: 0.95rem; margin-bottom: 16px; }

.more-link {
    color: #5C6E82;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.more-link:hover { text-decoration: underline; }

.episode-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-bottom: 0;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid rgba(28,26,20,0.35);
    background: transparent;
    color: #1C1A14;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-size: 0.85rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-youtube:hover { background: rgba(28,26,20,0.06); border-color: #1C1A14; }

/* "Listen" — the main button; added by js/episodes.js, turns into "Pause" while playing */
.btn-listen {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid #1C1A14;
    background: #1C1A14;
    color: #f5f4f0;
    font-family: 'EB Garamond', serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-listen:hover { opacity: 0.85; }
.btn-listen svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-listen .icon-pause,
.btn-listen .label-pause { display: none; }
.btn-listen.is-playing .icon-play,
.btn-listen.is-playing .label-play { display: none; }
.btn-listen.is-playing .icon-pause { display: block; }
.btn-listen.is-playing .label-pause { display: inline; }

.btn-youtube svg { width: 16px; height: 16px; flex-shrink: 0; }

.episode-audio {
    font-family: 'EB Garamond', serif;
    font-size: 0.85rem;
    color: #5C6E82;
    text-decoration: none;
}

.episode-audio:hover { text-decoration: underline; }

.episode-notes { margin-top: 26px; }
.episode-notes h4 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.episode-empty { text-align: center; padding: 40px 0; }
.episode-empty a { color: #5C6E82; }

/* Play button, added to each entry's thumbnail by js/episodes.js. It
   starts the site-wide audio player (js/player.js). */
.episode-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(28,26,20,0.78);
    color: #f5f4f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.episode-play-btn:hover { background: #1C1A14; transform: scale(1.06); }
.episode-play-btn svg { width: 18px; height: 18px; }
.episode-play-btn .icon-pause { display: none; }
.episode-play-btn.is-playing .icon-play { display: none; }
.episode-play-btn.is-playing .icon-pause { display: block; }
.episode-play-btn--large { width: 76px; height: 76px; }
.episode-play-btn--large svg { width: 28px; height: 28px; }

/* List pages: compact rows (the long extras stay hidden) */
.episode-list.is-compact .episode-notes,
.episode-list.is-compact .episode-audio { display: none; }

/* 7. SINGLE-EPISODE PAGE (episode.html) ---------------------------- */
.episode-back { max-width: 760px; margin: 0 auto 24px; }
.episode-back a { color: #5C6E82; text-decoration: none; font-family: 'EB Garamond', serif; }
.episode-back a:hover { text-decoration: underline; }

.episode-list.is-detail { margin-top: 0; }

.episode-list.is-detail .episode-entry {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    border-bottom: none;
    text-align: center;
}

.episode-list.is-detail .episode-entry-thumb { flex: none; width: 100%; max-width: 640px; }

.episode-list.is-detail .episode-thumb {
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(28,26,20,0.15);
}

.episode-list.is-detail .episode-entry-body { width: 100%; }

.episode-list.is-detail .episode-title {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 16px;
}

.episode-list.is-detail .episode-guest { font-size: 1.1rem; margin-bottom: 18px; }
.episode-list.is-detail .episode-desc { font-size: 1.05rem; text-align: left; margin-bottom: 22px; }
/* YouTube video, added by js/episodes.js from the entry's YouTube link */
.episode-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 26px;
    border-radius: 16px;
    overflow: hidden;
    background: #1C1A14;
    box-shadow: 0 18px 40px rgba(28,26,20,0.15);
}

.episode-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.episode-list.is-detail .episode-links { justify-content: center; }
.episode-list.is-detail .episode-notes { text-align: left; margin-top: 36px; }

/* "More to listen to" under an episode (built by js/episodes.js) */
.episode-more { max-width: 760px; margin: 72px auto 0; }

.episode-more-heading {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 1.5rem;
    margin: 0;
}

.episode-more .episode-list { margin-top: 24px; }

/* 8. ABOUT PAGE ------------------------------------------------- */
.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-photo {
    flex: 1;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
}

.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.about-content { flex: 1.2; min-width: 0; }

/* 9. CONTACT / SUBSCRIBE ------------------------------------------ */
.form-wrapper {
    max-width: 700px;
    margin: 30px auto 0 auto;
}

.form-wrapper iframe { width: 100%; border: none; }

/* 10. FOOTER -------------------------------------------------------- */
footer {
    text-align: center;
    padding: 40px 0;
    font-family: 'EB Garamond', serif;
    color: #a8a49c;
    font-size: 0.85rem;
}

.footer-divider {
    height: 1px;
    background: rgba(99,95,81,0.12);
    margin: 0 auto 28px;
    max-width: 440px;
}

/* Social icons with tooltips — reused in the footer and on contact.html */
.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(99,95,81,0.25);
    color: #635f51;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    border-color: #5C6E82;
    color: #5C6E82;
    background: rgba(92,110,130,0.08);
}

.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1C1A14;
    color: #f5f4f0;
    font-family: 'EB Garamond', serif;
    font-size: 0.66rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.social-link:hover::after { opacity: 1; }

/* 10b. SITE-WIDE MINI PLAYER ------------------------------------------ */
/* Fixed bar at the bottom of every page (see js/player.js). Hidden
   until an episode is played, then stays visible across pages. */
body.player-active { padding-bottom: 76px; }

.mini-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #1C1A14;
    padding: 12px 6%;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mini-player.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mini-player-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #2a2620;
}

.mini-player-body { flex: 1; min-width: 0; }

.mini-player-title {
    margin: 0 0 6px;
    font-family: 'EB Garamond', serif;
    font-size: 0.9rem;
    color: #f5f4f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-progress {
    height: 3px;
    border-radius: 2px;
    background: rgba(245,244,240,0.2);
    cursor: pointer;
}

.mini-player-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    background: #C9A84C;
}

.mini-player-playpause,
.mini-player-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #f5f4f0;
    cursor: pointer;
    padding: 6px;
}

.mini-player-playpause svg { width: 22px; height: 22px; }
.mini-player-playpause .icon-pause { display: none; }
.mini-player.is-playing .icon-play { display: none; }
.mini-player.is-playing .icon-pause { display: block; }

.mini-player-close { font-size: 1.4rem; line-height: 1; }

/* 11. MOBILE ---------------------------------------------------------- */
@media (max-width: 768px) {
    nav {
        padding: 8px 3%;
        flex-direction: column;
        gap: 6px;
    }

    nav .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-logo { height: 48px; }

    .podcast-hero { min-height: 70vh; padding: 90px 5% 60px; text-align: center; }

    /* Disable parallax drift on mobile — avoids JS-driven jitter */
    .hero-parallax { transform: none !important; }

    .podcast-hero-inner {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        padding: 28px 20px;
        width: 90%;
    }

    .podcast-hero-intro { margin-left: auto; margin-right: auto; }

    .podcast-hero-cover-col { width: 220px; }

    .podcast-subscribe, .podcast-social { justify-content: center; }

    .hero-title { font-size: 1.7rem; line-height: 1.15; }

    .scroll-arrow svg { width: 26px; height: 26px; }
    .scroll-arrow-label { font-size: 0.65rem; }

    .section { padding: 50px 6%; }

    .about-inner { flex-direction: column; }

    .section-heading { font-size: 1.8rem; }

    .episode-entry { flex-direction: column; gap: 16px; }
    .episode-entry-thumb { flex: none; width: 100%; }

    .episode-more { margin-top: 48px; }
    .episode-play-btn--large { width: 60px; height: 60px; }
    .episode-play-btn--large svg { width: 22px; height: 22px; }

    body.player-active { padding-bottom: 92px; }
    .mini-player { padding: 10px 4%; gap: 10px; }
    .mini-player-title { font-size: 0.8rem; }
}
