/* ─────────────────────────────────────────────
   Permanent Way — concept
   One family (Bricolage Grotesque), dark midnight ground,
   colour comes from the artwork: lion gold, banner red,
   temple teal, dusk violet.
   ───────────────────────────────────────────── */

:root {
  --ink: #0F1322;
  --ink-2: #161B2E;
  --ink-3: #1F2540;
  --bone: #EDE4D0;
  --bone-dim: rgba(237, 228, 208, .62);
  --line: rgba(237, 228, 208, .12);
  --gold: #D8A548;
  --red: #B8382C;
  --teal: #3E9BA7;
  --violet: #5E4A85;

  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --display: "opsz" 96, "wdth" 84, "wght" 800;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  background: var(--ink); color: var(--bone);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  font-variation-settings: "opsz" 14, "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap; border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1A1204; }
.btn-gold:hover { background: #E7B65C; }
.btn-ghost { border-color: rgba(237,228,208,.3); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone); }

/* round icon button, used by shelf + lightbox */
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(237,228,208,.25); background: rgba(15,19,34,.6); color: var(--bone);
  cursor: pointer; transition: border-color .2s, color .2s, opacity .2s, background .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn:disabled:hover { border-color: rgba(237,228,208,.25); color: var(--bone); }

.ink-gold { background: linear-gradient(92deg, #F0C56A 0%, var(--gold) 45%, #B98530 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Header ── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 18px var(--gutter);
  background: linear-gradient(rgba(15,19,34,.85), rgba(15,19,34,0));
  transition: background .3s, padding .3s;
}
.top.is-solid { background: rgba(15,19,34,.94); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.brand img { height: 30px; width: auto; }
.menu { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; font-weight: 500; font-size: 15px; }
.menu a { opacity: .78; padding: 6px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { opacity: 1; border-color: var(--gold); }
.burger, .sheet { display: none; }

/* ── Page hero (inner pages) ── */
.page-hero { position: relative; padding: 150px var(--gutter) clamp(40px, 6vw, 80px); overflow: hidden; }
.page-hero.has-art { min-height: min(78svh, 720px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero .art { position: absolute; inset: 0; z-index: -1; background: var(--art) var(--pos, center) / cover no-repeat; }
.page-hero .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, rgba(15,19,34,.55) 45%, rgba(15,19,34,.15) 100%); }
.page-hero h1 { font-size: clamp(44px, 7vw, 104px); font-variation-settings: var(--display); letter-spacing: -.03em; line-height: .92; max-width: 14ch; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lede { margin-top: 20px; max-width: 58ch; font-size: clamp(17px, 1.4vw, 20px); }
.page-hero .kicker { color: var(--bone-dim); font-weight: 500; margin-bottom: 14px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Home hero: three worlds ── */
.hero { position: relative; height: 100svh; min-height: 640px; }
.worlds { position: absolute; inset: 0; display: flex; --open: 6; --closed: 1; }
.world {
  position: relative; flex: var(--closed) 1 0; min-width: 72px;
  overflow: hidden; cursor: pointer;
  transition: flex 1s var(--ease);
  border-right: 1px solid rgba(15,19,34,.9);
  --tone: var(--teal);
}
.world[data-tone="baboo"] { --tone: var(--violet); }
.world[data-tone="sword"] { --tone: var(--red); }
.world.is-open { flex: var(--open) 1 0; cursor: default; }
.world-art {
  position: absolute; inset: 0;
  background: var(--art) var(--pos, center 30%) / cover no-repeat;
  filter: saturate(.55) brightness(.6); transform: scale(1.06);
  transition: filter 1s var(--ease), transform 1.4s var(--ease);
}
.world.is-open .world-art { filter: saturate(1) brightness(.92); transform: scale(1); }
.world::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(15,19,34,.96) 0%, rgba(15,19,34,.55) 38%, rgba(15,19,34,0) 70%),
    linear-gradient(to right, color-mix(in oklab, var(--tone) 40%, transparent), transparent 60%);
}
.world-tab {
  position: absolute; left: 50%; bottom: 40px; z-index: 2;
  transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-weight: 600; font-size: 15px; letter-spacing: .02em; opacity: .9; transition: opacity .4s;
}
.world.is-open .world-tab { opacity: 0; pointer-events: none; }
.world-body {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 6vh, 72px); z-index: 2;
  max-width: 560px; opacity: 0; transform: translateY(24px);
  transition: opacity .6s .35s, transform .8s .35s var(--ease);
}
.world.is-open .world-body { opacity: 1; transform: none; }
.world-kicker { color: color-mix(in oklab, var(--tone) 60%, var(--bone)); font-weight: 500; margin-bottom: 14px; }
.world-body h2 { font-size: clamp(44px, 6.5vw, 96px); font-variation-settings: var(--display); letter-spacing: -.03em; line-height: .92; margin-bottom: 18px; }
.world-body h2 em { font-style: normal; color: var(--gold); }
.world-body p { max-width: 46ch; }
.platforms { margin-top: 14px; color: var(--bone-dim); font-size: 15px; }
.world-body .btn { margin-top: 22px; }

.hero-copy { position: absolute; left: var(--gutter); top: clamp(96px, 14vh, 150px); z-index: 3; max-width: 640px; pointer-events: none; }
.hero-copy h1 { font-size: clamp(38px, 4.6vw, 66px); font-variation-settings: "opsz" 96, "wdth" 90, "wght" 700; line-height: .98; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(15,19,34,.9); }
.hero-copy p { margin-top: 18px; max-width: 52ch; text-shadow: 0 1px 18px rgba(15,19,34,1); font-size: 16px; }
.intro-short { display: none; }
.switcher { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .worlds .world { animation: wipe 1.1s var(--ease) both; }
  .worlds .world:nth-child(2) { animation-delay: .12s; }
  .worlds .world:nth-child(3) { animation-delay: .24s; }
  .hero-copy { animation: rise 1s .7s var(--ease) both; }
  @keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ── Launch countdown ── */
.launch { position: relative; padding-block: 0; overflow: hidden; border-block: 1px solid rgba(216,165,72,.22); }
.launch-bg { position: absolute; inset: 0; background: url('img/theme/games/blood-of-mehran-scr-1.webp') 60% 40% / cover no-repeat; filter: saturate(.6); }
.launch-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,19,34,.97) 0%, rgba(15,19,34,.9) 45%, rgba(15,19,34,.55) 100%), linear-gradient(to top, rgba(15,19,34,.6), transparent 40%); }
.launch-inner { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 6vw, 88px) var(--gutter); }
.launch-art { perspective: 900px; }
.launch-lion { width: clamp(130px, 15vw, 210px); height: auto; border-radius: 6px; transform: rotateY(14deg) rotateX(2deg); box-shadow: -24px 40px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(237,228,208,.08); transition: transform .8s var(--ease); }
.launch:hover .launch-lion { transform: rotateY(6deg); }
.launch-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.launch-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,165,72,.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(216,165,72,0); } }
.launch-lead { font-size: clamp(26px, 3vw, 44px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1; max-width: 18ch; }
.launch-lead span { color: var(--gold); }
.count { display: flex; gap: 8px; margin: 26px 0 28px; }
.count > div { display: grid; justify-items: center; gap: 4px; min-width: clamp(64px, 7vw, 104px); padding: 14px 10px 12px; border-radius: 10px; background: rgba(237,228,208,.05); border: 1px solid rgba(237,228,208,.12); backdrop-filter: blur(6px); }
.count b { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; font-variation-settings: var(--display); font-variant-numeric: tabular-nums; color: var(--bone); letter-spacing: -.02em; }
.count span { color: var(--bone-dim); font-size: 12px; letter-spacing: .02em; }
.launch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stores-row { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--bone-dim); font-size: 14px; font-weight: 500; }
.stores-row li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 2px; opacity: .8; }

