/* VibeCheck.luxury — blog post body styles (rebuild 2026-09-03).
   Loaded after /ds/system.css, /ds/theme.css and /site.css on the 98 blog
   posts only. Post bodies are byte-frozen (see scripts/apply-ds-shell.mjs),
   so this file styles the classes those bodies already use. Every color and
   radius comes from the site.css token aliases of the vendored --ds-* set.
   Founder ruling 2026-09-09: near-black ground, one restrained red-neon signal. The
   legacy body-variable block at the foot of this file is the only place the
   retired names survive, because the bodies are frozen and still spell them. */

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

.blog-header { padding: 56px 0 32px; border-bottom: 1.5px solid var(--ink); }
.blog-header__kicker {
  font-family: var(--jb); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 16px;
}
.blog-header__h1 { margin: 0 0 20px; }
.blog-header__h1 em { font-style: italic; color: var(--accent); }
.blog-header__meta {
  display: flex; flex-wrap: wrap; gap: 18px; margin: 0;
  font-family: var(--jb); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted);
}
.blog-header__meta a { color: var(--accent); text-decoration: none; }
.blog-header__meta a:hover { text-decoration: underline; }

.blog-article { padding: 40px 0 8px; font-size: 1.1rem; line-height: 1.7; }
.blog-article > p { margin: 0 0 1.3em; }
.blog-article h2 { margin: 2.2em 0 0.7em; }
.blog-article h3 { margin: 1.8em 0 0.5em; }
.blog-article ul, .blog-article ol { margin: 0 0 1.3em; padding-left: 24px; }
.blog-article li { margin-bottom: 0.5em; }
.blog-article li::marker { color: var(--accent); }
.blog-article code {
  font-family: var(--jb); font-size: 0.86em; background: var(--panel);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px;
}
.blog-article img, .blog-article svg { max-width: 100%; height: auto; }
.blog-article figure { margin: 2em 0; }
.blog-article blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent);
  color: var(--ink-2);
}
.blog-article blockquote p { margin: 0 0 0.6em; }
.blog-article blockquote cite { font-family: var(--jb); font-size: 0.8rem; font-style: normal; color: var(--muted); }

.answer-box {
  background: var(--panel); border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; margin: 0 0 36px;
  font-size: 1.05rem; line-height: 1.62;
}
.answer-box .lbl {
  display: block; margin-bottom: 12px; font-family: var(--jb); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.answer-box cite {
  display: block; margin-top: 14px; font-style: normal;
  font-family: var(--jb); font-size: 0.8rem; color: var(--muted);
}

.blog-article .table-wrap { overflow-x: auto; margin: 28px 0; }
.blog-article table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.blog-article th, .blog-article td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
.blog-article thead th {
  background: var(--panel); font-family: var(--jb); font-weight: 500; font-size: 0.72rem;
  line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em;
}

.faq-q { font-family: var(--fr); font-weight: 600; font-size: 1.25rem; line-height: 1.3; margin: 1.8em 0 0.4em; }
.fn-ref { font-family: var(--jb); font-size: 0.72em; font-weight: 500; vertical-align: super; }
.fn-ref:hover { color: var(--accent); }

.citations { margin: 48px 0 0; padding: 32px 0 0; border-top: 1.5px solid var(--ink); }
.citations h2 { font-family: var(--jb); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 20px; }
.citations ol { margin: 0; padding: 0 0 0 22px; font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); }
.citations li { margin-bottom: 12px; padding-left: 4px; }
.citations li::marker { color: var(--accent); font-family: var(--jb); font-size: 0.85em; }
.citations a { color: var(--accent); text-decoration: none; }
.citations a:hover { text-decoration: underline; }

