/* AKOBEN · akoben-game.com. The game's own brand (akoben/promo/src/brand.ts): ink, cream, gold, the kente
   rule; Teko for the lockup and titles, Saira for words, Cormorant Garamond for the epigraph and the
   quotes. Anansi News keeps its own charcoal/cream/gold inside its section. */
@font-face {
  font-family: 'Teko';
  src: url(/fonts/teko-latin-500-normal.woff2) format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Teko';
  src: url(/fonts/teko-latin-600-normal.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Saira';
  src: url(/fonts/saira-latin-400-normal.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Saira';
  src: url(/fonts/saira-latin-500-normal.woff2) format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Saira';
  src: url(/fonts/saira-latin-600-normal.woff2) format('woff2');
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #07080b;
  --ink2: #0e1015;
  --ink3: #151820;
  --line: rgba(244, 239, 226, 0.1);
  --cream: #f4efe2;
  --cream2: rgba(244, 239, 226, 0.78);
  --cream3: rgba(244, 239, 226, 0.6);
  --gold: #f2b705;
  --gold2: #e8c977;
  --green: #0d6b3a;
  --red: #c8371e;
  --laterite: #b4532a;
  --meridian: #9fe6ff;
  --an-char: #1a1a1a;
  --an-gold: #d4a853;
  --an-cream: #fdfbf7;
  --display: 'Teko', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Saira', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --kente: repeating-linear-gradient(
    90deg,
    var(--gold) 0 18px,
    #111 18px 20px,
    var(--green) 20px 30px,
    #111 30px 32px,
    var(--red) 32px 42px,
    #111 42px 44px,
    var(--gold) 44px 50px,
    #1e4e9c 50px 56px,
    #111 56px 58px
  );
  --wrap: 1200px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--gold2);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}
