/* Chessmates: the game's website. The colours, the "//" marks and the three typefaces are the game's own
   (Barlow Condensed Black Italic for headlines, Figtree for text, DSEG7 for the clock).
   The puzzle's pieces are the cburnett set by Colin M.L. Burnett (GPLv2+ / BSD / GFDL). */

@font-face { font-family: "Barlow Cond"; src: url("../assets/fonts/barlow-condensed-black-italic.woff") format("woff"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DSEG7"; src: url("../assets/fonts/dseg7.woff") format("woff"); font-display: swap; }
/* The letters the translations need beyond Latin-1 (Polish, French œ, low quotes): fetched only when the page shows one
   (tools/website/make-lang-fonts.py; keep the range in step with it). */
@font-face { font-family: "Barlow Cond"; src: url("fonts/barlow-condensed-black-italic-ext.woff") format("woff"); font-weight: 900; font-style: italic; font-display: swap; unicode-range: U+0100-017F, U+201A, U+201E, U+2039-203A; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-medium-ext.woff") format("woff"); font-weight: 500; font-display: swap; unicode-range: U+0100-017F, U+201A, U+201E, U+2039-203A; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-bold-ext.woff") format("woff"); font-weight: 700; font-display: swap; unicode-range: U+0100-017F, U+201A, U+201E, U+2039-203A; }

:root {
  --bg: #070a1f;
  --bg-2: #0c1233;
  --panel: #111844;
  --line: rgba(130, 156, 255, .18);
  --line-2: rgba(130, 156, 255, .34);
  --text: #eef1ff;
  --muted: #a6afd8;
  --yellow: #ffcf0a;
  --cyan: #45e3ff;
  --cream: #f4efe1;
  --head: "Barlow Cond", "Arial Narrow", Impact, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: #0a0e2a; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }

/* ---------- type ---------- */
h1, h2, h3, .logo, .btn, .tag, .eyebrow, .cast-role, .place-label b, .solved-mark {
  font-family: var(--head); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .005em;
}
h1 { font-size: clamp(54px, min(7.3vw, 15.5vh), 150px); line-height: .86; white-space: nowrap; }
h2 { font-size: clamp(44px, 6.6vw, 96px); line-height: .9; }
h1 em, h2 em { font-style: inherit; color: var(--yellow); }
h3 { font-size: 30px; line-height: 1; }
h3 i, .logo i, .solved-mark i { font-style: inherit; color: var(--yellow); }
.body { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; }
.body b { color: var(--text); }

.tag { display: flex; align-items: center; gap: 12px; font-size: 20px; color: var(--muted); letter-spacing: .08em; margin-bottom: 22px; }
.tag b {
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px; font-size: 20px; text-transform: none; white-space: nowrap;
  color: var(--cyan); border: 1px solid var(--cyan); border-radius: 6px; letter-spacing: .02em;
  box-shadow: 0 0 18px rgba(69, 227, 255, .25), inset 0 0 12px rgba(69, 227, 255, .12);
}
.center .tag { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px 16px; font-size: 24px; line-height: 1; color: #0a0e2a; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); border-radius: 9px; transform: skewX(-11deg);
  box-shadow: 0 10px 34px rgba(255, 207, 10, .32), inset 0 -4px 0 rgba(0, 0, 0, .14);
  transition: box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { background: #ffdc3d; box-shadow: 0 14px 44px rgba(255, 207, 10, .5), inset 0 -4px 0 rgba(0, 0, 0, .14); }
.btn .arrow { font-family: var(--body); font-style: normal; font-weight: 700; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-small { padding: 11px 20px 10px; font-size: 18px; }
.btn-big { padding: 22px 46px 21px; font-size: 32px; }
@media (max-width: 480px) { .btn-big { padding: 18px 30px 17px; font-size: 25px; } }
.ghost {
  background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 18px; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--muted); transition: color .2s, border-color .2s;
}
.ghost:hover { color: var(--text); border-color: var(--cyan); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 3vw, 34px); transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(7, 10, 31, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.logo { font-size: 28px; text-decoration: none; margin-right: auto; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 15px; font-weight: 700; text-decoration: none; color: var(--text); opacity: .78; transition: opacity .2s; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.nav-links a:hover { opacity: 1; }
@media (max-width: 900px) { .nav-links { display: none; } }
/* On a phone the bar is the name alone: with the store button beside it the bar was wider than the screen. */
@media (max-width: 640px) { .nav .btn { display: none; } }

/* The language picker, at the bar's right end (js/lang.js). The list that opens is the system's own, dark. */
.lang { position: relative; flex: none; display: inline-flex; align-items: center; height: 40px; margin-left: -12px; border-radius: 9px;
  background: rgba(12, 18, 51, .62); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s; }
.lang:hover, .lang:focus-within { border-color: var(--cyan); }
.lang:has(select:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.lang-ico { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: none; stroke: var(--cyan); stroke-width: 1.7; pointer-events: none; }
.lang::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.lang select { appearance: none; -webkit-appearance: none; height: 100%; margin: 0; padding: 0 32px 0 34px; border: 0; border-radius: 9px; background: none;
  font: 700 14.5px/1 var(--body); color: var(--text); cursor: pointer; color-scheme: dark; }
.lang select:focus-visible { outline: none; }
.lang option { background: #0c1233; color: var(--text); }
html:not(.js) .lang { display: none; }
@media (max-width: 640px) { .lang { margin-left: 0; height: 38px; } .lang select { padding: 0 28px 0 31px; font-size: 14px; } .lang-ico { left: 9px; } .lang::after { right: 11px; } }
/* A language other than English is on its way (index.html's <head>): its words are put in before they show. */
.lang-wait [data-i18n] { visibility: hidden; }

/* ---------- the moves down the side ---------- */
.rail { position: fixed; right: 14px; top: 50%; z-index: 40; transform: translateY(-50%); display: none; flex-direction: column; align-items: flex-end; gap: 2px; padding: 12px 6px 8px; border-radius: 12px; background: rgba(7, 10, 31, .58); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rail-cap { margin: 0 8px 8px 0; font: 900 italic 11.5px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); opacity: .8; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.rail a {
  font: 900 italic 14px/1 var(--head); letter-spacing: .03em; text-decoration: none; white-space: nowrap; color: #dfe6ff; opacity: .62; padding: 6px 8px 5px;
  border: 1px solid transparent; border-radius: 5px; text-shadow: 0 1px 8px rgba(0, 0, 0, .85); transition: all .25s;
}
.rail a:hover { opacity: 1; }
.rail-keys { margin: 8px 8px 2px 0; display: inline-flex; align-items: center; gap: 4px; font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #dfe6ff; opacity: .55; }
.rail-keys kbd { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--line-2); border-radius: 4px; font: 700 11px/1 var(--body); }
.rail a.cur { color: var(--yellow); opacity: 1; border-color: var(--yellow); background: rgba(7, 10, 31, .6); box-shadow: 0 0 14px rgba(255, 207, 10, .3); }
@media (min-width: 1500px) { .rail { display: flex; } }

/* ---------- hero: all seven at the table, the words at the picture's foot ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1180px; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-look { position: absolute; inset: 64px -2% -2%; container-type: size; transform: translate3d(var(--px, 0%), var(--py, 0%), 0); transition: transform .6s var(--ease); }
.hero-look img, .hero-look video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* The picture's own frame, cut to cover as the picture is: the stage, the light and the spots are laid out in it. */
.hero-fit { --fw: max(100cqw, 100cqh * 16 / 9); position: absolute; width: var(--fw); height: calc(var(--fw) * 9 / 16); left: calc((100cqw - var(--fw)) / 2); top: calc((100cqh - var(--fw) * 9 / 16) * .55); }
.hero-fit canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s ease; }
.hero-fit canvas.on { opacity: 1; }
/* One of the seven pointed at. Where the page composes the layers itself the stage blurs the rest; over the one clip this
   sheet does: it blurs and dims everything outside a soft oval round the body. */
@property --sx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --sy { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --rx { syntax: "<percentage>"; inherits: false; initial-value: 12%; }
@property --ry { syntax: "<percentage>"; inherits: false; initial-value: 34%; }
.hero-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: rgba(7, 10, 31, .34);
  -webkit-backdrop-filter: blur(3px) saturate(.85); backdrop-filter: blur(3px) saturate(.85);
  -webkit-mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--sx) var(--sy), transparent 0, transparent 62%, #000 100%);
  mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--sx) var(--sy), transparent 0, transparent 62%, #000 100%);
  transition: opacity .35s ease, --sx .35s var(--ease), --sy .35s var(--ease), --rx .35s var(--ease), --ry .35s var(--ease); }
.hero.lit .hero-light { opacity: 1; }
.hero.layered .hero-light { display: none; }
.hero-spots { position: absolute; inset: 0; }
.spot { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 42% 42% 14% 14% / 22% 22% 8% 8%; -webkit-tap-highlight-color: transparent; }
.spot:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; }
.hero-card { --tint: var(--cyan); position: absolute; z-index: 4; left: 0; top: 0; width: max-content; max-width: min(330px, 82vw); padding: 13px 17px 14px; border-radius: 12px;
  background: rgba(9, 13, 40, .86); border: 1px solid color-mix(in srgb, var(--tint) 55%, transparent); box-shadow: 0 14px 44px rgba(0, 0, 0, .5), 0 0 26px color-mix(in srgb, var(--tint) 22%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% + 8px)); transition: opacity .22s ease, transform .3s var(--ease); }
.hero-card::after { content: ""; position: absolute; left: calc(50% + var(--nudge, 0px)); bottom: -7px; width: 12px; height: 12px; margin-left: -6px; background: inherit; border: inherit; border-top: 0; border-left: 0; transform: rotate(45deg); }
.hero-card.on { opacity: 1; transform: translate(-50%, -100%); }
.hero-card-role { font: 900 italic 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--tint); }
.hero-card-name { margin-top: 5px; font: 900 italic 34px/1 var(--head); letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.hero-card-blurb { margin-top: 8px; font-size: 15px; line-height: 1.42; color: #eef1ff; }
.hero-card-quote { margin-top: 8px; padding-left: 10px; border-left: 2px solid color-mix(in srgb, var(--tint) 70%, transparent); font-size: 13.5px; font-style: italic; line-height: 1.4; color: #b9c2ea; }
.hero-card-go { display: inline-block; margin-top: 10px; font: 900 italic 14px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--yellow); }
.hero-card.under { transform: translate(-50%, 8px); }
.hero-card.under.on { transform: translate(-50%, 0); }
.hero-card.under::after { bottom: auto; top: -7px; transform: rotate(225deg); }
@media (hover: none) { .hero-card.on { pointer-events: auto; } }
.hero-look video { opacity: 0; transition: opacity .8s ease; }
.hero-look video.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  radial-gradient(64% 56% at 0% 100%, rgba(7, 10, 31, .94) 0%, rgba(7, 10, 31, .74) 40%, rgba(7, 10, 31, 0) 74%),
  linear-gradient(180deg, var(--bg) 0, var(--bg) 46px, rgba(7, 10, 31, .82) 76px, rgba(7, 10, 31, .3) 112px, rgba(7, 10, 31, 0) 150px, rgba(7, 10, 31, 0) 58%, rgba(7, 10, 31, .5) 78%, rgba(7, 10, 31, .9) 93%, var(--bg) 100%); }
.hero-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-hud .hud-corner.tr { top: 96px; right: clamp(18px, 2.4vw, 34px); }
.hero-hud .hud-corner.br { bottom: 26px; right: clamp(18px, 2.4vw, 34px); }
.hud-pov { position: absolute; right: calc(clamp(18px, 2.4vw, 34px) + 44px); top: 101px; display: inline-flex; align-items: center; gap: 9px; font: 900 italic 14px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: #dfe6ff; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hud-pov i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e; animation: blink 1.4s infinite; }
.hud-corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--cyan); opacity: .9; filter: drop-shadow(0 0 6px rgba(69, 227, 255, .7)); }
.hud-corner.tl { left: 20px; top: 20px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { right: 20px; top: 20px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { left: 20px; bottom: 20px; border-right: 0; border-top: 0; }
.hud-corner.br { right: 20px; bottom: 20px; border-left: 0; border-top: 0; }

.hero-in { pointer-events: none; position: relative; z-index: 3; height: 100%; width: min(1480px, 100% - 2 * clamp(20px, 4vw, 64px)); margin-inline: auto; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 0 clamp(26px, 4.6vh, 56px); }
.hero-copy { max-width: min(620px, 46vw); }
/* Only the buttons take the pointer: the words lie over Tinsel and Morgana, whose spots are under them. */
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero-copy h1 { width: max-content; font-size: clamp(50px, min(5.5vw, 11.6vh), 114px); }
.eyebrow b { padding: 5px 10px 4px; font-size: .92em; letter-spacing: .02em; text-transform: none; white-space: nowrap; color: var(--cyan); border: 1px solid var(--cyan); border-radius: 6px; background: rgba(7, 10, 31, .5); box-shadow: 0 0 18px rgba(69, 227, 255, .25), inset 0 0 12px rgba(69, 227, 255, .12); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .14em; color: var(--cyan); margin-bottom: clamp(10px, 1.8vh, 18px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero h1 { text-shadow: 0 6px 40px rgba(7, 10, 31, .8); }
.lede { margin-top: clamp(10px, 1.6vh, 18px); max-width: 47ch; color: #d3d9f5; font-size: clamp(15.5px, 1.25vw, 18.5px); line-height: 1.5; text-shadow: 0 1px 14px rgba(7, 10, 31, .9); }
.cta-row { margin-top: clamp(16px, 2.4vh, 26px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.sound { display: inline-flex; align-items: center; gap: 11px; cursor: pointer; padding: 13px 18px 12px 15px; border-radius: 9px; background: rgba(12, 18, 51, .62); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 900 italic 19px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--text); transition: border-color .2s, background .2s; }
.sound:hover { border-color: var(--cyan); }
.sound[aria-pressed="true"] { border-color: var(--cyan); background: rgba(69, 227, 255, .14); }
.sound-ico { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.sound-ico i { width: 3px; height: 6px; border-radius: 2px; background: var(--cyan); }
.sound-ico i:nth-child(2) { height: 13px; }
.sound-ico i:nth-child(3) { height: 9px; }
.sound[aria-pressed="true"] .sound-ico i { animation: bars .7s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound-ico i:nth-child(2) { animation-delay: -.35s; }
.sound[aria-pressed="true"] .sound-ico i:nth-child(3) { animation-delay: -.6s; }
@keyframes bars { from { height: 4px; } to { height: 16px; } }

/* The row of faces (the cast's picker). */
.who-row { display: flex; gap: 8px; padding: 8px; border-radius: 16px; background: rgba(7, 10, 31, .66); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.who-btn { position: relative; flex: none; width: 58px; height: 66px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: color-mix(in srgb, var(--tint) 34%, #101742); transition: transform .25s var(--ease), box-shadow .25s; }
.who-btn img { position: absolute; left: 50%; top: 2px; width: 84px; max-width: none; height: auto; transform: translateX(-50%); filter: saturate(.75) brightness(.82); transition: filter .25s; }
.who-btn:hover { transform: translateY(-3px); }
.who-btn:hover img, .who-btn[aria-selected="true"] img { filter: none; }
.who-btn[aria-selected="true"] { box-shadow: 0 0 0 2px var(--yellow), 0 8px 26px rgba(255, 207, 10, .3); }
.who-btn span { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 0 3px; background: linear-gradient(180deg, rgba(7, 10, 31, 0), rgba(7, 10, 31, .9)); font: 900 italic 11.5px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: #fff; text-align: center; }

@media (max-width: 820px) {
  .hero { height: auto; max-height: none; min-height: 0; }
  .hero-media { position: relative; inset: auto; width: 100%; height: 56.25vw; }
  .hero-look { inset: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 10, 31, .75) 0, rgba(7, 10, 31, 0) 14vw, rgba(7, 10, 31, 0) 42vw, var(--bg) 56.25vw); }
  .hero-hud { display: none; }
  .hero-in { height: auto; width: calc(100% - 40px); padding: 0 0 34px; margin-top: -18px; }
  .hero-copy { max-width: none; }
  .hero-copy h1 { font-size: clamp(54px, 15.5vw, 104px); }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(84px, 12vw, 150px) 0; }
.sec-head { margin-bottom: clamp(34px, 5vw, 60px); }
.sec-head .body { margin-top: 22px; }
.sec-head.center .body { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-copy .body { margin-top: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.ticks { margin-top: 30px; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 36px; color: var(--muted); }
.ticks li::before { content: "//"; position: absolute; left: 0; top: -1px; font: 900 italic 22px/1.5 var(--head); color: var(--yellow); }
.ticks b { color: var(--text); }

/* The Shorts beside the words: one in front, two behind it; a tap brings another forward. */
.watch { min-width: 0; }
/* The Shorts behind the front one reach past a phone's edge: cut there, they no longer make the page wider than the screen. */
#table { overflow-x: clip; }
body { overflow-x: clip; }
.watch-tag { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 18px; font: 900 italic 16px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.watch-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e; animation: blink 1.4s infinite; }
.shorts { --w: min(290px, 58vw); position: relative; height: calc(var(--w) * 16 / 9 + 24px); }
.short { position: absolute; left: 50%; top: 12px; width: var(--w); margin: 0 0 0 calc(var(--w) / -2); transition: transform .55s var(--ease), filter .55s; }
.shorts { touch-action: pan-y; }
.shorts.dragging .short { transition: none; }
.short[data-pos="0"] { z-index: 3; transform: translateX(var(--dx, 0px)); }
.short-dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.short-dot { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.short-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s, box-shadow .25s; }
.short-dot[aria-current="true"]::before { background: var(--yellow); transform: scale(1.25); box-shadow: 0 0 10px rgba(255, 207, 10, .5); }
.short[data-pos="-1"] { z-index: 1; transform: translateX(-54%) scale(.8) rotate(-5deg); filter: brightness(.5) saturate(.8); }
.short[data-pos="1"] { z-index: 1; transform: translateX(54%) scale(.8) rotate(5deg); filter: brightness(.5) saturate(.8); }
.short[data-pos="-1"]:hover, .short[data-pos="1"]:hover { filter: brightness(.75); }
.short-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #04061a; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 7px #0d1235, 0 0 0 8px rgba(160, 180, 255, .2), 0 40px 90px rgba(0, 0, 0, .6); transition: box-shadow .4s; }
.short[data-pos="0"] .short-frame { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 7px #0d1235, 0 0 0 8px rgba(255, 207, 10, .55), 0 40px 90px rgba(0, 0, 0, .6), 0 0 90px rgba(255, 207, 10, .14); }
.short video, .short-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; cursor: pointer; border: 0; padding: 0; background: linear-gradient(180deg, rgba(7, 10, 31, 0) 55%, rgba(7, 10, 31, .7) 100%); }
.short-play i { width: 78px; height: 78px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(0, 0, 0, .5), 0 0 0 10px rgba(255, 207, 10, .18); transition: transform .25s var(--ease), opacity .3s; }
.short-play i::before { content: ""; margin-left: 6px; border-left: 24px solid #0a0e2a; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.short-play:hover i { transform: scale(1.08); }
.short:not([data-pos="0"]) .short-play i { opacity: 0; }
.short.playing[data-pos="0"] .short-play { display: none; }
.watch-cap { margin-top: 22px; text-align: center; }
.watch-cap b { display: block; font: 900 italic 28px/1 var(--head); text-transform: uppercase; }
.watch-cap span { display: block; margin-top: 7px; font-size: 15px; color: var(--muted); }
.watch-note { margin: 14px auto 0; max-width: 44ch; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- the band: a scene from the game to the edge of the page, the words on its dark side ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: min(94vh, 940px); padding: clamp(90px, 11vw, 140px) 0; background: var(--bg); }
.band-bg { position: absolute; inset: 0 0 0 auto; width: 76%; z-index: -2; }
.band-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; transition: opacity .8s ease; }
.band-bg img.on { opacity: 1; }
.band-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; transition: opacity .6s ease; }
.band-bg video.on { opacity: 1; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, var(--bg) 0%, var(--bg) 24%, rgba(7, 10, 31, .88) 36%, rgba(7, 10, 31, .3) 52%, rgba(7, 10, 31, 0) 64%),
  linear-gradient(180deg, var(--bg) 0%, rgba(7, 10, 31, 0) 11%, rgba(7, 10, 31, 0) 86%, var(--bg) 100%); }
.band-in { position: relative; }
@media (min-width: 821px) { .band-copy h2 { white-space: nowrap; width: max-content; } }
.band-copy { max-width: 500px; }
.band-copy .body { margin-top: 20px; color: #d0d6f5; }
@media (max-width: 820px) {
  .band { display: block; min-height: 0; padding: 0 0 70px; }
  .band-bg { position: relative; inset: auto; width: 100%; height: 78vw; max-height: 66vh; z-index: 0; }
  .band::after { z-index: 0; background: linear-gradient(180deg, var(--bg) 0, rgba(7, 10, 31, 0) 12vw, rgba(7, 10, 31, 0) 52vw, var(--bg) min(78vw, 66vh)); }
  .band-in { z-index: 1; margin-top: -34px; }
  .band-copy { max-width: none; }
}

/* ---------- cast ---------- */
.cast { --tint: #ff8f5a; }
.cast h2 { font-size: clamp(64px, 9.4vw, 148px); line-height: .84; }
.cast h2 em { color: var(--tint); transition: color .5s; }
.cast-role { margin-top: 10px; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .12em; color: var(--tint); transition: color .5s; }
.cast-quote { margin-top: 22px; padding-left: 18px; border-left: 3px solid var(--tint); font-size: clamp(19px, 1.9vw, 25px); line-height: 1.32; font-style: italic; color: #fff; transition: border-color .5s; }
.cast-hear { margin-top: 20px; font-size: 17px; padding: 11px 16px 10px 13px; }
.cast-facts { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px 34px; }
.cast-facts dt { font: 900 italic 13.5px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cast-facts dd { margin: 6px 0 0; font-weight: 700; font-size: 16.5px; color: var(--text); }
.who-row-cast { margin-top: 30px; width: max-content; max-width: 100%; }
.cast-note { margin-top: 16px; max-width: 46ch; font-size: 14.5px; color: var(--muted); }
.cast .band-copy.swap > :not(.tag):not(.who-row):not(.cast-note) { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(-14px); } }
@media (max-width: 820px) {
  .who-row-cast { overflow-x: auto; scrollbar-width: none; }
  .who-row-cast::-webkit-scrollbar { display: none; }
}

/* ---------- places ---------- */
.place-stage { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(26px, 5vw, 64px); overflow: hidden; background: #04061a; box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px rgba(0, 0, 0, .6), 0 0 120px rgba(69, 227, 255, .1); }
.place-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: 0; transition: opacity .9s ease, transform 6s linear; transform: scale(1.06); }
.place-stage img.on { opacity: 1; transform: scale(1); }
.place-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 10, 31, 0) 52%, rgba(7, 10, 31, .86) 100%); }
.place-label { position: absolute; z-index: 2; left: clamp(22px, 4vw, 54px); bottom: clamp(20px, 3.4vw, 44px); right: 120px; }
.place-label b { display: block; font-size: clamp(30px, 5vw, 68px); line-height: .92; }
.place-label span { display: block; margin-top: 8px; color: #d6dcff; font-size: clamp(14px, 1.4vw, 18px); }
.place-count { position: absolute; z-index: 2; right: clamp(22px, 4vw, 54px); bottom: clamp(22px, 3.6vw, 48px); font: 400 clamp(14px, 1.6vw, 20px)/1 "DSEG7", monospace; color: var(--cyan); text-shadow: 0 0 12px rgba(69, 227, 255, .6); }
.place-stage .hud-corner { z-index: 2; }
.place-stage .hud-corner.tl, .place-stage .hud-corner.tr { top: clamp(20px, 3vw, 40px); }
.place-stage .hud-corner.tl { left: clamp(22px, 4vw, 54px); }
.place-stage .hud-corner.tr { right: clamp(22px, 4vw, 54px); }
.place-chips { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  cursor: pointer; background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 16px 8px; white-space: nowrap;
  font: 900 italic 17px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--cyan); }
.chip[aria-selected="true"] { color: #0a0e2a; background: var(--yellow); border-color: var(--yellow); }
.chip small { margin-left: 8px; font: inherit; font-size: .72em; letter-spacing: .12em; color: var(--cyan); }
.chip[aria-selected="true"] small { color: #0a0e2a; opacity: .7; }

.sets { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.sets h3 { font-size: clamp(32px, 3.5vw, 48px); }
.sets .body { margin-top: 18px; }
.set-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.set-chips .chip { font-size: 15.5px; padding: 8px 13px 7px; }
.sets-stage { position: relative; aspect-ratio: 16 / 11; border-radius: clamp(20px, 3vw, 38px); overflow: hidden; background: #04061a; box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px rgba(0, 0, 0, .55); }
.sets-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.sets-stage img.on { opacity: 1; }
.sets-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 10, 31, 0) 66%, rgba(7, 10, 31, .82) 100%); }
.sets-label { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sets-label b { font: 900 italic clamp(24px, 3vw, 38px)/1 var(--head); text-transform: uppercase; }
.sets-label span { font-size: 15px; color: #d6dcff; }
@media (max-width: 900px) { .sets { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .place-stage { aspect-ratio: 4 / 3.4; }
  .place-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -24px; padding: 0 24px 8px; scrollbar-width: none; }
  .place-chips::-webkit-scrollbar { display: none; }
}

/* ---------- training: the list scrolls, the scene beside it follows ---------- */
.train .sec-head { margin-bottom: clamp(10px, 2vw, 30px); }
.train-grid { width: min(1340px, 100% - 48px); display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(30px, 5vw, 84px); align-items: start; }
@media (min-width: 1500px) { .train-grid { width: min(1340px, 100% - 250px); } }
.modes-wrap { display: flex; gap: clamp(12px, 1.6vw, 26px); min-width: 0; }
.modes { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.mode-nav { position: sticky; top: calc(50vh - 150px); flex: none; align-self: flex-start; width: 46px; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 16vh; }
.mode-arrow { position: relative; width: 46px; height: 46px; padding: 0; cursor: pointer; background: rgba(12, 18, 51, .7); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); transform: skewX(-8deg); transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.mode-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-left: 3px solid currentColor; border-top: 3px solid currentColor; transform: translate(-50%, -28%) rotate(45deg); }
.mode-arrow.down::before { transform: translate(-50%, -72%) rotate(225deg); }
.mode-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: #0a0e2a; }
.mode-arrow.up:hover { transform: skewX(-8deg) translateY(-2px); }
.mode-arrow.down:hover { transform: skewX(-8deg) translateY(2px); }
.mode-ticks { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mode-tick { width: 30px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.mode-tick::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--line-2); transition: width .3s var(--ease), background .3s, box-shadow .3s; }
.mode-tick:hover::before { background: var(--cyan); }
.mode-tick[aria-current="true"]::before { width: 26px; background: var(--yellow); box-shadow: 0 0 12px rgba(255, 207, 10, .7); }
.mode { position: relative; min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0 30px 28px; opacity: .3; transition: opacity .45s ease; }
.mode::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.mode::after { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--yellow); box-shadow: 0 0 14px rgba(255, 207, 10, .7); transform: translateY(-50%); transition: height .5s var(--ease); }
.mode.on { opacity: 1; }
.mode.on::after { height: 46%; }
.mode-no { font: 400 15px/1 "DSEG7", monospace; color: var(--cyan); text-shadow: 0 0 12px rgba(69, 227, 255, .6); letter-spacing: .08em; }
.mode h3 { margin-top: 14px; font-size: clamp(40px, 4.6vw, 66px); line-height: .92; }
.mode-hook { margin-top: 14px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.3; font-weight: 700; color: var(--text); max-width: 28ch; }
.mode-body { margin-top: 12px; color: var(--muted); font-size: 16.5px; max-width: 46ch; }
.mode-facts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.mode-facts li { padding: 7px 12px 6px; border-radius: 6px; background: rgba(69, 227, 255, .08); box-shadow: inset 0 0 0 1px rgba(69, 227, 255, .22); font: 900 italic 14.5px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: #cfe9ff; }
.mode-fig { display: none; }

.stage { position: sticky; top: max(92px, calc(50vh - 17.5vw)); margin-top: 12vh; margin-bottom: calc(12vh + 9vw); container-type: inline-size; }
.stage-frame { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(22px, 3vw, 44px); overflow: hidden; background: #04061a; box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px rgba(0, 0, 0, .6), 0 0 120px rgba(69, 227, 255, .1); }
.stage-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 1.2s var(--ease); }
.stage-frame img.on { opacity: 1; transform: none; }
.stage-frame .hud-corner { z-index: 2; }
.stage-no { position: absolute; z-index: 2; left: 24px; bottom: 20px; font: 400 15px/1 "DSEG7", monospace; color: var(--cyan); text-shadow: 0 0 12px rgba(69, 227, 255, .6); }
.stage-panel { position: absolute; right: -3.5%; bottom: -34%; border-radius: 12px; overflow: hidden; line-height: 0; transform: perspective(900px) rotateY(-9deg) rotateX(3deg) rotate(1.5deg); transform-origin: 100% 100%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 70px rgba(0, 0, 0, .65), 0 0 60px rgba(255, 207, 10, .12); transition: opacity .35s ease, transform .6s var(--ease); }
.stage-panel img { width: auto; height: auto; max-width: 44cqw; max-height: 56cqw; }
.stage-panel.off { opacity: 0; transform: perspective(900px) rotateY(-9deg) rotateX(3deg) rotate(1.5deg) translateY(18px); }

.more { margin-top: clamp(30px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.more li { padding: 26px 26px 6px 0; }
.more li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.more h3 { font-size: 25px; }
.more h3::before { content: "// "; color: var(--yellow); }
.more p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }

@media (max-width: 900px) {
  .train-grid { grid-template-columns: 1fr; }
  .stage, .mode-nav { display: none; }
  .mode { min-height: 0; opacity: 1; padding: 34px 0 34px 22px; }
  .mode::after { height: 46%; }
  .mode-fig { display: block; margin: 22px 0 0; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
  .mode-fig img { width: 100%; height: auto; }
  .more { grid-template-columns: 1fr 1fr; }
  .more li { padding: 22px 18px 6px 0; }
  .more li + li { padding-left: 0; border-left: 0; }
  .more li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .more { grid-template-columns: 1fr; }
  .more li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- the puzzle ---------- */
.sec-try { background: radial-gradient(70% 60% at 70% 50%, rgba(40, 56, 160, .35), transparent 70%); }
.split-try { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) { .split-try { grid-template-columns: 1fr; } }
.coach { margin-top: 26px; display: flex; gap: 14px; align-items: center; padding: 10px 18px 10px 10px; border: 1px solid var(--line-2); border-left: 3px solid var(--yellow); border-radius: 4px 12px 12px 4px; background: rgba(17, 24, 68, .7); min-height: 58px; }
.coach img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; object-position: 50% 4%; background: #26306e; }
.coach > span { display: grid; gap: 5px; }
.coach b { font: 900 italic 15px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.coach span span { color: var(--text); font-size: 16.5px; line-height: 1.4; }
.try-actions { margin-top: 16px; display: flex; gap: 10px; }

.board-wrap { position: relative; }
.board3d { position: relative; width: min(100%, 600px); margin-inline: auto; aspect-ratio: 1 / .86; perspective: 1150px; perspective-origin: 50% 8%; }
.board {
  --tilt: 50deg; position: absolute; left: 6%; top: -3%; width: 88%; aspect-ratio: 1; transform: rotateX(var(--tilt)); transform-style: preserve-3d;
  background: linear-gradient(180deg, #3a342e, #25211d); border-radius: 10px; padding: 2.4%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 80px rgba(0, 0, 0, .65), 0 0 140px rgba(69, 227, 255, .14);
}
.squares, .pieces { position: absolute; inset: 2.4%; }
.squares { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); border-radius: 3px; overflow: hidden; }
.sq { position: relative; cursor: pointer; background: #ece2c8; }
.sq.dark { background: #4b4238; }
.sq::after { content: ""; position: absolute; inset: 0; background: var(--yellow); opacity: 0; transition: opacity .2s; }
.sq.mark::after { opacity: .42; }
.sq.sel::after { opacity: .7; }
.sq.mate::after { background: #ff4d5e; opacity: .7; }
.sq:hover::after { opacity: .22; }
.sq.sel:hover::after { opacity: .7; }
.pieces { transform: translateZ(1px); transform-style: preserve-3d; pointer-events: none; }
.pc { position: absolute; width: 12.5%; height: 12.5%; left: calc(var(--f) * 12.5%); top: calc((7 - var(--r)) * 12.5%); transform-style: preserve-3d; transition: left .5s var(--ease), top .5s var(--ease); }
.pc::before { content: ""; position: absolute; inset: 44% 10% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.pc img {
  position: absolute; left: 4%; bottom: 26%; width: 92%; height: auto; aspect-ratio: 1; max-width: none; transform-origin: 50% 100%;
  transform: translateZ(var(--lift, 0px)) rotateX(calc(var(--tilt) * -1)) scale(1.34); transition: transform .28s var(--ease), opacity .3s;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); -webkit-user-drag: none; user-select: none;
}
.pc.b img { filter: drop-shadow(0 0 1.5px rgba(214, 224, 255, .95)) drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.pc.w img { pointer-events: auto; cursor: pointer; }
.pc.w:hover { --lift: 5px; }
.pc.held { --lift: 22px; }
.pc.gone img { opacity: 0; }
.pc.no img { animation: no .4s; }
@keyframes no {
  25% { transform: translateZ(var(--lift, 0px)) rotateX(calc(var(--tilt) * -1)) scale(1.34) translateX(-9%); }
  75% { transform: translateZ(var(--lift, 0px)) rotateX(calc(var(--tilt) * -1)) scale(1.34) translateX(9%); }
}
.solved { position: absolute; inset: auto 0 2% 0; margin-inline: auto; width: min(100%, 430px); text-align: center; padding: 22px 22px 26px; border-radius: 18px; background: rgba(7, 10, 31, .9); border: 1px solid var(--yellow); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 80px rgba(255, 207, 10, .18); backdrop-filter: blur(10px); animation: pop .5s var(--ease); }
.solved[hidden] { display: none; }
.solved-mark { font-size: 44px; line-height: 1; }
.solved p + p { margin: 8px 0 18px; color: var(--muted); font-size: 16px; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.96); } }

/* ---------- christmas ---------- */
.xmas .tag b { color: #ff6b6b; border-color: #ff6b6b; box-shadow: 0 0 18px rgba(255, 107, 107, .3), inset 0 0 12px rgba(255, 107, 107, .12); }

/* ---------- the wardrobe ---------- */
.wardrobe { margin-top: clamp(50px, 7vw, 110px); padding-top: clamp(150px, 15vw, 230px); }
@media (max-width: 820px) { .wardrobe { padding-top: 0; } }
.wardrobe .band-bg img { object-position: 50% 30%; }
.look-now { margin-top: 26px; font: 900 italic 14px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.look-now span { color: var(--yellow); }
.look-items { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; }
.look-items li { padding: 8px 13px 7px; border-radius: 6px; background: rgba(255, 207, 10, .1); box-shadow: inset 0 0 0 1px rgba(255, 207, 10, .34); font: 900 italic 16px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: #ffe37a; animation: swap .45s var(--ease) backwards; }
.look-items li:nth-child(2) { animation-delay: .06s; }
.look-items li:nth-child(3) { animation-delay: .12s; }
.look-items li:nth-child(4) { animation-delay: .18s; }
.look-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; max-width: 520px; }
.look-chips .chip { font-size: 15.5px; padding: 8px 13px 7px; background: rgba(7, 10, 31, .6); }
.look-chips .chip[aria-selected="true"] { background: var(--yellow); }

/* ---------- the last word ---------- */
.last { min-height: min(80vh, 760px); }
.last .btn { margin-top: 34px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 900 italic 32px/1 var(--head); color: var(--yellow); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 66ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 34px; background: #050717; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-in p { flex: 1 1 280px; color: var(--muted); font-size: 15px; }
.foot .logo { margin-right: 0; }
.foot-legal { width: min(1180px, 100% - 48px); margin: 26px auto 0; font-size: 12.5px; color: #6f79a8; line-height: 1.5; }
/* The privacy policy and support links (tools/website/make-legal-pages.py adds them once the pages exist). */
.foot-links { width: min(1180px, 100% - 48px); margin: 18px auto 0; font-size: 14px; color: var(--muted); }
.foot-links a { color: var(--muted); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .split > .reveal:nth-child(2) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eyebrow .dot, .hud-pov i, .watch-tag i, .sound-ico i { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .place-stage img { transition: opacity .3s; transform: none; }
  .hero-look { transform: none; }
  .hero-light, .hero-card { transition: opacity .2s; }
  .mode { opacity: 1; }
}
