/* ==========================================================================
   For the Outsiders with Livingston — private website draft, v2
   Layout concept: an authored editorial page. One strong image carries the
   world; type and hairline rules organise everything else. Boxes only where
   they hold real controls or a real object (form, product, newsletter issue).
   Atomic orange is for the focal image, the primary action and selected
   controls. Purple is a thin edge detail. Silver is the wordmark's metal.
   ========================================================================== */

/* ---------- Self-hosted fonts (SIL OFL, see assets/fonts/LICENSE-*) ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --ink: #0c0908;
  --ink-2: #13100d;
  --panel: #1a1411;
  --line: #2a211b;
  --line-strong: #43352b;
  --orange: #ef5a1b;
  --orange-hot: #ff7a3a;
  --rust: #7b2d10;
  --silver: #c9c6c1;
  --silver-dim: #8c867f;
  --bone: #f1e9de;
  --muted: #a89b8e;
  --purple: #5a3f84;
  --focus: #ffb27a;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-1: clamp(2.5rem, 5.2vw, 4.5rem);
  --fs-2: clamp(1.75rem, 3vw, 2.625rem);
  --fs-3: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 0.45vw + 0.95rem, 1.1875rem);
  --fs-small: 0.9375rem;

  --measure: 62ch;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1120px;
  --radius: 4px;
  --radius-lg: 8px;
  --speed: 200ms;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; min-height: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--orange-hot); text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
a:hover { color: var(--bone); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* faint grain, static */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.06; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--font-display); font-weight: 800; line-height: 0.96; letter-spacing: 0.005em; text-transform: uppercase; margin: 0; text-wrap: balance; color: var(--bone); }
h1 { font-size: var(--fs-1); }
h2 { font-size: var(--fs-2); }
h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.1; letter-spacing: 0.01em; margin: 0; text-wrap: balance; color: var(--bone); }
h4 { font-family: var(--font-ui); font-weight: 600; font-size: 1rem; margin: 0; color: var(--bone); }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }
.lede { font-size: clamp(1.2rem, 1.1vw + 0.9rem, 1.45rem); line-height: 1.45; color: var(--bone); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.ui { font-family: var(--font-ui); }
.mono, code { font-family: var(--font-mono); font-size: 0.85em; }
.kicker { font-family: var(--font-ui); font-weight: 500; font-size: 0.9rem; color: var(--silver-dim); margin: 0 0 0.75rem; display: flex; align-items: center; gap: 0.6rem; }
.kicker::before { content: ""; width: 1.25rem; height: 1px; background: var(--orange); flex: none; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }
.prose { max-width: var(--measure); }
.prose h2, .prose h3 { margin-top: 2.2rem; margin-bottom: 0.7rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0.6em 0 0; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--orange); }
.note { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--muted); }
.note p { max-width: none; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid > * { min-width: 0; }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .split.narrow-left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.even { grid-template-columns: 1fr 1fr; }
}
.band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section + .band { border-top: 1px solid var(--line); }

/* editorial list with hairlines */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { margin-bottom: 0.3rem; }
.rows p { max-width: 52ch; }
.rows.two { display: grid; grid-template-columns: 1fr; column-gap: 3rem; }
@media (min-width: 720px) { .rows.two { grid-template-columns: 1fr 1fr; } .rows.two > li:nth-child(2) { border-top: 1px solid var(--line); } }
.rows.two > li:last-child, .rows.two > li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
@media (max-width: 719px) { .rows.two > li:nth-last-child(2) { border-bottom: 0; } }

