:root {
  color-scheme: light;
  --ink: #07060d;
  --paper: #eef9ff;
  --panel: #fffefe;
  --panel-2: #eaf6ff;
  --yellow: #fff15b;
  --gold: #ffbd2f;
  --mint: #35f7b6;
  --cyan: #31e6ff;
  --blue: #207cff;
  --purple: #7a49ff;
  --pink: #ff4eb8;
  --red: #ff3b38;
  --orange: #ff8a1f;
  --line: #07060d;
  --muted: #353447;
  --chrome: rgba(255, 255, 255, 0.82);
  --panel-shine: rgba(255, 255, 255, 0.82);
  --shadow: 8px 8px 0 #07060d;
  --glow-shadow: 0 0 0 2px rgba(255, 255, 255, 0.72), 0 0 28px rgba(49, 230, 255, 0.28), 0 0 48px rgba(122, 73, 255, 0.16);
  --font-display: Impact, Haettenschweiler, "Arial Black", "Franklin Gothic Heavy", "Arial Narrow Bold", sans-serif;
  --font-ui: "Arial Black", "Avenir Next Condensed", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  --font-body: "Avenir Next", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  --max: 1180px;
  --speedline: rgba(49, 230, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(49, 230, 255, 0.34), transparent 25%),
    radial-gradient(circle at 88% 16%, rgba(255, 78, 184, 0.24), transparent 22%),
    radial-gradient(circle at 72% 80%, rgba(122, 73, 255, 0.22), transparent 22%),
    linear-gradient(90deg, rgba(7, 6, 13, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(7, 6, 13, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(222, 250, 255, 0.82) 42%, rgba(255, 244, 197, 0.68)),
    var(--paper);
  background-size: auto, auto, auto, 28px 28px, 28px 28px, 100% 100%;
  animation: paperGridDrift 14s linear infinite;
  font-family: var(--font-body);
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px,
      transparent 5px
    ),
    linear-gradient(90deg, transparent, rgba(49, 230, 255, 0.08), transparent);
  mix-blend-mode: multiply;
  animation: scanlineDrift 6s linear infinite;
}

body::after {
  position: fixed;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(111deg, transparent 0 26%, rgba(122, 73, 255, 0.34) 26.3% 27.2%, transparent 27.5% 100%),
    linear-gradient(124deg, transparent 0 48%, rgba(49, 230, 255, 0.24) 48.2% 49.3%, transparent 49.7% 100%),
    linear-gradient(66deg, transparent 0 66%, rgba(255, 78, 184, 0.2) 66.3% 67.3%, transparent 67.7% 100%),
    linear-gradient(24deg, transparent 0 55%, rgba(97, 255, 188, 0.16) 55.2% 56.4%, transparent 56.8% 100%),
    radial-gradient(circle at 20% 24%, rgba(122, 73, 255, 0.22), transparent 18%),
    radial-gradient(circle at 82% 76%, rgba(122, 73, 255, 0.2), transparent 22%);
  background-size: 135% 135%, 165% 165%, 150% 150%, 150% 150%, 100% 100%, 100% 100%;
  filter: saturate(1.45) contrast(1.04);
  opacity: 0.96;
  transform: translate3d(0, 0, 0) rotate(0.001deg);
  animation: auraSweep 10s ease-in-out infinite alternate;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

body::selection {
  color: var(--ink);
  background: var(--yellow);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.brand,
.hero-poster,
.fighter-portrait,
.gallery-feature,
.gallery-thumb,
.wishlist-art,
.about-hero-card,
.studio-title,
.studio-site-button,
.footer-logo {
  -webkit-touch-callout: none;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section {
  scroll-margin-top: 110px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  font-size: 6.2rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 4.4rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 2.1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  min-height: 96px;
  padding: 14px clamp(18px, 4%, 44px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(49, 230, 255, 0.1)),
    linear-gradient(180deg, #161126, #07060d 70%);
  border-bottom: 4px solid var(--line);
  box-shadow: 0 14px 34px rgba(7, 6, 13, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.site-header::after {
  position: absolute;
  right: 24px;
  bottom: -4px;
  left: 24px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--purple) 36%, var(--yellow) 66%, var(--pink));
  box-shadow: 0 0 18px rgba(49, 230, 255, 0.5), 0 0 24px rgba(255, 78, 184, 0.32);
}

.brand {
  position: relative;
  display: block;
  width: clamp(210px, 17vw, 282px);
  overflow: visible;
  border-radius: 2px;
  isolation: isolate;
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 160ms ease;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(3px 3px 0 var(--ink)) drop-shadow(0 0 12px rgba(49, 230, 255, 0.18));
  transition: filter 160ms ease;
}

.brand::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: url("/assets/mythictale-logo-new.png") center / contain no-repeat;
  opacity: 0;
  filter: brightness(1.9) contrast(1.08) saturate(1.22);
  -webkit-mask-image: linear-gradient(108deg, transparent 0 38%, rgba(0, 0, 0, 0.34) 44%, #000 50%, rgba(0, 0, 0, 0.38) 56%, transparent 64% 100%);
  mask-image: linear-gradient(108deg, transparent 0 38%, rgba(0, 0, 0, 0.34) 44%, #000 50%, rgba(0, 0, 0, 0.38) 56%, transparent 64% 100%);
  -webkit-mask-position: -145% 0;
  mask-position: -145% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 240% 100%;
  mask-size: 240% 100%;
  mix-blend-mode: screen;
  mix-blend-mode: plus-lighter;
  transition: opacity 120ms ease;
  will-change: mask-position, -webkit-mask-position;
}

.social-icon::before {
  position: absolute;
  inset: -38% auto -38% -42%;
  z-index: 3;
  width: 34%;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: skewX(-18deg) translateX(-170%);
  transition: transform 280ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translate(-2px, -2px) rotate(-1deg);
}

.brand:hover::after,
.brand:focus-visible::after {
  animation: brandLogoShimmer 1.15s linear infinite;
  opacity: 1;
}

.social-icon:hover::before,
.social-icon:focus-visible::before,
.social-icon.is-selected::before {
  transform: skewX(-18deg) translateX(520%);
}

.brand:hover img,
.brand:focus-visible img {
  filter: drop-shadow(5px 5px 0 var(--ink)) drop-shadow(0 0 16px rgba(49, 230, 255, 0.38)) drop-shadow(0 0 22px rgba(122, 73, 255, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 12px);
}

.nav-links a,
.button,
.social-link,
.footer-links a,
.eyebrow,
.section-kicker,
.fighter-role,
.fighter-switcher button,
.gallery-thumb span,
.post-meta {
  font-family: var(--font-ui);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a {
  min-height: 40px;
  padding: 8px clamp(10px, 1.2vw, 16px);
  color: rgba(255, 255, 255, 0.9);
  border: 3px solid transparent;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-current {
  color: var(--ink);
  background: linear-gradient(180deg, #fff8b7, var(--yellow) 48%, var(--gold));
  border-color: var(--line);
  box-shadow: 4px 4px 0 rgba(49, 230, 255, 0.8);
  transform: translate(-1px, -1px) skewX(-8deg);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links,
.header-actions {
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar,
.header-actions::-webkit-scrollbar {
  display: none;
}

.social-icon {
  --social-icon-size: 46px;
  position: relative;
  display: inline-flex;
  flex: 0 0 var(--social-icon-size);
  width: var(--social-icon-size);
  min-width: var(--social-icon-size);
  height: var(--social-icon-size);
  min-height: var(--social-icon-size);
  align-items: center;
  justify-content: center;
  contain: layout;
  isolation: isolate;
  line-height: 0;
  overflow: hidden;
  transition: transform 150ms ease, filter 150ms ease;
}

.header-actions > .social-icon:hover,
.header-actions > .social-icon:focus-visible,
.header-actions > .social-icon.is-selected {
  transform: translate(-1px, -2px) scale(1.08);
  filter: drop-shadow(0 0 10px rgba(49, 230, 255, 0.42)) drop-shadow(0 0 16px rgba(122, 73, 255, 0.28));
}

.social-icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: var(--social-icon-size);
  max-width: none;
  height: var(--social-icon-size);
  min-height: var(--social-icon-size);
  object-fit: contain;
  image-rendering: pixelated;
  transition: opacity 140ms steps(3, end);
  backface-visibility: hidden;
  will-change: opacity;
}

.social-icon .icon-outline,
.social-link .icon-outline {
  opacity: 0;
}

.social-icon:hover .icon-base,
.social-icon:focus-visible .icon-base,
.social-icon.is-selected .icon-base,
.social-link:hover .icon-base,
.social-link:focus-visible .icon-base,
.social-link.is-selected .icon-base {
  opacity: 0;
}

.social-icon:hover .icon-outline,
.social-icon:focus-visible .icon-outline,
.social-icon.is-selected .icon-outline,
.social-link:hover .icon-outline,
.social-link:focus-visible .icon-outline,
.social-link.is-selected .icon-outline {
  opacity: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background:
    radial-gradient(circle at 76% 34%, rgba(255, 241, 91, 0.16), transparent 25%),
    radial-gradient(circle at 24% 30%, rgba(49, 230, 255, 0.36), transparent 28%),
    radial-gradient(circle at 70% 78%, rgba(122, 73, 255, 0.36), transparent 28%),
    linear-gradient(132deg, #121025 0%, #07060d 50%, #1d0d2b 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(112deg, transparent 0 12%, rgba(49, 230, 255, 0.32) 12.3% 13.2%, transparent 13.5% 100%),
    linear-gradient(123deg, transparent 0 52%, rgba(122, 73, 255, 0.36) 52.2% 53%, transparent 53.4% 100%),
    linear-gradient(132deg, transparent 0 71%, rgba(255, 78, 184, 0.22) 71.2% 72%, transparent 72.4% 100%),
    radial-gradient(circle at 18% 22%, rgba(49, 230, 255, 0.34), transparent 30%),
    radial-gradient(circle at 84% 68%, rgba(122, 73, 255, 0.28), transparent 28%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(49, 230, 255, 0.08) 46px 48px);
  background-size: 130% 130%, 150% 150%, 150% 150%, 100% 100%, 100% 100%, 96px 96px;
  animation: heroEnergyDrift 7s ease-in-out infinite alternate;
}

.hero::after,
.page-hero::after,
.about-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(122, 73, 255, 0.62) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.14;
  animation: dotMatrixDrift 14s linear infinite;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.38fr) minmax(620px, 1fr);
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  width: min(1420px, calc(100% - 40px));
  min-height: clamp(660px, calc(100vh - 96px), 800px);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 64px) 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--purple) 52%, var(--pink));
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 rgba(7, 6, 13, 0.9), 0 0 18px rgba(49, 230, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(7, 6, 13, 0.62);
}

.page-about .eyebrow,
.page-about .section-kicker,
.page-blog .eyebrow,
.page-blog .section-kicker {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-shadow: 2px 2px 0 rgba(7, 6, 13, 0.78), 0 0 12px rgba(255, 255, 255, 0.18);
}

.studio-eyebrow {
  min-height: 54px;
  gap: 10px;
  padding: 6px 14px;
}

.studio-eyebrow img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 195px;
  object-fit: contain;
}

.tagline,
.page-hero p,
.about-hero p,
.featured-post p,
.feature-cards span,
.blog-post p,
.about-grid p {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 760;
  line-height: 1.58;
}

.tagline {
  max-width: 510px;
  margin-bottom: 16px;
  font-size: 1.18rem;
  font-weight: 820;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

h1 {
  color: #100b11;
  text-shadow: 3px 3px 0 rgba(255, 241, 91, 0.86), 7px 7px 0 rgba(7, 6, 13, 0.14);
}

h2 {
  color: #100b11;
  text-shadow: 2px 2px 0 rgba(49, 230, 255, 0.24);
}

.hero h1 {
  color: #fffdf4;
  text-shadow:
    3px 3px 0 rgba(255, 241, 91, 0.92),
    7px 7px 0 rgba(122, 73, 255, 0.42),
    0 0 26px rgba(49, 230, 255, 0.36);
}

.hero .tagline {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 740;
  text-shadow: 0 2px 0 rgba(7, 6, 13, 0.35);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 530px;
  margin: 0 0 22px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 46%),
    linear-gradient(90deg, rgba(49, 230, 255, 0.18), rgba(122, 73, 255, 0.28));
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: 4px 4px 0 rgba(7, 6, 13, 0.72), 0 0 16px rgba(49, 230, 255, 0.18);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ink);
  background: linear-gradient(90deg, var(--cyan), var(--mint) 42%, var(--yellow));
  box-shadow: 5px 5px 0 rgba(122, 73, 255, 0.88), 0 0 24px rgba(49, 230, 255, 0.4);
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.92rem;
  border: 4px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 0 18px rgba(49, 230, 255, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.button::after {
  position: absolute;
  inset: -40% auto -40% -40%;
  width: 34%;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: skewX(-18deg) translateX(-160%);
  transition: transform 260ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: skewX(-18deg) translateX(470%);
}

.button:hover,
.button:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--line), 0 0 24px rgba(49, 230, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: saturate(1.18) contrast(1.03);
}

.button-primary {
  background: linear-gradient(180deg, #fffbd0, var(--yellow) 46%, var(--gold));
}

.button-secondary {
  color: var(--ink);
  background: linear-gradient(180deg, #b9fbff, var(--cyan) 48%, var(--mint));
}

.button-dark {
  color: var(--panel);
  background: linear-gradient(180deg, #353166, #09070d 64%);
}

.hero-poster {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(1080px, 68vw);
  aspect-ratio: 6000 / 4000;
  isolation: isolate;
  transform: translateX(-1%);
}

.hero-poster::before {
  position: absolute;
  top: 5%;
  left: 8%;
  z-index: -2;
  width: 24%;
  height: 9%;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--mint));
  border: 4px solid var(--line);
  transform: skewX(-18deg) rotate(-4deg);
}

.hero-poster::after {
  position: absolute;
  right: 4%;
  bottom: 7%;
  z-index: -2;
  width: 42%;
  height: 13%;
  content: "";
  background: linear-gradient(90deg, var(--yellow), var(--pink), var(--purple));
  border: 4px solid var(--line);
  transform: skewX(-18deg) rotate(3deg);
}

.hero-poster img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.hero-aura {
  z-index: -1;
  opacity: 0.98;
  filter: saturate(1.18) contrast(1.05) drop-shadow(0 0 34px rgba(49, 230, 255, 0.34)) drop-shadow(0 0 42px rgba(168, 43, 255, 0.34));
  transform: scale(1.08) rotate(-1deg);
  animation: heroAuraFloat 4.8s ease-in-out infinite alternate;
}

.hero-battle-art {
  z-index: 1;
  filter: drop-shadow(12px 18px 0 rgba(7, 6, 13, 0.72)) drop-shadow(0 0 26px rgba(122, 73, 255, 0.34));
  transform: translate(1.5%, -5%) scale(0.99) rotate(0.45deg);
  animation: heroArtFloat 5.8s ease-in-out infinite alternate;
}

.hero-logo-art {
  top: auto;
  right: 1%;
  bottom: -2%;
  left: 1%;
  z-index: 2;
  width: 98%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(8px 11px 0 rgba(4, 4, 16, 0.82)) drop-shadow(0 0 20px rgba(49, 230, 255, 0.34)) drop-shadow(0 0 30px rgba(168, 43, 255, 0.38));
  transform: rotate(-1.3deg);
  animation: heroLogoPulse 4.2s ease-in-out infinite alternate;
}

.social-strip,
.game-pitch,
.fighter-file,
.latest-blog,
.game-gallery,
.feature-grid,
.wishlist-panel,
.page-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.social-strip,
.game-pitch,
.fighter-file,
.latest-blog,
.game-gallery,
.feature-grid,
.wishlist-panel {
  padding: 72px 0;
}

.game-pitch {
  position: relative;
  isolation: isolate;
  border-bottom: 4px solid var(--line);
}

.game-pitch::before {
  position: absolute;
  inset: 38px -18px 46px;
  z-index: -2;
  content: "";
  background:
    linear-gradient(118deg, transparent 0 13%, rgba(49, 230, 255, 0.3) 13.2% 14%, transparent 14.3% 100%),
    linear-gradient(64deg, transparent 0 68%, rgba(122, 73, 255, 0.26) 68.2% 69%, transparent 69.3% 100%),
    radial-gradient(circle at 12% 28%, rgba(49, 230, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 78%, rgba(255, 78, 184, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(230, 249, 255, 0.24));
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  transform: skewY(-1deg);
}

.pitch-heading {
  max-width: 950px;
}

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pitch-grid article {
  position: relative;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--panel-shine), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 100% 0, rgba(49, 230, 255, 0.2), transparent 34%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 4px solid var(--line);
  box-shadow: var(--shadow), 0 0 24px rgba(49, 230, 255, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.pitch-grid article::before {
  position: absolute;
  top: 18px;
  right: -42px;
  width: 150px;
  height: 28px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--yellow));
  border: 4px solid var(--line);
  transform: skewX(-18deg) rotate(2deg);
}

.pitch-grid article:hover {
  filter: saturate(1.08);
  transform: translate(-2px, -4px);
  box-shadow: 12px 12px 0 var(--line), 0 0 26px rgba(122, 73, 255, 0.18);
}

.pitch-number {
  margin-bottom: 18px;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 0.82;
  text-shadow: 2px 2px 0 rgba(49, 230, 255, 0.32);
}

.pitch-grid h3 {
  max-width: 260px;
  font-size: 2.7rem;
}

.pitch-grid p:not(.pitch-number) {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 850;
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.character-tags span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 6px 12px;
  color: var(--panel);
  background: linear-gradient(180deg, #20293d, var(--ink));
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--cyan);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-role {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
  padding: 2px 10px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff49e, var(--yellow));
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 rgba(8, 5, 10, 0.88);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-file {
  position: relative;
  isolation: isolate;
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
}

.fighter-file::before {
  position: absolute;
  inset: 34px -18px 46px;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 12%, rgba(49, 230, 255, 0.42) 12.2% 12.9%, transparent 13.2% 100%),
    linear-gradient(65deg, transparent 0 70%, rgba(255, 241, 91, 0.34) 70.2% 71%, transparent 71.3% 100%),
    radial-gradient(circle at 20% 52%, rgba(122, 73, 255, 0.16), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255, 78, 184, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(230, 249, 255, 0.28));
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  transform: skewY(1deg);
}

.fighter-file::after {
  position: absolute;
  top: 130px;
  right: 3%;
  z-index: -1;
  width: min(34vw, 390px);
  height: min(34vw, 390px);
  content: "";
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 8%, transparent 8.5% 100%),
    conic-gradient(from 24deg, rgba(66, 219, 255, 0.28), rgba(255, 217, 61, 0.42), rgba(255, 86, 53, 0.24), rgba(127, 83, 255, 0.22), rgba(66, 219, 255, 0.28));
  clip-path: polygon(50% 0, 59% 31%, 94% 21%, 70% 47%, 100% 65%, 64% 66%, 72% 100%, 50% 75%, 28% 100%, 36% 66%, 0 65%, 30% 47%, 6% 21%, 41% 31%);
  opacity: 0.72;
  animation: powerSigilPulse 6s ease-in-out infinite alternate;
}

.fighter-file-heading {
  max-width: 760px;
}

.fighter-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 1.25fr) minmax(300px, 0.9fr);
  gap: 22px;
  min-height: 650px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 24% 72%, rgba(49, 230, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 24%, rgba(255, 78, 184, 0.12), transparent 28%),
    linear-gradient(135deg, #fffefe, #eaf8ff 48%, #fff2bd);
  border: 4px solid var(--line);
  box-shadow: var(--shadow), 0 0 42px rgba(49, 230, 255, 0.18), var(--glow-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fighter-console::before {
  position: absolute;
  top: 18px;
  right: -52px;
  width: 230px;
  height: 36px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--yellow), var(--pink));
  border: 4px solid var(--line);
  transform: skewX(-18deg) rotate(2deg);
}

.fighter-console::after {
  position: absolute;
  inset: auto 24px 20px auto;
  width: 128px;
  height: 128px;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 5, 10, 0.12) 2px, transparent 2px),
    linear-gradient(rgba(8, 5, 10, 0.12) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.38;
  transform: rotate(-8deg);
}

.fighter-display,
.fighter-panel {
  position: relative;
  z-index: 1;
}

.fighter-display {
  isolation: isolate;
  display: flex;
  min-height: 600px;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

.fighter-display::before,
.fighter-display::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
}

.fighter-display::before {
  top: 10%;
  right: 4%;
  bottom: 6%;
  left: 8%;
  background:
    radial-gradient(circle at 50% 64%, rgba(255, 241, 91, 0.34), transparent 30%),
    radial-gradient(circle at 48% 30%, rgba(49, 230, 255, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(255, 78, 184, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.12)),
    linear-gradient(120deg, rgba(122, 73, 255, 0.28), rgba(49, 230, 255, 0.2));
  border: 4px solid var(--line);
  box-shadow: var(--shadow), 0 0 32px rgba(49, 230, 255, 0.26), var(--glow-shadow);
  transform: skewX(-7deg) rotate(1deg);
}

.fighter-display::after {
  right: 6%;
  bottom: 8%;
  width: 42%;
  height: 18%;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink));
  border: 4px solid var(--line);
  transform: skewX(-18deg) rotate(-3deg);
}

.fighter-portrait {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 650px;
  min-height: 600px;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  overflow: visible;
}

.fighter-portrait img {
  display: block;
  width: auto;
  max-width: 88%;
  height: min(650px, 60vw);
  max-height: 650px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(12px 16px 0 rgba(7, 6, 13, 0.72)) drop-shadow(0 0 26px rgba(49, 230, 255, 0.22)) drop-shadow(0 0 42px rgba(255, 241, 91, 0.1));
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.fighter-console[data-active-fighter="genki"] .fighter-portrait img {
  max-width: 88%;
}

.fighter-console[data-active-fighter="layke"] .fighter-portrait img {
  max-width: 88%;
}

.fighter-console[data-active-fighter="daikon"] .fighter-portrait img {
  max-width: 88%;
  filter: drop-shadow(12px 16px 0 rgba(7, 6, 13, 0.8)) drop-shadow(0 0 30px rgba(122, 73, 255, 0.34)) drop-shadow(0 0 44px rgba(49, 230, 255, 0.12));
}

.fighter-console[data-active-fighter="haruto"] .fighter-display::before {
  background:
    radial-gradient(circle at 50% 64%, rgba(255, 78, 88, 0.28), transparent 30%),
    radial-gradient(circle at 48% 30%, rgba(255, 241, 91, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(122, 73, 255, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.12)),
    linear-gradient(120deg, rgba(255, 78, 88, 0.28), rgba(255, 189, 47, 0.18));
}

.fighter-console[data-active-fighter="haruto"] .fighter-display::after {
  background: linear-gradient(90deg, #ff5d62, var(--orange), var(--yellow));
}

.fighter-console[data-active-fighter="haruto"] .fighter-portrait img {
  max-width: 80%;
  filter: drop-shadow(12px 16px 0 rgba(7, 6, 13, 0.8)) drop-shadow(0 0 30px rgba(255, 78, 88, 0.28)) drop-shadow(0 0 36px rgba(255, 189, 47, 0.14));
}

.fighter-console.is-switching .fighter-portrait img,
.fighter-console.is-switching .fighter-panel > *:not(.fighter-switcher) {
  opacity: 0;
  transform: translateY(10px);
}

.fighter-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  background: linear-gradient(180deg, #fffbd0, var(--yellow) 48%, var(--gold));
  border: 4px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  font-size: 1.6rem;
  font-weight: 950;
  line-height: 1;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.fighter-arrow:hover,
.fighter-arrow:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--line);
  filter: saturate(1.12);
}

.fighter-arrow-prev {
  left: 16px;
}

.fighter-arrow-next {
  right: 16px;
}

.fighter-panel {
  align-self: center;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 100% 0, rgba(49, 230, 255, 0.16), transparent 38%),
    linear-gradient(180deg, var(--panel), #edf8ff);
  border: 4px solid var(--line);
  box-shadow: 6px 6px 0 var(--cyan), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.fighter-panel > *:not(.fighter-switcher) {
  transition: opacity 180ms ease, transform 180ms ease;
}

.fighter-panel .fighter-role {
  margin-bottom: 14px;
}

.fighter-panel h3 {
  margin-bottom: 18px;
  font-size: 4.6rem;
  text-shadow: 2px 2px 0 rgba(49, 230, 255, 0.28), 4px 4px 0 rgba(255, 78, 184, 0.09);
}

.fighter-panel p[data-fighter-description] {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 850;
}

.fighter-intel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.fighter-intel-grid div {
  min-height: 92px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, rgba(49, 230, 255, 0.16), rgba(122, 73, 255, 0.12));
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 rgba(7, 6, 13, 0.82);
}

.fighter-intel-grid span,
.fighter-stats span {
  display: block;
  margin-bottom: 6px;
  color: var(--purple);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-intel-grid strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.fighter-stats {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.fighter-stat {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.fighter-stat span {
  margin: 0;
}

.fighter-stat i {
  position: relative;
  display: block;
  height: 14px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(7, 6, 13, 0.18), rgba(7, 6, 13, 0.08));
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 rgba(7, 6, 13, 0.66);
}

.fighter-stat i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--stat-value);
  content: "";
  background: linear-gradient(90deg, var(--yellow), var(--cyan), var(--mint));
  box-shadow: 0 0 16px rgba(49, 230, 255, 0.34);
  transition: width 260ms ease;
}

.fighter-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.fighter-switcher button {
  min-width: 48px;
  min-height: 42px;
  cursor: pointer;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf5, #edf7ff);
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 950;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.fighter-switcher button:hover,
.fighter-switcher button:focus-visible,
.fighter-switcher button.is-active {
  background: linear-gradient(180deg, #fffbd0, var(--yellow) 48%, var(--gold));
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--purple);
}

.social-strip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  overflow: hidden;
  text-align: center;
  border-bottom: 4px solid var(--line);
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 241, 91, 0.18), transparent 18%),
    linear-gradient(90deg, rgba(49, 230, 255, 0.1), rgba(122, 73, 255, 0.08), rgba(255, 78, 184, 0.08));
}

.social-strip::before {
  position: absolute;
  top: 52%;
  left: 50%;
  width: min(760px, 92vw);
  height: 150px;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(49, 230, 255, 0.2), rgba(122, 73, 255, 0.18), rgba(255, 241, 91, 0.16), transparent);
  filter: blur(18px);
  opacity: 0.9;
  transform: translate(-50%, -50%) skewX(-18deg);
  pointer-events: none;
}

.social-heading {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-width: 0;
}

.social-heading h2 {
  max-width: 900px;
  font-size: clamp(3.25rem, 6vw, 5.9rem);
  line-height: 0.92;
}

.social-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  justify-content: center;
  width: min(100%, 860px);
}

.social-row.compact {
  margin-top: 22px;
}

.social-link {
  --social-icon-size: 72px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--social-icon-size);
  min-width: var(--social-icon-size);
  height: var(--social-icon-size);
  min-height: var(--social-icon-size);
  padding: 0;
  background: none;
  border: 0;
  filter: drop-shadow(5px 5px 0 rgba(7, 6, 13, 0.72)) drop-shadow(0 0 16px rgba(49, 230, 255, 0.18));
  isolation: isolate;
  transition: transform 160ms ease, filter 160ms ease;
}

.social-link::before {
  position: absolute;
  inset: 8px;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(255, 241, 91, 0.34), rgba(49, 230, 255, 0.12) 44%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-5px) scale(1.08);
  filter: drop-shadow(7px 8px 0 rgba(7, 6, 13, 0.72)) drop-shadow(0 0 18px rgba(122, 73, 255, 0.4));
}

.social-link:hover::before,
.social-link:focus-visible::before {
  opacity: 1;
  transform: scale(1.2);
}

.social-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 8px;
}

