/* ===== RedAce Studios — Editorial Premium ===== */
:root {
  --ink: #0a0a0b;
  --ink-2: #131314;
  --ink-3: #1c1c1e;
  --bone: #f4efe6;
  --bone-2: #ddd5c6;
  --bone-3: #a59f93;
  --crimson: #e1232b;
  --crimson-deep: #9b0d14;
  --crimson-glow: #ff3b44;
  --aged: #d6a85a;
  --line: rgba(244, 239, 230, 0.12);
  --line-strong: rgba(244, 239, 230, 0.22);

  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'Spectral', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--crimson); color: var(--bone); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ----- film grain overlay ----- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* ----- type primitives ----- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-3);
}
.eyebrow-red { color: var(--crimson); }
.display {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 0.92;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.italic-accent { font-style: italic; font-weight: 300; }

/* ----- Layout ----- */
.shell { padding: 0 48px; }
@media (max-width: 800px) { .shell { padding: 0 24px; } }

.rule { height: 1px; background: var(--line); width: 100%; }

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 54px;
  padding: 0 12px 0 22px;
  width: fit-content;
  max-width: calc(100% - 32px);
  background: linear-gradient(135deg, rgba(20,20,22,0.55), rgba(10,10,11,0.4));
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(244,239,230,0.08);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(244,239,230,0.08),
    0 20px 60px -20px rgba(0,0,0,0.6);
}
.nav-mark {
  display: flex;
  align-items: center;
  width: auto;
  min-width: 0;
  height: 34px;
}
.nav-logo {
  display: block;
  width: auto;
  height: 34px;
  max-height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
}
.nav-mark .ace {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-mark .ace svg { width: 100%; height: 100%; }
.nav-mark strong {
  font-weight: 400;
}
.nav-mark .red { color: var(--crimson); font-weight: 500; }

.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--bone-2);
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--crimson);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--bone);
}
.nav-links a.active::after, .nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: var(--crimson); border-color: var(--crimson); color: var(--bone); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 8px var(--crimson); }

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 48px 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
.footer-mark {
  line-height: 1;
  width: min(260px, 100%);
}
.footer-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,0.38));
}
.footer-tagline {
  margin-top: 16px;
  color: var(--bone-3);
  max-width: 28ch;
  text-align: center;
  transform: translateX(18px);
}
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-3);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--bone-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--crimson); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-3);
  text-transform: uppercase;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px 48px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
}
.hero-bg-ace {
  position: absolute;
  left:82%;
  right: auto;
  top: 168px;
  width: 610px;
  height: 610px;
  opacity: 0.26;
  z-index: 1;
  transform: translateX(-50%) rotate(0deg);
  transform-origin: center;
  pointer-events: none;
}
.hero-bg-ace::before {
  content: '';
  position: absolute;
  inset: 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 46%, rgba(225, 35, 43, 0.3), rgba(123, 16, 23, 0.14) 38%, transparent 68%);
  filter: blur(34px);
}
.hero-bg-ace svg {
  width: 100%;
  height: 100%;
  filter:
    blur(1.2px)
    drop-shadow(0 34px 84px rgba(50, 0, 6, 0.36))
    drop-shadow(0 10px 32px rgba(225, 35, 43, 0.1));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0,0,0,0.78) 92%, rgba(0,0,0,0.58) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0,0,0,0.78) 92%, rgba(0,0,0,0.58) 100%);
}

.hero-page-logo {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin: 0 0 42px;
}
.hero-page-logo img {
  width: min(278px, 48vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.38));
}

.hero-meta {
  position: absolute;
  left: 48px;
  top: calc(50% - 38px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 250px;
  height: 172px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.hero-meta .col { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .col { text-align: left !important; }
.hero-meta .label { color: var(--bone); }

.hero-headline {
  position: relative;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 0.92;
  letter-spacing: 0.015em;
  margin-top: 18px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  text-align: center;
  width: min(1260px, 94vw);
  margin-left: auto;
  margin-right: auto;
}
.hero-headline .row { display: block; }
.hero-headline .row:first-child {
  transform: translateY(-0.08em);
}
.hero-headline .subline {
  font-size: 86%;
}
.hero-headline .indent { padding-left: 0; }
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--crimson);
}
.hero-headline .ampersand {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--bone-3);
}

