/* Zombie Mage — home page.
   World: a full-colour webtoon episode. White gutters, heavy ink panels,
   flat halftone fields, bosses talk in balloons, mages answer in SFX.
   Brand law: bright and poppy, never horror. */

@font-face {
  font-family: "Lilita One";
  src: url("../fonts/lilitaone-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #120f1c;
  --paper: #ffffff;
  --gutter: #f3f5ff;
  --navy: #15183b;
  --navy-2: #25295b;
  --cyan: #22dff3;
  --magenta: #ff4fbf;
  --violet: #7b52db;
  --lime: #82f36b;
  --gold: #ffd25a;
  --pumpkin: #ff8a2b;
  --coral: #ff557a;
  /* brand (logo 01 Blue / Signal Red, owner pick 2026-10-06) */
  --brand-blue: #1489ef;
  --brand-red: #e8213a;
  --amber: #ffb21f;

  --line: 4px;
  --line-thick: 6px;
  --gap: clamp(14px, 2.4vw, 26px);
  --wrap: 1180px;

  --display: "Lilita One", "Baloo 2", system-ui, sans-serif;
  --body: "Baloo 2", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ——— Halftone screentone fields ——— */
.panel {
  position: relative;
  border: var(--line) solid var(--ink);
  border-radius: 6px;
  background-color: var(--paper);
  isolation: isolate;
}
.panel-gold, .panel-magenta, .panel-cyan, .panel-lime, .panel-violet, .panel-pumpkin {
  --dot: rgba(18, 15, 28, 0.13);
  background-image: radial-gradient(var(--dot) 22%, transparent 24%);
  background-size: 11px 11px;
}
.panel-gold    { background-color: var(--gold); }
.panel-magenta { background-color: var(--magenta); --dot: rgba(255, 255, 255, 0.22); }
.panel-cyan    { background-color: var(--cyan); }
.panel-lime    { background-color: var(--lime); }
.panel-violet  { background-color: var(--violet); --dot: rgba(255, 255, 255, 0.16); }
.panel-pumpkin { background-color: var(--pumpkin); }

/* ——— Masthead ——— */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--line) solid var(--ink);
}
.masthead-row {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  padding: 8px 16px;
}
.brand img { width: 118px; height: auto; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a {
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .02em;
  text-decoration: none; padding: 4px 2px;
  background: linear-gradient(var(--brand-red), var(--brand-red)) 0 100% / 0 4px no-repeat;
  transition: background-size .25s var(--ease-out);
}
.nav a:hover, .nav a:focus-visible { background-size: 100% 4px; }

.btn-pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .02em;
  text-decoration: none; color: #fff;
  background: var(--brand-red);
  border: 3px solid var(--ink); border-radius: 999px;
  padding: 8px 16px 7px;
  box-shadow: 0 4px 10px rgba(18, 15, 28, .22);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(18, 15, 28, .26); }
.btn-pill:active { transform: translateY(1px); box-shadow: 0 2px 4px rgba(18, 15, 28, .2); }
.btn-pill .free {
  font-family: var(--body); font-weight: 800; font-size: .72rem; text-transform: uppercase;
  background: var(--ink); color: var(--amber); border-radius: 999px; padding: 1px 7px 0;
}

.ribbon {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 7px 16px;
  background: var(--navy); color: #fff;
  text-decoration: none; font-size: .9rem; line-height: 1.3; text-align: center;
}
.ribbon strong { color: var(--amber); font-weight: 800; }
.ribbon-count {
  flex: none;
  font-family: var(--display); font-size: .95rem; letter-spacing: .03em;
  background: var(--pumpkin); color: var(--ink);
  border: 2px solid #fff; border-radius: 6px; padding: 2px 8px 1px;
}

