/* Who Nose Studios - site styles.
   Layout after moongamestudios.com: logo + MENU overlay, OUR GAMES key-art cards, brush-stroke edges, FOLLOW US footer.
   Fonts (SIL OFL, licenses in fonts/): Ruda for text and headings, PT Sans for the big display lines.
   Colors only from Memory Block 36 (lospec.com/palette-list/memory-block-36), Log Drop's palette. */

@font-face {
  font-family: "Ruda";
  src: url("/fonts/ruda-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("/fonts/ptsans-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("/fonts/ptsans-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #1e1c22;
  --bg-2: #25252a;
  --band: #2b3340;
  --text: #c6be9b;
  --muted: #949a84;
  --accent: #c69a54;
  --ink: #215059;
  --glow: #398762;
  --font: "Ruda", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "PT Sans", "Ruda", system-ui, sans-serif;
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --edge: 56px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.65 var(--font);
  overflow-x: hidden;
}
html.menu-open body { overflow: hidden; }

img { max-width: 100%; display: block; }
.pixel { image-rendering: pixelated; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--accent); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.muted { color: var(--muted); }

/* the white wordmark PNG repainted in the palette's cream */
.wordmark,
.nav-wordmark {
  display: block;
  aspect-ratio: 1217 / 136;
  background: var(--text);
  -webkit-mask: url("/img/wordmark.png") center / contain no-repeat;
  mask: url("/img/wordmark.png") center / contain no-repeat;
}

/* ---------- brush buttons ---------- */

.btn {
  --plate: var(--text);
  --label: var(--ink);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border: 0;
  background: none;
  color: var(--label);
  font: 800 15px/1 var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease-pop), color 0.2s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--plate);
  -webkit-mask: url("/img/ui/brush-plate.svg") 0 0 / 100% 100% no-repeat;
  mask: url("/img/ui/brush-plate.svg") 0 0 / 100% 100% no-repeat;
  transition: background 0.2s, transform 0.25s var(--ease-pop);
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:hover::before {
  -webkit-mask-image: url("/img/ui/brush-plate-2.svg");
  mask-image: url("/img/ui/brush-plate-2.svg");
  transform: scale(1.04, 1.08);
}
.btn:active { transform: translateY(2px) scale(0.97); transition-duration: 0.06s; }
.btn-dark { --plate: var(--band); --label: var(--text); }
.btn-dark:hover { --plate: #2d4456; }

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--text); }

/* ---------- header ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: linear-gradient(rgba(30, 28, 34, 0.85), rgba(30, 28, 34, 0));
  transition: padding 0.3s, background 0.3s;
}
.nav.scrolled { padding-block: 12px; background: rgba(30, 28, 34, 0.94); }
html.menu-open .nav { background: none; }

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 40px; height: 40px; object-fit: contain; transition: transform 0.4s var(--ease-pop); }
.nav-brand:hover img { transform: rotate(-12deg) scale(1.15); }
.nav-wordmark { width: 196px; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.sound-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--muted);
  border-radius: 50%;
  background: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s var(--ease-pop), border-color 0.2s, color 0.2s;
}
.sound-toggle:hover { transform: scale(1.1); border-color: var(--accent); color: var(--accent); }
.sound-toggle svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sound-toggle .ico-off { display: none; }
.sound-toggle[aria-pressed="false"] .ico-on { display: none; }
.sound-toggle[aria-pressed="false"] .ico-off { display: block; }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: 700 13px/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle:hover { color: var(--accent); }
.burger { position: relative; width: 32px; height: 22px; }
.burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-pop), opacity 0.2s, top 0.3s;
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 9.5px; }
.burger i:nth-child(3) { top: 19px; }
html.menu-open .burger i:nth-child(1) { top: 9.5px; transform: rotate(45deg); }
html.menu-open .burger i:nth-child(2) { opacity: 0; }
html.menu-open .burger i:nth-child(3) { top: 9.5px; transform: rotate(-45deg); }

/* ---------- full-screen menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gutter) 48px;
  background:
    radial-gradient(50% 60% at 85% 30%, rgba(36, 96, 95, 0.35), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(53, 42, 58, 0.6), transparent 70%),
    var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0s 0.35s;
}
html.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.35s; }

.menu-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: var(--max); width: 100%; margin: auto auto 0; }
.menu-links a {
  position: relative;
  color: var(--text);
  font: 700 clamp(36px, 6vw, 64px)/1.1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-30px);
  transition: color 0.2s, opacity 0.4s, transform 0.5s var(--ease-pop);
}
html.menu-open .menu-links a { opacity: 1; transform: none; }
html.menu-open .menu-links a:nth-child(2) { transition-delay: 0.04s; }
html.menu-open .menu-links a:nth-child(3) { transition-delay: 0.08s; }
html.menu-open .menu-links a:nth-child(4) { transition-delay: 0.12s; }
html.menu-open .menu-links a:nth-child(5) { transition-delay: 0.16s; }
html.menu-open .menu-links a:nth-child(6) { transition-delay: 0.2s; }
.menu-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 6px;
  background: var(--accent);
  -webkit-mask: url("/img/ui/brush-plate.svg") 0 0 / 100% 100% no-repeat;
  mask: url("/img/ui/brush-plate.svg") 0 0 / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.menu-links a:hover { color: var(--accent); }
.menu-links a:hover::after { transform: scaleX(1); }

.menu-follow { margin-top: auto; padding-top: 48px; text-align: center; }
.menu-follow p { margin-bottom: 14px; font-weight: 700; }

/* ---------- socials ---------- */