.hero-bottom {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 48px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.hero-bottom .hero-blurb,
.hero-bottom .hero-season {
  display: none;
}
.hero-blurb {
  max-width: 42ch;
  font-size: 17px;
  color: var(--bone-2);
  line-height: 1.55;
}
.hero-cta-group { display: flex; gap: 14px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.btn:hover { border-color: var(--bone); transform: translateY(-1px); }
.btn-primary { background: var(--crimson); border-color: var(--crimson); color: var(--bone); }
.btn-primary:hover { background: var(--crimson-glow); border-color: var(--crimson-glow); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ----- Marquee ----- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  contain: paint;
  padding: 18px 0;
  margin-top: 28px;
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--f-display);
  font-size: 36px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.marquee-track .dot {
  color: var(--crimson);
  font-style: normal;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Section header ----- */
.section { padding: 120px 48px; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head.studio-section-head { align-items: center; }
.section-head .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
}
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.section-head h2 em { font-style: italic; color: var(--bone-3); }
.section-head .lead {
  font-size: 18px;
  color: var(--bone-2);
  max-width: 50ch;
  line-height: 1.55;
}

.home-catalog-head {
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.home-catalog-head h2 {
  font-size: clamp(42px, 5.7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.018em;
  max-width: 1180px;
}
.home-catalog-head .lead {
  max-width: none;
  line-height: 1.5;
}
.single-line-lead { white-space: nowrap; }

.full-section-head {
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.full-section-head h2 {
  font-size: clamp(43px, 5.4vw, 79px);
  letter-spacing: -0.01em;
  max-width: 1180px;
  white-space: nowrap;
}
.full-section-head .lead {
  max-width: 72ch;
}

/* ----- Glass primitives ----- */
.glass {
  background: linear-gradient(135deg, rgba(244,239,230,0.045) 0%, rgba(244,239,230,0.015) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(244,239,230,0.08);
  box-shadow:
    inset 0 1px 0 rgba(244,239,230,0.06),
    0 24px 60px -20px rgba(0,0,0,0.6);
}
.glass-red {
  background: linear-gradient(135deg, rgba(225,35,43,0.08) 0%, rgba(225,35,43,0.015) 100%);
  border: 1px solid rgba(225,35,43,0.2);
  box-shadow:
    inset 0 1px 0 rgba(255,59,68,0.18),
    0 24px 80px -20px rgba(225,35,43,0.25);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

/* ----- Game cards (gallery) ----- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}
.home-games-grid {
  grid-template-columns: repeat(6, minmax(0, clamp(120px, 12vw, 170px)));
  justify-content: center;
  align-items: start;
}
.home-games-grid > .game-card {
  justify-self: stretch;
}
.game-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  padding: 6px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.018) 42%, rgba(225,35,43,0.025)),
    rgba(11,11,12,0.58);
  border: 1px solid rgba(244,239,230,0.10);
  border-radius: 8px;
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.35),
    0 22px 70px -44px rgba(0,0,0,0.9);
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(244,239,230,0.055);
  border-radius: 6px;
}
.game-card:hover {
  border-color: rgba(244,239,230,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 34px 90px -40px rgba(0,0,0,0.96),
    0 18px 65px -48px rgba(225,35,43,0.42);
}
.game-card .frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ink-3);
  margin: 0;
  border: 1px solid rgba(244,239,230,0.08);
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 44px -34px rgba(244,239,230,0.28);
}
.game-card .frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 1.2s var(--ease-out), filter 0.5s;
  filter: saturate(0.95);
}
.gameplay-video {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink-2);
}
.gameplay-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.game-card:hover .frame img { transform: scale(1.04); filter: saturate(1.08); }
.game-card.home-hero-card {
  width: 90%;
  justify-self: center;
}
.game-card.portrait-card .frame img {
  object-fit: cover;
  object-position: center bottom;
}
.game-card.full-art-card .frame img,
.game-card.full-art-card .gameplay-video video {
  object-fit: cover;
  object-position: center bottom;
}
.game-card.full-art-card .frame,
.game-card.full-art-card .gameplay-video {
  background:
    radial-gradient(circle at top, rgba(244,239,230,0.06), transparent 52%),
    rgba(5,5,6,0.96);
}
.game-card.full-art-card .frame::after {
  background:
    linear-gradient(to top, rgba(10,10,11,0.62) 0%, rgba(10,10,11,0.1) 34%, transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 20%);
}
.game-card.timeline-home-card .frame img,
.game-card.timeline-home-card .gameplay-video video {
  object-position: center center;
}
.game-card .split-frame {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: rgba(0,0,0,0.34);
}
.game-card .split-frame img {
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}
.game-card .frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,11,0.88) 0%, rgba(10,10,11,0.2) 42%, transparent 68%),
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 22%);
}
.game-card .gameplay-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.28s var(--ease), transform 0.6s var(--ease-out);
  transform: scale(1.01);
}
.game-card .gameplay-video.is-active {
  opacity: 1;
  transform: scale(1);
}
.game-card .meta {
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  padding: 22px;
  z-index: 2;
}
.game-card .badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  margin-bottom: 12px;
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(6px);
}
.game-card .badge.live { color: var(--crimson); border-color: var(--crimson); }
.game-card .badge.dev { color: var(--aged); border-color: var(--aged); }
.game-card h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.game-card .genre {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
  margin-top: 6px;
}

/* ----- Manifesto strip ----- */
.manifesto {
  padding: 160px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at top, rgba(225, 35, 43, 0.08), transparent 60%),
    var(--ink);
}
.manifesto-text {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(30px, 3.7vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 28ch;
}
.manifesto-text em { font-style: italic; color: var(--crimson); }
.manifesto-attr {
  margin-top: 48px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-3);
}

/* ----- Studio page ----- */
.studio-origin-section { padding-top: 100px; padding-bottom: 60px; }
.studio-origin-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.studio-principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  margin-top: 32px;
}
.studio-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ----- Studio numbers ----- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, rgba(244,239,230,0.035), rgba(244,239,230,0.005));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(244,239,230,0.08);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(244,239,230,0.06), 0 30px 60px -30px rgba(0,0,0,0.6);
  overflow: hidden;
}
.numbers.stats-three { grid-template-columns: repeat(3, 1fr); }
.number {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
}
.number:last-child { border-right: none; }
.number .label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-3);
}
.number .value {
  font-family: var(--f-display);
  font-size: 72px;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-top: 12px;
  line-height: 1;
}
.number .value em { font-style: italic; color: var(--crimson); }

/* ----- Generic page hero ----- */
.page-hero {
  padding: 180px 48px 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-3);
  margin-bottom: 24px;
}
.game-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 22px;
  color: var(--crimson);
  border: none;
  border-radius: 0;
  font-family: var(--f-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.game-back-link:hover {
  transform: translateX(-3px);
  color: var(--crimson-glow);
}
.page-hero .crumbs .red { color: var(--crimson); }
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(64px, 9vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.page-hero h1 em { font-style: italic; color: var(--crimson); }

.legal-section {
  padding-top: 72px;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.legal-card {
  padding: 40px;
  border-radius: 18px;
}
.legal-card h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0;
}
.legal-card p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--bone-2);
}
.legal-note {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.legal-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-contact p {
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--bone-2);
}

/* ----- Game detail dossier ----- */
.dossier {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 80px 48px;
}
.dossier-top {
  display: grid;
  gap: 44px;
  align-items: start;
}
.dossier-top.has-media {
  grid-template-columns: auto minmax(320px, 420px);
  justify-content: center;
  align-items: center;
}
.dossier-top.no-media {
  grid-template-columns: minmax(320px, 420px);
  justify-content: center;
}
.dossier-spec {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dossier-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-shell {
  position: relative;
  width: 291px;
  height: 575px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 42px;
  border: 1px solid rgba(214,168,90,0.84);
  background:
    linear-gradient(180deg, rgba(35,29,21,0.96), rgba(10,10,11,0.98)),
    #0a0a0b;
  box-shadow:
    0 0 0 1px rgba(214,168,90,0.24),
    inset 0 1px 0 rgba(255,233,189,0.22),
    0 24px 70px -34px rgba(0,0,0,0.92);
  isolation: isolate;
}
.phone-shell::before {
  content: '';
  position: absolute;
  inset: -26px -18px;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(214,168,90,0.3), rgba(214,168,90,0.1) 38%, transparent 72%);
  filter: blur(18px);
}
.phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 84px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(244,239,230,0.12);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}
.phone-screen {
  width: 259px;
  height: 547px;
  overflow: hidden;
  border-radius: 31px;
  background: #050506;
  box-shadow:
    inset 0 1px 0 rgba(244,239,230,0.06),
    0 28px 60px -30px rgba(0,0,0,0.78);
}
.phone-home-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 96px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(214,168,90,0.45);
}
.dossier-spec-copy {
  width: 100%;
  min-height: 585px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}
