/* ============================================================
   Mugen Games — site styles
   Palette is pulled from the logo orb and the Orblins key art:
   near-black backgrounds, lime green accent, marble colours.
   ============================================================ */

:root {
  --bg:            #07080c;
  --bg-alt:        #0b0d12;
  --surface:       #11141b;
  --surface-2:     #171b24;
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.16);

  --text:          #eef2ef;
  --muted:         #98a3a6;
  --faint:         #6b757a;

  --green:         #8ce04e;
  --green-bright:  #a8f065;
  --green-dim:     rgba(140, 224, 78, 0.14);
  --green-glow:    rgba(140, 224, 78, 0.34);

  --marble-red:    #e5487a;
  --marble-blue:   #4aa8ff;
  --marble-amber:  #ffc247;
  --marble-violet: #a06cf0;
  --marble-cyan:   #48e0d0;

  --radius:        14px;
  --radius-sm:     9px;
  --shell:         1180px;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--green-bright); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: #06210a; padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* The 64px logo is pixel art — never let the browser smooth it. */
.brand__mark {
  width: 34px; height: 34px;
  image-rendering: pixelated;
}

/* ---------- Floating orb backdrop ---------- */
.orb-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 26s var(--ease) infinite alternate;
}
.orb--green   { width: 460px; height: 460px; top: -140px; left: -100px;
                background: var(--green);          opacity: 0.16; }
.orb--magenta { width: 380px; height: 380px; top: 22%;   right: -140px;
                background: var(--marble-red);     opacity: 0.11; animation-delay: -6s; }
.orb--cyan    { width: 340px; height: 340px; top: 58%;   left: -120px;
                background: var(--marble-cyan);    opacity: 0.09; animation-delay: -12s; }
.orb--amber   { width: 300px; height: 300px; top: 78%;   right: 8%;
                background: var(--marble-amber);   opacity: 0.08; animation-delay: -18s; }
.orb--violet  { width: 420px; height: 420px; top: 38%;   left: 40%;
                background: var(--marble-violet);  opacity: 0.07; animation-delay: -22s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -50px, 0) scale(1.15); }
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(7, 8, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em;
}
.brand__accent { color: var(--green); margin-left: 4px; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  color: var(--muted); font-size: 0.93rem; font-weight: 500;
  padding: 6px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.32s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; }

/* ---------- Language switcher ---------- */
.lang {
  display: flex; align-items: center; gap: 4px; flex: none;
  padding: 3px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 6px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--faint); font: inherit; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; line-height: 1;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { color: #062109; background: var(--green); }
.lang__flag {
  width: 20px; height: 14px; flex: none; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  opacity: 0.55; transition: opacity 0.25s var(--ease);
}
.lang__btn:hover .lang__flag,
.lang__btn.is-active .lang__flag { opacity: 1; }
.lang__btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 0.94rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease),
              background 0.24s var(--ease), border-color 0.24s var(--ease),
              color 0.24s var(--ease);
}
.btn--sm { padding: 9px 17px; font-size: 0.87rem; }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }

.btn--primary { background: var(--green); color: #062109; }
.btn--primary:hover {
  background: var(--green-bright); color: #062109;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px var(--green-glow);
}

.btn--ghost {
  background: transparent; color: var(--text); border-color: var(--line-strong);
}
.btn--ghost:hover {
  color: var(--green); border-color: var(--green); transform: translateY(-2px);
  background: var(--green-dim);
}

/* Light sweep across the button face on hover. */
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%,
              rgba(255, 255, 255, 0.32) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 108px 0 96px; }
.hero__inner { max-width: 880px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin: 0 0 20px;
}

.hero__title { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; margin-bottom: 26px; }
.grad {
  background: linear-gradient(96deg, var(--green) 0%, var(--marble-cyan) 55%, var(--marble-violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted);
  max-width: 620px; margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 68px; }

.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg-alt); padding: 22px 20px; }

/* The headline figure takes the full width of the row above the other two. */
.stat--wide { grid-column: 1 / -1; }
.stat--wide dd { font-size: 2.5rem; }

.stat dt {
  font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 8px;
}
.stat__qualifier { text-transform: none; letter-spacing: 0.02em; opacity: 0.75; }
.stat__qualifier::before { content: '('; }
.stat__qualifier::after  { content: ')'; }

.stat dd {
  margin: 0; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem; font-weight: 700; color: var(--text); line-height: 1;
}
.stat__plus { color: var(--green); }
.stat__text { color: var(--green); }