/* ——— Splash spread ——— */
.spread {
  max-width: var(--wrap); margin-inline: auto;
  padding: 14px 16px 10px;
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr;
}
.splash {
  transform: rotate(-1.6deg);
  min-height: 208px;
  margin-top: 40px;
  overflow: visible;
}
.splash-boss {
  position: absolute;
  right: 0; bottom: 0;
  height: calc(100% + 72px); width: auto; max-width: none;
  filter: drop-shadow(0 10px 14px rgba(18, 15, 28, .28));
}
.splash-balloon {
  padding: 1.9em 2em;
  position: absolute; left: 6px; top: 18px; width: 54%; max-width: 270px;
  z-index: 2;
}
.tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  color: var(--ink);
  font-family: var(--display); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper); border: 3px solid var(--ink); padding: 4px 10px 2px;
  transform: rotate(-2deg);
}
.tag-right { left: 12px; right: auto; top: 12px; bottom: auto; transform: rotate(-2deg); }

/* speech balloons */
.balloon {
  position: relative;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.05rem, 4.6vw, 1.45rem); line-height: 1.12;
  text-transform: uppercase; letter-spacing: .01em; text-align: center;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink); border-radius: 50%;
  padding: 1.1em 15%; /* keeps every line inside the oval: an ellipse's inner box is ~70% of its width */
}
.balloon::after { /* tail */
  content: ""; position: absolute; left: 62%; bottom: -20px;
  width: 26px; height: 26px; background: var(--paper);
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: skewX(28deg) rotate(38deg);
}
.balloon-shout {
  border: 0; border-radius: 0; background: none; padding: 1.7em 1.5em;
  filter: drop-shadow(0 4px 6px rgba(18, 15, 28, .3));
}
.balloon-shout::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 130' preserveAspectRatio='none'%3E%3Cpath d='M18 22 L44 30 L52 4 L78 24 L100 2 L118 24 L146 6 L150 30 L184 18 L170 46 L198 60 L170 74 L188 100 L152 96 L150 126 L120 104 L96 128 L80 102 L50 122 L48 96 L12 106 L30 78 L2 64 L30 50 Z' fill='%23fff' stroke='%23120f1c' stroke-width='4' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.balloon-shout::after { display: none; }
.balloon span { position: relative; }

.blast {
  container-type: inline-size;
  transform: rotate(1.2deg);
  min-height: 212px;
  overflow: hidden;
}
.burst { /* radial speed lines */
  position: absolute; inset: -40%; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 62% 48%, rgba(255,255,255,.55) 0 2.2deg, transparent 2.2deg 9deg);
}
.sfx {
  position: absolute; left: 4%; bottom: 14%; z-index: 2;
  font-family: var(--display); font-size: clamp(3rem, 25cqi, 7.2rem); line-height: .85;
  color: var(--cyan);
  -webkit-text-stroke: 10px var(--ink); paint-order: stroke fill;
  transform: rotate(-9deg) skewX(-6deg);
  letter-spacing: -.01em;
}
.blast-mage {
  position: absolute; right: -2%; top: 6px; bottom: auto;
  height: 132%; width: auto; max-width: none;
  filter: drop-shadow(0 8px 10px rgba(18, 15, 28, .3));
}

