/* Between Two COOs - Ghost Theme
   Brand Colors:
   Navy: #19194b | Purple: #782c5a | Rose: #c55b5c
   Pink: #ff476f | Gold: #ffbc4b | Cream: #fff1ce
   Typography: Montserrat (UI), Playfair Display (headlines)
*/

:root {
  --navy: #19194b;
  --navy-l: #1f1f58;
  --navy-m: #2d2d6e;
  --purple: #782c5a;
  --rose: #c55b5c;
  --pink: #ff476f;
  --gold: #ffbc4b;
  --cream: #fff1ce;
  --white: #FAFAF8;
  --g3: #b0b0cc;
  --g5: #7070a0;
  --g7: #40406a;
  --ff: 'Montserrat', sans-serif;
  --fs: 'Playfair Display', Georgia, serif;
  --max-w: 1140px;
}

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

/* Screen-reader-only utility (for labels that should not be visible) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── A11Y ─── */
/* Skip link — invisible until keyboard focus reveals it */
.skip-link {
  position: absolute; top: -100px; left: 12px;
  background: var(--gold); color: var(--navy);
  padding: 10px 18px; border-radius: 6px;
  z-index: 9999; font-family: var(--ff);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: none; }

/* Visible focus indicators for keyboard navigation. :focus-visible only fires
   for keyboard focus (not mouse click), so this doesn't add visual noise for
   pointer users. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect prefers-reduced-motion: kill the company marquee animation,
   sticky CTA slide, hamburger morph, related-card lift, and any future
   animations. Users with vestibular sensitivity get a static page. */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .sticky-cta { transition: none; }
  .site-nav__hamburger-bar { transition: none; }
  .related-card { transition: none; }
  .related-card:hover { transform: none; }
  .play-circle { transition: none; }
  .play-circle:hover { transform: none; }
}


::selection { background: rgba(255,188,75,.35); color: var(--navy); }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--ff);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cream); }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(25,25,75,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-m);
}
.site-nav .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.site-nav__logo img { height: 48px; display: block; }
.site-nav__links { display: flex; gap: 4px; align-items: center; }
.site-nav__link {
  background: transparent; border: none; color: var(--g3);
  padding: 6px 14px; border-radius: 6px; cursor: pointer;
  font-family: var(--ff); font-size: 13px; font-weight: 600;
  transition: all .2s; text-decoration: none;
}
.site-nav__link:hover, .site-nav__link--active { background: var(--navy-m); color: var(--cream); }

/* Hamburger — hidden on desktop, shown on mobile via media query below */
.site-nav__hamburger {
  display: none;
  background: none; border: none; padding: 8px;
  cursor: pointer; margin-left: auto;
}
.site-nav__hamburger-bar {
  display: block; width: 24px; height: 2px;
  background: var(--cream); margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
.site-nav__hamburger[aria-expanded="true"] .site-nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__hamburger[aria-expanded="true"] .site-nav__hamburger-bar:nth-child(2) {
  opacity: 0;
}
.site-nav__hamburger[aria-expanded="true"] .site-nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn-subscribe {
  background: var(--gold); color: var(--navy); border: none;
  padding: 7px 18px; border-radius: 8px; cursor: pointer;
  font-family: var(--ff); font-size: 12px; font-weight: 800;
  margin-left: 10px; text-transform: uppercase; letter-spacing: .5px;
  transition: all .2s; text-decoration: none;
}
.btn-subscribe:hover { background: var(--cream); color: var(--navy); }

/* ─── HERO / HOME ─── */
.hero {
  padding-top: 88px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-l) 100%);
}
.hero__tagline {
  text-align: center; padding: 32px 24px 28px;
  max-width: var(--max-w); margin: 0 auto;
}
.hero__tagline h2 {
  font-family: var(--fs); font-size: 26px; font-weight: 700;
  color: var(--cream); margin: 0 0 6px;
}
.hero__tagline p { font-size: 15px; color: var(--g3); margin: 0; line-height: 1.6; }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; padding: 32px 0 50px;
}
.hero__badge {
  display: inline-block; background: rgba(255,188,75,.13);
  color: var(--gold); padding: 4px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 20px;
}
.hero__title {
  font-family: var(--fs); font-size: 38px; font-weight: 700;
  color: var(--cream); line-height: 1.15; margin: 0 0 12px;
}
.hero__guest { font-size: 15px; color: var(--g3); margin: 0 0 6px; }
.hero__guest strong { color: var(--gold); font-weight: 700; }
.hero__meta { font-size: 12px; color: var(--g5); margin: 0 0 24px; }
.hero__actions { display: flex; gap: 12px; margin-bottom: 24px; }
.btn-play {
  background: var(--gold); color: var(--navy); border: none;
  padding: 11px 28px; border-radius: 10px; cursor: pointer;
  font-family: var(--ff); font-size: 14px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(255,188,75,.2);
  transition: all .2s; text-decoration: none;
}
.btn-play:hover { background: var(--cream); color: var(--navy); }
.btn-ghost {
  background: transparent; color: var(--g3);
  border: 1px solid var(--g7); padding: 11px 22px;
  border-radius: 10px; cursor: pointer;
  font-family: var(--ff); font-size: 13px; font-weight: 600;
  transition: all .2s; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--cream); }

