/* Ardala Studios: public site styles. No framework; tokens first, then layout and components. */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/unbounded-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* Brand (sampled from the logo) */
  --mint: #5dd79e;
  --mint-bright: #7fe6b6;
  --mint-hover: #4bcb8f;
  --mint-deep: #2f9e6c;
  --mint-strong: #12804f; /* mint for text and thin lines on white (AA) */
  --mint-soft: #e9f8f0;
  --mint-ink: #03140c;
  --ink: #030406;
  --white: #f5f5fd;
  --lavender: #a3b5dd;
  --lavender-strong: #4a5b8c;
  --lavender-soft: #eef1fa;

  /* Surfaces */
  --bg: #ffffff;
  --bg-2: #f6f6fc;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --surface-3: #eceef6;
  --input: #ffffff;
  --border: rgba(20, 27, 45, 0.09);
  --border-strong: rgba(20, 27, 45, 0.17);

  /* Text */
  --text: #0a0d14;
  --text-muted: #4a5163;
  --text-dim: #687085;

  /* States */
  --danger: #c62f3a;
  --warning: #9a6a00;

  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --chamfer: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-card: 0 1px 2px rgba(20, 27, 45, 0.04), 0 8px 24px -12px rgba(20, 27, 45, 0.1);
  --shadow-glow: 0 0 0 1px rgba(47, 158, 108, 0.28), 0 24px 56px -24px rgba(18, 128, 79, 0.35);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--mint-strong); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(93, 215, 158, 0.4); color: var(--ink); }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--mint); color: var(--mint-ink); font-weight: 700; border-radius: 8px; transform: translateY(-150%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: currentColor; stroke: none; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 28px; height: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--mint-strong);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 10px; height: 9px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

.text-gradient {
  background: linear-gradient(100deg, var(--ink) 5%, var(--lavender-strong) 52%, var(--mint-deep) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  background: none;
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s, transform 0.2s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-bg);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transition: background 0.2s, filter 0.2s;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { --btn-bg: var(--mint); --btn-fg: var(--mint-ink); }
.btn-primary:hover { --btn-bg: var(--mint-hover); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--mint);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 0.35; }
.btn-ghost { --btn-bg: linear-gradient(var(--surface-2), var(--surface-2)) padding-box; }
.btn-ghost::before { background: var(--border-strong); }
.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--bg);
  clip-path: polygon(calc(var(--chamfer) - 0.5px) 0, 100% 0, 100% calc(100% - var(--chamfer) + 0.5px), calc(100% - var(--chamfer) + 0.5px) 100%, 0 100%, 0 calc(var(--chamfer) - 0.5px));
  transition: background 0.2s;
}
.btn-ghost:hover::before { background: var(--mint-deep); }
.btn-ghost:hover { color: var(--mint-strong); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; --chamfer: 9px; }
.btn-lg { min-height: 56px; padding: 0 32px; }
.btn[disabled] { opacity: 0.65; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint-strong);
  font-weight: 700;
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 12px; }
.link-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-weight: 600; font-size: 15px; }
.link-back:hover { color: var(--mint-strong); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: border-color 0.3s;
  border-bottom: 1px solid transparent;
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on the header itself
   would make it the containing block of the fixed mobile menu and squeeze the menu to header height. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: opacity 0.3s;
}
.site-header.is-scrolled,
.site-header.is-open { border-bottom-color: var(--border); }
.site-header.is-scrolled::before,
.site-header.is-open::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { width: 166px; height: auto; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; list-style: none; }
.nav-link {
  position: relative;
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 6px;
  background: var(--mint-deep);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateX(-50%) scale(0);
  transition: transform 0.25s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; }