/* definition rows (status, product facts) */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; margin: 0; font-family: var(--font-ui); font-size: var(--fs-small); }
.facts dt { color: var(--silver-dim); }
.facts dd { margin: 0; color: var(--bone); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 440px) { .facts { grid-template-columns: 1fr; gap: 0.1rem 0; } .facts dd { margin-bottom: 0.6rem; } }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--ink); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(12, 9, 8, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 62px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 42px; width: auto; }
.brand:focus-visible { outline-offset: 6px; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.1rem; }
.nav a { font-family: var(--font-ui); font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--silver); padding: 0.55rem 0.65rem; border-radius: var(--radius); display: inline-block; position: relative; }
.nav a:hover { color: var(--bone); }
.nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0.65rem; right: 0.65rem; bottom: 0.3rem; height: 2px; background: var(--orange); }
.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle { display: inline-flex; }
@media (min-width: 1000px) { .nav { display: block; } .icon-btn.nav-toggle { display: none; } }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); border-bottom: 1px solid var(--line-strong); padding: 0.5rem var(--gutter-r) 1rem var(--gutter-l); }
.nav.is-open ul { flex-direction: column; gap: 0; }
.nav.is-open a { display: block; padding: 0.85rem 0.5rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav.is-open a[aria-current="page"]::after { display: none; }
.nav.is-open a[aria-current="page"] { color: var(--orange-hot); }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 38px; padding: 0 0.7rem; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--silver); cursor: pointer; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 500; transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease); }
.icon-btn:hover { border-color: var(--silver-dim); color: var(--bone); }
.icon-btn svg { width: 16px; height: 16px; }
.motion-toggle[aria-pressed="true"] { border-color: var(--orange); color: var(--orange-hot); }
.motion-toggle[aria-pressed="false"] .state-off { display: none; }
.motion-toggle[aria-pressed="true"] .state-on { display: none; }
.motion-toggle .label-short { display: none; }
@media (max-width: 520px) { .motion-toggle .label-long { display: none; } .motion-toggle .label-short { display: inline; } }
.skip-link { position: absolute; left: var(--gutter-l); top: -100px; z-index: 100; background: var(--orange); color: var(--ink); padding: 0.6rem 0.9rem; font-family: var(--font-ui); font-weight: 600; text-decoration: none; border-radius: 0 0 var(--radius) var(--radius); }
.skip-link:focus { top: env(safe-area-inset-top, 0px); }

/* ---------- Orbital section rail (wide screens) ---------- */
.orbit-rail { display: none; }
@media (min-width: 1280px) {
  .orbit-rail { display: block; position: fixed; left: max(18px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); z-index: 40; }
  .orbit-rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
  .orbit-rail ol::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: var(--purple); opacity: 0.7; }
  .orbit-rail a { display: flex; align-items: center; gap: 0.7rem; padding: 0.35rem 0; text-decoration: none; color: var(--silver-dim); font-family: var(--font-ui); font-size: 0.8rem; }
  .orbit-rail a::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--silver-dim); background: var(--ink); flex: none; transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease); }
  .orbit-rail .label { opacity: 0; transform: translateX(-4px); transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease); white-space: nowrap; }
  .orbit-rail:hover .label, .orbit-rail a:focus-visible .label, .orbit-rail a.is-active .label { opacity: 1; transform: none; }
  .orbit-rail a.is-active { color: var(--bone); }
  .orbit-rail a.is-active::before { background: var(--orange); border-color: var(--orange); }
  .orbit-rail a:hover::before { border-color: var(--bone); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; line-height: 1; transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease); }
