/* ==== 00-base.css ==== */
/* SAND WITCH KITTEN — THE READING. Base: tokens, grounds, type, the kit (frame2, tcard, arch, num, acard, pill, rnd, mk),
   header + drawer chrome, toast, foot structure, .e404. Parts never restyle anything in this file. */
:root {
  --dune: #EAD5B4; --dune-lo: #DCC29A; --card: #F6EFE2; --ink: #1E1915; --muted: #5A4C3F;
  --gold: #9C7A3C; --gold-dk: #6E5220; --gold-lt: #E2C27F;
  --dusk: #241B16; --dusk-2: #2F241D; --moon: #FDE09E; --mist: #BDAE9C;
  --hat: #121013;
  --ring: var(--ink); --line: var(--gold); --em: var(--gold); --numc: var(--gold-dk);
  --display: 'Libre Caslon Display', 'Times New Roman', Georgia, serif;
  --text: 'Gelasio', Georgia, 'Times New Roman', serif;
  --caps: 'Marcellus SC', 'Times New Roman', Georgia, serif;
  --m: clamp(16px, 4.4vw, 64px);
  --nav: 72px;
  --h1: clamp(38px, 5.3vw, 80px);
  --cardW: min(34vw, calc((100svh - 150px) * .66), 500px);
  color-scheme: light;
}
@media (max-width: 999px) { :root { --h1: clamp(36px, 6vw, 52px); } }
@media (max-width: 699px) { :root { --nav: 60px; --m: 16px; } }
@media (max-width: 420px) and (max-height: 700px) { :root { --h1: 30px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 8px); }
html.js:not(.rm) { scroll-behavior: smooth; }
body { margin: 0; background: var(--dune); color: var(--ink); font: 400 17px/1.55 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--card); color: var(--ink); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- grounds ---------- */
.gd-dune { background-color: var(--dune); color: var(--ink); --em: var(--gold); --ring: var(--ink); --line: var(--gold); --numc: var(--gold-dk);
  background-image: radial-gradient(rgba(30, 25, 21, .03) 1px, transparent 1.2px), radial-gradient(rgba(255, 250, 240, .05) 1px, transparent 1.2px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px; }
.gd-card { background: var(--card); color: var(--ink); --em: var(--gold); --ring: var(--ink); --line: var(--gold); --numc: var(--gold-dk); }
.gd-dusk { background-color: var(--dusk); color: var(--card); --em: var(--gold-lt); --ring: var(--moon); --line: var(--gold-lt); --numc: var(--gold-lt);
  background-image: radial-gradient(rgba(253, 224, 158, .22) 1px, transparent 1.5px), radial-gradient(rgba(246, 239, 226, .12) 1px, transparent 1.5px);
  background-size: 97px 89px, 151px 137px; background-position: 13px 21px, 70px 44px; }
.gd-photo { background: var(--dusk); color: var(--card); --em: var(--gold-lt); --ring: var(--moon); --line: var(--gold-lt); --numc: var(--gold-lt); position: relative; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(1280px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 699px) { .g12 { grid-template-columns: minmax(0, 1fr); } .g12 > * { grid-column: 1 / -1 !important; } }
.sec { padding: 112px 0; }
@media (max-width: 699px) { .sec { padding: 72px 0; } }

/* ---------- type (display rule: every display size = min(clamp, h1 * k), k <= .86) ---------- */
h1 { font: 400 var(--h1)/1.04 var(--display); letter-spacing: -.01em; }
h2 { font: 400 min(clamp(32px, 4.2vw, 60px), calc(var(--h1) * .8))/1.08 var(--display); letter-spacing: -.005em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--em); }
h3 { font: 400 min(clamp(22px, 2vw, 28px), calc(var(--h1) * .6))/1.2 var(--display); }
.lbl { font: 400 14px/1.3 var(--caps); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gd-dusk .lbl, .gd-photo .lbl { color: var(--mist); }
.lead { font-size: 20px; line-height: 1.55; }
@media (max-width: 699px) { .lead { font-size: 18px; } }
.cap { font-size: 15px; font-style: italic; color: var(--muted); line-height: 1.45; }
.gd-dusk .cap, .gd-photo .cap { color: var(--mist); }
.fine { font-size: 14px; line-height: 1.45; }

/* ---------- kit: the gold double frame, tarot card, arch window, numeral tab ---------- */
.frame2 { border: 1px solid var(--line); border-radius: 6px; outline: 1px solid var(--line); outline-offset: -7px; }
.tcard { position: relative; display: flex; flex-direction: column; background: var(--card); color: var(--ink); padding: 14px; border: 1px solid var(--gold); border-radius: 6px;
  box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--gold), 0 18px 40px rgba(30, 25, 21, .14); --numc: var(--gold-dk); --line: var(--gold); }
.tcard-img { aspect-ratio: 4 / 5; margin: 6px 6px 0; }
.tcard-num { justify-content: center; margin: 6px 0 8px; }
.tcard-name { font: 400 min(26px, calc(var(--h1) * .72))/1.15 var(--display); text-align: center; margin: 12px 8px 4px; color: var(--ink); }
.tcard-txt { font-size: 16px; line-height: 1.45; color: var(--muted); text-align: center; margin: 0 10px 8px; }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 6px 6px; background: var(--dune-lo); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.num { display: flex; align-items: center; gap: 10px; font: 400 16px/1 var(--caps); letter-spacing: .12em; color: var(--numc); }
.num::before, .num::after { content: ""; width: 24px; height: 1px; background: var(--line); }

/* ---------- kit: THE ADDRESS CARD (0 · THE ADDRESS) ---------- */
.acard { position: relative; max-width: 560px; background: var(--card); color: var(--ink); padding: 12px 18px 10px; border: 1px solid var(--gold); border-radius: 6px;
  box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px var(--gold), 0 10px 26px rgba(30, 25, 21, .10); --ring: var(--ink); --line: var(--gold); }
.acard-hd { display: flex; justify-content: space-between; gap: 12px; font: 400 13px/1.25 var(--caps); letter-spacing: .12em; color: var(--muted); }
.acard-bd { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; }
.acard .ca { flex: 1 1 auto; min-width: 0; font: 600 16px/1.35 var(--text); color: var(--ink); overflow-wrap: anywhere; word-break: break-all; }
.acard-soon { flex: 1 1 auto; font: italic 400 16px/1.35 var(--text); color: var(--muted); }
.acard .pill { flex: none; }
.acard-ft { font: italic 400 14px/1.3 var(--text); color: var(--muted); }
.acard-sp { position: absolute; top: -11px; right: 22px; width: 22px; height: 22px; color: var(--gold); opacity: 0; pointer-events: none; }
.acard.ok .acard-sp { opacity: 1; }
html.js:not(.rm) .acard.ok .acard-sp { animation: acard-pop .9s ease-out both; }
@keyframes acard-pop { 0% { opacity: 0; transform: scale(.2) rotate(-30deg); } 40% { opacity: 1; transform: scale(1.25) rotate(8deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
.acard.sm { padding: 9px 14px 8px; }
.acard.sm .ca, .acard.sm .acard-soon { font-size: 14px; }
.acard.sm .acard-ft { display: none; }

/* ---------- kit: buttons (--hat fill = Buy ONLY) ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 17px/1.1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.pill.buy { background: var(--hat); color: var(--card); box-shadow: inset 0 0 0 2px var(--gold-lt), 0 8px 20px rgba(18, 16, 19, .22); }
.pill.buy:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 2px var(--gold-lt), 0 12px 26px rgba(18, 16, 19, .3); }
.pill.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill.line:hover { background: rgba(30, 25, 21, .06); }
.pill.line-d { background: transparent; color: var(--card); box-shadow: inset 0 0 0 1.5px var(--card); }
.pill.line-d:hover { background: rgba(246, 239, 226, .08); }
.pill.light { background: var(--card); color: var(--ink); }
.pill.light:hover { background: #fff8ec; }
.pill.sm { min-height: 44px; padding: 0 16px; gap: 8px; font-size: 15px; }
.pill .ic { width: 18px; height: 18px; }
.rnd { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: inherit; background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor; text-decoration: none; cursor: pointer; transition: background-color .2s ease; }
.rnd:hover { background: rgba(127, 110, 90, .12); }
.rnd.lg { width: 56px; height: 56px; }
.mk { flex: none; width: 20px; height: 20px; }
.rnd .mk { width: 18px; height: 18px; }
.mk.inv { filter: invert(1); }
.gd-dusk .rnd .mk, .gd-photo .rnd .mk, .gd-dusk .line-d .mk, .gd-photo .line-d .mk { filter: invert(1); }
.mk[src*="pumpfun"], .mk[src*="jupiter"], .mk[src*="phantom"] { filter: none !important; }   /* coloured marks keep their colours */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header (sticky; the only sticky thing) ---------- */
.hd { position: sticky; top: 0; z-index: 50; height: var(--nav); background: transparent; color: var(--ink); --ring: var(--ink); transition: background-color .25s ease, box-shadow .25s ease; }
.hd.solid { background: var(--card); box-shadow: 0 1px 0 var(--gold); }
.hd-in { display: flex; align-items: center; gap: 16px; height: 100%; max-width: calc(1280px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }
.hd-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); flex: none; }
.hd-brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold); }
.hd-brand b { font: 400 22px/1 var(--display); white-space: nowrap; }
.hd-nav { display: none; }
.hd-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hd-motion { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font: 500 14px/1 var(--text); white-space: nowrap; }
.hd-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.hd-motion[aria-pressed="true"] .hd-dot { background: currentColor; }
.menu-btn { min-width: 44px; }
@media (min-width: 1100px) {
  .hd-nav { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); margin: 0 auto; }
  .hd-nav a { display: inline-flex; align-items: center; min-height: 44px; font: 500 15px/1 var(--text); text-decoration: none; color: var(--ink); white-space: nowrap; }
  .hd-nav a:hover, .hd-nav a.here { box-shadow: inset 0 -2px 0 var(--gold); }
  .hd-r { margin-left: 0; }
  .menu-btn { display: none; }
}
@media (max-width: 1279px) and (min-width: 1100px) { .hd-motion .hd-st { display: none; } .hd-brand b { font-size: 20px; } }
@media (max-width: 699px) { .hd-in { gap: 8px; } .hd-r { gap: 8px; } .hd-r .hd-motion { display: none; } .hd-brand b { font-size: 19px; } }
@media (max-width: 479px) { .menu-btn.pill.sm { padding: 0; width: 44px; } .menu-btn .hd-mt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- menu drawer ---------- */
.hd-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(30, 25, 21, .5); }
.hd-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(420px, 100%); overflow-y: auto; background: var(--card); color: var(--ink); --ring: var(--ink);
  padding: 14px 24px 28px; box-shadow: -1px 0 0 var(--gold), -20px 0 50px rgba(30, 25, 21, .25); }