.dossier-top.no-media .dossier-spec-copy {
  min-height: auto;
}
.dossier-spec-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 28px;
  text-align: center;
  color: var(--crimson);
}
.spec-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.spec-row .v {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.dossier-video-card {
  width: min(100%, 259px);
  height: 100%;
  aspect-ratio: auto;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: inherit;
  box-shadow: none;
}
.dossier-video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(to top, rgba(10,10,11,0.42) 0%, rgba(10,10,11,0.06) 40%, transparent 72%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 24%);
  pointer-events: none;
}
.dossier-action {
  display: flex;
  justify-content: center;
}
.dossier-action .btn,
.dossier-action .dossier-notify-card {
  width: min(100%, 420px);
}
.dossier-action .btn {
  justify-content: center;
}
.dossier-body { display: flex; flex-direction: column; gap: 32px; }
.dossier-body-centered {
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.dossier-body-centered > .eyebrow,
.dossier-body-centered > .lead {
  text-align: center;
}
.dossier-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--bone-2);
  max-width: 60ch;
}
.dossier-body-centered p:not(.lead) {
  width: 100%;
  max-width: 68ch;
}
.dossier-body p.lead {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--bone);
  letter-spacing: -0.01em;
}

.gallery {
  padding: 80px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery.cols-5 { grid-template-columns: repeat(5, 1fr); }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery .shot {
  aspect-ratio: 9/19;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(244,239,230,0.06),
    0 30px 60px -20px rgba(0,0,0,0.6);
}
.gallery.landscape .shot { aspect-ratio: 16/9; }
.gallery .shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.gallery .shot:hover img { transform: scale(1.04); }

/* ----- Two-up text/image ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-text {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.split-img {
  position: relative;
  min-height: 600px;
  background: var(--ink-2);
  overflow: hidden;
}
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ----- Updates list ----- */
.news-list {
  display: flex;
  flex-direction: column;
}
.news-row {
  display: grid;
  grid-template-columns: 120px 1fr 200px 60px;
  gap: 32px;
  padding: 32px 48px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.3s, padding 0.3s var(--ease);
  cursor: pointer;
}
.news-row:hover { background: var(--ink-2); padding-left: 64px; }
.news-row .date {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-3);
  text-transform: uppercase;
}
.news-row .ttl {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.catalog-title {
  display: inline;
}
.catalog-title-subcopy {
  color: var(--bone-3);
  font-size: 21px;
  font-style: normal;
  line-height: 1.35;
}
.catalog-title-word {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.catalog-title-word::before {
  content: '';
  position: absolute;
  left: -0.2em;
  right: -0.2em;
  top: 0.14em;
  bottom: 0.02em;
  z-index: -1;
  border-radius: 999px;
  background: var(--title-glow, transparent);
  filter: blur(18px);
  opacity: 0.18;
}
.catalog-glow-timeline { --title-glow: rgba(210, 126, 34, 0.22); color: rgba(210, 126, 34, 0.96); }
.catalog-glow-trivia { --title-glow: rgba(73, 157, 255, 0.2); color: rgba(73, 157, 255, 0.96); }
.catalog-glow-garden { --title-glow: rgba(67, 180, 90, 0.2); color: rgba(67, 180, 90, 0.96); }
.catalog-glow-fireflies { --title-glow: rgba(231, 182, 64, 0.22); color: rgba(231, 182, 64, 0.96); }
.catalog-glow-color { --title-glow: rgba(225, 35, 43, 0.2); color: rgba(225, 35, 43, 0.96); }
.catalog-glow-switch { --title-glow: rgba(69, 132, 255, 0.2); color: rgba(69, 132, 255, 0.96); }
.catalog-glow-neo { --title-glow: rgba(244, 239, 230, 0.18); color: rgba(244, 239, 230, 0.96); }
.catalog-glow-sky { --title-glow: rgba(185, 223, 255, 0.2); color: rgba(185, 223, 255, 0.96); }
.catalog-glow-fold { --title-glow: rgba(243, 230, 200, 0.2); color: rgba(243, 230, 200, 0.96); }
.catalog-glow-blood { --title-glow: rgba(255, 28, 42, 0.22); color: rgba(255, 28, 42, 0.96); }
.catalog-glow-glass { --title-glow: rgba(232, 235, 240, 0.2); color: rgba(232, 235, 240, 0.96); }
.news-row .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
}
.news-row .arrow-cell {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--bone-3);
  justify-self: end;
  transition: transform 0.3s var(--ease), color 0.3s;
}
.news-row:hover .arrow-cell { color: var(--crimson); transform: translateX(8px); }