/* ── Sections ── */
section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { padding-inline: var(--gutter); margin-bottom: clamp(28px, 4vw, 56px); display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-head > div { max-width: 900px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 62px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1; }
.section-head p { margin-top: 14px; color: var(--bone-dim); max-width: 56ch; }
.section-head .more { flex: none; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; margin-bottom: 6px; }
.alt { background: var(--ink-2); }
.tight { padding-top: 0; }

/* ── Games shelf ── */
.games { padding-bottom: clamp(40px, 6vw, 80px); }
.shelf {
  display: flex; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.cover { flex: 0 0 auto; width: clamp(180px, 20vw, 260px); margin: 0; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.cover-wide { width: clamp(300px, 36vw, 460px); align-content: end; }
.cover img { width: 100%; aspect-ratio: 714 / 1000; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); transition: transform .5s var(--ease); }
.cover-wide img { aspect-ratio: 16 / 9; }
.cover:hover img { transform: translateY(-6px); }
.cover figcaption { display: grid; font-size: 15px; }
.cover figcaption b { font-weight: 600; }
.cover figcaption span { color: var(--bone-dim); font-size: 14px; }

.shelf-controls { display: flex; align-items: center; gap: 16px; padding: 28px var(--gutter) 0; }
.shelf-controls .arrows { display: flex; gap: 8px; }
.progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.progress i { position: absolute; top: 0; left: 0; height: 100%; width: 30%; background: var(--gold); border-radius: 2px; transition: left .25s var(--ease), width .25s var(--ease); }
.shelf-controls .counter { font-variant-numeric: tabular-nums; color: var(--bone-dim); font-size: 14px; min-width: 5ch; text-align: right; }

/* ── Tile grids (games page) ── */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; display: grid; gap: 12px; align-content: start; }
.tile img { width: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); transition: transform .5s var(--ease); }
.tile.portrait img { aspect-ratio: 714 / 1000; }
.tile.wide img { aspect-ratio: 16 / 9; }
.tile:hover img { transform: translateY(-6px); }
.tile b { font-weight: 600; font-size: 18px; }
.tile span { color: var(--bone-dim); font-size: 15px; }
.tile .status { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(15,19,34,.8); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.tile .status.gold { background: var(--gold); color: #1A1204; border-color: var(--gold); }

/* ── Film posters (home) ── */
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter); }
.poster { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); --tone: var(--gold); isolation: isolate; }
.poster[data-tone="sorrow"] { --tone: var(--red); }
.poster[data-tone="petra"] { --tone: var(--teal); }
.poster-art { position: absolute; inset: 0; background: var(--art) var(--pos, center) / cover no-repeat; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,19,34,.98) 0%, rgba(15,19,34,.75) 32%, rgba(15,19,34,.05) 62%), linear-gradient(to bottom, color-mix(in oklab, var(--tone) 25%, transparent), transparent 40%); }
.poster-logo { position: absolute; left: 22px; right: 22px; top: 22px; z-index: 2; width: 58%; max-height: 90px; object-fit: contain; object-position: left top; filter: drop-shadow(0 12px 24px rgba(0,0,0,.6)); }
.poster-body { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: grid; gap: 8px; }
.poster-award { color: var(--tone); font-size: 13px; font-weight: 600; }
.poster h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.poster-body p:not(.poster-award) { color: var(--bone-dim); font-size: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.poster:hover .poster-art, .poster:focus-visible .poster-art { transform: scale(1.05); filter: saturate(1); }
.poster:hover .poster-body p:not(.poster-award), .poster:focus-visible .poster-body p:not(.poster-award) { max-height: 6em; opacity: 1; }

/* ── Filmography ── */
.filmography { list-style: none; margin: 0; padding: 0 var(--gutter); }
.film { display: grid; grid-template-columns: 220px 1fr auto; gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); --tone: var(--gold); }
.film:last-child { border-bottom: 1px solid var(--line); }
.film[data-tone="sorrow"] { --tone: var(--red); }
.film[data-tone="petra"] { --tone: var(--teal); }
.film-logo { width: 220px; max-height: 110px; object-fit: contain; object-position: left center; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.film-meta h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.film-meta p { margin-top: 8px; color: var(--bone-dim); max-width: 60ch; }
.film-award { text-align: right; font-weight: 600; line-height: 1.25; white-space: nowrap; color: var(--tone); }
.film-award small { display: block; font-weight: 400; color: var(--bone-dim); font-size: 14px; margin-top: 2px; }

/* film feature block (animation page) */
.features { padding-top: 0; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 96px) var(--gutter); --tone: var(--gold); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature[data-tone="sorrow"] { --tone: var(--red); }
.feature[data-tone="petra"] { --tone: var(--teal); }
.feature:nth-child(even) .feature-art { order: 2; }
.feature-art { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--ink-3); box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(237,228,208,.08); }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--tone) 22%, transparent), transparent 45%); pointer-events: none; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature-art img { transform: scale(1.04); }
.feature-body { display: grid; gap: 14px; justify-items: start; }
.feature-logo { width: min(260px, 60%); max-height: 120px; object-fit: contain; object-position: left; filter: drop-shadow(0 14px 28px rgba(0,0,0,.6)); margin-bottom: 6px; }
.feature-body h2 { font-size: clamp(30px, 3.4vw, 48px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1; }
.feature-body .meta { color: var(--tone); font-weight: 600; display: grid; }
.feature-body .meta small { color: var(--bone-dim); font-weight: 400; font-size: 13px; }
.feature-body p { max-width: 52ch; }
.feature-body .facts-row { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
.feature-body .facts-row div { display: grid; font-size: 15px; font-weight: 600; }
.feature-body .facts-row span { color: var(--bone-dim); font-size: 13px; font-weight: 400; margin-top: 2px; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ── Film bands (animation page) ── */
.bands { padding-block: 0; }
.band { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 82vh; overflow: hidden; --tone: var(--gold); border-bottom: 1px solid var(--line); }
.band[data-tone="sorrow"] { --tone: var(--red); }
.band#sorrow .band-art { filter: saturate(1.1) brightness(1.35) contrast(1.05); }
.band#sorrow .band-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 70%, rgba(184,56,44,.35), transparent 55%); }
.band[data-tone="petra"] { --tone: var(--teal); }
.band#sword .band-wordmark { display: none; }
.band#sword .band-wordmark + h2 { position: static; width: auto; height: auto; clip: auto; }
@media (min-width: 961px) {
  .band#sword .band-art { background-size: auto 100%; background-position: left center; background-color: var(--ink); }
  .band#sword .band-art::after { background: linear-gradient(to top, rgba(15,19,34,.5), transparent 40%); }
}
.band-art { position: absolute; inset: 0; background: var(--art) var(--pos, center) / cover no-repeat; filter: saturate(.9); }
.band-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,19,34,.97) 0%, rgba(15,19,34,.85) 40%, rgba(15,19,34,.15) 75%, rgba(15,19,34,.05) 100%), linear-gradient(to top, rgba(15,19,34,.6), transparent 30%); }
.band-flip { grid-template-columns: 1fr 1.1fr; }
.band-flip .band-art::after { background: linear-gradient(270deg, rgba(15,19,34,.97) 0%, rgba(15,19,34,.85) 40%, rgba(15,19,34,.15) 75%, rgba(15,19,34,.05) 100%), linear-gradient(to top, rgba(15,19,34,.6), transparent 30%); }
.band-flip .band-body { grid-column: 2; }
.band-body { position: relative; z-index: 1; display: grid; gap: 18px; align-content: center; justify-items: start; padding: clamp(56px, 8vw, 120px) var(--gutter); max-width: 640px; }
.band-logo { width: min(280px, 60%); max-height: 130px; object-fit: contain; object-position: left; filter: drop-shadow(0 16px 30px rgba(0,0,0,.6)); }
.band-wordmark { font-size: clamp(34px, 3.6vw, 52px); font-variation-settings: var(--display); letter-spacing: -.03em; line-height: .95; color: var(--gold); }
.band h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.band-wordmark + h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.award-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--tone) 55%, transparent); background: color-mix(in oklab, var(--tone) 12%, transparent); }
.award-badge svg { width: 18px; height: 18px; color: var(--tone); flex: none; }
.award-badge span { display: grid; line-height: 1.15; }
.award-badge b { font-size: 14px; font-weight: 600; }
.award-badge small { font-size: 12px; color: var(--bone-dim); }
.band-synopsis { max-width: 52ch; color: var(--bone); font-size: 17px; }
.band-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.band-facts div { display: grid; padding: 10px 14px; border-radius: 8px; background: rgba(237,228,208,.05); border: 1px solid var(--line); min-width: 110px; }
.band-facts b { font-weight: 600; font-size: 15px; }
.band-facts span { color: var(--bone-dim); font-size: 12px; margin-top: 2px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.subnav { position: sticky; top: 0; z-index: 10; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gutter); background: rgba(15,19,34,.9); backdrop-filter: blur(10px); border-block: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 48px); }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--bone-dim); transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--gold); border-color: rgba(216,165,72,.5); }