.btn-primary { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-hot); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--silver); color: var(--bone); }
.btn-soon { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn-sm { min-height: 40px; font-size: 1.05rem; padding: 0 1rem; }
.text-link { font-family: var(--font-ui); font-size: var(--fs-small); }

/* ---------- Status labels (only where a visitor needs the state) ---------- */
.tag { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-ui); font-weight: 500; font-size: 0.78rem; padding: 0.2em 0.55em; border-radius: 2px; border: 1px solid var(--line-strong); color: var(--silver); white-space: nowrap; line-height: 1.3; vertical-align: middle; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--silver-dim); flex: none; }
.tag-orange { border-color: var(--rust); color: var(--orange-hot); }
.tag-orange::before { background: var(--orange); }
.tag-purple { border-color: var(--purple); color: #c2abe6; }
.tag-purple::before { background: var(--purple); }

/* ---------- Cards / panels (used sparingly) ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
a.card { text-decoration: none; color: inherit; display: block; transition: border-color var(--speed) var(--ease); }
a.card:hover { border-color: var(--line-strong); }
.asset-slot { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1rem 1.1rem; color: var(--muted); font-family: var(--font-ui); font-size: var(--fs-small); display: grid; gap: 0.4rem; align-content: center; }
.asset-slot .slot-name { color: var(--silver); font-weight: 600; }
.asset-slot p { max-width: none; }

/* editor notes: collapsed, quiet, at the end of a page */
.editor-notes { border-top: 1px solid var(--line); padding-block: 1.25rem 0; }
.editor-notes summary { cursor: pointer; list-style: none; font-family: var(--font-ui); font-size: 0.85rem; color: var(--silver-dim); display: inline-flex; gap: 0.5rem; align-items: center; }
.editor-notes summary::-webkit-details-marker { display: none; }
.editor-notes summary::before { content: "+"; font-family: var(--font-mono); color: var(--silver-dim); }
.editor-notes[open] summary::before { content: "\2013"; }
.editor-notes summary:hover { color: var(--bone); }
.editor-notes .body { margin-top: 1rem; font-family: var(--font-ui); font-size: 0.9rem; color: var(--muted); max-width: 70ch; display: grid; gap: 0.75rem; }
.editor-notes .body p { max-width: none; }
.editor-notes .body ul { margin: 0; padding-left: 1.2em; }
.editor-notes code { color: var(--silver); }

/* ---------- Home hero: one image carries the world ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-image { position: relative; width: 100%; overflow: hidden; background: var(--ink); }
.hero-image img { width: 100%; height: auto; object-fit: contain; display: block; }
.hero-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 65%, rgba(155,64,18,.3) 85%, #9b4012 100%); }
.hero-body { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-body .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 880px) { .hero-body .wrap { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 4rem; } }
.hero-copy { display: grid; gap: 1.5rem; }
.hero-copy h1 { max-width: 16ch; text-transform: none; }
.hero-copy .lede { max-width: 46ch; }
.hero-copy .note { max-width: 52ch; }
.hero-body .wrap.hero-simple { display: block; }
.hero-simple .hero-copy { max-width: 68ch; }
.original-message { display: grid; gap: 1.5rem; }
.standing { font-family: var(--font-ui); font-size: var(--fs-small); border-top: 1px solid var(--line); }
.standing h2 { font-size: 0.9rem; font-family: var(--font-ui); font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--silver-dim); padding-top: 0.9rem; margin-bottom: 0.3rem; }
.standing dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1.25rem; }
.standing dt { color: var(--silver-dim); }
.standing dd { margin: 0; min-width: 0; }
.standing .tag { font-size: 0.74rem; }

/* ---------- Episode catalogue ---------- */
.catalogue-tools { display: grid; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label, .field .label, fieldset legend { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; color: var(--silver); }
.field .hint { font-family: var(--font-ui); font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 0.6rem 0.85rem; background: var(--ink); color: var(--bone); border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--font-ui); font-size: 1rem; transition: border-color var(--speed) var(--ease); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(239,90,27,0.18); }
.input:disabled, .textarea:disabled, .select:disabled { opacity: 0.55; cursor: not-allowed; background: var(--ink-2); }
.textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.search-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .search-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-family: var(--font-ui); font-weight: 500; font-size: 0.9rem; padding: 0.45rem 0.85rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--silver); cursor: pointer; transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease); }
.chip:hover { border-color: var(--silver); color: var(--bone); }
.chip[aria-pressed="true"] { background: var(--orange); color: var(--ink); border-color: var(--orange); font-weight: 600; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin: 1.5rem 0 1rem; font-family: var(--font-ui); font-size: var(--fs-small); color: var(--muted); }
.results-bar strong { color: var(--bone); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; color: var(--orange-hot); text-decoration: underline; text-underline-offset: 0.16em; cursor: pointer; font-family: var(--font-ui); font-size: 0.95rem; }
.link-btn:hover { color: var(--bone); }
.episode-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.episode-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.episode-card .thumb { aspect-ratio: 16/9; background: var(--ink); border-bottom: 1px solid var(--line); overflow: hidden; }
.episode-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.episode-card .body { padding: 1.1rem 1.25rem 1.35rem; display: grid; gap: 0.6rem; align-content: start; }
.episode-card .meta { font-family: var(--font-ui); font-size: 0.85rem; color: var(--silver-dim); display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; }
.empty-state { padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 720px) { .empty-state { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.empty-state .orbit-mark { width: 88px; height: 88px; }
.empty-state h3 { font-size: var(--fs-2); font-weight: 800; text-transform: uppercase; }
.empty-state .text { display: grid; gap: 1rem; justify-items: start; }
.empty-state p { max-width: 54ch; }

/* episode template preview */
.template { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); display: grid; gap: 2rem; padding: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .template { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.template .slot { color: var(--muted); font-style: italic; }
.template h3.ep-title { font-size: var(--fs-1); font-weight: 800; text-transform: uppercase; line-height: 0.96; }
.template .meta-row { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-family: var(--font-ui); font-size: 0.9rem; color: var(--silver-dim); }
.template aside { display: grid; gap: 1.25rem; align-content: start; }
.template aside img { border-radius: var(--radius); border: 1px solid var(--line); }
.chapters { list-style: none; margin: 0; padding: 0; }
.chapters li { display: grid; grid-template-columns: 5.5ch minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); font-family: var(--font-ui); }
.chapters li:last-child { border-bottom: 1px solid var(--line); }
.chapters .t { font-family: var(--font-mono); color: var(--orange-hot); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.related { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); }
.related .asset-slot { padding: 0.75rem; aspect-ratio: 16/10; font-size: 0.8rem; }

/* native accordion */
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 0.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--bone); }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-mono); color: var(--orange-hot); font-size: 1.2rem; transition: transform var(--speed) var(--ease); flex: none; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc summary:hover { color: var(--orange-hot); }
details.acc .acc-body { padding: 0 0.25rem 1.25rem; color: var(--muted); font-family: var(--font-ui); }
details.acc .acc-body p { max-width: none; }
pre.block { display: block; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; overflow-x: auto; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.55; color: var(--silver); margin: 0; white-space: pre; }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .wrap { display: grid; gap: 1.25rem; }
.page-head .lede { margin-top: 0.25rem; }
.page-head .state { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.page-head.has-backdrop { position: relative; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; }
.page-head .backdrop { position: absolute; inset: 0; z-index: -1; }
.page-head .backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: 0.5; }
.page-head .backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,9,8,0.3), var(--ink) 94%); }