.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active { background: var(--ink); color: var(--white); }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: transparent; }
.nav-toggle-bars { display: grid; gap: 5px; width: 18px; margin: 0 auto; }
.nav-toggle-bars span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle-bars span:nth-child(3) { width: 60%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 45%, rgba(93, 215, 158, 0.2), transparent 70%),
    radial-gradient(45% 40% at 90% 80%, rgba(163, 181, 221, 0.28), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgba(93, 215, 158, 0.1), transparent 70%),
    var(--bg);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid-lines {
  position: absolute;
  inset: auto -10% 0;
  height: 55%;
  background-image:
    linear-gradient(rgba(74, 91, 140, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 91, 140, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 48px; }
.hero-title {
  font-size: clamp(40px, 5.6vw, 82px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-lead { max-width: 560px; color: var(--text-muted); font-size: clamp(17px, 1.6vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-visual-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 55%, rgba(93, 215, 158, 0.42), rgba(163, 181, 221, 0.3) 45%, transparent 70%);
  filter: blur(30px);
  animation: glow-pulse 6s ease-in-out infinite;
}
.hero-visual-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(74, 91, 140, 0.18); animation: spin 40s linear infinite; }
.hero-visual-ring::before,
.hero-visual-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 8px;
  background: var(--mint-deep);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  top: -4px;
  left: calc(50% - 4px);
}
.hero-visual-ring::after { top: auto; bottom: -4px; background: var(--lavender-strong); transform: rotate(180deg); }
.hero-mark { position: relative; width: 78%; height: auto; overflow: visible; filter: drop-shadow(0 28px 36px rgba(20, 27, 45, 0.16)); }
.hero-mark .mark-green { animation: mark-in-left 1.2s var(--ease) both; }
.hero-mark .mark-white { animation: mark-in-right 1.2s 0.1s var(--ease) both; }
.hero-mark .mark-play { transform-box: fill-box; transform-origin: center; animation: mark-play-in 0.8s 0.7s var(--ease) both, play-pulse 3.2s 1.6s ease-in-out infinite; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
}
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--mint-deep); animation: scroll-dot 2s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow-pulse { 50% { opacity: 0.65; transform: scale(0.95); } }
@keyframes mark-in-left { from { opacity: 0; transform: translate(-40px, 30px); } }
@keyframes mark-in-right { from { opacity: 0; transform: translate(40px, 30px); } }
@keyframes mark-play-in { from { opacity: 0; transform: scale(0.3); } }
@keyframes play-pulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(93, 215, 158, 0)); } 50% { filter: drop-shadow(0 0 14px rgba(93, 215, 158, 0.85)); } }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-2);
}
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* Stroke under a background-coloured fill hides the font's overlapping inner contours. */
  color: var(--bg-2);
  -webkit-text-stroke: 2px rgba(10, 13, 20, 0.42);
  paint-order: stroke fill;
}
.marquee span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }
.marquee svg { width: 14px; height: 14px; fill: var(--mint-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.section-tight { padding-top: clamp(40px, 6vw, 72px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head-center { justify-content: center; text-align: center; }
.section-head-center .section-lead { margin-inline: auto; }
.section-studio { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-studio .value-index { color: var(--bg-2); }
.section-title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.025em; }
.section-subtitle { margin-bottom: 20px; font-size: clamp(20px, 2.4vw, 26px); }
.section-lead { max-width: 620px; margin-top: 18px; color: var(--text-muted); font-size: 18px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px);
  background:
    linear-gradient(180deg, transparent 55%, var(--bg) 100%),
    radial-gradient(50% 80% at 85% 0%, rgba(93, 215, 158, 0.18), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(163, 181, 221, 0.22), transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(74, 91, 140, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(74, 91, 140, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 80% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 80% at 80% 20%, #000, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-title { font-size: clamp(38px, 6vw, 76px); font-weight: 700; letter-spacing: -0.035em; }
.page-lead { max-width: 680px; margin-top: 22px; color: var(--text-muted); font-size: clamp(17px, 1.7vw, 20px); }
.page-hero-art { position: absolute; right: -4%; top: 50%; width: min(46vw, 560px); transform: translateY(-38%); opacity: 0.07; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 90%); mask-image: linear-gradient(to bottom, #000 55%, transparent 90%); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-top { align-items: start; }
.split-copy .link-arrow { margin-top: 28px; }

/* ---------- Cards & lists ---------- */

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.game-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.game-card:hover { transform: translateY(-6px); border-color: rgba(47, 158, 108, 0.4); box-shadow: var(--shadow-glow); }
.game-card-link { display: flex; flex-direction: column; height: 100%; }
.game-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.game-card-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.game-card:hover .game-card-media > img { transform: scale(1.05); }
.game-card-placeholder { display: grid; place-items: center; height: 100%; background: radial-gradient(circle at 50% 60%, rgba(93, 215, 158, 0.22), transparent 70%); }
.game-card-placeholder img { width: 30%; opacity: 0.9; }
.game-card-media .badge { position: absolute; top: 14px; left: 14px; }
.game-card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 22px 24px; }
.game-card-body h3 { font-size: 22px; }
.game-card-body p { color: var(--text-muted); font-size: 15.5px; }
.game-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; color: var(--text-dim); font-size: 13.5px; }
.game-card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--mint-strong); font-weight: 700; font-size: 14.5px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-in_development { color: var(--lavender-strong); }
.badge-coming_soon { color: var(--mint-strong); }
.badge-early_access { color: var(--warning); }
.badge-released { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); }

.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); font-size: 12.5px; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.empty-state {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 120% at 0% 50%, rgba(93, 215, 158, 0.16), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.empty-state-art { position: relative; width: clamp(120px, 18vw, 200px); }
.empty-state-art::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle, rgba(93, 215, 158, 0.25), transparent 65%); filter: blur(20px); }
.empty-state-art img { position: relative; width: 100%; }
.empty-state-copy h3 { margin: 16px 0 10px; font-size: clamp(22px, 2.6vw, 30px); }
.empty-state-copy p { max-width: 520px; color: var(--text-muted); }
.empty-state .social-icons { margin-top: 24px; }

.value-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--border); }
.value-item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.value-index { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--bg); -webkit-text-stroke: 2px var(--mint-deep); paint-order: stroke fill; line-height: 1.1; }
.value-item h3 { font-size: 20px; margin-bottom: 8px; }
.value-item p { color: var(--text-muted); }