.hd-dhd { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 8px; }
.hd-drawer nav a { display: flex; align-items: center; gap: 14px; min-height: 54px; font: 400 25px/1.1 var(--display); text-decoration: none; color: var(--ink); border-bottom: 1px solid rgba(156, 122, 60, .45); }
.hd-drawer nav a b { width: 40px; font: 400 15px/1 var(--caps); letter-spacing: .1em; color: var(--gold-dk); }
.hd-drawer nav a:hover { color: var(--gold-dk); }
.hd-dft { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
html.js:not(.rm) .hd-drawer:not([hidden]) { animation: hd-in .3s ease-out both; }
@keyframes hd-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; max-width: calc(100% - 32px); padding: 13px 22px; border-radius: 6px; background: var(--dusk); color: var(--card);
  box-shadow: inset 0 0 0 1px var(--gold-lt), 0 14px 34px rgba(30, 25, 21, .3); font: 500 16px/1.35 var(--text); text-align: center;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { padding: 0; box-shadow: none; }

/* ---------- footer structure (Part B styles its contents with ft-) ---------- */
.foot { display: block; padding: 56px 0 40px; }

/* ---------- 404 ---------- */
.e404 { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--m); gap: 18px; }
.e404 h1 { font-size: min(clamp(40px, 8vw, 96px), calc(var(--h1) * 1.2)); }