.social-link .social-icon {
  flex: 0 0 auto;
  --social-icon-size: 72px;
}

.studio-logo-link {
  width: 170px;
  min-width: 170px;
  height: 72px;
  min-height: 72px;
}

.studio-logo-link img {
  display: block;
  width: min(160px, 100%);
  height: auto;
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(4px 5px 0 rgba(7, 6, 13, 0.46)) drop-shadow(0 0 14px rgba(49, 230, 255, 0.22));
}

.studio-site-button {
  gap: 12px;
  flex: 0 1 430px;
  min-height: 60px;
  min-width: 260px;
  color: var(--panel);
  background:
    radial-gradient(circle at 12% 0, rgba(49, 230, 255, 0.24), transparent 38%),
    linear-gradient(180deg, #2f2a67, #09070d 66%);
  box-shadow: 6px 6px 0 var(--cyan), 0 0 20px rgba(49, 230, 255, 0.22);
}

.studio-site-button img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 148px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.studio-site-button span {
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.9);
}

.about-hero .studio-site-button {
  margin-top: 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.featured-post,
.feature-cards article,
.blog-post,
.about-grid article,
.connect-panel {
  background:
    linear-gradient(180deg, var(--panel-shine), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 100% 0, rgba(49, 230, 255, 0.16), transparent 32%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 4px solid var(--line);
  box-shadow: var(--shadow), 0 0 24px rgba(49, 230, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.featured-post {
  position: relative;
  max-width: 900px;
  padding: 30px;
}

.featured-post::before,
.blog-post::before,
.connect-panel::before {
  position: absolute;
  top: -18px;
  right: 28px;
  width: 130px;
  height: 28px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--yellow), var(--pink));
  border: 4px solid var(--line);
  transform: skewX(-18deg);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--purple);
  font-size: 0.88rem;
  font-weight: 950;
  text-transform: uppercase;
}

.featured-post h3 {
  max-width: 720px;
  font-size: 3.3rem;
}

.featured-post p {
  max-width: 760px;
}

.game-gallery {
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  background:
    radial-gradient(circle at 20% 24%, rgba(49, 230, 255, 0.16), transparent 32%),
    radial-gradient(circle at 88% 76%, rgba(255, 78, 184, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(49, 230, 255, 0.08), rgba(255, 241, 91, 0.07));
}

.gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 18px;
  align-items: start;
}

.gallery-feature {
  position: relative;
  margin: 0;
  background:
    linear-gradient(180deg, var(--panel), var(--panel-2)),
    radial-gradient(circle at 100% 0, rgba(49, 230, 255, 0.18), transparent 28%);
  border: 4px solid var(--line);
  box-shadow: var(--shadow), var(--glow-shadow), 0 0 30px rgba(122, 73, 255, 0.13);
  transform: rotate(-0.35deg);
}

.gallery-feature::before {
  position: absolute;
  top: -19px;
  left: 28px;
  width: 150px;
  height: 28px;
  content: "";
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--yellow));
  border: 4px solid var(--line);
  transform: skewX(-18deg);
}