.socials { list-style: none; display: flex; justify-content: center; gap: 14px; margin: 0; padding: 0; }
.socials a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #474b44;
  border-radius: 50%;
  color: var(--text);
  transition: transform 0.25s var(--ease-pop), background 0.2s, border-color 0.2s, color 0.2s;
}
.socials svg { width: 26px; height: 26px; fill: currentColor; }
.socials a:hover { transform: translateY(-4px) scale(1.06); background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(38, 60, 85, 0.7), transparent 70%),
    linear-gradient(180deg, #25252a 0%, #1e1c22 100%);
}

.fog { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; will-change: transform; }
.fog-a { width: 60vw; height: 32vw; left: -15vw; top: 8%; background: #263c55; animation: drift 26s ease-in-out infinite alternate; }
.fog-b { width: 50vw; height: 26vw; right: -12vw; top: 40%; background: #24605f; animation: drift 32s ease-in-out infinite alternate-reverse; }
.fog-c { width: 70vw; height: 22vw; left: 15vw; bottom: -6vw; background: #352a3a; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate3d(-4vw, 0, 0) scale(1); }
  to { transform: translate3d(6vw, -3vw, 0) scale(1.15); }
}

.hero-dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; }

.nose-stage { position: relative; width: clamp(190px, 26vw, 330px); aspect-ratio: 632 / 820; margin-bottom: clamp(18px, 3vw, 30px); }
.nose-shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -5%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 28, 34, 0.9), transparent);
  animation: shadow-bob 3.2s ease-in-out infinite;
}
.nose-lean { position: absolute; inset: 0; transform-origin: 50% 100%; transform: translate(var(--lx, 0px), var(--ly, 0px)) rotate(var(--tilt, 0deg)); }
.nose-bob { width: 100%; height: 100%; transform-origin: 50% 100%; animation: bob 3.2s ease-in-out infinite; }
.nose-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; -webkit-tap-highlight-color: transparent; }
.nose-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(79, 141, 118, 0.35));
  transition: filter 0.3s;
  user-select: none;
  -webkit-user-drag: none;
}
.nose-btn:hover img { filter: drop-shadow(0 0 60px rgba(198, 154, 84, 0.45)) brightness(1.06); }
@keyframes bob {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  45%, 55% { transform: translateY(-14px) scale(0.985, 1.02); }
}
@keyframes shadow-bob {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.8); opacity: 0.6; }
}

