/* Pantheon Ink — Òrìṣà Untold
   Type: Archivo (variable width/weight) for display + UI, Fraunces Italic for the narrator,
   JetBrains Mono for the ledger. Motion steps "on twos" (12 fps) like 1930s cel. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800; font-display: swap; }

:root {
  --ink: #170b08;
  --bone: #efe6d6;
  --bone-deep: #e2d5bf;
  --cobalt: #1a2b6d;
  --terracotta: #d95b38;
  --crimson: #a81c1c;
  --gold: #ffbe0b;
  --lilac: #f2e8f5;

  --gutter: clamp(16px, 3.2vw, 48px);
  --twos: 83ms;                       /* one drawing held for two frames at 24 fps */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --blot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M92.5 50.0 94.4 57.0 94.6 64.5 85.7 68.2 81.0 72.5 75.7 75.7 71.3 79.3 67.9 85.1 61.0 83.7 55.5 84.4 50.0 82.7 44.3 85.7 36.8 90.7 28.4 92.4 24.8 84.7 21.4 78.6 16.9 74.0 11.4 69.7 9.5 63.2 10.4 56.3 11.0 50.0 19.3 45.1 16.1 39.0 17.2 33.3 17.6 26.5 21.0 21.0 26.1 17.1 30.8 12.3 37.4 11.4 42.9 5.3 50.0 4.1 56.4 9.4 61.4 14.8 64.5 21.6 69.4 23.3 76.0 24.0 82.9 26.1 84.3 32.5 85.1 38.6 89.3 43.8Z'/><circle cx='91' cy='22' r='3.2'/><circle cx='12' cy='84' r='2.6'/><circle cx='88' cy='80' r='2.1'/><circle cx='8' cy='30' r='1.8'/><circle cx='60' cy='4' r='1.6'/><circle cx='30' cy='95' r='1.5'/></svg>");
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.04 0 0 0 0 0.03 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

/* Each Òrìṣà wears their traditional colours. --field: ground, --display: giant type and dark plate,
   --text: small copy (contrast-checked against --field), --btn-*: primary button. */
