/* ─── BIANCA BURATTINI · wizardcore wordpress theme ─────────────────────── */

:root {
  color-scheme: dark;
  /* default palette — cosmic pastel, always night */
  --bg:        oklch(0.18 0.04 275);      /* deep indigo night */
  --bg-2:      oklch(0.23 0.05 280);
  --surface:   oklch(0.22 0.045 278);
  --ink:       oklch(0.94 0.025 60);      /* warm moonlit paper */
  --ink-soft:  oklch(0.78 0.04 60);
  --rule:      oklch(0.5 0.06 290 / 0.5);
  --rose:      oklch(0.82 0.12 12);
  --lavender:  oklch(0.78 0.13 290);
  --celeste:   oklch(0.85 0.09 230);
  --gold:      oklch(0.88 0.14 85);
  --halo:      oklch(0.7 0.13 290 / 0.45);
  --halo-2:    oklch(0.85 0.08 230 / 0.35);
  --serif:     "Cormorant Garamond", Georgia, serif;
  --display:   "UnifrakturMaguntia", "Cormorant Garamond", serif;
  --caps:      "Cormorant SC", serif;
  --mono:      "VT323", "JetBrains Mono", ui-monospace, monospace;
}

/* palette presets — each one overrides the night base above */
body[data-palette="moonlight"] {
  --bg:       oklch(0.17 0.05 255);
  --bg-2:     oklch(0.22 0.06 255);
  --surface:  oklch(0.21 0.055 255);
  --halo:     oklch(0.65 0.13 250 / 0.45);
  --rose:     oklch(0.8 0.11 350);
  --lavender: oklch(0.76 0.13 265);
  --celeste:  oklch(0.82 0.1 235);
}
body[data-palette="rosegold"] {
  --bg:       oklch(0.19 0.04 20);
  --bg-2:     oklch(0.24 0.05 20);
  --surface:  oklch(0.23 0.045 20);
  --halo:     oklch(0.7 0.13 25 / 0.45);
  --rose:     oklch(0.78 0.13 20);
  --lavender: oklch(0.8 0.09 350);
  --celeste:  oklch(0.82 0.08 60);
  --gold:     oklch(0.85 0.14 70);
}
body[data-palette="forest"] {
  --bg:       oklch(0.17 0.035 165);
  --bg-2:     oklch(0.22 0.045 160);
  --surface:  oklch(0.21 0.04 162);
  --ink:      oklch(0.94 0.03 140);
  --ink-soft: oklch(0.78 0.04 145);
  --rule:     oklch(0.5 0.06 160 / 0.5);
  --halo:     oklch(0.6 0.12 160 / 0.4);
  --rose:     oklch(0.78 0.12 15);
  --lavender: oklch(0.78 0.11 165);
  --celeste:  oklch(0.82 0.09 190);
  --gold:     oklch(0.88 0.14 95);
}

/* ── Snowblood — gothic, LIGHT: cold snow white, near-black ink, blood red ── */
body[data-palette="snowblood"] {
  --bg:       oklch(0.975 0.006 240);     /* snow */
  --bg-2:     oklch(0.93 0.01 240);       /* shadowed snow */
  --surface:  oklch(0.99 0.004 240);
  --ink:      oklch(0.17 0.01 260);       /* near black */
  --ink-soft: oklch(0.38 0.015 260);
  --rule:     oklch(0.6 0.02 250 / 0.45);
  --rose:     oklch(0.46 0.19 25);        /* dried blood */
  --lavender: oklch(0.5 0.03 255);        /* slate grey */
  --celeste:  oklch(0.82 0.03 235);       /* ice */
  --gold:     oklch(0.52 0.22 27);        /* fresh blood — accents, cursor */
  --halo:     oklch(0.78 0.09 22 / 0.22); /* faint stains */
  --halo-2:   oklch(0.85 0.02 240 / 0.5); /* cold grey haze */
}
body[data-palette="snowblood"]::before { mix-blend-mode: multiply; opacity: .9; }
body[data-palette="snowblood"]::after  { mix-blend-mode: multiply; opacity: .8; }
:root:has(body[data-palette="snowblood"]) { color-scheme: light; }

/* typography — fixed: manuscript blackletter */
body[data-font="manuscript"] {
  --display: "UnifrakturMaguntia", serif;
  --serif:   "Cormorant Garamond", Georgia, serif;
  --caps:    "Cormorant SC", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  min-height: 100vh;
  cursor: none;
  overflow-x: hidden;
  transition: background .6s ease, color .6s ease;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, var(--halo), transparent 38%),
    radial-gradient(circle at 85% 70%, var(--halo), transparent 40%),
    radial-gradient(circle at 60% 20%, var(--halo-2), transparent 35%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: .55;
}

body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
  opacity: .5;
}

#root { position: relative; z-index: 2; }

/* ─── chrome ────────────────────────────────────────────────────────────── */