/* ---------- Section shell ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 48px; max-width: 720px; }
.section__title { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 700; }

/* ---------- Tabs ---------- */
.tabs__list {
  position: relative; display: flex; gap: 6px;
  border-bottom: 1px solid var(--line); margin-bottom: 40px;
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; margin-bottom: -1px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-family: inherit; font-size: 0.96rem; font-weight: 600;
  transition: color 0.25s var(--ease);
}
.tab img { border-radius: 3px; opacity: 0.55; transition: opacity 0.25s var(--ease); }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); }
.tab.is-active img { opacity: 1; }
.tab__lock { display: inline-flex; color: var(--faint); }
.tab.is-active .tab__lock { color: var(--green); }

.tabs__indicator {
  position: absolute; bottom: -1px; left: 0; height: 2px;
  background: var(--green); border-radius: 2px;
  box-shadow: 0 0 14px var(--green-glow);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
}

.panel { display: none; }
.panel.is-active { display: block; animation: panel-in 0.5s var(--ease) both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Game layout ---------- */
.game { display: grid; grid-template-columns: 1.15fr 1fr; gap: 46px; align-items: start; }

.shot {
  position: relative; margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.shot--feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.shot__zoom {
  position: absolute; right: 12px; bottom: 12px;
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(7, 8, 12, 0.7); backdrop-filter: blur(6px);
  color: var(--text); cursor: pointer; opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.shot:hover .shot__zoom, .shot__zoom:focus-visible { opacity: 1; }
.shot__zoom:hover { color: var(--green); border-color: var(--green); transform: scale(1.08); }

.thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px;
}
.thumb {
  padding: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden;
  background: none; cursor: pointer; line-height: 0;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.thumb img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  opacity: 0.5; transition: opacity 0.25s var(--ease), transform 0.4s var(--ease);
}
.thumb:hover img { opacity: 0.9; transform: scale(1.07); }
.thumb.is-active { border-color: var(--green); }
.thumb.is-active img { opacity: 1; }

.game__titlebar { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.game__title { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; }

.badge {
  padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted);
}
.badge--live {
  color: var(--green); border-color: rgba(140, 224, 78, 0.4); background: var(--green-dim);
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.chips li {
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 0.78rem; color: var(--muted); background: var(--surface);
}

.game__lead { font-size: 1.07rem; color: var(--text); }
.game__lead em { color: var(--green); font-style: italic; }
.game__text { color: var(--muted); font-size: 0.96rem; }

/* ---------- Creator coverage (embedded X post) ---------- */
.coverage {
  margin: 24px 0;
  padding: 16px 18px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.coverage__eyebrow {
  display: flex; align-items: center; gap: 8px; margin: 0 0 13px;
  color: var(--green); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.coverage__pulse {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--green); box-shadow: 0 0 0 0 var(--green-glow);
  animation: coveragePulse 2.4s var(--ease) infinite;
}
@keyframes coveragePulse {
  0%   { box-shadow: 0 0 0 0 var(--green-glow); }
  70%  { box-shadow: 0 0 0 9px rgba(140, 224, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(140, 224, 78, 0); }
}

.coverage__embed { min-height: 60px; }
.coverage__embed .twitter-tweet { margin: 0 auto !important; }

/* Readable fallback if platform.twitter.com is blocked or slow: the raw
   blockquote stays on screen as a styled pull-quote rather than bare text. */
.coverage__embed blockquote.twitter-tweet {
  padding: 13px 15px; border-left: 2px solid var(--green);
  border-radius: var(--radius-sm); background: var(--surface-2);
  color: var(--muted); font-size: 0.92rem; font-style: italic;
}
.coverage__embed blockquote.twitter-tweet p { margin: 0 0 8px; }
.coverage__embed blockquote.twitter-tweet a { color: var(--green); }

.coverage__caption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin: 12px 0 0; color: var(--faint); font-size: 0.85rem; line-height: 1.5;
}
.coverage__link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--green); font-weight: 600; white-space: nowrap;
}
.coverage__link:hover { color: var(--green-bright); }

.legend {
  display: grid; gap: 9px; margin: 24px 0;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9rem; color: var(--muted);
}
.legend li { display: flex; align-items: center; gap: 9px; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot--red    { background: var(--marble-red); }
.dot--blue   { background: var(--marble-blue); }
.dot--green  { background: var(--green); }
.dot--amber  { background: var(--marble-amber); }
.dot--special{ background: linear-gradient(135deg, var(--marble-violet), var(--marble-cyan)); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin: 0 0 28px; }
.facts dt {
  font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 3px;
}
.facts dd { margin: 0; font-size: 0.9rem; color: var(--text); }

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

/* ---------- Upcoming panel ---------- */
.upcoming { display: grid; grid-template-columns: 1.15fr 1fr; gap: 46px; align-items: center; }
.upcoming__visual {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(140, 224, 78, 0.1), transparent 62%),
    repeating-linear-gradient(45deg, #0d1016 0 12px, #0a0c11 12px 24px);
}
.upcoming__glyph {
  font-family: 'Space Grotesk', sans-serif; font-size: 8rem; font-weight: 700;
  color: rgba(255, 255, 255, 0.07);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

.upcoming__scan {
  position: absolute; left: 0; right: 0; height: 28%;
  background: linear-gradient(to bottom, transparent, rgba(140, 224, 78, 0.09), transparent);
  animation: scan 5.5s linear infinite;
}
@keyframes scan { from { top: -30%; } to { top: 100%; } }

/* ---------- Studio pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 30px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease),
              background 0.32s var(--ease);
}
.card:hover {
  transform: translateY(-5px); border-color: rgba(140, 224, 78, 0.35);
  background: var(--surface-2);
}
.card__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 12px; color: var(--green); }
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Team ---------- */
.member {
  display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center;
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.member__photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.member__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  filter: grayscale(0.25) contrast(1.04);
  transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
}
.member:hover .member__photo img { transform: scale(1.04); filter: grayscale(0) contrast(1.04); }

.member__name { font-size: 1.5rem; font-weight: 700; }
.member__role {
  color: var(--green); font-size: 0.83rem; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase; margin: 5px 0 16px;
}
.member__body p { color: var(--muted); font-size: 0.96rem; }
.member__links { display: flex; gap: 20px; margin-top: 20px; }
.member__links a { font-size: 0.9rem; font-weight: 600; }

/* ---------- Contact ---------- */
.cta { text-align: center; max-width: 620px; margin: 0 auto; }
.cta__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 14px; }
.cta__text { color: var(--muted); margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; background: var(--bg); }
.site-footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 22px;
}
.site-footer__brand { display: flex; align-items: center; gap: 13px; }
.site-footer__name { margin: 0; font-weight: 600; font-size: 0.94rem; }
.site-footer__note { margin: 0; font-size: 0.82rem; color: var(--faint); }
.site-footer__nav { display: flex; gap: 24px; }
.site-footer__nav a { color: var(--muted); font-size: 0.89rem; }
.site-footer__nav a:hover { color: var(--green); }
.site-footer__legal { margin: 0; font-size: 0.8rem; color: var(--faint); width: 100%; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(4, 5, 8, 0.94); backdrop-filter: blur(8px);
  animation: fade-in 0.28s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: min(1180px, 92vw); max-height: 84vh;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  animation: zoom-in 0.32s var(--ease);
}
@keyframes zoom-in {
  from { opacity: 0; transform: scale(0.965); }
  to   { opacity: 1; transform: none; }
}

.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(17, 20, 27, 0.85); color: var(--text);
  cursor: pointer; transition: all 0.22s var(--ease);
}
.lightbox__close { top: 22px; right: 24px; width: 42px; height: 42px; font-size: 1.7rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 2rem; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__close:hover, .lightbox__nav:hover {
  color: var(--green); border-color: var(--green); background: var(--surface-2);
}
.lightbox__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  margin: 0; font-size: 0.85rem; color: var(--faint);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .game, .upcoming { grid-template-columns: 1fr; gap: 34px; }
  .pillars { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .member__photo { max-width: 260px; margin: 0 auto; }
  .member__links { justify-content: center; }
}

@media (max-width: 860px) {
  /* Flags alone still read clearly, and this keeps the bar on one line. */
  .lang__code { display: none; }
  .lang__btn { padding: 6px 8px; }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .site-header__inner { gap: 14px; }
  .lang { margin-left: auto; }
  .nav-toggle {
    display: grid; place-content: center; gap: 5px; margin-left: 0;
    width: 42px; height: 42px; padding: 0;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span {
    display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 20px;
    background: rgba(7, 8, 12, 0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }

  .hero { padding: 66px 0 62px; }
  .section { padding: 66px 0; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

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