/* ── Gallery ── */
.mosaic { display: grid; gap: 8px; padding-inline: var(--gutter); grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; }
.shot { position: relative; margin: 0; overflow: hidden; border-radius: 4px; cursor: zoom-in; background: var(--ink-3); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; font-size: 14px; font-weight: 500; background: linear-gradient(to top, rgba(15,19,34,.9), transparent); opacity: 0; transition: opacity .3s; }
.shot:hover figcaption, .shot:focus-visible figcaption { opacity: 1; }
.shot.tall { grid-row: span 2; }
.shot.wide { grid-column: span 2; }
.gallery-strip-ui { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); background: #080A12; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.lightbox > * { min-width: 0; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); color: var(--bone-dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 clamp(72px, 8vw, 120px); min-height: 0; overflow: hidden; touch-action: pan-y; }
.lightbox-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 200px); object-fit: contain; border-radius: 4px; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lightbox-stage .icon-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-stage .prev { left: var(--gutter); }
.lightbox-stage .next { right: var(--gutter); }
.lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter) 24px; }
.lightbox-bottom p { font-weight: 500; }
.lightbox-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; max-width: 100%; }
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumbs button { flex: 0 0 auto; width: 64px; height: 40px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; opacity: .5; cursor: pointer; background: none; transition: opacity .2s, border-color .2s; }
.lightbox-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumbs button.is-active { opacity: 1; border-color: var(--gold); }