.chrome-top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  background: color-mix(in oklch, var(--bg) 75%, transparent);
  border-bottom: .5px solid var(--rule);
}
.chrome-top-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
}
.brand .brand-mark {
  width: 30px; height: 30px;
}
.brand small {
  display: block;
  font-family: var(--caps);
  font-size: 9.5px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

nav.primary {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
nav.primary a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  position: relative;
  transition: color .3s;
  display: inline-flex; align-items: center; gap: 6px;
}
nav.primary a:hover { color: var(--ink); }
nav.primary a.active { color: var(--rose); }
nav.primary a.active::before {
  content: "✦";
  font-size: 9px;
  color: var(--gold);
}

.chrome-actions {
  display: flex; align-items: center; gap: 8px;
}

.mode-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-2);
  border: .5px solid var(--rule);
  display: grid; place-items: center;
  color: var(--ink);
  cursor: none;
  transition: transform .4s ease, background .4s;
}
.mode-toggle:hover { transform: rotate(20deg); }
.mode-toggle svg { width: 18px; height: 18px; }

.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: .5px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  align-items: center; justify-content: center;
  cursor: none;
}

/* ─── footer ────────────────────────────────────────────────────────────── */

.chrome-foot {
  margin-top: 80px;
  padding: 60px 28px 40px;
  border-top: .5px solid var(--rule);
  position: relative;
}
.chrome-foot::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.foot-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.foot-col h4 {
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot-col a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  font-style: italic;
}
.foot-col a:hover { color: var(--rose); }
/* same look as the header brand: name in blackletter + small tagline */
.foot-credo {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 0;
}
.foot-credo small {
  display: block;
  font-family: var(--caps);
  font-size: 9.5px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
.foot-meta {
  max-width: 1280px; margin: 50px auto 0;
  padding-top: 24px;
  border-top: .5px dashed var(--rule);
  display: flex; justify-content: space-between;
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ─── mobile menu ───────────────────────────────────────────────────────── */
.mobile-sheet {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 100;
  padding: 80px 32px 32px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateY(-100%);
  transition: transform .5s cubic-bezier(.7,0,.3,1);
  overflow-y: auto;
}
.mobile-sheet[data-open="true"] { transform: translateY(0); }
.mobile-sheet a {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: .5px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-sheet .sheet-close {
  position: absolute; top: 20px; right: 24px;
  background: transparent; border: none; color: var(--ink); font-size: 26px;
  cursor: none;
}
.mobile-sheet-credo {
  font-family: var(--caps); font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 24px;
}

/* ─── custom cursor ─────────────────────────────────────────────────────── */
.wiz-cursor {
  position: fixed; top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  color: var(--ink);
  will-change: left, top;
}
.wiz-cursor .core {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  animation: cursorSpin 6s linear infinite;
}
.wiz-cursor .ring {
  position: absolute; inset: 4px;
  border: .8px solid var(--gold);
  border-radius: 50%;
  opacity: .55;
  animation: cursorPulse 2s ease-in-out infinite;
}
.wiz-cursor .ring::before {
  content: ""; position: absolute;
  top: -3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold);
}
@keyframes cursorSpin {
  0% { transform: rotate(0); } 100% { transform: rotate(360deg); }
}
@keyframes cursorPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%      { transform: scale(1.15); opacity: .25; }
}
.wiz-cursor { color: var(--gold); }

.wiz-spark {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  animation: sparkFade 1.2s ease-out forwards;
  filter: drop-shadow(0 0 4px currentColor);
}
@keyframes sparkFade {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(.6) rotate(0); }
  20%  { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(40deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(180deg); }
}

/* ─── shared layout ─────────────────────────────────────────────────────── */
.page { max-width: 1280px; margin: 0 auto; padding: 40px 28px 0; }
.page-narrow { max-width: 760px; margin: 0 auto; padding: 40px 28px 0; }

.eyebrow {
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow svg { width: 12px; height: 12px; color: var(--gold); }

/* ─── HOME ──────────────────────────────────────────────────────────────── */
/* sections */
.section-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin: 60px 0 26px;
  gap: 24px;
}
.section-hd h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  margin: 0;
  font-weight: 400;
  line-height: 1;
}
.section-hd .right {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--caps); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-soft);
}

.divider-fancy {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold);
  margin: 18px 0 30px;
}
.divider-fancy::before, .divider-fancy::after {
  content: ""; flex: 1; height: .5px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
}

/* feed grid */
.feed {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px 28px;
}
.entry {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  cursor: none;
}
.entry-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 30% 40%, color-mix(in oklch, var(--lavender) 55%, transparent), transparent 70%),
    radial-gradient(ellipse at 80% 80%, color-mix(in oklch, var(--celeste) 55%, transparent), transparent 70%),
    var(--bg-2);
  border: .5px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.entry:hover .entry-image { transform: translateY(-4px); }