[data-god="sango"]   { --field: #a81c1c; --display: #efe6d6; --text: #efe6d6; --btn-bg: #efe6d6; --btn-fg: #7d1212; --accent: #ffbe0b; }
[data-god="ogun"]    { --field: #3d8c5c; --display: #0b1510; --text: #0b1510; --btn-bg: #0b1510; --btn-fg: #e9e3cc; --accent: #ffbe0b; }
[data-god="oya"]     { --field: #5e1631; --display: #e59a5c; --text: #f2e8f5; --btn-bg: #e59a5c; --btn-fg: #2a0816; --accent: #e59a5c; }
[data-god="esu"]     { --field: #170b08; --display: #e0301e; --text: #efe6d6; --btn-bg: #e0301e; --btn-fg: #170b08; --accent: #ffbe0b; }
[data-god="yemoja"]  { --field: #123a7a; --display: #f2e8f5; --text: #f2e8f5; }
[data-god="osun"]    { --field: #ffbe0b; --display: #6b2a0b; --text: #3d1604; }
[data-god="obatala"] { --field: #fbf8f2; --display: #1a2b6d; --text: #1a2b6d; }
[data-god="ososi"]    { --field: #0f4c4f; --display: #f2b33d; --text: #efe6d6; }
[data-god="orunmila"] { --field: #2a5a26; --display: #ffd23f; --text: #f4efd8; }
[data-god="obaluaye"] { --field: #3b2416; --display: #e3c07a; --text: #efe6d6; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--ink);
  font: 400 17px/1.55 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img, video, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink);
  padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- shared type */
.eyebrow {
  font: 500 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.display {
  font-family: var(--sans); font-weight: 900; font-stretch: 62%;
  text-transform: uppercase; line-height: 0.82; letter-spacing: -0.005em;
  filter: url(#inked);
}
.fit-w, .fit-v { white-space: nowrap; }
.fit-w > span.fit-in, .fit-v > span.fit-in { display: inline-block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 22px; border-radius: 3px; text-decoration: none;
  font: 750 14px/1 var(--sans); font-stretch: 100%; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.btn--solid { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 5px 5px 0 var(--ink); }
.btn--gold  { background: var(--gold); color: var(--ink); box-shadow: 5px 5px 0 var(--bone); }
.btn--big   { min-height: 60px; padding: 0 30px; font-size: 16px; }
@media (hover: hover) {
  .btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
  .btn--gold:hover { box-shadow: 2px 2px 0 var(--bone); }
}
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }

.link-arrow {
  font: 650 14px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 14px 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.link-arrow span { display: inline-block; transition: transform 160ms var(--ease-out); }
@media (hover: hover) { .link-arrow:hover span { transform: translateY(3px); } }

/* paper sections: bone stock with grain */
.paper { position: relative; background: var(--bone); isolation: isolate; }
.paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: 0.32; mix-blend-mode: multiply;
}

/* ---------------------------------------------------------------- masthead */
.masthead {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter); color: var(--text);
  transition: color 0s linear var(--twos);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark__text {
  font: 900 22px/1 var(--sans); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.01em;
  filter: url(#boil);
}
/* The logo mark. Full colour by default; in the masthead it follows each god's colourway
   (arch in the text colour, nib cut out to the ground colour, bar in the accent) so it never
   disappears into a crimson or wine field. */
.wordmark__mark { flex: none; width: auto; height: 40px; }
.mk-a   { fill: var(--mark-a, #a81c1c); }
.mk-nib { fill: var(--mark-nib, #ffbe0b); }
.mk-b   { fill: var(--mark-b, #ffbe0b); }
.masthead .wordmark__mark { --mark-a: currentColor; --mark-nib: var(--field); --mark-b: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav a { font: 650 13px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 12px 0; }
.nav a:not(.nav__cta) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 200ms var(--ease-out); }
@media (hover: hover) { .nav a:not(.nav__cta):hover { background-size: 100% 2px; } }
.nav__cta { border: 2px solid currentColor; border-radius: 3px; padding: 10px 14px !important; }

/* ---------------------------------------------------------------- figures (sprite on twos) */
.figure { position: absolute; display: block; aspect-ratio: var(--ar); }
.plate { position: absolute; inset: 0; overflow: hidden; display: block; }
.plate img {
  position: absolute; top: 0; left: 0; height: 100%; width: calc(var(--frames) * 100%); max-width: none;
  animation: boil calc(var(--twos) * 3) steps(3) infinite;
}
@keyframes boil { to { transform: translateX(-100%); } }
.plate--dark { transform: translate(0.6%, 0.4%); transition: transform calc(var(--twos) * 2) steps(2); }
.plate--cel { opacity: 0; transition: opacity calc(var(--twos) * 2) steps(2); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: max(100svh, 700px); overflow: hidden;
  background: var(--field); color: var(--text);
  transition: background-color 0s linear var(--twos), color 0s linear var(--twos);
}
.hero__stage { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background: var(--field); visibility: hidden; }
.slide.is-active, .slide.is-leaving { visibility: visible; }
.slide.is-active { z-index: 2; }
.slide.is-leaving { z-index: 1; }
.slide.is-entering {
  -webkit-mask: var(--blot) 60% 52% / 6% auto no-repeat;
          mask: var(--blot) 60% 52% / 6% auto no-repeat;
  animation: inkcut calc(var(--twos) * 5) steps(5) forwards;
}
@keyframes inkcut {
  from { -webkit-mask-size: 6% auto; mask-size: 6% auto; }
  to   { -webkit-mask-size: 360% auto; mask-size: 360% auto; }
}
.slide__name {
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + 12vw); top: 72px;
  --fit-max: 30svh;
  font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  line-height: 0.84; padding-top: 0.14em; color: var(--display); filter: url(#inked);
}
.slide__domain {
  position: absolute; right: var(--gutter); top: 84px; bottom: 96px; width: 12vw;
  writing-mode: vertical-rl; text-align: left; --fit-max: 11vw;
  font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  line-height: 0.9; color: var(--display); filter: url(#inked);
}
.slide .figure { left: 53%; bottom: 0; height: min(86svh, 920px); transform: translateX(-50%); z-index: 2; }
.slide .plate--dark { transform: translate(0.9%, 0.5%); }

.hero__copy {
  position: absolute; z-index: 5; left: var(--gutter); bottom: 120px; width: min(30rem, 36vw);
}
.hero__copy .eyebrow { margin-bottom: 18px; }
.hero__title {
  font: 400 clamp(30px, 3.1vw, 48px)/1.04 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero__sub { margin-top: 16px; max-width: 26rem; font-size: 16px; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }

.hero__ledger {
  position: absolute; z-index: 5; left: var(--gutter); top: calc(72px + 30svh * 1.24 + 18px);
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start;
  color: var(--text);
}
.ledger__no { font: 900 34px/0.9 var(--sans); font-stretch: 62%; grid-column: 2; }
.ledger__line { grid-column: 2; font: 500 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; }
.hero__ledger .inkmark { grid-row: 1 / span 2; grid-column: 1; }

.hero__controls {
  position: absolute; z-index: 5; right: var(--gutter); bottom: 28px; left: var(--gutter);
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
}
.tabs { display: flex; gap: 4px; }
.tab {
  position: relative; display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 12px 14px 14px;
  font: 700 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
  opacity: 0.62; transition: opacity calc(var(--twos) * 2) steps(2);
}
.tab__no { font: 500 11px/1 var(--mono); }
.tab[aria-pressed="true"] { opacity: 1; }
@media (hover: hover) { .tab:hover { opacity: 1; } }
.tab__bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; background: currentColor;
  opacity: 0.25; overflow: hidden; }
.tab__bar::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.tab[aria-pressed="true"] .tab__bar { opacity: 1; background: color-mix(in srgb, currentColor 30%, transparent); }
.tab[aria-pressed="true"] .tab__bar::after { animation: fill 6s steps(24) forwards; }
.hero.is-paused .tab__bar::after { animation-play-state: paused; }
.hero.is-static .tab[aria-pressed="true"] .tab__bar::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.pause { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 50%;
  color: var(--text); }
.pause svg { width: 14px; height: 14px; fill: currentColor; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
.pause[aria-pressed="true"] .i-pause { display: none; }

/* ink marks: a 4x2 code of single and double nib strokes (decorative) */
.inkmark { display: inline-block; width: 34px; color: currentColor; }
.inkmark svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }

/* ---------------------------------------------------------------- manifesto */
.manifesto {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--gutter);
  padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 160px);
}
.rail { position: relative; }
.rail span {
  position: sticky; top: 40px; display: block; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson);
}
.manifesto__body .eyebrow { color: var(--crimson); margin-bottom: 28px; }
.manifesto__text {
  font: 400 clamp(32px, 5.2vw, 84px)/1.02 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -0.018em;
  max-width: 17ch; text-wrap: pretty;
}
.manifesto__text .w { opacity: 0.16; transition: opacity calc(var(--twos) * 2) steps(2); }
.manifesto__text .w.on { opacity: 1; }
.manifesto__aside {
  margin: clamp(40px, 6vw, 88px) 0 0 auto; max-width: 30rem; font-size: 18px; line-height: 1.6;
  padding-left: 20px; border-left: 3px solid var(--crimson);
}
@media (min-width: 1100px) { .manifesto__aside { margin-right: 6vw; } }

/* ---------------------------------------------------------------- section heads */
.section-head { padding: 0 var(--gutter); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .display { --fit-max: 22vw; }
.section-head__note { margin-top: 22px; max-width: 34rem; font-size: 18px; }
.when-touch { display: none; }
@media (hover: none) { .when-hover { display: none; } .when-touch { display: inline; } }

/* ---------------------------------------------------------------- pantheon posters */
.pantheon { padding: clamp(40px, 6vw, 96px) 0 clamp(96px, 10vw, 160px); border-top: 3px solid var(--ink); }
.pantheon .section-head .display { color: var(--ink); }
.posters {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(40px, 5vw, 72px) var(--gutter) 0;
}
.poster:nth-child(even) { margin-top: clamp(0px, 8vw, 140px); }
.poster__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; text-align: left;
  background: var(--field); color: var(--display); container-type: inline-size;
  box-shadow: 0 1px 0 rgba(23, 11, 8, 0.2);
}
.poster__btn > span { position: absolute; display: block; }
.poster__name {
  left: 4cqw; right: 20cqw; top: 3cqw; --fit-max: 30cqw;
  font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  line-height: 0.84; padding-top: 0.14em; filter: url(#inked); z-index: 1;
}
.poster__domain {
  right: 3cqw; top: 4cqw; bottom: 4cqw; width: 15cqw; --fit-max: 15cqw;
  writing-mode: vertical-rl; font-family: var(--sans); font-weight: 900; font-stretch: 62%;
  text-transform: uppercase; line-height: 0.9; filter: url(#inked); z-index: 1;
}
.poster__stack {
  left: 4cqw; top: 36cqw; z-index: 3; display: flex !important; flex-direction: column;
  font: 900 9cqw/0.98 var(--sans); font-stretch: 62%; text-transform: uppercase;
}
.poster__caption {
  left: 4cqw; top: 72cqw; width: 22cqw; z-index: 3; color: var(--text);
  font: 600 max(2.1cqw, 9.5px)/1.35 var(--sans); letter-spacing: 0.04em; text-transform: uppercase;
}
.poster .figure { left: 54%; bottom: 0; height: 92%; transform: translateX(-50%); z-index: 2; }
.poster .plate img { animation-play-state: paused; }
.poster__foot {
  left: 4cqw; bottom: 4cqw; z-index: 3; display: flex !important; align-items: flex-end; gap: 2cqw;
  font: 500 max(2cqw, 9px)/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
}
.poster__foot .inkmark { width: 5cqw; }

.poster__btn[aria-pressed="true"] .plate--cel { opacity: 1; }
.poster__btn[aria-pressed="true"] .plate--dark { transform: none; }
.poster__btn[aria-pressed="true"] .plate img { animation-play-state: running; }
@media (hover: hover) {
  .poster__btn:hover .plate--cel { opacity: 1; }
  .poster__btn:hover .plate--dark { transform: none; }
  .poster__btn:hover .plate img { animation-play-state: running; }
}

.workshop { padding: clamp(64px, 8vw, 120px) var(--gutter) 0; }
.workshop__label { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--crimson); }
.workshop__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.mini {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  aspect-ratio: 4 / 3; padding: 4% 5%; background: var(--field); color: var(--display); min-width: 0; overflow: hidden;
}
.mini[data-god="obatala"] { box-shadow: inset 0 0 0 2px var(--ink); }
.mini__name { display: block; --fit-max: 40%; font-family: var(--sans); font-weight: 900; font-stretch: 62%;
  text-transform: uppercase; line-height: 0.84; padding-top: 0.16em; filter: url(#inked); }
.mini__meta { font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }

/* ---------------------------------------------------------------- episodes */
.episodes { background: var(--ink); color: var(--bone); padding: clamp(96px, 12vw, 180px) 0; }
.section-head--split { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.episodes .display { font-size: clamp(72px, 14vw, 220px); color: var(--gold); }
.episodes .section-head__note { max-width: 22rem; margin: 0; color: var(--bone); }
.reels {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px);
  padding: clamp(56px, 7vw, 104px) var(--gutter) 0;
}
.reel:nth-child(2) { margin-top: clamp(0px, 7vw, 120px); }
.reel:nth-child(3) { margin-top: clamp(0px, 3.5vw, 60px); }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 6px; background: #0d0605;
  box-shadow: 0 0 0 1px rgba(239, 230, 214, 0.14);
}
.reel__frame video { width: 100%; height: 100%; object-fit: cover; }
.reel__no { margin-top: 18px; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.reel__title { margin-top: 10px; font: 400 clamp(26px, 2.4vw, 36px)/1.05 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.reel__meta { margin-top: 8px; font-size: 15px; color: rgba(239, 230, 214, 0.72); }
.episodes__cta { margin: clamp(56px, 6vw, 88px) var(--gutter) 0; }

/* ---------------------------------------------------------------- process */
.process { padding: clamp(96px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); }
.process .display { color: var(--cobalt); }
.boil { padding: clamp(48px, 6vw, 88px) calc(var(--gutter) + 14px) 0; }
.boil__frames {
  display: grid; grid-template-columns: repeat(3, auto) auto auto 1fr; align-items: end;
  gap: 18px clamp(20px, 3vw, 44px);
}
.boil__frames .figure {
  position: relative; height: clamp(170px, 20vw, 280px); background: var(--cobalt);
  box-shadow: 0 0 0 clamp(8px, 1vw, 14px) var(--cobalt); border-radius: 1px;
}
.boil__frames .figure--live { height: clamp(220px, 27vw, 380px); background: var(--crimson); box-shadow: 0 0 0 clamp(8px, 1vw, 14px) var(--crimson); }
.boil__frames .plate--cel { opacity: 1; }
.figure--still .plate img { animation: none; transform: translateX(calc(var(--f) * -100% / var(--frames))); }
.boil__eq { font: 900 64px/1 var(--sans); font-stretch: 62%; color: var(--crimson); align-self: center; }
.boil__frames figcaption { grid-column: 6; align-self: end; max-width: 24rem; font-size: 17px; }
.boil__frames figcaption em { font-family: var(--serif); font-size: 1.15em; }

.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px);
  padding: clamp(72px, 8vw, 120px) var(--gutter) 0;
}
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps__no { display: block; font: 900 clamp(56px, 6vw, 88px)/0.85 var(--sans); font-stretch: 62%; color: var(--crimson); }
.steps h3 { margin-top: 16px; font: 400 30px/1.05 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.steps p { margin-top: 10px; font-size: 16px; }

.inks { padding: clamp(72px, 8vw, 120px) var(--gutter) 0; }
.inks .eyebrow { margin-bottom: 24px; }
.inks__row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; max-width: 1100px; }
.inks__row li { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.3; }
.inks__row li::before {
  content: ""; display: block; width: min(100%, 84px); aspect-ratio: 1; margin-bottom: 8px; background: var(--c);
  border-radius: 47% 53% 44% 56% / 55% 44% 56% 45%; box-shadow: inset 0 0 0 1px rgba(23, 11, 8, 0.18);
}
.inks__row code { font: 500 12px/1 var(--mono); opacity: 0.75; }

/* ---------------------------------------------------------------- subscribe + footer */
.subscribe { background: var(--cobalt); color: var(--lilac); padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(72px, 8vw, 120px); }
.subscribe .eyebrow { color: var(--gold); margin-bottom: 18px; }
.subscribe__handle {
  --fit-max: 24vw; color: var(--gold); font-family: var(--sans); font-weight: 900; font-stretch: 62%;
  text-transform: uppercase; line-height: 0.86; filter: url(#inked);
}
.subscribe__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: clamp(36px, 4vw, 56px); }
.subscribe__text { max-width: 32rem; font: 400 clamp(22px, 2vw, 28px)/1.25 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.subscribe .btn--solid { --btn-bg: var(--gold); --btn-fg: var(--ink); box-shadow: 5px 5px 0 var(--ink); }

.footer {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--ink); color: rgba(239, 230, 214, 0.75);
  font-size: 14px;
}
.footer__logo { flex: none; height: 28px; width: auto; }
.footer__mark { display: inline-flex; align-items: center; gap: 10px; font: 900 20px/1 var(--sans); font-stretch: 75%; text-transform: uppercase; color: var(--bone); }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1000px) {
  .hero__copy { width: min(26rem, 44vw); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inks__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .boil__frames figcaption { grid-column: 1 / -1; max-width: 40rem; margin-top: 18px; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 720px) {
  .nav a:not(.nav__cta) { display: none; }
  .masthead { padding-top: 14px; padding-top: max(14px, env(safe-area-inset-top)); }

  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__stage { position: relative; height: 74svh; min-height: 520px; }
  .slide__name { top: 64px; right: var(--gutter); --fit-max: 34vw; }
  .slide__domain { top: auto; bottom: 0; right: var(--gutter); height: 46%; width: 16vw; --fit-max: 13vw; }
  .slide .figure { left: 46%; height: 72%; }
  .hero__ledger { display: none; }
  .ledger__no { font-size: 26px; }
  .hero__copy { position: relative; left: auto; bottom: auto; width: auto; padding: 28px var(--gutter) 8px; }
  .hero__title { font-size: 31px; }
  .hero__controls { position: relative; left: auto; right: auto; bottom: auto; padding: 16px var(--gutter) 24px;
    justify-content: space-between; }
  .tabs { overflow-x: auto; scrollbar-width: none; margin-left: -14px; }
  .tab { padding: 12px 10px 14px; gap: 6px; }
  .tab__bar { left: 10px; right: 10px; }

  .manifesto { grid-template-columns: 1fr; }
  .rail { display: none; }

  .posters { grid-template-columns: minmax(0, 1fr); }
  .poster:nth-child(even) { margin-top: 0; }
  .workshop__list { grid-template-columns: minmax(0, 1fr); }
  .mini { aspect-ratio: 16 / 7; }

  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .reels { grid-template-columns: repeat(3, 78vw); overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .reel { scroll-snap-align: start; }
  .reel:nth-child(n) { margin-top: 0; }

  .boil__frames { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .boil__frames figcaption { grid-column: 1 / -1; max-width: none; margin-top: 18px; }
  .boil__frames .figure { height: auto; width: 100%; }
  .boil__eq { display: none; }
  .boil__frames .figure--live { grid-column: 1 / -1; justify-self: center; width: auto; height: 300px; margin-top: 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .inks__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .inks__row li { font-size: 12px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate img { animation: none !important; }
  .slide.is-entering { animation: none; -webkit-mask: none; mask: none; }
  .wordmark__text { filter: none; }
  .manifesto__text .w { opacity: 1; }
}

/* ================================================================ the forge (forge.html) */
.nav a[aria-current="page"] { background-size: 100% 2px; }

.forge-head { background: var(--ink); color: var(--bone);
  padding: clamp(120px, 14vw, 200px) var(--gutter) clamp(64px, 8vw, 112px); }
.forge-head .eyebrow { color: var(--gold); margin-bottom: 18px; }
.forge-head .display { --fit-max: 20vw; color: var(--gold); }
.forge-head__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end;
  gap: 32px clamp(32px, 5vw, 88px); margin-top: clamp(32px, 4vw, 56px); }
.forge-head__lede { max-width: 34rem; font: 400 clamp(22px, 2.2vw, 32px)/1.2 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; text-wrap: pretty; }
.forge-head__steps li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; font-size: 16px;
  border-top: 1px solid rgba(239, 230, 214, 0.22); }
.forge-head__steps span { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--gold); }

.forge {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start;
  gap: clamp(40px, 5vw, 88px); padding: clamp(56px, 7vw, 112px) var(--gutter) clamp(80px, 10vw, 140px);
}

/* ---- form */
.field-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.field-group + .field-group { margin-top: clamp(44px, 5vw, 64px); padding-top: 26px; border-top: 3px solid var(--ink); }
.field-group > legend { float: left; width: 100%; padding: 0; margin-bottom: 22px;
  font: 400 clamp(26px, 2.4vw, 32px)/1.05 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.field-group > legend + * { clear: both; }
.field-group__no { margin-right: 0.25em; font: 900 1em/1 var(--sans); font-style: normal; font-stretch: 62%; color: var(--crimson); }
.field + .field { margin-top: 26px; }
.field__label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px;
  font: 500 12px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.optional { opacity: 0.6; }
.count { margin-left: auto; opacity: 0.6; font-variant-numeric: tabular-nums; }
.count.is-near { opacity: 1; color: var(--crimson); }
.field__hint { margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(23, 11, 8, 0.74); }
.field__hint--lead { margin-top: 0; }

.input {
  display: block; width: 100%; padding: 13px 14px; border: 2px solid var(--ink); border-radius: 3px;
  background: #f8f3ea; color: var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font: 400 17px/1.4 var(--sans); font-stretch: 100%;
}
.input::placeholder { color: rgba(23, 11, 8, 0.42); }
.input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.input--big { font: 900 30px/1.1 var(--sans); font-stretch: 75%; letter-spacing: 0.01em; }
.input--area { min-height: 9em; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--crimson); box-shadow: 3px 3px 0 var(--crimson); }

.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kind { position: relative; }
.kind input, .swatch input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.kind span { display: flex; align-items: center; height: 100%; min-height: 52px; padding: 12px 16px; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 3px; font: 700 15px/1.2 var(--sans); }
.kind input:checked + span { background: var(--ink); color: var(--bone); }
.kind input:focus-visible + span, .swatch input:focus-visible + .swatch__chip { outline: 3px solid var(--cobalt); outline-offset: 3px; }
@media (hover: hover) { .kind input:not(:checked) + span:hover { background: var(--bone-deep); } }

.keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.key { min-width: 44px; height: 44px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 3px;
  font: 700 18px/1 var(--sans); transition: transform 120ms var(--ease-out); }
.key--tone { background: var(--ink); color: var(--bone); }
@media (hover: hover) { .key:not(.key--tone):hover { background: var(--bone-deep); } }
.key:active { transform: translateY(2px); }

.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 10px; margin-top: 18px; }
.swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; text-align: center; }
.swatch__chip { position: relative; display: block; width: 100%; max-width: 64px; aspect-ratio: 1; background: var(--field);
  border-radius: 47% 53% 44% 56% / 55% 44% 56% 45%; box-shadow: inset 0 0 0 1px rgba(23, 11, 8, 0.2); }
.swatch__chip::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--display); }
.swatch input:checked + .swatch__chip { outline: 3px solid var(--ink); outline-offset: 4px; }
.swatch__name { font: 600 12px/1.2 var(--sans); color: var(--ink); }

.terms { margin-top: 26px; border-top: 1px solid rgba(23, 11, 8, 0.2); border-bottom: 1px solid rgba(23, 11, 8, 0.2); }
.terms summary { padding: 15px 0; cursor: pointer; font: 650 14px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.terms__body { padding-bottom: 18px; font-size: 15px; }
.terms__body ol { list-style: decimal; padding-left: 1.3em; margin-top: 8px; }
.terms__body li + li { margin-top: 6px; }

.check { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 14px;
  margin-top: 22px; font-size: 16px; cursor: pointer; }
.check input { position: absolute; top: 0; left: 0; width: 28px; height: 28px; margin: 0; opacity: 0; }
.check__box { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 3px; }
.check__box::after { content: ""; width: 7px; height: 13px; margin-top: -3px; border: solid var(--bone);
  border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; }
.check input:checked + .check__box { background: var(--ink); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--crimson); box-shadow: 0 0 0 2px var(--crimson); }

.forge__error { margin-top: 30px; padding: 14px 16px; border-radius: 3px; background: var(--crimson); color: var(--bone); font-weight: 650; }
.forge__send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.forge__send .btn--solid { --btn-bg: var(--ink); --btn-fg: var(--gold); box-shadow: 5px 5px 0 var(--crimson); }
@media (hover: hover) { .forge__send .btn--solid:hover { box-shadow: 2px 2px 0 var(--crimson); } }
.forge__send .field__hint { margin: 0; max-width: 19rem; }

.sent { margin-top: 36px; padding: clamp(20px, 3vw, 32px); border-radius: 3px; background: var(--cobalt); color: var(--lilac); outline: none; }
.sent .eyebrow { color: var(--gold); margin-bottom: 12px; }
.sent__title { font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.sent__help { margin: 14px 0 20px; font-size: 16px; }
.sent__help a { color: var(--gold); }
.btn--outline { border: 2px solid currentColor; box-shadow: 4px 4px 0 var(--ink); }
.sent__copied { margin-top: 12px; font-size: 14px; }
.sent__text { margin-top: 12px; font: 400 14px/1.5 var(--sans); }

/* ---- live card */
.forge__preview { position: sticky; top: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.4cqw;
  aspect-ratio: 4 / 5; padding: 5cqw; overflow: hidden; container-type: inline-size;
  background: var(--field); color: var(--display); box-shadow: 8px 8px 0 var(--ink);
}
.card[data-god="obatala"] { box-shadow: inset 0 0 0 2px var(--ink), 8px 8px 0 var(--ink); }
.card__name { position: absolute; left: 5cqw; right: 21cqw; top: 4cqw; --fit-max: 26cqw;
  font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  line-height: 0.84; padding-top: 0.16em; filter: url(#inked); }
.card__domain { position: absolute; right: 4cqw; top: 5cqw; bottom: 5cqw; width: 14cqw; --fit-max: 14cqw;
  writing-mode: vertical-rl; font-family: var(--sans); font-weight: 900; font-stretch: 62%;
  text-transform: uppercase; line-height: 0.9; filter: url(#inked); }
.card.is-empty .card__name { opacity: 0.4; }
.card__blot { position: absolute; left: 14cqw; top: 31cqw; width: 58cqw; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--display); opacity: 0.9; filter: url(#boil);
  -webkit-mask: var(--blot) center / contain no-repeat; mask: var(--blot) center / contain no-repeat; }
.card__blot span { color: var(--field); font: 500 max(2.4cqw, 10px)/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.card__caption { position: relative; max-width: 74cqw; color: var(--text);
  font: 700 max(3.6cqw, 12px)/1.25 var(--sans); letter-spacing: 0.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.card__symbol { position: relative; max-width: 74cqw; color: var(--text);
  font: 400 max(3.4cqw, 12px)/1.25 var(--serif); font-style: italic; overflow-wrap: anywhere; }
.card__symbol:empty { display: none; }
.card__foot { position: relative; display: flex; align-items: flex-end; gap: 2.4cqw; margin-top: 1.6cqw; color: var(--text);
  font: 600 max(2.3cqw, 10px)/1.35 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; overflow-wrap: anywhere; }
.card__foot .inkmark { flex: none; width: 5cqw; }
.forge__preview-note { margin-top: 22px; max-width: 28rem; font-size: 14px; color: rgba(23, 11, 8, 0.74); }

@media (max-width: 760px) {
  .forge-head__row { grid-template-columns: minmax(0, 1fr); }
  .forge { grid-template-columns: minmax(0, 1fr); }
  .forge__preview { position: static; order: -1; width: 100%; max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .card__blot { filter: none; }
}

/* ================================================================ site pages (generated by build_pages.py) */

/* ---- phone menu */
.menu-btn { display: none; }
@media (max-width: 720px) {
  .menu-btn {
    position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; margin-left: auto;
    padding: 0 16px; border: 2px solid currentColor; border-radius: 3px;
    font: 700 13px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  }
  .menu-btn__close { display: none; }
  .masthead .nav { display: none; }
  .masthead.is-open { position: fixed; inset: 0; z-index: 60; flex-wrap: wrap; align-content: flex-start;
    background: var(--ink); color: var(--bone); --field: var(--ink); --accent: var(--gold); overflow-y: auto; }
  .masthead.is-open .menu-btn__open { display: none; }
  .masthead.is-open .menu-btn__close { display: inline; }
  .masthead.is-open .nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin-top: 28px; }
  .masthead.is-open .nav a:not(.nav__cta) { display: block; padding: 6px 0; background: none;
    font: 900 44px/1.05 var(--sans); font-stretch: 62%; letter-spacing: 0; text-transform: uppercase; }
  .masthead.is-open .nav a[aria-current="page"] { color: var(--gold); }
  .masthead.is-open .nav__cta { margin-top: 24px; }
  html.menu-open { overflow: hidden; }
}

/* ---- footer with site links */
.footer { display: block; padding: 40px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(239, 230, 214, 0.16); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__nav a { padding: 10px 0; color: var(--bone); text-decoration: none; font: 600 14px/1 var(--sans); }
@media (hover: hover) { .footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 20px; }

/* ---- shared page parts */
.page-head { background: var(--field); color: var(--text);
  padding: clamp(116px, 12vw, 176px) var(--gutter) clamp(56px, 7vw, 96px); }
.page-head .eyebrow { margin-bottom: 16px; color: var(--accent); }
.page-head .display { --fit-max: 18vw; color: var(--accent); }
.page-head__lede { max-width: 40rem; margin-top: clamp(24px, 3vw, 36px); font: 400 clamp(22px, 2.2vw, 30px)/1.2 var(--serif);
  font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; text-wrap: pretty; }
.page-head__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.page-head__tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid currentColor;
  border-radius: 3px; text-decoration: none; font: 700 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.page-head__tabs a[aria-current="page"] { background: var(--text); color: var(--field); border-color: var(--text); }
.page-head__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.page-head--404 { min-height: 86svh; display: flex; flex-direction: column; justify-content: flex-end; }

.crumbs { margin-bottom: 24px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { font: 600 12px/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: 0.55; }
.crumbs a { text-underline-offset: 3px; }

.eyebrow--crimson { color: var(--crimson); margin-bottom: 20px; }
.section-title { margin: clamp(44px, 5vw, 68px) 0 16px; font: 400 clamp(30px, 3vw, 42px)/1.05 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.prose p { max-width: 38rem; font-size: 19px; line-height: 1.6; }
.prose p + p { margin-top: 1em; }
.learn__note { max-width: 40rem; margin-top: 40px; font-size: 15px; }

/* ---- god pages */
.god-head { position: relative; min-height: max(88svh, 680px); overflow: hidden; background: var(--field); color: var(--text); }
.god-head__name { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 12vw); top: 72px; z-index: 1; --fit-max: 26svh;
  font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 0.84;
  padding-top: 0.14em; color: var(--display); filter: url(#inked); }
.god-head__domain { position: absolute; right: var(--gutter); top: 84px; bottom: 40px; width: 11vw; --fit-max: 10vw;
  writing-mode: vertical-rl; font-family: var(--sans); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  line-height: 0.9; color: var(--display); filter: url(#inked); }
.god-head .figure { left: 64%; bottom: 0; height: min(78svh, 820px); transform: translateX(-50%); z-index: 2; }
.god-head .plate--dark { transform: translate(0.9%, 0.5%); }
.blot-figure { position: absolute; left: 62%; bottom: 12%; width: min(42vw, 500px); aspect-ratio: 1; transform: translateX(-50%);
  display: grid; place-items: center; background: var(--display); opacity: 0.9; filter: url(#boil);
  -webkit-mask: var(--blot) center / contain no-repeat; mask: var(--blot) center / contain no-repeat; }
.blot-figure span { color: var(--field); font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.god-head__copy { position: absolute; z-index: 5; left: var(--gutter); bottom: 56px; width: min(30rem, 38vw); }
.god-head__copy .eyebrow { margin-bottom: 14px; }
.god-head__lede { font: 400 clamp(21px, 2vw, 30px)/1.18 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; text-wrap: pretty; }

.god-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start;
  gap: clamp(40px, 6vw, 96px); padding: clamp(64px, 8vw, 120px) var(--gutter); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 3px solid var(--ink); }
.facts > div { padding: 16px 0; border-bottom: 1px solid rgba(23, 11, 8, 0.18); }
.facts dt { font: 500 11px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.facts dd { margin: 6px 0 0; font-size: 17px; line-height: 1.45; }
.respect { max-width: 38rem; margin-top: 40px; padding: 16px 20px; border-left: 3px solid var(--crimson);
  background: rgba(23, 11, 8, 0.04); font-size: 15px; line-height: 1.55; }
.god-body__side { position: sticky; top: 24px; }
.side-title { margin: 0 0 16px; font: 500 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); }
.side-title:not(:first-child) { margin-top: 44px; }
.side-note { margin-top: 12px; font-size: 14px; }
.ep-links li + li { margin-top: 10px; }
.ep-link { display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 3px;
  text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
@media (hover: hover) { .ep-link:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); } }
.ep-link__no { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; color: var(--crimson); }
.ep-link__title { font: 400 22px/1.1 var(--serif); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.dl-mini a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid rgba(23, 11, 8, 0.25); text-decoration: none; font: 650 15px/1.2 var(--sans); }
.dl-mini a span { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; opacity: 0.7; }
@media (hover: hover) { .dl-mini a:hover { color: var(--crimson); } }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pager a { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(28px, 4vw, 52px) var(--gutter);
  background: var(--field); color: var(--display); text-decoration: none; overflow-wrap: anywhere;
  font: 900 clamp(30px, 5vw, 72px)/0.9 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.pager a span { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--text); }
.pager__next { align-items: flex-end; text-align: right; }
.pager a[data-god="obatala"] { box-shadow: inset 0 0 0 2px var(--ink); }

/* ---- god cards (links) */
a.mini { text-decoration: none; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
@media (hover: hover) { a.mini:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--ink); }
  a.mini[data-god="obatala"]:hover { box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); } }
.mini-wrap { min-width: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 2vw, 28px); }
.mini-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.mini-grid--compact .mini { aspect-ratio: 16 / 9; }
.listing { padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(80px, 10vw, 140px); }
.listing__gap { display: flex; align-items: center; gap: 10px; margin-top: clamp(48px, 6vw, 80px); }
.listing__note { margin-top: 40px; font-size: 17px; }
.workshop__links { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: clamp(28px, 3vw, 40px); }
.poster__more { display: inline-block; margin-top: 14px; }
.reel__more { display: inline-block; margin-top: 10px; color: var(--gold); }

/* ---- episodes */
.episodes--page { padding-top: 0; }
.reel__link { display: block; color: inherit; text-decoration: none; }
.reel__link .reel__frame { display: block; }
.reel__frame img { width: 100%; height: 100%; object-fit: cover; }
.reel__link .reel__no, .reel__link .reel__title, .reel__link .reel__meta { display: block; }
@media (hover: hover) { .reel__link:hover .reel__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; } }
.reel__status, .yt__badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 7px 10px; border-radius: 2px;
  background: var(--gold); color: var(--ink); font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }

.ep { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: start;
  gap: clamp(40px, 6vw, 96px); padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(80px, 10vw, 140px); }
.ep__video { position: sticky; top: 24px; }
.yt { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 6px; background: #0d0605; box-shadow: 8px 8px 0 var(--ink); }
.yt iframe, .yt video, .yt__poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.yt__poster { position: absolute; inset: 0; display: block; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 3px; background: var(--gold); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); white-space: nowrap;
  font: 750 14px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; transition: transform 160ms var(--ease-out); }
.yt__play svg { width: 18px; height: 18px; fill: currentColor; }
@media (hover: hover) { .yt__poster:hover .yt__play { transform: translate(-50%, -50%) scale(1.04); } }
.ep__watch { margin-top: 18px; }
.ep__text .section-title:first-child { margin-top: 0; }
.ep__text > p { max-width: 40rem; font-size: 18px; }
.ep__lead { font: 400 clamp(21px, 2vw, 26px)/1.35 var(--serif) !important; font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.transcript { max-width: 40rem; margin-top: 32px; border-top: 1px solid rgba(23, 11, 8, 0.25); border-bottom: 1px solid rgba(23, 11, 8, 0.25); }
.transcript summary { padding: 16px 0; cursor: pointer; font: 650 14px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.transcript__body { padding-bottom: 12px; }
.transcript__body p { margin-bottom: 12px; font-size: 16px; }

/* ---- pronunciation: syllables on a three-line tone staff */
.say { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 4px; }
.say__syl { display: grid; justify-items: center; min-width: 3.4em; padding: 0 2px; }
.say__track { position: relative; width: 100%; height: 34px;
  background: linear-gradient(rgba(23, 11, 8, 0.2), rgba(23, 11, 8, 0.2)) 0 5px / 100% 1px no-repeat,
              linear-gradient(rgba(23, 11, 8, 0.2), rgba(23, 11, 8, 0.2)) 0 17px / 100% 1px no-repeat,
              linear-gradient(rgba(23, 11, 8, 0.2), rgba(23, 11, 8, 0.2)) 0 29px / 100% 1px no-repeat; }
.say__dot { position: absolute; left: 50%; top: 11px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--crimson); }
.say__syl[data-tone="H"] .say__dot { top: -1px; }
.say__syl[data-tone="L"] .say__dot { top: 23px; }
.say__txt { margin-top: 10px; font: 900 26px/1 var(--sans); font-stretch: 75%; }
.say__en { margin-top: 6px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; opacity: 0.78; }
.say__gap { width: 16px; }
.say--small .say__syl { min-width: 2.7em; }
.say--small .say__track { height: 22px;
  background: linear-gradient(rgba(23, 11, 8, 0.2), rgba(23, 11, 8, 0.2)) 0 3px / 100% 1px no-repeat,
              linear-gradient(rgba(23, 11, 8, 0.2), rgba(23, 11, 8, 0.2)) 0 11px / 100% 1px no-repeat,
              linear-gradient(rgba(23, 11, 8, 0.2), rgba(23, 11, 8, 0.2)) 0 19px / 100% 1px no-repeat; }
.say--small .say__dot { top: 7px; width: 8px; height: 8px; margin-left: -4px; }
.say--small .say__syl[data-tone="H"] .say__dot { top: -1px; }
.say--small .say__syl[data-tone="L"] .say__dot { top: 15px; }
.say--small .say__txt { margin-top: 7px; font-size: 16px; }
.say--small .say__en { font-size: 11px; }

.learn { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px);
  padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(40px, 5vw, 72px); }
.learn .section-title { margin-top: 0; }
.learn__intro > p { max-width: 36rem; font-size: 18px; }
.learn__intro > .say { margin-top: 28px; }
.tone-key { margin: 20px 0 24px; border-top: 3px solid var(--ink); }
.tone-key li { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(23, 11, 8, 0.18); font-size: 17px; }
.tone-key__mark { width: 1.1em; flex: none; text-align: center; font: 900 40px/1 var(--sans); font-stretch: 75%; color: var(--crimson); }
.letters { border-top: 3px solid var(--ink); }
.letters > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(23, 11, 8, 0.18); }
.letters dt { font: 900 24px/1 var(--sans); font-stretch: 75%; }
.letters dd { margin: 0; font-size: 17px; }
.names { padding: 1px var(--gutter) clamp(80px, 10vw, 140px); }
.names > .section-title { margin-top: clamp(24px, 3vw, 40px); }
.say-card .say__syl { min-width: 2.9em; }
.say-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.say-card { padding: 20px 22px 22px; border: 2px solid var(--ink); border-top: 12px solid var(--field);
  background: #f8f3ea; box-shadow: 4px 4px 0 var(--ink); }
.say-card__name { display: inline-block; margin-bottom: 14px; text-decoration: none; filter: url(#inked);
  font: 900 36px/1 var(--sans); font-stretch: 62%; text-transform: uppercase; padding-top: 0.12em; }
@media (hover: hover) { .say-card__name:hover { color: var(--crimson); } }
.say-card__also { margin-top: 14px; font-size: 14px; opacity: 0.78; }

.glossary { padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(80px, 10vw, 140px); }
.gloss-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); border-top: 3px solid var(--ink); }
.gloss { padding: 22px 0 24px; border-bottom: 1px solid rgba(23, 11, 8, 0.18); scroll-margin-top: 24px; }
.gloss:target { background: rgba(255, 190, 11, 0.2); box-shadow: -12px 0 0 rgba(255, 190, 11, 0.2), 12px 0 0 rgba(255, 190, 11, 0.2); }
.gloss dt { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.gloss__term { font: 400 34px/1 var(--serif); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.gloss dd { margin: 12px 0 0; max-width: 36rem; font-size: 16px; line-height: 1.55; }

/* ---- downloads */
.downloads { padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(80px, 10vw, 140px); }
.downloads .section-title:first-child { margin-top: 0; }
.downloads__note { max-width: 40rem; margin-bottom: 28px; font-size: 17px; }
.downloads__gap { margin-top: clamp(64px, 8vw, 112px); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 32px 24px; }
.dl { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dl__thumb { width: 100%; height: auto; border-radius: 4px; background: var(--field); box-shadow: 6px 6px 0 var(--ink); }
.dl__thumb--sheet { background: #fff; box-shadow: 0 0 0 1px rgba(23, 11, 8, 0.2), 6px 6px 0 var(--ink); }
.dl__name { margin-top: 8px; font: 900 28px/1 var(--sans); font-stretch: 62%; text-transform: uppercase; }
.dl .dl__btn { --btn-bg: var(--ink); --btn-fg: var(--bone); box-shadow: 4px 4px 0 var(--crimson); }
.dl__fmt { font: 500 11px/1 var(--mono); opacity: 0.75; }

/* ---- forge: picked */
.picked { background: var(--ink); color: var(--bone); padding: clamp(72px, 9vw, 128px) var(--gutter); }
.picked .eyebrow { color: var(--gold); margin-bottom: 18px; }
.picked__title { max-width: 18ch; font: 400 clamp(34px, 4.4vw, 64px)/1.05 var(--serif); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.picked__text { max-width: 34rem; margin: 20px 0 28px; font-size: 18px; }
.picked .link-arrow { color: var(--gold); }

@media (max-width: 1000px) {
  .god-head__copy { width: min(26rem, 44vw); }
}
@media (max-width: 760px) {
  .god-head { min-height: 0; padding: calc(64px + 30vw + min(112vw, 520px) + 20px) var(--gutter) 40px; }
  .god-head__name { top: 64px; right: var(--gutter); --fit-max: 34vw; }
  .god-head__domain { top: calc(64px + 32vw); bottom: auto; height: min(112vw, 520px); width: 15vw; --fit-max: 13vw; }
  .god-head .figure { top: calc(64px + 30vw); bottom: auto; left: 44%; height: min(112vw, 520px); }
  .blot-figure { top: calc(64px + 36vw); bottom: auto; left: 44%; width: min(72vw, 360px); }
  .god-head__copy { position: relative; left: auto; bottom: auto; width: auto; }
  .god-body, .learn, .ep { grid-template-columns: minmax(0, 1fr); }
  .god-body__side, .ep__video { position: static; }
  .ep__video { max-width: 340px; }
  .facts, .gloss-list { grid-template-columns: minmax(0, 1fr); }
  .letters > div { grid-template-columns: 4.5rem minmax(0, 1fr); }
}
