:root{
  --bg:#0b0f14;
  --card:#111826;
  --text:#e7edf5;
  --muted:#b7c2d0;
  --border:rgba(231,237,245,.12);
  --accent:#e23b3b;
  --accent2:#7dd3fc;
  --max:1100px;
  --radius:18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(125,211,252,.14), transparent 60%),
    radial-gradient(1000px 600px at 95% 0%, rgba(226,59,59,.16), transparent 55%),
    linear-gradient(180deg, #070a0f 0%, #0b0f14 30%, #0b0f14 100%);
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.nav{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.68);
  border-bottom:1px solid var(--border);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px}
.logo-dot{width:12px;height:12px;border-radius:999px;background:var(--accent);box-shadow:0 0 20px rgba(226,59,59,.55)}
.brand-title{font-weight:800;letter-spacing:.2px}
.brand-sub{font-size:12px;color:var(--muted);margin-top:2px}
.menu{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.menu a{
  padding:8px 10px;border-radius:999px;
  color:var(--muted);
}
.menu a.active, .menu a:hover{
  color:var(--text);
  background:rgba(231,237,245,.06);
  text-decoration:none;
}
.hero{padding:46px 0 26px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:center;
}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border:1px solid var(--border);
  border-radius:999px;color:var(--muted);
  background: rgba(231,237,245,.04);
  font-size:13px;
}
.badge .pill{width:8px;height:8px;border-radius:999px;background:var(--accent2)}
h1{font-size:44px;line-height:1.05;margin:14px 0 10px}
.lede{font-size:18px;color:var(--muted);line-height:1.55;max-width:60ch}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:999px;border:1px solid var(--border);
  background:rgba(231,237,245,.06);
  color:var(--text);
  box-shadow: none;
}
.btn.primary{
  border-color: rgba(226,59,59,.55);
  background: rgba(226,59,59,.14);
}
.btn:hover{text-decoration:none;filter:brightness(1.08)}
.btn small{font-family:var(--mono);color:var(--muted)}
.cover-card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:rgba(17,24,38,.6);
  box-shadow:var(--shadow);
}
.cover-meta{padding:14px 14px 16px;border-top:1px solid var(--border)}
.cover-meta .title{font-weight:750}
.cover-meta .desc{color:var(--muted);font-size:13px;margin-top:6px;line-height:1.45}
.section{padding:18px 0 44px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card{
  border:1px solid var(--border);
  background:rgba(17,24,38,.55);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: none;
}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:var(--muted);line-height:1.55}
hr.sep{
  border:none;border-top:1px solid var(--border);
  margin:28px 0 10px;
}
.kicker{font-family:var(--mono);font-size:12px;color:var(--muted);letter-spacing:.8px;text-transform:uppercase}
.episode-list{display:grid;gap:12px;margin-top:12px}
.episode{
  display:grid;grid-template-columns: 1fr auto;gap:12px;align-items:center;
  border:1px solid var(--border);
  background:rgba(17,24,38,.45);
  border-radius:var(--radius);
  padding:14px 14px;
}
.ep-title{font-weight:750}
.ep-meta{color:var(--muted);font-size:13px;margin-top:6px}
.ep-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.chip{
  padding:8px 10px;border-radius:999px;border:1px solid var(--border);
  background:rgba(231,237,245,.06); color:var(--text); font-size:13px;
}
.chip:hover{text-decoration:none;filter:brightness(1.08)}
.player{
  margin-top:10px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
}
.footer-grid{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.small{font-size:13px;line-height:1.55}
.note{
  font-size:13px;color:var(--muted);
  border-left:2px solid rgba(125,211,252,.55);
  padding:10px 12px;
  background:rgba(125,211,252,.06);
  border-radius:14px;
}
.form{
  display:grid;gap:10px;max-width:560px;margin-top:10px;
}
.input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(7,10,15,.65);
  color:var(--text);
  font-family:var(--sans);
}
textarea{min-height:120px;resize:vertical}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr; }
  h1{font-size:38px}
  .grid3{grid-template-columns:1fr}
}


.footer-grid{
  display:grid;
  gap:18px;
  align-items:center;
}
@media (min-width: 900px){
  .footer-grid{grid-template-columns: 1.4fr 1fr auto;}
}
.footer-badges{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:10px;
}
.footer-meta{font-size:14px;line-height:1.6}
.producer{justify-self:start}
.producer-logo{height:56px;width:auto;opacity:.9}


main{}

