/* ============================================================
   REID STERLING — BLOG STYLES
   Loaded AFTER styles.css — extends the main design system
   ============================================================ */

/* ── BLOG-SPECIFIC TOKENS ────────────────────────────────── */
:root {
  --post-max-w:      760px;
  --sidebar-w:       272px;
  --callout-bg:      rgba(232, 25, 44, 0.06);
  --callout-border:  rgba(232, 25, 44, 0.35);
  --numbers-bg:      #0c0c0c;
  --faq-bg:          #0d0d0d;
  --card-radius:     6px;
  --card-hover-lift: translateY(-4px);
}

/* ── OVERRIDE: sticky header for blog pages ──────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  padding: 18px 0;
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ff4d5e);
  z-index: 9999;
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   LAUNCH BAR — override for blog (ensure it shows)
   ============================================================ */
.launch-bar {
  background: var(--accent);
  color: var(--pure-white);
  text-align: center;
  padding: 11px 20px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
}
.launch-bar a {
  color: var(--pure-white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.45);
}
.launch-bar a:hover { text-decoration-color: white; }
.launch-bar-dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.55);
  border-radius: 50%;
  margin: 0 14px;
  vertical-align: middle;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 16px 0;
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-item {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb-item a {
  color: var(--light-muted);
  transition: color 0.2s;
}
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border-light); font-size: 0.65rem; }
.breadcrumb-item.current { color: var(--off-white); }

/* ============================================================
   BLOG INDEX — HERO
   ============================================================ */
.blog-hero {
  padding: 88px 0 68px;
  background: var(--black);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.blog-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 80px;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, var(--accent), transparent 70%);
  opacity: 0.35;
}

.blog-hero-inner { position: relative; z-index: 1; }

.blog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.blog-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
}

.blog-hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--pure-white);
  margin-bottom: 22px;
  max-width: 780px;
}
.blog-hero-title em {
  color: var(--accent);
  font-style: italic;
}

.blog-hero-sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--light-muted);
  max-width: 540px;
  margin-bottom: 40px;
}

.blog-stats {
  display: flex;
  gap: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.blog-stat-item {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 36px;
  margin-right: 36px;
  border-right: 1px solid var(--border);
}
.blog-stat-item:last-child { border-right: none; }
.blog-stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pure-white);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* ============================================================
   BLOG INDEX — FILTER TABS
   ============================================================ */
.blog-filters {
  padding: 0;
  border-bottom: 1px solid var(--border);
  background: var(--deep);
  position: sticky;
  top: 76px;
  z-index: 90;
}
.filter-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 24px;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  background: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-tab:hover { color: var(--off-white); }
.filter-tab.active {
  color: var(--pure-white);
  border-bottom-color: var(--accent);
}

/* ============================================================
   BLOG INDEX — POST GRID
   ============================================================ */
.blog-grid-section {
  padding: 56px 0 100px;
  background: var(--black);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── POST CARD ───────────────────────────────────────────── */
.post-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.post-card[data-category="adhd"]::before { background: var(--amber); }
.post-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

.post-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post-card-category {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-card[data-category="adhd"] .post-card-category { color: var(--amber); }

.post-card-read-time {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card-book-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  width: fit-content;
}
.post-card-book-badge::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.post-card-book-badge.badge--amber::before { background: var(--amber); }

.post-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--pure-white);
  transition: color 0.2s ease;
  flex: 1;
}
.post-card:hover .post-card-title { color: var(--off-white); }

.post-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--light-muted);
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.post-card-date {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.2s ease;
}
.post-card:hover .post-card-link { gap: 10px; }

/* ── FEATURED CARD (Post 1 — full width) ──────────────────── */
.post-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  gap: 0;
  padding: 0;
  background: var(--dark-card);
  border-color: var(--border-light);
  align-items: stretch;
}
.post-card--featured::before {
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.post-card--featured:hover {
  transform: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.post-card--featured .post-card-content {
  flex: 1;
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border);
}

.post-card--featured .post-card-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 600px;
  line-height: 1.12;
}
.post-card--featured:hover .post-card-title { color: var(--pure-white); }

.post-card--featured .post-card-excerpt { max-width: 520px; }

.post-card--featured .post-card-footer { margin-top: auto; }

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.featured-tag::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--accent);
}

.post-card--featured .post-card-aside {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--numbers-bg);
  gap: 16px;
}

.post-card--featured .post-card-aside p {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.post-card--featured .post-card-aside img {
  width: 100%;
  max-width: 110px;
  border-radius: 3px;
}

.post-card--featured .post-card-aside strong {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pure-white);
  text-align: center;
  display: block;
}

.post-card--featured .post-card-aside a {
  display: block;
  width: 100%;
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.2s ease;
}
.post-card--featured .post-card-aside a:hover { background: #c8141f; }

/* ============================================================
   BLOG INDEX — NEWSLETTER CAPTURE
   ============================================================ */
.blog-newsletter {
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 0;
}
.blog-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.blog-newsletter-headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--pure-white);
  margin-bottom: 14px;
}
.blog-newsletter-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--light-muted);
}