.entry-image .placeholder-tag {
  position: absolute; bottom: 12px; left: 12px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-soft);
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  padding: 3px 8px;
}
.entry-image .img-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in oklch, var(--ink) 5%, transparent) 10px 11px);
}
.entry-kicker {
  font-family: var(--caps); font-size: 11px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
/* the whole card is clickable through the title link (no nested links) */
.entry-link { color: inherit; text-decoration: none; }
.entry-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.entry-kicker a { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.entry h3 {
  font-family: var(--display);
  font-size: 30px; line-height: 1.05;
  margin: 0 0 10px;
  font-weight: 400;
  text-wrap: balance;
}
.entry-dek {
  font-size: 16px; color: var(--ink-soft);
  font-style: italic; margin: 0;
  text-wrap: pretty;
}
.entry-meta {
  margin-top: 0; padding-top: 14px;
  font-family: var(--caps); font-size: 10.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; gap: 16px;
}

.feed .entry.size-l   { grid-column: span 6; }
.feed .entry.size-l h3 { font-size: 44px; }
.feed .entry.size-m   { grid-column: span 4; }
.feed .entry.size-s   { grid-column: span 3; }
.feed .entry.size-s h3 { font-size: 22px; }

/* sidebar / aside */
.with-aside { display: grid; grid-template-columns: 1fr 320px; gap: 60px; }

.aside-card {
  background: color-mix(in oklch, var(--bg-2) 70%, transparent);
  border: .5px solid var(--rule);
  padding: 24px;
  position: relative;
  margin-bottom: 28px;
}
.aside-card h4 {
  font-family: var(--display); font-size: 26px;
  margin: 0 0 12px; font-weight: 400;
}
.aside-card .corner-glyph {
  position: absolute; top: 8px; right: 8px;
  color: var(--gold); opacity: .7;
}
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li {
  padding: 10px 0;
  border-bottom: .5px dashed var(--rule);
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 15px;
}
.aside-card li:last-child { border: none; }
.aside-card li span:last-child {
  font-family: var(--caps); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud .tag {
  font-family: var(--caps); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; padding: 5px 10px;
  border: .5px solid var(--rule); border-radius: 999px;
  color: var(--ink-soft); cursor: none;
  transition: all .25s;
}
.tag-cloud .tag:hover { color: var(--rose); border-color: var(--rose); }
.tag-cloud .tag.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ─── ARTICLE ───────────────────────────────────────────────────────────── */
.article-hero {
  text-align: center;
  padding: 40px 0 32px;
}
.article-cat {
  font-family: var(--caps); font-size: 11.5px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--rose);
}
.article-hero h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: .98;
  margin: 16px 0 18px;
  font-weight: 400;
  text-wrap: balance;
}
.article-deck {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.45;
  color: var(--ink-soft);
  max-width: 50ch; margin: 0 auto;
  text-wrap: pretty;
}
.byline {
  margin-top: 26px;
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
  font-family: var(--caps); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-soft);
}
.byline .sep { color: var(--gold); }

.article-cover {
  margin: 30px auto;
  aspect-ratio: 16/9;
  background:
    radial-gradient(ellipse at 30% 40%, color-mix(in oklch, var(--lavender) 55%, transparent), transparent 65%),
    radial-gradient(ellipse at 70% 70%, color-mix(in oklch, var(--rose) 50%, transparent), transparent 65%),
    radial-gradient(ellipse at 50% 0%, color-mix(in oklch, var(--celeste) 60%, transparent), transparent 65%),
    var(--bg-2);
  border: .5px solid var(--rule);
  position: relative; overflow: hidden;
}
.article-cover .img-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in oklch, var(--ink) 6%, transparent) 12px 13px);
}
.article-cover .caption {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--mono); font-size: 13px; color: var(--ink-soft);
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  padding: 4px 10px;
}

.prose { max-width: 660px; margin: 0 auto; font-size: 19px; line-height: 1.7; }
.prose > p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 5.2em;
  float: left;
  line-height: .85;
  padding: 6px 12px 0 0;
  color: var(--rose);
}
.prose p { margin: 0 0 1.2em; }
.prose h2 {
  font-family: var(--display);
  font-size: 38px; font-weight: 400;
  margin: 1.4em 0 .5em;
  text-align: center;
}
.prose h2::before, .prose h2::after {
  content: "✦"; color: var(--gold); font-size: 14px; margin: 0 14px;
  vertical-align: middle;
}
.prose blockquote {
  margin: 1.5em -28px;
  padding: 18px 28px;
  font-family: var(--display);
  font-size: 30px; line-height: 1.2;
  color: var(--lavender);
  border-top: .5px solid var(--gold);
  border-bottom: .5px solid var(--gold);
  text-align: center;
  position: relative;
  font-style: normal;
}
.prose blockquote::before {
  content: "❝"; position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%); background: var(--bg);
  color: var(--gold); padding: 0 10px;
  font-size: 24px;
}
.prose-divider {
  text-align: center; color: var(--gold);
  margin: 2.2em 0; letter-spacing: 1em;
}
.prose .pullquote {
  float: right; clear: right;
  width: 280px;
  margin: 6px -100px 18px 24px;
  font-family: var(--display); font-size: 24px; line-height: 1.2;
  color: var(--ink);
  border-left: 2px solid var(--rose);
  padding-left: 14px;
}

.article-foot {
  max-width: 760px; margin: 50px auto 0; padding: 0 28px;
}
.article-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 16px 0;
  border-top: .5px solid var(--rule);
  border-bottom: .5px solid var(--rule);
  margin-bottom: 32px;
}
.article-tags .label {
  font-family: var(--caps); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-soft); margin-right: 8px;
  align-self: center;
}

.nav-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.nav-prevnext a {
  text-decoration: none; color: var(--ink);
  padding: 18px 22px; border: .5px solid var(--rule);
  display: flex; flex-direction: column; gap: 6px;
  cursor: none;
  transition: background .3s;
}
.nav-prevnext a:hover { background: var(--bg-2); }
.nav-prevnext a.next { text-align: right; }
.nav-prevnext .label {
  font-family: var(--caps); font-size: 10.5px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft);
}
.nav-prevnext .title { font-family: var(--display); font-size: 22px; line-height: 1.1; }