.publish-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(47, 158, 108, 0.22);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(93, 215, 158, 0.3), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgba(163, 181, 221, 0.32), transparent 60%),
    linear-gradient(180deg, #fbfcfe, var(--surface-2));
  box-shadow: var(--shadow-card);
}
.publish-band-shape {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(48%, 520px);
  aspect-ratio: 622 / 440;
  background: url("../img/logo-mark.svg") no-repeat center / contain;
  opacity: 0.1;
  transform: rotate(-8deg);
  pointer-events: none;
}
.publish-band-copy { position: relative; max-width: 640px; }
.publish-band .btn { margin-top: 32px; }

.check-list { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list .icon { margin-top: 3px; color: var(--mint-strong); stroke-width: 2.4; }

.social-tiles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.social-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.25s, transform 0.3s var(--ease), background 0.25s;
}
.social-tile .icon-lg { color: var(--mint-strong); }
.social-tile-arrow { margin-left: auto; color: var(--text-dim); transition: transform 0.25s var(--ease), color 0.2s; }
.social-tile:hover { border-color: rgba(47, 158, 108, 0.4); background: var(--surface); transform: translateY(-3px); }
.social-tile:hover .social-tile-arrow { color: var(--mint-strong); transform: translate(2px, -2px); }

.social-icons { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.social-icons a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-icons a:hover { color: var(--mint-strong); border-color: rgba(47, 158, 108, 0.4); background: var(--mint-soft); }

.social-list { list-style: none; display: grid; gap: 10px; }
.social-list a { display: inline-flex; align-items: center; gap: 12px; color: var(--text-muted); font-weight: 600; transition: color 0.2s; }
.social-list a:hover { color: var(--mint-strong); }

.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); margin-top: clamp(28px, 4vw, 48px); }
.feature-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.feature-card:hover { border-color: rgba(47, 158, 108, 0.35); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.feature-card h3 { margin: 22px 0 10px; font-size: 19px; }
.feature-card p { color: var(--text-muted); font-size: 15.5px; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--mint-strong);
  background: rgba(93, 215, 158, 0.18);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.feature-icon .icon { width: 26px; height: 26px; }

.steps { list-style: none; display: grid; margin-top: 36px; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 34px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 6px; width: 1px; background: linear-gradient(var(--mint-deep), transparent); opacity: 0.45; }
.step-index {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(47, 158, 108, 0.45);
  color: var(--mint-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  background: var(--bg);
}
.step h3 { margin: 12px 0 8px; font-size: 19px; }
.step p { color: var(--text-muted); }

.info-card { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-card); }
.info-card + .info-card { margin-top: 16px; }
.info-card-title { font-size: 19px; margin-bottom: 12px; }
.info-card .feature-icon { margin-bottom: 18px; }
.info-card p { color: var(--text-muted); }
.info-card-subtitle { margin: 26px 0 12px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }

.team-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { padding: 34px 26px 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-card); text-align: center; transition: border-color 0.3s, transform 0.35s var(--ease); }
.team-card:hover { border-color: rgba(47, 158, 108, 0.35); transform: translateY(-4px); }
.team-avatar { width: 120px; margin: 0 auto 22px; }
.team-avatar svg { width: 100%; height: auto; overflow: visible; }
.team-avatar-shape { fill: rgba(93, 215, 158, 0.2); stroke: var(--mint-deep); stroke-width: 2; stroke-linejoin: round; }
.team-avatar-2 .team-avatar-shape { fill: rgba(163, 181, 221, 0.28); stroke: var(--lavender-strong); }
.team-avatar-3 .team-avatar-shape { fill: rgba(10, 13, 20, 0.05); stroke: var(--ink); }
.team-avatar text { font-family: var(--font-display); font-size: 26px; font-weight: 700; fill: var(--text); }
.team-card h3 { font-size: 19px; }
.team-card p { margin-top: 6px; color: var(--mint-strong); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Game page ---------- */

.game-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
/* Key art stays crisp on the right and melts into the white page on its left and bottom edges. */
.game-hero-bg {
  position: absolute;
  inset: 0 0 0 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(180deg, transparent, #000 150px, #000 55%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(180deg, transparent, #000 150px, #000 55%, transparent);
  mask-composite: intersect;
}
.game-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.game-hero-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.game-hero-inner .page-title { max-width: 660px; }
.game-hero-inner .page-lead { margin-top: 0; }
.game-hero-inner .hero-actions { margin-top: 10px; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); padding-bottom: clamp(72px, 10vw, 128px); }
.game-section + .game-section { margin-top: 56px; }
.game-aside .info-card { position: sticky; top: calc(var(--header-h) + 24px); }
.info-list { display: grid; gap: 14px; margin: 0; }
.info-list div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.info-list dt { color: var(--text-dim); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.info-list dd { margin: 0; font-weight: 600; }
.store-links { list-style: none; display: grid; gap: 8px; }
.store-links a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface-2); font-weight: 700; transition: border-color 0.2s, color 0.2s; }
.store-links a .icon:last-child { margin-left: auto; color: var(--text-dim); }
.store-links a:hover { border-color: rgba(47, 158, 108, 0.4); color: var(--mint-strong); }