.caption-box {
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 6px;
  border-width: var(--line-thick);
  padding: 20px 18px 18px;
  box-shadow: 0 14px 30px rgba(18, 15, 28, .16);
}
.caption-box h1, .caption-box h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.85rem, 7.4vw, 3.4rem); line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.hero-caption { display: flex; flex-direction: column; }
.hero-caption .caption-sub { order: 0; }
.caption-kicker { font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--ink); margin-bottom: 8px; max-width: 46ch; }
.tagline-hash { display: inline-block; background: var(--ink); color: var(--lime); border-radius: 6px; padding: 1px 7px 0; margin-right: 2px; transform: rotate(-2deg); }
.caption-sub { margin-top: 10px; font-size: 1.02rem; max-width: 52ch; color: #3a3550; }
.store-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.store-badge { display: inline-block; border-radius: 10px; transition: transform .15s var(--ease-out); }
.store-badge:hover { transform: translateY(-2px) scale(1.02); }
.store-badge img { width: 168px; height: auto; }
.store-note { font-size: .92rem; line-height: 1.3; color: #3a3550; }
.store-note strong { color: var(--ink); font-weight: 800; }
.store-note-light { color: #d9d6f5; }
.store-note-light strong { color: #fff; }

/* ——— Chapters (sections) ——— */
.chapter {
  max-width: var(--wrap); margin-inline: auto;
  padding: 64px 16px 8px;
}
.chapter-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 10vw, 4.6rem); line-height: .95;
  text-transform: uppercase; letter-spacing: -.005em;
  margin-bottom: 10px;
}
.chapter-title span {
  display: inline-block;
  background: var(--paper); border: var(--line) solid var(--ink);
  padding: 6px 14px 2px; transform: rotate(-1.5deg);
  border-width: var(--line-thick);
}
.chapter-title-light span { background: var(--gold); color: var(--ink); }
.chapter-lede { font-size: 1.08rem; max-width: 46ch; margin: 18px 0 26px; }
.chapter-lede-quote {
  font-family: var(--display); font-size: clamp(1.3rem, 5vw, 1.9rem); line-height: 1.1;
  color: var(--violet);
}

/* bosses */
.boss-strip {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.boss-strip { row-gap: 128px; padding-top: 112px; }
.boss-panel { aspect-ratio: 4 / 5; overflow: visible; }
.boss-panel > img {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  height: calc(100% + 10px); width: auto; max-width: none;
  filter: drop-shadow(0 8px 10px rgba(18, 15, 28, .28));
}
.boss-panel .balloon {
  position: absolute; left: -4px; right: -4px; bottom: calc(100% + 18px); z-index: 2;
  font-size: clamp(.74rem, 3.3vw, 1.02rem);
  padding: 1em 15%;
}
.boss-panel .balloon::after { left: 46%; bottom: -16px; }
.boss-panel .balloon-shout { padding: 1.6em 1.9em; bottom: calc(100% + 4px); }
.boss-panel .tag { font-size: clamp(.64rem, 2.8vw, .9rem); left: 6px; bottom: 36px; padding: 3px 7px 1px; }
.chapter-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: var(--ink); color: #fff;
  font-size: clamp(.7rem, 2.8vw, .92rem); font-weight: 700; letter-spacing: .02em;
  padding: 5px 8px 4px;
}
.tilt-l { transform: rotate(-1deg); }
.tilt-r { transform: rotate(1deg); }

.lineup { margin-top: calc(var(--gap) + 8px); padding: 20px 14px 18px; color: #fff; }
.lineup-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 5vw, 1.8rem); line-height: 1.05;
  margin-bottom: 14px;
}
.lineup-row {
  display: grid; gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lineup-row li {
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
}
.lineup-row img { aspect-ratio: 3 / 3.4; object-fit: cover; object-position: 50% 8%; background: var(--gold); width: 100%; }
.lineup-row li:nth-child(2n) img { background: var(--cyan); }
.lineup-row li:nth-child(3n) img { background: var(--magenta); }
.lineup-row span { font-family: var(--display); font-size: .88rem; line-height: 1.05; padding: 6px 7px 0; }
.lineup-row b { color: var(--violet); font-weight: 400; }
.lineup-row small { font-size: .74rem; font-weight: 700; color: #57507a; padding: 0 7px 6px; }
.lineup-foot {
  margin-top: 18px; padding: 8px 12px 6px;
  background: var(--amber); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 6px;
  font-family: var(--display); font-size: clamp(.95rem, 2vw, 1.2rem);
  line-height: 1.12; text-align: center;
}

/* Halloween */
.chapter-night { padding-top: 64px; }
.night-spread {
  max-width: var(--wrap); margin-inline: auto;
  color: #fff;
  background: var(--navy-2);
  background-image: radial-gradient(rgba(255,255,255,.09) 22%, transparent 24%);
  background-size: 11px 11px;
  border: var(--line-thick) solid var(--ink); border-radius: 6px;
  padding: 22px 16px 26px;
  display: grid; gap: 28px; grid-template-columns: 1fr;
}
.hj-panel { overflow: hidden; aspect-ratio: 9 / 13; transform: rotate(-1.2deg); container-type: inline-size; }
.hj-panel > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
.hj-balloon { position: absolute; right: 8px; top: 10px; width: 66%; font-size: clamp(.8rem, 6.4cqi, 1.45rem); padding: 1.8em 17%; }
.night-copy p { font-size: 1.06rem; max-width: 52ch; margin-top: 14px; color: #e5e2fb; }
.night-copy strong { color: var(--pumpkin); font-weight: 800; }
.costume-row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
  margin: 24px 0 6px;
}
.costume-row li {
  background: var(--violet); border: 3px solid var(--ink); border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.costume-row li:nth-child(even) { background: var(--pumpkin); }
.costume-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; padding: 6px 4px 0; }
.costume-row span {
  width: 100%; text-align: center; background: var(--ink); color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 1.15; padding: 4px 2px;
}

/* sisters */
.sisters { display: grid; gap: calc(var(--gap) + 10px); grid-template-columns: 1fr; }
.sister { overflow: visible; padding: 0; }
.sister > img:first-child { width: 100%; aspect-ratio: 1400 / 891; object-fit: cover; border-radius: 2px; }
.sister figcaption {
  position: absolute; left: 12px; bottom: -18px;
  background: var(--paper); border: 3px solid var(--ink); padding: 6px 12px 4px;
  display: flex; flex-direction: column; line-height: 1;
  transform: rotate(-2deg);
}
.sister-name { font-family: var(--display); font-size: 1.8rem; }
.sister-role { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--violet); margin-top: 2px; }
.pet {
  position: absolute; right: 4%; bottom: -22px; width: 20%; max-width: 120px;
  filter: drop-shadow(0 6px 6px rgba(18, 15, 28, .3));
}

/* mage roster */
.roster { display: grid; gap: 18px; grid-template-columns: 1fr; }
.roster-stage {
  --tone: var(--cyan);
  background-color: var(--tone);
  background-image: radial-gradient(rgba(18,15,28,.13) 22%, transparent 24%);
  background-size: 11px 11px;
  min-height: 420px; overflow: hidden;
  display: grid; place-items: end center;
  transition: background-color .35s var(--ease-out);
}
.roster-stage img { width: min(78%, 380px); margin-bottom: -4%; filter: drop-shadow(0 10px 12px rgba(18,15,28,.3)); }
.roster-stage img.swap { animation: none; }
@keyframes mage-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.roster-card {
  position: absolute; left: 12px; top: 12px;
  background: var(--paper); border: 3px solid var(--ink); padding: 8px 12px 6px;
  display: flex; flex-direction: column; line-height: 1; transform: rotate(-2deg);
}
.roster-name { font-family: var(--display); font-size: 2.2rem; }
.roster-role { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--violet); margin-top: 4px; }
.roster-picks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.roster-picks button {
  width: 100%; cursor: pointer; padding: 0;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .15s var(--ease-out), background-color .2s;
}
.roster-picks img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 4%; }
.roster-picks span { font-family: var(--display); font-size: .72rem; padding: 2px 0 4px; }
.roster-picks button:hover { transform: translateY(-3px); }
.roster-picks button[aria-pressed="true"] { background: var(--gold); transform: translateY(-3px); border-width: 4px; }