/* ─── ARCHIVE ───────────────────────────────────────────────────────────── */
.archive-head {
  text-align: center; padding: 50px 0 30px;
  border-bottom: .5px solid var(--rule);
}
.archive-head h1 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 96px);
  line-height: .95; margin: 14px 0;
  font-weight: 400;
}
.archive-head p { font-style: italic; color: var(--ink-soft); font-size: 18px; max-width: 50ch; margin: 0 auto; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 30px 0 40px;
}

.archive-list {
  display: flex; flex-direction: column;
  gap: 0;
}
.archive-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px 100px;
  gap: 24px;
  padding: 24px 12px;
  border-bottom: .5px solid var(--rule);
  align-items: baseline;
  text-decoration: none; color: var(--ink);
  cursor: none;
  transition: background .3s, padding .3s;
}
.archive-row:hover { background: var(--bg-2); padding-left: 18px; }
.archive-row .num {
  font-family: var(--mono); font-size: 14px; color: var(--ink-soft);
}
.archive-row .title {
  font-family: var(--display); font-size: 28px; line-height: 1.1;
  font-weight: 400;
}
.archive-row .title small {
  display: block; font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--ink-soft); margin-top: 4px;
}
.archive-row .cat {
  font-family: var(--caps); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--rose);
}
.archive-row .date {
  font-family: var(--caps); font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--ink-soft); text-align: right;
}

.archive-pager {
  margin: 40px 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--caps); font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft);
}
.archive-pager button {
  background: transparent; border: .5px solid var(--rule);
  width: 40px; height: 40px; border-radius: 50%;
  color: inherit; cursor: none; font-size: 14px;
}
.archive-pager button.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

/* ─── ABOUT ─────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  padding: 40px 0;
}
.about-portrait {
  position: relative;
  aspect-ratio: 3/4;
  background:
    radial-gradient(ellipse at 40% 35%, color-mix(in oklch, var(--lavender) 55%, transparent), transparent 65%),
    radial-gradient(ellipse at 60% 80%, color-mix(in oklch, var(--rose) 50%, transparent), transparent 65%),
    var(--bg-2);
  border: .5px solid var(--rule);
  overflow: hidden;
}
.about-portrait .img-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in oklch, var(--ink) 5%, transparent) 10px 11px);
}
.about-portrait .caption {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--mono); font-size: 13px;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  padding: 4px 10px; color: var(--ink-soft);
}
.about-portrait .corner-glyph { position: absolute; }
.about-portrait .corner-glyph:nth-child(1) { top: 10px; left: 10px; color: var(--gold); }
.about-portrait .corner-glyph:nth-child(2) { top: 10px; right: 10px; color: var(--gold); transform: scaleX(-1); }

.about-text h1 {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98; margin: 0 0 16px;
  font-weight: 400;
}
.about-text .lede {
  font-size: 22px; line-height: 1.5; font-style: italic;
  color: var(--ink-soft); margin: 0 0 24px;
  text-wrap: pretty;
}
.about-text p { margin: 0 0 1em; font-size: 18px; line-height: 1.7; }

.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0;
  border-top: .5px solid var(--rule);
  border-bottom: .5px solid var(--rule);
}
.about-stats > div {
  padding: 22px 18px;
  border-right: .5px solid var(--rule);
}
.about-stats > div:last-child { border-right: 0; }
.about-stats .v {
  font-family: var(--display); font-size: 44px; line-height: 1;
  color: var(--rose);
}
.about-stats .k {
  font-family: var(--caps); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 8px;
}

.about-list {
  list-style: none; padding: 0; margin: 24px 0;
}
.about-list li {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 14px 0; border-bottom: .5px dashed var(--rule);
}
.about-list .year {
  font-family: var(--mono); font-size: 14px; color: var(--gold);
}
.about-list .what { font-style: italic; color: var(--ink-soft); }

/* ─── CONTACT ───────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  margin: 40px 0 50px;
}
.contact-card {
  position: relative;
  background: color-mix(in oklch, var(--bg-2) 70%, transparent);
  border: .5px solid var(--rule);
  padding: 36px 28px 32px;
  text-align: center;
}
.contact-card-head {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between;
}
.contact-card h3 {
  font-family: var(--caps); font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 18px; font-weight: 500;
}
.contact-addr {
  font-family: var(--display); font-size: 26px; line-height: 1.35;
  margin: 0; font-weight: 400;
}
.contact-rule {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 18px 0;
  color: var(--gold);
}
.contact-rule::before, .contact-rule::after {
  content: ""; flex: 0 0 60px; height: .5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.letter-form {
  margin: 30px 0 0;
  display: flex; justify-content: center;
}
.letter-paper {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, var(--surface), color-mix(in oklch, var(--surface) 92%, var(--bg-2)));
  border: .5px solid var(--rule);
  padding: 50px 44px 40px;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 31px, color-mix(in oklch, var(--ink) 4%, transparent) 31px 31.5px);
}
.letter-corner { position: absolute; }
.letter-corner--tl { top: 14px; left: 14px; }
.letter-corner--tr { top: 14px; right: 14px; }
.letter-corner--bl { bottom: 14px; left: 14px; }
.letter-corner--br { bottom: 14px; right: 14px; }
.letter-eyebrow {
  font-family: var(--caps); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft); margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.letter-eyebrow svg { color: var(--gold); }
.letter-h {
  font-family: var(--display); font-size: 42px;
  line-height: 1; margin: 6px 0 26px;
  font-weight: 400;
}
.letter-row {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 18px; align-items: baseline;
  padding: 14px 0;
  border-bottom: .5px dashed var(--rule);
}
.letter-row label {
  font-family: var(--caps); font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--ink-soft);
}
.letter-row input, .letter-row textarea {
  background: transparent;
  border: 0; outline: none;
  font: inherit; color: var(--ink);
  font-style: italic;
  padding: 4px 0;
  width: 100%;
  resize: vertical;
}
.letter-row textarea { font-style: normal; line-height: 1.55; }
.letter-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}
.letter-btn {
  background: var(--ink); color: var(--bg);
  border: 0; padding: 12px 20px;
  font-family: var(--caps); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase;
  cursor: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .3s;
}
.letter-btn:hover { background: var(--rose); }
.letter-sent { text-align: center; padding: 30px 0 10px; }

/* ─── 404 ───────────────────────────────────────────────────────────────── */
.nf-actions {
  display: inline-flex; flex-direction: column; gap: 12px;
  margin: 18px auto 0;
}
.nf-actions a {
  font-family: var(--display); font-size: 26px;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 0;
  border-bottom: .5px dashed var(--rule);
  transition: color .3s, padding .3s;
  cursor: none;
}
.nf-actions a:hover { color: var(--rose); padding-left: 8px; }