@media (prefers-reduced-motion: reduce) { html:not(.js) * { animation: none !important; transition: none !important; } }

/* ==== 10-hero.css ==== */
/* #top — THE CARD IS FACE UP: card XXII · THE SAND WITCH on the right, the reading on the left. Stacked < 1000px: an arched window on top. */
.tp { position: relative; overflow: hidden; padding: 40px 0 56px; }
.tp::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 46% at 74% 40%, rgba(253, 224, 158, .55), transparent 70%); }
.tp-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); grid-template-areas: "copy stage"; align-items: center; column-gap: 48px; }
.tp-copy { grid-area: copy; position: relative; z-index: 3; }
.tp-stage { grid-area: stage; position: relative; z-index: 2; justify-self: end; width: var(--cardW); margin-right: clamp(0px, 2vw, 40px); perspective: 1600px; }

/* the big card */
.tp-card { transform: rotate(3deg); transform-origin: 50% 60%; }
.tp-num { font-size: 18px; margin-top: 8px; }
.tp-arch img { object-position: 58% 40%; }
.tp-name { font-size: min(30px, calc(var(--h1) * .5)); margin-top: 14px; }
.tp-back { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; background: var(--dune-lo); color: var(--gold); border: 1px solid var(--gold); border-radius: 6px;
  box-shadow: inset 0 0 0 6px var(--dune-lo), inset 0 0 0 7px var(--gold), 0 14px 30px rgba(30, 25, 21, .12); transform: translate(-18px, 14px) rotate(-4deg); }
