/* ==========================================================================
   Qila Games — marketing site
   Recreated from the Claude Design prototype "Qila Games Home.dc.html".
   Palette / type / motion match the source; hover states (originally the
   prototype's `style-hover` attribute) are real CSS here, the experimental
   `animation-timeline: view()` reveals are driven by IntersectionObserver
   (see js/main.js), and responsive breakpoints have been added so the fixed
   1440px grids stack cleanly on tablet and mobile.
   ========================================================================== */

:root {
  --accent: #C6F833;       /* themeable: #C6F833 lime · #4D7CFF blue · #FF3D7F pink · #FF6A2B orange */
  --ink: #0A0A0B;
  --paper: #F4F4F2;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

img { display: block; }

/* ---------- Keyframes ---------- */
@keyframes rise   { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes riseL  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes spinR  { to { transform: rotate(-360deg); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes emanate { 0% { transform: scale(.08); opacity: 0; } 9% { opacity: .5; } 100% { transform: scale(3); opacity: 0; } }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section { position: relative; padding: clamp(80px, 11vw, 150px) var(--pad); }
.section--divider { border-top: 1px solid rgba(255, 255, 255, .08); }

.qila-root { position: relative; width: 100%; overflow: hidden; background: var(--ink); }

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.progress-track {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  z-index: 120; background: transparent; pointer-events: none;
}
.progress-bar {
  height: 100%; width: 0%; background: var(--accent); transform-origin: left center;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad);
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
  padding-top: 14px; padding-bottom: 14px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 42px; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: 34px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
}
.navlink { color: rgba(244, 244, 242, .62); transition: color .2s; }
.navlink:hover,
.navlink.is-active { color: var(--accent); }

/* mono pill CTA in the nav */
.btn-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--ink);
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 2px;
  transition: transform .2s, box-shadow .2s;
}
.btn-pill:hover { box-shadow: 0 0 0 3px rgba(198, 248, 51, .25); }
.btn-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulseDot 1.6s infinite; }

/* mobile nav toggle (hidden on desktop) */
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px; z-index: 101;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--paper); transition: transform .25s, opacity .25s; }

/* ==========================================================================
   Buttons (shared)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 2px;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.btn--sm { padding: 15px 24px; }
.btn--primary { background: var(--accent); color: var(--ink); font-weight: 700; }
.btn--primary:hover { box-shadow: 0 0 0 4px rgba(198, 248, 51, .22); }
.btn--ghost { border: 1px solid rgba(244, 244, 242, .28); color: var(--paper); font-weight: 500; }
.btn--ghost:hover { border-color: var(--paper); background: rgba(244, 244, 242, .06); }

/* dark-on-light variant used on the light Team CTA back button */
.btn--ghost-dark { border: 1px solid rgba(244, 244, 242, .28); color: var(--paper); font-weight: 500; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad); padding-top: 120px; padding-bottom: 60px;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 30% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 30% 40%, #000 0%, transparent 78%);
}
.hero__rings {
  position: absolute; top: 50%; right: -12vw; transform: translateY(-50%);
  width: min(92vh, 1080px); height: min(92vh, 1080px);
  pointer-events: none; will-change: transform;
}
.hero__rings svg { display: block; overflow: visible; }
.hero__rings-icon {
  position: absolute; top: 50%; left: 50%; width: 38%; height: 38%;
  transform: translate(-50%, -50%); opacity: .95;
}
.hero__inner { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulseDot 1.6s infinite; }

.hero__title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(40px, 7.2vw, 118px); line-height: .96; letter-spacing: -.02em;
  text-transform: uppercase; margin: 0; max-width: 14ch; text-wrap: balance;
}
.hero__title span { display: block; }
.accent { color: var(--accent); }

.hero__lede {
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55;
  color: rgba(244, 244, 242, .62); max-width: 52ch; margin: 34px 0 0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

/* Hero load animations (time-based, play on first paint) */
.hero .eyebrow { animation: fadeIn .8s both; margin-bottom: 30px; }
.hero__title span:nth-child(1) { animation: rise .8s .05s both; }
.hero__title span:nth-child(2) { animation: rise .8s .14s both; }
.hero__title span:nth-child(3) { animation: rise .8s .23s both; }
.hero__lede { animation: rise .8s .34s both; }
.hero__cta  { animation: rise .8s .44s both; }

/* ==========================================================================
   Section headings
   ========================================================================== */
.h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  margin: 0; text-wrap: balance;
}
.h2--xl { font-size: clamp(32px, 5vw, 68px); }
.h2--lg { font-size: clamp(30px, 4.6vw, 64px); }

