/* =====================================================================
   williamlloydjenkins.com - site styles
   Dark editorial theme. Series colors arrive as --accent / --tint / --ink.
   ===================================================================== */

:root {
  --bg: #0E0D0C;
  --bg-2: #12110E;
  --bg-3: #171511;
  --bg-4: #1E1B16;
  --line: #2A2620;
  --line-2: #4A4337;
  --text: #EDE6D6;
  --text-2: #CFC6B3;
  --muted: #A89F8C;
  --brand: #E2D9C6;
  --brand-ink: #14110B;
  --ok: #B9D9A0;
  --ok-bg: #1C2617;
  --err: #F0A08C;
  --err-bg: #2A1512;
  --accent: var(--brand);
  --ink: var(--brand-ink);
  --tint: var(--bg-2);
  --radius: 10px;
  --radius-sm: 6px;
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body: "EB Garamond", Garamond, Georgia, serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 19px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
main:focus { outline: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-family: var(--f-ui); font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

.container { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container--narrow { max-width: 820px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section--tight { padding-top: 40px; padding-bottom: 72px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.center { text-align: center; }

/* ---- Type --------------------------------------------------------- */
.h1 { font-family: var(--f-display); font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin-bottom: 16px; }
.h2 { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.h3 { font-family: var(--f-display); font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.h3 a, .h2 a { color: inherit; }
.lead { font-size: 21px; line-height: 1.5; color: var(--text-2); max-width: 60ch; }
.eyebrow { display: block; font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.eyebrow--sm { font-size: 12px; letter-spacing: .12em; margin-bottom: 6px; }
.tagline { font-style: italic; font-size: 22px; line-height: 1.4; color: var(--text); margin: 0 0 12px; }
.tagline--lg { font-size: 26px; }
.muted { color: var(--muted); }
.small { font-family: var(--f-ui); font-size: 13px; line-height: 1.45; }
.strong { font-weight: 600; }
.accent-text { color: var(--accent); }
.byline { font-family: var(--f-ui); font-size: 15px; color: var(--text-2); }
.text-link { font-family: var(--f-ui); font-size: 15px; font-weight: 600; display: inline-block; padding: 10px 0; }
.prose { color: var(--text-2); }
.prose--lg { font-size: 20px; line-height: 1.65; }
.prose h2 { font-family: var(--f-display); font-size: 26px; color: var(--text); margin: 1.6em 0 .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.sigil { color: var(--brand); margin: 0 auto 12px; }

/* ---- Buttons & forms --------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--f-ui); font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: #fff; color: var(--brand-ink); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { filter: brightness(1.1); color: var(--ink); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.btn-row--sm { gap: 8px; }
.btn-row--center { justify-content: center; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); }

.field-label { display: block; font-family: var(--f-ui); font-size: 14px; font-weight: 500; color: var(--text-2); margin: 0 0 8px; }
.input, .select { width: 100%; min-height: 50px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--text); font: 16px/1.4 var(--f-ui); }
textarea.input { padding: 14px 16px; resize: vertical; }
.input--sm, .select--sm { min-height: 44px; font-size: 15px; }
.input::placeholder { color: #8C8474; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--f-ui); font-size: 15px; margin-right: 18px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-note { font-family: var(--f-ui); font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.form-status { font-family: var(--f-ui); font-size: 15px; margin: 10px 0 0; min-height: 1px; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--err); }
.signup-form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form__row .input { flex: 1 1 220px; width: auto; }
.signup-form__interests { border: 0; padding: 0; margin: 14px 0 0; }
.contact-form { display: grid; gap: 18px; }

.flash-stack { padding-top: 16px; }
.flash { font-family: var(--f-ui); font-size: 15px; padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 8px; }
.flash--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #3A5A35; }
.flash--error { background: var(--err-bg); color: var(--err); border: 1px solid #5A2E25; }

/* ---- Badges, pills, tabs ----------------------------------------- */
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.badge { display: inline-block; padding: 4px 9px; border-radius: 4px; background: #2A2620; color: var(--text-2); font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.badge--solid { background: var(--accent); color: var(--ink); }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font: 600 14px/1 var(--f-ui); }
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill[aria-pressed="true"] { background: var(--text); color: var(--brand-ink); border-color: var(--text); }
.pill__count { font-weight: 400; opacity: .7; }
.tab-row { display: flex; flex-wrap: wrap; gap: 4px; }
.tab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid transparent; color: var(--text); font: 600 14px/1 var(--f-ui); }
.tab[aria-current="page"] { border-color: var(--accent); color: var(--accent); background: var(--bg-4); }

/* ---- Utility bar & header ---------------------------------------- */
.utility-bar { background: #0A0908; border-bottom: 1px solid #1F1C17; font: 13px/1.4 var(--f-ui); color: var(--text-2); }
.utility-bar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
.utility-bar a { font-weight: 600; }
.utility-bar__social { display: flex; gap: 16px; }
.utility-bar__social a { color: var(--muted); font-weight: 400; padding: 6px 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 13, 12, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; position: relative; }
.brand { display: flex; flex-direction: column; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: .06em; }
.brand__tag { font: 500 11px/1.4 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 2px; font: 500 15px/1 var(--f-ui); }
.main-nav > a, .nav-worlds__btn { color: var(--text); padding: 14px 12px; border-radius: var(--radius-sm); background: transparent; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.main-nav > a:hover, .nav-worlds__btn:hover { background: var(--bg-4); color: var(--text); }
.main-nav > a[aria-current="page"], .nav-worlds__btn.is-current { color: var(--brand); background: #221F19; }
.nav-worlds__btn[aria-expanded="true"] { background: #221F19; }
.nav-worlds__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-search__label { display: none; }
.main-nav .nav-cta { margin-left: 6px; color: var(--brand-ink); padding: 0 18px; min-height: 44px; }
.main-nav .nav-cta:hover { background: #fff; color: var(--brand-ink); }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--text); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #14120F; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.mega__grid { max-width: var(--wrap); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mega__item { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.mega__item:hover { border-color: var(--accent); color: var(--text); }
.mega__item img { height: 52px; width: auto; object-fit: contain; align-self: flex-start; }
.mega__name { font-family: var(--f-display); font-size: 18px; color: var(--brand); }
.mega__meta { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega__item--codex { background: #1A1712; border-color: #3A3328; }
.nav-worlds { position: static; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: #0E0D0C; border-bottom: 1px solid var(--line); padding: 8px 24px 24px; max-height: calc(100vh - 80px); overflow: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-worlds__btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-search__label { display: inline; }
  .main-nav .nav-cta { margin: 20px 0 0; min-height: 52px; justify-content: center; }
  .mega { position: static; box-shadow: none; border: 0; background: transparent; }
  .mega__grid { padding: 12px 0; grid-template-columns: 1fr; }
}

/* ---- Footer -------------------------------------------------------- */
.site-footer { background: #0A0908; border-top: 1px solid var(--line); font-family: var(--f-ui); font-size: 15px; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer-grid nav { display: flex; flex-direction: column; }
.footer-grid nav a { color: var(--text); padding: 6px 0; }
.footer-about p { color: var(--muted); margin-top: 10px; }
.footer-head { font: 500 12px/1 var(--f-ui); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom__links { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted); }

/* ---- Layout helpers ---------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--codex { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split--top { align-items: flex-start; }
.split__aside { flex: 1 1 300px; }
.split__main { flex: 2 1 520px; min-width: 0; }
.split__main--wide { flex: 3 1 560px; }
.section-head { margin-bottom: 36px; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .lead { margin: 0 auto; }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.page-head { padding-top: 56px; padding-bottom: 28px; }
.crumbs { font: 13px/1.4 var(--f-ui); color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.empty-note, .empty-state { color: var(--text-2); }
.empty-state { border: 1px dashed var(--line-2); border-radius: 12px; padding: 48px 24px; text-align: center; }

/* ---- Hero ---------------------------------------------------------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 80px; }
.hero__copy { flex: 1 1 520px; }
.hero__title { font-family: var(--f-display); font-size: clamp(38px, 5.4vw, 66px); line-height: 1.06; margin-bottom: 22px; }
.hero__logos { flex: 1 1 380px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; align-items: center; }
.hero__logos img { width: 100%; height: auto; }

/* ---- Covers ------------------------------------------------------- */
.cover { border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); object-fit: cover; aspect-ratio: 2 / 3; background: var(--bg-3); }
.cover--xs { width: 60px; box-shadow: none; }
.cover--sm { width: 120px; }
.cover--md { width: 240px; }
.cover--lg { width: 100%; max-width: 320px; }
.cover--placeholder { display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: var(--cover); border: 1px solid var(--border); }
.cover__series { font: 600 10px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cover__title { font-family: var(--f-display); font-size: 20px; line-height: 1.2; color: var(--text); }
.cover--xs .cover__series { display: none; }
.cover--xs .cover__title { font-size: 9px; }
.cover--xs.cover--placeholder, .cover--sm.cover--placeholder { padding: 8px; }
.cover--sm .cover__title { font-size: 14px; }

/* ---- Spotlight carousel ------------------------------------------- */
.spotlight { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0 36px; transition: background .3s; }
.spotlight__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.spotlight__head .eyebrow { margin: 0; }
.spotlight__controls { display: flex; align-items: center; gap: 8px; font: 14px var(--f-ui); color: var(--text-2); }
.spotlight__count { min-width: 48px; text-align: center; }
.slide { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; min-height: 380px; }
.slide[hidden] { display: none; }
.slide__cover { flex: 0 1 240px; }
.slide__body { flex: 1 1 460px; }
.slide__logo { height: 72px; width: auto; margin: 4px 0 12px; }
.slide__title { font-family: var(--f-display); font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin-bottom: 12px; }
.slide__title a { color: var(--text); }
.slide__blurb { color: var(--text-2); max-width: 60ch; }
.spotlight__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 32px; }
.spot-tab { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; text-align: left; font-family: var(--f-ui); color: var(--text); }
.spot-tab[aria-selected="true"] { border-color: var(--accent); background: rgba(255, 255, 255, .04); }
.spot-tab__chip { width: 26px; height: 38px; flex: none; border-radius: 2px; background: var(--cover); border: 1px solid var(--accent); }
.spot-tab__text { display: flex; flex-direction: column; gap: 2px; }
.spot-tab__title { font-size: 14px; font-weight: 600; }
.spot-tab__badge { font-size: 12px; color: var(--muted); }

/* ---- World cards --------------------------------------------------- */
.world-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--bg-3); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.world-card__meta { display: flex; justify-content: space-between; gap: 8px; font: 12px/1.3 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.world-card__logo { height: 84px; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 26px; }
.world-card__logo img { max-height: 84px; width: auto; object-fit: contain; }
.world-card__pitch { font-size: 18px; color: var(--text-2); margin: 0; }
.world-card .btn { margin-top: auto; }
.world-card .text-link { text-align: center; padding: 4px 0; color: var(--text); }

/* ---- Calendar ------------------------------------------------------ */
.calendar { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.calendar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.calendar__date { flex: 0 0 90px; display: flex; flex-direction: column; font-family: var(--f-ui); }
.calendar__md { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.calendar__year { font-size: 13px; color: var(--muted); }
.calendar__title { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.calendar__book { font-family: var(--f-display); font-size: 21px; }

/* ---- Codex tiles / cards ------------------------------------------ */
.codex-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.codex-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.codex-tile:hover { border-color: var(--accent); color: var(--text); }
.codex-tile__title { font-family: var(--f-display); font-size: 20px; color: var(--accent); }
.codex-card { display: flex; flex-direction: column; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); }
.codex-card:hover { border-color: var(--accent); color: var(--text); }
.codex-card[hidden] { display: none; }
.codex-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.codex-card__img--blank { display: flex; align-items: flex-end; padding: 10px; font: 600 10px/1 var(--f-ui); letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.codex-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px; }
.codex-card__name { font-family: var(--f-display); font-size: 18px; line-height: 1.2; }
.codex-card.is-locked { opacity: .6; }
.archive-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--tint); border: 1px solid var(--line); border-radius: 12px; color: var(--text); }
.archive-card:hover { border-color: var(--accent); color: var(--text); }
.archive-card img { height: 80px; width: auto; object-fit: contain; align-self: flex-start; }
.archive-card__title { font-family: var(--f-display); font-size: 26px; }
.archive-card__count { font: 600 14px var(--f-ui); }
.codex-head__logo { height: 96px; width: auto; margin-bottom: 8px; }

/* ---- Codex entry --------------------------------------------------- */
.entry { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.entry__media { flex: 1 1 300px; max-width: 420px; }
.entry__media img, .entry__media-blank { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.entry__media-blank { aspect-ratio: 4 / 5; background: var(--tint); display: flex; align-items: flex-end; padding: 18px; font: 600 12px var(--f-ui); letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.entry__body { flex: 2 1 480px; min-width: 0; }
.entry__role { font: 15px/1.5 var(--f-ui); color: var(--text-2); }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--line); font: 14px var(--f-ui); }
.details--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 4px 0 0; }
.tag-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 11px; font: 12px var(--f-ui); color: var(--text-2); }
.tag--teal { border-color: #2F4544; color: #7CC6C2; }
.tag--gold, .tag--amber { border-color: #4A3A1E; color: #D9B25C; }
.tag--ember, .tag--red { border-color: #5A2E25; color: #E8957A; }
.tag--purple { border-color: #3E2C55; color: #B48CF0; }
.tag--silver { border-color: #3A414C; color: #C3CCD8; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs__list button { min-height: 44px; padding: 0 14px; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font: 600 14px var(--f-ui); cursor: pointer; }
.tabs__list button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.ability-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ability-list__name { font-family: var(--f-display); font-size: 18px; margin-bottom: 4px; }
.ability-list p { color: var(--text-2); margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.timeline__era { font: 600 12px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }
.timeline p { color: var(--text-2); margin: 4px 0 0; }
.spoiler { position: relative; }
.spoiler .timeline { filter: blur(6px); opacity: .45; user-select: none; min-height: 120px; }
.spoiler__veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-family: var(--f-ui); }
.spoiler.is-revealed .timeline { filter: none; opacity: 1; user-select: auto; }
.spoiler.is-revealed .spoiler__veil { display: none; }

/* ---- Books -------------------------------------------------------- */
.filter-bar { position: sticky; top: 73px; z-index: 30; background: rgba(14, 13, 12, .95); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.filter-bar__inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.filter-bar__tools { flex: 0 1 320px; }
.book-list { display: grid; gap: 20px; }
.book-row { display: flex; flex-wrap: wrap; gap: 28px; padding: 24px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; }
.book-row[hidden] { display: none; }
.book-row__body { flex: 1 1 420px; }
.book-row__body p { color: var(--text-2); }
.order-card { padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); font: 15px/1.5 var(--f-ui); }
.order-card__title { font-family: var(--f-display); font-size: 20px; margin-bottom: 10px; }
.order-card__title a { color: var(--accent); }
.order-card ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.order-card a { color: var(--text); }
.order-card li.is-prequel { list-style: none; margin-left: -20px; font-style: italic; }
.mini-books { margin-top: 20px; }
.mini-book { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.mini-book:hover { border-color: var(--line-2); color: var(--text); }
.mini-book > span { display: flex; flex-direction: column; gap: 2px; }
.mini-book__title { font-family: var(--f-display); font-size: 18px; }
.cookbook-card { flex: 1 1 320px; align-self: flex-start; padding: 28px; background: #1E1612; border: 1px solid #4A3226; border-radius: 12px; }
.cookbook-card__row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 8px; }
.cookbook-card p { color: var(--text-2); }

/* ---- Book page ---------------------------------------------------- */
.book-hero { background: var(--tint); border-bottom: 1px solid var(--border, var(--line)); padding: 36px 0 72px; }
.book-hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.book-hero__cover { flex: 0 1 320px; display: grid; gap: 14px; }
.book-hero__body { flex: 1 1 480px; min-width: 0; }
.book-hero__body .badge { margin: 4px 0 14px; }
.series-link { display: inline-flex; flex-direction: column; gap: 6px; font: 600 13px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.series-link img { height: 64px; width: auto; }
.buy-box { margin: 24px 0; display: grid; gap: 12px; justify-items: start; }
.retailers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.series-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.series-strip__item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-family: var(--f-ui); }
.series-strip__item:hover { border-color: var(--accent); color: var(--text); }
.series-strip__item.is-here { border-color: var(--accent); background: rgba(255, 255, 255, .03); }
.series-strip__item > span:last-child { display: flex; flex-direction: column; }
.series-strip__num { font-family: var(--f-display); font-size: 26px; color: var(--accent); min-width: 34px; }
.series-strip__title { font-size: 15px; font-weight: 600; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font: 600 16px/1.4 var(--f-ui); cursor: pointer; min-height: 28px; }
.faq .prose { margin-top: 10px; }
.also-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); color: var(--text); }
.also-card:hover { color: var(--text); border-color: var(--accent); }
.also-card__title { font-family: var(--f-display); font-size: 20px; }

/* ---- Series page -------------------------------------------------- */
.subnav { position: sticky; top: 73px; z-index: 30; background: rgba(14, 13, 12, .95); border-bottom: 1px solid var(--border, var(--line)); font: 500 14px var(--f-ui); }
.subnav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.subnav__inner a { color: var(--text); padding: 14px 12px; }
.subnav__name { font-family: var(--f-display); font-size: 16px; color: var(--accent); padding: 14px 16px 14px 0; margin-right: 8px; border-right: 1px solid var(--border, var(--line)); }
.subnav__spacer { flex: 1 1 0; }
.subnav .select { width: auto; }
.series-hero { background: var(--tint); border-bottom: 1px solid var(--border, var(--line)); }
.series-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 80px; }
.series-hero__copy { flex: 1 1 520px; }
.series-hero__logo { margin: 0 0 16px; }
.series-hero__logo img { width: 100%; max-width: 560px; }
.series-hero__cover { flex: 0 1 300px; }
.pillar { padding-top: 20px; border-top: 1px solid var(--border, var(--line)); }
.pillar__title { font-family: var(--f-display); font-size: 22px; margin-bottom: 8px; }
.pillar p { color: var(--text-2); }
.series-book { display: flex; gap: 22px; padding: 22px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; }
.series-book.is-planned { border-style: dashed; opacity: .85; }
.series-book__body p { color: var(--text-2); margin-bottom: 6px; }
.other-world { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.other-world:hover { border-color: var(--accent); color: var(--text); }
.other-world img { height: 70px; width: auto; object-fit: contain; align-self: flex-start; }

/* ---- Newsletter / free story ------------------------------------- */
.newsletter-card { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 44px; background: #1A1712; border: 1px solid #3A3328; border-radius: 14px; }
.newsletter-card > div { flex: 1 1 340px; }
.newsletter-card > form { flex: 1 1 360px; }
.newsletter-card p { color: var(--text-2); }
.newsletter-card--stack { flex-direction: column; align-items: stretch; gap: 16px; }
.focus-page .utility-bar { display: none; }
.free-story { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.free-story__cover { flex: 0 1 300px; }
.free-story__body { flex: 1 1 480px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 19px; }
.check-list li::before { content: ""; display: inline-block; width: 10px; height: 6px; margin: 0 12px 4px 2px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ---- Journal ------------------------------------------------------ */
.post-card { display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.post-card:hover { color: var(--text); }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-3); }
.post-card__cat { font: 500 12px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.post-card__title { font-family: var(--f-display); font-size: 21px; line-height: 1.3; }
.post-card__excerpt { color: var(--text-2); font-size: 17px; }
.post__cover { border-radius: 12px; margin: 20px 0 28px; }
.pager { display: flex; justify-content: space-between; margin-top: 40px; }

/* ---- About / reader / search ------------------------------------- */
.about-photo { flex: 0 1 360px; }
.about-photo img, .about-photo__blank { width: 100%; border-radius: 12px; }
.about-photo__blank { aspect-ratio: 4 / 5; border: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: center; font: 600 40px var(--f-display); color: var(--line-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin: 0 auto; }
.facts dt { font: 500 12px var(--f-ui); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 20px; }
.reader__head { padding-top: 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.reader__logo { width: min(480px, 90%); }
.reader__body { padding-top: 24px; padding-bottom: 48px; }
.reader__cta { text-align: center; padding-bottom: 80px; border-top: 1px solid var(--line); padding-top: 48px; }
.reader__cta .btn-row { justify-content: center; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 680px; }
.search-form .input { flex: 1 1 280px; width: auto; }
.search-results .h3 { margin-top: 28px; }
.result-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.result-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 640px) {
  body { font-size: 18px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .band { padding: 56px 0; }
  .newsletter-card { padding: 28px 22px; }
  .hero { padding-top: 48px; }
  .slide { gap: 28px; min-height: 0; }
  .slide__cover { flex-basis: 160px; }
  .book-row, .series-book { gap: 18px; padding: 18px; }
  .filter-bar, .subnav { top: 72px; }
  .filter-bar .pill-row, .tab-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .pill, .tab { flex: none; }
}


/* ---- Journal post footer + stacked newsletter card ---- */
.newsletter-card--stack > div, .newsletter-card--stack > form { flex: 0 0 auto; }
.newsletter-card--stack { padding: 36px 40px; }
.newsletter-card--stack h2 { margin-top: 6px; }
.post-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.post-foot__meta, .post-foot__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-family: var(--f-ui); font-size: 15px; }
.post-foot__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.post-foot__share a, .post-foot__share .linklike { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.post-foot__share a:hover, .post-foot__share .linklike:hover { color: var(--accent); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.post-foot__byline { margin: 0; color: var(--text-2); font-size: 17px; }
.post-foot__back { font-family: var(--f-ui); font-size: 15px; }
.post-signup { padding-top: 8px; padding-bottom: 64px; }
@media (max-width: 640px) {
  .newsletter-card--stack { padding: 26px 20px; }
  .post-foot { margin-top: 36px; }
}

/* Codex: standalone novel cards */
.archive-card--book { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; align-content: start; }
.archive-card--book .archive-card__cover { grid-row: 1 / span 3; width: 72px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; }
.archive-card--book > span { grid-column: 2; }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* ---- Journal index (featured + month list + sidebar) ---- */
.journal-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.journal-search { display: flex; gap: 8px; flex: 0 1 380px; }
.journal-search .input { flex: 1; min-width: 0; }
.journal-cats { margin-top: 24px; }
.journal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 24px; padding-bottom: 80px; align-items: start; }
.post-feature { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--bg-3), #14120F); border-left: 4px solid var(--accent); margin-bottom: 40px; }
.post-feature__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-feature__body { padding: 30px 32px 32px; }
.post-feature__labels { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.post-feature__title { font-family: var(--f-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 0 0 12px; }
.post-feature__title a, .post-row__title a { color: var(--text); text-decoration: none; }
.post-feature__title a:hover, .post-row__title a:hover { color: var(--accent); }
.post-feature__excerpt { color: var(--text-2); font-size: 19px; margin: 0 0 12px; max-width: 62ch; }
.post-feature .btn { margin-top: 8px; }
.post-month { margin-bottom: 36px; }
.post-month__title { font: 600 13px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); padding-bottom: 10px; margin: 0 0 4px; border-bottom: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-row:has(.post-row__img) { grid-template-columns: 160px minmax(0, 1fr); }
.post-row__img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.post-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.post-row__cat { font: 600 12px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.post-row__cat:hover { text-decoration: underline; }
.post-row__title { font-family: var(--f-display); font-size: 22px; line-height: 1.25; margin: 6px 0 8px; }
.post-row__excerpt { color: var(--text-2); font-size: 17px; margin: 0 0 8px; }
.post-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font: 14px var(--f-ui); color: var(--text-2); }
.post-row__more { margin-left: auto; font-weight: 600; color: var(--text); }
.journal-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.side-box { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); }
.side-box__title { font: 600 13px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0 0 12px; }
.side-list { list-style: none; margin: 0; padding: 0; font-family: var(--f-ui); font-size: 15px; }
.side-list a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover, .side-list a[aria-current="page"] { color: var(--brand); }
.side-list span { color: var(--text-2); }
.side-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side-recent a { display: block; color: var(--text); font-size: 17px; line-height: 1.35; text-decoration: none; }
.side-recent a:hover { color: var(--brand); }
.side-recent time { display: block; font: 13px var(--f-ui); color: var(--text-2); margin-top: 2px; }
.side-box--cta { background: linear-gradient(160deg, #1F1B14, #14120F); border-color: #4A4030; }
.side-box--cta p { color: var(--text-2); font-size: 17px; }
.side-box--cta .btn { width: 100%; justify-content: center; }
@media (max-width: 960px) {
  .journal-layout { grid-template-columns: 1fr; gap: 32px; }
  .journal-side { position: static; }
}
@media (max-width: 560px) {
  .post-row { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .post-row .post-icon { width: 44px; height: 44px; border-radius: 10px; }
  .post-row:has(.post-row__img) { grid-template-columns: 1fr; gap: 12px; }
  .post-row__img { width: 100%; }
  .post-row__more { margin-left: 0; }
  .post-feature__body { padding: 22px; }
}
.post-card__img--blank { display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--accent) 18%, #1A1712), #14120F); }
.post-card__img--blank .post-icon { width: 64px; height: 64px; background: rgba(0, 0, 0, .25); }
.post-feature .badge--solid { color: #14110B; }

/* ---- Images inside journal posts (inserted with the post editor) ---- */
.prose figure.post-img { margin: 1.8em 0; }
.prose figure.post-img img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.prose figure.post-img figcaption { margin-top: 10px; font: 14px/1.5 var(--f-ui); color: var(--text-2); text-align: center; }
.prose figure.post-img--medium { max-width: 66%; margin-left: auto; margin-right: auto; }
.prose figure.post-img--left, .prose figure.post-img--right { width: 42%; margin-top: .3em; margin-bottom: 1em; }
.prose figure.post-img--left { float: left; margin-right: 1.6em; }
.prose figure.post-img--right { float: right; margin-left: 1.6em; }
.prose figure.post-img--left figcaption, .prose figure.post-img--right figcaption { text-align: left; }
.prose h2, .prose h3, .prose hr, .prose blockquote, .prose figure.post-img--full, .prose figure.post-img--medium { clear: both; }
.prose::after { content: ''; display: table; clear: both; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent, var(--brand)); color: var(--text); font-style: italic; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
@media (max-width: 640px) {
  .prose figure.post-img--medium, .prose figure.post-img--left, .prose figure.post-img--right { float: none; width: auto; max-width: none; margin-left: 0; margin-right: 0; }
}
.prose h3 { font-family: var(--f-display); font-size: 21px; line-height: 1.3; color: var(--text); margin: 1.4em 0 .4em; }
.prose li { margin: .3em 0; }

/* ---- Spoiler guard (read-up-to picker) ---- */
.read-level { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.read-level__label { font: 600 13px var(--f-ui); color: var(--text-2); }
.filter-bar__tools .read-level { margin: 8px 0 0; }
.codex-card { position: relative; }
.codex-card.is-ahead .codex-card__img, .codex-card.is-ahead .codex-card__body { filter: blur(7px) grayscale(.6); opacity: .55; }
.codex-card.is-ahead::after { content: attr(data-ahead); position: absolute; inset: auto 10px 10px 10px; padding: 8px 10px; border-radius: 6px; background: rgba(10,9,8,.85); border: 1px solid var(--line-2); color: var(--text); font: 600 12px/1.3 var(--f-ui); text-align: center; }
.timeline li.is-ahead > p, .timeline li.is-ahead > .timeline__era { display: none; }
.ahead-reveal { display: none; }
.timeline li.is-ahead .ahead-reveal { display: block; width: 100%; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 8px; background: rgba(255,255,255,.03); color: var(--text-2); font: 14px var(--f-ui); text-align: left; cursor: pointer; }
.timeline li.is-ahead .ahead-reveal:hover, .timeline li.is-ahead .ahead-reveal:focus-visible { border-color: var(--accent); color: var(--text); }
.ahead-note { padding: 10px 14px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.04); border-radius: 0 6px 6px 0; font-size: 15px; }
.ahead-note[hidden] { display: none !important; }

/* ---- Reader reviews ---- */
.stars { color: #E7B95A; letter-spacing: 2px; font-size: 16px; white-space: nowrap; }
.stars__off { color: rgba(255,255,255,.18); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; font: italic 18px/1.55 var(--f-body, Georgia, serif); color: var(--text); }
.review figcaption { font: 14px var(--f-ui); color: var(--text-2); }
.review figcaption a { color: var(--text-2); text-decoration: underline; }
.slide__review { margin: 14px 0 0; padding-left: 14px; border-left: 2px solid var(--accent); font-style: italic; color: var(--text); }
.slide__review cite { display: block; margin-top: 4px; font: normal 13px var(--f-ui); color: var(--text-2); }

/* ---- Media kit ---- */
.kit-copy { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-3); margin-bottom: 10px; }
.kit-covers { grid-template-columns: repeat(auto-fill, minmax(170px, 220px)); }
.kit-cover { margin: 0; }
.kit-cover img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .2s; }
.kit-cover a:hover img, .kit-cover a:focus-visible img { transform: translateY(-3px); }
.kit-cover figcaption { margin-top: 10px; font-size: 15px; }
.kit-quote { margin: 0 0 14px; padding-left: 14px; border-left: 2px solid var(--brand); font-style: italic; }

/* ---- Quiz ---- */
.quiz__logo { display: block; height: 70px; width: auto; margin: 10px 0 6px; }
.quiz__bar { height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; margin: 0 0 22px; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.quiz__q { outline: none; }
.quiz__answers { display: grid; gap: 10px; margin: 18px 0; }
.quiz__answer { text-align: left; padding: 16px 18px; min-height: 56px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-3); color: var(--text); font: 17px/1.45 var(--f-ui); cursor: pointer; }
.quiz__answer:hover, .quiz__answer:focus-visible { border-color: var(--accent); background: var(--bg-4); }
.quiz__result { outline: none; }
.quiz__result-grid { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 28px; align-items: start; }
.quiz__img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.quiz__img[hidden] { display: none; }
.quiz__result-grid.no-img { grid-template-columns: 1fr; }
.quiz .linklike { background: none; border: 0; padding: 0; color: var(--brand); font: 15px var(--f-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-top: 14px; }
.quiz__share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.quiz__share .field-label { margin: 0 6px 0 0; }
.quiz [hidden] { display: none !important; }
@media (max-width: 640px) { .quiz__result-grid { grid-template-columns: 1fr; } .quiz__img { max-width: 220px; } }

/* ---- Chapter One reader ---- */
.reader__body > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-size: 3.6em; line-height: .82; padding: .08em .1em 0 0; color: var(--accent); }
.reader__body hr { height: auto; background: none; border: 0; margin: 2.6em 0; text-align: center; overflow: visible; }
.reader__body hr::before { content: "\25C6\00a0\00a0\00a0\25C6\00a0\00a0\00a0\25C6"; color: var(--accent); font-size: 12px; letter-spacing: 2px; opacity: .8; }
.reader__body hr + p::first-line { font-variant: small-caps; letter-spacing: .04em; }