.tp-back .ic { width: 64px; height: 64px; opacity: .8; }
.tp-sp { position: absolute; z-index: 2; display: block; color: var(--moon); pointer-events: none; }
.tp-sp .ic { width: 100%; height: 100%; }
.tp-sp1 { width: 22px; height: 22px; top: 13%; left: 18%; }
.tp-sp2 { width: 15px; height: 15px; top: 9%; right: 22%; }
.tp-sp3 { width: 18px; height: 18px; top: 27%; right: 12%; }
.tp-sp4 { width: 12px; height: 12px; top: 31%; left: 11%; }

/* the reading (copy) */
.tp-eb { color: var(--muted); margin-bottom: 18px; }
.tp-h1 { color: var(--ink); }
.tp-l { display: block; }
.tp-h1 em { display: block; color: var(--em); }
.tp-sub { font-size: 19px; line-height: 1.5; max-width: 30em; margin: 20px 0 22px; }
.tp-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.tp-fine { color: var(--muted); margin-top: 14px; }
.tp-go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font: 600 16px/1 var(--text); color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tp-go .ic { width: 18px; height: 18px; transition: transform .2s ease; }
.tp-go:hover .ic { transform: translateX(4px); }

/* stacked: the card becomes a wide arched window on top */
@media (max-width: 999px) {
  .tp { padding: 12px 0 48px; }
  .tp::before { background: radial-gradient(60% 34% at 62% 18%, rgba(253, 224, 158, .55), transparent 70%); }
  .tp-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "copy"; row-gap: 16px; }
  .tp-stage { justify-self: stretch; width: auto; margin: 0; perspective: none; }
  .tp-back, .tp-fc { display: none; }
  .tp-card { transform: none; height: clamp(200px, 30svh, 280px); padding: 10px; border-radius: 999px 999px 6px 6px; box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px var(--gold), 0 12px 28px rgba(30, 25, 21, .12); }
  .tp-arch { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; margin: 0; }
  .tp-arch img { object-position: 56% 38%; }
  .tp-num { position: absolute; z-index: 3; top: -9px; left: 50%; transform: translateX(-50%); margin: 0; padding: 2px 10px; background: var(--dune); font-size: 16px; }
  .tp-eb { margin-bottom: 8px; }
  .tp-sub { margin: 12px 0 12px; }
  .tp-act { margin-top: 14px; }
  .tp-sp1 { top: 16%; left: 27%; } .tp-sp2 { top: 12%; right: 30%; } .tp-sp3 { top: 34%; right: 22%; } .tp-sp4 { top: 40%; left: 19%; }
}
@media (max-width: 699px) {
  .tp-sub { font-size: 17px; }
  .tp-act { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .tp-act .pill { padding: 0 14px; font-size: 16px; gap: 8px; }
  .tp-act .rnd.lg { width: 52px; height: 52px; }
}
@media (max-width: 389px) {
  .tp-act { gap: 6px; }
  .tp-act .pill { padding: 0 11px; font-size: 15px; gap: 6px; }
  .tp-act .rnd.lg { width: 48px; height: 48px; }
}
@media (max-width: 420px) and (max-height: 700px) {
  .tp-card { height: 140px; padding: 8px; }
  .tp-in { row-gap: 12px; }
  .tp-eb { font-size: 13px; margin-bottom: 6px; }
  .tp-sub { font-size: 16px; line-height: 1.4; max-width: 22em; margin: 8px 0 10px; }
  .tp .acard { padding: 9px 14px 8px; }
  .tp .acard .ca, .tp .acard .acard-soon { font-size: 14px; }
  .tp .acard-ft { display: none; }
  .tp-act { margin-top: 10px; }
  .tp-fine { margin-top: 10px; }
}

/* motion: card turns over once, the moon glow breathes, sparkles twinkle (pauses via .still) */
html.js:not(.rm):not(.settled) .tp-card { animation: tp-turn .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
html.js:not(.rm):not(.settled) .tp-back { animation: tp-fade .9s ease-out .15s both; }
@keyframes tp-turn { from { transform: rotateY(90deg) rotate(3deg); opacity: .2; } to { transform: rotateY(0) rotate(3deg); opacity: 1; } }
@keyframes tp-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 999px) { @keyframes tp-turn { from { transform: rotateY(70deg); opacity: .2; } to { transform: none; opacity: 1; } } }
html.js:not(.rm) .tp::before { animation: tp-breathe 7s ease-in-out infinite alternate; }
@keyframes tp-breathe { from { opacity: .8; } to { opacity: 1; } }
html.js:not(.rm) .tp-sp { animation: tp-twinkle 3.2s ease-in-out infinite; }
html.js:not(.rm) .tp-sp2 { animation-delay: -.8s; }
html.js:not(.rm) .tp-sp3 { animation-delay: -1.6s; }
html.js:not(.rm) .tp-sp4 { animation-delay: -2.4s; }
@keyframes tp-twinkle { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.tp.still::before, .tp.still .tp-sp { animation-play-state: paused; }

/* ==== s01-02.css ==== */
/* ===== Part A: #spread (sp-) · #pun (pn-) · #change (ch-) ===== */

/* ---------- #spread: three cards ---------- */
.sp-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sp-num { justify-content: center; margin-bottom: 18px; }
.sp-lead { margin: 18px auto 0; max-width: 34em; }
.sp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; max-width: 1180px; margin: 0 auto; }
.sp-card { margin: 0; }
.sp-row > .sp-card:nth-child(1), .sp-row > .sp-card:nth-child(3) { margin-top: 24px; }
.sp-img-pumpkin { object-position: 92% 60%; }
.sp-img-spell { object-position: 62% 55%; }
.sp-img-moon { object-position: 45% 60%; }
@media (max-width: 759px) {
  .sp-head { margin-bottom: 36px; }
  .sp-row { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .sp-row > .sp-card:nth-child(1), .sp-row > .sp-card:nth-child(3) { margin-top: 0; }
}

/* motion: cards deal in (once) */
html.js:not(.rm) .sp-row > .sp-card { transition: opacity .6s ease, transform .75s cubic-bezier(.2, .7, .2, 1); }
html.js:not(.rm) .sp-row > .sp-card:nth-child(2) { transition-delay: .12s; }
html.js:not(.rm) .sp-row > .sp-card:nth-child(3) { transition-delay: .24s; }
html.js:not(.rm):not(.settled) .sp-row:not(.sp-in) > .sp-card { opacity: 0; transform: translateY(24px) rotate(2deg); }

/* ---------- #pun: the joke ---------- */
.pn-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 48px; align-items: center; }
.pn-text { grid-column: 8 / 13; grid-row: 1; }
.pn-plate { grid-column: 1 / 8; grid-row: 1; margin: 0; padding: 14px; background: var(--card); box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--line), 0 18px 40px rgba(30, 25, 21, .12); }
.pn-plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.pn-num { margin-bottom: 18px; }
.pn-body { font-size: 18px; line-height: 1.6; margin: 18px 0 26px; max-width: 30em; }
.pn-recipe { margin: 0 0 18px; border-top: 1px solid var(--gold); max-width: 420px; }
.pn-row { display: flex; align-items: baseline; gap: 18px; padding: 13px 2px; border-bottom: 1px solid var(--gold); }
.pn-row dt { flex: none; width: 92px; font: 400 14px/1.3 var(--caps); letter-spacing: .12em; color: var(--muted); }
.pn-row dd { margin: 0; font: 500 18px/1.35 var(--text); color: var(--ink); }
@media (max-width: 899px) {
  .pn-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pn-text, .pn-plate { grid-column: 1; grid-row: auto; }
  .pn-plate { padding: 10px; box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px var(--line), 0 14px 30px rgba(30, 25, 21, .12); }
}

