/* ==========================================================================
   The Morning Lift — design system v2
   Dawn-to-chalk: a dark "gym before sunrise" hero and footer bookend a warm
   chalk-colored content zone. Category = bumper-plate color (navy/orange/
   gold), carried everywhere a category appears. Signature device: a
   CSS-built barbell rule marks the seam between dark and light sections.
   ========================================================================== */

:root {
  --navy-deep: #0b1930;
  --navy: #13284a;
  --black: #121417;
  --cream: #f6efde;
  --cream-card: #fffbf2;

  --orange: #e8600f;
  --orange-bright: #ff7a24;
  --gold: #f2a91d;
  --plate-navy: #3868b0;

  --ink: #16202e;
  --muted-dark: #b9c2d1;
  --faint-dark: #7c8aa0;
  --muted-light: #5b6472;
  --faint-light: #85909e;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-soft: rgba(255, 255, 255, 0.08);
  --line-light: rgba(22, 32, 46, 0.13);
  --line-light-soft: rgba(22, 32, 46, 0.07);

  --font-display: "Anton", sans-serif;
  --font-head: "Oswald", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange-bright); outline-offset: 2px; }

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

/* --- plate badge: the category device, used everywhere a category appears --- */
.plate {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--faint-dark);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
}
.plate.plate-training { background: var(--plate-navy); }
.plate.plate-business { background: var(--orange); }
.plate.plate-mindset { background: var(--gold); }
.plate.plate-sm { width: 18px; height: 18px; }
.plate.plate-sm::after { width: 6px; height: 6px; }
.on-dark .plate::after { background: var(--navy-deep); }

.cat-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cat-label.training { color: var(--plate-navy); }
.cat-label.business { color: var(--orange); }
.cat-label.mindset { color: #a3720e; }
.on-dark .cat-label.training { color: #8fb3e6; }
.on-dark .cat-label.business { color: var(--orange-bright); }
.on-dark .cat-label.mindset { color: var(--gold); }

/* --- barbell rule: signature divider between dark and light sections --- */
.barbell-rule {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 24px;
  gap: 0;
}
.barbell-rule .br-line { flex: 1; height: 3px; background: currentColor; min-width: 12px; }
.barbell-rule .br-sleeve { width: 5px; height: 13px; background: currentColor; }
.barbell-rule .br-plate { border-radius: 50%; border: 3px solid currentColor; }
.barbell-rule .br-plate.lg { width: 30px; height: 30px; }
.barbell-rule .br-plate.sm { width: 18px; height: 18px; }

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary { background: var(--orange); color: #fff8ef; }
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-1px); }

.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fdf6e8; }
.btn-ghost:hover { border-color: #fff; transform: translateY(-1px); }

.btn-ghost.on-light { border-color: var(--line-light); color: var(--ink); }
.btn-ghost.on-light:hover { border-color: var(--ink); }

button.btn { cursor: pointer; appearance: none; -webkit-appearance: none; }

/* --- nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 25, 48, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fdf6e8;
  white-space: nowrap;
}

.logo .logo-mark { width: 38px; height: 38px; flex: none; }
.logo .g { color: var(--orange-bright); }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  transition: color 0.15s ease;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--orange-bright); }
.nav-cta { color: var(--orange-bright) !important; border: 1px solid rgba(255, 122, 36, 0.5) !important; padding: 8px 16px !important; border-radius: 2px; }
.nav-cta:hover { background: var(--orange-bright); color: var(--navy-deep) !important; }

/* --- hero (homepage) --- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0e2142 70%, var(--navy) 100%);
  padding: 72px 0 0;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 820px 560px at 14% 110%, rgba(232, 96, 15, 0.38), transparent 60%),
    radial-gradient(ellipse 500px 420px at 15% 115%, rgba(242, 169, 29, 0.28), transparent 65%),
    radial-gradient(ellipse 600px 500px at 92% -10%, rgba(56, 104, 176, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 560px;
  max-width: 55vw;
  opacity: 0.1;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; padding-bottom: 54px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange-bright); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  color: #fdf6e8;
  margin: 0 0 26px;
}
.hero h1 span { color: var(--orange-bright); }

.hero p.lede, .article-hero-inner p.lede {
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--muted-dark);
  max-width: 540px;
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint-dark);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark-soft);
}
.stat-strip strong { color: #fdf6e8; font-weight: 600; }

/* --- scoreboard ticker --- */
.ticker-bar {
  background: var(--black);
  position: relative;
  height: 46px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line-dark-soft);
}