/* ----- Careers ----- */
.role-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding 0.3s var(--ease);
}
.role-card:hover { padding-left: 16px; }
.role-card .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--bone-3);
  letter-spacing: 0.1em;
}
.role-card h4 {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.015em;
}
.role-card .meta {
  display: flex; gap: 16px; margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.role-card .meta span:nth-child(2)::before { content: '·'; margin-right: 16px; color: var(--bone-3); }
.role-card .apply {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  display: flex; align-items: center; gap: 8px;
}

/* ----- Contact form ----- */
.contact {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 72px;
  padding: 56px 48px 80px;
}
.contact-form-wrap { transform: translateY(-18px); }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact > .contact-info { margin-top: 54px; }
.contact-info .channel {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-info .channel:last-child { border-bottom: 1px solid var(--line); }
.contact-info .channel .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-3);
  margin-bottom: 8px;
}
.contact-info .channel .value {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.contact-info .channel .value.email-value { color: var(--crimson); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.hp-field { display: none !important; }
.contact-form-panel {
  padding: 48px;
  border-radius: 16px;
  font-size: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-3);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  font: inherit;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--crimson);
}
.field select option {
  color: #0a0a0b;
  background: #f4efe6;
}
.field textarea { resize: vertical; min-height: 92px; }

/* ----- Cursor ----- */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--crimson);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.18s var(--ease), width 0.2s, height 0.2s, background 0.2s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 36px; height: 36px;
  background: var(--bone);
}