.hero__cover {
  border-radius: 14px; overflow: hidden; aspect-ratio: 1/1;
  position: relative; border: 2px solid var(--navy-m);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__cover-overlay {
  position: absolute; inset: 0;
  background: rgba(25,25,75,.4);
  display: flex; align-items: center; justify-content: center;
}
.play-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: #ff0000;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #ffffff; cursor: pointer;
  box-shadow: 0 0 40px rgba(255,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.play-circle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 48px rgba(255,0,0,.5);
}

/* Hero video embed */
.hero__video-wrap {
  border-radius: 14px; overflow: hidden; aspect-ratio: 1/1;
  position: relative; border: 2px solid var(--navy-m);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.hero__video-poster {
  position: relative; width: 100%; height: 100%;
}
.hero__video-poster img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__video-player { width: 100%; height: 100%; }
.hero__video-player iframe { width: 100%; height: 100%; }

/* ─── PLATFORM BADGES ─── */
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  padding: 4px 12px; border-radius: 20px; font-size: 11px;
  font-weight: 700; font-family: var(--ff); text-decoration: none;
  transition: all .2s;
}
.badge--apple { background: rgba(180,100,160,.2); color: #c77dff; border: 1px solid rgba(180,100,160,.4); }
.badge--spotify { background: rgba(29,185,84,.13); color: #1DB954; border: 1px solid rgba(29,185,84,.3); }
.badge--youtube { background: rgba(255,71,111,.13); color: var(--pink); border: 1px solid rgba(255,71,111,.3); }

/* ─── LOGO MARQUEE ─── */
.marquee-wrap {
  border-top: 1px solid var(--navy-m);
  padding: 20px 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 10px;
  color: var(--g5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 700;
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 55s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 700;
  color: var(--g5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-item::after {
  content: '·';
  display: inline-block;
  margin: 0 20px;
  color: var(--navy-m);
  font-size: 18px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── EPISODE GRID ─── */
.episodes { padding: 60px 0; }
.episodes__header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 28px;
}
.episodes__header h2 {
  font-family: var(--fs); font-size: 28px; font-weight: 700;
  color: var(--cream); margin: 0;
}
.episodes__header span { font-size: 12px; color: var(--g5); }
.episodes__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.ep-card {
  background: var(--navy-l); border-radius: 12px;
  border: 1px solid var(--navy-m);
  overflow: hidden; cursor: pointer;
  transition: all .25s; text-decoration: none; color: inherit;
}
.ep-card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  color: inherit;
}
.ep-card__cover { aspect-ratio: 1/1; overflow: hidden; }
.ep-card__cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s;
}
.ep-card:hover .ep-card__cover img { transform: scale(1.05); }
.ep-card__body { padding: 14px 18px 18px; }
.ep-card__meta {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 6px;
}
.ep-card__guest { font-size: 11px; color: var(--gold); font-weight: 700; }
.ep-card__dur { font-size: 10px; color: var(--g5); }
.ep-card__title {
  font-family: var(--fs); font-size: 17px; font-weight: 600;
  color: var(--cream); line-height: 1.3; margin: 0 0 6px;
}
.ep-card__desc {
  font-size: 12px; color: var(--g5); line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.ep-card__info { font-size: 11px; color: var(--g5); margin: 0; }

/* ─── BLOG GRID ─── */
.blog-page { padding: 108px 0 60px; }
.blog-page__header { margin-bottom: 40px; }
.blog-page__header h1 {
  font-family: var(--fs); font-size: 36px; font-weight: 700;
  color: var(--cream); margin: 0 0 10px;
}
.blog-page__header p { font-size: 15px; color: var(--g3); max-width: 560px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.blog-card {
  background: var(--navy-l); border-radius: 12px;
  border: 1px solid var(--navy-m); padding: 24px;
  cursor: pointer; transition: all .25s;
  text-decoration: none; color: inherit;
}
.blog-card:hover {
  border-color: var(--gold); transform: translateY(-2px);
  color: inherit;
}
.blog-card__top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 12px;
}
.blog-card__tag {
  background: rgba(255,71,111,.13); color: var(--pink);
  padding: 3px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 800;
}
.blog-card__rt { font-size: 10px; color: var(--g5); }
.blog-card__title {
  font-family: var(--fs); font-size: 20px; font-weight: 600;
  color: var(--cream); line-height: 1.3; margin: 0 0 8px;
}
.blog-card__date { font-size: 11px; color: var(--g5); }

/* ─── SINGLE POST / EPISODE ─── */
.post-single { padding: 108px 0 60px; max-width: 860px; margin: 0 auto; }
/* Narrow column for blog posts (selector keyed off body.tag-hash-blog —
   Ghost emits this class for any post with the #blog internal tag, even
   though the {{#has tag=}} helper appears to skip internal tags) and for
   static pages (body.page-template — used for /about/ etc.). */
body.tag-hash-blog .post-single,
body.page-template .post-single { max-width: 720px; }

.post-single__feature {
  width: 100%; height: auto; border-radius: 12px;
  margin-bottom: 24px;
}

.post-single__back {
  background: none; border: none; color: var(--g5);
  font-family: var(--ff); font-size: 12px; cursor: pointer;
  padding: 0; margin-bottom: 20px; display: inline-block;
  text-decoration: none;
}
.post-single__back:hover { color: var(--cream); }

/* Back-link / badge / reading-time toggle.
   post.hbs renders BOTH variants; we hide the wrong one via body class.
   Default state (no body.tag-hash-blog) = episode layout. */
.post-single__back--blog,
.post-single__tag,
.post-single__reading-time { display: none; }

body.tag-hash-blog .post-single__back--episode,
body.tag-hash-blog .post-single__ep-badge { display: none; }

body.tag-hash-blog .post-single__back--blog { display: inline-block; }
body.tag-hash-blog .post-single__tag,
body.tag-hash-blog .post-single__reading-time { display: inline-block; }

.post-single__ep-badge {
  display: inline-block; background: rgba(255,188,75,.13);
  color: var(--gold); padding: 4px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 14px;
}
.post-single__tag {
  background: rgba(255,71,111,.13);
  color: var(--pink); padding: 3px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 800; margin-bottom: 14px;
}

.post-single__title {
  font-family: var(--fs); font-size: 36px; font-weight: 700;
  color: var(--cream); line-height: 1.2; margin: 0 0 14px;
}
.post-single__meta { font-size: 12px; color: var(--g5); margin-bottom: 28px; }

.post-single__guest {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.post-single__guest-img {
  width: 52px; height: 52px; border-radius: 10px;
  object-fit: cover; border: 2px solid var(--navy-m);
}
.post-single__guest-name { font-size: 14px; color: var(--cream); font-weight: 700; margin: 0; }
.post-single__guest-role { font-size: 12px; color: var(--g5); margin: 0; }
.post-single__guest-date { margin-left: auto; font-size: 11px; color: var(--g5); }

/* YouTube embeds — minimal bottom margin */
.gh-content .kg-embed-card,
.gh-content .kg-video-card {
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--navy-m);
  max-width: 100%;
}

.gh-content .kg-embed-card iframe,
.gh-content .kg-video-card iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  position: static !important;
  border: 0;
  display: block;
}

/* Inline YouTube embeds (padding-bottom trick) — tight margin */
.gh-content div[style*="padding-bottom:56.25%"],
.gh-content div[style*="padding-bottom: 56.25%"] {
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--navy-m);
  margin: 0 0 12px;
}

/* Constrain video width on narrow blog posts */
body.tag-hash-blog .post-single .gh-content div[style*="padding-bottom:56.25%"],
body.tag-hash-blog .post-single .gh-content div[style*="padding-bottom: 56.25%"] {
  max-width: 720px;
}
body.tag-hash-blog .post-single .gh-content .kg-embed-card {
  max-width: 100%;
}

/* Blog post video — force embeds to stay inside narrow column */
body.tag-hash-blog .post-single .gh-content iframe[src*="youtube"] {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  position: static !important;
}

body.tag-hash-blog .post-single .gh-content .kg-embed-card iframe {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  position: static !important;
}

/* Prevent wide/full breakout on narrow blog posts */
body.tag-hash-blog .post-single .kg-width-wide,
body.tag-hash-blog .post-single .kg-width-full {
  width: 100% !important;
  min-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Simplecast audio player — tight margin + force fixed height to eliminate
   blank space below waveform on episodes that imported with the wrong height attr */
.gh-content iframe[src*="simplecast"],
.gh-content iframe[src*="player.simplecast"] {
  width: 100%;
  height: 200px !important;
  border-radius: 10px;
  margin: 0 0 12px;
  display: block;
}

/* Simplecast wrapper divs — remove extra margins */
.gh-content div:has(> iframe[src*="simplecast"]) {
  margin: 0 0 12px;
}

/* kg-html-card wrappers — tight margin */
.gh-content .kg-html-card {
  margin: 0 0 12px;
}

/* First content element — no extra top margin */
.gh-content > *:first-child {
  margin-top: 0;
}

/* Second content element — tight after first */
.gh-content > *:first-child + * {
  margin-top: 0;
}

/* Listen bar */
.listen-bar {
  background: var(--navy-l); border-radius: 10px;
  padding: 12px 18px; border: 1px solid var(--navy-m);
  margin-bottom: 28px; display: flex;
  align-items: center; justify-content: center; gap: 8px;
}
.listen-bar__label { font-size: 12px; color: var(--g3); font-weight: 700; }
.listen-bar__btn {
  color: var(--white); padding: 5px 14px; border-radius: 6px;
  font-size: 11px; font-weight: 800; font-family: var(--ff);
  text-decoration: none; transition: opacity .2s;
}
.listen-bar__btn:hover { opacity: .85; color: var(--white); }
.listen-bar__btn--apple { background: #9b59b6; }
.listen-bar__btn--spotify { background: #1DB954; }
.listen-bar__btn--youtube { background: var(--pink); }

/* Show notes / content cards */
.content-card {
  background: var(--navy-l); border-radius: 12px;
  border: 1px solid var(--navy-m); padding: 28px;
  margin-bottom: 24px;
}
.content-card h2 {
  font-family: var(--fs); font-size: 22px; color: var(--cream); margin: 0 0 14px;
}
.content-card p { font-size: 14px; color: var(--g3); line-height: 1.7; }
.content-card ul { padding-left: 18px; color: var(--g3); }
.content-card li { margin-bottom: 5px; font-size: 14px; }
.content-card strong { color: var(--cream); }

/* Timestamps */
.timestamp {
  display: flex; gap: 14px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--navy-m);
}
.timestamp:last-child { border-bottom: none; }
.timestamp__time {
  font-family: 'Courier New', monospace; font-size: 13px;
  color: var(--gold); font-weight: 700; min-width: 44px;
}
.timestamp__label { font-size: 13px; color: var(--g3); }

/* ─── ARTICLE BODY (blog posts) ─── */
.gh-content {
  font-family: var(--ff); font-size: 16px; color: var(--g3); line-height: 1.8;
}
.gh-content h2 {
  font-family: var(--fs); font-size: 26px; color: var(--cream);
  margin: 36px 0 14px; font-weight: 600;
}
.gh-content h3 {
  font-family: var(--fs); font-size: 22px; color: var(--cream);
  margin: 28px 0 12px; font-weight: 600;
}
.gh-content p { margin: 0 0 16px; }
.gh-content blockquote {
  border-left: 3px solid var(--gold); padding-left: 22px;
  margin: 28px 0; font-style: italic; color: var(--cream);
  font-size: 17px; font-family: var(--fs);
}
.gh-content a { color: var(--gold); font-weight: 600; }
.gh-content ul, .gh-content ol { padding-left: 20px; margin: 0 0 16px; }
.gh-content li { margin-bottom: 6px; }
.gh-content img {
  border-radius: 10px; border: 1px solid var(--navy-m); margin: 24px 0;
}
.gh-content .kg-image-card { margin: 24px 0; }
.gh-content .kg-bookmark-card {
  background: var(--navy-l); border: 1px solid var(--navy-m);
  border-radius: 10px; overflow: hidden;
}

/* Helm cross-link callout */
.cross-link {
  background: rgba(255,188,75,.07);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px; margin: 36px 0;
}
.cross-link__label {
  font-size: 10px; color: var(--gold); font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px;
}
.cross-link p { font-size: 13px; color: var(--g3); margin: 0; }

/* ─── EMAIL CTA ─── */
.email-cta {
  background: var(--navy); border-radius: 14px; padding: 36px;
  border: 1px solid var(--navy-m); margin-top: 44px; text-align: center;
}
.email-cta h3 {
  font-family: var(--fs); font-size: 24px; color: var(--cream);
  margin: 0 0 8px; font-weight: 600;
}
.email-cta p { font-size: 13px; color: var(--g5); max-width: 380px; margin: 0 auto 22px; }
.email-cta .btn-play { display: inline-flex; }
.email-cta__form {
  display: flex; gap: 8px; max-width: 460px;
  margin: 0 auto 14px; flex-wrap: wrap; justify-content: center;
}
.email-cta__input {
  flex: 1 1 220px; min-width: 200px;
  background: var(--navy); color: var(--cream);
  border: 1px solid var(--navy-m); border-radius: 8px;
  padding: 12px 16px; font-family: var(--ff); font-size: 14px;
  outline: none;
}
.email-cta__input::placeholder { color: var(--g5); }
.email-cta__input:focus {
  border-color: var(--gold);
}
.email-cta__btn {
  flex: 0 0 auto;
  padding: 12px 22px; font-size: 13px;
}
.email-cta .fine-print { font-size: 10px; color: var(--g5); margin-top: 10px; }

/* ─── RELATED POSTS ─── */
.related-posts {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--navy-m);
}
.related-posts__heading {
  font-family: var(--fs); font-size: 18px; font-weight: 600;
  color: var(--cream); margin: 0 0 20px;
  text-transform: none; letter-spacing: 0;
}
.related-posts__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.related-card {
  display: block; background: var(--navy-l);
  border: 1px solid var(--navy-m); border-radius: 10px;
  padding: 0; overflow: hidden; color: var(--cream);
  text-decoration: none; transition: transform .2s, border-color .2s;
}
.related-card:hover {
  transform: translateY(-2px); border-color: var(--gold);
}
.related-card__img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  border-bottom: 1px solid var(--navy-m);
}
.related-card__title {
  font-family: var(--fs); font-size: 14px; font-weight: 600;
  color: var(--cream); margin: 0; padding: 12px 14px 4px;
  line-height: 1.3;
}
.related-card__date {
  font-size: 11px; color: var(--g5); padding: 0 14px 12px; margin: 0;
}

/* ─── STICKY FOOTER CTA ─── */
/* Hide via transform (height-independent) so it works on any viewport / flex direction.
   The earlier `bottom: -100px` pattern broke on mobile where the flex-column CTA
   exceeds 100px tall and partially poked back into the viewport. */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--navy); color: var(--cream);
  padding: 15px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  z-index: 99;
  transform: translateY(100%);
  transition: transform .4s ease-in-out;
  display: flex; justify-content: center; align-items: center; gap: 20px;
  border-top: 3px solid var(--gold);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__text { font-size: 15px; font-weight: 500; }
.sticky-cta__close {
  position: absolute; right: 20px; background: none; border: none;
  color: var(--g5); cursor: pointer; font-size: 20px;
}

/* ─── FOOTER ─── */
.site-footer { border-top: 1px solid var(--navy-m); padding: 44px 0; margin-top: 56px; }
.site-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.site-footer__logo img { height: 30px; margin-bottom: 10px; display: block; }
.site-footer__desc { font-size: 12px; color: var(--g5); line-height: 1.6; max-width: 280px; }
.site-footer__col-title {
  font-size: 10px; color: var(--g5); font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.site-footer__link {
  display: block; font-size: 12px; color: var(--g3);
  margin-bottom: 6px; text-decoration: none;
}
.site-footer__link:hover { color: var(--cream); }
.site-footer__bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--navy-m);
  display: flex; justify-content: space-between;
}
.site-footer__bottom p { font-size: 11px; color: var(--g5); }

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__cover { max-width: 420px; margin: 0 auto; }
  .hero__title { font-size: 32px; }
  .hero__tagline h2 { font-size: 22px; }
  .episodes__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .post-single { padding: 98px 0 40px; }
  .post-single__title { font-size: 30px; }
  .post-single__guest { flex-wrap: wrap; }
  .post-single__guest-date { margin-left: 0; width: 100%; margin-top: 6px; }
}