/* ==========================================================================
   Opportunity / stat band
   ========================================================================== */
.statband__head { margin-bottom: 60px; }
.statband__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1);
}
.stat { background: var(--ink); padding: 38px 30px; }
.stat__num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--paper);
}
.stat__num--accent { color: var(--accent); }
.stat__label { font-size: 14px; line-height: 1.45; color: rgba(244, 244, 242, .62); margin-top: 16px; }

/* ==========================================================================
   Studio (light)
   ========================================================================== */
.studio { position: relative; background: var(--paper); color: var(--ink); }
.studio__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start;
}
.studio__copy p {
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6;
  color: rgba(10, 10, 11, .66); max-width: 46ch; margin: 26px 0 0;
}
.studio__stats {
  display: flex; flex-wrap: wrap; gap: 30px; margin-top: 40px;
  border-top: 1px solid rgba(10, 10, 11, .14); padding-top: 30px;
}
.studio__stat-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 36px; line-height: 1; }
.studio__stat-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(10, 10, 11, .55); margin-top: 8px;
}
.studio__list { display: flex; flex-direction: column; gap: 1px; background: rgba(10, 10, 11, .14); border: 1px solid rgba(10, 10, 11, .14); }
.studio__item {
  background: var(--paper); padding: 26px 28px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
}
.studio__item--dark { background: var(--ink); color: var(--paper); padding: 30px 28px; position: relative; }
.studio__item--dark::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.studio__item-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .01em; }
.studio__item--dark .studio__item-title { font-size: 23px; color: var(--accent); }
.studio__item-desc { font-size: 14px; color: rgba(10, 10, 11, .6); margin-top: 6px; max-width: 32ch; }
.studio__item--dark .studio__item-desc { color: rgba(244, 244, 242, .72); }
.studio__item-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(10, 10, 11, .4); }
.studio__item--dark .studio__item-num { color: var(--accent); }

/* ==========================================================================
   Game showcase
   ========================================================================== */
.game { position: relative; overflow: hidden; }
.game__glow {
  position: absolute; top: -10%; left: -8%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(198, 248, 51, .06), transparent 65%); pointer-events: none;
}
.game__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.game__eyebrow { margin-bottom: 22px; }
.game__title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(40px, 6vw, 86px); line-height: .96; letter-spacing: -.02em;
  text-transform: uppercase; margin: 0;
}
.game__lede { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: rgba(244, 244, 242, .66); max-width: 44ch; margin: 24px 0 0; }
.game__features { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 36px; margin-top: 34px; }
.game__feature { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.game__feature-arrow { color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.game__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.game__phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: clamp(220px, 26vw, 300px); aspect-ratio: 9 / 19;
  border-radius: 34px; border: 1px solid rgba(255, 255, 255, .16); background: #0E0E10;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6); padding: 10px; will-change: transform;
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .16); z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; position: relative; background: #0E0E10; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Craft grid
   ========================================================================== */
.craft__head { max-width: 60ch; margin-bottom: 60px; }
.craft__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); }
.craft-card {
  background: var(--ink); padding: 36px 30px; min-height: 230px;
  display: flex; flex-direction: column; transition: background .3s;
}
.craft-card:hover { background: #0E0E10; }
.craft-card__num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); margin-bottom: auto; }
.craft-card__title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .01em; margin-top: 26px; }
.craft-card__desc { font-size: 14px; line-height: 1.5; color: rgba(244, 244, 242, .62); margin: 12px 0 0; }
.craft-card--accent {
  background: var(--accent); color: var(--ink); justify-content: space-between;
}
.craft-card--accent .craft-card__kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.craft-card--accent .craft-card__big { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.1; text-transform: uppercase; }

/* ==========================================================================
   Careers CTA
   ========================================================================== */
.careers { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 160px) var(--pad); }
.careers__rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140vw; height: 140vw; max-width: 1400px; max-height: 1400px; pointer-events: none; opacity: .5; }
.careers__inner { max-width: 980px; margin: 0 auto; text-align: center; position: relative; }
.careers__title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(38px, 7vw, 104px); line-height: .95; letter-spacing: -.02em;
  text-transform: uppercase; margin: 0;
}
.careers__lede { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: rgba(244, 244, 242, .62); max-width: 50ch; margin: 30px auto 0; }
.careers__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 42px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; background: #060607; padding: clamp(56px, 8vw, 90px) var(--pad) 40px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__logo { height: 46px; width: auto; margin-bottom: 22px; }
.footer__blurb { font-size: 15px; line-height: 1.6; color: rgba(244, 244, 242, .55); max-width: 34ch; margin: 0; }
.footer__col-head { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 244, 242, .4); margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-link { color: rgba(244, 244, 242, .78); transition: color .2s; }
.foot-link:hover { color: var(--accent); }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(244, 244, 242, .4);
}