.ticker-bar .ticker-tag {
  flex: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--orange-bright);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 18px;
  z-index: 1;
}

.ticker-viewport {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
  padding-left: 24px;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--muted-dark);
}
.ticker-track span b { color: var(--orange-bright); font-weight: 500; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- barbell seam: sits on the black ticker bg, color flows to the accent --- */
.seam { background: var(--black); color: var(--orange-bright); }

/* --- section headers --- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 58px 0 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}

.section-head .post-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint-light);
  letter-spacing: 0.04em;
}

/* --- filters --- */
.log-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 4px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 0 12px;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--faint-light);
  cursor: pointer;
  background: transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.filter-pill:hover { color: var(--ink); }
.filter-pill.active { color: var(--ink); border-bottom-color: var(--orange); }

/* --- training log: the post list --- */
.post-grid { margin-bottom: 8px; }

.grid-row {
  display: grid;
  grid-template-columns: 26px 1fr auto 18px;
  align-items: center;
  gap: 20px;
  padding: 22px 14px;
  border-bottom: 1px solid var(--line-light);
  border-radius: 3px;
  transition: background 0.15s ease;
}
.grid-row:hover { background: var(--cream-card); }

.grid-row .row-main h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.26rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: 0.002em;
}

.grid-row .row-main p {
  font-size: 0.95rem;
  color: var(--muted-light);
  margin: 0;
  max-width: 640px;
}

.grid-row .row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint-light);
  white-space: nowrap;
}

.grid-row .row-arrow {
  font-family: var(--font-mono);
  color: var(--faint-light);
  transition: transform 0.15s ease, color 0.15s ease;
}
.grid-row:hover .row-arrow { transform: translateX(3px); color: var(--orange); }

.empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--muted-light);
  border: 1px dashed var(--line-light);
  font-size: 1.05rem;
  border-radius: 4px;
}

/* --- pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 36px 0 64px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.pagination button { background: none; border: none; color: var(--faint-light); cursor: pointer; padding: 4px 2px; border-bottom: 1px solid transparent; }
.pagination button.active { color: var(--ink); border-bottom-color: var(--orange); }
.pagination button:hover:not(.active):not(:disabled) { color: var(--ink); }
.pagination button:disabled { opacity: 0.3; cursor: not-allowed; }

/* --- about card: dark inset block in the chalk section --- */
.about-block {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 34px;
  margin: 60px 0;
  border-radius: 4px;
}
.about-block img { width: 84px; height: 84px; }
.about-block h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin: 0 0 12px;
}
.about-block p { margin: 0 0 14px; color: var(--muted-dark); font-size: 1.02rem; line-height: 1.62; }
.about-block .host-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.host-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fdf6e8;
  border: 1px solid var(--line-dark);
  padding: 5px 11px;
  border-radius: 2px;
}

/* --- listen band --- */
.listen-band { background: var(--black); padding: 64px 0; text-align: center; }
.listen-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fdf6e8;
  margin: 0 0 14px;
}
.listen-band p { color: var(--muted-dark); margin: 0 0 30px; font-size: 1.05rem; }
.listen-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* --- article page --- */
.article-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0e2142 100%);
  padding: 52px 0 0;
}
.article-hero .hero-glow {
  background:
    radial-gradient(ellipse 600px 420px at 100% 0%, rgba(242, 169, 29, 0.18), transparent 60%),
    radial-gradient(ellipse 500px 420px at -5% 100%, rgba(232, 96, 15, 0.22), transparent 60%);
}
.article-hero-inner { position: relative; padding-bottom: 46px; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint-dark);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--orange-bright); }

.cat-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }

.article-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0.002em;
  color: #fdf6e8;
  margin: 0 0 22px;
  max-width: 900px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--faint-dark);
  margin-bottom: 8px;
}

.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }
.tag-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
  border-radius: 2px;
}

.article-actions { margin-top: 26px; }

.article-body { max-width: 700px; margin: 0 auto; padding: 44px 24px 40px; }

.article-body p, .article-body ul, .article-body ol, .article-body blockquote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #212a38;
}
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }

.article-body h2 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.62rem;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 48px 0 18px;
  padding-top: 10px;
  border-top: 3px solid var(--orange);
  display: inline-block;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.24rem; color: var(--ink); margin: 30px 0 12px; }

.article-body a:not(.btn) { color: var(--plate-navy); border-bottom: 1px solid rgba(56, 104, 176, 0.4); }
.article-body a:not(.btn):hover { color: var(--orange); border-color: var(--orange); }

