
:root {
  --bg-dark: #09090a;
  --bg-surface: #111113;
  --bg-strip: #060608;
  
  --text-primary: #f4f3f1;
  --text-secondary: #908c86;
  --text-muted: #5e5a55;

  --line-light: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  
  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: 0.19s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(root) {
  animation: 0.17s cubic-bezier(0.4, 0, 1, 1) both vtPageOut;
}

::view-transition-new(root) {
  animation: 0.2s cubic-bezier(0.22, 1, 0.36, 1) both vtPageIn;
}

@keyframes vtPageOut {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes vtPageIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 4px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Seamless cross-subdomain handoff between Official Website and Shop */
html[data-site-leaving="1"] body {
  opacity: 0;
  transition: opacity 110ms cubic-bezier(0.4, 0, 1, 1);
  pointer-events: none;
}

html[data-site-handoff="in"] body {
  animation: siteHandoffIn 200ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes siteHandoffIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(root),
  ::view-transition-old(root),
  ::view-transition-new(root),
  html[data-site-handoff="in"] body {
    animation: none !important;
  }
  html[data-site-leaving="1"] body {
    transition: none !important;
  }
}

::view-transition-image-pair(root) {
  isolation: isolate;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: Inter, "DM Sans", -apple-system, BlinkMacSystemFont, "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.section-wrap {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 20px; }

:where(a, a:link, a:visited, a:active) { color: inherit; text-decoration: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 48px;
  padding: 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  border-radius: 10px;
}

.button-flat-primary {
  background: #f4f3f1;
  color: #09090a;
  border: 1px solid #f4f3f1;
}
.button-flat-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.button-flat-ghost {
  background: transparent;
  color: #f4f3f1;
  border: 1px solid var(--line-strong);
}
.button-flat-ghost:hover {
  background: #ffffff;
  color: #09090a;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.masthead {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(9, 9, 10, 0.88);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.masthead.is-scrolled {
  background: rgba(7, 7, 9, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.38);
}
.homepage { --header-height: 86px; }

.masthead-inner {
  position: relative;
  width: min(100% - 48px, 1360px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.homepage .brand { gap: 14px; min-height: 54px; }
.homepage .brand img { width: 58px; height: 58px; }
.brand-name { display: flex; flex-direction: column; }
.brand-name strong { font-size: 14px; font-weight: 800; letter-spacing: 0.05em; color: #fff; }
.brand-name span { font-size: 8px; font-weight: 700; letter-spacing: 0.18em; color: var(--text-secondary); }
.homepage .brand-name strong { font-size: 17px; }
.homepage .brand-name span { font-size: 9px; }

.desktop-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  pointer-events: auto;
}
.desktop-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.homepage .desktop-nav { gap: 12px; }
.homepage .desktop-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; font-size: 13px; }
.desktop-nav a:hover { color: #fff; }

.header-actions {
  position: relative;
  z-index: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid var(--line-strong);
  color: #fff;
  transition: all 0.2s;
  border-radius: 10px;
}
.homepage .action-btn { height: 44px; padding-inline: 18px; font-size: 11px; }
.action-btn:hover { background: #fff; color: #000; }
.header-actions .header-merch-link {
  border: 0;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-actions .header-merch-link:hover,
.header-actions .header-merch-link:focus-visible { background: #fff; color: #111; }
.header-merch-link[hidden] { display: none !important; }

.language-select {
  height: auto;
  padding: 9px 8px;
  line-height: 1.2;
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
}
.homepage .language-select { height: auto; padding: 12px 10px; line-height: 1.2; font-size: 11px; }
.language-select option { background: #111; color: #fff; }
.language-select { min-width: 72px; max-width: 102px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-light);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.menu-toggle:active {
  transform: scale(0.93);
}
.menu-toggle span,
.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
  transform-origin: center;
}
.menu-toggle.is-active span:first-child,
.menu-toggle.is-active .bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle.is-active span:last-child,
.menu-toggle.is-active .bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 12px 24px 24px;
  background: rgba(18, 20, 24, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(1.38);
  -webkit-backdrop-filter: blur(24px) saturate(1.38);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  transition: opacity .28s cubic-bezier(.22, 1, .36, 1), transform .28s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.mobile-nav.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, padding-left .2s ease;
}
.mobile-link:active {
  color: #fff;
  padding-left: 6px;
}

.hero-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
  will-change: opacity;
}

.hero-bg-layer {
  position: absolute;
  top: calc(var(--header-height) - 16px);
  left: 0;
  width: 100%;
  height: calc(100% - var(--header-height) + 32px);
  pointer-events: none;
}

.hero-image,
.hero-video,
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center 40%);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 4s ease-out;
  pointer-events: none;
}
.hero-image.is-active,
.hero-video.is-active,
.hero-media.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-media .hero-image,
.hero-media .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center 40%);
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,10,0.45) 0%, rgba(9,9,10,0.3) 40%, rgba(9,9,10,0.95) 100%),
              linear-gradient(90deg, rgba(9,9,10,0.8) 0%, transparent 65%);
}

.hero-content-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 56px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.eyebrow-dash { width: 20px; height: 1px; background: var(--text-secondary); }

.hero-copy h1 {
  margin: 0 0 26px;
  font-size: clamp(38px, 5.5vw, 80px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-description {
  margin: 0 0 26px;
  font-size: clamp(14px, 1.2vw, 16px);
  color: #d2ceca;
  max-width: 460px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-spacer { height: 100vh; height: 100dvh; pointer-events: none; }

.content-surface {
  position: relative;
  z-index: 2;
  background: var(--bg-dark);
  margin-top: -1px;
}

.section-tag {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.accent-dot { color: var(--text-secondary); }

.news-banner {
  padding: 40px 0;
  border-bottom: 1px solid var(--line-light);
  background: var(--bg-surface);
}
.news-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 32px;
}
.news-head h2 { margin: 0; font-size: clamp(26px, 3vw, 42px); font-weight: 800; }
.news-body p { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: all 0.2s;
}
.text-link:hover { border-color: #fff; gap: 14px; }

.games-section { padding: clamp(64px, 7vw, 100px) 0 clamp(78px, 8vw, 120px); }
.games-section > .section-wrap { width: min(100% - 96px, 1360px); }

.games-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(26px, 3vw, 44px);
  padding-bottom: 0;
}
.games-header h2 { margin: 0; font-size: clamp(27px, 4vw, 52px); font-weight: 850; line-height: 1.06; letter-spacing: -.055em; }
.games-intro { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.games-list { display: flex; flex-direction: column; gap: clamp(60px, 7vw, 105px); }

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(44px, 5vw, 90px);
  align-items: center;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.game-card-media {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}
.game-card-featured { --glow-artwork: url('/__preview-site/assets/images/game1.webp'); --card-art-lift: 10px; }
.game-card-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: var(--glow-artwork) center / cover no-repeat;
  filter: blur(26px) saturate(1.12);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .38s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .game-card-media:hover::before { opacity: .26; }
}
.game-card-media:focus-within::before { opacity: .26; }
.media-link::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 130px;
  background: linear-gradient(180deg, rgba(0,0,0,.42), transparent);
  pointer-events: none;
}

.media-link { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: #141416; }
.media-link picture { display: block; width: 100%; height: 100%; }

.parallax-target {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translateY(calc(-1 * var(--card-art-lift, 0px)));
  will-change: transform;
  transition: filter 0.3s ease;
}
.game-card-media:hover .parallax-target,
.game-card-media:focus-within .parallax-target { filter: brightness(1.04) saturate(1.04); }

.media-badge {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}

.game-card-content { display: flex; flex-direction: column; align-items: flex-start; }

.game-card-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.game-index { font-size: 12px; font-weight: 900; color: rgba(255,255,255,.7); }
.game-tag { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.58); letter-spacing: .1em; }

.game-card-title {
  margin: 0 0 18px;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -.065em;
}
.game-card-title span {
  display: block;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  color: rgba(255,255,255,.62);
  margin-top: 9px;
  letter-spacing: -.025em;
}
.game-card-title span:first-child:not(:last-child) { margin-top: 0; color: #fff; font-size: inherit; font-weight: inherit; }

.game-card-desc {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: rgba(255,255,255,.72);
  max-width: 500px;
}

.game-card-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 0 0 24px;
  padding-top: 0;
}

.game-card-platforms-label {
  flex-basis: 100%;
  margin-bottom: 5px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}

.game-card-platforms > span:not(.game-card-platforms-label) {
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.game-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.games-section .game-card-actions .button { border-radius: 12px; }
@media (max-width: 480px) {
  .hero-copy h1 { font-size: clamp(28px, 8.2vw, 38px); }
}

.closing-scene { position: relative; z-index: 3; overflow: clip; isolation: isolate; background: #0d0b10; }
.studio-merch {
  position: relative;
  z-index: 2;
  min-height: 0;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
}
.studio-merch[hidden] { display: none !important; }
.studio-merch[hidden] + .site-footer { padding-top: clamp(60px, 8vw, 100px); }

.merch-backdrop {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}
.merch-image {
  position: absolute;
  inset: -9%;
  background-size: cover;
  background-position: center 42%;
  background-attachment: scroll;
  opacity: 0;
  filter: blur(12px) brightness(1.05) saturate(.7);
  transition: opacity 1.3s ease;
}
.merch-image.is-active { opacity: 1; }
.scene-scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(5,5,8,.61);
  pointer-events: none;
}
.merch-content { position: relative; z-index: 2; padding-block: 26px 18px; }
.merch-main {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 40px;
  min-height: 184px;
  padding-block: 18px 22px;
}
.merch-kicker { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 750; letter-spacing: .16em; }
.merch-copy h2 { margin: 8px 0 9px; font-size: clamp(27px, 3vw, 38px); line-height: 1; letter-spacing: -.05em; }
.merch-copy p { max-width: 540px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(15px,1.5vw,19px); line-height: 1.55; }
.merch-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-width: 245px;
  min-height: 72px;
  margin-bottom: 4px;
  padding: 0 19px 0 24px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  background: rgba(12,12,17,.3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.merch-entry:hover { background: #fff; color: #0a0a0d; transform: translateY(-3px); }
.merch-entry-arrow { font-size: 27px; font-weight: 300; line-height: 1; }

.homepage .site-footer { position: relative; z-index: 2; padding: 34px 0 18px; background: transparent; scroll-margin-top: var(--header-height); }
.footer-main { display: grid; grid-template-columns: .85fr 1.5fr; gap: clamp(40px,7vw,110px); }
.footer-identity { display: flex; align-items: center; gap: 13px; }
.footer-identity img { width: 54px; height: 54px; object-fit: contain; }
.footer-identity>div { display: flex; flex-direction: column; gap: 3px; }
.footer-identity strong { color: #fff; font-size: 16px; letter-spacing: .06em; }
.footer-identity span { color: #aaa; font-size: 8px; font-weight: 700; letter-spacing: .23em; }
.footer-find h2 { margin: 0 0 9px; color: #fff; font-size: clamp(27px,3vw,40px); line-height: 1.1; letter-spacing: -.045em; }
.footer-find>p { margin: 0 0 15px; color: #d4d4d4; font-size: 13px; line-height: 1.45; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
.footer-platform {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 53px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: transparent;
  color: #f5f5f5;
  transition: background .2s ease, border-color .2s ease;
}
.footer-platform[hidden] { display: none; }
.footer-platform:hover { background: transparent; border-color: #fff; color: #fff; }
.footer-platform-pending { cursor: default; }
.footer-platform-pending:hover { border-color: rgba(255,255,255,.18); }
.footer-link-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-link-copy strong { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.footer-link-copy small { color: #c4c4c4; font-size: 10px; font-weight: 500; line-height: 1.25; }
.footer-platform>span:last-child { font-size: 18px; font-weight: 300; line-height: 1; }
.footer-wordmark {
  margin: 25px 0 12px;
  overflow: visible;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.21);
  font-size: clamp(76px,12.4vw,180px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.075em;
  max-width: 100%;
  white-space: nowrap;
  user-select: none;
}
.footer-tail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding-top: 15px;
  border-top: 1px solid #3a3a3a;
  color: #bcbcbc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.back-top-link { color: #d0d0d0; font-size: 11px; font-weight: 700; transition: color .2s ease; }
.back-top-link:hover { color: #fff; }
.back-top-link { justify-self: end; }
.footer-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); white-space: nowrap; }
.footer-nav a { color: #d0d0d0; font-size: 11px; font-weight: 700; transition: color .2s ease; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: #fff; }

.footer-overline { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.supporters-panel {
  margin-top: 38px;
  padding: 28px;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(8,8,12,.24);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.supporters-panel[hidden] { display: none; }
.supporters-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.supporters-panel-head h3 { margin: 9px 0 0; color: #fff; font-size: clamp(25px,3vw,40px); line-height: 1; letter-spacing: -.05em; }
.supporters-search-wrap { position: relative; min-height: 36px; }
.supporters-search-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.035); color: rgba(255,255,255,.58); font: inherit; font-size: 10px; letter-spacing: .12em; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.supporters-search-toggle:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); color: #fff; }
.supporters-search-toggle[hidden] { display: none; }
.supporters-search-panel { display: flex; align-items: center; gap: 6px; }
.supporters-search-panel[hidden] { display: none; }
.supporters-search { display: flex; align-items: center; gap: 8px; width: min(100%,250px); min-height: 36px; padding: 0 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(0,0,0,.36); }
.supporters-search input { width: 100%; height: 36px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 12px; }
.supporters-search input::placeholder { color: #909090; }
.supporters-search:focus-within { border-color: #fff; }
.supporters-search-close { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.42); font: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.supporters-search-close:hover { color: #fff; }
.supporters-list { display: flex; flex-direction: column; gap: 0; max-height: 400px; overflow-y: auto; padding: 18px 8px 10px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.supporters-list::-webkit-scrollbar { width: 4px; }
.supporters-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 999px; }
.supporters-list::-webkit-scrollbar-track { background: transparent; }
.supporters-tier { display: flex; flex-direction: column; align-items: center; width: 100%; }

.supporters-tier-title { margin: 0 auto 10px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-align: center; color: rgba(255,255,255,.72); user-select: none; }
.supporters-tier--special .supporters-tier-title,
.supporters-tier--normal .supporters-tier-title { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.72); margin-bottom: 10px; }

.supporters-tier-names { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; justify-content: center; column-gap: 19px; row-gap: 12px; width: 100%; text-align: center; }

.supporters-divider { display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px 0 14px; }
.supporters-divider-line { display: block; width: min(320px, 50%); height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18) 20%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.18) 80%, transparent); }

.supporter-person,
.supporter-person--special { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: rgba(255,255,255,.54); font-size: 13px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; text-decoration: none; transition: color .2s ease; }
.supporter-person:hover,
.supporter-person--special:hover { border: 0; background: transparent; color: #fff; }
.supporter-highlight { background: transparent; color: rgba(255,255,255,.78); font-weight: 500; text-shadow: 0 0 4px rgba(255,255,255,.45), 0 0 8px rgba(255,255,255,.22); }
.supporter-person:hover .supporter-highlight,
.supporter-person--special:hover .supporter-highlight { color: #fff; text-shadow: 0 0 5px rgba(255,255,255,.6), 0 0 10px rgba(255,255,255,.35); }

.supporter-separator { color: rgba(255,255,255,.24); font-size: 10px; line-height: 1; user-select: none; }
.supporters-empty { margin: 18px 0 0; color: #c6c6c6; font-size: 12px; text-align: center; }
.supporters-empty[hidden] { display: none; }

@media (max-width: 1024px) {
  .news-inner { grid-template-columns: 1fr; gap: 20px; }
  .games-section > .section-wrap { width: min(100% - 64px, 900px); }
  .games-list { gap: 76px; }
  .game-card {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding: 0;
  }
  .game-card-media { aspect-ratio: 16 / 9; }
  .game-card-content { max-width: 700px; }

  .merch-main { min-height: 300px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .homepage .desktop-nav { gap: 6px; }
  .homepage .desktop-nav a { padding: 0 6px; font-size: 12px; }
  .homepage .action-btn { padding-inline: 12px; font-size: 10px; }
}

@media (max-width: 860px) {
  .homepage .desktop-nav { display: none; }
  .homepage .menu-toggle { display: flex; }
}

@media (max-width: 767px) {
  .game-card { grid-template-rows: auto auto auto auto; row-gap: 0; }
  .game-card-media { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; }
  .game-card-featured .parallax-target { height: 225%; object-position: 88% center; transform: translateY(-66px); }
  .game-card-content { display: contents; }
  .game-card-meta,
  .game-card-title { grid-column: 1; grid-row: 1; z-index: 2; margin: 0; pointer-events: none; }
  .game-card-meta { align-self: start; padding: 16px 18px; }
  .media-badge { display: none; }
  .game-card-title { align-self: end; padding: 0 18px 16px; font-size: clamp(32px, 8vw, 48px); line-height: 1; }
  .game-card-title a { pointer-events: auto; }
  .game-card-title span { margin-top: 5px; font-size: 15px; color: rgba(255,255,255,.85); }
  .media-link::after {
    inset: 0;
    height: auto;
    background: linear-gradient(180deg, rgba(0,0,0,.54), transparent 40%, rgba(0,0,0,.06) 48%, rgba(0,0,0,.74));
  }
  .game-card-desc { grid-column: 1; grid-row: 2; margin: 19px 0 0; }
  .game-card-platforms { grid-column: 1; grid-row: 3; margin: 20px 0 0; }
  .game-card-actions { grid-column: 1; grid-row: 4; margin-top: 20px; }
}

@media (max-width: 768px) {
  .homepage .hero-stage { height: 100svh; }
  .hero-spacer { height: 100svh; }
  .homepage .hero-inner { padding-top: calc(var(--header-height) + 132px); }
  .desktop-nav, .action-btn { display: none; }
  .menu-toggle { display: flex; }
  .section-wrap { width: min(100% - 32px, 100%); }
  .games-section { padding-block: 62px 78px; }
  .games-section > .section-wrap { width: min(100% - 32px, 100%); }
  .games-list { gap: 72px; }
  .game-card { gap: 24px; }
  .game-card-media { aspect-ratio: 16 / 9; max-height: none; border-radius: 16px; }
  .media-badge { top: 18px; left: 18px; }
  .game-card-title { font-size: clamp(32px, 8vw, 40px); }
  .homepage { --header-height: 72px; }
  .homepage .masthead-inner { width: min(100% - 32px, 100%); }
  .homepage .brand img { width: 46px; height: 46px; }
  .homepage .brand-name strong { font-size: 14px; }
  .homepage .brand-name span { font-size: 8px; }
  .homepage .language-select { height: auto; padding: 11px 10px; }
  .news-banner { padding: 30px 0; }

  .games-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
  .games-header h2 { font-size: clamp(27px, 7.4vw, 44px); }

  .studio-merch { min-height: 0; }
  .merch-content { padding-block: 26px 18px; }
  .merch-main { min-height: 0; padding-block: 32px 30px; }
  .merch-copy h2 { font-size: clamp(29px,8vw,40px); }
  .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .footer-wordmark { margin-top: 25px; font-size: 15.2vw; }
  .footer-tail { grid-template-columns: 1fr auto; gap: 18px; }
}
@media (max-width: 768px) and (max-height: 650px) {
  .homepage .hero-inner { padding-top: calc(var(--header-height) + 36px); }
}

@media (max-width: 767px) {
  .game-card { row-gap: 0; }
}

@media (max-width: 480px) {
  .games-section { padding-block: 52px 64px; }
  .games-list { gap: 62px; }
  .game-card-title { margin-bottom: 0; }
  .game-card-desc { font-size: 14px; line-height: 1.8; }
  .game-card-platforms > span:not(.game-card-platforms-label) { padding: 8px 11px; font-size: 10px; }
  .merch-main { grid-template-columns: 1fr; gap: 22px; padding-block: 32px 30px; }
  .merch-copy h2 { font-size: clamp(30px,10vw,40px); }
  .merch-entry { width: 100%; min-height: 60px; }
  .homepage .site-footer { padding-top: 32px; }
  .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-wordmark { font-size: 18.2vw; margin-top: 24px; }
  .footer-tail { grid-template-columns: 1fr auto; }
  .back-top-link { justify-self: end; }
  .supporters-panel { padding: 20px 15px; }
  .supporters-search-wrap, .supporters-search-toggle, .supporters-search-panel, .supporters-search { width: 100%; }
  .supporters-search-panel { position: relative; }
  .supporters-search-close { flex: 0 0 30px; }
  .supporters-list { max-height: 300px; padding-inline: 2px; }
  .supporters-tier-names { column-gap: 13px; row-gap: 11px; }
}

@media (max-width: 360px) {
  .homepage .brand { gap: 8px; }
  .homepage .brand img { width: 42px; height: 42px; }
  .homepage .brand-name strong { font-size: 13px; white-space: nowrap; }
  .homepage .brand-name span { font-size: 7px; letter-spacing: .09em; white-space: nowrap; }
  .homepage .header-actions { gap: 8px; }
  .homepage .language-select { padding-inline: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image,.merch-image,.merch-entry { transition: none; }
  .merch-backdrop { position: absolute; inset: 0; height: auto; margin: 0; }
  .merch-image { background-attachment: scroll; }
  .hero-bg-layer,.hero-content-layer { transform: none !important; }
}

.game-page .site-footer { background: #08080a; padding: 0; }
.game-page .footer-inner { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 50px; padding-top: 75px; padding-bottom: 75px; }
.game-page .footer-brand>span { display: block; color: #f4f3f1; font-size: 23px; font-weight: 900; line-height: 1.25; letter-spacing: .04em; }
.game-page .footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.game-page .footer-column h3 { margin: 0 0 8px; color: #89848c; font-size: 10px; letter-spacing: .18em; }
.game-page .footer-column a { color: #d7d2d9; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.game-page .footer-column a:hover { color: #fff; }
.game-page .footer-bottom { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 25px; border-top: 1px solid var(--line-light); color: #8b858d; font-size: 9px; letter-spacing: .12em; }
.game-page .footer-bottom a { margin-left: auto; }
@media (max-width: 680px) {
  .game-page .footer-inner { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .game-page .footer-brand { grid-column: 1/-1; }
  .game-page .footer-bottom { flex-wrap: wrap; }
  .game-page .footer-bottom a { width: 100%; margin: 8px 0 0; }
}


.homepage .closing-scene {
  display: grid;
  grid-template: auto 1fr / minmax(0, 1fr);
  margin-top: -2px;
  background: rgb(var(--lower-surface));
}
.homepage .closing-scene .merch-backdrop,
.homepage .closing-scene.is-parallax-ready .merch-backdrop {
  grid-area: 1 / 1 / 3 / 2;
  position: sticky;
  top: 0;
  inset-inline: 0;
  align-self: start;
  width: 100%;
  height: 100vh;
  height: 100svh;
  margin: 0;
  clip-path: none;
  overflow: hidden;
  z-index: 0;
}
.homepage .merch-image {
  inset: -9%;
  background-attachment: scroll;
  transform: translate3d(0, calc(var(--scene-parallax-y, 0px) + 42px), 0) scale(1.12);
  filter: blur(24px) brightness(.68) saturate(.72);
  transition: opacity 1.3s ease;
}
.homepage .scene-scrim,
.homepage .closing-scene.is-parallax-ready .scene-scrim {
  grid-area: 1 / 1 / 3 / 2;
  position: sticky;
  top: 0;
  inset-inline: 0;
  align-self: start;
  width: 100%;
  height: 100vh;
  height: 100svh;
  clip-path: none;
  z-index: 1;
  background: #07060a;
  opacity: var(--scene-scrim-opacity, .72);
  pointer-events: none;
}
.homepage .closing-scene .studio-merch { grid-area: 1 / 1; z-index: 2; }
.homepage .closing-scene .site-footer { grid-area: 2 / 1; z-index: 2; }
@media (min-width: 1025px) {
  .homepage .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, .78fr);
    column-gap: clamp(40px, 4.4vw, 68px);
    align-items: stretch;
  }
  .homepage .footer-credits {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .homepage .footer-find {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    position: relative;
    padding: 4px 0 0 clamp(26px, 2.8vw, 40px);
    border-left: 0;
  }
  .homepage .footer-find::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 14px;
    width: 1px;
    background: rgba(255,255,255,.12);
  }
  .homepage .supporters-panel {
    margin: 0;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
  }
  .homepage .supporters-list {
    justify-content: flex-start;
    padding-inline: 0;
    border-top-color: rgba(255,255,255,.12);
  }
}

@media (max-width: 768px) {
  .homepage .closing-scene {
    position: relative;
    overflow: clip;
    isolation: isolate;
  }
  .homepage .merch-backdrop,
  .homepage .closing-scene.is-parallax-ready .merch-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    clip-path: none;
  }
  .homepage .merch-image {
    position: absolute;
    inset: -6%;
    background-size: cover;
    background-position: center;
    transform: none;
    filter: blur(24px) brightness(.72) saturate(.75);
  }
  .homepage .scene-scrim,
  .homepage .closing-scene.is-parallax-ready .scene-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
    background: #07060a;
    opacity: 0.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage .merch-image { filter: blur(20px) brightness(.68) saturate(.72); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.homepage .studio-merch { padding: clamp(38px, 5vw, 70px) 0 32px; }
.homepage .studio-merch::after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  width: min(calc(100% - 80px), 1200px);
  height: .5px;
  background: rgba(255,255,255,.35);
  transform: translateX(-50%);
}
.homepage .merch-content {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.homepage .merch-main {
  grid-template-columns: minmax(0,1fr) minmax(205px,245px);
  min-height: 0;
  align-items: end;
  gap: clamp(32px, 6vw, 100px);
  padding: 0;
}
.homepage .merch-kicker { font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.homepage .merch-copy h2 { max-width: 900px; margin: 16px 0 18px; font-size: clamp(38px, 4.3vw, 68px); line-height: 1.15; letter-spacing: -.055em; }
.homepage .merch-copy h2 span { display: block; }
.homepage .merch-copy h2 span + span { margin-top: 6px; font-size: .65em; font-weight: 700; letter-spacing: -.035em; }
.homepage .merch-copy p { max-width: 600px; color: rgba(255,255,255,.74); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.5; }
.homepage .merch-actions { display: grid; grid-template-columns: 1fr; gap: 10px; padding-bottom: 3px; }
.homepage .merch-entry {
  min-width: 0;
  min-height: 60px;
  margin: 0;
  padding-inline: 20px 16px;
  border-color: #d9c6ed;
  border-radius: 14px;
  background: #d9c6ed;
  color: #21172c;
  font-size: 12px;
  letter-spacing: .05em;
  transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease;
}
.homepage .merch-entry-claim {
  border-color: transparent;
  background: rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.homepage .merch-entry:hover,
.homepage .merch-entry:focus-visible,
.homepage .merch-entry:active {
  border-color: #fff;
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}
.homepage .merch-entry-arrow { flex: none; font-size: 21px; }
.homepage .site-footer { padding: clamp(54px, 6vw, 86px) 0 34px; }
.homepage .footer-find > p { margin-bottom: 16px; color: #bdbdbd; }
.footer-find-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.footer-explore { display: flex; gap: clamp(28px, 4vw, 56px); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }
.footer-explore-group { flex: 1; }
.footer-explore-group { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-explore-group h3 { margin: 0 0 3px; color: #f4f3f1; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.footer-explore-group a { color: #bdbdbd; font-size: 12px; line-height: 1.4; transition: color .2s ease; }
.footer-explore-group a:hover, .footer-explore-group a:focus-visible { color: #fff; }
.footer-explore-group a .footer-game-title { display: block; color: inherit; font-size: 12px; }
.footer-explore-group a small { display: block; margin-top: 2px; color: #929292; font-size: 10px; }
.footer-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  margin-top: 30px;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #f4f3f1;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.footer-contact-card:hover,
.footer-contact-card:focus-visible { border-color: #fff; background: #fff; color: #111; }
.footer-contact-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-contact-copy strong { font-size: 13px; font-weight: 800; }
.footer-contact-email { display: inline-block; align-self: flex-start; margin: 10px 0 0 3px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 500; line-height: 1.45; letter-spacing: .005em; overflow-wrap: anywhere; text-decoration: none; transition: color .2s ease; }
.footer-contact-email:hover, .footer-contact-email:focus-visible { color: #fff; }
.footer-contact-copy small { font-size: 10px; line-height: 1.35; opacity: .72; }
.footer-contact-arrow { flex: none; font-size: 23px; font-weight: 300; line-height: 1; }
.homepage .footer-platform { min-height: 49px; padding-block: 8px; }
.homepage .footer-link-copy strong { font-size: 12px; }
.homepage .footer-link-copy small { font-size: 10px; }
.homepage .footer-wordmark { margin: 17px 0 12px; }
.homepage .footer-tail { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
.homepage .supporters-panel { margin-top: 16px; padding-block: 0; }
.homepage .supporters-panel[hidden] { display: none !important; }
.homepage .supporters-panel-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; }
.homepage .supporters-panel-head h3 { margin-top: 6px; font-size: clamp(24px, 2.6vw, 34px); }
.homepage .supporters-search-wrap { grid-column: 2; grid-row: 1; justify-self: end; }
.supporters-search-wrap {
  width: 138px;
  height: 38px;
  min-height: 38px;
  transition: width .52s cubic-bezier(.22,1,.36,1);
}
.supporters-search-wrap.is-open { width: min(320px, 100%); }
.supporters-search-toggle,
.supporters-search-panel { position: absolute; inset: 0; width: 100%; height: 38px; }
.supporters-search-toggle { transition: opacity .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
.supporters-search-toggle:disabled { opacity: 0; pointer-events: none; }
.supporters-search-panel {
  gap: 5px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scaleX(.75);
  transform-origin: left center;
  transition: opacity .3s ease, transform .52s cubic-bezier(.22,1,.36,1), visibility 0s linear .52s;
}
.supporters-search-wrap.is-open .supporters-search-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scaleX(1);
  transition-delay: .1s, 0s, 0s;
}
.supporters-search { flex: 1; min-width: 0; width: auto; }
.homepage .supporters-list { margin-top: 16px; padding-top: 10px; }

@media (min-width: 769px) {
  .homepage .merch-main { min-height: 0; }
}

@media (min-width: 1025px) {
  .homepage .supporters-panel { margin-top: 0; padding-top: 4px; }
  .homepage .supporters-list { max-height: 360px; }
  .homepage .supporters-search-wrap { align-self: end; }
  .homepage .supporters-search-wrap.is-open { width: min(285px, 45vw); }
  .homepage .footer-wordmark { margin: auto 0 12px; padding-top: clamp(24px, 2.8vw, 40px); font-size: clamp(128px, 20.5cqw, 178px); letter-spacing: -.052em; }
  .homepage .footer-contact-card { margin-top: auto; }
  .homepage .footer-contact-email { margin-bottom: 14px; }
  .homepage .footer-tail { margin-top: 24px; padding-top: 18px; border-top-color: rgba(255,255,255,.12); }
}

@media (max-width: 1024px) {
  .homepage .footer-main { display: flex; flex-direction: column; }
  .homepage .footer-credits { display: contents; }
  .homepage .supporters-panel { order: 1; }
  .homepage .footer-find { order: 2; padding-left: 0; }
  .homepage .footer-wordmark { order: 3; }
  .homepage .footer-find::before { display: none; }
  .homepage .supporters-panel { margin-top: 0; }
  .homepage .supporters-panel-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .homepage .supporters-search-wrap { grid-column: 1; grid-row: 2; justify-self: center; }
  .homepage .supporters-list { justify-content: center; text-align: center; }
  .homepage .supporters-empty { text-align: center; }
}

@media (max-width: 900px) {
  .footer-nav { display: none; }
  .homepage .footer-tail { grid-template-columns: 1fr auto; }
}

@media (max-width: 768px) {
  .homepage .studio-merch { padding: 42px 0 30px; }
  .homepage .merch-content { padding: 0; }
  .homepage .merch-main { grid-template-columns: 1fr; gap: 21px; }
  .homepage .merch-copy h2 { font-size: clamp(32px, 7vw, 44px); }
  .homepage .merch-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .homepage .merch-entry { min-width: 0; }
  .homepage .supporters-panel { margin-top: 0; padding: 0; border: 0; background: transparent; }
  .homepage .supporters-list { min-height: 235px; max-height: 235px; }
  .homepage .footer-find { margin-top: 38px; }
  .footer-explore { gap: 32px; }
  .homepage .footer-wordmark { margin-top: 18px; }
}

@media (max-width: 480px) {
  .homepage .studio-merch { padding: 34px 0 26px; }
  .homepage .studio-merch::after { width: calc(100% - 32px); }
  .homepage .merch-content { padding: 0; }
  .homepage .merch-main { gap: 20px; }
  .homepage .merch-copy h2 { margin-block: 16px; }
  .homepage .merch-entry { width: 100%; min-height: 54px; padding-inline: 12px 10px; font-size: 11px; }
  .homepage .site-footer { padding-top: 26px; }
  .homepage .footer-find > p { font-size: 12px; }
  .homepage .footer-links { gap: 0 15px; }
  .footer-explore { gap: 16px; }
  .footer-explore-group a { font-size: 11px; }
  .supporters-search-wrap.is-open { width: min(320px, 100%); }
  .homepage .supporters-list { min-height: 235px; max-height: 235px; }
}

@media (max-width: 340px) {
  .homepage .merch-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .supporters-search-wrap, .supporters-search-toggle, .supporters-search-panel, .homepage .merch-entry { transition: none; }
  .game-card-media::before { transition: none; }
  .homepage .merch-backdrop,
  .homepage .closing-scene.is-parallax-ready .merch-backdrop { position: absolute; inset: 0; height: auto; margin: 0; clip-path: none; }
  .homepage .merch-image { transform: translate3d(0, 42px, 0); }
}

.homepage .hero-image,
.homepage .hero-video { object-position: var(--hero-position, center 46%); }
@media (max-width: 768px) {
  .homepage .hero-image,
  .homepage .hero-video { object-position: var(--hero-position-mobile, var(--hero-position, center 46%)); transform: translate3d(0, var(--hero-mobile-y, 0px), 0) scale(1.012); }
  .homepage .hero-image.is-active,
  .homepage .hero-video.is-active { transform: translate3d(0, var(--hero-mobile-y, 0px), 0) scale(1); }
  .homepage .hero-image[src$="hero-01.webp"],
  .homepage .hero-video[src$="1.webm"] { --hero-mobile-y: 6px; }
  .homepage .hero-image[src$="hero-03.webp"],
  .homepage .hero-video[src$="3.webm"] { --hero-mobile-y: 8px; }
  .homepage .hero-image[src$="hero-06.webp"],
  .homepage .hero-image[src$="hero-07.webp"],
  .homepage .hero-image[src$="hero-08.webp"],
  .homepage .hero-video[src$="6.webm"],
  .homepage .hero-video[src$="7.webm"],
  .homepage .hero-video[src$="8.webm"] { --hero-mobile-y: 4px; }
}
.site-notice-dialog {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 40px), 480px);
  max-width: none;
  margin: auto;
  padding: clamp(32px, 5.5vw, 44px) clamp(28px, 5vw, 40px) clamp(28px, 4.5vw, 36px);
  border: 0;
  outline: none;
  border-radius: 24px;
  background: rgba(22, 22, 26, 0.78);
  color: #fff;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
}
.site-notice-dialog[open] {
  animation: site-notice-in .4s cubic-bezier(.16, 1, 0.3, 1) both;
}
.site-notice-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: site-notice-backdrop .3s ease both;
}
.site-notice-kicker {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.site-notice-dialog h2 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(28px, 4.8vw, 38px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.045em;
}
.site-notice-dialog p {
  max-width: 32em;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: -.005em;
  white-space: pre-line;
}
.site-notice-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-notice-close:hover,
.site-notice-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.06);
}
.site-notice-action {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 650 12px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-notice-action:hover,
.site-notice-action:focus-visible {
  background: #fff;
  color: #0c0b10;
  transform: translateY(-1px);
}
@keyframes site-notice-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes site-notice-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .site-notice-dialog[open],
  .site-notice-dialog::backdrop { animation: none; }
}
html:lang(es) .homepage .hero-copy h1,
html:lang(fr) .homepage .hero-copy h1,
html:lang(de) .homepage .hero-copy h1 { font-size: clamp(42px, 4.7vw, 68px); line-height: 1.07; }
@media (max-width: 680px) {
  html:lang(es) .homepage .hero-copy h1,
  html:lang(fr) .homepage .hero-copy h1,
  html:lang(de) .homepage .hero-copy h1 { font-size: clamp(34px, 8.8vw, 48px); }
}


@keyframes studioHeroIn {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.hero-copy .eyebrow {
  animation: studioHeroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}
.hero-copy h1 {
  animation: studioHeroIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
.hero-copy .hero-description {
  animation: studioHeroIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.hero-copy .hero-actions {
  animation: studioHeroIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.site-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.site-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.news-inner .news-head.site-reveal { transition-delay: 0ms; }
.news-inner .news-body.site-reveal { transition-delay: 80ms; }
.news-inner .news-action.site-reveal { transition-delay: 160ms; }

.games-list .game-card-featured.site-reveal { transition-delay: 0ms; }

.merch-main .merch-copy.site-reveal { transition-delay: 0ms; }
.merch-main .merch-actions.site-reveal { transition-delay: 120ms; }

.footer-explore-group:nth-child(2).site-reveal { transition-delay: 100ms; }

.game-card-media {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.game-card-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.game-card-media:hover .parallax-target {
  filter: brightness(1.06) saturate(1.06);
}

.button-flat-primary {
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.button-flat-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}
.button-flat-primary:active {
  transform: translateY(0) scale(0.97);
}

.button-flat-ghost {
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.button-flat-ghost:hover {
  transform: translateY(-2px);
}
.button-flat-ghost:active {
  transform: translateY(0) scale(0.97);
}

.merch-entry {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease;
}
.merch-entry:hover {
  transform: translateY(-2px);
}
.merch-entry:active {
  transform: translateY(0) scale(0.97);
}

.footer-platform {
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-platform:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.footer-platform:active {
  transform: translateY(0) scale(0.98);
}

.back-top-link {
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.back-top-link:hover {
  color: #fff;
  transform: translateY(-2px);
}
.back-top-link:active {
  transform: translateY(0);
}

@media (max-width: 768px) and (orientation: portrait), (max-width: 768px) {
  @keyframes studioHeroInMobile {
    from { opacity: 0; transform: translate3d(0, 12px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  .hero-copy .eyebrow { animation-name: studioHeroInMobile; animation-duration: 0.55s; }
  .hero-copy h1 { animation-name: studioHeroInMobile; animation-duration: 0.55s; animation-delay: 0.1s; }
  .hero-copy .hero-description { animation-name: studioHeroInMobile; animation-duration: 0.55s; animation-delay: 0.2s; }
  .hero-copy .hero-actions { animation-name: studioHeroInMobile; animation-duration: 0.55s; animation-delay: 0.3s; }

  .site-reveal {
    transform: translate3d(0, 14px, 0);
    transition: opacity 0.48s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .site-reveal.is-revealed {
    transform: translate3d(0, 0, 0);
  }

  .news-inner .news-head.site-reveal,
  .news-inner .news-body.site-reveal,
  .news-inner .news-action.site-reveal,
  .games-list .game-card-featured.site-reveal,
  .merch-main .merch-copy.site-reveal,
  .merch-main .merch-actions.site-reveal,
  .footer-explore-group:nth-child(2).site-reveal {
    transition-delay: 0ms !important;
  }

  .game-card-media:hover {
    transform: none;
    box-shadow: none;
  }
  .game-card-media:active {
    transform: scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-description,
  .hero-copy .hero-actions,
  .site-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .homepage .closing-scene {
    display: grid;
    grid-template: auto 1fr / minmax(0, 1fr);
  }
  .homepage .closing-scene .merch-backdrop {
    grid-area: 1 / 1 / 3 / 2;
    position: sticky;
    inset: 0 auto auto;
    align-self: start;
    height: 100vh;
    height: 100svh;
  }
  .homepage .closing-scene .studio-merch { grid-area: 1 / 1; }
  .homepage .closing-scene .site-footer { grid-area: 2 / 1; }
  .homepage .closing-scene .scene-scrim {
    background: rgba(7, 6, 10, .62);
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .homepage .closing-scene .merch-image { filter: brightness(.72) saturate(.75); }
}

.decorative-poster,
.decorative-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: inherit;
  pointer-events: none;
}

.hero-media { object-position: var(--hero-position, center 46%); }
.decorative-motion { opacity: 0; }
.decorative-motion.is-playing { opacity: 1; }

@media (max-width: 768px) {
  .hero-media { object-position: var(--hero-position-mobile, var(--hero-position, center 46%)); }
}

/* Homepage masthead and background playback */
body.homepage .masthead,
body.homepage .masthead.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.homepage .mobile-nav {
  background: rgba(18, 20, 24, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

body.homepage #news { scroll-margin-top: calc(var(--header-height) + 12px); }
.desktop-nav a[aria-current="page"] { color: #fff; }
.nav-shop-arrow {
  margin-inline-start: .42em;
  font-size: .95em;
  line-height: 1;
}

.hero-stage .hero-controls {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.15vw, 16px);
  max-width: 100%;
  color: #fff;
}
.hero-playback, .hero-slide-button {
  display: grid;
  place-items: center;
  flex: none;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hero-playback { width: 44px; }
.hero-playback svg { width: 26px; height: 26px; fill: currentColor; }
.hero-playback .hero-icon-play,
.hero-stage[data-rotation-paused] .hero-icon-pause { display: none; }
.hero-stage[data-rotation-paused] .hero-icon-play { display: block; }
.hero-stage[data-rotation-paused] img.decorative-motion { visibility: hidden; }

.hero-pagination { display: flex; align-items: center; }
.hero-slide-button {
  width: clamp(21px, 2.45vw, 36px);
  transition: width .24s ease;
}
.hero-slide-button[aria-current="true"] { width: clamp(57px, 9vw, 142px); }
.hero-slide-track {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .33);
}
.hero-slide-button:hover .hero-slide-track { background: rgba(255, 255, 255, .58); }
.hero-slide-fill { display: none; }
.hero-slide-button[aria-current="true"] .hero-slide-track { width: calc(100% - 10px); }
.hero-slide-button[aria-current="true"] .hero-slide-fill {
  display: block;
  width: calc(10px + (100% - 10px) * var(--slide-progress, 0));
  height: 100%;
  border-radius: inherit;
  background: #fff;
}
.hero-playback:focus-visible, .hero-slide-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .hero-slide-track { width: 8px; height: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide-button { transition: none; }
}

/* Shared studio masthead */
.masthead-split .masthead-inner { gap: clamp(18px, 3vw, 46px); }
.masthead-split .desktop-nav {
  position: static;
  min-width: 0;
  transform: none;
  justify-content: flex-start;
}
.masthead-split .desktop-nav a { white-space: nowrap; }
.masthead-split .header-actions { gap: 7px; }
.masthead-split .brand, .masthead-split .header-actions { flex-shrink: 0; }
.masthead-split .header-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
}
.masthead-split .header-icon:hover,
.masthead-split .header-icon:focus-visible {
  background: rgba(255, 255, 255, .12);
}
.masthead-split .header-icon:focus-visible,
.masthead-split .language-select:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 2px;
}
.masthead-split .header-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
}
.masthead-split .language-select { color: #ccc; }
.masthead-split .site-search { position: relative; }
.site-search-panel {
  position: absolute;
  top: 0;
  right: calc(100% + 6px);
  width: min(305px, calc(100vw - 120px));
  color: #f5f5f5;
  opacity: 0;
  pointer-events: none;
  transform: scaleX(.18);
  transform-origin: right center;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), opacity .16s ease;
}
.search-toggle[aria-expanded="true"] + .site-search-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scaleX(1);
}
.site-search-input {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 999px;
  background: rgba(20, 20, 22, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font: inherit;
  font-size: 15px;
  box-shadow: 0 0 22px rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .38);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.site-search-input:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(24, 24, 28, .92);
  box-shadow: 0 0 26px rgba(255, 255, 255, .11), 0 10px 28px rgba(0, 0, 0, .44);
}
.site-search-results {
  max-height: min(58vh, 330px);
  overflow-y: auto;
  margin-top: 7px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(18, 18, 22, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5);
}
.site-search-message { margin: 5px 8px; color: #aaa; font-size: 12px; }
.site-search-list { margin: 0; padding: 0; list-style: none; }
.site-search-list a { display: block; padding: 8px; border-radius: 6px; font-size: 14px; }
.site-search-list a:hover, .site-search-list a:focus-visible { background: #292929; }
#preview-trailer { scroll-margin-top: calc(var(--header-height) + 16px); }

/* Shared split masthead stays transparent over hero opening and blurs on scroll. */
.masthead.masthead-split,
.masthead.masthead-split.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  transition: none;
}
.masthead.masthead-split::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: var(--masthead-glass, 0);
  background: rgb(12 12 12 / .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / .08);
}
body.homepage .hero-bg-layer { inset: 0; height: 100%; z-index: 0; }
body.homepage .hero-content-layer { z-index: 4; }
body.homepage .hero-overlay {
  z-index: 3;
  background: linear-gradient(180deg, rgba(0, 0, 0, .13), rgba(0, 0, 0, .19) 36%, rgba(0, 0, 0, .84)),
              linear-gradient(90deg, rgba(0, 0, 0, .65), transparent 75%);
}
body.homepage .hero-media {
  z-index: 0;
  transform: scale(1.024);
  transition: opacity .9s cubic-bezier(.24, .7, .35, 1), transform 1.1s ease-out;
}
body.homepage .hero-media.is-leaving { z-index: 1; opacity: 1; transform: scale(1); }
body.homepage .hero-media.is-active { z-index: 2; opacity: 1; transform: scale(1); }

.hero-stage .hero-controls { gap: 4px; }
.hero-playback { width: 34px; height: 36px; }
.hero-playback svg { width: 18px; height: 18px; }
.hero-slide-button {
  width: 16px;
  height: 36px;
  transition: width .32s cubic-bezier(.22, 1, .36, 1);
}
.hero-slide-button[aria-current="true"] { width: 55px; }
.hero-slide-track {
  width: 6px;
  height: 6px;
  transition: width .30s cubic-bezier(.22, 1, .36, 1), background-color .18s ease;
}
.hero-slide-button[aria-current="true"] .hero-slide-track { width: calc(100% - 9px); }
.hero-slide-button[aria-current="true"] .hero-slide-fill {
  width: calc(6px + (100% - 6px) * var(--slide-progress, 0));
}
.hero-slide-button:active .hero-slide-track { transform: scale(.86); }
@media (max-width: 768px) {
  .hero-slide-button { width: 15px; }
  .hero-slide-button[aria-current="true"] { width: 46px; }
}

/* Studio news cards */
.studio-news {
  padding: clamp(40px, 6vw, 88px) 0;
  background: #050505;
  color: #f5f5f5;
}
.studio-news > .section-wrap { width: min(100% - 64px, 1280px); }
.studio-news-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(18px, 2.5vw, 34px);
}
.studio-news-heading h2 { margin: 0; font-size: clamp(26px, 4vw, 52px); letter-spacing: -.055em; line-height: 1; }
.studio-news-more { display: inline-flex; gap: 8px; color: #ccc; font-size: 14px; white-space: nowrap; }
.studio-news-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); }
.studio-news-feature {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1c1c1c;
}
.studio-news-feature > a { display: flex; flex-direction: column; height: 100%; }
.studio-news-cover { overflow: hidden; aspect-ratio: 16 / 8.5; }
.studio-news-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.studio-news-feature a:hover img { transform: scale(1.035); }
.studio-news-feature-copy { flex: 1; padding: clamp(20px, 3.5vw, 43px); }
.studio-news p { margin: 0 0 8px; font-size: 12px; color: #aaa; }
.studio-news h3 { margin: 0; line-height: 1.28; color: #f5f5f5; }
.studio-news-feature h3 { font-size: clamp(24px, 3.2vw, 49px); letter-spacing: -.055em; }

.studio-news-list a:hover h3, .studio-news-more:hover { text-decoration: underline; text-underline-offset: .22em; }

@media (max-width: 900px) {
  .masthead-split .masthead-inner { gap: 10px; }
  .masthead-split .header-actions { gap: 4px; }
  .masthead-split .header-icon { width: 38px; height: 42px; }
  .site-search-panel { right: calc(100% + 3px); width: min(260px, calc(100vw - 240px)); }
}
@media (max-width: 768px) {
  .masthead-split .site-search { position: static; }
  .masthead-split .site-search-panel {
    position: fixed;
    top: calc(var(--header-height, 68px) + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    z-index: 180;
    transform: translate3d(0, -8px, 0) scale(0.98);
    transform-origin: top right;
  }
  .masthead-split .search-toggle[aria-expanded="true"] + .site-search-panel {
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@media (max-width: 720px) {
  .studio-news > .section-wrap { width: min(100% - 32px, 1280px); }
  .studio-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .masthead-split .brand { gap: 8px; }
  .masthead-split .brand-mark { flex-basis: 38px; width: 38px; height: 38px; }
  .masthead-split .brand-name strong { font-size: 13px; }
  .masthead-split .brand-name span { font-size: 7px; letter-spacing: .1em; }
  .masthead-split .language-select { min-width: 56px; padding: 8px 5px; font-size: 10px; }
  .masthead-split .menu-toggle { width: 38px; height: 38px; }
  .masthead-split .header-icon { width: 32px; height: 38px; }
}
@media (max-width: 380px) {
  .masthead-split .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.homepage .hero-media,
  .hero-slide-button, .hero-slide-track, .site-search-panel, .studio-news-cover img { transition: none; }
}

/* Centered primary navigation */
.masthead-split .desktop-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: max-content;
  gap: 8px;
  transform: translate(-50%, -50%);
}
.masthead-split .desktop-nav a {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .045em;
  transition: background-color .18s ease, color .18s ease;
}
.masthead-split .desktop-nav a:hover,
.masthead-split .desktop-nav a:focus-visible {
  background: rgba(255, 255, 255, .19);
  color: #fff;
}
.masthead-split .desktop-nav a:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 2px;
}

/* News uses consistent crops to keep the heading and image aligned. */
.studio-news-cover { aspect-ratio: 16 / 10; }
.studio-news-cover img { object-position: 50% 49%; }

/* Official merchandise mosaic */
body.homepage .studio-shop {
  position: relative;
  min-height: 0;
  padding: clamp(48px, 6vw, 84px) 0;
  color: #f5f5f5;
  background: #050505;
}
body.homepage .studio-shop::after { content: none; }
.studio-shop > .section-wrap { width: min(100% - 64px, 1280px); }
.studio-shop-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.studio-shop-heading h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.studio-shop-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .64);
  font-size: clamp(14.5px, 1.15vw, 16px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color .24s ease, transform .24s cubic-bezier(.16, 1, .3, 1);
}
.studio-shop-all span:last-child {
  display: inline-block;
  transition: transform .24s cubic-bezier(.16, 1, .3, 1);
}
.studio-shop-all:hover,
.studio-shop-all:focus-visible {
  color: rgba(255, 255, 255, .94);
  text-decoration: none;
}
.studio-shop-all:hover span:last-child,
.studio-shop-all:focus-visible span:last-child {
  transform: translate3d(2px, -2px, 0);
}
.studio-shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.09fr);
  grid-template-rows: clamp(188px, 24vw, 340px) clamp(165px, 20vw, 270px);
  grid-template-areas: "feature feature stands" "prints claims stands";
  gap: clamp(10px, 1.6vw, 20px);
}
.studio-shop-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #181818;
  isolation: isolate;
}
.studio-shop-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  z-index: 1;
  background: linear-gradient(transparent, rgba(0, 0, 0, .67));
  content: "";
  pointer-events: none;
}
.studio-shop-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.studio-shop-feature { grid-area: feature; }
.studio-shop-stands { grid-area: stands; }
.studio-shop-prints { grid-area: prints; }
.studio-shop-claims { grid-area: claims; }
.studio-shop-feature img { object-position: 50% 53%; }
.studio-shop-stands img { object-position: 53% 36%; }
.studio-shop-prints img { object-position: 50% 55%; }
.studio-shop-claims img { object-position: 50% 46%; }
.studio-shop-caption {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  margin: clamp(12px, 2vw, 25px);
  color: #fff;
  font-size: clamp(14px, 1.8vw, 24px);
  font-weight: 800;
}
.studio-shop-stands .studio-shop-caption {
  padding: 0.32em 0.8em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(24, 30, 38, 0.44);
  color: #f5f3ef;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.studio-shop-tile:hover img { transform: scale(1.035); }
.studio-shop-tile:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 960px) {
  .masthead-split .desktop-nav { display: none; }
  .masthead-split .menu-toggle { display: flex; }
}
@media (max-width: 720px) {
  .studio-shop > .section-wrap { width: min(100% - 32px, 1280px); }
  .studio-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: "feature feature" "stands prints" "claims claims";
  }
  .studio-shop-feature { aspect-ratio: 16 / 10; }
  .studio-shop-stands, .studio-shop-prints { aspect-ratio: 5 / 6; }
  .studio-shop-claims { aspect-ratio: 16 / 8; }
}
@media (prefers-reduced-motion: reduce) {
  .masthead-split .desktop-nav a, .studio-shop-tile img { transition: none; }
}

/* The news heading shares the lower edge of the opening view. */
body.homepage {
  --news-peek: clamp(122px, 18svh, 168px);
  --lower-surface: 5 5 5;
  --content-width: min(100% - 64px, 1420px);
}
body.homepage .hero-spacer {
  height: calc(100vh - var(--news-peek));
  height: calc(100svh - var(--news-peek));
}
body.homepage .hero-content-layer { bottom: var(--news-peek); }
body.homepage .hero-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #050505;
  opacity: var(--hero-scroll-shade, 0);
  content: "";
}
body.homepage .content-surface { background: transparent; }
body.homepage .games-section { background: rgb(var(--lower-surface)); margin-top: -1px; }
body.homepage :is(.studio-news, .games-section, .studio-shop, .site-footer) > .section-wrap {
  width: var(--content-width);
}

.studio-news {
  --news-reveal: 0;
  padding-block: clamp(27px, 3.5vw, 50px) clamp(48px, 7vw, 92px);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.55) calc(var(--news-peek) * 0.8), #050505 calc(var(--news-peek) + 95px));
}
.studio-news .studio-news-grid {
  opacity: calc(0.28 + var(--news-reveal, 0) * 0.72);
  transform: translate3d(0, calc((1 - var(--news-reveal, 0)) * 18px), 0);
  filter: blur(calc((1 - var(--news-reveal, 0)) * 5px));
  will-change: opacity, transform, filter;
}
.studio-news-heading { margin-bottom: clamp(16px, 2vw, 28px); }
.studio-news-heading h2 { font-size: clamp(25px, 3.5vw, 48px); }
.studio-news-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.studio-news-feature { background: #171717; }
.studio-news-cover { aspect-ratio: 16 / 9; background: #141414; }
.studio-news-cover img { object-position: 50% 50%; }
.studio-news-feature-copy { padding: clamp(17px, 2.8vw, 36px); }
.studio-news-feature h3 { font-size: clamp(23px, 3vw, 42px); line-height: 1.2; }
.studio-news .studio-news-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: #b2b2b2; }
.studio-news .studio-news-summary { margin: 13px 0 0; font-size: 14px; line-height: 1.6; color: #bdbdbd; }

@media (max-width: 768px) {
  body.homepage { --news-peek: clamp(42px, 6.5svh, 64px); }
}
@media (max-width: 720px) {
  .studio-news-grid { grid-template-columns: 1fr; }
}
@media (max-height: 580px) {
  body.homepage { --news-peek: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  body.homepage .hero-stage::after { opacity: 0; }
  .studio-news .studio-news-grid { opacity: 1; transform: none; filter: none; }
}

/* Adaptive translucent white masthead, with color artwork on brand hover. */
.masthead-split {
  --masthead-ink: .68;
}
.masthead-split .brand-name strong,
.masthead-split .brand-name span,
.masthead-split .desktop-nav a,
.masthead-split .desktop-nav a:link,
.masthead-split .desktop-nav a:visited,
.masthead-split .desktop-nav a[aria-current="page"],
.masthead-split .header-icon,
.masthead-split .language-select,
.masthead-split .mobile-link,
.masthead-split .mobile-link:link,
.masthead-split .mobile-link:visited {
  color: rgb(255 255 255 / var(--masthead-ink));
  transition: color .34s ease, background-color .18s ease;
}
.masthead-split .menu-toggle .bar {
  background-color: rgb(255 255 255 / var(--masthead-ink));
}
.masthead-split .brand:hover .brand-name strong,
.masthead-split .brand:focus-visible .brand-name strong,
.masthead-split .desktop-nav a:hover,
.masthead-split .desktop-nav a:active,
.masthead-split .desktop-nav a:focus-visible,
.masthead-split .header-icon:hover,
.masthead-split .header-icon:active,
.masthead-split .header-icon:focus-visible,
.masthead-split .mobile-link:hover,
.masthead-split .mobile-link:active { color: #fff; }

.masthead-split .brand-mark {
  position: relative;
  flex: 0 0 59px;
  width: 59px;
  height: 59px;
}
.masthead-split .brand-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity .36s ease, transform .45s cubic-bezier(.22, 1, .36, 1), filter .34s ease;
}
.masthead-split .brand-mark-default {
  opacity: var(--masthead-ink);
  transform: scale(.935);
  filter: grayscale(1) brightness(1.2);
}
.masthead-split .brand-mark-color { opacity: 0; transform: scale(.96); }
.masthead-split .brand:focus-visible .brand-mark-default { opacity: 0; transform: scale(.935); }
.masthead-split .brand:focus-visible .brand-mark-color { opacity: 1; transform: scale(1); }

@media (hover: hover) and (pointer: fine) {
  .masthead-split .brand:hover .brand-mark-default { opacity: 0; transform: scale(.935); }
  .masthead-split .brand:hover .brand-mark-color { opacity: 1; transform: scale(1); }
}
@media (max-width: 768px) {
  .masthead-split .brand-mark { flex-basis: 46px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .masthead-split .brand-mark img,
  .masthead-split .brand-name strong,
  .masthead-split .brand-name span,
  .masthead-split .desktop-nav a,
  .masthead-split .header-icon { transition: none; }
}

/* The wordmark and account controls anchor the ends of the center navigation. */
body .masthead-split .masthead-inner {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(18px, 3.5vw, 64px);
}
.masthead-split .brand-name {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  text-align: center;
  line-height: 1.12;
}
.masthead-split .desktop-nav a[aria-current="page"] {
  color: rgb(255 255 255 / calc(var(--masthead-ink) + .07));
}
body.homepage :is(.hero-copy h1, .games-header h2, .studio-shop-heading h2, .studio-news h3) { color: #e1e1e1; }

.studio-news { padding-top: clamp(25px, 3vw, 46px); }
.studio-news-sidebar {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 9px;
}
.studio-news-list {
  --news-row-height: clamp(84px, 9vw, 132px);
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.studio-news-list a {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  height: 100%;
  min-height: var(--news-row-height);
  overflow: hidden;
  border-radius: 8px;
  transition: background-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .studio-news-list a:hover { background-color: #222; }
}
.studio-news-list a:focus-visible {
  background-color: #222;
  outline: 1px solid #bdbdbd;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .studio-news-list a { transition: none; }
}
.studio-news-list img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 4 / 3;
  align-self: center;
  border-radius: 8px;
  object-fit: cover;
}
.studio-news-list h3 {
  font-size: clamp(15px, 1.5vw, 22px);
  overflow-wrap: anywhere;
}
.studio-news-item-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(10px, 1.3vw, 18px);
}
.studio-news .studio-news-meta { margin: 0 0 5px; color: #a4a4a4; }
.studio-news-list .studio-news-meta { color: #b8b8b8; font-weight: 650; }
.studio-news-date { display: block; color: #a4a4a4; font-size: 12px; }
.studio-news-list .studio-news-date { margin-top: auto; padding-top: 8px; }
.studio-news-feature-copy { display: flex; flex-direction: column; align-items: flex-start; }
.studio-news-feature .studio-news-date { margin-top: auto; padding-top: 12px; }
.studio-news .studio-news-summary { color: #acacac; }
.studio-news-more {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 7px 14px;
  border: 1px solid #333;
  border-radius: 6px;
  color: #c8c8c8;
  background: #141414;
  text-align: center;
  font-size: 13px;
}
.studio-news-more:hover { background: #242424; text-decoration: none; color: #e1e1e1; }
.studio-news-more:focus-visible { outline: 1px solid #ddd; outline-offset: 2px; }

body.homepage .studio-shop {
  background: linear-gradient(to bottom,
    rgb(var(--lower-surface)) clamp(26px, 4vw, 60px),
    rgb(var(--lower-surface) / var(--shop-shade, .62)) 42%,
    rgb(var(--lower-surface) / calc(var(--shop-shade, .62) * .74)) 75%,
    rgb(var(--lower-surface) / 0));
  padding-top: clamp(32px, 4vw, 58px);
}
@media (max-width: 768px) {
  body .masthead-split .masthead-inner { padding-inline: 16px; }
  body .masthead-split .header-actions .menu-toggle { order: 99; }
  .mobile-nav .mobile-link:last-of-type {
    border-bottom: 0;
  }
  .mobile-nav-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding: 10px 4px 4px;
    border-top: 0;
  }
  .mobile-nav-lang-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 600;
  }
  .mobile-nav-lang .language-select {
    display: inline-block !important;
    min-width: 110px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  .studio-news-sidebar { gap: 10px; }
  .studio-news-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-inline: -14px;
    padding: 2px 14px 6px;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }
  .studio-news-list::-webkit-scrollbar { display: none; }
  .studio-news-list li {
    flex: 0 0 76%;
    max-width: 280px;
    scroll-snap-align: start;
  }
  .studio-news-list a {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 84px;
    background: #171717;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .studio-news-list img {
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
  }
  .studio-news-item-copy { padding: 10px 12px; }
  .studio-news-list h3 { font-size: 14px; line-height: 1.35; }
}

/* Keep the opening actions and carousel on one visual baseline. */
body.homepage .hero-inner {
  width: var(--content-width);
  align-self: flex-end;
  padding-top: 0;
  padding-bottom: clamp(24px, 5svh, 54px);
}
.homepage .hero-actions {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: end;
}
.homepage .hero-controls { justify-self: end; }
.masthead-split .header-icon { width: 46px; height: 46px; }
.masthead-split .header-icon svg { width: 24px; height: 24px; }
.masthead-split .desktop-nav a { font-size: 17px; }
.masthead-split .desktop-nav a:hover,
.masthead-split .desktop-nav a:focus-visible { background: rgb(255 255 255 / .13); }
.homepage .masthead-split .brand-name strong { font-size: 18px; }

@media (max-width: 768px) {
  body.homepage { --content-width: calc(100% - 28px); }
  .masthead-split .header-icon { width: 42px; height: 44px; }
  .homepage .masthead-split .brand-name strong { font-size: 15px; }
}
@media (max-width: 620px) {
  body.homepage .hero-inner {
    padding-bottom: 8px;
  }
  .homepage .hero-actions {
    grid-template: "explore support" auto "carousel carousel" auto / auto auto;
    justify-content: start;
    gap: 16px 12px;
    align-items: center;
  }
  .homepage .hero-actions .button {
    box-sizing: border-box;
    justify-self: start;
    justify-content: center;
    width: auto;
    min-height: 48px;
    height: auto;
    gap: 10px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .homepage .hero-actions .button-flat-primary {
    grid-area: explore;
    background: #f2f0ec;
    color: #141414;
  }
  .homepage .hero-actions .support-link {
    grid-area: support;
    background: rgba(18, 18, 20, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.24);
  }
  .homepage .hero-controls {
    grid-area: carousel;
    justify-self: start;
    margin-top: 2px;
  }
  .homepage .hero-stage .hero-controls { gap: 4px; }
  .homepage .hero-playback { width: 28px; }
  .homepage .hero-slide-button { width: 12px; }
  .homepage .hero-slide-button[aria-current="true"] { width: 34px; }
  .homepage .hero-slide-track { width: 5px; height: 5px; }
}
@media (max-height: 480px) {
  body.homepage .hero-inner { padding-bottom: 10px; }
  .homepage .hero-copy h1 { font-size: clamp(27px, 5vw, 45px); margin-bottom: 12px; }
  .homepage .hero-description { margin-bottom: 12px; }
}

/* Lightweight GPU-only scroll reveal & micro-motion */
.reveal-target {
  transition: opacity .58s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms), transform .58s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms);
}
.reveal-target.reveal-pending {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-target,
  .reveal-target.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================================
   CUSTOM FROSTED LANGUAGE PICKER + AUTHENTICATED AVATAR BADGE
   ========================================================================== */
.language-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

.lang-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 243, 241, 0.84);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.24s ease;
}

.lang-picker-trigger:hover,
.lang-picker.is-open .lang-picker-trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
}

.lang-picker-globe {
  opacity: 0.72;
  flex-shrink: 0;
}

.lang-picker-chevron {
  opacity: 0.65;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-picker.is-open .lang-picker-chevron {
  transform: rotate(180deg);
}

.lang-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 132px;
  padding: 5px;
  border-radius: 16px;
  background: linear-gradient(168deg, rgba(28, 28, 30, 0.88), rgba(14, 14, 16, 0.94));
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
  opacity: 0;
  transform: translate3d(0, -6px, 0) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-picker-menu[hidden] {
  display: none !important;
}

.lang-picker.is-open .lang-picker-menu {
  opacity: 1;
  transform: none;
}

.lang-picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 11px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(235, 232, 228, 0.8);
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-picker-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.lang-picker-option.is-active {
  background: rgba(250, 248, 245, 0.12);
  color: #ffffff;
  font-weight: 600;
}

.mobile-nav-lang {
  position: relative;
  z-index: 30;
}

.mobile-nav-lang .lang-picker {
  position: relative;
  z-index: 40;
}

.mobile-nav-lang .lang-picker-menu {
  top: calc(100% + 8px);
  bottom: auto;
  right: 0;
  z-index: 220;
  max-height: min(46dvh, 320px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform-origin: top right;
}

/* Official Website Header Authenticated Avatar */
.masthead-split .header-icon.account-link.is-authenticated {
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease, box-shadow 0.2s ease;
}

.masthead-split .header-icon.account-link.is-authenticated:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  transform: scale(1.04);
}

.account-avatar-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.account-avatar-initial {
  grid-area: 1 / 1;
  font-size: 12.5px;
  font-weight: 700;
  color: #f4f3f1;
  line-height: 1;
  transition: opacity 0.18s ease;
}

.account-avatar-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.account-avatar-img.is-loaded {
  opacity: 1;
}