/* motion: recipe rows slide in (once) */
html.js:not(.rm) .pn-row { transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
html.js:not(.rm) .pn-row:nth-child(2) { transition-delay: .1s; }
html.js:not(.rm) .pn-row:nth-child(3) { transition-delay: .2s; }
html.js:not(.rm):not(.settled) .pn-recipe:not(.pn-in) .pn-row { opacity: 0; transform: translateX(-16px); }

/* ---------- #change: spot the change ---------- */
.ch-head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.ch-lead { margin: 18px auto 0; max-width: 34em; }
.ch-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto; }
.ch-fig { margin: 0; }
.ch-plate { padding: 14px; background: var(--card); box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--line), 0 18px 40px rgba(30, 25, 21, .12); }
.ch-plate img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; }
.ch-cap { text-align: center; margin-top: 12px; }
.ch-list { padding: 30px 30px 26px; }
.ch-ul { margin: 0; padding: 0; list-style: none; }
.ch-li { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--dune-lo); font: 500 20px/1.35 var(--text); color: var(--ink); }
.ch-li:last-child { border-bottom: 0; }
.ch-ck { width: 24px; height: 24px; color: var(--ink); stroke-width: 2.2; }
.ch-st { width: 24px; height: 24px; color: var(--gold); }
.ch-one span { font-style: italic; }
.ch-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 48px; }
@media (max-width: 479px) {
  .ch-act { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .ch-act .pill { padding: 0 14px; font-size: 16px; gap: 8px; }
}
@media (max-width: 399px) {
  .ch-act .pill { padding: 0 11px; font-size: 15px; gap: 6px; }
}
@media (max-width: 759px) {
  .ch-head { margin-bottom: 36px; }
  .ch-pair { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 460px; }
  .ch-list { padding: 22px 20px 18px; }
  .ch-li { font-size: 18px; padding: 13px 2px; }
  .ch-act { margin-top: 36px; }
}

/* motion: checks draw in (once) */
html.js:not(.rm) .ch-ck { stroke-dasharray: 22; stroke-dashoffset: 0; transition: stroke-dashoffset .55s ease-out; }
html.js:not(.rm) .ch-st { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .3s, opacity .3s ease .3s; }
html.js:not(.rm) .ch-li:nth-child(2) .ch-ck { transition-delay: .1s; }
html.js:not(.rm) .ch-li:nth-child(3) .ch-ck { transition-delay: .2s; }
html.js:not(.rm):not(.settled) .ch-list:not(.ch-in) .ch-ck { stroke-dashoffset: 22; }
html.js:not(.rm):not(.settled) .ch-list:not(.ch-in) .ch-st { transform: scale(.2); opacity: 0; }

/* ==== s03-04.css ==== */
/* PART B — #draw (toy), #spells, #last, #kit, footer contents. Prefixes dr- ss- ls- kt- ft- */

/* ---------- #draw ---------- */
.dr-head { max-width: 760px; }
.dr-head h2 { margin: 18px 0 16px; }
.dr-head h2 em { display: block; }
.dr-lead { color: var(--mist); }
.dr-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 980px; margin: 56px auto 0; }
.dr-left { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.dr-deck { position: relative; width: 300px; height: 330px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.dr-back { display: flex; align-items: center; justify-content: center; background: var(--dune-lo); color: var(--gold); border-radius: 6px;
  box-shadow: inset 0 0 0 6px var(--dune-lo), inset 0 0 0 7px var(--gold), 0 18px 40px rgba(0, 0, 0, .35); }
.dr-back .ic { width: 40px; height: 40px; }
.dr-deck .dr-back { position: absolute; left: 50%; top: 10px; width: 200px; height: 300px; margin-left: -100px; }
.dr-b1 { transform: rotate(-9deg) translateX(-34px); }
.dr-b2 { transform: rotate(-2deg) translateX(-6px); }
.dr-b3 { transform: rotate(6deg) translateX(26px); }
html.js:not(.rm) .dr-deck .dr-back { transition: transform .3s ease; }
html.js:not(.rm) .dr-deck:hover .dr-b3 { transform: rotate(9deg) translateX(34px) translateY(-8px); }
.dr-slot { perspective: 1400px; width: 100%; max-width: 360px; justify-self: center; }
.dr-in { position: relative; transform-style: preserve-3d; transform: rotateY(180deg); }
.dr-in.dr-up { transform: none; }
html.js:not(.rm) .dr-in { transition: transform .6s ease; }
html.js:not(.rm) .dr-in.dr-fast { transition: none; }
.dr-front, .dr-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dr-face { position: absolute; inset: 0; transform: rotateY(180deg); }
.dr-face .ic { width: 64px; height: 64px; }
/* F3: before a pull the slot reads as a slot, not a second deck */
.dr-slot .dr-face { flex-direction: column; gap: 14px; background: transparent; box-shadow: none; border: 1px dashed var(--gold); border-radius: 10px; outline: 0; }
.dr-slot .dr-face .ic { width: 36px; height: 36px; opacity: .85; }
.dr-wait { font: 600 15px/1.3 var(--text); letter-spacing: .04em; color: var(--mist); text-align: center; padding: 0 16px; }
.dr-card { min-height: 100%; }
.dr-card .tcard-name { min-height: 1.15em; }
.dr-card .tcard-txt { min-height: 2.9em; }
.dr-fine { color: var(--mist); text-align: center; margin-top: 40px; }

/* ---------- #spells ---------- */
.ss-head { max-width: 720px; margin-bottom: 48px; }
.ss-head h2 { margin-bottom: 14px; }
.ss-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
html.js:not(.rm) .ss-c { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
html.js:not(.rm) .ss-c:nth-child(2) { transition-delay: .12s; }
html.js:not(.rm) .ss-c:nth-child(3) { transition-delay: .24s; }
html.js:not(.rm) .ss-row.ss-on .ss-c { opacity: 1; transform: none; }

/* ---------- #last ---------- */
.ls { position: relative; overflow: hidden; min-height: 860px; display: flex; align-items: flex-end; }
.ls-ph { position: absolute; inset: 0; overflow: hidden; }
.ls-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.ls-ph::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36, 27, 22, .78) 0%, rgba(36, 27, 22, .78) 30%, rgba(36, 27, 22, 0) 55%); }
html.js:not(.rm) .ls-img { transform: scale(1.06); transition: transform 1.6s ease-out; }
html.js:not(.rm) .ls.ls-on .ls-img { transform: none; }
.ls-wrap { position: relative; z-index: 1; width: 100%; padding-top: 360px; padding-bottom: 72px; }
.ls-txt { max-width: 600px; }
.ls-txt h2 { color: var(--card); margin: 16px 0 20px; }
.ls-steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font: 400 17px/1.45 var(--text); color: var(--card); }
.ls-n { font: 400 17px/1 var(--caps); color: var(--gold-lt); margin-right: 4px; }
.ls-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.ls-fine { color: var(--mist); margin-top: 18px; }
@media (max-width: 479px) {
  .ls-act { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .ls-act .pill { padding: 0 14px; font-size: 16px; gap: 8px; }
  .ls-act .rnd.lg { width: 52px; height: 52px; }
}
@media (max-width: 399px) {
  .ls-act { gap: 6px; }
  .ls-act .pill { padding: 0 11px; font-size: 15px; gap: 6px; }
  .ls-act .rnd.lg { width: 48px; height: 48px; }
}

/* ---------- #kit ---------- */
.kt-head { max-width: 720px; margin-bottom: 44px; }
.kt-head h2 { margin-bottom: 14px; }
.kt-lead { color: var(--mist); }
.kt-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kt-tile { background: var(--dusk-2); box-shadow: inset 0 0 0 6px var(--dusk-2), inset 0 0 0 7px var(--line); padding: 18px 18px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.kt-pic { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--dusk); }
.kt-pic img { width: 100%; height: 100%; object-fit: cover; }
.kt-name { font: 400 min(24px, calc(var(--h1) * .6))/1.2 var(--display); color: var(--card); }
.kt-share { margin-top: 40px; }

/* ---------- footer ---------- */
.ft { display: grid; gap: 28px; justify-items: start; border-top: 1px solid var(--line); padding-top: 40px; }
.ft-brand { display: flex; align-items: center; gap: 14px; }
.ft-brand img { border-radius: 50%; }
.ft-nm { font: 400 24px/1.2 var(--display); color: var(--card); }
.ft-tk { font: 400 15px/1 var(--caps); letter-spacing: .12em; color: var(--gold-lt); margin-left: 6px; }
.ft-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.ft-links li { display: flex; align-items: center; gap: 10px; }
.ft-links .rnd .ft-mk { filter: none; }
.ft-lb { font-size: 15px; color: var(--card); }
.ft-fine { display: grid; gap: 6px; }
.ft-fine .fine { color: var(--mist); }
.ft-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--card); font: 600 15px/1 var(--text); text-decoration: none; }
.ft-top .ic { width: 18px; height: 18px; }