.blog-related {
  margin: 48px 0 0; padding: 28px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r);
}
.blog-related h3 { font-family: var(--jb); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.blog-related a { display: block; font-family: var(--fr); font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: var(--ink); text-decoration: none; margin-bottom: 12px; }
.blog-related a:last-child { margin-bottom: 0; }
.blog-related a:hover { color: var(--accent); text-decoration: underline; }

.author-bio { margin: 48px 0 0; padding: 28px 0 0; border-top: 1.5px solid var(--ink); font-size: 0.98rem; line-height: 1.62; color: var(--ink-2); }
.author-bio h3 { font-family: var(--jb); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.author-bio ol { margin: 0; padding-left: 22px; }
.author-bio li { margin-bottom: 10px; }
.author-bio .src-note { margin: 14px 0 0; font-size: 0.88rem; color: var(--muted); }

.post-cta { margin-top: 64px; border-top: 1.5px solid var(--accent); background: var(--ds-panel-deep); color: var(--ink); padding: 56px 0; }
.post-cta__line { font-family: var(--fr); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; margin: 0 0 28px; }
.post-cta__line em { color: var(--accent); }
.post-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-pill, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-radius: 999px; font-family: var(--it); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn-pill { background: var(--ink); color: var(--ground); }
.btn-pill:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }
.post-cta .btn-pill { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.post-cta .btn-pill:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.post-cta .btn-ghost { color: var(--ink); border-color: var(--ds-line); }
.post-cta .btn-ghost:hover { border-color: var(--ink); background: var(--ds-line-soft); color: var(--ink); }

.pillar-graphic { margin: 2em 0; }


/* ── Frozen-body variable shim ─────────────────────────────────────────────
   The 98 post bodies are byte-frozen against `1618eb7`, so their inline SVG
   illustrations still spell the pre-rebuild variable names. Seven of those
   names — --serif, --mono, --display, --pink, --rule, --rule-strong, --gold,
   --cyan — were never defined by this rebuild at all: `fill: var(--pink)`
   with no fallback is invalid-at-computed-value-time, so those shapes fell
   back to the initial `fill` value, black. That was invisible-adjacent on the
   cream ground and is fully invisible on the near-black one. The bodies
   cannot be edited, so the names are defined here instead, scoped to the
   article wrapper so nothing outside a post body can reach them. Every one
   maps to a --ds-* token; the cream/magenta names below are aliases for the
   ruled palette, not the retired values. */
.blog-article {
  --cream: var(--ds-ground);
  --cream-2: var(--ds-panel);
  --magenta: var(--ds-accent);
  --pink: var(--ds-accent);
  --gold: var(--ds-warn);
  --cyan: var(--ds-accent-deep);
  --rule: var(--ds-line);
  --rule-strong: var(--ds-line-strong);
  --serif: var(--fr);
  --display: var(--fr);
  --mono: var(--jb);
}
/* Post-body SVGs inherit `fill` from the article, so an illustration that
   names no fill draws in ink rather than in black. */
.blog-article svg { fill: var(--ink); }


/* ── /tools/between-session-self-audit/ ──────────────────────────────────
   The self-audit is a blog-post-shaped page: it already wears .container
   .reading, .blog-header, .blog-article, .answer-box and .post-cta, so it
   loads this file rather than a third stylesheet. Its quiz lives here for the
   same reason — a third render-blocking sheet cost it 0.5 s of FCP and a
   Lighthouse mobile performance point (1.7 s vs 1.2 s), measured 2026-09-03. */
/* This page already wears the blog-post classes (.container.reading,
   .blog-header, .blog-article, .answer-box, .post-cta), so blog-post.css does
   almost all of it. Only the quiz itself is page-specific. */
.blog-header__lede { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; margin: 0 0 18px; }
.audit { list-style: none; counter-reset: q; padding: 0; margin: 0 0 2em; display: grid; gap: 14px; }
.audit li { counter-increment: q; position: relative; padding: 18px 20px 18px 56px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); line-height: 1.6; }
.audit li::before {
  content: counter(q); position: absolute; left: 18px; top: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--jb); font-size: 0.72rem; font-weight: 500;
  display: grid; place-items: center;
}
.audit li em { font-style: italic; color: var(--accent); }
.scoring { background: var(--panel-deep); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; margin: 0 0 36px; }
.scoring h3 { font-family: var(--jb); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.scoring p { margin: 0 0 0.8em; color: var(--ink-2); }
.scoring p:last-child { margin-bottom: 0; }


/* ── Road House editorial surface ─────────────────────────────────────────
   Posts have to remain quiet enough to read at length. The red tube is kept
   for wayfinding, the title's emphasized phrase, and the call to action;
   prose stays warm white on a low-reflection neutral-satin reading field.
   This stylesheet is loaded only by the frozen post family (and the matching
   self-audit), so these rules deliberately do not reach the blog index. */
.blog-header {
  position: relative;
  isolation: isolate;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(1.8rem, 4vw, 2.75rem);
  border-bottom-color: rgba(255, 244, 244, 0.22);
  background-color: rgba(7, 10, 12, 0.82);
  background-image:
    linear-gradient(116deg, rgba(255,255,255,.055), transparent 43%, rgba(232,237,243,.026) 72%),
    radial-gradient(ellipse at 18% -36%, rgba(255,82,99,.105), transparent 56%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 20px 48px rgba(0,0,0,.22);
}
.blog-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,82,99,.16) 15%, rgba(255,104,117,.88) 50%, rgba(255,82,99,.16) 85%, transparent);
  box-shadow: 0 0 9px rgba(255,48,72,.45);
}
.blog-header > .container { position: relative; z-index: 1; }
.blog-header__kicker {
  color: #ff7884;
  text-shadow: 0 0 8px rgba(255,48,72,.38);
}
.blog-header__h1 {
  max-width: 18ch;
  color: var(--ink);
  font-size: clamp(2rem, 4.7vw, 3.3rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,.17), 0 0 18px rgba(255,248,247,.06);
}
.blog-header__h1 em,
.post-cta__line em {
  color: #ff6776;
  text-shadow: 0 0 1px #fff4f3, 0 0 8px rgba(255,48,72,.75), 0 0 19px rgba(183,13,43,.32);
}
.blog-header__meta { color: #c3bdbe; }
.blog-header__meta a { color: #ff8590; }

.blog-article {
  position: relative;
  isolation: isolate;
  color: var(--ink);
}
.blog-article::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -0.8rem -1.25rem -1rem;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(7,10,12,.56), rgba(7,10,12,.83) 22%, rgba(7,10,12,.89) 50%, rgba(7,10,12,.83) 78%, rgba(7,10,12,.56)),
    linear-gradient(118deg, rgba(255,255,255,.035), transparent 49%, rgba(228,235,243,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 18px 45px rgba(0,0,0,.16);
}
.blog-article > * { position: relative; z-index: 1; }
.blog-article h2 {
  padding-left: 0.78rem;
  border-left: 2px solid #ff5869;
  color: #ff8993;
  font-weight: 750;
  line-height: 1.04;
  text-shadow: 0 0 1px rgba(255,244,243,.7), 0 0 11px rgba(255,48,72,.22);
}
.blog-article h3 { color: var(--ink); font-weight: 700; }
.blog-article p,
.blog-article li { color: var(--ink); }
.blog-article blockquote {
  border-left-color: #ff5869;
  color: var(--ink-2);
}
.blog-article code {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.22);
  color: var(--ink);
}
.blog-article .table-wrap {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(7,10,12,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.blog-article table { margin: 0; }
.blog-article th,
.blog-article td { border-color: rgba(255,255,255,.17); }
.blog-article thead th {
  background: rgba(255,255,255,.075);
  color: var(--ink);
}
.faq-q {
  padding-left: 0.78rem;
  border-left: 2px solid rgba(255,88,105,.78);
  color: var(--ink);
}

.answer-box,
.blog-related,
.audit li,
.scoring {
  border-color: rgba(255,255,255,.22);
  background-color: rgba(10,13,16,.78);
  background-image: linear-gradient(128deg, rgba(255,255,255,.095), transparent 53%, rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(0,0,0,.32), 0 14px 32px rgba(0,0,0,.16);
}
.answer-box,
.scoring { border-left-color: #ff5869; }
.answer-box .lbl,
.scoring h3,
.blog-related h3,
.author-bio h3,
.citations h2 { color: #ff7884; }
.blog-related a:hover { color: #ff7884; }
.author-bio { border-top-color: rgba(255,255,255,.24); }
.citations { border-top-color: rgba(255,255,255,.28); }

.post-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top-color: rgba(255,102,116,.86);
  border-bottom: 1px solid rgba(255,255,255,.17);
  background-color: rgba(8,11,13,.86);
  background-image: linear-gradient(118deg, rgba(255,255,255,.06), transparent 42%, rgba(232,237,243,.025) 74%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 -14px 40px rgba(0,0,0,.18);
}
.post-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 12% 0%, rgba(255,48,72,.13), transparent 54%);
}
.post-cta > .container { position: relative; z-index: 1; }
.post-cta__line {
  max-width: 21ch;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,.16);
}
.btn-pill,
.btn-ghost,
.post-cta .btn-pill,
.post-cta .btn-ghost {
  min-height: 46px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.025) 46%, rgba(255,255,255,.09)), rgba(9,12,14,.76);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.44), 0 9px 22px rgba(0,0,0,.24);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-pill,
.post-cta .btn-pill {
  border-color: rgba(255,218,221,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.39), inset 0 -1px 0 rgba(0,0,0,.44), 0 0 20px rgba(255,48,72,.14), 0 9px 22px rgba(0,0,0,.24);
}
.btn-pill:hover,
.btn-ghost:hover,
.post-cta .btn-pill:hover,
.post-cta .btn-ghost:hover {
  border-color: rgba(255,255,255,.98);
  background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.045) 46%, rgba(255,255,255,.12)), rgba(18,21,23,.9);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-pill:active,
.btn-ghost:active,
.post-cta .btn-pill:active,
.post-cta .btn-ghost:active { transform: translateY(1px); }

@supports (backdrop-filter: blur(1px)) {
  .blog-header,
  .answer-box,
  .blog-related,
  .audit li,
  .scoring,
  .btn-pill,
  .btn-ghost { backdrop-filter: blur(14px) saturate(.78); }
}

@media (max-width: 480px) {
  .blog-header { padding-top: 2.5rem; }
  .blog-header__h1 { max-width: none; font-size: clamp(1.9rem, 10.5vw, 2.55rem); }
  .blog-article::before { inset-inline: -0.75rem; }
  .post-cta__btns { display: grid; grid-template-columns: minmax(0, 1fr); }
  .post-cta__btns > a { width: 100%; }
}

/* Do not leave a white/red-only reading surface in high-contrast or print.
   Frozen inline SVGs inherit these aliases too, so figures remain legible. */
@media (forced-colors: active) {
  .blog-article {
    --ink: CanvasText;
    --ink-2: CanvasText;
    --muted: CanvasText;
    --accent: LinkText;
    --panel: Canvas;
    --panel-deep: Canvas;
    --line: CanvasText;
  }
  .blog-header,
  .answer-box,
  .blog-related,
  .audit li,
  .scoring,
  .post-cta,
  .blog-article::before,
  .blog-article .table-wrap {
    background: Canvas;
    background-image: none;
    color: CanvasText;
    border-color: CanvasText;
    box-shadow: none;
  }
  .blog-header::after,
  .post-cta::before { display: none; }
  .blog-header__h1,
  .blog-header__h1 em,
  .blog-header__meta,
  .post-cta__line em,
  .blog-header__kicker,
  .blog-article h2,
  .answer-box .lbl,
  .scoring h3,
  .blog-related h3,
  .author-bio h3,
  .citations h2 { color: CanvasText; text-shadow: none; }
  .blog-article h2,
  .blog-article blockquote,
  .faq-q,
  .answer-box,
  .scoring { border-color: CanvasText; }
  .blog-header__meta a { color: LinkText; }
  .audit li::before {
    background: Highlight;
    color: HighlightText;
    border: 1px solid HighlightText;
    box-shadow: none;
  }
  .btn-pill,
  .btn-ghost,
  .post-cta .btn-pill,
  .post-cta .btn-ghost {
    background: Canvas;
    color: LinkText;
    border-color: LinkText;
    box-shadow: none;
  }
}

@media print {
  .blog-article {
    --ground: #fff;
    --panel: #fff;
    --panel-deep: #fff;
    --ink: #000;
    --ink-2: #111;
    --muted: #333;
    --accent: #000;
    --line: rgba(0,0,0,.42);
  }
  .blog-header,
  .answer-box,
  .blog-related,
  .audit li,
  .scoring,
  .post-cta,
  .blog-article::before,
  .blog-article .table-wrap {
    background: #fff !important;
    background-image: none !important;
    color: #000;
    border-color: #000;
    box-shadow: none;
  }
  .blog-header::after,
  .post-cta::before { display: none; }
  .blog-header__h1,
  .blog-header__h1 em,
  .post-cta__line,
  .post-cta__line em,
  .blog-header__kicker,
  .blog-header__meta,
  .blog-header__meta a,
  .blog-article h2,
  .answer-box .lbl,
  .scoring h3,
  .blog-related h3,
  .author-bio h3,
  .citations h2,
  .blog-article a,
  .citations a { color: #000; text-shadow: none; }
  .blog-article h2,
  .blog-article blockquote,
  .faq-q,
  .answer-box,
  .scoring { border-color: #000; }
  .audit li::before {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    box-shadow: none;
  }
  .btn-pill,
  .btn-ghost,
  .post-cta .btn-pill,
  .post-cta .btn-ghost {
    background: #fff !important;
    color: #000;
    border-color: #000;
    box-shadow: none;
  }
}

.beta-notice-shell { padding: 24px 0 0; }

/* Long source URLs must wrap inside the frozen article bodies. */
.reading { overflow-wrap:anywhere; }
.blog-article .table-wrap { max-width:100%; }