/* ── News ── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); padding-inline: var(--gutter); }
.post { display: grid; gap: 10px; align-content: start; }
.post img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.post time { color: var(--bone-dim); font-size: 14px; }
.post h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-decoration: underline transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.post:hover h3 { text-decoration-color: var(--gold); }
.post p { color: var(--bone-dim); font-size: 15px; }
.posts.list { grid-template-columns: 1fr; gap: 0; max-width: 980px; }
.posts.list .post { grid-template-columns: 280px 1fr; column-gap: 32px; row-gap: 6px; padding: 28px 0; border-top: 1px solid var(--line); }
.posts.list .post img { grid-row: 1 / 4; margin: 0; }
.posts.list .post:last-child { border-bottom: 1px solid var(--line); }

/* news front */
.lead-story { display: grid; grid-template-columns: 1.5fr 1fr; margin-inline: var(--gutter); border-radius: 10px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.lead-art { min-height: 380px; background: var(--art) center / cover; transition: transform 1s var(--ease); }
.lead-story:hover .lead-art { transform: scale(1.02); }
.lead-body { padding: clamp(24px, 3vw, 48px); display: grid; align-content: center; gap: 14px; }
.lead-body h2 { font-size: clamp(28px, 3vw, 44px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1.02; }
.lead-body p:not(.tag-row) { color: var(--bone-dim); max-width: 44ch; }
.lead-body .btn { justify-self: start; margin-top: 8px; }
.tag-row { display: flex; align-items: center; gap: 12px; color: var(--bone-dim); font-size: 14px; }
.tag { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(216,165,72,.45); color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.post .tag-row { margin-top: 2px; }
.post .read { color: var(--bone-dim); font-size: 13px; }
.post.is-hidden { display: none; }
.empty { padding-inline: var(--gutter); color: var(--bone-dim); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--bone-dim); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--bone); color: var(--bone); }
.filters button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #1A1204; }
.newsletter { background: linear-gradient(90deg, #1B1220, var(--ink-2) 55%, var(--ink)); border-block: 1px solid rgba(216,165,72,.22); padding-block: clamp(40px, 6vw, 72px); }
.newsletter-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-inline: var(--gutter); }
.newsletter h2 { font-size: clamp(26px, 3vw, 40px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }
.newsletter p { color: var(--bone-dim); max-width: 48ch; }
.form.inline { grid-template-columns: 1fr auto; align-items: end; }
.form.inline .btn { justify-self: stretch; }

/* article
.article-wrap { padding-top: 150px; }
.article { max-width: 720px; padding: 0 var(--gutter); margin: 0 auto; }
.article time { color: var(--bone-dim); font-size: 15px; }
.article h1 { font-size: clamp(34px, 4.4vw, 58px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1.02; margin: 12px 0 28px; }
.article .cover-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 36px; }
.article p { margin-bottom: 20px; font-size: 18px; line-height: 1.6; }
.article h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 36px 0 12px; }
.article blockquote { margin: 32px 0; padding-left: 20px; border-left: 3px solid var(--gold); font-size: 22px; font-weight: 500; line-height: 1.35; }
.article .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.article .tags a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--bone-dim); }

/* ── Studio ── */
.studio { position: relative; overflow: hidden; }
.studio-bg { position: absolute; inset: 0; background: url('img/theme/games/legend-of-baboo-keyart.webp') 80% 40% / cover no-repeat; opacity: .12; filter: saturate(.6); mask-image: linear-gradient(to left, #000 20%, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 70%); }
.studio-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-inline: var(--gutter); align-items: center; }
.studio-copy h2 { font-size: clamp(32px, 3.8vw, 56px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 24px; }
.studio-copy h2 span { color: var(--gold); }
.studio-copy p { max-width: 56ch; margin-bottom: 16px; color: var(--bone-dim); }
.studio-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.collage { position: relative; aspect-ratio: 1; }
.collage img { position: absolute; width: 60%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(237,228,208,.1); transition: transform .8s var(--ease); }
.collage img:nth-child(1) { left: 0; top: 8%; transform: rotate(-4deg); z-index: 1; }
.collage img:nth-child(2) { right: 0; top: 0; transform: rotate(3deg); z-index: 2; width: 52%; }
.collage img:nth-child(3) { left: 22%; bottom: 6%; transform: rotate(-1deg); z-index: 3; width: 62%; }
.collage:hover img:nth-child(1) { transform: rotate(-6deg) translateY(-6px); }
.collage:hover img:nth-child(2) { transform: rotate(5deg) translateY(-6px); }
.collage:hover img:nth-child(3) { transform: rotate(0) translateY(-8px); }
.collage-pin { position: absolute; right: 4%; bottom: 0; z-index: 4; padding: 8px 14px; border-radius: 999px; background: var(--ink); border: 1px solid rgba(216,165,72,.4); color: var(--gold); font-size: 13px; font-weight: 600; }
.collage-pin::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: clamp(40px, 6vw, 80px) var(--gutter) 0; }
.stats > div { padding: 22px 24px; border-radius: 12px; background: rgba(237,228,208,.04); border: 1px solid var(--line); }
.stats dd { margin: 0; font-size: clamp(38px, 4vw, 60px); line-height: 1; font-variation-settings: var(--display); letter-spacing: -.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stats dt { color: var(--bone-dim); font-size: 14px; margin-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.facts > div { padding: 22px 0; border-top: 1px solid rgba(237,228,208,.15); }
.facts dt { color: var(--bone-dim); font-size: 14px; }
.facts dd { margin: 4px 0 0; font-size: clamp(40px, 4.5vw, 64px); line-height: 1; font-variation-settings: var(--display); letter-spacing: -.02em; color: var(--gold); }

/* about page */
.about-hero h1 em { font-style: normal; color: var(--gold); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 36px 0 0; max-width: 820px; }
.hero-stats > div { padding: 16px 18px; border-radius: 10px; background: rgba(15,19,34,.55); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.hero-stats dd { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; font-variation-settings: var(--display); color: var(--gold); letter-spacing: -.02em; }
.hero-stats dt { color: var(--bone-dim); font-size: 13px; margin-top: 6px; }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); padding-inline: var(--gutter); align-items: center; }
.story-copy h2 { font-size: clamp(30px, 3.4vw, 48px); font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 20px; }
.story-copy h2 span { color: var(--gold); }
.story-copy p { color: var(--bone-dim); margin-bottom: 14px; max-width: 56ch; }
.story-copy blockquote { margin: 24px 0 0; padding: 18px 0 0 20px; border-left: 3px solid var(--gold); font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--bone); max-width: 40ch; }
.story-copy blockquote footer { margin-top: 10px; font-size: 14px; font-weight: 400; color: var(--bone-dim); }
.make { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter); }
.make-card { position: relative; display: block; min-height: 380px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.make-art { position: absolute; inset: 0; background: var(--art) var(--pos, center) / cover no-repeat; transition: transform 1.2s var(--ease); }
.make-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,19,34,.97) 0%, rgba(15,19,34,.6) 45%, rgba(15,19,34,.1) 100%); }
.make-card:hover .make-art { transform: scale(1.04); }
.make-body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; display: grid; gap: 10px; }
.make-body h3 { font-size: clamp(28px, 3vw, 44px); font-variation-settings: var(--display); letter-spacing: -.03em; line-height: 1; }
.make-body p { color: var(--bone); max-width: 44ch; font-size: 15px; }
.make-link { color: var(--gold); font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(216,165,72,.5); justify-self: start; padding-bottom: 2px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); padding-inline: var(--gutter); }
.values div { padding: 26px 24px; border-radius: 12px; background: rgba(237,228,208,.04); border: 1px solid var(--line); }
.values svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; }
.values h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.values p { color: var(--bone-dim); font-size: 15px; }
.years { overflow: hidden; }
.rail { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; position: relative; }
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: 0 0 clamp(240px, 22vw, 300px); scroll-snap-align: start; display: grid; gap: 12px; align-content: start; padding-top: 22px; position: relative; }
.rail li::before { content: ""; position: absolute; left: 0; right: -16px; top: 0; height: 1px; background: var(--line); }
.rail li::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,165,72,.18); }
.rail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.rail b { font-size: 26px; font-variation-settings: var(--display); color: var(--gold); line-height: 1; letter-spacing: -.02em; }
.rail p { color: var(--bone-dim); font-size: 15px; }
.roles { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; }
.roles li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.roles li:last-child { border-bottom: 1px solid var(--line); }
.roles li > div { display: grid; gap: 2px; }
.roles b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.roles li > div span { color: var(--bone-dim); font-size: 14px; }
.role-meta { color: var(--bone-dim); font-size: 14px; }
.contact-card { display: grid; gap: 22px; padding: 24px; border-radius: 12px; background: rgba(237,228,208,.04); border: 1px solid var(--line); align-content: start; }
.contact-map { position: relative; aspect-ratio: 16 / 8; border-radius: 8px; overflow: hidden; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 50% 55%, rgba(216,165,72,.35), transparent 30%), repeating-linear-gradient(0deg, rgba(237,228,208,.05) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(237,228,208,.05) 0 1px, transparent 1px 28px), var(--ink-3); }
.contact-map::before { content: ""; position: absolute; left: 50%; top: 55%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(216,165,72,.25); }
.contact-map span { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 48px; }
.contact-map small { color: var(--bone-dim); font-size: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* about page extras */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding-inline: var(--gutter); }
.contact address { font-style: normal; display: grid; gap: 14px; align-content: start; }
.contact address a { font-weight: 500; }
.contact address a:hover { color: var(--gold); }
.contact address small { display: block; color: var(--bone-dim); font-size: 14px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--bone-dim); }
.form input, .form textarea, .form select { font: inherit; color: var(--bone); background: var(--ink-3); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; }
.form .note { font-size: 13px; color: var(--bone-dim); }