/* Mobile */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }

  /* Nav */
  .site-nav .wrap { height: 56px; }
  .site-nav__logo img { height: 38px; }
  .site-nav__hamburger { display: block; }
  /* Mobile nav drawer: hidden above viewport, slides down when --open is set */
  .site-nav__links {
    position: fixed; top: 56px; left: 0; right: 0;
    background: rgba(25,25,75,.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 18px;
    gap: 2px;
    border-bottom: 1px solid var(--navy-m);
    transform: translateY(-120%);
    transition: transform .3s ease-in-out;
    visibility: hidden;
  }
  .site-nav__links--open {
    transform: translateY(0);
    visibility: visible;
  }
  .site-nav__links .site-nav__link {
    display: block; width: 100%;
    padding: 14px 16px; font-size: 14px;
    border-radius: 8px;
  }
  .site-nav__links .btn-subscribe {
    margin: 8px 0 0; padding: 12px 18px; font-size: 12px;
    text-align: center;
  }

  /* Hero */
  .hero { padding-top: 56px; }
  .hero__tagline { padding: 24px 16px 0; }
  .hero__tagline h2 { font-size: 20px; }
  .hero__tagline h2 br { display: none; }
  .hero__tagline p { font-size: 13px; }
  .hero__tagline p br { display: none; }
  .hero__grid { display: grid; grid-template-columns: 1fr; padding: 24px 0 36px; gap: 24px; }
  .hero__cover { order: -1; }
  .hero__badge { font-size: 9px; margin-bottom: 14px; }
  .hero__title { font-size: 26px; }
  .hero__guest { font-size: 14px; }
  .hero__meta { font-size: 11px; margin-bottom: 18px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn-play,
  .hero__actions .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .hero__cover { max-width: 320px; border-radius: 10px; }
  .play-circle { width: 56px; height: 56px; font-size: 22px; }
  .badges { justify-content: center; }

  /* Marquee */
  .marquee-wrap { padding: 18px 0; }
  .marquee-label { font-size: 9px; margin-bottom: 12px; }
  .marquee-item {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .marquee-item::after {
    margin: 0 14px;
    font-size: 16px;
  }

  /* Episodes */
  .episodes { padding: 40px 0; }
  .episodes__header { margin-bottom: 20px; }
  .episodes__header h2 { font-size: 24px; }
  .episodes__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ep-card__body { padding: 10px 14px 14px; }
  .ep-card__title { font-size: 14px; }
  .ep-card__guest { font-size: 10px; }
  .ep-card__info { font-size: 10px; }

  /* Blog */
  .blog-page { padding: 76px 0 40px; }
  .blog-page__header h1 { font-size: 28px; }
  .blog-page__header p { font-size: 13px; }
  .blog-grid { gap: 12px; }
  .blog-card { padding: 18px; }
  .blog-card__title { font-size: 17px; }

  /* Single post/episode */
  .post-single { padding: 76px 0 30px; }
  .post-single__title { font-size: 24px; }
  .post-single__meta { font-size: 11px; }
  .post-single__guest-img { width: 42px; height: 42px; }
  .gh-content .kg-embed-card iframe,
  .gh-content .kg-video-card iframe {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  /* Listen bar */
  .listen-bar { flex-wrap: wrap; gap: 6px; padding: 10px 14px; }
  .listen-bar__label { width: 100%; text-align: center; margin-bottom: 2px; }
  .listen-bar__btn { font-size: 10px; padding: 5px 12px; }

  /* Content */
  .gh-content { font-size: 15px; }
  .gh-content h2 { font-size: 22px; margin: 28px 0 10px; }
  .gh-content h3 { font-size: 19px; margin: 22px 0 8px; }
  .gh-content blockquote { font-size: 15px; padding-left: 16px; margin: 20px 0; }
  .cross-link { padding: 12px 14px; }

  /* Email CTA */
  .email-cta { padding: 28px 20px; margin-top: 32px; }
  .email-cta h3 { font-size: 20px; }
  .email-cta p { font-size: 12px; }

  /* Sticky CTA */
  .sticky-cta {
    flex-direction: column; gap: 10px;
    text-align: center; padding: 12px 16px 18px;
  }
  .sticky-cta__text { font-size: 13px; }
  .sticky-cta__close { top: 8px; right: 12px; }

  /* Related posts: 1 column on mobile */
  .related-posts__grid { grid-template-columns: 1fr; gap: 12px; }
  .related-card__img { aspect-ratio: 16/9; }

  /* Footer */
  .site-footer { padding: 32px 0; margin-top: 40px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* Ghost Koenig editor width classes */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 0 calc(50% - 42.5vw);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  min-width: 100%;
  margin: 0 calc(50% - 50vw);
}

.kg-width-wide img, .kg-width-full img {
  width: 100%;
}

/* Constrain wide/full inside the post wrapper */
.post-single .kg-width-wide {
  width: 85vw;
  max-width: 1140px;
  margin-left: calc(50% - min(42.5vw, 570px));
  margin-right: calc(50% - min(42.5vw, 570px));
}

.post-single .kg-width-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* (embed + simplecast rules moved to main section above) */

/* Ghost toggle card (transcript) */
.gh-content .kg-toggle-card {
  background: var(--navy-l); border: 1px solid var(--navy-m);
  border-radius: 12px; margin: 24px 0;
}
.gh-content .kg-toggle-heading-text {
  color: var(--cream); font-family: var(--fs); font-weight: 600;
}
.gh-content .kg-toggle-content {
  color: var(--g3); font-size: 14px; line-height: 1.8;
}

@media (max-width: 640px) {
  .kg-width-wide,
  .post-single .kg-width-wide {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero__title { font-size: 22px; }
  .episodes__grid { grid-template-columns: 1fr; }
  .ep-card__title { font-size: 16px; }
  .post-single__title { font-size: 22px; }
}

/* ─── 404 / Error pages ─────────────────────────────────────────────
   Big-typography 404 with show-name wordplay headline, three exit cards,
   and a decorative "incident report" easter egg block. The error.hbs
   fallback reuses .error-404 and .exit-card with neutral copy. */

.error-404 {
  min-height: calc(100vh - 240px);
  padding: 80px 0 120px;
  display: flex;
  align-items: center;
}
.error-404 .wrap { width: 100%; }

.error-404__eyebrow {
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.error-404__code {
  font-family: var(--fs);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(120px, 22vw, 260px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -.04em;
  margin: 0 0 56px;
  display: inline-flex;
  align-items: baseline;
}
.error-404__code-mid {
  color: var(--gold);
  display: inline-block;
}

.error-404__headline {
  font-family: var(--fs);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 24px;
  max-width: 820px;
}

.error-404__sub {
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  color: var(--g3);
  max-width: 560px;
  margin: 0 0 48px;
}

/* Exit cards: three quick paths back into the site */
.error-404__exits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin-bottom: 64px;
}

.exit-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: center;
  padding: 22px 24px;
  background: var(--navy-l);
  border: 1px solid var(--navy-m);
  border-radius: 12px;
  text-decoration: none;
  color: var(--cream);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.exit-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: var(--navy-m);
}
.exit-card__label {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 15px;
  color: var(--cream);
}
.exit-card__sub {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--ff);
  font-size: 13px;
  color: var(--g3);
}
.exit-card__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 22px;
  color: var(--gold);
  transition: transform .15s ease;
}
.exit-card:hover .exit-card__arrow { transform: translateX(4px); }

/* Incident report easter egg — operator humor in a fake post-mortem doc */
.incident-report {
  background: var(--navy-l);
  border: 1px solid var(--navy-m);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 24px 28px;
  max-width: 640px;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Consolas', monospace;
}
.incident-report__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--navy-m);
  flex-wrap: wrap;
}
.incident-report__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
}
.incident-report__id {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--pink);
}
/* (incident-report disclaimer removed v1.0.15 — FICTIONAL flag in header
   carries the joke clearly enough) */