.wrap.narrow {
  width: min(760px, calc(100% - 48px));
}
.center {
  text-align: center;
}
.sym {
  width: 22px;
  height: 26px;
  color: var(--gold);
  fill: currentColor;
  flex: none;
}
.sym.big {
  width: 70px;
  height: 84px;
  margin: 0 auto 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 500 22px/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px 9px;
  border: 2px solid rgba(244, 239, 226, 0.4);
  background: rgba(7, 8, 11, 0.35);
  color: var(--cream);
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: #ffd23f;
  border-color: #ffd23f;
}
.btn-ghost:hover {
  background: rgba(242, 183, 5, 0.12);
}
.btn-lg {
  font-size: 26px;
  padding: 16px 32px 11px;
}
.btn-sm {
  font-size: 18px;
  padding: 8px 16px 5px;
}
.btn-an {
  background: var(--an-gold);
  border-color: var(--an-gold);
  color: var(--an-char);
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: none;
  padding: 13px 20px;
}
.btn-an:hover {
  background: #e2bd70;
  border-color: #e2bd70;
}
.tri {
  width: 0;
  height: 0;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-top: -3px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 0;
}
.cta.center {
  justify-content: center;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(24px, calc((100% - var(--wrap)) / 2));
  background: linear-gradient(rgba(7, 8, 11, 0.75), rgba(7, 8, 11, 0));
  transition:
    background 0.3s,
    padding 0.3s;
}
.nav.solid {
  background: rgba(7, 8, 11, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font: 600 30px/1 var(--display);
  letter-spacing: 0.08em;
  padding-top: 4px;
}
.nav nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav nav a {
  color: var(--cream2);
  text-decoration: none;
  font: 500 19px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0 2px;
  border-bottom: 2px solid transparent;
}
.nav nav a:hover {
  color: var(--cream);
  border-bottom-color: var(--gold);
}
@media (max-width: 980px) {
  .nav nav {
    display: none;
  }
  .nav-play {
    margin-left: auto;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: #0b0a0c center / cover no-repeat;
}
.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}
/* the comic key art: figure on the right, calm sky on the left for the lockup; a slow push-in when motion is allowed */
.hero-media img {
  object-fit: cover;
  object-position: 88% 50%;
  transform-origin: 72% 45%;
  animation: hero-push 38s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-push {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-media.play,
  .hero-media.play * {
    animation: none !important;
    will-change: auto;
  }
}

/* ---------- the living comic page (Eddie + MAIN, 1 Nov) ----------
   The resting state is the static splash (the key art + "Who comes?"): that is what reduced motion and no-JS show.
   .hero-media.play runs the sequence once: three panels wipe in like a page being read (0.2 s, 1.3 s, 2.4 s),
   each with its caption and a slow push-in, then at 3.7 s they burst apart over the splash. js/site.js replays it
   when the hero comes back into view after the reader has left it (never in a loop). */
.hero-splash {
  position: absolute;
  inset: 0;
}
.hero-comic {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hc-page {
  position: absolute;
  top: 96px;
  bottom: 64px;
  left: calc(50% + 48px);
  right: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 44fr 56fr;
  gap: 16px;
  padding: 16px;
}
.hc-1 {
  grid-column: 1 / 3;
}
.hc-p {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111;
  border: 3px solid #0e0d0c;
  outline: 2px solid rgba(244, 239, 226, 0.88);
  outline-offset: -1px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
  opacity: 0;
}
.hc-p picture,
.hc-p img {
  display: block;
  width: 100%;
  height: 100%;
}
.hc-p img {
  object-fit: cover;
  transform: scale(1.04);
}
/* halftone, like the printed comic */
.hc-p::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.55) 1px, transparent 1.5px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.32;
}
/* the comic's narration box (akoben-gpu .cx-cap): cream, inked border, hard shadow */
.hc-cap {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  max-width: 82%;
  padding: 6px 11px 7px;
  background: #f4efe2;
  color: #16120f;
  border: 2px solid #16120f;
  box-shadow: 4px 4px 0 #16120f;
  font: 600 15px/1.35 var(--body);
}
.hc-flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    circle at 66% 44%,
    rgba(255, 246, 214, 0.95) 0%,
    rgba(242, 183, 5, 0.5) 24%,
    rgba(242, 183, 5, 0) 58%
  );
}
.hc-who {
  position: absolute;
  right: 6%;
  bottom: 15%;
  padding: 8px 18px 3px;
  background: var(--gold);
  color: #16120f;
  border: 3px solid #16120f;
  box-shadow: 6px 6px 0 #16120f;
  font: 600 46px/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.hero-media.play .hero-splash {
  animation: hc-punch 4.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-media.play .hc-page {
  animation: hc-bg 4.3s linear both;
}
.hero-media.play .hc-1 {
  animation: hc-1 4.3s cubic-bezier(0.25, 0.7, 0.2, 1) both;
}
.hero-media.play .hc-2 {
  animation: hc-2 4.3s cubic-bezier(0.25, 0.7, 0.2, 1) both;
}
.hero-media.play .hc-3 {
  animation: hc-3 4.3s cubic-bezier(0.25, 0.7, 0.2, 1) both;
}
.hero-media.play .hc-p img {
  animation: hc-push 6s linear both;
}
.hero-media.play .hc-2 img {
  animation-delay: 1.1s;
}
.hero-media.play .hc-3 img {
  animation-delay: 2.2s;
}
.hero-media.play .hc-cap {
  animation: hc-cap 0.4s ease-out 0.65s both;
}
.hero-media.play .hc-2 .hc-cap {
  animation-delay: 1.75s;
}
.hero-media.play .hc-3 .hc-cap {
  animation-delay: 2.85s;
}
.hero-media.play .hc-flash {
  animation: hc-flash 4.6s ease-out both;
}
.hero-media.play .hc-who {
  animation: hc-who 4.9s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
@keyframes hc-bg {
  0%,
  86% {
    background: #050506;
  }
  96%,
  100% {
    background: rgba(5, 5, 6, 0);
  }
}
@keyframes hc-1 {
  0%,
  4.6% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    transform: rotate(-0.8deg);
  }
  17.4%,
  86% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: rotate(-0.8deg);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate(-16%, -34%) rotate(-14deg) scale(0.92);
  }
}
@keyframes hc-2 {
  0%,
  30.2% {
    opacity: 1;
    clip-path: inset(0 0 100% 0);
    transform: rotate(1.2deg);
  }
  43%,
  86% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: rotate(1.2deg);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate(-30%, 38%) rotate(12deg) scale(0.92);
  }
}
@keyframes hc-3 {
  0%,
  55.8% {
    opacity: 1;
    clip-path: inset(0 0 0 100%);
    transform: rotate(-1.4deg);
  }
  68.6%,
  86% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: rotate(-1.4deg);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translate(32%, 30%) rotate(16deg) scale(0.92);
  }
}
@keyframes hc-push {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.12);
  }
}
@keyframes hc-cap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes hc-flash {
  0%,
  81% {
    opacity: 0;
  }
  84% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes hc-punch {
  0%,
  82% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes hc-who {
  0%,
  88% {
    opacity: 0;
    transform: rotate(-2deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotate(-2deg) scale(1);
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 11, 0.94) 0%,
      rgba(7, 8, 11, 0.72) 34%,
      rgba(7, 8, 11, 0.15) 70%,
      rgba(7, 8, 11, 0.25) 100%
    ),
    linear-gradient(0deg, var(--ink) 0%, rgba(7, 8, 11, 0) 22%);
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-inner > * {
  max-width: 620px;
}
.kiseki-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream2);
  text-decoration: none;
  font: 500 18px/1 var(--display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 26px;
  padding: 4px 0 3px;
  border-bottom: 1px solid transparent;
}
.kiseki-eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.kiseki-eyebrow b {
  color: var(--cream);
  font-weight: 600;
}
.kiseki-eyebrow i {
  font-style: italic;
  letter-spacing: 0.24em;
}
.kiseki-eyebrow:hover {
  color: var(--cream);
  border-bottom-color: rgba(242, 183, 5, 0.6);
}
.kicker {
  margin: 0;
  font: 500 24px/1 var(--display);
  letter-spacing: 0.6em;
  color: var(--gold);
  text-transform: uppercase;
}
.lockup {
  margin: 6px 0 0;
  font: 600 clamp(96px, 15vw, 196px)/0.8 var(--display);
  letter-spacing: 0.02em;
  color: var(--cream);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
  padding-top: 0.08em;
}
.gloss {
  margin: 4px 0 18px;
  font: italic 500 22px/1.2 var(--serif);
  color: var(--cream2);
}
.kente {
  height: 9px;
  background: var(--kente);
  box-shadow: 0 0 22px rgba(242, 183, 5, 0.3);
  max-width: 520px;
}
.chapter {
  margin: 18px 0 0;
  font: 500 26px/1 var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream2);
}
.chapter b {
  color: var(--gold);
  font-weight: 600;
}
.tagline {
  margin: 10px 0 0;
  font: italic 500 clamp(28px, 3.2vw, 38px)/1.15 var(--serif);
  color: var(--cream);
}
.pitch {
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--cream2);
}
.pitch strong {
  color: var(--cream);
  font-weight: 600;
}
.note {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--cream3);
  letter-spacing: 0.02em;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(244, 239, 226, 0.45);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 720px) {
  /* phones: the lockup, the pitch and PLAY fill the bottom of the first screen (.hero-main); the art and the
     comic strip live in the space above it (--free, measured by js/site.js; 38svh without JS). The gloss,
     the kente rule and the chapter line step aside to keep the pitch above the fold. */
  .hero {
    display: block;
    padding: 0 0 40px;
  }
  .hero-media {
    position: absolute;
    inset: 0 0 auto 0;
    height: 100svh;
  }
  .hero-media img {
    object-position: 50% 0%;
    transform-origin: 50% 20%;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      var(--ink) 0%,
      rgba(7, 8, 11, 0.95) calc(100% - var(--free, 38svh) + 10px),
      rgba(7, 8, 11, 0.35) calc(100% - var(--free, 38svh) + 70px),
      rgba(7, 8, 11, 0) calc(100% - var(--free, 38svh) + 130px)
    );
  }
  .hero-inner {
    padding-top: 0;
  }
  .hero-main {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 14px;
  }
  .hero-main .gloss,
  .hero-main .kente,
  .hero-main .chapter {
    display: none;
  }
  .hero-main .kiseki-eyebrow {
    margin-bottom: 10px;
  }
  .lockup {
    font-size: 76px;
  }
  .tagline {
    font-size: 26px;
    margin-top: 6px;
  }
  .pitch {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 10px;
  }
  .cta {
    margin-top: 16px;
  }
  .hc-page {
    top: 66px;
    left: 12px;
    right: 12px;
    bottom: auto;
    height: max(0px, calc(var(--free, 38svh) - 84px));
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 9px;
    padding: 8px;
  }
  .hc-1 {
    grid-column: auto;
  }
  .hc-cap {
    left: 5px;
    top: 5px;
    max-width: 90%;
    padding: 3px 6px 4px;
    font-size: 10.5px;
    box-shadow: 2px 2px 0 #16120f;
  }
  .hero.tight .hc-page {
    display: none;
  }
  .hc-flash {
    background: radial-gradient(
      circle at 45% 22%,
      rgba(255, 246, 214, 0.95) 0%,
      rgba(242, 183, 5, 0.5) 22%,
      rgba(242, 183, 5, 0) 55%
    );
  }
  .hc-who {
    right: 14px;
    bottom: auto;
    top: max(64px, calc(var(--free, 38svh) - 62px));
    font-size: 28px;
    padding: 6px 12px 2px;
    box-shadow: 4px 4px 0 #16120f;
  }
  .kicker {
    letter-spacing: 0.45em;
    font-size: 20px;
  }
  .kiseki-eyebrow {
    font-size: 15px;
    letter-spacing: 0.24em;
  }
  .btn-lg {
    font-size: 22px;
    padding: 14px 22px 10px;
    width: 100%;
  }
  .scroll-cue {
    display: none;
  }
}

