/* ═══════════════════════════════════════════════════════════
   Cue — blog post typography
   Long-form reading, Stripe/Linear/Vercel-style.
   Depends on shared.css for nav, footer, tokens.
   ═══════════════════════════════════════════════════════════ */

body { background: #faf8f4; }
/* Override shared.css #scroll-progress: use transform (composited, no layout) */
#scroll-progress {
  width: 100% !important;
  transform-origin: 0 0;
  transform: scaleX(0);
  transition: none !important;
  will-change: transform;
}
/* Kill backdrop-filter on blog pages — blurring a 10000px document behind
   a fixed nav triggers repaint every frame on many GPUs. Plain alpha is fine. */
nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255, 255, 255, 0.92) !important;
}
.post-page { padding-top: 72px; }

/* ── Header ─────────────────────────── */
.post-header {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 32px 48px;
  text-align: left;
}
.post-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #5a4a35;
  margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.post-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #c2410c; }
.post-title {
  font-size: 60px; line-height: 1.06; letter-spacing: -2.2px;
  font-weight: 800; color: #1a1714;
  margin-bottom: 28px;
}
.post-meta {
  font-size: 15px; color: #8a7a66; font-weight: 500;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.post-meta .sep { color: #d4c8b8; }

/* ── Body prose ─────────────────────── */
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px 64px;
  font-size: 20px;
  line-height: 1.7;
  color: #2a231c;
  font-weight: 400;
}

.post-body > * + * { margin-top: 1.2em; }

.post-body h2 {
  font-size: 32px; line-height: 1.2; letter-spacing: -0.9px;
  font-weight: 700; color: #1a1714;
  margin-top: 3.6em; margin-bottom: 0.6em;
  position: relative;
}
.post-body h2::before {
  content: ""; display: block;
  width: 56px; height: 2px; background: #1a1714;
  margin-bottom: 1.4em;
}
.post-body h3 {
  font-size: 22px; line-height: 1.3; font-weight: 700; color: #1a1714;
  margin-top: 2em; margin-bottom: 0.4em;
}

.post-body p { color: #2a231c; }

.post-body a {
  color: #1a1714; text-decoration: underline;
  text-decoration-color: #c2410c;
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  transition: text-decoration-color 0.15s;
}
.post-body a:hover { text-decoration-color: #1a1714; }

.post-body strong { color: #1a1714; font-weight: 700; }
.post-body em { font-style: italic; }

.post-body blockquote {
  font-size: 26px; line-height: 1.4; font-weight: 600;
  letter-spacing: -0.5px; color: #1a1714;
  margin: 2.4em -8px; padding: 4px 0 4px 28px;
  border-left: 4px solid #c2410c;
}
.post-body blockquote p { color: #1a1714; }

.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin-top: 0.4em; }
.post-body li::marker { color: #888; }

.post-body code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: #f4f2ef; border-radius: 4px;
  padding: 2px 6px; color: #1d1a1a;
}
.post-body pre {
  background: #1d1a1a; color: #f4f2ef;
  padding: 20px 24px; border-radius: 10px;
  overflow-x: auto; font-size: 14.5px; line-height: 1.6;
  margin: 1.6em 0;
}
.post-body pre code {
  background: transparent; padding: 0; color: inherit; font-size: inherit;
}

.post-body hr {
  border: none; border-top: 1px solid #e5e5e5;
  margin: 2.8em auto; max-width: 120px;
}

.post-body img {
  max-width: 100%; border-radius: 10px;
  margin: 2em 0;
}

/* ── Twitter follow card ────────────── */
.post-twitter {
  max-width: 760px; margin: 0 auto; padding: 32px 32px 0;
}
.twitter-card {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid #e8e0d2;
  border-radius: 14px; padding: 20px 24px;
  text-decoration: none; color: #1a1714;
  transition: border-color 0.15s, transform 0.15s;
}
.twitter-card:hover { border-color: #c2410c; transform: translateY(-1px); }
.twitter-card svg { flex-shrink: 0; }
.twitter-card-text { flex: 1; min-width: 0; }
.twitter-card-title { font-weight: 700; font-size: 16px; margin-bottom: 2px; color: #1a1714; }
.twitter-card-handle { font-size: 14px; color: #8a6a45; }
.twitter-card-follow {
  flex-shrink: 0; background: #1a1714; color: #fff;
  padding: 8px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
}

/* ── Footer / next ──────────────────── */
.post-cta {
  max-width: 760px; margin: 0 auto; padding: 64px 32px 96px;
  text-align: center;
}
.post-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: #c2410c;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.post-cta-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: #c2410c;
}
.post-cta-eyebrow::after {
  content: ""; width: 24px; height: 1px; background: #c2410c;
}
.post-cta h3 {
  font-size: 40px; line-height: 1.1; letter-spacing: -1.4px;
  font-weight: 800; color: #1a1714;
  margin-bottom: 14px;
}
.post-cta p {
  font-size: 18px; color: #6b5d4a; margin: 0 auto 32px;
  max-width: 480px; line-height: 1.5;
}
.post-cta a.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1a1714; color: #faf8f4;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.post-cta a.btn-cta:hover {
  background: #c2410c;
  transform: translateY(-1px);
}
.post-cta a.btn-cta svg { transition: transform 0.15s; }
.post-cta a.btn-cta:hover svg { transform: translateX(3px); }

/* ── Responsive ─────────────────────── */
@media (max-width: 640px) {
  .post-title { font-size: 40px; letter-spacing: -1.2px; }
  .post-header { padding: 56px 20px 28px; }
  .post-body { font-size: 18px; padding: 0 20px 48px; }
  .post-body h2 { font-size: 24px; margin-top: 2em; }
  .post-body blockquote { font-size: 20px; padding-left: 18px; margin: 1.8em 0; }
  .post-twitter, .post-cta { padding-left: 20px; padding-right: 20px; }
  .twitter-card { flex-wrap: wrap; }
}