/* horde */
.horde {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  padding: 14px;
}
.horde li {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.horde img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: contain; padding: 8px 6px 0; }
.horde li:nth-child(4n+1) { transform: rotate(-1.5deg); }
.horde li:nth-child(4n+3) { transform: rotate(1.2deg); }
.horde span {
  width: 100%; text-align: center; background: var(--ink); color: #fff;
  font-size: .74rem; font-weight: 700; line-height: 1.15; padding: 5px 3px 4px;
}

/* finale */
.finale { max-width: var(--wrap); margin-inline: auto; padding: 72px 16px 40px; }
.finale-panel { overflow: hidden; min-height: 720px; display: flex; align-items: flex-start; padding: 14px; }
.finale-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; z-index: -1; }
.finale-caption { width: 100%; max-width: 620px; }

.sfx-count {
  position: absolute; right: 4%; top: auto; bottom: 36%; left: auto; z-index: 2;
  font-size: clamp(2.8rem, 13vw, 5.4rem); color: var(--gold);
  transform: rotate(-7deg) skewX(-6deg);
}

.boss-scene { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; }
.boss-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.55); transform-origin: 50% 0; }

/* sticky install dock (phones) */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 14px;
  padding: 8px 8px 8px 10px;
  box-shadow: 0 6px 18px rgba(18, 15, 28, .25);
  transform: translateY(140%); transition: transform .35s var(--ease-out);
}
.dock.is-on { transform: none; }
.dock img { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--ink); }
.dock p { display: flex; flex-direction: column; line-height: 1.1; }
.dock strong { font-family: var(--display); font-weight: 400; font-size: 1.05rem; }
.dock span { font-size: .78rem; font-weight: 700; color: #57507a; }

/* footer */
.footer { background: var(--ink); color: #d9d6f5; padding: 34px 16px 110px; margin-top: 30px; }
.footer-row { max-width: var(--wrap); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.footer-logo { width: 130px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer nav a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--magenta); font-weight: 700; }
.footer-legal { max-width: var(--wrap); margin: 18px auto 0; font-size: .78rem; color: #9a95bd; }

/* ——— Entrance: the one authored moment ——— */
/* sisters, posed (2026-10-13) */
.sisters { row-gap: 48px; }
.sister { display: flex; flex-direction: column; align-items: center; padding: 34px 12px 0; min-height: 0; }
.sister .sister-art { width: min(62%, 300px); height: auto; aspect-ratio: auto; margin-bottom: -6px; filter: drop-shadow(0 10px 12px rgba(18, 15, 28, .3)); }
.sister figcaption { position: relative; left: auto; bottom: auto; align-self: stretch; margin: 0 -12px -18px; transform: rotate(-1deg); max-width: none; }
.sister-bio { font-family: var(--body, inherit); font-size: .95rem; font-weight: 500; line-height: 1.35; text-transform: none; letter-spacing: 0; color: #3a3550; margin-top: 8px; max-width: 46ch; }
.sister .pet { right: 4%; bottom: 96px; }
.sister-badge {
  position: absolute; top: -14px; left: 14px; margin: 0;
  font-family: var(--display); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--magenta); color: #fff; border: 3px solid var(--ink); padding: 4px 10px 2px; transform: rotate(-3deg);
}
.unlock { margin-top: calc(var(--gap) + 30px); }
.unlock-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1; }
.unlock-steps { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: step; }
.unlock-steps li { counter-increment: step; position: relative; padding-left: 46px; line-height: 1.4; max-width: 62ch; }
.unlock-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px;
  display: grid; place-items: center; font-family: var(--display); font-size: 1.2rem;
  background: var(--gold); border: 3px solid var(--ink); border-radius: 50%;
}
.unlock-note { margin: 14px 0 0; font-size: .92rem; color: #3a3550; }
.roster-picks img { object-position: 50% 30%; }

/* "coming soon" store state — no App Store link until pre-order is approved (owner, 2026-10-13) */
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border-radius: 10px;
  padding: 7px 14px 7px 11px; min-height: 52px; cursor: default;
}
.soon-badge svg { width: 26px; height: 26px; flex: none; }
.soon-badge span { display: grid; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: 1.32rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.soon-badge small { font-size: .62rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 2px; }
.btn-soon { cursor: default; }
.btn-soon:hover, .btn-soon:active { transform: none; }

/* story cold open (story-first, 2026-10-13) */
.story {
  max-width: var(--wrap); margin-inline: auto;
  padding: 72px 16px 8px;
  display: grid; gap: 104px;
}
.story-panel { position: relative; }
.story-frame {
  border: var(--line-thick) solid var(--ink); border-radius: 6px;
  overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy);
  box-shadow: 0 16px 34px rgba(18, 15, 28, .18);
}
.story-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-first .story-frame { max-height: calc(100svh - 230px); width: 100%; }
.story-first .story-art { object-position: 50% 32%; }
.story-mages .story-art { object-position: 50% 70%; }
.story-tilt-l .story-frame { transform: rotate(-.7deg); }
.story-tilt-r .story-frame { transform: rotate(.6deg); }
.narr {
  position: absolute; z-index: 2;
  max-width: min(84%, 560px);
  background: var(--brand-blue); color: #fff;
  border: 3px solid var(--ink); border-radius: 4px;
  padding: 9px 14px 7px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.15rem, 3.7vw, 2rem); line-height: 1.08;
  letter-spacing: .005em; text-wrap: balance;
  box-shadow: 5px 5px 0 var(--ink);
}
.narr-top { top: 0; left: 12px; transform: translateY(-58%) rotate(-1.4deg); }
.narr-bottom { bottom: 0; right: 12px; transform: translateY(58%) rotate(1deg); text-align: right; }
.narr-white { background: var(--paper); color: var(--ink); }
.narr-magenta { background: var(--brand-red); color: #fff; }
.narr-magenta strong { color: var(--ink); font-weight: 400; background: var(--amber); padding: 0 6px; border-radius: 4px; }
h1.narr { font-size: clamp(1.45rem, 5.2vw, 2.9rem); }
.narr .tagline-hash { padding: 2px 8px 0; }
.story-sfx {
  position: absolute; right: 4%; top: 16%; z-index: 2;
  font-family: var(--display); font-size: clamp(2.6rem, 11vw, 6rem); line-height: .85;
  color: var(--lime); -webkit-text-stroke: 9px var(--ink); paint-order: stroke fill;
  transform: rotate(8deg) skewX(-6deg);
}
.story-balloon {
  position: absolute; z-index: 2; left: 3%; top: 4%;
  width: 34%; max-width: 300px; font-size: clamp(.8rem, 3vw, 1.2rem); padding: 1.1em 2.1em; /* em, not %: % padding is measured against the whole panel */
}
.story-link {
  justify-self: center; margin-top: -30px;
  font-family: var(--display); font-size: clamp(.9rem, 2.6vw, 1.1rem); letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; padding: 6px 14px 4px;
  transition: transform .15s var(--ease-out);
}
.story-link:hover { transform: translateY(-2px); }
.scroll-cue {
  justify-self: center; margin-top: -26px;
  font-family: var(--display); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.scroll-cue span { display: inline-block; }
.story-turn {
  justify-self: center; text-align: center; max-width: 30ch;
  font-family: var(--display); font-size: clamp(1.35rem, 4.6vw, 2.4rem); line-height: 1.1; color: var(--ink);
  text-wrap: balance;
  border-top: 6px solid var(--brand-blue); padding: 20px 16px 0;
}
.story-turn strong { font-weight: 400; color: var(--brand-red); }
.story-turn a {
  display: inline-block; margin-top: 18px; padding: 7px 16px 5px;
  border: 3px solid var(--ink); border-radius: 999px;
  background: var(--amber); color: var(--ink);
  font-size: clamp(.9rem, 2.5vw, 1.05rem); letter-spacing: .03em;
  text-decoration: none; text-transform: uppercase;
}
.story-turn a:hover { background: var(--brand-blue); color: #fff; }
/* All four story frames share the page edges. */
@media (min-width: 1100px) {
  .story { gap: 80px; }
  .story-mages { margin-bottom: 38px; }
  .story-turn { margin-top: 12px; }
}
@media (max-width: 559px) {
  .story { gap: 104px; padding-top: 56px; }
  .narr { max-width: 92%; }
  .narr-top { left: 8px; }
  .narr-bottom { right: 8px; }
  .story-mages .story-frame { aspect-ratio: 1 / 1; }
  .story-balloon { width: 46%; left: 3%; top: 4%; }
  .story-tilt-l .story-frame, .story-tilt-r .story-frame,
  .splash, .blast, .sister.tilt-l, .sister.tilt-r { transform: none; }
  .costume-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .costume-row li { grid-column: span 2; }
  .costume-row li:nth-child(4) { grid-column: 2 / span 2; }
  .costume-row img { min-height: 88px; }
  .costume-row span { font-size: .75rem; min-height: 2.45em; display: grid; place-items: center; }
  .lineup-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup-row span { font-size: 1rem; }
  .lineup-row small { font-size: .82rem; }
  .roster-picks { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
  .roster-picks > * { grid-column: span 2; }
  .roster-picks > :nth-child(5) { grid-column: 2 / span 2; }
  .roster-picks span { font-size: .85rem; }
  .horde { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .horde span { font-size: .88rem; min-height: 2.4em; display: grid; place-items: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue span { animation: cue-bob 1.4s ease-in-out infinite; }
  .story-first .narr-bottom { animation: fade-up .6s var(--ease-out) .6s both; }
}
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (prefers-reduced-motion: no-preference) {
  .roster-stage img.swap { animation: mage-in .45s var(--ease-out); }
  .splash-boss { animation: boss-rise .7s var(--ease-out) .05s both; }
  .splash-balloon { animation: pop .45s var(--ease-out) .55s both; }
  .blast-mage { animation: boss-rise .6s var(--ease-out) .7s both; }
  .sfx { animation: slam .5s var(--ease-out) 1s both; }
  .hero-caption { animation: fade-up .6s var(--ease-out) 1.2s both; }
  .boss-panel .balloon { transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
  .boss-panel.await .balloon { opacity: 0; transform: scale(.6); }
}
@keyframes boss-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.5) rotate(-6deg); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes slam { 0% { opacity: 0; transform: rotate(-9deg) skewX(-6deg) scale(2.2); filter: blur(6px); } 100% { opacity: 1; transform: rotate(-9deg) skewX(-6deg); filter: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ——— Larger screens ——— */
@media (min-width: 560px) {
  .lineup-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .horde { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .costume-row span { font-size: .78rem; }
}
@media (min-width: 760px) {
  .nav { display: flex; }
  .btn-pill { margin-left: 8px; }
  .brand img { width: 140px; }
  .spread { grid-template-columns: 1.08fr 1fr; padding-top: 40px; align-items: stretch; }
  .splash { min-height: clamp(380px, 46vh, 470px); margin-top: 56px; }
  .blast { min-height: clamp(380px, 46vh, 470px); margin-top: 56px; }
  .splash-balloon { top: 54px; left: 12px; }
  .sfx { top: 8%; bottom: auto; }
  .blast-mage { top: auto; bottom: -5%; height: 108%; right: 0; }
  .tag-right { left: auto; right: 12px; top: auto; bottom: 12px; transform: rotate(2deg); }
  .hero-caption { display: grid; }
  .night-spread { padding: 36px 40px; }
  .boss-strip { row-gap: var(--gap); padding-top: 120px; }
  .spread { padding-top: 28px; }
  .hero-caption { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px 28px; align-items: end; padding: 26px 28px; }
  .hero-caption .store-row { grid-column: 2; grid-row: 1 / span 2; margin: 0; justify-content: flex-end; align-self: center; }
  .boss-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sisters { grid-template-columns: 1fr 1fr; }
  .night-spread { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
  .roster { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .roster-picks { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
  .roster-picks > * { grid-column: span 2; }
  .roster-picks > :nth-child(5) { grid-column: 2 / span 2; } /* 7 faces: 4 + 3, second row centred */
  .roster-picks span { font-size: .9rem; }
  .roster-stage { min-height: 560px; }
  .horde { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 18px; }
  .dock { left: auto; right: 20px; width: 340px; }
  .finale-panel { min-height: 560px; padding: 28px; }
  .finale-panel { min-height: 640px; }
  .finale-art { object-position: 50% 70%; }
}
@media (min-width: 1100px) {
  .splash-balloon { left: 22px; top: 30px; }
  .boss-panel .balloon { left: 10px; right: 10px; }
}
@media (min-width: 560px) and (max-width: 1099px) {
  .night-spread { grid-template-columns: 1fr; }
  .hj-panel { width: min(100%, 430px); justify-self: center; }
  .night-copy { width: 100%; }
  .roster { grid-template-columns: 1fr; }
  .roster-stage { min-height: 470px; }
  .roster-picks { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .roster-picks > *, .roster-picks > :nth-child(5) { grid-column: auto; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .boss-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 128px; padding-top: 112px; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .lineup-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .horde { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