/* ---------- sections ---------- */
section {
  position: relative;
}
.story,
.trailers,
.world,
.cast,
.kit,
.gallery,
.music,
.anansi,
.kiseki,
.final {
  padding: clamp(80px, 11vw, 150px) 0;
}
.eyebrow {
  margin: 0 0 12px;
  font: 500 18px/1 var(--display);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 12px 5px 0;
  background: var(--kente);
  vertical-align: middle;
}
.h2 {
  margin: 0;
  font: 600 clamp(48px, 6.4vw, 84px)/0.9 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.sub {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 18px;
  color: var(--cream2);
}
.sub b {
  color: var(--cream);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* story */
.story {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(180, 83, 42, 0.12), transparent 70%), var(--ink);
  overflow: hidden;
}
.epigraph {
  margin: 0;
  font: 500 clamp(40px, 6vw, 76px)/1.08 var(--serif);
  letter-spacing: -0.005em;
}
.epigraph .line {
  display: block;
}
.epigraph .line + .line {
  color: var(--cream2);
  font-style: italic;
}
.lede {
  margin: 30px 0 0;
  font: 600 clamp(26px, 3vw, 34px)/1.2 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.prose {
  margin-top: 18px;
  font-size: 18.5px;
  color: var(--cream2);
}
.prose b {
  color: var(--cream);
  font-weight: 600;
}
.prose .beat {
  margin-top: 30px;
  font: 500 28px/1.3 var(--serif);
  color: var(--cream);
}
.prose .beat em {
  color: var(--gold2);
}
.prose .aside {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  font-size: 15.5px;
  color: var(--cream3);
}
.comic-strip {
  display: flex;
  gap: 14px;
  margin-top: 70px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.comic-strip figure {
  flex: 0 0 auto;
  width: min(460px, 78vw);
  margin: 0;
  scroll-snap-align: center;
}
.comic-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}
.comic-strip figcaption {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--cream3);
  font-style: italic;
  font-family: var(--serif);
  font-size: 17px;
}

/* trailers */
.trailers {
  background: var(--ink2);
}
.featured {
  margin-top: 36px;
}
.vcard {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  text-align: left;
  color: var(--cream);
  overflow: hidden;
}
.vcard img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    opacity 0.3s;
  opacity: 0.88;
}
.vcard:hover img {
  transform: scale(1.03);
  opacity: 1;
}
.vcard .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  border: 2px solid rgba(244, 239, 226, 0.85);
  background: rgba(7, 8, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    background 0.2s;
}
.vcard .play::after {
  content: '';
  border-left: 24px solid var(--cream);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 6px;
}
.vcard:hover .play {
  transform: scale(1.08);
  background: var(--gold);
  border-color: var(--gold);
}
.vcard:hover .play::after {
  border-left-color: var(--ink);
}
.vcard .meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 22px 16px;
  background: linear-gradient(0deg, rgba(7, 8, 11, 0.92), rgba(7, 8, 11, 0));
}
.vcard .meta b {
  display: block;
  font: 600 34px/0.95 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vcard .meta span {
  font-size: 14.5px;
  color: var(--cream2);
}
.vcard .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font: 500 15px/1 var(--display);
  letter-spacing: 0.2em;
  padding: 6px 9px 3px;
  background: rgba(7, 8, 11, 0.7);
  border-left: 3px solid var(--gold);
  text-transform: uppercase;
}
.vcard .tag.an {
  border-left-color: var(--an-gold);
}
.featured .vcard .meta b {
  font-size: clamp(40px, 5vw, 64px);
}
.featured .vcard .play {
  width: 110px;
  height: 110px;
  margin: -55px 0 0 -55px;
}
.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.vgrid .vcard .meta b {
  font-size: 25px;
}
.vgrid .vcard .meta span {
  font-size: 13px;
}
.vgrid .vcard .play {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
}
.vgrid .vcard .play::after {
  border-left-width: 16px;
  border-top-width: 10px;
  border-bottom-width: 10px;
  margin-left: 4px;
}
.vgrid .vcard.vertical img {
  aspect-ratio: 16 / 9;
  object-position: 50% 30%;
}