.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.video-embed > img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; background: radial-gradient(circle, rgba(3, 4, 6, 0.2), rgba(3, 4, 6, 0.6)); color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.video-play-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 10px rgba(93, 215, 158, 0.18); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.video-play-icon .icon { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover .video-play-icon { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(93, 215, 158, 0.16); }
.video-note { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: rgba(255, 255, 255, 0.8); font-size: 12.5px; pointer-events: none; }
.video-embed.is-playing .video-note { display: none; }

.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.gallery a { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 4, 6, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(3, 4, 6, 0.8); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; border-radius: var(--radius-sm); }
.lightbox-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); }
.lightbox-btn:hover { background: var(--mint); color: var(--mint-ink); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; margin-top: -24px; }
.lightbox-next { right: 20px; top: 50%; margin-top: -24px; }

/* ---------- Filters ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-button { padding: 8px 16px; background: transparent; font-size: 13.5px; transition: all 0.2s; }
.chip-button:hover { color: var(--text); border-color: var(--border-strong); }
.chip-button.is-active { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.filter-empty { margin-top: 24px; color: var(--text-muted); }
.game-card.is-hidden { display: none; }

/* ---------- Prose ---------- */

.prose { color: var(--text-muted); }
.prose h2 { color: var(--text); }
.prose p + p { margin-top: 1.1em; }
.prose-lg { font-size: 19px; }
.prose-lg p:first-child { color: var(--text); }
.legal { max-width: 780px; }
.legal h2 { margin: 2.2em 0 0.7em; color: var(--text); font-size: 22px; }
.legal ul { padding-left: 1.2em; margin: 0.8em 0; }
.legal li + li { margin-top: 0.5em; }
.legal a, .prose a { color: var(--mint-strong); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }

