/* Fear Of The Forest — v4
   Built around the studio's own key art: black-and-white grunge, an eclipse ring, one blood red. */

:root {
  --bg: #050505; --bg-2: #0c0c0c; --card: #0f0f0f; --card-2: #161616;
  --line: #1f1f1f; --line-2: #2c2c2c;
  --text: #ece8df; --muted: #8f8b83; --faint: #57544f;
  --red: #c0392b; --red-hot: #e0483a; --red-soft: rgba(192,57,43,.14);
  --shadow: 0 40px 100px rgba(0,0,0,.7);
  --header-bg: rgba(5,5,5,.74); --grain: .06;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --caps: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 76px; --r: 20px; --g: 32px; --sy: 150px;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #efebe4; --bg-2: #e7e2d9; --card: #f8f6f1; --card-2: #ffffff;
  --line: #d9d3c8; --line-2: #c6beb1;
  --text: #111; --muted: #5d5850; --faint: #9a948a;
  --red: #a8281c; --red-hot: #c0392b; --red-soft: rgba(168,40,28,.09);
  --shadow: 0 40px 80px rgba(40,30,20,.14);
  --header-bg: rgba(239,235,228,.8); --grain: .035;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); scrollbar-width: thin; scrollbar-color: var(--line-2) var(--bg); -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }
.defs { position: absolute; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 900; padding: 10px 16px; border-radius: 8px; background: var(--red); color: #fff; font: 600 13px var(--sans); }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: calc(1200px + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }

html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s !important; }
[data-i18n], [data-i18n-html], .js-theme-label, [data-fact-label], [data-fact-value] { transition: opacity .18s ease; }
html.i18n-out [data-i18n], html.i18n-out [data-i18n-html], html.i18n-out .js-theme-label, html.i18n-out [data-fact-label], html.i18n-out [data-fact-value] { opacity: 0; transition-duration: .12s; }