/* ============================================================
   FORM ELEMENTS (shared blog forms)
   ============================================================ */
.form-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.form-row {
  display: flex;
  gap: 0;
}
.form-input {
  flex: 1;
  background: var(--dark);
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pure-white);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus { border-color: var(--accent); }
.form-submit {
  background: var(--accent);
  color: var(--pure-white);
  border: 1px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 13px 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.form-submit:hover { background: #c8141f; border-color: #c8141f; }
.form-note {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.form-success {
  display: none;
  margin-top: 12px;
  color: #4caf72;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   POST PAGE — HEADER
   ============================================================ */
.post-header {
  padding: 72px 0 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.post-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(232,25,44,0.2) 60%, transparent 100%);
}
.post-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, var(--accent), transparent 60%);
  opacity: 0.25;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  position: relative;
}
.post-meta-item {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-meta-item::before {
  content: '';
  display: block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
}
.post-meta-item:first-child::before { display: none; }
.post-meta-author { color: var(--light-muted); font-weight: 600; }
.post-meta-category {
  color: var(--accent);
  border: 1px solid rgba(232,25,44,0.4);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.16em;
}
.post-meta-category::before { display: none; }

.post-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--pure-white);
  max-width: 860px;
  margin-bottom: 40px;
  position: relative;
}

/* Hero GEO quote callout */
.hero-callout {
  background: var(--callout-bg);
  border-left: 3px solid var(--accent);
  padding: 30px 38px;
  margin-bottom: 0;
  position: relative;
}
.hero-callout::before {
  content: '\201C';
  position: absolute;
  top: -14px; left: 22px;
  font-family: var(--font-head);
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.22;
  line-height: 1;
}
.hero-callout p {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--pure-white);
  font-style: italic;
  position: relative;
}

/* ============================================================
   POST PAGE — TWO-COLUMN LAYOUT
   ============================================================ */
.post-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 72px;
  align-items: start;
  padding: 72px 0 100px;
  background: var(--black);
}

/* ── TABLE OF CONTENTS ───────────────────────────────────── */
.toc {
  position: sticky;
  top: 96px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  padding: 24px;
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-item a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--light-muted);
  display: block;
  padding: 6px 10px;
  border-radius: 3px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}
.toc-item a:hover,
.toc-item a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--callout-bg);
}
.toc-item--sub a {
  padding-left: 22px;
  font-size: 0.76rem;
}

.toc-book-cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.toc-book-cta p {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.toc-book-cta a {
  display: block;
  background: var(--accent);
  color: var(--pure-white);
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.toc-book-cta a:hover { background: #c8141f; }

/* ============================================================
   POST BODY — TYPOGRAPHY
   ============================================================ */
.post-body { min-width: 0; }

.post-content {
  font-size: 1.06rem;
  line-height: 1.82;
  color: var(--off-white);
}
.post-content > * + * { margin-top: 0; }

.post-content h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--pure-white);
  margin: 60px 0 20px;
  padding-left: 20px;
  position: relative;
}
.post-content h2::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 80%;
  background: var(--accent);
  border-radius: 2px;
}

.post-content h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--pure-white);
  margin: 40px 0 14px;
}

.post-content p { margin-bottom: 24px; }
.post-content p:last-child { margin-bottom: 0; }

.post-content strong { color: var(--pure-white); font-weight: 600; }
.post-content em { font-style: italic; }

.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(232,25,44,0.35);
  transition: text-decoration-color 0.2s;
}
.post-content a:hover { text-decoration-color: var(--accent); }

.post-content ul,
.post-content ol {
  margin-bottom: 24px;
  padding-left: 0;
}
.post-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.72;
}
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 1px;
  background: var(--accent);
}
.post-content ol { counter-reset: list-counter; }
.post-content ol li { counter-increment: list-counter; }
.post-content ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0; top: 3px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── GEO QUOTABLE PARAGRAPH ──────────────────────────────── */
.geo-quote {
  background: var(--callout-bg);
  border-left: 3px solid var(--accent);
  padding: 26px 30px;
  margin: 36px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.geo-quote p {
  font-family: var(--font-head);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--pure-white);
  font-weight: 500;
  margin: 0;
}
.geo-quote p + p { margin-top: 14px; }

/* ── THE NUMBERS DATA BOX ────────────────────────────────── */
.numbers-box {
  background: var(--numbers-bg);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  padding: 36px 40px;
  margin: 52px 0;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}
.numbers-box-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.numbers-box-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.numbers-list { display: flex; flex-direction: column; gap: 20px; }
.numbers-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.numbers-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.numbers-stat {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--pure-white);
  line-height: 1;
  white-space: nowrap;
}
.numbers-stat em { color: var(--accent); font-style: normal; }
.numbers-label {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--light-muted);
}
.numbers-label strong { color: var(--off-white); }

/* ── BOOK CTA BLOCK ──────────────────────────────────────── */
.book-cta-block {
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  padding: 36px 40px;
  margin: 52px 0;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}
.book-cta-block.cta--amber { border-top-color: var(--amber); }