.hero-title { width: min(720px, 86vw); filter: drop-shadow(0 4px 0 #1e1c22); }
.hero-tag { margin: 18px 0 30px; max-width: 560px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.scroll-cue { position: absolute; bottom: 70px; left: 50%; width: 28px; height: 46px; margin-left: -14px; border-radius: 20px; box-shadow: inset 0 0 0 2px #656861; z-index: 2; }
/* on short screens the hero content reaches the bottom, so the cue would sit on the buttons */
@media (max-height: 860px) { .scroll-cue { display: none; } }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* boop particles (spawned by JS) */
.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 250; overflow: hidden; }
.fx-spark { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; }

/* ---------- sections + brush edges ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.sec { --sec-bg: var(--bg-2); position: relative; background: var(--sec-bg); padding: 100px 0; }
/* each section paints a ragged brush edge up over the one before it */
.sec::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--edge) * -1 + 1px);
  height: var(--edge);
  background: var(--sec-bg);
  -webkit-mask: url("/img/ui/brush-edge.svg") 0 0 / 100% 100% no-repeat;
  mask: url("/img/ui/brush-edge.svg") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.sec:nth-of-type(even)::before { -webkit-mask-image: url("/img/ui/brush-edge-2.svg"); mask-image: url("/img/ui/brush-edge-2.svg"); }
.sec-games { --sec-bg: var(--bg-2); }
.feature-logdrop { --sec-bg: var(--bg); }
.feature-sporbs { --sec-bg: var(--bg-2); }
.sec-studio { --sec-bg: var(--bg); }
.sec-community { --sec-bg: var(--bg-2); }

.sec-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.sec-icon { flex: none; width: 76px; height: 76px; display: grid; place-items: center; color: #4f8d76; filter: drop-shadow(0 0 10px rgba(57, 135, 98, 0.7)); }
.sec-icon svg { width: 76px; height: 76px; }
.sec-icon img { width: 60px; height: 60px; object-fit: contain; }
.sec-head h2 { font: 800 clamp(32px, 4vw, 46px)/1 var(--font); text-transform: uppercase; letter-spacing: 0.01em; }
.sec-head em { font-style: normal; color: var(--accent); }
.sec-sub { margin-top: 8px; color: var(--muted); font-size: 15px; letter-spacing: 0.04em; }
.sec-intro { max-width: 780px; font-size: 18px; }

/* ---------- our games ---------- */

/* the games strip holds only the title, so it sits snug between the two brush edges */
.sec-games { padding-top: 40px; }
.sec-games .sec-head { margin-bottom: 0; }

.band { position: relative; margin-top: 84px; padding: 70px var(--gutter) 60px; background: var(--band); }
.band::before,
.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--edge);
  background: var(--band);
  pointer-events: none;
}
.band::before { top: calc(var(--edge) * -1 + 1px); -webkit-mask: url("/img/ui/brush-edge-2.svg") 0 0 / 100% 100% no-repeat; mask: url("/img/ui/brush-edge-2.svg") 0 0 / 100% 100% no-repeat; }
.band::after { bottom: calc(var(--edge) * -1 + 1px); -webkit-mask: url("/img/ui/brush-edge-down.svg") 0 0 / 100% 100% no-repeat; mask: url("/img/ui/brush-edge-down.svg") 0 0 / 100% 100% no-repeat; }

.game-cards {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
}
.game-card { display: flex; flex-direction: column; align-items: center; }
.game-card .btn { margin-top: -26px; z-index: 2; }

.card-art {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 568 / 868;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 30px 60px -24px rgba(30, 28, 34, 0.95);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.3s ease-out, box-shadow 0.3s;
}
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card-art:hover { box-shadow: 0 0 0 3px var(--accent), 0 40px 70px -24px rgba(30, 28, 34, 1); }
.card-art:hover img { transform: scale(1.05); }
.card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(198, 190, 155, 0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.card-art:hover::after { transform: translateX(100%); }
.card-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--bg);
  font: 700 13px/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

/* ---------- game features ---------- */

.feature-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.kicker { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.feature-info h3 {
  margin: 10px 0 18px;
  font: 700 clamp(40px, 5vw, 62px)/0.95 var(--display);
  text-transform: uppercase;
}
.feature-info p + p { margin-top: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--band);
  box-shadow: 0 14px 30px -14px rgba(30, 28, 34, 0.9);
  transition: transform 0.3s var(--ease-pop), box-shadow 0.3s;
}
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s; }
.shot:hover { transform: translateY(-5px); box-shadow: 0 0 0 3px var(--accent), 0 24px 40px -14px rgba(30, 28, 34, 1); }
.shot:hover img { transform: scale(1.06); }