.grain { position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 600 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--red-hot); }
[data-theme="light"] .eyebrow { color: var(--red); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; flex: none; }
.caret { display: inline-block; width: 2px; height: .82em; margin-left: 10px; vertical-align: -.06em; background: var(--red-hot); animation: caret 1.6s ease-in-out infinite; }
@keyframes caret { 50% { opacity: .2; } }
.h2 { font: 400 clamp(40px, 5.2vw, 72px)/1.03 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.h3 { font: 400 32px/1.1 var(--serif); }
.display { font: 400 clamp(52px, 6vw, 92px)/.95 var(--serif); letter-spacing: -.02em; }
.section { position: relative; padding: var(--sy) 0; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 600 14px/1 var(--sans); white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #f1ede5; color: #0a0a0a; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.btn--light:hover { background: #fff; }
.btn--line { border: 1px solid rgba(241,237,229,.35); color: #f1ede5; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(0,0,0,.25); }
.btn--line:hover { border-color: #f1ede5; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 40px rgba(192,57,43,.35); }
.btn--red:hover { background: var(--red-hot); box-shadow: 0 14px 50px rgba(224,72,58,.5); }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn:hover .arrow--down { transform: translateY(3px); }
.is-soon { cursor: default; }
.is-soon::after { content: attr(data-tooltip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); padding: 6px 10px; border-radius: 6px; background: var(--text); color: var(--bg); font: 500 11px/1 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); z-index: 10; }
.is-soon:hover::after, .is-soon:focus-visible::after, .is-soon.show-tip::after { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #f1ede5; border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease); }
.header.is-scrolled { background: var(--header-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); color: var(--text); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; padding: 0 var(--g); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; }
.brand__img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.brand__txt { display: flex; flex-direction: column; font: 700 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.brand__txt small { margin-top: 5px; font: 500 8.5px/1 var(--sans); letter-spacing: .44em; opacity: .65; }
.nav { display: flex; gap: 36px; }
.nav a { position: relative; padding: 10px 0; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .7; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 1px; background: var(--red-hot); transition: left .3s var(--ease), right .3s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { left: 0; right: 0; }
.controls { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.header.is-scrolled .lang, .header.is-scrolled .theme, .header.is-scrolled .discord-mini, .menu .lang, .menu .theme { border-color: var(--line-2); }
.lang button { min-width: 38px; height: 30px; border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .14em; opacity: .55; transition: opacity .25s, background-color .25s; }
.lang button[aria-pressed="true"] { opacity: 1; background: rgba(255,255,255,.12); }
[data-theme="light"] .header.is-scrolled .lang button[aria-pressed="true"], [data-theme="light"] .menu .lang button[aria-pressed="true"] { background: rgba(0,0,0,.08); }
.theme { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: border-color .25s; }
.theme:hover, .discord-mini:hover { border-color: var(--red-hot); }
.i-moon { display: none; } [data-theme="light"] .i-sun { display: none; } [data-theme="light"] .i-moon { display: block; }
.discord-mini { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transition: border-color .25s, color .25s; }
.discord-mini:hover { color: var(--red-hot); }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.burger span { position: absolute; left: 11px; width: 22px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
html.menu-open .header { background: var(--bg); color: var(--text); }
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(var(--header-h) + 32px) 20px max(32px, env(safe-area-inset-bottom)); background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; overflow-y: auto; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__nav a { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 42px/1.1 var(--serif); }
.menu__nav a:first-child { border-top: 1px solid var(--line); }
.menu__nav i { font: 500 11px var(--sans); font-style: normal; letter-spacing: .2em; color: var(--faint); }
.menu__nav a.is-active i { color: var(--red-hot); }
.menu__controls { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; background: #000; color: #f1ede5; isolation: isolate; --fx: 40%; --fy: 45%; }
.hero__art { position: absolute; inset: 0; overflow: hidden; }
.hero__img { position: absolute; inset: -3% -2% 0; background: #000 url("../assets/banner.jpg") 68% 100% / cover no-repeat; transform-origin: 70% 100%;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--py, 0) * 1px), 0); animation: kb 28s ease-in-out infinite alternate; }
@keyframes kb { from { scale: 1; } to { scale: 1.06; } }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 20%), linear-gradient(to top right, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 32%, transparent 56%); }
.hero__light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle 320px at var(--fx) var(--fy), rgba(255,255,255,.5), transparent 70%); }
.hero.is-lit .hero__light { opacity: 1; }
.ash { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: absolute; inset: 0; z-index: 3; max-width: calc(1200px + 2 * var(--g)); margin: 0 auto; padding: calc(var(--header-h) + 28px) var(--g) clamp(40px, 7vh, 80px); display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.hero__inner a { pointer-events: auto; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font: 500 11px/1.4 var(--caps); letter-spacing: .26em; text-transform: uppercase; color: rgba(241,237,229,.62); }
.hero__meta b { font-weight: 500; color: var(--red-hot); }
.dash { width: 36px; height: 1px; background: rgba(241,237,229,.3); }
.hero__bottom { max-width: 520px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.scroll { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(241,237,229,.55); }
.scroll i { position: relative; width: 1px; height: 40px; background: rgba(241,237,229,.25); overflow: hidden; }
.scroll i::after { content: ""; position: absolute; left: 0; top: -12px; width: 1px; height: 12px; background: var(--red-hot); animation: drip 2s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes drip { to { transform: translateY(52px); } }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.lead { font: 400 clamp(24px, 2.3vw, 32px)/1.42 var(--serif); color: var(--muted); }
.lead .hl { background: none; color: var(--text); font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 88px; }
.fact { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.fact:hover { border-color: var(--line-2); transform: translateY(-3px); }
.fact svg { color: var(--red-hot); margin-bottom: 14px; }
.fact__avatar { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; margin-bottom: 14px; }
.fact__k { font: 600 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.fact__v { font: 400 26px/1.2 var(--serif); }
.live { position: relative; width: 28px; height: 28px; margin-bottom: 14px; display: grid; place-items: center; }
.live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 0 rgba(224,72,58,.55); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(224,72,58,0); } 100% { box-shadow: 0 0 0 0 rgba(224,72,58,0); } }

/* ---------- Section heads ---------- */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 64px; }
.head .h2 { max-width: 760px; }
.head__note { max-width: 260px; font-size: 13px; color: var(--faint); }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head__sub { max-width: 640px; font-size: 15px; color: var(--muted); }

/* ---------- Modes ---------- */
#experiences { background: var(--bg-2); border-block: 1px solid var(--line); }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mode { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #070707; color: #f1ede5; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); isolation: isolate; transition: border-color .4s, transform .5s var(--ease); }
.mode:hover { border-color: rgba(224,72,58,.6); transform: translateY(-4px); }
.mode__art { position: absolute; inset: 0; z-index: -1; background: var(--img) center / cover no-repeat; filter: grayscale(1) contrast(1.15) brightness(.85); transition: transform 1.2s var(--ease), filter .6s; }
.mode__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.94) 85%); }
.mode:hover .mode__art { transform: scale(1.05); filter: grayscale(1) contrast(1.2) brightness(1); }
.ring { position: absolute; left: 50%; top: 38%; width: 34%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 60px 6px rgba(224,72,58,.0); transition: box-shadow .6s; }
.mode:hover .ring { box-shadow: 0 0 0 1px rgba(224,72,58,.5), 0 0 80px 10px rgba(224,72,58,.25); }
.mode__body { position: relative; padding: 40px; }
.mode__num { position: absolute; right: 36px; top: 34px; font: 400 15px/1 var(--caps); letter-spacing: .2em; color: rgba(241,237,229,.5); }
.mode .eyebrow { color: var(--red-hot); }
.mode .display { margin: 0 0 18px; transition: transform .45s var(--ease); }
.mode:hover .display { transform: translateX(6px); }
.mode__text { max-width: 440px; font-size: 16px; line-height: 1.75; color: rgba(241,237,229,.72); }

/* ---------- Platforms → Roblox ---------- */
.platforms { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platform { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 24px 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .35s, transform .4s var(--ease), background-color .35s; }
.platform:hover { border-color: var(--red); transform: translateY(-4px); background: var(--card-2); }
.platform__icon { width: 48px; height: 48px; margin-bottom: 22px; color: var(--muted); transition: color .35s; }
.platform:hover .platform__icon { color: var(--red-hot); }
.tag { margin-bottom: 10px; font: 600 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--red-hot); }
[data-theme="light"] .tag { color: var(--red); }
.platform .h3 { margin-bottom: 6px; }
.platform__sub { font-size: 13px; color: var(--muted); }
.platform__dot { position: absolute; left: 50%; bottom: -6px; width: 11px; height: 11px; border-radius: 50%; transform: translateX(-50%); background: var(--bg); border: 1.5px solid var(--red-hot); box-shadow: 0 0 12px rgba(224,72,58,.7); z-index: 2; }
.wires { position: relative; height: 160px; }
.wires svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; vector-effect: non-scaling-stroke; }
.w-base { stroke: var(--line-2); stroke-width: 1; }
.w-flow { stroke: var(--red-hot); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 16; animation: flow 1.4s linear infinite; filter: drop-shadow(0 0 4px rgba(224,72,58,.9)); }
@keyframes flow { to { stroke-dashoffset: -18; } }
.roblox { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; max-width: 980px; margin: 0 auto; border: 1px solid var(--red); border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: 0 0 0 6px var(--red-soft), var(--shadow); }
.roblox__plug { position: absolute; left: 50%; top: -1px; width: 64px; height: 3px; transform: translateX(-50%); background: var(--red-hot); box-shadow: 0 0 16px 2px rgba(224,72,58,.8); border-radius: 0 0 3px 3px; z-index: 2; }
.roblox__art { position: relative; min-height: 300px; background: url("../assets/crop-path.jpg") center / cover; filter: grayscale(1) contrast(1.15); }
.roblox__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 50%, var(--card)); }
.roblox__content { padding: 48px 48px 48px 36px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.roblox__title { margin-bottom: 14px; font: 400 clamp(32px, 3.4vw, 46px)/1.06 var(--serif); text-wrap: balance; }
.roblox__text { margin-bottom: 28px; font-size: 15px; color: var(--muted); }

/* ---------- Community ---------- */
.community { position: relative; overflow: hidden; padding: 160px 0; color: #f1ede5; background: #000; isolation: isolate; }
.community__bg { position: absolute; inset: 0; z-index: -1; background: url("../assets/crop-left.jpg") center 30% / cover; filter: grayscale(1) brightness(.45); }
.community__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 55%, rgba(0,0,0,.35), rgba(0,0,0,.92)), radial-gradient(50% 40% at 50% 100%, rgba(192,57,43,.35), transparent 70%); }
.community__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.community__avatar { width: 88px; height: 88px; border-radius: 20px; object-fit: cover; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.04); }
.community__title { max-width: 860px; margin-bottom: 18px; font: 400 clamp(44px, 6.4vw, 96px)/1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.community__text { max-width: 520px; margin-bottom: 36px; font-size: 15px; color: rgba(241,237,229,.72); }
.btn--discord { height: 62px; padding: 0 30px; background: #5865f2; color: #fff; font-size: 15px; box-shadow: 0 18px 60px rgba(88,101,242,.4); }
.btn--discord:hover { background: #6b77f5; box-shadow: 0 18px 70px rgba(88,101,242,.55); }
.community__url { margin-top: 18px; font: 500 12px/1 var(--sans); letter-spacing: .12em; color: rgba(241,237,229,.45); }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--line); }
.footer__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer .brand__img { width: 36px; height: 36px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer__nav a { padding: 8px 0; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.footer__nav a:hover { color: var(--text); }
.footer .discord-mini { justify-self: end; border-color: var(--line-2); color: var(--muted); }
.footer__copy { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .theme__label { display: none; } .theme { width: 40px; padding: 0; justify-content: center; } .menu .theme { width: auto; padding: 0 14px; } .menu .theme__label { display: inline; } }
@media (max-width: 1023px) {
  :root { --sy: 110px; --g: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .modes { grid-template-columns: 1fr; }
  .mode { min-height: 480px; }
  .roblox { grid-template-columns: 1fr; }
  .roblox__art { min-height: 200px; }
  .roblox__art::after { background: linear-gradient(to bottom, transparent 40%, var(--card)); }
  .roblox__content { padding: 8px 32px 40px; }
}
@media (max-width: 899px) {
  .nav, .header .controls > .lang, .header .controls > .theme { display: none; }
  .burger { display: block; }
  .header__inner { grid-template-columns: 1fr auto; }
  .footer__row { grid-template-columns: 1fr auto; } .footer__nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}
@media (max-aspect-ratio: 4/3) {
  .hero { height: auto; min-height: 0; max-height: none; background: var(--bg); color: var(--text); }
  .hero__art { position: relative; margin-top: var(--header-h); aspect-ratio: 1536 / 813; }
  .hero__img { inset: 0; background-position: center; animation: none; transform: none; }
  .hero__shade, .hero__light, .ash, .scroll { display: none; }
  .hero__inner { position: relative; padding-top: 28px; padding-bottom: 64px; gap: 28px; }
  .hero__meta { color: var(--muted); }
  .dash { background: var(--line-2); }
  .btn--line { color: var(--text); border-color: var(--line-2); background: transparent; }
  .header:not(.is-scrolled) { color: var(--text); background: var(--header-bg); }
}
@media (max-width: 767px) {
  :root { --sy: 84px; --g: 20px; --r: 16px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; margin-top: 48px; }
  .head { margin-bottom: 40px; }
  .mode { min-height: 440px; } .mode__body { padding: 28px 24px; }
  .platforms { grid-template-columns: 1fr; }
  .platform__dot { display: none; }
  .platforms .platform:last-child .platform__dot { display: block; }
  .wires { height: 64px; }
  .wires path:nth-child(1), .wires path:nth-child(3), .wires path:nth-child(4), .wires path:nth-child(6) { display: none; }
  .roblox__content { padding: 4px 22px 32px; }
  .roblox .btn, .btn--discord { width: 100%; }
  .community { padding: 110px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .hero__img { transform: none !important; }
  .js .reveal { transform: none; transition: opacity .2s linear; }
}
