/* =========================================================
   Arx — Blog post (cream / editorial)
   Loaded on every blog/<slug>/index.html
   Depends on: tokens.css, chrome.css, marketing-nav.css, white.css
   ========================================================= */

/* ── post hero ───────────────────────────────────────── */
.post-hero {
  border-bottom: 1px solid var(--rule);
  background: #FFFFFF;
}
.post-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px var(--gutter) 64px;
}
.post-hero .crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.post-hero .crumb a { color: var(--ink-3); border-bottom: 1px solid var(--rule-2); padding-bottom: 1px; }
.post-hero .crumb a:hover { color: var(--ink); border-color: var(--ink); }
.post-hero .crumb .sep { margin: 0 10px; color: var(--rule-2); }

.post-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
  margin: 16px 0 28px;
}
.post-hero h1 em { font-style: italic; color: var(--ink); }
.post-hero h1 .underline {
  background-image: linear-gradient(to bottom, transparent 78%, rgba(181,74,43,.32) 78%, rgba(181,74,43,.32) 92%, transparent 92%);
  padding: 0 .04em;
}
.post-hero .dek {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin-bottom: 32px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.post-meta span strong { color: var(--ink); font-weight: 500; margin-left: 6px; }

/* ── article body ────────────────────────────────────── */
.post-body {
  background: var(--paper);
  padding: 72px 0 80px;
}
.post-body .article {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.post-body p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.post-body p.lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 32px;
}
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 18px;
}
.post-body h2 em { font-style: italic; }
.post-body h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0;
  color: var(--ink);
  margin: 36px 0 12px;
}
.post-body h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 32px 0 10px;
}
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

.post-body code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1px 6px;
  color: var(--ink);
}
.post-body pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  background: var(--mono-bg);
  color: var(--mono-ink);
  padding: 22px 24px;
  margin: 28px 0;
  overflow-x: auto;
  border-left: 3px solid var(--signal);
}
.post-body pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; }

.post-body ul, .post-body ol {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 22px 22px;
}
.post-body li { margin-bottom: 8px; }

.post-body blockquote, .post-body .pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--signal);
  padding: 12px 0 12px 22px;
  margin: 32px 0;
  background: transparent;
}

.post-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--signal);
  text-decoration: none;
  padding-bottom: 1px;
}
.post-body a:hover { color: var(--signal); }

/* ── more from arx ───────────────────────────────────── */
.post-more {
  border-top: 1px solid var(--rule);
  padding: 56px 0 64px;
  background: #FFFFFF;
}
.post-more .inner { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }
.post-more .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.post-more .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.post-more .card {
  display: block;
  padding: 24px;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.post-more .card:hover { border-color: var(--ink); }
.post-more .card .cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 8px;
}
.post-more .card .t {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.post-more .card .arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 14px;
}

@media (max-width: 720px) {
  .post-hero-inner { padding: 56px var(--gutter) 48px; }
  .post-hero h1 { font-size: 36px; }
  .post-hero .dek { font-size: 16px; }
  .post-body { padding: 48px 0 64px; }
  .post-body p { font-size: 16px; }
  .post-body h2 { font-size: 24px; }
  .post-more .grid { grid-template-columns: 1fr; }
}