/* ---------- Steps (numbered only where order is real) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0 1rem; padding: 1rem 0; border-top: 1px solid var(--line); font-family: var(--font-ui); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-mono); color: var(--orange-hot); font-size: 0.85rem; padding-top: 0.3rem; }
.steps li > .step-body { grid-column: 2; min-width: 0; }
.steps strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.steps p { max-width: 56ch; color: var(--muted); font-size: var(--fs-small); }

/* ---------- Field Notes issue preview ---------- */
.issue { background: var(--bone); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.9); }
.issue .masthead { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 0.75rem; }
.issue .masthead img { height: 32px; width: auto; }
.issue .masthead .ui { color: #5b4a3f; font-size: 0.85rem; }
.issue h3 { color: var(--ink); }
.issue p { color: #3a2e27; }
.issue .slot { color: #8a6a55; font-style: italic; }
.issue .irule { height: 1px; background: #d9c9b8; }
.issue .block-title { font-family: var(--font-ui); font-weight: 600; font-size: 0.8rem; color: #a53a12; margin-bottom: 0.3rem; }
.signup { display: grid; gap: 0.75rem; }
.newsletter-embed { width: 100%; min-width: 0; }
.newsletter-embed iframe { display: block; max-width: 100%; border: 0; }
.signup .row { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .signup .row { grid-template-columns: minmax(0, 1fr) auto; } }
.notice { border-left: 2px solid var(--orange); padding: 0.2rem 0 0.2rem 1rem; font-family: var(--font-ui); font-size: var(--fs-small); color: var(--bone); }
.notice p { max-width: 60ch; }
.notice.calm { border-left-color: var(--purple); }

/* ---------- Ask form ---------- */
.ask-form { display: grid; gap: 1.5rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-family: var(--font-ui); font-size: 1rem; }
.check input { width: 20px; height: 20px; margin-top: 0.2em; accent-color: var(--orange); }
.check .hint { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 0.15rem; }
.radios { display: grid; gap: 0.6rem; }
.counter { font-family: var(--font-mono); font-size: 0.75rem; color: var(--silver-dim); justify-self: end; font-variant-numeric: tabular-nums; }
.form-msg { font-family: var(--font-ui); color: #ffb27a; font-size: 0.9rem; }
.preview-result { border-left: 2px solid var(--purple); padding: 0.25rem 0 0.25rem 1rem; display: grid; gap: 0.6rem; }
.preview-result h3 { font-size: 1.35rem; }
.preview-result p { max-width: 58ch; font-family: var(--font-ui); }

/* ---------- Merch listing cards ---------- */
.merch-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.merch { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.merch .visual { position: relative; aspect-ratio: 4/5; background: var(--ink); border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; padding: 1.5rem; }
.merch .visual > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.merch .body { padding: 1.25rem 1.4rem 1.5rem; display: grid; gap: 0.9rem; align-content: start; }
.merch .body p { max-width: none; }
.merch .status { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.75rem; }
.garment { width: 78%; aspect-ratio: 1/1.05; background: #0d0a09; border: 1px solid #241b17; border-radius: 10px 10px 6px 6px; position: relative; display: grid; place-items: center; box-shadow: inset 0 -40px 60px -40px rgba(239,90,27,0.16), inset 0 20px 40px -30px rgba(255,255,255,0.07); }
.garment::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34%; height: 9%; border: 1px solid #241b17; border-top: 0; border-radius: 0 0 50% 50%; background: #0d0a09; }
.garment img { width: 62%; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6)); }
.garment .neck-label { position: absolute; bottom: 8%; font-family: var(--font-ui); font-size: 0.68rem; color: var(--silver-dim); border: 1px solid var(--line-strong); padding: 0.3em 0.6em; background: var(--ink); }
.poster-frame { width: 64%; aspect-ratio: 2/3; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #1c1310, #0d0a09); display: grid; grid-template-rows: 1fr auto; box-shadow: 0 30px 50px -30px rgba(0,0,0,0.9); }
.poster-frame .asset-slot { border-radius: 0; margin: 6%; padding: 0.8rem; font-size: 0.78rem; }
.poster-frame .poster-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.03em; text-align: center; padding: 0.6rem 0.75rem 0.9rem; color: var(--silver); line-height: 1.05; }
.journal { width: 66%; aspect-ratio: 3/4; background: #0e0b0a; border: 1px solid #2a211c; border-radius: 4px 10px 10px 4px; position: relative; display: grid; place-items: center; box-shadow: 6px 0 0 -2px #1c1512, 10px 0 0 -4px #140f0d, 0 30px 50px -30px rgba(0,0,0,0.9); }
.journal::after { content: ""; position: absolute; top: -2px; bottom: -2px; right: 12%; width: 7%; background: #050404; border-inline: 1px solid #2a211c; }
.journal img { width: 60%; opacity: 0.95; }
.journal-page { position: absolute; inset: 10% 26% 10% 10%; background: #efe4d6; border-radius: 2px; padding: 0.6rem; display: grid; grid-template-rows: auto auto 1fr; gap: 0.3rem; color: #5b4a3f; font-family: var(--font-ui); font-size: 0.6rem; transform: translate(-3%, 0) rotate(-2deg); box-shadow: 0 10px 25px -10px rgba(0,0,0,0.8); opacity: 0; transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease); }
.merch:hover .journal-page, .merch:focus-within .journal-page { opacity: 1; transform: translate(0,0) rotate(-2deg); }
.journal-page .line { border-bottom: 1px solid #b9a594; height: 0.8rem; }
.journal-page .lines { display: grid; gap: 0.25rem; align-content: start; }
.journal-page .f { display: flex; gap: 0.3rem; border-bottom: 1px solid #8a6a55; padding-bottom: 0.15rem; }

/* ---------- Contact / social ---------- */
.social-list { list-style: none; margin: 0; padding: 0; }
.social-list li { border-top: 1px solid var(--line); }
.social-list li:last-child { border-bottom: 1px solid var(--line); }
.social-list a, .social-list .soon { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 0.9rem 0.25rem; text-decoration: none; color: var(--bone); font-family: var(--font-ui); }
.social-list a:hover { color: var(--orange-hot); }
.social-list .soon { color: var(--muted); }
.social-list .name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.social-list .handle { font-size: 0.85rem; color: var(--silver-dim); overflow-wrap: anywhere; }
.social-list .name-wrap { display: grid; gap: 0.1rem; min-width: 0; }
.social-list .arrow { color: var(--silver-dim); font-family: var(--font-mono); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-strong); padding-block: 3rem 2.5rem; margin-top: 2rem; }
.site-footer .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer .wordmark { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; color: var(--silver); }
.site-footer h4 { font-size: 0.85rem; color: var(--silver-dim); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--silver); text-decoration: none; font-family: var(--font-ui); }
.site-footer a:hover { color: var(--orange-hot); }
.site-footer .soon { color: var(--muted); font-family: var(--font-ui); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; font-family: var(--font-ui); font-size: 0.85rem; color: var(--silver-dim); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.site-footer .legal p { max-width: none; }

/* ---------- Motion (one quiet ambient element; everything else is hover/focus feedback) ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-mark .ring { animation: spin 80s linear infinite; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) { scroll-behavior: auto; }
  html:not([data-motion="full"]) *, html:not([data-motion="full"]) *::before, html:not([data-motion="full"]) *::after { animation: none !important; transition: none !important; }
}
html[data-motion="reduced"] { scroll-behavior: auto; }
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation: none !important; transition: none !important; }

/* Minimal landing: visual product links, no added motion. */
.merch-link { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--bone); }
.merch-link:hover { color: var(--bone); border-color: var(--orange); }
.laylo-link { align-self: start; }

/* Actual supplier products: keyboard-focusable horizontal mobile strip. */
@media (max-width: 700px) {
  .home-merch-strip .merch-grid { display: flex; width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 1rem; }
  .home-merch-strip .merch { flex: 0 0 78%; min-width: 0; max-width: 320px; scroll-snap-align: start; }
}

/* One continuous, static orange world. Only the approved banner's texture-only
   lower-right region is reused; no repeated face/logo or generated artwork. */
body.orange-world { position: relative; isolation: isolate; background: linear-gradient(180deg, #9b4012 0%, #8e3b14 52%, #733119 100%); --bone: #fff5e8; --muted: #ffe9d2; --silver-dim: #ffe9d2; --orange-hot: #ffe0b6; --line: rgba(255,220,185,.18); }
body.orange-world::before { height: auto; /* reset former safe-area height */ content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: url("../web/banner-sharp-v5.png"); background-size: 320% 320%; background-position: right bottom; opacity: .18; }
.orange-world .site-header { background: #0c0908; backdrop-filter: none; -webkit-backdrop-filter: none; }
.orange-world .band { background: transparent; border: 0; }
.orange-world .hero, .orange-world .section + .section { border: 0; }
.orange-world .site-footer { background: transparent; margin-top: 0; padding-block: 1.5rem; }
.orange-world .site-footer .wrap { display: block; }
.orange-world .merch, .orange-world .merch .visual { background: rgba(65,25,10,.22); }
.newsletter-flow { max-width: 700px; margin-inline: auto; }
.multiverse-entry { color: var(--bone); text-decoration: none; display: inline-flex; align-items: center; min-height: 64px; }
.multiverse-entry:hover { text-decoration: underline; }
.social-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: .8rem; }
.social-button { display: flex; gap: .7rem; align-items: center; justify-content: center; min-height: 64px; padding: .8rem 1rem; border-radius: 7px; border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-family: var(--font-ui); font-weight: 600; font-size: 1.25rem; }
.social-button svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.social-button:hover { color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.social-youtube { background: #b81128; }
.social-instagram { background: linear-gradient(125deg, #6b258e, #a52371); }
.social-tiktok { background: #111; border-bottom-color: #25f4ee; border-top-color: #fe2c55; }
.social-tiktok svg { filter: drop-shadow(-1px 0 #25f4ee) drop-shadow(1px 1px #fe2c55); }
.social-x { background: #0a0a0a; }
.social-facebook { background: #165bc2; }
@media (max-width: 700px) {
  .site-header .wrap { min-height: 56px; padding-block: 6px; }
  .site-header .brand { width: 112px; }
  .hero-body { padding-block: 10px 14px; }
  .hero-copy { gap: 10px; }
  .hero-copy h1 { max-width: 28ch; font-size: clamp(1.6rem, 7vw, 2rem); line-height: 1.05; }
  .hero-copy .lede { font-size: 1.05rem; line-height: 1.3; }
  .hero-copy [data-original-message] { font-size: .9375rem; line-height: 1.42; }
  .orange-world .section { padding-block: 20px; }
  .newsletter-flow > * + * { margin-top: 10px; }
  .newsletter-flow > p { font-size: 1rem; }
  .multiverse-entry { font-size: clamp(1.55rem, 7vw, 2.1rem); }
}

/* Narrow-screen boundary hardening; retain accessible pinch zoom. */
html { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body.orange-world { width: 100%; max-width: 100%; min-width: 0; }
main, section, .wrap, .hero-copy, .newsletter-flow, .social-buttons, .home-merch-strip { min-width: 0; max-width: 100%; }
.newsletter-embed, .newsletter-embed > div { width: 100%; min-width: 0; max-width: 100%; }
.newsletter-embed iframe { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
.hero-copy h1 { margin-bottom: 6px; }
.social-button { min-width: 0; max-width: 100%; white-space: normal; }
.social-label { min-width: 0; overflow-wrap: anywhere; }
.social-multiverse { grid-column: 1 / -1; min-height: 76px; border: 2px solid rgba(255,245,232,.8); background: linear-gradient(110deg, #703025, #512471); }
.social-multiverse svg { width: 32px; height: 32px; }
.section, #multiverse { scroll-margin-top: 80px; }
@media (max-width: 700px) { .nav-toggle { min-height: 44px; } }

/* Compact only the newsletter's own outer layout, never provider legal controls. */
#newsletter { padding-block: clamp(12px, 2.5vw, 28px); }
.newsletter-flow.stack > * + * { margin-top: 6px; }
.newsletter-flow > h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.newsletter-flow > p:not(.note) { font-size: .9375rem; line-height: 1.35; }
.newsletter-flow .newsletter-embed { padding: 0; min-height: 0; }
@media (max-width: 700px) { #newsletter { padding-top: 10px; padding-bottom: 12px; } }

/* Always-visible hosted signup, including browsers that block the embedded form. */
.newsletter-signup-button { width: 100%; min-height: 56px; padding: .85rem 1rem; background: var(--orange); color: var(--ink); border: 2px solid var(--bone); font-size: 1.125rem; line-height: 1.3; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.newsletter-signup-button:hover { background: var(--orange-hot); color: var(--ink); }
.newsletter-signup-button:focus-visible { outline: 3px solid var(--bone); outline-offset: 4px; }

/* Official episode players directly under the launch tagline; no autoplay. */
.episode-launch { width: 100%; min-width: 0; margin-top: 8px; }
.episode-launch h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.episode-launch.stack > * + * { margin-top: 10px; }
.episode-player { width: 100%; min-width: 0; aspect-ratio: 16 / 9; background: #0c0908; border-radius: 7px; overflow: hidden; }
.episode-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.episode-spotify { width: 100%; max-width: 100%; min-width: 0; height: 152px; border: 0; border-radius: 12px; display: block; }
.episode-direct-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--font-ui); font-size: 1rem; }
.episode-direct-links a { display: inline-flex; align-items: center; min-height: 44px; }
.host-story { padding-block: 16px; }
.host-story .hero-copy { max-width: 760px; margin-inline: auto; }