.book-cta-cover {
  aspect-ratio: 2/3;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.book-cta-cover img { width: 100%; height: 100%; object-fit: cover; }

.book-cta-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.book-cta-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--pure-white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.book-cta-pitch {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--light-muted);
}
.book-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--pure-white);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.book-cta-btn:hover { background: #c8141f; transform: translateY(-1px); }
.book-cta-block.cta--amber .book-cta-btn { background: var(--amber); }
.book-cta-block.cta--amber .book-cta-btn:hover { background: var(--amber-dim); }

/* ── TERMINOLOGY INTRO BOX ───────────────────────────────── */
.term-intro {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 28px 32px;
  margin-bottom: 40px;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}
.term-intro-title {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.term-intro-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.term-intro-list { display: flex; flex-direction: column; gap: 12px; }
.term-intro-item {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--light-muted);
  padding-left: 16px;
  border-left: 2px solid var(--border-light);
}
.term-intro-item strong { color: var(--pure-white); font-weight: 600; }

/* ── AUTHOR BIO ──────────────────────────────────────────── */
.author-bio {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 52px 0;
}
.author-bio-photo {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 2px solid var(--border-light);
  overflow: hidden;
  flex-shrink: 0;
}
.author-bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-bio-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pure-white);
  margin-bottom: 4px;
}
.author-bio-role {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.author-bio-text {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--light-muted);
}
.author-bio-text a { color: var(--accent); }

/* ── FAQ SECTION ─────────────────────────────────────────── */
.faq-section {
  margin: 52px 0;
  padding: 36px 40px;
  background: var(--faq-bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--card-radius) var(--card-radius);
}
.faq-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--off-white);
  transition: color 0.2s ease;
}
.faq-question:hover .faq-q-text { color: var(--pure-white); }
.faq-icon {
  width: 18px; height: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.32s var(--ease-out-expo), color 0.2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item.open .faq-q-text { color: var(--pure-white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
}
.faq-item.open .faq-answer { max-height: 800px; }

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--light-muted);
}
.faq-answer-inner p + p { margin-top: 12px; }
.faq-answer-inner strong { color: var(--off-white); }

/* ── RELATED POSTS ───────────────────────────────────────── */
.related-posts {
  margin: 64px 0 0;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.related-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.related-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.related-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.related-card-cat {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.related-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--pure-white);
  flex: 1;
  transition: color 0.2s ease;
}
.related-card:hover .related-card-title { color: var(--off-white); }
.related-card-time {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: auto;
}

/* ── POST NEWSLETTER CTA ─────────────────────────────────── */
.post-newsletter {
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  padding: 44px;
  margin: 52px 0 0;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  text-align: center;
}
.post-newsletter-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--pure-white);
  margin-bottom: 10px;
}
.post-newsletter-sub {
  font-size: 0.9rem;
  color: var(--light-muted);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   FOOTER (blog pages — full footer styles)
   ============================================================ */
.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pure-white);
  margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 260px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: all 0.2s ease;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }
.social-link svg { width: 13px; height: 13px; fill: currentColor; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--off-white); }
.footer-link--amber { color: var(--amber) !important; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--light-muted); }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .toc { display: none; }
  .post-content h2 { padding-left: 0; }
  .post-content h2::before { display: none; }
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .post-card--featured .post-card-aside { width: 220px; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }

  .post-card--featured {
    flex-direction: column;
  }
  .post-card--featured .post-card-content {
    padding: 36px 28px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .post-card--featured .post-card-aside { display: none; }

  .book-cta-block {
    grid-template-columns: 64px 1fr;
    gap: 20px;
  }
  .book-cta-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .blog-newsletter-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
  .post-title { font-size: clamp(1.8rem, 6.5vw, 2.8rem); }
  .numbers-box { padding: 28px 24px; }
  .faq-section { padding: 28px 24px; }
  .post-newsletter { padding: 32px 28px; }
  .author-bio { grid-template-columns: 1fr; }
  .author-bio-photo { width: 56px; height: 56px; }
  .blog-hero { padding: 60px 0 48px; }
  .blog-stats { gap: 20px; }
  .blog-stat-item { border-right: none; padding-right: 0; margin-right: 0; }

  /* Mobile nav override */
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }

  .mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-nav.open {
    opacity: 1;
    pointer-events: all;
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    list-style: none;
  }
  .mobile-nav-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-muted);
    padding: 14px 32px;
    display: block;
    transition: color 0.2s;
    text-decoration: none;
  }
  .mobile-nav-links a:hover { color: var(--pure-white); }
  .mobile-nav-cta {
    color: var(--accent) !important;
    border: 1px solid rgba(232,25,44,0.5);
    border-radius: var(--radius);
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .post-card { padding: 28px 22px; }
  .post-card--featured .post-card-content { padding: 28px 22px; }
  .blog-filters { top: 66px; }
  .hero-callout { padding: 22px 26px; }
  .form-row { flex-direction: column; }
  .form-input {
    border-right: 1px solid var(--border-light);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .form-submit {
    border-radius: 0 0 var(--radius) var(--radius);
    width: 100%;
    padding: 13px;
  }
}