/* ─── Fake Slack thread ────────────────────────────────────────────────
   Visual parody of Slack dark-mode #incidents channel. Real Slack colors
   (#19171d sidebar, #1a1d21 main, #ababad muted, #d1d2d3 text), Lato-ish
   system stack so it reads as Slack at a glance. Lives below the incident
   report as the third Easter-egg layer on the 404 page. */
.fake-slack {
  max-width: 640px;
  margin-top: 24px;
  background: #1a1d21;
  border: 1px solid #2d2f36;
  border-radius: 8px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  color: #d1d2d3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.fake-slack__channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #19171d;
  border-bottom: 1px solid #2d2f36;
  font-size: 15px;
  color: #ffffff;
}
.fake-slack__hash {
  color: #ababad;
  font-weight: 400;
  font-size: 17px;
}
.fake-slack__channel-name {
  font-weight: 900;
  letter-spacing: -.01em;
}
.fake-slack__count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: #ababad;
}
.fake-slack__messages {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.fake-slack__msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 18px;
  transition: background .12s ease;
}
.fake-slack__msg:hover {
  background: #222529;
}
.fake-slack__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--navy);
  position: relative;
}
.fake-slack__avatar--gold {
  background: linear-gradient(135deg, #ffbc4b, #ff9d2a);
}
.fake-slack__avatar--rose {
  background: linear-gradient(135deg, #c55b5c, #8e3637);
  color: #fff;
}
.fake-slack__avatar--away::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #ababad;
  box-shadow: 0 0 0 2px #1a1d21;
}
.fake-slack__body {
  flex: 1;
  min-width: 0;
}
.fake-slack__meta {
  margin: 0 0 2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.fake-slack__name {
  font-weight: 900;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: -.01em;
}
.fake-slack__status {
  font-size: 11px;
  color: #ababad;
  font-weight: 400;
  font-style: italic;
}
.fake-slack__time {
  font-size: 12px;
  color: #ababad;
  font-weight: 400;
}
.fake-slack__text {
  margin: 0;
  color: #d1d2d3;
  font-size: 15px;
  line-height: 1.46;
}

@media (max-width: 640px) {
  .fake-slack__channel { padding: 12px 14px; }
  .fake-slack__msg { padding: 6px 14px; gap: 10px; }
  .fake-slack__avatar { width: 32px; height: 32px; font-size: 14px; }
  .fake-slack__name,
  .fake-slack__text { font-size: 14px; }
}
.incident-report__body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 16px;
  font-size: 13px;
  line-height: 1.5;
}
.incident-report__body dt {
  color: var(--g5);
  font-weight: 400;
}
.incident-report__body dd {
  color: var(--cream);
  margin: 0;
}

/* Respect prefers-reduced-motion: kill exit-card lift */
@media (prefers-reduced-motion: reduce) {
  .exit-card { transition: none; }
  .exit-card:hover { transform: none; }
  .exit-card__arrow { transition: none; }
  .exit-card:hover .exit-card__arrow { transform: none; }
}

/* Mobile: stack the 404 a bit tighter, keep cards readable */
@media (max-width: 640px) {
  .error-404 { padding: 56px 0 80px; min-height: 0; }
  .incident-report { padding: 20px 22px; }
  .incident-report__body {
    grid-template-columns: 100px 1fr;
    font-size: 12px;
  }
}