/* Footer (polished) */
.footer{
  padding:12px 0;
  border-top:1px solid var(--border);
  background:rgba(7,10,15,.38);
  color:var(--muted);
}
.footer-inner{
  display:grid;
  gap:12px;
  align-items:start;
}
@media (min-width: 920px){
  .footer-inner{grid-template-columns: 1.35fr 1.15fr auto;}
}
.footer-title{font-weight:700; color:var(--text); line-height:1.15}
.footer-tagline{margin-top:2px; color:var(--muted)}
.footer-copy{margin-top:6px; font-size:12px; color:rgba(183,194,208,.85)}

.footer-listen{justify-self:start}
.footer-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-start;
}
.platform-btn{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(231,237,245,.14);
  background:rgba(10,14,20,.55);
  text-decoration:none;
  color:var(--text);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.platform-btn:hover{border-color:rgba(231,237,245,.24); transform:translateY(-1px)}
.platform-btn:active{transform:translateY(0)}
.platform-ico{
  width:22px; height:22px;
  display:grid; place-items:center;
  border-radius:8px;
  background:rgba(231,237,245,.08);
}
.platform-ico svg{width:18px; height:18px; fill:currentColor; opacity:.95}
.platform-text{display:flex; flex-direction:column; line-height:1.05}
.platform-name{font-size:13px; font-weight:650}

.footer-meta{margin-top:8px}
.footer-meta a{color:rgba(183,194,208,.95); text-decoration:none}
.footer-meta a:hover{color:var(--text)}

.footer-producer{justify-self:start}
@media (min-width: 920px){
  .footer-producer{justify-self:end; text-align:right}
}
.producer-logo{height:64px; width:auto; opacity:.95; margin-top:4px}

/* Footer (final) */
.footer{
  padding:18px 0;
  border-top:1px solid var(--border);
  background:rgba(7,10,15,.38);
}
.footer-wrap{display:flex; flex-direction:column; gap:14px;}
.footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.footer-buttons{
  display:flex;
  flex-wrap:nowrap;          /* single row */
  gap:10px;
  align-items:center;
  overflow-x:auto;           /* if narrow screens, scroll instead of wrapping */
  -webkit-overflow-scrolling: touch;
  padding-bottom:2px;
}
.platform-btn{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(231,237,245,.14);
  background:rgba(10,14,20,.55);
  text-decoration:none;
  color:var(--text);
  white-space:nowrap;
  flex:0 0 auto;
}
.platform-btn:hover{border-color:rgba(231,237,245,.24); transform:translateY(-1px)}
.platform-btn:active{transform:translateY(0)}
.platform-ico{
  width:22px; height:22px;
  display:grid; place-items:center;
  border-radius:8px;
  background:rgba(231,237,245,.08);
  color:var(--text);
}
.platform-ico svg{width:18px; height:18px; fill:currentColor; opacity:1}
.platform-name{font-size:13px; font-weight:650}

/* brand colors (icon only) */
.platform-btn[data-platform="spotify"] .platform-ico{color:#1DB954}
.platform-btn[data-platform="amazon"] .platform-ico{color:#00A8E1}
.platform-btn[data-platform="iheart"] .platform-ico{color:#C6002B}
.platform-btn[data-platform="youtube"] .platform-ico{color:#FF0000}
.platform-btn[data-platform="apple"] .platform-ico{color:#ffffff}

.footer-producer{display:flex; flex-direction:column; align-items:flex-end; gap:6px; color:var(--muted)}
.producer-label{font-size:12px; letter-spacing:.02em}
.producer-logo{height:72px; width:auto; opacity:.96}

.footer-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding-top:4px;
}
.footer-bottom-title{color:var(--text); font-weight:650; font-size:13px; line-height:1.3}
.footer-bottom-copy{margin-top:4px; font-size:12px; color:rgba(183,194,208,.88)}
.footer-bottom-right{font-size:13px; color:rgba(183,194,208,.92); white-space:nowrap}
.footer-bottom-right a{color:rgba(183,194,208,.95); text-decoration:none}
.footer-bottom-right a:hover{color:var(--text)}

@media (max-width: 760px){
  .footer-top{flex-direction:column; align-items:flex-start}
  .footer-producer{align-items:flex-start}
  .footer-bottom{flex-direction:column; align-items:flex-start}
  .footer-bottom-right{white-space:normal}
}


/* =========================================================
   Mobile + Overflow Hardening Patch
   (prevents left/right scroll; makes embeds and footer safe)
   ========================================================= */

/* Never allow horizontal page scrolling */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Media should never overflow the viewport */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Defensive: iframes/embeds can force overflow */
iframe, embed, object {
  max-width: 100%;
}

/* Buzzsprout player containers: keep inside viewport */
[id^="buzzsprout-player-"],
.buzzsprout-player,
.episode-player,
.player,
.player-wrap,
.embed,
.embed-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* If Buzzsprout injects an iframe, force it responsive */
[id^="buzzsprout-player-"] iframe,
.buzzsprout-player iframe,
.episode-player iframe,
.player iframe,
.embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

/* Long strings should wrap instead of causing overflow */
body, a, p, li, span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Footer: prevent any single-row layout from forcing sideways scroll on phones */
@media (max-width: 768px) {
  .footer-buttons {
    flex-wrap: wrap !important;     /* allow wrapping on mobile */
    justify-content: center !important;
  }

  .platform-btn {
    max-width: 100%;
  }

  /* If buttons were previously set to nowrap/scroll, neutralize it */
  .footer-buttons {
    overflow-x: visible !important;
  }
}

/* ===== v4: targeted mobile horizontal-scroll fix (added) ===== */
/* Stop page-level horizontal overflow from 1–2px offenders */
html, body { overflow-x: hidden; max-width: 100%; }

/* Ensure common media/embeds can't exceed the viewport */
img, svg, video, canvas, iframe, embed, object { max-width: 100%; }

/* Buzzsprout embeds: force injected iframe to be responsive */
div[id^="buzzsprout-player-"] { max-width: 100%; }
div[id^="buzzsprout-player-"] iframe,
div[id^="buzzsprout-player-"] embed,
div[id^="buzzsprout-player-"] object {
  width: 100% !important;
  max-width: 100% !important;
}

/* On mobile, do NOT create a horizontal scroller in the footer.
   (Your current CSS sets .footer-buttons to nowrap + overflow-x:auto later in the file.) */
@media (max-width: 760px){
  .footer-buttons{
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }
  .platform-btn{ white-space: normal !important; }
}


.episode-copy{margin-top:10px;color:var(--muted);line-height:1.7;max-width:75ch}
.episode-copy p{margin:0 0 10px}
.episode-copy p:last-child{margin-bottom:0}
.hero-desc{max-width:80ch;color:var(--muted);line-height:1.7;margin-top:10px}
.hero-desc p{margin:0 0 10px}
.hero-desc p:last-child{margin-bottom:0}
.section-title{margin:8px 0 8px}


/* Episode layout optimization */
.episode-hook{
  margin-top:14px;
  max-width:68ch;
  color:var(--text);
  font-size:17px;
  line-height:1.6;
}
.episode-hook p{margin:0 0 10px}
.episode-hook p:last-child{margin-bottom:0}
.hook-card{
  border:1px solid var(--border);
  background:rgba(231,237,245,.04);
  border-radius:16px;
  padding:14px 16px;
}
.show-notes-card h3,
.hook-card h3{margin:0 0 8px;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.show-notes-card{margin-top:10px}
.home-latest-actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.episode-list .episode-hook{font-size:16px;max-width:62ch}
@media (max-width:760px){
  .episode-hook{font-size:16px}
}


/* Support section */
.support-section{padding-top:6px}
.support-card{
  position:relative;
  border:1px solid var(--border);
  background:rgba(231,237,245,.06);
  border-radius:22px;
  padding:22px 22px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.support-topline{
  position:absolute;
  top:18px;
  right:20px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}
.support-card h2{
  margin:0 0 12px;
  font-size:32px;
  line-height:1.05;
}
.support-copy{
  margin:0;
  max-width:70ch;
  color:var(--muted);
  line-height:1.6;
  font-size:18px;
}
.support-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.support-btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(231,237,245,.14);
  background:rgba(255,255,255,.04);
  color:var(--text);
  text-decoration:none;
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
}
.support-btn:hover{
  text-decoration:none;
  transform:translateY(-1px);
  border-color:rgba(231,237,245,.28);
  background:rgba(255,255,255,.07);
}
.support-btn img{height:20px; width:auto; display:block}
.support-btn span{font-weight:650; white-space:nowrap}
.support-note{
  margin:10px 0 0;
  font-size:13px;
  color:var(--muted);
}
.episode-hook p{margin:.1rem 0}
.hook-card.show-notes-card{padding-top:18px}
.hook-card.show-notes-card h3{display:none}
@media (max-width: 760px){
  .support-card{padding:20px 18px 16px}
  .support-topline{position:static; margin-bottom:12px}
  .support-card h2{font-size:28px}
  .support-copy{font-size:16px}
  .support-actions{flex-direction:column; align-items:stretch}
  .support-btn{justify-content:flex-start}
}


/* Compact latest episode strip */
.latest-episode-strip{padding:8px 0 26px}
.latest-episode-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 16px;border:1px solid var(--border);border-radius:16px;background:rgba(231,237,245,.04)}
.latest-episode-strip-title{margin-top:4px;font-weight:650;line-height:1.35}
.latest-episode-strip-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:760px){.latest-episode-strip{padding:4px 0 22px}.latest-episode-strip-inner{align-items:flex-start}}