/* world */
.world {
  background: linear-gradient(180deg, var(--ink2), var(--ink));
}
.places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.place {
  margin: 0;
  background: var(--ink3);
  border: 1px solid var(--line);
  overflow: hidden;
}
.place img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.place figcaption {
  padding: 18px 20px 22px;
}
.place .k {
  font: 500 15px/1 var(--display);
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
}
.place h3 {
  margin: 6px 0 6px;
  font: 600 38px/0.95 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.place p {
  margin: 0;
  font-size: 15.5px;
  color: var(--cream2);
}
@media (max-width: 900px) {
  .places {
    grid-template-columns: 1fr;
  }
}

/* characters: dossiers */
.cast {
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(13, 107, 58, 0.1), transparent 70%), var(--ink);
}
.dossiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.dossier {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 320px;
  background: var(--ink3);
  border: 1px solid var(--line);
  overflow: hidden;
}
.dossier .pic {
  position: relative;
  overflow: hidden;
}
.dossier .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.dossier:hover .pic img {
  transform: scale(1.04);
}
.dossier .file {
  position: relative;
  padding: 22px 22px 22px 24px;
  display: flex;
  flex-direction: column;
}
.dossier .file::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  background: var(--kente);
  background-size: 3px 58px;
  background-image: repeating-linear-gradient(
    180deg,
    var(--gold) 0 18px,
    var(--green) 18px 30px,
    var(--red) 30px 42px,
    #111 42px 44px
  );
}
.dossier .call {
  font: 500 15px/1 var(--display);
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
}
.dossier h3 {
  margin: 6px 0 4px;
  font: 600 40px/0.9 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.dossier .role {
  margin: 0 0 12px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream3);
}
.dossier p {
  margin: 0;
  font-size: 15.5px;
  color: var(--cream2);
}
.dossier blockquote {
  margin: auto 0 0;
  padding-top: 16px;
  font: italic 500 21px/1.3 var(--serif);
  color: var(--cream);
}
.dossier blockquote cite {
  display: block;
  margin-top: 6px;
  font: normal 500 13px/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream3);
}
.dossier.ama .call {
  color: var(--an-gold);
}
.ai-badge {
  display: inline-block;
  font: 600 11px/1 var(--body);
  letter-spacing: 0.16em;
  color: var(--an-char);
  background: var(--an-gold);
  padding: 4px 7px 3px;
  vertical-align: middle;
}
@media (max-width: 1000px) {
  .dossiers {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .dossier {
    grid-template-columns: 1fr;
  }
  .dossier .pic {
    aspect-ratio: 4 / 3;
  }
}

/* kit */
.kit {
  background: var(--ink2);
}
.verbs {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: v;
}
.verbs li {
  background: var(--ink2);
  padding: 22px 22px 24px;
  counter-increment: v;
  position: relative;
}
.verbs li::before {
  content: counter(v, decimal-leading-zero);
  position: absolute;
  right: 18px;
  top: 18px;
  font: 500 16px/1 var(--display);
  letter-spacing: 0.14em;
  color: var(--cream3);
}
.verbs .vn {
  font: 600 34px/0.95 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
}
.verbs .vg {
  display: block;
  margin: 2px 0 8px;
  font: italic 500 17px/1.2 var(--serif);
  color: var(--gold2);
}
.verbs p {
  margin: 0;
  font-size: 15px;
  color: var(--cream2);
}
.verbs kbd {
  font: 500 14px/1 var(--display);
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid rgba(242, 183, 5, 0.55);
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 3px 6px 1px;
  margin-right: 4px;
}
.verbs .keys {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--cream3);
}