/* game page */
.game-summary { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); padding-inline: var(--gutter); }
.game-summary .lead { font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 20px; }
.game-summary p + p { margin-top: 14px; }
.spec > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.spec span { color: var(--bone-dim); }
.spec .stores { display: flex; flex-wrap: wrap; gap: 8px; }
.spec .stores a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 14px; }
.spec .stores a:hover { border-color: var(--gold); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); padding-inline: var(--gutter); }
.pillars div { padding: 24px; border-radius: 8px; background: var(--ink-3); }
.pillars h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.02em; }
.pillars p { color: var(--bone-dim); font-size: 15px; }
.next-up { display: grid; grid-template-columns: 1fr 1fr; padding-inline: var(--gutter); gap: 16px; }
.next-up a { position: relative; display: block; aspect-ratio: 16 / 7; border-radius: 8px; overflow: hidden; background: var(--art) var(--pos, center) / cover; }
.next-up a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,19,34,.95), transparent 70%); }
.next-up a > div { position: absolute; left: 24px; bottom: 20px; z-index: 1; }
.next-up span { display: block; color: var(--bone-dim); font-size: 14px; }
.next-up b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); font-size: 15px; background: linear-gradient(to bottom, var(--ink), #0B0E1A); }
.foot-top { position: relative; overflow: hidden; display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.foot-top-art { position: absolute; inset: 0; background: url('img/theme/games/blood-of-mehran-scr-3.webp') 70% 30% / cover no-repeat; opacity: .14; filter: saturate(.6); mask-image: linear-gradient(to left, #000, transparent 65%); -webkit-mask-image: linear-gradient(to left, #000, transparent 65%); }
.foot-line { position: relative; font-size: clamp(40px, 6.4vw, 96px); font-variation-settings: var(--display); letter-spacing: -.035em; line-height: .92; }
.foot-sub { position: relative; margin-top: 18px; color: var(--bone-dim); max-width: 44ch; }
.foot-cta { position: relative; display: grid; gap: 12px; justify-items: end; }
.foot-link { color: var(--bone-dim); font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.foot-link:hover { color: var(--gold); border-color: var(--gold); }
.wordmark { margin: 0; padding: 0 var(--gutter); font-size: clamp(64px, 13.5vw, 200px); font-variation-settings: "opsz" 96, "wdth" 80, "wght" 800; letter-spacing: -.04em; line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(237,228,208,.14); user-select: none; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr; gap: 32px; padding: clamp(32px, 4vw, 56px) var(--gutter); }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col b { font-weight: 600; margin-bottom: 4px; }
.foot-col a, .foot-col span { color: var(--bone-dim); }
.foot-col a:hover { color: var(--gold); }
.foot-social { justify-items: start; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--bone); transition: border-color .2s, color .2s, background .2s; }
.social a svg { width: 18px; height: 18px; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.foot-social img { height: 26px; width: auto; margin-top: 18px; opacity: .8; }
.foot-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px var(--gutter) 28px; border-top: 1px solid var(--line); color: var(--bone-dim); font-size: 13px; }
.foot-small { display: flex; gap: 18px; }
.foot-small a:hover { color: var(--gold); }

/* ── Tablet ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .story, .make { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .film { grid-template-columns: 160px 1fr; }
  .film-logo { width: 160px; }
  .film-award { grid-column: 2; text-align: left; }
  .posts { grid-template-columns: 1fr; }
  .launch-inner { grid-template-columns: 1fr; }
  .posters { grid-template-columns: 1fr 1fr; }
  .studio-grid, .feature, .contact, .game-summary, .next-up, .lead-story, .newsletter-inner { grid-template-columns: 1fr; }
  .band, .band-flip { grid-template-columns: 1fr; min-height: 0; }
  .band-flip .band-body { grid-column: 1; }
  .band-art { inset: 0 0 auto 0; height: 460px; background-image: var(--mart, var(--art)); background-position: var(--mpos, var(--pos)); background-size: cover; }
  .band#sepehr .band-art { height: 600px; }
  .band#sepehr .band-body { padding-top: 560px; }
  .band#sepehr .band-logo { display: none; }
  .band#sword .band-art { height: 600px; }
  .band#sword .band-body { padding-top: 560px; }
  .band#sword .band-wordmark { display: none; }
  .band#sword .band-wordmark + h2 { position: static; width: auto; height: auto; clip: auto; }
  .band-art::after, .band-flip .band-art::after { background: linear-gradient(to top, var(--ink) 0%, rgba(15,19,34,.6) 22%, rgba(15,19,34,.05) 55%, rgba(15,19,34,.25) 100%); }
  .band-body { padding-top: 400px; max-width: none; }
  .lead-art { min-height: 260px; }
  .feature:nth-child(even) .feature-art { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-cta { justify-items: start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .collage { max-width: 420px; }
  .posts.list .post { grid-template-columns: 1fr; }
  .posts.list .post img { grid-row: auto; }
}

/* ── Phone ── */
@media (max-width: 720px) {
  .top { padding: 14px var(--gutter); }
  .brand img { height: 26px; }
  .menu, .top-cta { display: none; }
  .burger { display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center; background: rgba(15,19,34,.45); border: 1px solid rgba(237,228,208,.18); border-radius: 50%; cursor: pointer; padding: 0; }
  .burger span { display: block; width: 18px; height: 2px; background: var(--bone); transition: transform .22s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .sheet {
    position: fixed; inset: 0; z-index: 15; overflow-y: auto;
    display: flex; flex-direction: column; gap: 20px;
    padding: 84px var(--gutter) 28px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .26s var(--ease), visibility 0s .26s; will-change: opacity, transform;
  }
  .sheet.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .26s var(--ease), visibility 0s; }
  .sheet-art {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url('img/theme/games/blood-of-mehran-scr-3.webp') 66% 30% / cover no-repeat;
    opacity: .18; filter: saturate(.7);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  }
  .sheet-nav { display: grid; }
  .sheet-nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateX(-12px);
    transition: opacity .35s ease, transform .45s var(--ease);
  }
  .sheet.is-open .sheet-nav a { opacity: 1; transform: none; }
  .sheet.is-open .sheet-nav a:nth-child(1) { transition-delay: .08s; }
  .sheet.is-open .sheet-nav a:nth-child(2) { transition-delay: .13s; }
  .sheet.is-open .sheet-nav a:nth-child(3) { transition-delay: .18s; }
  .sheet.is-open .sheet-nav a:nth-child(4) { transition-delay: .23s; }
  .sheet.is-open .sheet-nav a:nth-child(5) { transition-delay: .28s; }
  .sheet-nav a span { display: grid; gap: 3px; }
  .sheet-nav a b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variation-settings: "opsz" 96, "wdth" 86, "wght" 700; }
  .sheet-nav a small { font-size: 13px; color: var(--bone-dim); }
  .sheet-nav a svg { width: 22px; height: 22px; flex: none; color: var(--bone-dim); }
  .sheet-nav a[aria-current="page"] b { color: var(--gold); }
  .sheet-nav a[aria-current="page"] svg { color: var(--gold); }
  .sheet-feature {
    display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 14px;
    padding: 12px 14px; border-radius: 12px;
    background: linear-gradient(90deg, rgba(216,165,72,.16), rgba(216,165,72,.04)); border: 1px solid rgba(216,165,72,.35);
    opacity: 0; transform: translateY(10px); transition: opacity .35s ease .34s, transform .45s var(--ease) .34s;
  }
  .sheet.is-open .sheet-feature { opacity: 1; transform: none; }
  .sheet-feature img { width: 48px; height: 60px; object-fit: cover; border-radius: 4px; }
  .sheet-feature div { display: grid; gap: 2px; min-width: 0; }
  .sheet-feature small { color: var(--gold); font-size: 12px; font-weight: 600; }
  .sheet-feature b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
  .sheet-feature span { color: var(--bone-dim); font-size: 13px; }
  .sheet-feature svg { width: 20px; height: 20px; color: var(--gold); }
  .sheet-foot { margin-top: auto; display: grid; gap: 14px; opacity: 0; transition: opacity .35s ease .4s; }
  .sheet.is-open .sheet-foot { opacity: 1; }
  .sheet-foot .social a { width: 40px; height: 40px; }
  .sheet-foot > a { color: var(--bone-dim); font-size: 14px; }

  /* home hero as a swipe stage */
  .hero { height: 100svh; min-height: 560px; }
  .worlds { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .worlds::-webkit-scrollbar { display: none; }
  .world, .world.is-open { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; border-right: 0; cursor: default; transition: none; }
  .world-art { filter: none; transform: none; }
  .world::after { background: linear-gradient(to top, rgba(15,19,34,.98) 0%, rgba(15,19,34,.7) 34%, rgba(15,19,34,.05) 60%), linear-gradient(to bottom, rgba(15,19,34,.9) 0%, rgba(15,19,34,0) 38%); }
  .world-tab { display: none; }
  .world-body { opacity: 1; transform: none; bottom: 96px; max-width: none; text-align: center; }
  .world-body h2 { font-size: clamp(42px, 12.5vw, 60px); margin-bottom: 12px; }
  .world-body p { font-size: 16px; max-width: none; margin-inline: auto; }
  .platforms { margin-top: 10px; font-size: 14px; }
  .world-kicker { margin-bottom: 10px; font-size: 15px; }
  .world-body .btn { display: none; }
  .hero-copy { top: 78px; right: var(--gutter); max-width: none; text-align: center; }
  .hero-copy h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .intro-long { display: none; }
  .intro-short { display: block; }
  .hero-copy p { margin-top: 10px; font-size: 15px; color: var(--bone-dim); }
  .switcher { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .switcher button { display: grid; gap: 7px; padding: 0; background: none; border: 0; color: var(--bone-dim); font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; }
  .switcher button i { display: block; height: 46px; border-radius: 8px; border: 1px solid rgba(237,228,208,.18); background: var(--thumb) var(--tpos, center) / cover no-repeat; filter: brightness(.55) saturate(.7); transition: filter .4s, border-color .4s, transform .4s var(--ease); }
  .switcher button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
  .switcher button b { display: block; height: 2px; border-radius: 2px; background: rgba(237,228,208,.18); overflow: hidden; }
  .switcher button b em { display: block; height: 100%; width: 0; background: var(--gold); }
  .switcher button[aria-selected="true"] { color: var(--bone); }
  .switcher button[aria-selected="true"] i { filter: none; border-color: var(--gold); transform: translateY(-2px); }
  .switcher button[aria-selected="true"] b em { width: 100%; }
  .switcher.is-auto button[aria-selected="true"] b em { width: 0; animation: fill 7s linear forwards; }
  @keyframes fill { to { width: 100%; } }
  .world-body { bottom: 118px; }

  /* inner-page hero */
  body { font-size: 16px; }
  .page-hero { padding: 100px var(--gutter) 32px; text-align: center; align-items: center; }
  .page-hero.has-art { min-height: 62svh; padding-bottom: 28px; }
  .page-hero h1 { max-width: none; font-size: clamp(40px, 12vw, 56px); }
  .page-hero .kicker { font-size: 14px; margin-bottom: 8px; }
  .page-hero .lede { margin: 12px auto 0; font-size: 15px; color: var(--bone-dim); max-width: 34ch; }
  .page-hero .actions { justify-content: center; margin-top: 20px; }
  .article-wrap { padding-top: 96px; }
  .tight { padding-top: 28px; }

  /* rhythm: centred blocks, tighter gaps */
  section { padding-block: 44px; }
  .section-head { flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 20px; }
  .section-head h2 { font-size: clamp(30px, 8.5vw, 38px); }
  .section-head p { font-size: 15px; margin-top: 8px; margin-inline: auto; }

  .launch-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; padding-block: 40px; }
  .launch-bg { background-position: 50% 30%; }
  .launch-bg::after { background: linear-gradient(to top, rgba(15,19,34,.98) 0%, rgba(15,19,34,.9) 60%, rgba(15,19,34,.7) 100%); }
  .launch-lion { width: 120px; transform: none; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
  .launch-tag { margin-bottom: 8px; }
  .launch-lead { font-size: 26px; max-width: 14ch; margin-inline: auto; }
  .count { justify-content: center; gap: 6px; margin: 18px 0 20px; }
  .count > div { min-width: 0; flex: 1 1 0; padding: 12px 4px 10px; }
  .count b { font-size: 32px; }
  .count span { font-size: 11px; }
  .launch-actions { justify-content: center; }
  .launch-actions .btn { padding: .75em 1.2em; font-size: 14px; }
  .stores-row { justify-content: center; gap: 6px 16px; font-size: 13px; margin-top: 18px; }
  .posters { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .posters::-webkit-scrollbar { display: none; }
  .poster { flex: 0 0 78vw; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .poster-logo { left: 18px; top: 18px; width: 55%; max-height: 70px; }
  .poster-body { left: 18px; right: 18px; bottom: 18px; }
  .poster-body p:not(.poster-award) { max-height: 6em; opacity: 1; }
  .poster h3 { font-size: 20px; }
  .cover { width: 150px; }
  .cover-wide { width: 260px; }
  .shelf-controls { padding-top: 20px; flex-wrap: wrap; justify-content: center; }
  .shelf-controls .progress { order: -1; flex: 1 0 100%; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-3:has(.tile.wide) { grid-template-columns: 1fr; gap: 20px; }
  .tile b { font-size: 16px; }
  .tile.wide b { font-size: 20px; }
  .tile span { font-size: 13px; }
  .tile .status { top: 10px; left: 10px; padding: 4px 9px; font-size: 11px; }

  .film { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; text-align: center; justify-items: center; }
  .film-logo { width: 160px; max-height: 84px; object-position: center; }
  .film-meta h3 { font-size: 22px; }
  .film-meta p { font-size: 15px; }
  .film-award { grid-column: 1; text-align: center; }
  .subnav { top: 0; padding: 10px var(--gutter); margin-bottom: 0; }
  .band-art { height: 400px; }
  .band-body { padding: 340px var(--gutter) 36px; gap: 14px; }
  .band#sepehr .band-art, .band#sword .band-art { height: 540px; }
  .band#sepehr .band-body, .band#sword .band-body { padding-top: 500px; }
  .band-logo { width: 55%; max-height: 90px; }
  .band h2 { font-size: 26px; }
  .band-synopsis { font-size: 15px; }
  .band-facts div { min-width: calc(50% - 4px); padding: 8px 12px; }
  .band-actions .btn { padding: .75em 1.2em; font-size: 14px; }
  .feature { padding: 28px var(--gutter) 36px; gap: 18px; }
  .feature-art { border-radius: 10px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }
  .feature-art img { object-position: var(--mpos) !important; }
  .feature-logo { width: 55%; max-height: 90px; }
  .feature-body h2 { font-size: 26px; }
  .feature-body .meta { font-size: 14px; margin-top: 8px; }
  .feature-body p { font-size: 15px; margin-top: 10px; color: var(--bone-dim); }
  .feature-body .facts-row { gap: 12px 24px; margin-top: 6px; padding-top: 14px; }
  .feature-body .facts-row div { font-size: 14px; }
  .feature-actions .btn { padding: .75em 1.2em; font-size: 14px; }

  /* gallery as swipe strip with dots */
  .mosaic { display: flex; gap: 8px; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .mosaic::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 calc(100vw - 2 * var(--gutter)); height: 56vw; scroll-snap-align: start; }
  .shot figcaption { opacity: 1; }
  .gallery-strip-ui { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 16px; }
  .gallery-strip-ui i { width: 6px; height: 6px; border-radius: 50%; background: rgba(237,228,208,.25); transition: background .2s, width .2s; }
  .gallery-strip-ui i.is-active { background: var(--gold); width: 18px; border-radius: 3px; }

  .lightbox-stage { padding: 0 var(--gutter); }
  .lightbox-stage img { max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100dvh - 220px); }
  .lightbox-stage .icon-btn { display: none; }
  .lightbox-bottom { flex-direction: column; align-items: stretch; }
  .lightbox-bottom p { text-align: center; }
  .lightbox-thumbs { justify-content: flex-start; padding-inline: 2px; }

  .posts { gap: 22px; }
  .post { grid-template-columns: 112px 1fr; column-gap: 14px; row-gap: 4px; }
  .post img { grid-row: 1 / 4; aspect-ratio: 1; margin: 0; }
  .post time { font-size: 13px; }
  .post h3 { font-size: 18px; }
  .post p { font-size: 14px; }
  .posts.list .post { grid-template-columns: 112px 1fr; padding: 18px 0; }
  .posts.list .post img { grid-row: 1 / 4; }
  .lead-story { margin-inline: var(--gutter); }
  .lead-art { min-height: 200px; }
  .lead-body { padding: 20px; gap: 10px; }
  .lead-body h2 { font-size: 24px; }
  .lead-body p:not(.tag-row) { font-size: 15px; }
  .filters { justify-content: center; }
  .post .tag-row { font-size: 13px; }
  .post .read { display: none; }
  .form.inline { grid-template-columns: 1fr; }
  .newsletter h2 { font-size: 26px; }
  .article h1 { font-size: 30px; }
  .article p { font-size: 16px; }
  .article blockquote { font-size: 19px; }

  .studio-grid { gap: 28px; }
  .studio-bg { mask-image: linear-gradient(to bottom, #000, transparent 60%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%); background-position: 60% 20%; }
  .studio-copy h2 { font-size: clamp(28px, 8vw, 34px); margin-bottom: 16px; }
  .studio-copy p { font-size: 15px; color: var(--bone-dim); }
  .collage { aspect-ratio: 5 / 4; max-width: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
  .stats > div { padding: 16px; }
  .stats dd { font-size: 34px; }
  .stats dt { font-size: 13px; margin-top: 4px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .facts > div { padding: 14px 0; }
  .facts dd { font-size: 36px; }
  .about-hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 24px; }
  .hero-stats > div { padding: 12px 14px; }
  .hero-stats dd { font-size: 26px; }
  .story { gap: 24px; }
  .story-copy h2 { font-size: 28px; }
  .story-copy p { font-size: 15px; }
  .story-copy blockquote { font-size: 17px; margin-top: 16px; }
  .make-card { min-height: 260px; }
  .make-body { left: 18px; right: 18px; bottom: 18px; }
  .make-body h3 { font-size: 30px; }
  .values { grid-template-columns: 1fr 1fr; gap: 8px; }
  .values div { padding: 18px 16px; }
  .values svg { width: 24px; height: 24px; margin-bottom: 12px; }
  .values h3 { font-size: 17px; margin-bottom: 6px; }
  .values p { font-size: 14px; }
  .rail li { flex-basis: 72vw; }
  .roles li { grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; }
  .roles li .btn { grid-column: 1 / -1; justify-self: stretch; padding: .65em 1em; font-size: 14px; }
  .roles b { font-size: 17px; }
  .contact { gap: 20px; }
  .contact-card { padding: 18px; gap: 18px; }
  .contact address { gap: 12px; font-size: 15px; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .game-summary { gap: 24px; }
  .game-summary .lead { font-size: 19px; margin-bottom: 14px; }
  .game-summary p { font-size: 15px; color: var(--bone-dim); }
  .spec > div { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; font-size: 14px; }
  .pillars { gap: 10px; }
  .pillars div { padding: 18px; }
  .pillars h3 { font-size: 18px; }
  .pillars p { font-size: 14px; }
  .next-up { gap: 10px; }
  .next-up b { font-size: 22px; }
  .next-up a { aspect-ratio: 16 / 9; }

  .foot-top { padding: 44px var(--gutter) 32px; gap: 22px; }
  .foot-top-art { mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); }
  .foot-line { font-size: 38px; }
  .foot-sub { font-size: 14px; margin-top: 12px; }
  .foot-cta { width: 100%; justify-items: stretch; text-align: center; }
  .wordmark { font-size: 15.5vw; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 28px var(--gutter); }
  .foot-col { gap: 6px; font-size: 14px; }
  .foot-col a { overflow-wrap: anywhere; }
  .foot-grid .foot-col:nth-child(3) { grid-column: 1 / -1; }
  .foot-grid .foot-social { grid-column: 1 / -1; }
  .foot-social img { margin-top: 14px; }
  .foot-bar { flex-direction: column; gap: 10px; padding: 18px var(--gutter) 28px; font-size: 12px; }
  .foot-small { gap: 14px; }
}
}