/* ---------- phones / tablets ---------- */
@media (max-width: 899px) {
  .ss-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .kt-row { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 699px) {
  .dr-stage { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .dr-left { flex-direction: row; justify-content: center; gap: 16px; }
  .dr-deck { width: 130px; height: 150px; flex: none; }
  .dr-deck .dr-back { width: 84px; height: 126px; margin-left: -42px; top: 8px; }
  .dr-back .ic { width: 24px; height: 24px; }
  .dr-b1 { transform: rotate(-9deg) translateX(-18px); }
  .dr-b2 { transform: rotate(-2deg) translateX(-3px); }
  .dr-b3 { transform: rotate(6deg) translateX(14px); }
  .dr-slot { max-width: 260px; }
  .dr-slot .dr-face .ic { width: 30px; height: 30px; }
  .ls { min-height: 0; }
  .ls-wrap { padding-top: 300px; padding-bottom: 48px; }
  .ls-ph { bottom: auto; height: 520px; }
  .ls-ph::after { background: linear-gradient(to top, rgba(36, 27, 22, 1) 0%, rgba(36, 27, 22, .78) 25%, rgba(36, 27, 22, 0) 60%); }
  .ls-steps { font-size: 16px; }
}
@media (max-width: 389px) {
  .dr-left { flex-wrap: wrap; gap: 10px; }
  .dr-deck { width: 110px; }
  .dr-btn { padding: 0 18px; }
}

/* ==== s05-06.css ==== */


/* ==== s07-end.css ==== */


