/* article-styles/seal-serpent.css — Seal, Wheel & Serpent (2026-09-19).
 * Loaded per-article via a server-rendered <link> when
 * src/lib/blog/article-style-chunks.ts resolves the "seal-serpent" chunk
 * for article_theme "magazine-seal-serpent". Served raw from /public (no
 * build step) — this file IS the source of truth. Cascade: loads AFTER
 * public-core.css + public-article.css in document order.
 *
 * ══════════════════════════════════════════════════════════════════════
 * SEAL, WHEEL & SERPENT — magazine-seal-serpent reading plate.
 * Bespoke theme for the evidence-graded mudra / chakra / kundalini series,
 * opening with "The Seal in Your Hands" (slug: what-is-a-mudra).
 *
 * The owner's source mockup was a dark plate (ground #14121a, gold, oxblood,
 * verdigris). Translated here to LIGHT PARCHMENT for the same reason
 * magazine-occult-noir was flipped in 2026-07: dark reading surfaces read as
 * broken inside the site's cream PublicTopBar/PublicFooter chrome, and the
 * occult hub's own note records that "the series ARTICLES stay light
 * parchment." The mockup's accent vocabulary is kept intact and deepened for
 * contrast on paper — gold (the wax seal), vermilion (safety/warning),
 * verdigris (practice). Component structure is the mockup's, one for one.
 *
 * All rules are gated behind
 *   .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body
 * so no other essay is touched; components are `sws-` prefixed.
 *
 * The article's own <style>/<script>/<input>/<button> are stripped by the
 * body sanitizer (src/lib/sanitize.ts), so all styling lives here: the
 * mockup's tick-box checklist is a numbered static list, and its
 * "download the log" button is a printable 14-day table in the body.
 * ══════════════════════════════════════════════════════════════════════ */

.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body {
  --sws-paper: #fbf8f1; --sws-panel: #f4efe2; --sws-panel-2: #ece5d3;
  --sws-ink: #17161a; --sws-ink-soft: #3b3a3f; --sws-ink-mute: #5f5c55;
  --sws-line: #e3dcc8; --sws-line-soft: #ece6d6;
  --sws-gold: #8a6512; --sws-gold-deep: #6d4f0c; --sws-gold-wash: #f0e4c2;
  --sws-vermilion: #a83f2e; --sws-verdigris: #3c6d60;
  background: transparent; color: var(--sws-ink-soft);
  padding: 0; border-radius: 0; border: 0; box-shadow: none;
}

/* ── base type ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body p { color: var(--sws-ink-soft); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body h2 {
  font-family: var(--serif); font-weight: 600; font-size: 31px; line-height: 1.18;
  letter-spacing: -.012em; margin: 44px 0 13px; color: var(--sws-ink); position: relative;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body h2::before { content: none; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body h3 {
  font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 32px 0 12px;
  letter-spacing: -.005em; color: var(--sws-ink);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body strong { color: var(--sws-ink); font-weight: 600; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body em { color: var(--sws-ink); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body a { color: var(--sws-gold); border-bottom: 1px solid rgba(138,101,18,.34); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body a:hover { color: var(--sws-gold-deep); border-color: var(--sws-gold-deep); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body hr { border-top-color: var(--sws-line); }
/* the plate opens on a kicker, not a drop cap */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body p:first-of-type::first-letter {
  float: none; font-size: inherit; line-height: inherit; padding: 0; margin: 0;
  color: inherit; font-weight: inherit;
}