/* ---------- studio + community ---------- */

.studio { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
/* the logo on its white card, pinned at a slight angle */
.studio-art img {
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 6px;
  transform: rotate(-3deg);
  box-shadow: 0 0 0 10px var(--band), 0 30px 60px -20px rgba(30, 28, 34, 1);
  transition: transform 0.5s var(--ease-pop);
}
.studio-art:hover img { transform: rotate(2deg) scale(1.03); }

/* ---------- community cards ---------- */

.social-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 10px; }
.social-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 28px;
  border-radius: 6px;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(198, 154, 84, 0.12), transparent 60%),
    var(--band);
  color: var(--text);
  text-decoration: none;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s ease-out, box-shadow 0.25s;
}
.social-card:hover { box-shadow: 0 0 0 3px var(--accent), 0 26px 50px -24px rgba(30, 28, 34, 1); }
.social-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  border: 2px solid #474b44;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.3s var(--ease-pop);
}
.social-icon svg { width: 26px; height: 26px; fill: currentColor; }
.social-card:hover .social-icon { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: rotate(-8deg) scale(1.08); }
.social-card b { font: 800 22px/1.1 var(--font); letter-spacing: 0.02em; text-transform: uppercase; }
.social-card span:last-child { color: var(--muted); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }

/* ---------- footer ---------- */

.footer { position: relative; padding: 70px var(--gutter) 60px; text-align: center; background: var(--bg); }
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--edge) * -1 + 1px);
  height: var(--edge);
  background: var(--bg);
  -webkit-mask: url("/img/ui/brush-edge.svg") 0 0 / 100% 100% no-repeat;
  mask: url("/img/ui/brush-edge.svg") 0 0 / 100% 100% no-repeat;
}
.footer-title { margin-bottom: 18px; font: 800 18px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.legal { margin-top: 26px; color: var(--muted); font-size: 13px; }

/* ---------- lightbox ---------- */

.lightbox { width: min(1280px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: var(--bg); overflow: visible; }
.lightbox::backdrop { background: rgba(30, 28, 34, 0.92); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in 0.35s var(--ease-pop); }
@keyframes lb-in { from { transform: scale(0.85); opacity: 0; } }
.lightbox img { width: 100%; height: auto; }
.lightbox.pixel-art img { image-rendering: pixelated; }
.lb-close, .lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font: 700 30px/1 var(--font);
  cursor: pointer;
  transition: transform 0.2s var(--ease-pop);
}
.lb-close { top: -18px; right: -18px; width: 44px; height: 44px; }
.lb-nav { top: 50%; width: 50px; height: 50px; margin-top: -25px; font-size: 40px; padding-bottom: 4px; }
.lb-prev { left: -25px; }
.lb-next { right: -25px; }
.lb-close:hover, .lb-nav:hover { transform: scale(1.15); }

/* ---------- reveal on scroll ---------- */

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s var(--ease-pop); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .social-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .feature-body, .studio { grid-template-columns: minmax(0, 1fr); }
  .studio-art img { max-width: 320px; }
}

@media (max-width: 640px) {
  :root { --edge: 36px; }
  .nav { padding-block: 14px; }
  .nav-wordmark { display: none; }
  .menu-label { display: none; }
  .sec { padding: 70px 0; }
  .sec-head { gap: 14px; }
  .sec-icon, .sec-icon svg { width: 56px; height: 56px; }
  .sec-icon img { width: 44px; height: 44px; }
  .game-cards { gap: 14px; }
  .game-card .btn { padding: 12px 16px; font-size: 13px; min-height: 46px; }
  .game-card .btn svg { display: none; }
  .card-tag { left: 8px; top: 8px; padding: 5px 8px; font-size: 11px; white-space: nowrap; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: -54px; right: 0; }
}

@media (max-width: 460px) {
  .social-cards { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn, .cta-row .btn { flex: 1 1 100%; }
  .shots { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .menu-links a { opacity: 1; transform: none; }
}