/* ─── SEARCH ────────────────────────────────────────────────────────────── */
.search-shell {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  border-top: .5px solid var(--ink);
  border-bottom: .5px solid var(--ink);
  padding: 20px 28px;
  margin: 30px 0 14px;
}
.search-shell input {
  flex: 1; background: transparent; border: 0; outline: none;
  font-family: var(--display); font-size: 38px; line-height: 1;
  color: var(--ink); padding: 4px 0;
}
.search-shell input::placeholder { color: var(--ink-soft); opacity: .5; }
.search-corner { position: absolute; top: -10px; left: -10px; background: var(--bg); padding: 4px; }
.search-corner--r { left: auto; right: -10px; top: auto; bottom: -10px; }
.search-clear {
  background: transparent; border: .5px solid var(--rule);
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--ink-soft); cursor: none;
  font-size: 14px;
}
.search-meta {
  font-family: var(--caps); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-soft);
  text-align: center;
  margin-bottom: 30px;
}
.search-results {
  display: flex; flex-direction: column;
}
.search-result {
  display: grid; grid-template-columns: 60px 1fr 30px;
  gap: 18px;
  padding: 22px 6px;
  border-bottom: .5px solid var(--rule);
  text-decoration: none; color: var(--ink);
  cursor: none;
  transition: background .3s, padding .3s;
}
.search-result:hover { background: var(--bg-2); padding-left: 14px; }
.search-result-num {
  font-family: var(--mono); font-size: 13px; color: var(--gold);
  padding-top: 2px;
}
.search-result-cat {
  font-family: var(--caps); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--rose);
  margin-bottom: 6px;
}
.search-result-title {
  font-family: var(--display); font-size: 28px; line-height: 1.1;
  margin: 0 0 6px; font-weight: 400;
}
.search-result-dek { font-style: italic; color: var(--ink-soft); margin: 0 0 10px; font-size: 15px; }
.search-result-meta {
  font-family: var(--caps); font-size: 10.5px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--ink-soft);
  display: flex; gap: 12px; align-items: center;
}
.search-result-meta .sep { color: var(--gold); }
.search-suggest { margin: 50px 0 0; }
.search-suggest h4 {
  font-family: var(--caps); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 14px;
  text-align: center;
  font-weight: 500;
}
.search-suggest .tag-cloud { justify-content: center; }
.search-suggest .tag { cursor: none; background: transparent; }

/* image-slot integration */
image-slot {
  display: block;
  background: transparent;
}

/* Brand mark — slot with SVG fallback shown only when empty */
.brand-mark-slot {
  position: relative;
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: inline-block;
}
.brand-mark-slot image-slot {
  position: relative; z-index: 2;
}
.brand-mark-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  z-index: 1;
  color: currentColor;
}
.brand-mark-slot:has(image-slot[data-filled]) .brand-mark-fallback { display: none; }
/* hide the slot's empty-state visuals — we use the BrandMark behind it */
.brand-mark-slot image-slot:not([data-filled])::part(empty) { opacity: 0; }
.brand-mark-slot image-slot:not([data-filled])::part(frame) { background: transparent; }
.brand-mark-slot image-slot:not([data-filled])::part(ring) { display: none; }

/* Post card image — star ornament floats top-right */
.entry-image-overlay {
  position: absolute; top: 14px; right: 14px;
  pointer-events: none; z-index: 3;
}

/* Article cover — overlay ornaments */
.article-cover-overlay {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 3;
}

/* About portrait — corner glyphs */
.about-portrait-overlay {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 3;
}

