:root {
  --bg: #070a12;
  --surface: #0d1220;
  --surface-2: #131a2b;
  --text: #f5f7ff;
  --muted: #9ba7bd;
  --line: rgba(255, 255, 255, .14);
  --accent: #7c5cff;
  --accent-2: #35d9ff;
  --accent-ink: #fff;
  --success: #72f5af;
  --warning: #ffbf5b;
  --danger: #ff5b76;
  --max: 1240px;
  --radius: 22px;
  --radius-small: 12px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --heading: "Arial Black", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  --header-height: 82px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); scrollbar-gutter: stable; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.65; overflow-x: hidden; max-width: 100vw; }
body::before { content: ""; position: fixed; inset: 0; z-index: -5; pointer-events: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, min(4.2vw, 6.5vh), 4.4rem); margin-bottom: 1.3rem; }
h3 { font-size: clamp(1.5rem, min(2.8vw, 5vh), 2.6rem); }
h4 { font-size: 1.15rem; letter-spacing: -.01em; }
::selection { color: var(--accent-ink); background: var(--accent); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { margin-bottom: .75rem; color: var(--accent-2); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.site-header {
  position: sticky; z-index: 100; top: 0; min-height: var(--header-height); padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 26%, transparent); border-bottom-color: transparent; }
.site-header.is-scrolled:hover { background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; }
.brand img { width: 54px; height: 40px; object-fit: contain; }
.brand span { display: grid; font-family: var(--heading); font-size: 1.05rem; line-height: 1; }
.brand b { color: var(--accent-2); }
.brand small { margin-top: 7px; color: var(--muted); font-family: var(--body); font-size: .52rem; font-weight: 700; letter-spacing: .16em; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.main-nav a { position: relative; text-decoration: none; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a:not(.nav-discord)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--accent-2); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-discord { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: var(--surface); }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: max(680px, calc(100vh - var(--header-height))); min-height: max(680px, calc(100svh - var(--header-height))); display: grid; align-items: start; isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; z-index: -3; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: 66%; object-fit: cover; object-position: center top; }
.hero-overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 86%, transparent) 36%, color-mix(in srgb, var(--bg) 34%, transparent) 72%, color-mix(in srgb, var(--bg) 55%, transparent) 100%), linear-gradient(0deg, var(--bg), transparent 45%); }
.hero-orbit { position: absolute; z-index: -1; width: min(62vw, 830px); aspect-ratio: 1; right: -16vw; top: -14vw; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.018), 0 0 0 180px rgba(255,255,255,.012); }
.hero-planet { position: absolute; z-index: -4; width: min(30vw, 360px); aspect-ratio: 1; left: 10vw; top: 24%; object-fit: contain; opacity: .85; filter: blur(.5px); pointer-events: none; }
.hero-content { position: relative; width: min(790px, calc(100% - 44px)); margin: 0 max(22px, calc((100vw - var(--max)) / 2)); padding: clamp(40px, 7vh, 90px) 0 40px; }
.hero-logo-mark { position: absolute; z-index: -1; left: 50%; top: clamp(-10px, 2vh, 30px); transform: translate(-46%, -14%); width: min(120%, 1040px); max-width: none; opacity: .22; pointer-events: none; }
.hero h1 { margin: 0 0 10px; font-size: clamp(3rem, min(11vw, 13vh), 8.5rem); letter-spacing: -.07em; text-transform: uppercase; }
.hero h1 span { color: var(--accent-2); }
.hero h2 { max-width: 14ch; margin: 0 0 18px; font-size: clamp(1.5rem, min(3.6vw, 6vh), 3.4rem); }
.hero-lead { max-width: 66ch; color: color-mix(in srgb, var(--text) 78%, transparent); font-size: clamp(.95rem, 1.4vw, 1.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-small); text-decoration: none; font-size: .77rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 38px color-mix(in srgb, var(--accent) 30%, transparent); }
.button-secondary { background: color-mix(in srgb, var(--surface) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-stats { position: absolute; right: max(22px, calc((100vw - var(--max)) / 2)); bottom: 28px; display: flex; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 74%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero-stats div { min-width: 132px; padding: 18px 20px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { display: block; color: var(--accent-2); font-family: var(--heading); font-size: 1.7rem; }
.hero-stats span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--accent); color: var(--accent-ink); }
.ticker div { width: max-content; display: flex; gap: 50px; padding: 12px 0; animation: ticker 25s linear infinite; }
.ticker span { position: relative; font-family: var(--heading); font-size: .74rem; letter-spacing: .11em; text-transform: uppercase; }
.ticker span::after { content: "◆"; position: absolute; right: -30px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-shell { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; padding-block: clamp(92px, 12vw, 170px); }
.section-index { margin-bottom: 46px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.section-heading { max-width: 860px; margin-bottom: clamp(50px, 8vw, 100px); }
.section-heading > p:last-child { max-width: 66ch; color: var(--muted); font-size: 1.05rem; }

.intro { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.intro .section-index { grid-column: 1 / -1; width: 100%; }
.intro h2 { font-size: clamp(2.5rem, 5vw, 5.3rem); }
.intro > p { color: var(--muted); }
.intro-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border-top: 1px solid var(--line); }
.intro-links a { display: flex; gap: 22px; padding: 28px 20px; border-right: 1px solid var(--line); text-decoration: none; transition: background .2s ease; }
.intro-links a:last-child { border-right: 0; }
.intro-links a:hover { background: var(--surface); }
.intro-links b { color: var(--accent-2); font-family: ui-monospace, Consolas, monospace; }
.intro-links span { font-family: var(--heading); }
.intro-links small { display: block; margin-top: 8px; color: var(--muted); font-family: var(--body); font-weight: 400; line-height: 1.5; }

.released-feature { width: min(1200px, calc(100% - 28px)); min-height: 460px; margin: 0 auto; position: relative; display: flex; align-items: end; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.released-feature > picture { position: absolute; z-index: -2; inset: 0; display: block; }
.released-feature > picture img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.released-feature::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(3,5,9,.96) 0%, rgba(3,5,9,.12) 80%); }
.released-feature > div { max-width: 760px; padding: clamp(28px, 7vw, 92px); }
.released-feature h2 { margin-bottom: 12px; }

.project-list { display: grid; gap: clamp(50px, 8vw, 120px); }
.project-card { display: grid; grid-auto-flow: dense; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; box-shadow: var(--shadow); }
.project-card:nth-child(even) .project-visual { order: 2; }
.project-visual { position: relative; min-height: 610px; overflow: hidden; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-visual img { transform: scale(1.035); }
.project-visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.58)); }
.status { position: absolute; top: 22px; left: 22px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(7,10,18,.75); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.status-released { background: color-mix(in srgb, var(--success) 78%, #06140d); color: #04140b; }
.status-in-planning { background: color-mix(in srgb, var(--warning) 82%, #281805); color: #1c1000; }
.project-number { position: absolute; right: 22px; bottom: 12px; color: rgba(255,255,255,.8); font-family: var(--heading); font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.06em; }
.concept-note { position: absolute; left: 22px; bottom: 22px; max-width: calc(100% - 44px); padding: 7px 13px; border: 1px solid rgba(255,255,255,.22); background: rgba(7,10,18,.68); color: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .64rem; font-weight: 700; font-style: italic; letter-spacing: .05em; text-transform: uppercase; }
.project-copy { min-width: 0; padding: clamp(30px, 5vw, 68px); align-self: center; }
.project-copy > h3 { margin: 0 0 10px; font-size: clamp(1.8rem, min(3.4vw, 5.5vh), 3.6rem); }
.project-tagline { color: var(--accent-2); font-family: var(--heading); font-size: 1.15rem; }
.project-copy > p:not(.eyebrow):not(.project-tagline) { color: var(--muted); }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-meta div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-meta dt { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-meta dd { margin: 5px 0 0; font-size: .88rem; }
.project-details { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.project-details > summary, .team-faq > summary { padding-block: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; color: var(--text); font-family: var(--heading); font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; }
.project-details > summary { padding-inline: clamp(30px, 5vw, 68px); }
.project-details > summary::-webkit-details-marker, .team-faq > summary::-webkit-details-marker { display: none; }
.project-details[open] > summary span, .team-faq[open] > summary span { transform: rotate(180deg); }
.project-details-body { padding: clamp(32px, 5vw, 64px); background: var(--surface-2); border-top: 1px solid var(--line); }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.detail-columns ul, .team-copy ul { margin: 0; padding: 0; list-style: none; }
.detail-columns li, .team-copy li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); color: var(--muted); }
.detail-columns li::before, .team-copy li::before { content: "◆"; position: absolute; left: 0; color: var(--accent-2); font-size: .55rem; }
.gallery-heading { margin: 30px 0 16px; }
.gallery-heading h4 { margin-bottom: 6px; }
.gallery-heading > p { color: var(--muted); }
.project-gallery { position: relative; min-width: 0; max-width: 100%; overflow: hidden; padding-bottom: 15px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.project-gallery-track { display: flex; width: max-content; gap: 10px; will-change: transform; }
.gallery-nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(7,10,18,.7); color: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.gallery-nav:hover { background: rgba(7,10,18,.92); }
.gallery-nav:active { transform: translateY(-50%) scale(.92); }
.gallery-nav-prev { left: 6px; }
.gallery-nav-next { right: 6px; }
.gallery-image { flex: 0 0 auto; width: clamp(150px, 24vw, 260px); padding: 0; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--bg); overflow: hidden; cursor: zoom-in; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-image:hover img { transform: scale(1.035); }
.project-details-body > .button { margin-top: 28px; }

.preamverse { width: min(1450px, calc(100% - 28px)); min-height: 680px; margin: clamp(100px, 15vw, 190px) auto 0; position: relative; display: grid; place-items: end start; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, #060815), var(--bg)); box-shadow: var(--shadow); }
.preamverse::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); }
.preamverse-art { position: absolute; inset: 0; background: url("assets/bg-wide.webp") center / cover; opacity: .38; mix-blend-mode: screen; }
.preamverse > div:last-child { position: relative; z-index: 1; max-width: 850px; padding: clamp(30px, 8vw, 100px); }

.team-list { display: grid; gap: 34px; }
.team-card { display: grid; grid-template-columns: minmax(280px, .7fr) 1.3fr; align-items: start; border-top: 1px solid var(--line); padding-top: 34px; }
.team-image { position: relative; min-height: 680px; height: 680px; background: var(--surface); overflow: hidden; border-radius: var(--radius); }
.team-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease, transform .55s ease; }
.team-image-hover { opacity: 0; }
.team-card:hover .team-image-hover { opacity: 1; transform: scale(1.02); }
.team-card:hover .team-image-base { opacity: 0; }
.team-image > span { position: absolute; z-index: 2; top: 18px; left: 18px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-family: ui-monospace, Consolas, monospace; font-weight: 800; }
.team-copy { padding: clamp(10px, 4vw, 54px); }
.team-copy h3 { margin-bottom: 10px; font-size: clamp(1.8rem, min(3.8vw, 6vh), 3.8rem); }
.team-copy h3 small { display: block; margin-top: 10px; color: var(--accent-2); font-family: var(--body); font-size: .28em; letter-spacing: .06em; text-transform: uppercase; }
.team-copy blockquote { margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 1.05rem; font-style: italic; }
.team-faq { margin-top: 30px; border-block: 1px solid var(--line); }
.team-faq-body { padding-bottom: 20px; }
.team-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-block: 1px solid var(--line); }
.team-principles article { padding: 30px; border-right: 1px solid var(--line); }
.team-principles article:last-child { border: 0; }
.team-principles span { color: var(--accent-2); font-family: ui-monospace, Consolas, monospace; }
.team-principles h3 { margin: 24px 0 10px; font-size: 1.5rem; }
.team-principles p { color: var(--muted); }

.studio-faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.accordion-item { border-top: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: 1px solid var(--line); }
.accordion-item summary { min-height: 74px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-family: var(--heading); font-size: 1.02rem; line-height: 1.25; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary span { flex: 0 0 auto; color: var(--accent-2); font-family: var(--body); font-size: 1.5rem; font-weight: 300; transition: transform .2s ease; }
.accordion-item[open] summary span { transform: rotate(45deg); }
.accordion-answer { padding: 0 0 22px; color: var(--muted); }

label { display: grid; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-small); outline: none; background: var(--bg); color: var(--text); text-transform: none; letter-spacing: normal; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 18%, transparent); }
textarea { resize: vertical; }

.profile { border-top: 1px solid var(--line); }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.profile-panel { min-width: 0; padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.profile-panel h3 { margin-bottom: 26px; font-size: 1.8rem; }
.profile-panel > p { color: var(--muted); }
.profile-status { min-height: 1.4em; margin: 14px 0 0; color: var(--accent-2); font-size: .85rem; }
.game-connect.is-locked { position: relative; }
.game-connect.is-locked::after { content: "Login required for Game Connect"; position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); color: var(--accent-2); font-family: var(--heading); text-align: center; text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.connect-code { margin: 24px 0; padding: 18px; display: block; border: 1px dashed var(--accent-2); color: var(--accent-2); font-family: ui-monospace, Consolas, monospace; font-size: clamp(1rem, 2.1vw, 1.5rem); text-align: center; letter-spacing: .08em; }
.connect-mail { display: inline-block; margin-bottom: 24px; }
.connected-games { padding-left: 18px; color: var(--muted); }
.connected-games small { color: var(--accent-2); }

.legal { border-top: 1px solid var(--line); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.legal-grid article { padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-grid h3 { font-size: 2rem; }
.legal-grid dl { display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; }
.legal-grid dt, .legal-grid dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.legal-grid dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.privacy { margin-top: clamp(90px, 11vw, 150px); padding-top: 70px; border-top: 1px solid var(--line); }
.privacy-heading { max-width: 850px; }
.privacy-heading > p:last-child { color: var(--muted); }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.privacy-grid article { min-height: 260px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-grid span { color: var(--accent-2); font-family: ui-monospace, Consolas, monospace; }
.privacy-grid h3 { margin-top: 35px; font-size: 1.25rem; }
.privacy-grid p { color: var(--muted); font-size: .9rem; }

.site-footer { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; padding: 70px 0 30px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 75px; height: 58px; object-fit: contain; }
.footer-brand h2 { margin: 0; font-size: 2rem; }
.footer-brand p { margin: 4px 0 0; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 30px; margin: 44px 0; }
.site-footer nav a { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-footer > p { color: var(--muted); font-size: .75rem; }

.lightbox { width: min(1400px, calc(100% - 30px)); padding: 0; border: 1px solid var(--line); background: #030408; box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-height) 0 auto; padding: 24px; display: grid; gap: 0; background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s ease; }
  .main-nav.is-open { transform: none; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-discord { border-radius: 0; }
  .hero-stats { left: 22px; right: 22px; bottom: 25px; }
  .hero-stats div { flex: 1; min-width: 0; }
  .hero-planet { width: min(46vw, 260px); left: -4vw; top: 20%; opacity: .55; }
  .hero-logo-mark { width: min(150%, 620px); opacity: .18; }
  .intro { grid-template-columns: 1fr; }
  .intro-links { grid-template-columns: 1fr; }
  .intro-links a { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-card { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-visual { order: 0; }
  .project-visual { min-height: 0; aspect-ratio: 1049 / 1499; max-height: 78vh; }
  .team-card { grid-template-columns: 1fr; }
  .team-image { min-height: min(820px, 125vw); height: auto; }
  .team-principles { grid-template-columns: 1fr; }
  .team-principles article { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  :root { --header-height: 70px; --radius: 14px; }
  .site-header { padding-inline: 15px; }
  .brand small { display: none; }
  .brand img { width: 44px; height: 34px; }
  .hero-content { width: calc(100% - 30px); margin-inline: 15px; padding-top: 80px; }
  .hero h1 { font-size: clamp(2.6rem, min(16vw, 9vh), 5.5rem); }
  .hero-stats { left: 15px; right: 15px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stats div { min-width: 0; padding: 13px 10px; }
  .hero-stats strong { font-size: 1.25rem; }
  .hero-stats span { font-size: .56rem; }
  .section-shell { width: calc(100% - 30px); }
  .released-feature, .preamverse { width: calc(100% - 16px); }
  .released-feature { min-height: 590px; }
  .project-copy { padding: 24px; }
  .project-copy > h3 { font-size: 2.6rem; }
  .project-meta { grid-template-columns: 1fr; }
  .project-details > summary { padding-inline: 24px; }
  .project-details-body { padding: 26px 24px; }
  .detail-columns { grid-template-columns: 1fr; }
  .gallery-image { width: 74vw; }
  .team-copy { padding: 30px 4px; }
  .team-copy h3 { font-size: 2.8rem; }
  .team-image { min-height: 128vw; }
  .profile-panel, .legal-grid article { padding: 22px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-grid dl { grid-template-columns: 1fr; }
  .legal-grid dt { padding-bottom: 4px; }
  .legal-grid dd { padding-top: 4px; border-top: 0; }
  .privacy-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