/* ---------- FAQ ---------- */

.faq-title { margin: 48px 0 16px; font-size: 18px; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--mint-strong); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--mint-strong); }
.faq details p { padding: 0 0 20px; color: var(--text-muted); font-size: 16px; }

/* ---------- Forms ---------- */

.section-form { background: linear-gradient(180deg, transparent, var(--bg-2) 30%); }
.form-layout { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.form-card { padding: clamp(22px, 4vw, 44px); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--border); background: var(--surface); box-shadow: 0 1px 2px rgba(20, 27, 45, 0.04), 0 24px 60px -28px rgba(20, 27, 45, 0.18); }
.form-card-title { font-size: 22px; margin-bottom: 24px; }
.form-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-card fieldset + fieldset { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--border); }
/* Floating the legend opts it out of the native "sits on the border" rendering. */
.form-card legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.form-card legend + * { clear: both; }
.legend-index { color: var(--mint-strong); font-size: 12px; letter-spacing: 0.12em; padding: 4px 8px; border: 1px solid rgba(47, 158, 108, 0.35); border-radius: 6px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 700; font-size: 14.5px; }
.req { color: var(--mint-strong); }
.opt { color: var(--text-dim); font-weight: 500; font-size: 13px; }
.field-hint { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--input);
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(20, 27, 45, 0.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-deep); box-shadow: 0 0 0 3px rgba(93, 215, 158, 0.28); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13.5px; font-weight: 600; }
.char-count { justify-self: end; color: var(--text-dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.char-count.is-low { color: var(--warning); }

.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-muted); font-size: 14.5px; font-weight: 600; transition: all 0.2s; }
.choice span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid currentColor; transition: all 0.2s; }
.choice:hover span { color: var(--text); border-color: rgba(20, 27, 45, 0.32); }
.choice input:checked + span { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); }
.choice input:checked + span::before { background: currentColor; }
.choice input:focus-visible + span { outline: 2px solid var(--mint-strong); outline-offset: 2px; }

.file-drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius-sm); border: 1.5px dashed var(--border-strong); background: var(--input); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.file-drop:hover, .file-drop.is-dragover { border-color: var(--mint-deep); background: rgba(93, 215, 158, 0.08); }
.file-drop.is-invalid { border-color: var(--danger); }
.file-drop.has-file { border-style: solid; border-color: rgba(47, 158, 108, 0.5); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop input:focus-visible ~ .file-drop-icon { outline: 2px solid var(--mint-strong); outline-offset: 3px; }
.file-drop-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(93, 215, 158, 0.18); color: var(--mint-strong); }
.file-drop-text { display: grid; gap: 2px; min-width: 0; }
.file-drop-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop-text small { color: var(--text-dim); font-size: 13px; }