/* image-slot frames inherit our paper tone when empty */
.entry-image image-slot::part(frame),
.article-cover image-slot::part(frame),
.about-portrait image-slot::part(frame) {
  background:
    radial-gradient(ellipse at 30% 40%, color-mix(in oklch, var(--lavender) 50%, transparent), transparent 65%),
    radial-gradient(ellipse at 70% 80%, color-mix(in oklch, var(--rose) 45%, transparent), transparent 65%),
    var(--bg-2);
}
.entry-image image-slot::part(empty),
.article-cover image-slot::part(empty),
.about-portrait image-slot::part(empty) {
  font-family: var(--mono);
  color: var(--ink-soft);
}
.entry-image image-slot::part(ring),
.article-cover image-slot::part(ring),
.about-portrait image-slot::part(ring) {
  border: .5px solid var(--rule) !important;
}

/* ─── DELUXE article variant ────────────────────────────────────────────── */

/* Illuminated drop cap — replaces ::first-letter version when deluxe is on */
.prose.deluxe > p:first-of-type::first-letter {
  /* clear default css drop cap */
  font-size: inherit; float: none; line-height: inherit;
  padding: 0; color: inherit;
}
.illuminated-cap {
  position: relative;
  float: left;
  width: 200px; height: 200px;
  margin: 6px 22px 8px 0;
  shape-outside: margin-box;
}
.illuminated-letter {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 144px;
  line-height: 1;
  color: var(--rose);
  z-index: 2;
  text-shadow:
    0 0 18px color-mix(in oklch, var(--gold) 60%, transparent),
    0 2px 0 color-mix(in oklch, var(--ink) 20%, transparent);
}
.illuminated-letter {
  color: var(--gold);
  text-shadow:
    0 0 22px color-mix(in oklch, var(--rose) 60%, transparent);
}