/* gallery */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 18px;
}
.filters button {
  font: 500 18px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px 6px;
  background: transparent;
  color: var(--cream2);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.filters button[aria-selected='true'] {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.grid {
  columns: 3 320px;
  column-gap: 14px;
}
.grid button {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: #000;
  cursor: zoom-in;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
}
.grid img {
  width: 100%;
  height: auto;
  transition:
    transform 0.6s ease,
    opacity 0.3s;
}
.grid button:hover img {
  transform: scale(1.03);
}
.grid .gk {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font: 500 13px/1 var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 7px 2px;
  background: rgba(7, 8, 11, 0.75);
  color: var(--cream2);
}
.grid button[hidden] {
  display: none;
}

/* music */
.music {
  background: radial-gradient(ellipse 70% 60% at 20% 100%, rgba(242, 183, 5, 0.08), transparent 70%), var(--ink);
}
.tracks {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.tracks li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}
.tracks button.tp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(244, 239, 226, 0.5);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tracks button.tp::after {
  content: '';
  border-left: 13px solid currentColor;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}
.tracks li.playing button.tp {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.tracks li.playing button.tp::after {
  border: 0;
  width: 12px;
  height: 14px;
  margin: 0;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.tracks .tn {
  font: 600 28px/1 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tracks .td {
  font-size: 14.5px;
  color: var(--cream3);
}
.tracks .tt {
  font: 500 18px/1 var(--display);
  letter-spacing: 0.1em;
  color: var(--cream3);
}
.tracks .bar {
  grid-column: 2 / 4;
  height: 2px;
  background: var(--line);
  margin-top: -6px;
}
.tracks .bar u {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}

/* anansi */
.anansi {
  background: var(--an-char);
  color: var(--an-cream);
}
.anansi-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.ama {
  margin: 0;
  position: relative;
}
.ama img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(212, 168, 83, 0.35);
}
.ama figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(26, 26, 26, 0.88);
  border-left: 3px solid var(--an-gold);
  font: 600 14px/1 var(--body);
  letter-spacing: 0.08em;
}
.an-word {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font: 700 18px/1 var(--body);
  letter-spacing: 0.2em;
}
.an-word em {
  color: var(--an-gold);
  font-style: normal;
  margin-left: -4px;
}
.an-h {
  margin: 0 0 16px;
  font: 700 clamp(36px, 4.4vw, 54px)/1.05 var(--serif);
  letter-spacing: -0.01em;
}
.anansi-copy p {
  font-size: 17.5px;
  color: rgba(253, 251, 247, 0.82);
}
.anansi-copy b {
  color: var(--an-cream);
}
@media (max-width: 900px) {
  .anansi-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* kiseki */
.kiseki {
  background: linear-gradient(180deg, var(--ink), var(--ink2));
  border-top: 1px solid var(--line);
}
.kiseki-h {
  margin: 0;
  font: 500 clamp(34px, 4.6vw, 54px)/1.1 var(--serif);
}
.kiseki-h a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}
.kiseki-h a:hover {
  color: var(--gold2);
}
.kiseki-tag {
  margin: 12px 0 18px;
  font: italic 500 22px/1.3 var(--serif);
  color: var(--gold2);
}
.kiseki p {
  color: var(--cream2);
  font-size: 17.5px;
}
.kiseki .btn {
  margin-top: 14px;
}

/* final */
.final {
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(242, 183, 5, 0.14), transparent 70%), var(--ink2);
}
.final-h {
  margin: 0;
  font: 600 clamp(56px, 9vw, 120px)/0.9 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* footer */
.foot {
  padding: 56px 0 46px;
  background: #050608;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--cream3);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr;
  gap: 36px;
}
.foot-lock {
  margin: 0;
  font: 600 44px/0.9 var(--display);
  letter-spacing: 0.06em;
  color: var(--cream);
}
.foot-sub {
  margin: 6px 0 12px;
}
.foot-kiseki {
  margin: 0;
  font: 500 18px/1.2 var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream2);
}
.foot-kiseki a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.foot-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-nav a {
  color: var(--cream2);
  text-decoration: none;
}
.foot-nav a:hover {
  color: var(--gold2);
}
.foot-fine p {
  margin: 0 0 10px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* dialogs */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cream);
  max-width: none;
  max-height: none;
}
dialog::backdrop {
  background: rgba(3, 3, 5, 0.92);
  backdrop-filter: blur(4px);
}
.player-box {
  position: relative;
  width: min(1280px, 94vw);
}
.player video {
  width: 100%;
  max-height: 82vh;
  background: #000;
}
.player video.vertical {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.player-meta {
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 10px;
}
.player-meta b {
  font: 600 28px/1 var(--display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.player-meta span {
  color: var(--cream2);
  font-size: 15px;
}
.player-x {
  position: absolute;
  right: -6px;
  top: -48px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 239, 226, 0.4);
  background: rgba(7, 8, 11, 0.6);
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}
.lightbox {
  width: 100vw;
  height: 100vh;
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox figure {
  margin: 0;
  max-width: 92vw;
}
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}
.lightbox figcaption {
  margin-top: 10px;
  text-align: center;
  color: var(--cream2);
  font-size: 15px;
}
.lightbox .player-x {
  position: fixed;
  right: 20px;
  top: 20px;
}
.lb-nav {
  position: fixed;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(244, 239, 226, 0.35);
  border-radius: 50%;
  background: rgba(7, 8, 11, 0.6);
  color: var(--cream);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.lb-prev {
  left: 18px;
}
.lb-next {
  right: 18px;
}