/* ── series eyebrow ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--sws-gold); font-weight: 600; margin: 0 0 24px;
}

/* ── lead paragraph ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-lead { font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--sws-ink); }

/* ── fact-check banner + wax seal mark ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-factcheck {
  margin: 0 0 32px; padding: 20px 22px 18px; background: var(--sws-panel);
  border: 1px solid var(--sws-line); border-left: 3px solid var(--sws-gold);
  border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.6; color: var(--sws-ink-soft);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-fc-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-factcheck h2 {
  font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 0 0 2px;
  letter-spacing: .005em; color: var(--sws-ink);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-fc-date { font-size: 13px; color: var(--sws-ink-mute); margin: 0; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-seal {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 34% 30%, var(--sws-gold-wash) 0%, #e6d4a6 58%, #d8c288 100%);
  border: 1px solid rgba(138,101,18,.5); box-shadow: inset 0 0 0 4px rgba(138,101,18,.12);
  display: grid; place-items: center; align-content: center; text-align: center;
  font-family: var(--sans); color: var(--sws-gold-deep); line-height: 1.05;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-seal-n { display: block; font-size: 16px; font-weight: 700; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-seal-l { display: block; font-size: 12px; letter-spacing: .02em; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-factcheck ul { margin: 0; padding-left: 18px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-factcheck li { margin: 6px 0; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-factcheck li strong { color: var(--sws-gold-deep); font-weight: 600; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-fine { margin: 14px 0 0; font-size: 13.5px; color: var(--sws-ink-mute); }

/* ── contents ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-contents {
  margin: 32px 0; padding: 18px 0; border-top: 1px solid var(--sws-line);
  border-bottom: 1px solid var(--sws-line); font-family: var(--sans); font-size: 15px;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-contents-title {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--sws-gold); margin: 0 0 10px;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-contents ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-contents li { margin: 4px 0; break-inside: avoid; color: var(--sws-ink-mute); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-contents a { color: var(--sws-ink-soft); border-bottom: none; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-contents a:hover { color: var(--sws-gold-deep); border-bottom: 1px solid var(--sws-gold-deep); }

/* ── citation markers ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-cite { font-family: var(--sans); font-size: 12px; font-weight: 600; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-cite a { color: var(--sws-gold); border-bottom: none; padding: 0 1px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-cite a:hover { border-bottom: 1px solid var(--sws-gold-deep); }

/* ── pull quote ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-pull {
  margin: 34px 0; padding: 0 0 0 20px; border-left: 2px solid var(--sws-vermilion);
  background: none; font-style: normal;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-pull p {
  font-family: var(--serif); font-size: 25px; line-height: 1.38; color: var(--sws-ink); margin: 0;
}

/* ── tables ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-tablewrap {
  overflow-x: auto; margin: 26px 0; border: 1px solid var(--sws-line); border-radius: 10px;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table {
  border-collapse: collapse; width: 100%; margin: 0;
  font-family: var(--sans); font-size: 14.5px; min-width: 30rem;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table caption {
  caption-side: top; text-align: left; font-family: var(--sans); font-size: 13px;
  color: var(--sws-ink-mute); padding: 11px 15px; background: var(--sws-panel);
  border-bottom: 1px solid var(--sws-line);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table th,
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table td {
  text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--sws-line-soft);
  vertical-align: top; color: var(--sws-ink-soft);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table thead th {
  background: var(--sws-panel-2); font-weight: 600; color: var(--sws-ink);
  border-bottom: 1px solid var(--sws-line);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table tbody tr:last-child th,
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table tbody tr:last-child td { border-bottom: 0; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-lvl { white-space: nowrap; color: var(--sws-ink); font-weight: 600; }

/* the 14-day log — empty cells need a writable height in print and on screen */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-log tbody th { width: 3.5rem; font-weight: 600; color: var(--sws-ink); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-log tbody td { height: 34px; border-left: 1px solid var(--sws-line-soft); }

/* ── evidence meter ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-meter { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 8px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-pip {
  width: 9px; height: 9px; display: block; border: 1px solid rgba(138,101,18,.55);
  background: transparent;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-pip.on { background: var(--sws-gold); }

/* ── panels ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel {
  margin: 30px 0; padding: 22px 24px 18px; background: var(--sws-panel);
  border: 1px solid var(--sws-line); border-radius: 0 12px 12px 0;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel h3 { margin-top: 0; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--worked { border-left: 3px solid var(--sws-gold); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--practice { border-left: 3px solid var(--sws-verdigris); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--log { border-left: 3px solid var(--sws-verdigris); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--safety { border-left: 3px solid var(--sws-vermilion); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--sws-ink-mute); margin: 0 0 6px;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--worked .sws-panel-kicker { color: var(--sws-gold); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--practice .sws-panel-kicker,
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--log .sws-panel-kicker { color: var(--sws-verdigris); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel--safety .sws-panel-kicker { color: var(--sws-vermilion); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel .sws-tablewrap { background: var(--sws-paper); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-labels {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--sws-line);
  font-family: var(--sans); font-size: 14px; color: var(--sws-ink-mute);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-labels strong { color: var(--sws-ink); font-weight: 600; }

/* ── the three-minute baseline steps ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: sws-step; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-steps li {
  counter-increment: sws-step; position: relative; padding: 12px 14px 12px 46px;
  margin: 0 0 8px; background: var(--sws-paper); border: 1px solid var(--sws-line);
  border-radius: 8px; font-family: var(--sans); font-size: 15px; line-height: 1.55;
  color: var(--sws-ink-soft);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-steps li::before {
  content: counter(sws-step); position: absolute; left: 13px; top: 12px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sws-gold-wash); border: 1px solid rgba(138,101,18,.4);
  color: var(--sws-gold-deep); font-family: var(--mono); font-size: 12px; font-weight: 600;
}

/* ── references ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-refs {
  margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--sws-line);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-refs h2 { font-size: 22px; margin: 0 0 14px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-refs ol {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.62;
  padding-left: 26px; color: var(--sws-ink-mute);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-refs li { margin: 0 0 11px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-refs li:target {
  outline: 2px solid rgba(138,101,18,.45); outline-offset: 6px; border-radius: 2px;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-back { border-bottom: none; color: var(--sws-gold); font-weight: 700; margin-left: 5px; }

/* ── next up + colophon ── */
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-nextup {
  margin: 44px 0 0; padding: 20px 22px; background: var(--sws-panel);
  border: 1px solid var(--sws-line); border-top: 3px solid var(--sws-gold); border-radius: 0 0 10px 10px;
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-nextup h3 { margin: 0 0 8px; font-size: 20px; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-nextup p:last-child { margin-bottom: 0; }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-colophon {
  margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--sws-line);
  font-family: var(--sans); font-size: 13.5px; line-height: 1.62; color: var(--sws-ink-mute);
}
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-colophon p { margin: 0 0 10px; color: var(--sws-ink-mute); }
.public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-colophon strong { color: var(--sws-ink-soft); }

@media (max-width: 620px) {
  .public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-contents ol { columns: 1; }
  .public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-fc-head { align-items: flex-start; }
  .public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-pull p { font-size: 21px; }
  .public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-panel { padding: 18px 16px 14px; }
  .public-shell .article-themed[data-theme="magazine-seal-serpent"] .ps-article-body .sws-table { min-width: 22rem; }
}