.article-body blockquote {
  position: relative;
  border-left: 3px solid var(--orange);
  background: var(--cream-card);
  margin: 30px 0;
  padding: 20px 24px 20px 28px;
  color: var(--muted-light);
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-family: var(--font-body); font-size: 0.92rem; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid var(--line-light); text-align: left; }
.article-body th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--faint-light); }

.article-body code { font-family: var(--font-mono); background: rgba(22, 32, 46, 0.07); color: var(--ink); padding: 2px 6px; font-size: 0.85em; }

.cta-box {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 30px;
  margin: 44px 0;
  border-radius: 4px;
}
.cta-box h3 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; color: #fdf6e8; margin: 0 0 8px; font-size: 1.28rem; }
.cta-box p { color: var(--muted-dark); margin: 0 0 20px; }

.faq-item { border-bottom: 1px solid var(--line-light); padding: 20px 0; }
.faq-item h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; text-transform: none; color: var(--ink); margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--muted-light); }

.episode-embed {
  background: var(--cream-card);
  border: 1px solid var(--line-light);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 44px 0;
  border-radius: 4px;
}
.episode-embed strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); }
.episode-embed .sub { color: var(--muted-light); font-family: var(--font-body); font-size: 0.88rem; margin-top: 4px; }
.episode-embed a.btn { flex: none; }
.episode-embed > div { min-width: 0; }

.article-jumps { margin: 26px 0; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: 4px; background: rgba(255, 255, 255, 0.04); }
.article-jumps summary { cursor: pointer; color: #fdf6e8; font-weight: 600; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.article-jumps ul { margin: 12px 0 0; padding-left: 20px; }
.article-jumps a { color: var(--muted-dark); text-decoration: underline; text-underline-offset: 3px; font-size: 0.92rem; }
.article-jumps a:hover { color: var(--orange-bright); }

.related-all { display: inline-block; margin-top: 20px; color: var(--plate-navy); font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- modal / popup form --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 25, 48, 0.65);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--cream-card);
  border: 1px solid var(--line-light);
  width: 100%; max-width: 640px; max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(11, 25, 48, 0.35);
  border-radius: 4px;
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--navy-deep);
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.01em; color: #fdf6e8;
}
.modal-close { background: none; border: none; color: var(--muted-dark); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.modal-close:hover { color: #fff; }
.modal-frame { width: 100%; flex: 1; min-height: 60vh; border: none; background: var(--cream-card); }
.modal-fallback { padding: 12px 20px; border-top: 1px solid var(--line-light); font-family: var(--font-mono); font-size: 0.78rem; color: var(--faint-light); text-align: center; }
.modal-fallback a { color: var(--plate-navy); }

@media (max-width: 620px) {
  .modal-overlay { padding: 0; }
  .modal {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
  }
  .modal-head { padding: 12px 16px; font-size: 0.95rem; flex: none; }
  .modal-frame { min-height: 0; flex: 1 1 auto; }
  .modal-fallback { padding: 8px 16px; font-size: 0.72rem; flex: none; }
}

/* --- related --- */
.related { max-width: 700px; margin: 0 auto 60px; }
.related h2 {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: 1.4rem; color: var(--ink); margin: 0 0 6px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}
.related-list .grid-row { grid-template-columns: 22px 1fr auto 16px; }
.related-list .grid-row h3 { font-size: 1.05rem; }

/* --- footer --- */
.site-footer { background: var(--navy-deep); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted-dark); font-size: 0.95rem; max-width: 320px; line-height: 1.55; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint-dark); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted-dark); font-size: 0.92rem; margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line-dark-soft);
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--faint-dark);
}
.legend { display: flex; gap: 16px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: 0.05em; }

.legend-inline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--faint-light);
  flex-wrap: wrap;
}

/* --- responsive --- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; height: auto; padding: 14px 20px; gap: 10px; }
  .nav-links { gap: 14px; }
  .nav-links a.home-link { display: none; }
  .hero-watermark { display: none; }
  .about-block { grid-template-columns: 1fr; text-align: center; }
  .about-block img { margin: 0 auto; }
}

@media (max-width: 620px) {
  .episode-embed { flex-direction: column; align-items: flex-start; padding: 20px; }
  .episode-embed a.btn { max-width: 100%; justify-content: center; }
  .related-list .grid-row { grid-template-columns: 20px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-row { grid-template-columns: 22px 1fr; row-gap: 8px; padding: 18px 8px; }
  .grid-row .row-meta { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 12px; flex-wrap: wrap; white-space: normal; }
  .grid-row .row-arrow { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