/* Decorative h2 in deluxe — sun emblem + arched name */
.prose.deluxe h2 {
  position: relative;
  text-align: center;
  margin: 2.4em 0 .9em;
  font-size: 44px;
  line-height: 1.1;
  padding: 26px 0 0;
}
.prose.deluxe h2::before, .prose.deluxe h2::after { content: none; }
.prose.deluxe h2 .h2-ornament {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  color: var(--gold);
}
.prose.deluxe h2 .h2-ornament::before,
.prose.deluxe h2 .h2-ornament::after {
  content: ""; display: block;
  width: 80px; height: .5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.prose.deluxe h2 .h2-under {
  display: block;
  margin: 12px auto 0;
  height: 14px;
}

/* Pull-quote in deluxe gets a more elaborate frame */
.prose.deluxe .pullquote {
  position: relative;
  padding: 22px 26px;
  background: color-mix(in oklch, var(--bg-2) 70%, transparent);
  border: .5px solid var(--gold);
  width: 300px;
  margin-right: -120px;
}
.prose.deluxe .pullquote::before,
.prose.deluxe .pullquote::after {
  content: "✦"; position: absolute; color: var(--gold); font-size: 14px;
}
.prose.deluxe .pullquote::before { top: -10px; left: 50%; transform: translateX(-50%); background: var(--bg); padding: 0 6px; }
.prose.deluxe .pullquote::after  { bottom: -10px; left: 50%; transform: translateX(-50%); background: var(--bg); padding: 0 6px; }

/* Blockquote elaborated */
.prose.deluxe blockquote {
  margin: 2em -28px;
  padding: 36px 40px;
  font-size: 32px;
  position: relative;
  border: none;
  background:
    radial-gradient(ellipse at center, color-mix(in oklch, var(--bg-2) 60%, transparent), transparent 70%);
}
.prose.deluxe blockquote::before { content: none; }
.prose.deluxe blockquote .bq-frame {
  position: absolute; inset: 0;
  pointer-events: none;
}
.prose.deluxe blockquote .bq-frame::before,
.prose.deluxe blockquote .bq-frame::after {
  content: ""; position: absolute; left: 10%; right: 10%; height: .5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.prose.deluxe blockquote .bq-frame::before { top: 0; }
.prose.deluxe blockquote .bq-frame::after  { bottom: 0; }

/* Illustrated rules */
.illustrated-rule {
  display: block; margin: 2.4em auto;
  max-width: 540px;
}

/* Decorative page border — corners around the article frame */
.article-deluxe-wrap {
  position: relative;
  padding: 50px 28px 0;
  max-width: 880px; margin: 0 auto;
}
.page-border {
  position: absolute; inset: 30px 0;
  pointer-events: none;
  z-index: 1;
}
.page-border::before, .page-border::after {
  content: ""; position: absolute;
  left: 50%; transform: translateX(-50%);
  width: calc(100% - 110px); height: .5px;
  background: linear-gradient(90deg, transparent 8%, var(--gold) 50%, transparent 92%);
  opacity: .55;
}
.page-border::before { top: 0; }
.page-border::after  { bottom: 0; }
.page-border-corner {
  position: absolute;
  width: 90px; height: 90px;
  color: var(--gold);
}
.page-border-corner.tl { top: 0; left: 0; }
.page-border-corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.page-border-corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.page-border-corner.br { bottom: 0; right: 0; transform: scale(-1, -1); }

/* Marginalia floating in left margin */
.marginalia {
  position: absolute; left: -120px; width: 100px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  font-family: var(--caps);
  font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.3;
}
.marginalia-glyph {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: .5px solid var(--gold);
  border-radius: 50%;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
}
.marginalia-text {
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--serif);
  font-size: 13px;
}

/* Marginal rune — tiny pinned star with note */
.marginal-rune {
  position: absolute;
  font-family: var(--caps);
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.marginal-rune--left  { left: -160px; }
.marginal-rune--right { right: -160px; }

/* Article hero in deluxe — bigger title flanked by ornaments */
.article-hero.deluxe {
  position: relative;
  padding: 60px 0 40px;
}
.article-hero.deluxe::before, .article-hero.deluxe::after {
  content: ""; position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 220px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.article-hero.deluxe::before { top: 20px; }
.article-hero.deluxe::after  { bottom: 0; }
.article-hero.deluxe .deluxe-flank {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  margin: 0 0 10px;
  color: var(--gold);
}
.article-hero.deluxe h1 {
  font-size: clamp(54px, 8vw, 104px);
}
.article-hero.deluxe .article-cat {
  font-family: var(--caps); letter-spacing: .4em;
  color: var(--gold);
}

/* Deluxe prose container needs space for marginalia */
.prose.deluxe { position: relative; }

@media (max-width: 1100px) {
  .marginalia { position: static; width: auto; flex-direction: row; margin: 1em 0; justify-content: flex-start; }
  .marginal-rune { position: static; margin: .5em 0; }
  .prose.deluxe .pullquote { width: auto; margin: 1.5em 0; }
}
@media (max-width: 700px) {
  .illuminated-cap { width: 140px; height: 140px; margin: 4px 16px 4px 0; }
  .illuminated-letter { font-size: 100px; }
  .article-deluxe-wrap { padding: 30px 18px 0; }
  .page-border { inset: 16px 0; }
  .page-border-corner { width: 60px; height: 60px; }
}

/* ─── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  nav.primary { display: none; }
  .burger { display: inline-flex; }
  .feed .entry.size-l,
  .feed .entry.size-m,
  .feed .entry.size-s { grid-column: span 12; }
  .with-aside { grid-template-columns: 1fr; gap: 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stats > div:nth-child(2) { border-right: 0; }
  .about-stats > div:nth-child(-n+2) { border-bottom: .5px solid var(--rule); }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .archive-row { grid-template-columns: 1fr; gap: 6px; }
  .archive-row .date { text-align: left; }
  .prose .pullquote { float: none; width: auto; margin: 1em 0; }
  .prose blockquote { margin: 1.5em 0; }
  .nav-prevnext { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .letter-paper { padding: 40px 24px 28px; }
  .letter-row { grid-template-columns: 1fr; gap: 6px; }
  .letter-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .search-shell input { font-size: 26px; }
  .search-result { grid-template-columns: 1fr; gap: 6px; }
}

@media (pointer: coarse), (hover: none) {
  body { cursor: auto; }
  .wiz-cursor, .wiz-spark { display: none !important; }
}

@media (max-width: 560px) {
  .chrome-top-inner { padding: 12px 18px; }
  .page, .page-narrow { padding: 24px 18px 0; }
  .brand { font-size: 24px; }
  .foot-inner { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 44px; }
}


/* ─── WP-only additions: placeholder wrapper + utilities ─────────────── */

/* ─── Placeholder: back of a tarot card (posts without a featured image) ─── */
.b-placeholder {
  position: absolute; inset: 0;
  background: var(--bg-2);
  display: grid; place-items: center;
  overflow: hidden;
  container-type: size;
}
.b-tarot-frame {
  position: absolute; inset: 12px;
  border: 1px solid var(--gold);
  background:
    repeating-linear-gradient(45deg,  transparent 0 13px, color-mix(in oklch, var(--gold) 26%, transparent) 13px 14px),
    repeating-linear-gradient(-45deg, transparent 0 13px, color-mix(in oklch, var(--gold) 26%, transparent) 13px 14px),
    var(--bg-2);
  box-shadow:
    inset 0 0 0 5px var(--bg-2),
    inset 0 0 0 6px color-mix(in oklch, var(--gold) 55%, transparent);
}
.b-tarot-pip {
  position: absolute; width: 9px; height: 9px;
  background: var(--bg-2); border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.b-tarot-pip.tl { top: 7px; left: 7px; }
.b-tarot-pip.tr { top: 7px; right: 7px; }
.b-tarot-pip.bl { bottom: 7px; left: 7px; }
.b-tarot-pip.br { bottom: 7px; right: 7px; }
.b-tarot-pip.tc { top: 7px; left: calc(50% - 5.5px); }
.b-tarot-pip.bc { bottom: 7px; left: calc(50% - 5.5px); }
.b-tarot-medal {
  position: relative;
  width: 52%;
  width: min(52cqw, 52cqh);
  aspect-ratio: 1;
  height: auto;
  overflow: visible;
}
.b-tarot-medal .tm-gold  { stroke: var(--gold); fill: none; stroke-linecap: round; }
.b-tarot-medal .tm-soft  { stroke: color-mix(in oklch, var(--gold) 55%, transparent); fill: none; }
.b-tarot-medal .tm-fill  { fill: var(--bg-2); }
.b-tarot-medal .tm-tint  { fill: color-mix(in oklch, var(--gold) 16%, transparent); }
.b-tarot-medal .tm-solid { fill: var(--gold); }
/* tarot frame laid over a featured image */
.b-tarot-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.b-tarot-overlay::before,
.b-tarot-overlay::after {
  content: ""; position: absolute;
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 .5px color-mix(in oklch, var(--bg) 45%, transparent),
    inset 0 0 0 .5px color-mix(in oklch, var(--bg) 45%, transparent);
}
.b-tarot-overlay::before { inset: 12px; }
.b-tarot-overlay::after  { inset: 18px; border-width: .5px; border-color: color-mix(in oklch, var(--gold) 75%, transparent); }
.b-tarot-overlay .b-tarot-pip { z-index: 1; }

/* the decorative corner stars would collide with the frame */
.entry-image:has(.b-placeholder) .entry-image-overlay,
.entry-image:has(.b-tarot-overlay) .entry-image-overlay,
.article-cover:has(.b-placeholder) .article-cover-overlay,
.article-cover:has(.b-tarot-overlay) .article-cover-overlay { display: none; }

/* ornament opacity helpers (used in templates) */
.op-25 { opacity: .25; }
.op-50 { opacity: .50; }
.op-75 { opacity: .75; }

/* drop cap clearance for deluxe content body */
.prose.deluxe p.has-drop-cap { min-height: 200px; }

/* inline searchform variant */
.search-shell--inline {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: .5px solid var(--rule);
  background: var(--bg);
}
.search-shell--inline input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  font: inherit; color: var(--ink);
  outline: none;
}
.search-shell--inline button {
  border: 0; background: transparent;
  color: var(--ink); cursor: none;
  font-family: var(--display); font-size: 20px;
}

/* archive list — wraps on small viewports */
@media (max-width: 720px) {
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .archive-row .num,
  .archive-row .cat,
  .archive-row .date { font-size: 12px; }
}

/* WP-supplied comment list (basic legibility) */
.comment-list,
.comment-list ol.children { list-style: none; padding-left: 0; }
.comment-list .comment,
.comment-list li.comment,
.comment-list li.pingback {
  border-top: .5px solid var(--rule);
  padding: 22px 0;
}
.comment-list .comment-author {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--caps); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 6px;
}
.comment-list .comment-author .avatar {
  border-radius: 50%; border: .5px solid var(--rule);
}
.comment-list .comment-meta a {
  color: var(--ink-soft); text-decoration: none;
  font-family: var(--caps); font-size: 11px; letter-spacing: .2em;
}
.comment-list p { font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.comment-respond { margin-top: 40px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%; padding: 10px 12px;
  border: .5px solid var(--rule); background: var(--bg);
  font: inherit; color: var(--ink); outline: none;
  margin-top: 4px;
}
.comment-respond label {
  font-family: var(--caps); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
  display: block; margin-top: 14px;
}
.comment-respond .submit,
.comment-respond .letter-btn {
  margin-top: 18px;
  background: var(--ink); color: var(--bg);
  border: 0; padding: 12px 22px;
  font-family: var(--caps); font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; cursor: none;
}

/* WP nav-menu primary tweaks — flat link list works inside .primary already */
.chrome-top-inner .primary > .menu-item,
.chrome-top-inner .primary > div { display: inline-flex; }

/* WP-generated widget alignment inside the aside */
.aside-card.widget { padding: 22px 22px 20px; }
.aside-card.widget h4 { margin-top: 0; }
/* links inside WordPress widgets take the theme colours */
.aside-card.widget a { color: var(--ink); text-decoration: none; cursor: none; transition: color .25s; }
.aside-card.widget a:hover { color: var(--rose); }
.aside-card.widget a:focus-visible { outline: 1px dashed var(--gold); outline-offset: 3px; }

/* tablet: cards in two columns (the large one stays full width) */
@media (min-width: 561px) and (max-width: 960px) {
  .feed .entry.size-m,
  .feed .entry.size-s { grid-column: span 6; }
}

/* ─── Responsive robustness ─────────────────────────────────────────────
   Real WordPress content (featured images, images inside posts, embeds,
   tables, long links) must never make the layout wider than the screen. */
img, video, iframe, embed, canvas { max-width: 100%; }
img, video { height: auto; }

/* grid children may shrink below their content width */
.feed > *, .with-aside > *, .about-grid > *, .contact-grid > *, .foot-inner > * { min-width: 0; }

/* featured images fill their card / cover box */
.b-card-img, .b-cover-img, .b-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* content inside articles and pages */
.prose { overflow-wrap: anywhere; }
.prose figure, .prose .wp-caption, .prose .wp-block-image,
.prose .wp-block-gallery, .prose .wp-block-embed { max-width: 100%; margin-left: 0; margin-right: 0; }
.prose figure { margin-top: 1.5em; margin-bottom: 1.5em; }
.prose figcaption, .prose .wp-caption-text { font-size: 15px; font-style: italic; color: var(--ink-soft); margin-top: .5em; }
.prose pre { max-width: 100%; overflow-x: auto; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose .alignwide, .prose .alignfull { width: auto; max-width: 100%; margin-left: 0; margin-right: 0; }
.prose .alignleft  { float: left;  max-width: 50%; margin: .3em 1.2em .6em 0; }
.prose .alignright { float: right; max-width: 50%; margin: .3em 0 .6em 1.2em; }
@media (max-width: 560px) {
  .prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 1em 0; }
}