.form-footer { display: grid; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.form-footer .btn { justify-self: start; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 15px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--mint-deep); }
.consent a { color: var(--mint-strong); text-decoration: underline; text-underline-offset: 3px; }
.form-alert { margin-bottom: 28px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(198, 47, 58, 0.35); background: rgba(198, 47, 58, 0.06); color: #9b1c27; font-weight: 600; }
.form-alert:focus { outline: none; }
.form-alert-sub { margin-top: 4px; font-weight: 500; font-size: 14.5px; opacity: 0.85; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-side { display: grid; gap: 0; }
.contact-email { display: inline-block; margin-top: 14px; color: var(--mint-strong); font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; word-break: break-all; }
.contact-pitch { margin-top: 22px; color: var(--text-muted); }
.contact-pitch a { display: inline-flex; align-items: center; gap: 6px; color: var(--mint-strong); font-weight: 700; }

/* ---------- Status pages ---------- */

.status-page { padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(80px, 10vw, 140px); background: radial-gradient(50% 50% at 50% 30%, rgba(93, 215, 158, 0.18), transparent 70%); }
.status-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.status-inner .page-lead { margin: 0 auto 10px; }
.status-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: rgba(93, 215, 158, 0.2); color: var(--mint-strong); box-shadow: 0 0 0 12px rgba(93, 215, 158, 0.08); }
.status-icon .icon { width: 40px; height: 40px; stroke-width: 2.4; }
.status-code { font-family: var(--font-display); font-size: clamp(90px, 18vw, 180px); font-weight: 800; line-height: 1; color: var(--bg); -webkit-text-stroke: 4px var(--mint-deep); paint-order: stroke fill; }
.ref-box { display: grid; gap: 4px; padding: 16px 28px; border-radius: var(--radius-sm); border: 1px dashed rgba(47, 158, 108, 0.5); background: var(--mint-soft); }
.ref-box span { color: var(--text-dim); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.ref-box strong { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.08em; color: var(--mint-strong); }
.status-follow { margin-top: 18px; color: var(--text-dim); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 32px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-glow { position: absolute; left: 50%; top: -220px; width: 700px; height: 300px; margin-left: -350px; background: radial-gradient(closest-side, rgba(93, 215, 158, 0.14), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-logo img { width: 150px; }
.footer-brand p { max-width: 340px; margin: 22px 0 18px; color: var(--text-muted); }
.footer-email { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.footer-email:hover { color: var(--mint-strong); }
.footer-col h2 { margin-bottom: 18px; color: var(--text-dim); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); font-weight: 600; transition: color 0.2s; }
.footer-col a:hover { color: var(--mint-strong); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; color: var(--text-dim); font-size: 14px; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--border); }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom-links a:hover { color: var(--mint-strong); }

/* ---------- Reveal on scroll ---------- */

.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .game-layout { grid-template-columns: 1fr; }
  .game-aside .info-card { position: static; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav-panel {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--bg);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header.is-open .nav-panel { visibility: visible; opacity: 1; transform: none; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-link { padding: 14px 4px; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
  .nav-link::after { left: auto; right: 6px; bottom: 50%; transform: translateY(50%) rotate(90deg) scale(0); }
  .nav-link.is-active::after { transform: translateY(50%) rotate(90deg) scale(1.4); }
  .nav-actions { flex-direction: column-reverse; align-items: stretch; gap: 20px; }
  .nav-actions .btn { min-height: 52px; }
  .lang-switch { align-self: center; }
  .lang-switch a { padding: 8px 18px; font-size: 13px; }
  body.nav-open { overflow: hidden; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; max-width: 300px; justify-self: center; }
  .hero-scroll { display: none; }
  .split, .form-layout { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  /* Small screens: key art becomes a crisp top banner and the copy sits on white below it. */
  .game-hero-bg { inset: 0 0 auto; height: min(62vw, 360px); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
  .game-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 110px); }
  .game-hero-bg + .game-hero-inner { padding-top: calc(min(62vw, 360px) - 116px); }
  .card-grid-3, .team-grid { grid-template-columns: 1fr 1fr; }
  .social-tiles { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 140px; }
  .hero-visual { max-width: 220px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-center { align-items: center; }
  .empty-state { grid-template-columns: 1fr; text-align: left; }
  .card-grid-3, .card-grid-4, .team-grid { grid-template-columns: 1fr; }
  .social-tiles { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .form-footer .btn { justify-self: stretch; }
  .value-item { grid-template-columns: 52px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .publish-band-shape { width: 70%; opacity: 0.1; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