/* responsive */
@media (max-width: 900px) {
  .nav { height: 54px; padding: 0 18px; gap: 22px; }
  .nav-links { display: flex; gap: 22px; font-size: 10px; }
  .nav-cta { display: none; }
  .hero { padding: 96px 24px 60px; }
  .hero-page-logo { margin: 0 0 34px; }
  .hero-page-logo img { width: min(243px, 68vw); }
  .hero-meta { display: block; }
  .hero-meta { position: relative; left: auto; top: auto; max-width: none; height: auto; margin: 0; transform: none; }
  .hero-meta .col:not(:first-child) { display: none; }
  .hero-bg-ace { width: 297px; height: 297px; left: 68%; right: auto; top: 140px; opacity: 0.2; transform: translateX(-50%) rotate(0deg); }
  .hero-headline { font-size: clamp(25px, 7.6vw, 35px); line-height: 1; margin-top: 20px; letter-spacing: 0.01em; width: min(100%, 94vw); }
  .hero-bottom { gap: 24px; margin-top: 38px; }
  .hero-season { text-align: left !important; }
  .section { padding: 80px 24px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .full-section-head h2 { white-space: normal; }
  .single-line-lead { white-space: normal; }
  .footer { padding: 60px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .games-grid { grid-template-columns: 1fr; }
  .games-grid > .game-card { grid-column: 1 / -1 !important; }
  .home-games-grid {
    grid-template-columns: minmax(0, min(100%, 300px));
    justify-content: center;
  }
  .home-games-grid > .game-card {
    grid-column: auto !important;
  }
  .game-card.home-hero-card { width: 100%; }
  .home-games-grid .game-card .meta {
    padding: 14px;
  }
  .home-games-grid .game-card .badge {
    font-size: 8px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    margin-bottom: 8px;
  }
  .home-games-grid .game-card h3 {
    font-size: clamp(22px, 7vw, 28px);
  }
  .home-games-grid .game-card .genre {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-top: 4px;
  }
  .home-games-grid .game-card.home-hero-card .meta {
    padding: 10px;
  }
  .home-games-grid .game-card.home-hero-card .badge {
    font-size: 7px;
    padding: 3px 6px;
    margin-bottom: 6px;
  }
  .home-games-grid .game-card.home-hero-card h3 {
    font-size: clamp(16px, 4.8vw, 20px);
  }
  .home-games-grid .game-card.home-hero-card .genre {
    display: none;
  }
  .dossier { gap: 32px; padding: 60px 24px; }
  .dossier-top.has-media,
  .dossier-top.no-media { grid-template-columns: 1fr; }
  .phone-shell {
    width: min(100%, 291px);
    height: auto;
    aspect-ratio: 291 / 575;
    margin: 0 auto;
  }
  .phone-screen {
    width: 89%;
    height: 95.13%;
  }
  .dossier-spec-copy { min-height: auto; }
  .dossier-video-card { width: min(100%, 259px); }
  .gallery { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .split { grid-template-columns: 1fr; }
  .split-text { padding: 60px 24px; border-right: none; border-bottom: 1px solid var(--line); }
  .split-img { min-height: 360px; }
  .news-row { grid-template-columns: 1fr; padding: 24px; gap: 8px; }
  .news-row:hover { padding-left: 24px; }
  .news-row .arrow-cell { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers.stats-three { grid-template-columns: 1fr; }
  .number { border-bottom: 1px solid var(--line); }
  .studio-origin-section { padding-top: 80px; padding-bottom: 48px; }
  .studio-origin-grid,
  .studio-principles-grid,
  .studio-roles-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .studio-principles-grid { margin-top: 28px; }
  .contact { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .contact-form-wrap,
  .contact-info {
    min-width: 0;
  }
  .form-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 80px 24px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 28px; }
  .legal-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .nav {
    max-width: calc(100vw - 20px);
    padding: 0 12px;
  }
  .nav-links {
    gap: clamp(10px, 3vw, 14px);
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .hero-bg-ace {
    left: 64%;
    width: min(276px, 72vw);
    height: min(276px, 72vw);
  }
  .marquee-track { font-size: 30px; }
  .contact-form-panel { padding: 32px 24px; }
  .field input,
  .field textarea,
  .field select {
    width: 100%;
    min-width: 0;
  }
  .contact-info .channel .value {
    overflow-wrap: anywhere;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ----- Scroll reveal ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Premium game studio refresh ===== */
:root {
  --ink: #050607;
  --ink-2: #090d10;
  --ink-3: #11171c;
  --bone: #f5f7f8;
  --bone-2: #c7d0d8;
  --bone-3: #85909a;
  --crimson: #e1252d;
  --crimson-deep: #8f1117;
  --crimson-glow: #ff333d;
  --aged: #d3a642;
  --line: rgba(210, 224, 235, 0.12);
  --line-strong: rgba(210, 224, 235, 0.22);
  --f-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-body: 'Spectral', Georgia, serif;
}

body {
  background:
    radial-gradient(circle at 74% 14%, rgba(225, 37, 45, 0.12), transparent 30%),
    radial-gradient(circle at 16% 28%, rgba(65, 105, 130, 0.12), transparent 34%),
    linear-gradient(180deg, #050607 0%, #071014 48%, #050607 100%);
  font-weight: 400;
}

.nav {
  top: 24px;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  height: 68px;
  padding: 0 22px;
  background: rgba(5, 7, 9, 0.72);
  border-radius: 18px;
  border-color: rgba(210,224,235,0.12);
}

.nav-logo {
  height: 38px;
}

.nav-links {
  gap: 34px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--bone-2);
}

.footer {
  background: rgba(3, 5, 6, 0.56);
}

.footer-tagline {
  text-align: left;
  transform: none;
}

.btn {
  border-radius: 8px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 20px;
}

.home-hero {
  position: relative;
  min-height: 760px;
  padding: 148px 48px 64px;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(620px, 1.45fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,7,0.98) 0%, rgba(5,6,7,0.78) 34%, rgba(5,6,7,0.22) 66%, rgba(5,6,7,0.82) 100%),
    radial-gradient(circle at 66% 42%, rgba(225,37,45,0.18), transparent 32%);
  pointer-events: none;
}

.home-hero-copy,
.game-shelf {
  position: relative;
  z-index: 1;
}

.home-kicker,
.home-section-head span,
.home-note span {
  display: block;
  margin-bottom: 14px;
  color: var(--crimson);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero h1,
.catalog-hero h1 {
  max-width: 11ch;
  font-family: var(--f-display);
  font-size: clamp(44px, 4.4vw, 70px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.home-hero h1::after {
  content: '.';
  color: var(--crimson);
}

.home-hero p,
.catalog-hero p {
  margin-top: 24px;
  max-width: 36ch;
  color: var(--bone-2);
  font-size: 18px;
  line-height: 1.6;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.game-shelf {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.25vw, 18px);
  perspective: 1400px;
}

.game-shelf::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 0;
  bottom: 24px;
  height: 58px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(210,224,235,0.16), transparent);
  filter: blur(8px);
  transform: skewX(-14deg);
}

.shelf-card {
  position: relative;
  width: clamp(116px, 11vw, 166px);
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border: 1px solid rgba(210,224,235,0.18);
  border-radius: 12px;
  background: #090d10;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 30px 70px -34px rgba(0,0,0,0.95);
  cursor: pointer;
  transform: rotateY(-12deg);
  transition: transform 0.38s var(--ease), border-color 0.38s var(--ease);
}

.shelf-card:nth-child(4),
.shelf-card:nth-child(5) {
  transform: rotateY(12deg);
}

.shelf-card.is-featured {
  width: clamp(154px, 14vw, 218px);
  border-color: rgba(255,60,70,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 0 0 1px rgba(225,37,45,0.28),
    0 38px 96px -34px rgba(225,37,45,0.34);
  transform: translateY(-16px);
}

.shelf-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245,247,248,0.42);
}

.shelf-card img,
.home-game-art img,
.catalog-row-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelf-card-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 54px 14px 14px;
  background: linear-gradient(to top, rgba(2,3,4,0.92), rgba(2,3,4,0));
}

.shelf-card-copy span {
  display: block;
  color: var(--bone-3);
  font-size: 10px;
  line-height: 1.3;
}

.shelf-card-copy h2 {
  margin-top: 4px;
  font-family: var(--f-display);
  font-size: clamp(15px, 1.45vw, 22px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.home-stats div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}

.home-stats div:last-child {
  border-right: none;
}

.home-stats span {
  color: var(--bone);
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 700;
}

.home-stats p {
  color: var(--bone-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-catalog {
  padding: 72px 48px 88px;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-section-head h2,
.home-note h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.home-section-head a {
  color: var(--crimson);
  font-weight: 700;
}

.home-game-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.home-game-tile {
  cursor: pointer;
}

.home-game-art {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(210,224,235,0.14);
  border-radius: 10px;
  background: var(--ink-2);
}

.home-game-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 24%);
  pointer-events: none;
}

.home-game-art .gameplay-video {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.home-game-art .gameplay-video.is-active {
  opacity: 1;
}

.home-game-tile h3 {
  margin-top: 16px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.home-game-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--bone-3);
  font-size: 13px;
}

.home-game-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4aa3ff;
}

.home-game-status.is-live span {
  background: #46d17c;
}

.home-game-status.is-dev span {
  background: #4aa3ff;
}

.home-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 64px 48px 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 10, 0.48);
}

.home-note p {
  max-width: 58ch;
  color: var(--bone-2);
  font-size: 17px;
  line-height: 1.65;
}

.catalog-hero {
  padding: 168px 48px 70px;
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  max-width: 14ch;
}

.catalog-list {
  padding: 44px 48px 90px;
}

.catalog-row {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.catalog-row-art {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border: 1px solid rgba(210,224,235,0.14);
  border-radius: 10px;
}

.catalog-row-copy h2 {
  margin-top: 7px;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.catalog-row-copy p {
  max-width: 72ch;
  margin-top: 8px;
  color: var(--bone-2);
  line-height: 1.55;
}

.catalog-row-copy small {
  display: block;
  margin-top: 12px;
  color: var(--bone-3);
  font-size: 12px;
}

.catalog-row-arrow {
  color: var(--crimson);
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.25s var(--ease);
}

.catalog-row:hover .catalog-row-arrow {
  transform: translateX(6px);
}

@media (max-width: 980px) {
  .nav {
    top: 12px;
    width: min(100% - 24px, 720px);
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 12px 16px;
  }

  .nav-logo {
    height: 30px;
  }

  .nav-links {
    margin-left: auto;
    gap: 18px;
    font-size: 12px;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 118px 24px 42px;
    gap: 36px;
  }

  .home-hero h1,
  .catalog-hero h1 {
    max-width: 12ch;
  }

  .game-shelf {
    min-height: 420px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 18px 4px 36px;
  }

  .shelf-card,
  .shelf-card:nth-child(4),
  .shelf-card:nth-child(5),
  .shelf-card.is-featured {
    flex: 0 0 166px;
    width: 166px;
    transform: none;
  }

  .home-stats,
  .home-game-strip,
  .home-note,
  .catalog-row {
    grid-template-columns: 1fr;
  }

  .home-stats div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .home-stats div:last-child {
    border-bottom: none;
  }

  .home-catalog,
  .home-note,
  .catalog-hero,
  .catalog-list {
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-game-strip {
    gap: 28px;
  }

  .catalog-row {
    gap: 16px;
  }

  .catalog-row-art {
    width: 100%;
  }

  .catalog-row-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav {
    justify-content: center;
  }

  .nav-mark {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    gap: 15px;
  }

  .home-hero {
    padding-top: 132px;
  }

  .home-actions {
    flex-direction: column;
  }

  .home-actions .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ===== Mobile-first game portfolio ===== */
.site-brand {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 36px 16px 18px;
  background: #050709;
}

.site-brand-home {
  padding-bottom: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(138, 22, 28, 0.16), transparent 22rem),
    #050709;
}

.site-brand-link {
  display: block;
  width: min(46vw, 180px);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.site-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.46));
}

.site-brand + main .page-hero {
  padding-top: 80px;
}

.portfolio-home {
  --portfolio-bg: #050709;
  --portfolio-surface: rgba(14, 20, 24, 0.72);
  --portfolio-line: rgba(236, 244, 248, 0.14);
  --portfolio-text: #f5f7f8;
  --portfolio-muted: #98a4ad;
  --portfolio-red: #e1252d;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 6%, rgba(138, 22, 28, 0.2), transparent 26rem),
    linear-gradient(180deg, #06080a 0%, #071014 48%, #050708 100%);
}

.portfolio-hero {
  position: relative;
  min-height: calc(100svh - 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 22px 0 28px;
}

.portfolio-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(112deg, transparent 24%, rgba(255,255,255,0.035) 42%, transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255,255,255,0.012) 53px 54px);
}

.poster-showcase {
  position: relative;
  z-index: 1;
  width: 100%;
  touch-action: pan-y;
}

.poster-stage {
  position: relative;
  width: min(100%, 760px);
  height: min(116vw, 490px);
  min-height: 390px;
  margin: 0 auto;
  overflow: hidden;
  perspective: 1100px;
}

.poster-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 250px);
  aspect-ratio: 9 / 17;
  overflow: hidden;
  border: 1px solid rgba(236, 244, 248, 0.22);
  border-radius: 14px;
  background: rgba(12, 17, 21, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 24px 60px -28px rgba(0,0,0,0.95);
  backdrop-filter: blur(18px) saturate(122%);
  -webkit-backdrop-filter: blur(18px) saturate(122%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease, filter 0.32s ease, border-color 0.32s ease;
}

.poster-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.15), transparent 22%),
    linear-gradient(to top, rgba(2,3,4,0.88), transparent 30%);
}

.poster-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  border-color: var(--portfolio-red);
  filter: none;
  transform: translate(-50%, -50%) scale(1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 0 1px rgba(225,37,45,0.25),
    0 30px 74px -28px rgba(225,37,45,0.42);
}

.poster-card[class*="is-left-"],
.poster-card[class*="is-right-"] {
  z-index: 1;
  opacity: 0.5;
  pointer-events: auto;
  filter: blur(1.5px) brightness(0.7) saturate(0.76);
}

.poster-card.is-left-1 { z-index: 2; opacity: 0.66; transform: translate(-112%, -50%) scale(0.88) rotateY(-12deg) rotateZ(-1deg); }
.poster-card.is-left-2 { transform: translate(-172%, -50%) scale(0.76) rotateY(-16deg) rotateZ(-2deg); }
.poster-card.is-left-3 { opacity: 0.3; transform: translate(-226%, -50%) scale(0.66) rotateY(-20deg) rotateZ(-3deg); }
.poster-card.is-right-1 { z-index: 2; opacity: 0.66; transform: translate(12%, -50%) scale(0.88) rotateY(12deg) rotateZ(1deg); }
.poster-card.is-right-2 { transform: translate(72%, -50%) scale(0.76) rotateY(16deg) rotateZ(2deg); }
.poster-card.is-right-3 { opacity: 0.3; transform: translate(126%, -50%) scale(0.66) rotateY(20deg) rotateZ(3deg); }

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-card > span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 17px;
  color: var(--portfolio-text);
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0,0,0,0.9);
}

.showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 50%;
  background: rgba(5,8,10,0.72);
  color: #fff;
  font-size: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.showcase-arrow-left { left: 10px; }
.showcase-arrow-right { right: 10px; }

.showcase-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.showcase-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245,247,248,0.34);
  transition: width 0.3s ease, background 0.3s ease;
}

.showcase-dots span.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--portfolio-red);
}

.showcase-hint {
  position: relative;
  z-index: 1;
  margin: 15px auto 0;
  color: var(--portfolio-muted);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.games-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

.games-divider::before,
.games-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(236,244,248,0.28));
}

.games-divider::after { transform: scaleX(-1); }

.games-divider span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--portfolio-red);
  transform: rotate(45deg);
}

.games-section {
  padding: 62px 16px 88px;
}

.games-heading {
  width: min(100%, 1120px);
  margin: 0 auto 30px;
}

.games-heading p,
.game-number {
  color: var(--portfolio-red);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.games-heading h1 {
  margin-top: 5px;
  color: var(--portfolio-text);
  font-family: var(--f-display);
  font-size: clamp(44px, 14vw, 74px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.game-gallery-list {
  width: min(100%, 1120px);
  display: grid;
  gap: 34px;
  margin: 0 auto;
}

.game-gallery {
  scroll-margin-top: 18px;
  overflow: visible;
}

.game-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  touch-action: pan-y;
}

.game-media-stage {
  position: relative;
  width: 100%;
  height: min(126vw, 760px);
  min-height: 410px;
  overflow: hidden;
  perspective: 1200px;
  background: radial-gradient(circle at center, rgba(48,61,70,0.22), transparent 58%);
}

.media-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(54vw, 420px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(236,244,248,0.18);
  border-radius: 14px;
  background: #020304;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.76);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, filter 0.3s ease;
}

.media-card.is-active {
  z-index: 3;
  opacity: 1;
  border-color: var(--portfolio-red);
  transform: translate(-50%, -50%) scale(1);
  box-shadow:
    0 0 0 1px rgba(225,37,45,0.25),
    0 28px 72px -34px rgba(225,37,45,0.52);
}

.media-card.is-left-1,
.media-card.is-right-1,
.media-card.is-left-2,
.media-card.is-right-2 {
  z-index: 1;
  opacity: 0.5;
  filter: blur(1.5px) brightness(0.68) saturate(0.76);
}

.media-card.is-left-1 { z-index: 2; opacity: 0.66; transform: translate(-112%, -50%) scale(0.86) rotateY(-12deg) rotateZ(-1deg); }
.media-card.is-left-2 { transform: translate(-174%, -50%) scale(0.72) rotateY(-17deg) rotateZ(-2deg); }
.media-card.is-right-1 { z-index: 2; opacity: 0.66; transform: translate(12%, -50%) scale(0.86) rotateY(12deg) rotateZ(1deg); }
.media-card.is-right-2 { transform: translate(74%, -50%) scale(0.72) rotateY(17deg) rotateZ(2deg); }

.media-card img,
.media-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-card img { object-fit: cover; }
.media-card iframe { pointer-events: none; }

.media-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 12px;
  background: rgba(0,0,0,0.48);
  color: #fff;
  font-size: 24px;
  text-shadow: 0 2px 8px #000;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transform: translateY(-50%);
}

.media-arrow-left { left: 10px; }
.media-arrow-right { right: 10px; }

.media-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 6px;
  margin: 10px 0 0;
}

