/* The Whole Steward — ported from the ignition-mozzy theme's settings
   (dark background, Inter, blue accent). Edit the tokens, not the rules. */
:root {
  --bg: #2d2d2d;
  --bg-deep: #212121;
  --text: #dddddd;
  --muted: #b7b7b7;
  --head: #ffffff;
  --accent: #2d99ff;
  --border: #4a4a4a;
  --field: #4c4c4c;
  --btn-bg: #212121;
  --btn-text: #dddddd;
  --btn-border: #666666;
  --wrap: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--head); }
h1, h2, h3, h4 { color: var(--head); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.03em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.meta { color: var(--muted); font-size: .9rem; }
.sr-only, .nav-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg-deep); padding: 8px 12px; }

.btn {
  display: inline-block;
  padding: .6em 1.4em;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}
.btn:hover { border-color: var(--accent); color: var(--head); }

/* Header: transparent over the hero on the home page, solid elsewhere. */
.site-header { background: var(--bg-deep); position: relative; z-index: 5; }
.is-home .site-header { position: absolute; inset: 0 0 auto 0; background: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo img { width: 125px; }
@media (max-width: 575px) { .logo img { width: 90px; } }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav-toggle-label { display: none; color: #fff; cursor: pointer; font-weight: 700; }
@media (max-width: 991px) {
  .nav-toggle-label { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-deep); padding: 12px 16px 20px; }
  .nav a { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 2px solid var(--accent); }
}

/* Hero */
.hero-img { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.hero-img img { width: 100%; max-height: 650px; object-fit: cover; }
.hero-band { background: #171717; text-align: center; padding: 24px 16px clamp(48px, 10vw, 120px); }
.hero-band h1 { margin-bottom: .2em; }
.hero-band p { color: #fff; margin: 0; }

.page-title { background: var(--bg-deep); padding: 56px 0 40px; margin-bottom: 40px; }
.page-title h1 { margin: 0; }
.page-title .meta { margin: .5em 0 0; }

.block { padding: 48px 16px; }
.block > h2 { margin-bottom: 1em; }
.block .center { text-align: left; }

/* Episode / post cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; margin-bottom: 48px; }
.card-img { display: block; }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.card-title { margin: .8em 0 .2em; font-size: 1.1rem; }
.card-title a, .feature h3 a, .post-list h3 a { color: var(--head); text-decoration: none; }
.card .meta { margin-bottom: .8em; }

.feature { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; }
.feature img { width: 100%; border-radius: 3px; }
@media (max-width: 767px) { .feature { grid-template-columns: 1fr; } }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.post-list img { width: 150px; height: 150px; object-fit: cover; border-radius: 3px; }
@media (max-width: 575px) { .post-list li { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonials { columns: 3 300px; column-gap: 24px; }
.testimonial { break-inside: avoid; margin: 0 0 24px; padding: 24px; background: var(--bg-deep); border-radius: 3px; }
.testimonial h3 { font-size: 1.05rem; }
.testimonial blockquote { margin: 0 0 .8em; padding: 0; border: 0; color: var(--text); background: none; }
.testimonial figcaption { color: var(--muted); font-weight: 700; }
.stars { color: #f5b301; margin-right: 6px; letter-spacing: 2px; }

/* Long-form content */
.prose { max-width: 820px; margin: 0 auto 64px; }
.prose .featured { width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 32px; border-radius: 3px; }
.prose h2 { margin-top: 1.6em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 24px; background: #f2f2f2; color: #000; border-left: 4px solid var(--accent); }
.prose blockquote cite { display: block; margin-top: .5em; font-style: normal; font-size: .9rem; }
.prose blockquote cite::before { content: "\2014 \2009"; }
.prose figure { margin: 1.5em 0; }
.prose iframe { border: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.embed-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5em; }
.embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cc-podcast-apps { list-style: none; padding: 0; }
.cc-podcast-apps img { width: 120px; border-radius: 50%; }

/* Forms */
.form { display: grid; gap: 16px; margin-top: 32px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--head); }
.form input, .form textarea, .form select {
  font: inherit; color: #fff; background: var(--field); border: 1px solid var(--btn-border); border-radius: 3px; padding: 10px 12px;
}
.form textarea { min-height: 150px; }
.form .hp { display: none; }
.form-status { font-weight: 700; }

/* Footer */
.site-footer { background: var(--bg-deep); padding: 48px 0 24px; margin-top: 48px; font-size: .9rem; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-cols nav { columns: 2 160px; }
.footer-cols nav a, .footer-post { display: block; color: var(--text); text-decoration: none; padding: 3px 0; }
.footer-post small { display: block; color: var(--muted); }
.footer-head { font-size: 1rem; }
.copyright { margin-top: 32px; color: var(--muted); }
@media (max-width: 767px) { .footer-cols { grid-template-columns: 1fr; } }