.gallery-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-caption {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 16px 18px 18px;
  color: var(--panel);
  background:
    linear-gradient(90deg, rgba(49, 230, 255, 0.18), rgba(122, 73, 255, 0.22)),
    linear-gradient(180deg, #151126, #07060d);
  border-top: 4px solid var(--line);
}

.gallery-caption span {
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-caption strong {
  font-size: 1.03rem;
  line-height: 1.35;
}

.gallery-side {
  display: grid;
  gap: 16px;
}

.gallery-thumbs {
  display: grid;
  gap: 12px;
}

.gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(180deg, var(--panel), var(--panel-2)),
    radial-gradient(circle at 0 0, rgba(255, 241, 91, 0.16), transparent 30%);
  border: 4px solid var(--line);
  box-shadow: 5px 5px 0 var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-thumb span {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 32px;
  padding: 2px 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.15;
  background: linear-gradient(180deg, #fff29a, var(--yellow));
  border: 2px solid var(--line);
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  background:
    linear-gradient(180deg, #fffef5, #ffeaa8),
    radial-gradient(circle at 100% 0, rgba(49, 230, 255, 0.22), transparent 34%);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--purple), 0 0 20px rgba(49, 230, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gallery-cta {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 100% 0, rgba(255, 241, 91, 0.22), transparent 38%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 4px solid var(--line);
  box-shadow: 6px 6px 0 var(--cyan), 0 0 20px rgba(49, 230, 255, 0.16);
}

.gallery-cta p {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 900;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-cards article {
  min-height: 260px;
  padding: 24px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.feature-cards article:hover {
  transform: translate(-2px, -4px) rotate(-1deg);
  box-shadow: 12px 12px 0 var(--line);
}

.feature-cards article:nth-child(1) {
  background: linear-gradient(180deg, #fff8b7, var(--yellow) 58%, var(--gold));
}

.feature-cards article:nth-child(2) {
  background: linear-gradient(180deg, #b9fbff, var(--cyan) 52%, var(--mint));
}

.feature-cards article:nth-child(3) {
  color: var(--panel);
  background: linear-gradient(180deg, #6455ff, var(--purple) 48%, #19112f);
}

.feature-cards article:nth-child(3) p,
.feature-cards article:nth-child(3) span {
  color: rgba(255, 255, 255, 0.86);
}

.feature-cards article p {
  margin-bottom: 14px;
  color: rgba(8, 5, 10, 0.72);
  font-weight: 950;
}

.wishlist-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 0.9fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--panel);
  background:
    linear-gradient(118deg, rgba(49, 230, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 28%, rgba(255, 241, 91, 0.18), transparent 28%),
    linear-gradient(135deg, #141128, #07060d 58%, #1c0d2b);
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.wishlist-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 17%, rgba(49, 230, 255, 0.32) 17.3% 18.1%, transparent 18.4% 100%),
    linear-gradient(126deg, transparent 0 62%, rgba(122, 73, 255, 0.32) 62.2% 63%, transparent 63.4% 100%),
    radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 140% 140%, 150% 150%, 18px 18px;
  opacity: 0.76;
  animation: heroEnergyDrift 8s ease-in-out infinite alternate;
}

.wishlist-art {
  position: relative;
  min-height: 360px;
}

.wishlist-art img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: contain;
}

.wishlist-aura {
  top: 50%;
  left: 50%;
  width: 126%;
  height: auto;
  opacity: 0.82;
  filter: saturate(1.18) drop-shadow(0 0 28px rgba(49, 230, 255, 0.28));
  transform: translate(-52%, -50%) scale(1.02) rotate(-1deg);
  transform-origin: center;
  animation: wishlistAuraFloat 5.6s ease-in-out infinite alternate;
}

.wishlist-logo {
  top: 50%;
  left: 50%;
  width: min(96%, 720px);
  height: auto;
  filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, 0.76)) drop-shadow(0 0 22px rgba(49, 230, 255, 0.32));
  transform: translate(-50%, -50%) rotate(-1.5deg);
  transform-origin: center;
}

.wishlist-copy {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.wishlist-copy h2 {
  color: var(--panel);
  text-shadow: 3px 3px 0 rgba(122, 73, 255, 0.58), 0 0 24px rgba(49, 230, 255, 0.24);
}

.wishlist-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  font-weight: 820;
}

.wishlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-shell {
  padding: 70px 0;
}

.page-hero,
.about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 44px;
  padding: 36px;
  background:
    linear-gradient(180deg, var(--panel-shine), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 4px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.page-blog .page-shell,
.page-about .page-shell {
  width: min(1260px, calc(100% - 40px));
}

.page-blog,
.page-about {
  background:
    radial-gradient(circle at 18% 12%, rgba(49, 230, 255, 0.26), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(122, 73, 255, 0.26), transparent 24%),
    radial-gradient(circle at 72% 86%, rgba(255, 78, 184, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(7, 6, 13, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(7, 6, 13, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #eefaff, #f8f3ff 46%, #fff9d6);
  background-size: auto, auto, auto, 28px 28px, 28px 28px, 100% 100%;
}

.page-blog .page-hero,
.page-about .about-hero {
  min-height: 420px;
  background:
    radial-gradient(circle at 16% 24%, rgba(49, 230, 255, 0.24), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255, 241, 91, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(22, 17, 38, 0.98), rgba(7, 6, 13, 0.96) 58%, rgba(37, 13, 58, 0.96));
  box-shadow: 10px 10px 0 var(--line), 0 0 36px rgba(49, 230, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.page-blog .page-hero h1,
.page-about .about-hero h1,
.page-blog .page-hero p:not(.eyebrow),
.page-about .about-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
}

.page-blog .page-hero h1,
.page-about .about-hero h1 {
  max-width: 760px;
  text-shadow:
    3px 3px 0 rgba(122, 73, 255, 0.7),
    7px 7px 0 rgba(7, 6, 13, 0.55),
    0 0 28px rgba(49, 230, 255, 0.24);
}

.page-blog .page-hero h1 {
  max-width: 590px;
  font-size: clamp(4.1rem, 6.6vw, 5.75rem);
}

.page-hero-copy,
.about-hero-copy {
  position: relative;
  z-index: 2;
}

.blog-updates-hero {
  display: flex;
  min-height: 330px !important;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
}

.blog-updates-hero::before {
  position: absolute;
  right: -18%;
  bottom: -48%;
  z-index: -1;
  width: min(760px, 64vw);
  height: min(520px, 48vw);
  content: "";
  background: url("/assets/mt-new-aura.png") center / contain no-repeat;
  opacity: 0.56;
  filter: saturate(1.22) drop-shadow(0 0 28px rgba(49, 230, 255, 0.28));
  transform: rotate(-6deg);
  animation: heroAuraFloat 7s ease-in-out infinite alternate;
}

.blog-updates-hero .page-hero-copy {
  max-width: 940px;
}

.blog-updates-hero h1 {
  max-width: 940px !important;
  margin-bottom: 20px;
  font-size: clamp(3.6rem, 7vw, 6.7rem);
  line-height: 0.86;
}

.blog-updates-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  font-weight: 830;
  text-shadow: 0 2px 0 rgba(7, 6, 13, 0.5);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: 28px;
  align-items: center;
}

.blog-hero-art {
  position: relative;
  min-height: 320px;
  isolation: isolate;
}

.blog-hero-art img {
  position: absolute;
  display: block;
  pointer-events: none;
}

.blog-hero-aura {
  inset: 0 -10% auto -4%;
  z-index: -1;
  width: 112%;
  opacity: 0.66;
  filter: saturate(1.2) blur(0.2px) drop-shadow(0 0 26px rgba(122, 73, 255, 0.3));
  animation: heroAuraFloat 7s ease-in-out infinite alternate;
}

.blog-hero-mark {
  right: 4%;
  bottom: 20%;
  z-index: 0;
  width: min(82%, 360px);
  max-width: 360px;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, 0.68)) drop-shadow(0 0 22px rgba(49, 230, 255, 0.34));
  transform: rotate(-3deg);
  animation: heroLogoPulse 4.8s ease-in-out infinite alternate;
}

.page-hero p,
.about-hero p {
  max-width: 720px;
}

.studio-title {
  display: grid;
  gap: 14px;
}

.studio-title span {
  display: block;
}

.studio-title img {
  display: block;
  width: min(100%, 380px);
  filter: drop-shadow(5px 5px 0 var(--cyan));
}

.about-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 30px;
}

.about-hero .studio-title-logo {
  width: min(100%, 390px) !important;
  height: auto !important;
  max-height: 196px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(49, 230, 255, 0.16), rgba(122, 73, 255, 0.24));
  border-left: 5px solid var(--cyan);
  object-fit: contain;
  filter: drop-shadow(6px 6px 0 rgba(49, 230, 255, 0.5)) drop-shadow(0 0 20px rgba(122, 73, 255, 0.3));
}

.about-hero-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: 360px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 241, 91, 0.16), transparent 22%),
    radial-gradient(circle at 0 100%, rgba(49, 230, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(15, 18, 34, 0.96), rgba(7, 6, 13, 0.98) 68%);
  border: 4px solid rgba(255, 255, 255, 0.88);
  box-shadow: 8px 8px 0 var(--cyan), 0 0 28px rgba(122, 73, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.about-hero-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 26%, rgba(49, 230, 255, 0.28) 26.2% 27%, transparent 27.4% 100%),
    linear-gradient(128deg, transparent 0 62%, rgba(122, 73, 255, 0.26) 62.2% 63%, transparent 63.4% 100%),
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 130% 130%, 150% 150%, 18px 18px;
  opacity: 0.7;
  animation: heroEnergyDrift 9s ease-in-out infinite alternate;
}

.about-hero-card::after {
  position: absolute;
  right: -20%;
  bottom: -34%;
  z-index: -1;
  width: 84%;
  aspect-ratio: 1;
  content: "";
  background: url("/assets/mt-new-aura.png") center / contain no-repeat;
  opacity: 0.34;
  filter: saturate(1.25);
  transform: rotate(-8deg);
}

.about-card-logo {
  display: block;
  width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(6px 8px 0 rgba(7, 6, 13, 0.75)) drop-shadow(0 0 18px rgba(49, 230, 255, 0.34));
}

.about-card-list {
  display: grid;
  gap: 10px;
}

.about-card-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(49, 230, 255, 0.1));
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 4px 4px 0 rgba(7, 6, 13, 0.58);
}

.about-card-row span,
.about-card-row strong {
  font-family: var(--font-ui);
  font-weight: 950;
  text-transform: uppercase;
}

.about-card-row span {
  color: var(--cyan);
  font-size: 0.76rem;
}

.about-card-row strong {
  color: #fff;
  font-size: clamp(0.88rem, 1.35vw, 1.05rem);
  line-height: 1.05;
  text-shadow: 2px 2px 0 rgba(7, 6, 13, 0.74);
}

.blog-list {
  display: grid;
  gap: 28px;
}

.blog-post {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  scroll-margin-top: 130px;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, filter 170ms ease;
}

.blog-post::after {
  position: absolute;
  right: clamp(16px, 3vw, 34px);
  bottom: -18px;
  z-index: 0;
  content: attr(data-log-number);
  color: rgba(7, 6, 13, 0.05);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 0.75;
  pointer-events: none;
}

.blog-post:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--line), 0 0 30px rgba(49, 230, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.blog-post.is-featured {
  background:
    radial-gradient(circle at 94% 14%, rgba(255, 241, 91, 0.18), transparent 22%),
    radial-gradient(circle at 12% 90%, rgba(49, 230, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf6, #eefaff 70%);
  border-color: #050512;
}

.blog-post-toggle {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
}

.blog-post-title {
  display: block;
  max-width: 900px;
  margin-bottom: 14px;
  color: #090611;
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(49, 230, 255, 0.22);
}

.blog-post-excerpt {
  display: block;
  max-width: 860px;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 850;
}

.blog-post-toggle::after {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  margin-top: 22px;
  padding: 6px 14px;
  content: "Read Update";
  color: var(--ink);
  background: linear-gradient(180deg, #fffbd0, var(--yellow) 48%, var(--gold));
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.blog-post.is-open .blog-post-toggle::after {
  content: "Close Update";
  background: linear-gradient(180deg, #b9fbff, var(--cyan) 48%, var(--mint));
}

.blog-post-toggle:hover::after,
.blog-post-toggle:focus-visible::after {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--purple);
}

.blog-post-toggle:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 8px;
}

.blog-post p {
  max-width: 860px;
}

.blog-post-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 3px solid rgba(7, 6, 13, 0.18);
}

.blog-post-body[hidden] {
  display: none;
}

.blog-post-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 760;
}

.blog-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.blog-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 4px 10px;
  color: var(--panel);
  background: linear-gradient(180deg, #20293d, var(--ink));
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--cyan);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-post.is-open {
  box-shadow: 10px 10px 0 var(--line), 0 0 32px rgba(122, 73, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 44px;
}

.about-grid article {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.about-grid article::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  content: "";
  background:
    radial-gradient(circle, rgba(49, 230, 255, 0.26), transparent 58%),
    conic-gradient(from 90deg, rgba(255, 241, 91, 0.3), rgba(122, 73, 255, 0.22), rgba(49, 230, 255, 0.28), rgba(255, 241, 91, 0.3));
  border: 4px solid rgba(7, 6, 13, 0.16);
  border-radius: 999px;
  opacity: 0.72;
}

.connect-panel {
  position: relative;
  padding: 30px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px clamp(18px, 4%, 44px);
  color: var(--panel);
  background:
    linear-gradient(180deg, rgba(66, 219, 255, 0.1), rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, #11192a, var(--ink) 68%);
  border-top: 4px solid var(--line);
}

.footer-logo {
  display: inline-flex;
  width: min(180px, 46vw);
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf7, #eef4ff);
  border: 2px solid var(--panel);
  box-shadow: 4px 4px 0 var(--cyan);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

@keyframes paperGridDrift {
  from {
    background-position: 0 0, 100% 0, 0 100%, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 24px 18px, calc(100% - 28px) 22px, 18px calc(100% - 24px), 28px 28px, 28px 28px, 0 0;
  }
}

@keyframes scanlineDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 20px;
  }
}

@keyframes auraSweep {
  from {
    background-position: 0% 0%, 100% 15%, 10% 100%, 80% 15%, 0 0, 0 0;
    transform: translate3d(-2%, -1%, 0) rotate(-1.2deg) scale(1);
  }

  to {
    background-position: 100% 62%, 0% 80%, 92% 0%, 4% 84%, 0 0, 0 0;
    transform: translate3d(2%, 1%, 0) rotate(1.2deg) scale(1.03);
  }
}

@keyframes heroEnergyDrift {
  from {
    background-position: 0% 0%, 100% 20%, 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 100% 40%, 0% 80%, 4% 2%, -3% 3%, 4% -4%, 96px 0;
  }
}

@keyframes heroAuraFloat {
  from {
    opacity: 0.88;
    transform: translate3d(-1.4%, 0.8%, 0) scale(1.07) rotate(-1.6deg);
  }

  to {
    opacity: 1;
    transform: translate3d(1%, -1.2%, 0) scale(1.13) rotate(0.8deg);
  }
}

@keyframes brandLogoShimmer {
  from {
    -webkit-mask-position: -145% 0;
    mask-position: -145% 0;
  }

  to {
    -webkit-mask-position: 145% 0;
    mask-position: 145% 0;
  }
}

@keyframes wishlistAuraFloat {
  from {
    opacity: 0.82;
    transform: translate(-52%, -50%) scale(1.02) rotate(-1deg);
  }

  to {
    opacity: 0.96;
    transform: translate(-50%, -51%) scale(1.07) rotate(0.8deg);
  }
}

@keyframes heroArtFloat {
  from {
    transform: translate3d(1.5%, -4.3%, 0) scale(0.99) rotate(0.45deg);
  }

  to {
    transform: translate3d(0.4%, -6.2%, 0) scale(1.01) rotate(-0.3deg);
  }
}

@keyframes heroLogoPulse {
  from {
    transform: translate3d(0, 0.3%, 0) scale(0.99) rotate(-1.25deg);
  }

  to {
    transform: translate3d(0, -1%, 0) scale(1.02) rotate(-0.45deg);
  }
}

@keyframes dotMatrixDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 18px 18px;
  }
}

@keyframes powerSigilPulse {
  from {
    transform: rotate(-7deg) scale(0.96);
  }

  to {
    transform: rotate(5deg) scale(1.03);
  }
}

@media (max-width: 1120px) {
  section {
    scroll-margin-top: 205px;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    min-height: 154px;
    row-gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    width: 230px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 6px;
  }

  .nav-links a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 10px;
  }

  .social-icon {
    --social-icon-size: 42px;
  }

  h1 {
    font-size: 5.4rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-poster {
    width: min(100%, 860px);
    justify-self: center;
    margin-top: -26px;
    transform: translateX(0);
  }

  .fighter-console {
    grid-template-columns: 1fr;
  }

  .fighter-panel {
    align-self: auto;
  }
}

@media (max-width: 980px) {
  .blog-hero,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .blog-hero-art {
    min-height: 250px;
    margin-top: -22px;
  }

  .blog-hero-aura {
    inset: -10% auto auto 50%;
    width: min(110%, 760px);
    transform: translateX(-50%);
  }

  .blog-hero-mark {
    right: auto;
    bottom: 12%;
    left: 50%;
    width: min(70%, 380px);
    transform: translateX(-50%) rotate(-3deg);
  }

  .about-hero-card {
    min-height: 320px;
  }

}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
  }

  .brand {
    justify-self: center;
    width: 220px;
  }

  .nav-links,
  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (max-width: 760px) {
  section {
    scroll-margin-top: 205px;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3.5rem;
  }

  .hero-layout,
  .blog-hero,
  .about-hero,
  .fighter-console {
    grid-template-columns: 1fr;
  }

  .blog-hero-art {
    min-height: 260px;
  }

  .blog-hero-mark {
    right: auto;
    bottom: 14%;
    left: 50%;
    width: min(84%, 340px);
    transform: translateX(-50%) rotate(-3deg);
  }

  .about-hero-card {
    min-height: 360px;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-poster {
    width: min(96vw, 760px);
    justify-self: center;
  }

  .fighter-console {
    min-height: auto;
  }

  .fighter-display,
  .fighter-portrait {
    height: 570px;
    min-height: 560px;
  }

  .fighter-portrait img {
    max-width: 88%;
    height: min(570px, 82vw);
    max-height: 570px;
  }

  .fighter-console[data-active-fighter="genki"] .fighter-portrait img,
  .fighter-console[data-active-fighter="layke"] .fighter-portrait img,
  .fighter-console[data-active-fighter="daikon"] .fighter-portrait img,
  .fighter-console[data-active-fighter="haruto"] .fighter-portrait img {
    max-width: 88%;
  }

  .fighter-panel h3 {
    font-size: 3.6rem;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .social-strip,
  .game-pitch,
  .about-grid,
  .feature-cards,
  .wishlist-panel {
    grid-template-columns: 1fr;
  }

  .pitch-grid {
    grid-template-columns: 1fr;
  }

  .wishlist-art {
    min-height: 290px;
  }

  .social-row {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  section {
    scroll-margin-top: 220px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2,
  .blog-post-title,
  .featured-post h3 {
    font-size: 2.45rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    width: 210px;
  }

  .hero-layout,
  .social-strip,
  .game-pitch,
  .fighter-file,
  .latest-blog,
  .game-gallery,
  .feature-grid,
  .wishlist-panel,
  .page-shell {
    width: min(100% - 28px, var(--max));
  }

  .hero-layout {
    padding: 32px 0 24px;
  }

  .hero-poster {
    width: min(108%, 620px);
    margin-right: -4%;
    margin-left: -4%;
  }

  .hero-logo-art {
    right: 0;
    bottom: -1%;
    left: 1%;
    width: 98%;
  }

  .hero-highlights {
    gap: 6px;
  }

  .hero-highlights span {
    min-height: 30px;
    font-size: 0.7rem;
  }

  .button,
  .studio-site-button {
    width: 100%;
  }

  .pitch-grid article {
    min-height: 250px;
  }

  .character-tags span {
    width: 100%;
  }

  .fighter-console {
    padding: 14px;
  }

  .fighter-display,
  .fighter-portrait {
    height: 490px;
    min-height: 470px;
  }

  .fighter-portrait img,
  .fighter-console[data-active-fighter="genki"] .fighter-portrait img,
  .fighter-console[data-active-fighter="layke"] .fighter-portrait img,
  .fighter-console[data-active-fighter="daikon"] .fighter-portrait img,
  .fighter-console[data-active-fighter="haruto"] .fighter-portrait img {
    max-width: 88%;
    height: min(490px, 108vw);
    max-height: 490px;
  }

  .fighter-arrow {
    top: auto;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .fighter-panel {
    padding: 22px;
  }

  .fighter-panel h3 {
    font-size: 2.8rem;
  }

  .fighter-intel-grid,
  .fighter-stat {
    grid-template-columns: 1fr;
  }

  .fighter-stat {
    gap: 6px;
  }

  .fighter-switcher button {
    flex: 1 1 0;
  }

  .gallery-cta .button,
  .wishlist-actions .button {
    width: 100%;
  }

  .wishlist-art {
    min-height: 220px;
  }

  .featured-post,
  .blog-post,
  .about-grid article,
  .connect-panel,
  .page-hero,
  .about-hero {
    padding: 22px;
  }

  .blog-hero-art {
    min-height: 210px;
  }

  .about-hero-card {
    min-height: 300px;
  }

  .blog-post {
    scroll-margin-top: 300px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