/* ==========================================================================
   Team page
   ========================================================================== */
.team-hero { position: relative; padding: clamp(150px, 18vh, 220px) var(--pad) clamp(50px, 7vw, 90px); }
.team-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 20% 30%, #000 0%, transparent 75%);
}
.team-hero__inner { position: relative; max-width: 1180px; margin: 0 auto; }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; }
.crumb a { color: rgba(244, 244, 242, .5); }
.crumb__sep { opacity: .4; }
.team-hero__title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(40px, 7vw, 104px); line-height: .96; letter-spacing: -.02em;
  text-transform: uppercase; margin: 0; max-width: 16ch;
}
.team-hero__title span { display: block; }
.team-hero__lede { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: rgba(244, 244, 242, .62); max-width: 54ch; margin: 30px 0 0; }

.team { position: relative; background: var(--paper); color: var(--ink); padding: clamp(70px, 9vw, 120px) var(--pad); }
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(10, 10, 11, .14); border: 1px solid rgba(10, 10, 11, .14); }
.member { background: var(--paper); padding: 40px 38px; }
.member__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--paper); font-size: 21px; margin-bottom: 28px; }
.member__name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; }
.member__role { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: .55; margin-top: 8px; }
.member__li { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid rgba(10, 10, 11, .3); padding-bottom: 3px; transition: opacity .2s; }
.member__li:hover { opacity: .6; }

.team-cta { position: relative; padding: clamp(60px, 8vw, 110px) var(--pad) clamp(80px, 10vw, 130px); text-align: center; }
.team-cta__title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(28px, 4vw, 52px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 28px; }
.team-cta__btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.footer--simple .footer__top { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer--simple .footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; text-align: right; }
.footer--simple .footer__bar { max-width: 1180px; margin: 48px auto 0; display: block; }

/* ==========================================================================
   Reveal-on-scroll (replaces experimental animation-timeline: view())
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal--left { transform: translateX(-40px); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Legal pages (privacy / terms / account deletion)
   ========================================================================== */
.wrap-narrow { max-width: 780px; margin: 0 auto; }
.legal-hero { position: relative; padding: clamp(120px, 16vh, 180px) var(--pad) clamp(28px, 4vw, 48px); }
.legal-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 20% 20%, #000 0%, transparent 75%);
}
.legal-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(32px, 5vw, 60px); line-height: 1; letter-spacing: -.02em;
  text-transform: uppercase; margin: 0; position: relative;
}
.legal { position: relative; padding: 0 var(--pad) clamp(70px, 9vw, 120px); }
.legal-body { font-size: 16px; line-height: 1.7; color: rgba(244, 244, 242, .82); }
.legal-body h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px;
  text-transform: uppercase; letter-spacing: .01em; color: var(--paper);
  margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.legal-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; color: var(--paper); margin: 24px 0 8px; }
.legal-body p { margin: 0 0 16px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin: 0 0 8px; }
.legal-body li::marker { color: var(--accent); }
.legal-body a { color: var(--accent); border-bottom: 1px solid rgba(198, 248, 51, .35); transition: border-color .2s; }
.legal-body a:hover { border-bottom-color: var(--accent); }
.legal-body strong { color: var(--paper); }
.legal-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 244, 242, .5); margin: 0 0 28px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column;
    justify-content: center; gap: 26px; padding: 100px 32px 40px;
    background: rgba(10, 10, 11, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(-100%); transition: transform .35s ease; height: 100dvh; font-size: 16px;
  }
  .nav__links.open { transform: none; }
  .nav__toggle { display: flex; }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .statband__grid { grid-template-columns: repeat(2, 1fr); }
  .studio__grid { grid-template-columns: 1fr; }
  .game__grid { grid-template-columns: 1fr; }
  .game__phone-wrap { order: -1; }
  .craft__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .team__grid { grid-template-columns: 1fr; }
  .hero__rings { opacity: .4; right: -30vw; }
}

@media (max-width: 560px) {
  .statband__grid { grid-template-columns: 1fr; }
  .craft__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .game__features { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .footer--simple .footer__contact { text-align: left; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