.media-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245,247,248,0.34);
  transition: width 0.3s ease, background 0.3s ease;
}

.media-dots span.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--portfolio-red);
}

.sound-toggle {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 6;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.sound-toggle span { color: var(--portfolio-red); font-size: 15px; }

.game-gallery-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
  padding: 24px 20px 22px;
  border: 1px solid var(--portfolio-line);
  border-radius: 15px;
  background: var(--portfolio-surface);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 30px 80px -50px rgba(0,0,0,0.95);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
}

.game-gallery-copy h2 {
  margin-top: 6px;
  color: var(--portfolio-text);
  font-family: var(--f-display);
  font-size: clamp(28px, 9vw, 44px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.game-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(236,244,248,0.14);
  border-radius: 999px;
  color: #b9c2c9;
  font-size: 12px;
  line-height: 1;
}

.store-link,
.coming-soon {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 15px;
  border-radius: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.store-link {
  border: 1px solid var(--portfolio-red);
  background: var(--portfolio-red);
  color: #fff;
}

.store-link span {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.coming-soon {
  width: fit-content;
  border: 1px solid rgba(236,244,248,0.14);
  color: var(--portfolio-muted);
}

.portfolio-home + .footer,
main:has(.portfolio-home) + .footer {
  margin-top: 0;
}

.footer-grid {
  grid-template-columns: minmax(240px, 2fr) 1fr 1fr;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (min-width: 720px) {
  .site-brand { padding: 54px 24px 22px; }
  .site-brand-home { padding-top: 72px; padding-bottom: 0; }
  .site-brand-link { width: 320px; }
  .portfolio-hero { min-height: auto; padding: 20px 0 58px; }
  .poster-stage { height: 540px; max-width: 920px; }
  .poster-card { width: 280px; }
  .showcase-arrow-left { left: 24px; }
  .showcase-arrow-right { right: 24px; }
  .games-section { padding: 84px 32px 112px; }
  .games-heading { margin-bottom: 38px; }
  .game-gallery-list { gap: 52px; }
  .game-gallery-copy { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 28px 30px 30px; }
  .store-link, .coming-soon { flex: 0 0 auto; }
}

@media (max-width: 719px) {
  .site-brand + main .page-hero { padding: 56px 24px 64px; }
  .showcase-arrow { width: 44px; height: 44px; }
  .showcase-arrow-left { left: 8px; }
  .showcase-arrow-right { right: 8px; }
  .game-gallery-copy { padding: 22px 18px 18px; }
  .store-link { width: 100%; }
  .footer { padding: 54px 20px 24px; }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px 18px;
    margin-bottom: 44px;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-mark { width: min(220px, 62vw); }
  .footer-tagline { max-width: 34ch; }
  .footer-col { min-width: 0; }
  .footer-col h5 { margin-bottom: 12px; }
  .footer-col ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 14px;
  }
  .footer-col a { font-size: 13px; overflow-wrap: anywhere; }
  .footer-bottom { gap: 10px; }
}

@media (hover: hover) {
  .site-brand-link:hover { filter: brightness(1.12); transform: translateY(-2px); }
  .poster-card.is-active:hover { border-color: #ff4a52; transform: translate(-50%, -51.5%) scale(1.01); }
  .showcase-arrow:hover,
  .media-arrow:hover { background: rgba(225,37,45,0.82); border-color: var(--portfolio-red); }
  .store-link:hover { background: #f12c35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster-card, .showcase-dots span { transition: none; }
}

/* ----- Play page ----- */
.play-hero {
  padding: 140px 24px 28px;
  border-bottom: 1px solid var(--line);
}

.play-hero h1 {
  max-width: 10ch;
  font-family: var(--f-display);
  font-size: clamp(38px, 12vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.play-hero p {
  margin-top: 18px;
  max-width: 36ch;
  color: var(--bone-2);
  font-size: 17px;
  line-height: 1.58;
}

.play-list {
  display: grid;
  gap: 16px;
  padding: 22px 24px 72px;
}

.play-card {
  width: 100%;
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  text-align: left;
  border: 1px solid rgba(210,224,235,0.14);
  border-radius: 12px;
  background: rgba(8, 12, 14, 0.76);
  color: var(--bone);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.play-card img {
  width: 112px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(210,224,235,0.12);
}

.play-card-copy span,
.play-topbar span {
  display: block;
  color: var(--crimson);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.play-card-copy h2 {
  margin-top: 5px;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.play-card-copy p {
  margin-top: 6px;
  color: var(--bone-3);
  font-size: 14px;
  line-height: 1.35;
}

.play-card-arrow {
  color: var(--crimson);
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
}

.play-screen {
  min-height: 100svh;
  padding: 96px 16px 52px;
}

.play-topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(210,224,235,0.14);
  border-radius: 14px;
  background: rgba(5, 7, 9, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.play-back {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210,224,235,0.18);
  border-radius: 10px;
  color: var(--bone);
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1;
}

.play-topbar h1 {
  margin-top: 3px;
  font-family: var(--f-display);
  font-size: clamp(18px, 5.4vw, 26px);
  font-weight: 700;
  line-height: 1.06;
}

.play-store-btn {
  padding: 11px 12px;
  border-radius: 9px;
  background: var(--crimson);
  color: var(--bone);
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.play-store-spacer {
  width: 1px;
}

.play-stage {
  margin-top: 18px;
  border: 1px solid rgba(210,224,235,0.14);
  border-radius: 16px;
  overflow: hidden;
  background: #050607;
  box-shadow: 0 28px 80px -42px rgba(0,0,0,0.95);
}

.play-frame,
.play-video {
  display: block;
  width: 100%;
  height: min(68svh, 620px);
  min-height: 430px;
  border: 0;
  background: #050607;
}

.play-video {
  object-fit: contain;
}

.daily-challenge-panel {
  min-height: min(68svh, 620px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.daily-challenge-panel h2 {
  max-width: 12ch;
  font-family: var(--f-display);
  font-size: clamp(32px, 10vw, 54px);
  font-weight: 700;
  line-height: 1.05;
}

.daily-challenge-panel p {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--bone-2);
  font-size: 17px;
  line-height: 1.55;
}

@media (min-width: 860px) {
  .play-hero,
  .play-list,
  .play-screen {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .play-hero {
    padding-top: 160px;
  }

  .play-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 34px;
  }

  .play-card {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 12px;
  }

  .play-card img {
    width: 100%;
  }

  .play-card-arrow {
    display: none;
  }

  .play-screen {
    padding-top: 118px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 11px;
    font-size: 10px;
  }

  .play-card {
    grid-template-columns: 96px 1fr;
  }

  .play-card img {
    width: 96px;
  }

  .play-card-arrow {
    display: none;
  }

  .play-screen {
    padding-left: 12px;
    padding-right: 12px;
  }

  .play-topbar {
    grid-template-columns: 42px 1fr;
  }

  .play-store-btn,
  .play-store-spacer {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .play-frame,
  .play-video {
    height: 62svh;
    min-height: 390px;
  }
}
