/* ZARQEVON GAMES — dark space theme with ember-gold accents */

:root {
  --bg: #050506;
  --panel: #0c0b11;
  --panel-2: #121019;
  --ink: #ece5da;
  --ink-muted: #a69d90;
  --ink-dim: #6f675e;
  --gold: #f0bb7e;
  --gold-hi: #ffe2bb;
  --gold-deep: #c9813f;
  --ember: #ff9a4a;
  --violet: #a974ff;
  --steel-hi: #f2f1ee;
  --steel: #b9b6b0;
  --steel-lo: #6f6b66;
  --line: rgba(240, 187, 126, .22);
  --line-strong: rgba(240, 187, 126, .55);

  --f-display: "Cinzel", "Cormorant SC", "Times New Roman", serif;
  --f-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --cut: 18px;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60% 50% at 12% 18%, rgba(70, 64, 140, .28), transparent 70%),
    radial-gradient(50% 40% at 85% 8%, rgba(120, 70, 40, .22), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(150, 70, 20, .18), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 16px; height: 16px; }

/* language switching: content exists in both, the <html data-lang> picks one */
html[data-lang="en"] [data-l="ru"],
html[data-lang="ru"] [data-l="en"] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: #120c06; padding: 8px 14px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* ---------- backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.planet {
  position: absolute; top: 70px; right: -160px;
  width: 560px; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 190, 120, .16), transparent 40%),
    radial-gradient(circle at 62% 60%, rgba(0, 0, 0, .55), transparent 55%),
    radial-gradient(12% 9% at 48% 44%, rgba(0, 0, 0, .35), transparent),
    radial-gradient(8% 6% at 30% 58%, rgba(0, 0, 0, .3), transparent),
    radial-gradient(18% 10% at 60% 30%, rgba(255, 200, 150, .05), transparent),
    radial-gradient(circle at 35% 35%, #3b2a1d, #140e0a 58%, #060404 78%);
  box-shadow:
    inset 16px 10px 26px -8px rgba(255, 176, 98, .85),
    inset 40px 30px 80px -30px rgba(255, 140, 60, .35),
    -10px -6px 60px rgba(255, 140, 60, .18);
  opacity: .9;
}
.isle { position: absolute; width: 260px; height: 240px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.isle-l { left: -60px; top: 120px; transform: rotate(-4deg); animation: drift 14s ease-in-out infinite; }
.isle-r { right: -30px; top: 110px; width: 230px; transform: scaleX(-1) rotate(-6deg); animation: drift 17s ease-in-out infinite reverse; }
.isle-r2 { right: 170px; top: 240px; width: 110px; height: 100px; opacity: .85; transform: scaleX(-1); animation: drift 12s ease-in-out infinite; }
@keyframes drift { 50% { translate: 0 -12px; } }
.cliff {
  position: absolute; bottom: -20px; width: 380px; height: 300px;
  background:
    radial-gradient(60% 40% at 50% 100%, rgba(255, 120, 40, .22), transparent 70%),
    linear-gradient(170deg, #1b1612, #050404 70%);
  filter: drop-shadow(0 -4px 14px rgba(255, 130, 50, .25));
}
.cliff-l { left: -80px; clip-path: polygon(0 18%, 18% 8%, 30% 26%, 46% 30%, 60% 52%, 78% 60%, 100% 100%, 0 100%); }
.cliff-r { right: -80px; clip-path: polygon(100% 14%, 86% 22%, 70% 18%, 58% 40%, 40% 50%, 26% 70%, 0 100%, 100% 100%); }
@media (max-width: 900px) {
  .isle-l { width: 150px; height: 140px; left: -50px; top: 90px; opacity: .6; }
  .isle-r { width: 140px; height: 130px; right: -40px; top: 90px; opacity: .6; }
  .isle-r2, .cliff { display: none; }
  .planet { width: 360px; right: -180px; top: 40px; opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .isle { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(4, 4, 5, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--gold) 50%, var(--line-strong) 70%, transparent);
  opacity: .7;
}
.bar {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
/* the logo art sits on near-black; crush it to pure black so screen blending hides the box */
.brand img, .hero-logo img { mix-blend-mode: screen; filter: contrast(1.22) brightness(1.06); }
.brand-mark { width: 54px; height: 54px; }
.brand-word { width: 170px; height: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border: 1px solid transparent; border-radius: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); cursor: pointer; list-style: none; white-space: nowrap;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.nav-link::-webkit-details-marker { display: none; }
.nav-link:hover { color: var(--gold-hi); }
.dd { position: relative; }
.dd[open] .ico-sm { transform: rotate(180deg); }
.dd .ico-sm { transition: transform .2s; }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 400px;
  display: flex; flex-direction: column; gap: 4px; padding: 8px;
  background: rgba(14, 12, 19, .97); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4);
}
.dd-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.dd-item:hover { background: rgba(240, 187, 126, .1); color: var(--gold-hi); }
.dd-item img { width: 40px; height: 40px; border-radius: 10px; }
.dd-item small { display: block; font-size: 12px; color: var(--ink-muted); font-weight: 400; letter-spacing: .04em; }
.dd-docs { display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 0 10px 8px 62px; font-size: 13.5px; }
.dd-docs a { color: var(--ink-muted); }
.dd-docs a:hover { color: var(--gold-hi); }
.dd-soon { padding: 6px 10px 4px; font-size: 12.5px; color: var(--ink-dim); border-top: 1px solid rgba(255, 255, 255, .06); margin-top: 4px; }

.lang { display: flex; margin-left: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  font: 500 12px/1 var(--f-body); letter-spacing: .1em; color: var(--ink-muted);
  background: none; border: 0; padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: #1a1007; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  background: none; border: 1px solid var(--line); cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 12px; width: 20px; height: 1.6px; background: var(--gold); content: "";
  transition: transform .25s, opacity .25s;
}
.nav-toggle-bars { top: 22px; }
.nav-toggle-bars::before { left: 0; top: -6px; }
.nav-toggle-bars::after { left: 0; top: 6px; }
.site-header.open .nav-toggle-bars { background: transparent; }
.site-header.open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: rgba(9, 8, 13, .98); border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav { display: flex; }
  .nav-link { justify-content: space-between; padding: 12px 14px; }
  .dd-menu { position: static; min-width: 0; margin-top: 4px; box-shadow: none; }
  .lang { margin: 10px 0 0; align-self: flex-start; }
}
@media (max-width: 420px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand-word { width: 140px; }
}

/* ---------- layout ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 80px; }
.section { padding-top: clamp(64px, 9vw, 110px); scroll-margin-top: 80px; }

/* chamfered gold frame: outer = border gradient, inner = panel */
.frame-glow { filter: drop-shadow(0 0 18px rgba(255, 140, 60, .14)); }
.frame {
  --c: var(--cut);
  padding: 1px;
  background:
    radial-gradient(40% 6px at 50% 0, rgba(255, 220, 170, 1), transparent),
    radial-gradient(30% 4px at 50% 100%, rgba(255, 200, 140, .8), transparent),
    linear-gradient(180deg, rgba(240, 187, 126, .75), rgba(240, 187, 126, .2) 35%, rgba(240, 187, 126, .2) 65%, rgba(240, 187, 126, .6));
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  height: 100%;
}
.frame-in {
  --c: calc(var(--cut) - .5px);
  height: 100%;
  background:
    radial-gradient(80% 50% at 50% 0, rgba(255, 150, 70, .07), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel) 40%);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}

/* titles */
.display {
  font-family: var(--f-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e4e2de 40%, #a19d97 72%, #d8d3cb 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
}
.orn {
  display: flex; align-items: center; justify-content: center; gap: 0; color: var(--gold);
}
.orn::before, .orn::after { content: ""; flex: 1; max-width: 220px; height: 1px; }
.orn::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.orn i { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); margin: 0 6px; box-shadow: 0 0 8px var(--ember); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 24px; border-radius: 10px; border: 1px solid var(--gold);
  font: 500 14px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: #1a1007; background: linear-gradient(180deg, #ffd9a6, #e9a35e 60%, #c9813f);
  box-shadow: 0 0 22px rgba(255, 140, 60, .35);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { color: #1a1007; transform: translateY(-2px); box-shadow: 0 0 32px rgba(255, 140, 60, .5); }
.btn-ghost { color: var(--gold-hi); background: rgba(240, 187, 126, .06); box-shadow: none; }
.btn-ghost:hover { color: var(--gold-hi); background: rgba(240, 187, 126, .12); box-shadow: 0 0 18px rgba(255, 140, 60, .25); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 176px; height: 54px; padding: 0 18px 0 14px;
  background: #000; color: #fff; border: 1px solid #5b5348; border-radius: 12px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.store:hover { color: #fff; transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 22px rgba(0, 0, 0, .5), 0 0 16px rgba(255, 140, 60, .2); }
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 10.5px; letter-spacing: .03em; }
.store strong { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- home ---------- */
.hero {
  position: relative; isolation: isolate;
  margin-inline: calc(50% - 50vw); padding: clamp(24px, 5vw, 56px) var(--gutter) clamp(90px, 12vw, 140px);
  min-height: min(calc(100svh - 82px), 980px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px;
  background: radial-gradient(70% 60% at 50% 38%, #0b0908 0%, #030303 70%);
  overflow: hidden;
}
/* eclipse sky behind the logo: warm corona + the rim of a giant planet below */
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-sun {
  position: absolute; left: 50%; top: 34%; width: min(900px, 130vw); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 150, 60, .2) 0%, rgba(255, 120, 40, .08) 30%, transparent 62%);
  animation: corona 7s ease-in-out infinite;
}
@keyframes corona { 50% { opacity: .7; scale: .96; } }
.hero-horizon {
  position: absolute; left: 50%; bottom: calc(-1 * min(260vw, 3000px) + clamp(70px, 10vw, 120px));
  width: min(260vw, 3000px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 0, #1a120c, #060404 30%);
  box-shadow:
    0 -2px 0 rgba(255, 196, 130, .75),
    0 -8px 30px rgba(255, 140, 50, .45),
    0 -30px 120px rgba(255, 110, 30, .22);
}
.hero::after { /* fade the hero into the starfield below */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero-logo { display: flex; flex-direction: column; align-items: center; }
.hero-emblem {
  width: clamp(200px, 34vw, 400px); height: auto; aspect-ratio: 1;
  animation: emblem-in 1.4s cubic-bezier(.2, .7, .2, 1) both, float 9s ease-in-out 1.4s infinite;
}
.hero-wordmark { margin-top: clamp(-30px, -2vw, -10px); }
.hero-wordmark img { width: clamp(280px, 56vw, 680px); height: auto; animation: rise-in 1.2s .35s ease both; }
.hero-tagline {
  margin-top: clamp(14px, 2vw, 24px); padding-left: .9em;
  font-family: var(--f-body); font-weight: 400; font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: .9em; text-transform: uppercase; color: var(--steel);
  animation: tagline-in 1.6s .8s ease both;
}
@keyframes emblem-in { from { opacity: 0; scale: .86; } }
@keyframes rise-in { from { opacity: 0; translate: 0 14px; } }
@keyframes tagline-in { from { opacity: 0; letter-spacing: .3em; } }
@keyframes float { 50% { translate: 0 -8px; } }
.hero-lede { max-width: 58ch; color: var(--ink-muted); font-size: clamp(16px, 1.8vw, 19px); font-weight: 300; animation: rise-in 1s 1s ease both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; animation: rise-in 1s 1.15s ease both; }
.scroll-hint {
  position: absolute; bottom: clamp(18px, 3vw, 30px); left: 50%; translate: -50% 0;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  color: var(--steel); border: 1px solid rgba(255, 255, 255, .14);
  animation: nudge 2.4s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--gold-hi); border-color: var(--gold); }
@keyframes nudge { 50% { translate: -50% 6px; } }
.home .planet { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-sun, .hero-emblem, .hero-wordmark img, .hero-tagline, .hero-lede, .hero-cta, .scroll-hint { animation: none; }
}

.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 48px); }
.section-head p { color: var(--ink-muted); max-width: 60ch; font-weight: 300; }

.game-feature .frame-in {
  display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 48px); align-items: center;
}
.game-art { position: relative; }
.game-art img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 40px rgba(255, 140, 60, .25), 0 30px 60px rgba(0, 0, 0, .6);
}
.game-art .tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(7, 7, 12, .8); color: var(--gold-hi); border: 1px solid var(--line-strong);
  padding: 6px 10px; border-radius: 999px;
}
.game-body { display: flex; flex-direction: column; gap: 18px; }
.game-body h3 { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 40px); letter-spacing: .04em; color: var(--ink); }
.game-body > p { color: var(--ink-muted); font-weight: 300; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.chip .ico { width: 15px; height: 15px; color: var(--gold); }
.doc-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .06); }
.doc-links a { display: inline-flex; align-items: center; gap: 6px; }
.doc-links .ico { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .game-feature .frame-in { grid-template-columns: 1fr; }
  .game-art { max-width: 280px; margin: 0 auto; width: 100%; }
}

.badge {
  --c: 14px;
  width: 58px; height: 58px; flex-shrink: 0; padding: 1px; color: var(--gold);
  background: linear-gradient(180deg, var(--gold), rgba(240, 187, 126, .25));
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  filter: drop-shadow(0 0 6px rgba(255, 140, 60, .4));
}
.badge > span {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 30%, #2a1d12, #0c0a0e 70%);
  clip-path: inherit;
}
.badge .ico { width: 26px; height: 26px; }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.about-text .frame-in { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.about-text p { color: var(--ink-muted); font-weight: 300; }
.about-text p strong { color: var(--ink); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.stat { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; color: var(--gold-hi); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--ink-muted); letter-spacing: .04em; }
.values { display: flex; flex-direction: column; gap: 14px; }
.value .frame-in { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; }
.value h3 { font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 4px; }
.value p { color: var(--ink-muted); font-size: 15px; font-weight: 300; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr 1fr; } }

.contact .frame-in {
  padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
}
.contact p { color: var(--ink-muted); max-width: 52ch; font-weight: 300; }
.mail-big {
  font-family: var(--f-display); font-size: clamp(18px, 3.4vw, 30px); letter-spacing: .04em; color: var(--gold-hi);
  word-break: break-all;
}

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: 40px; padding: 48px var(--gutter) 28px; background: linear-gradient(180deg, transparent, rgba(5, 5, 8, .85) 30%); }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(900px, 90%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6;
}
.foot { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand p { color: var(--ink-muted); font-size: 14.5px; }
.brand-sm .brand-mark { width: 44px; height: 44px; }
.brand-sm .brand-word { width: 150px; }
.foot-links { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.foot-links div { display: flex; flex-direction: column; gap: 8px; }
.foot-links h2 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.foot-links a { color: var(--ink-muted); font-size: 14.5px; }
.foot-links a:hover { color: var(--gold-hi); }
.foot-copy { max-width: var(--max); margin: 36px auto 0; font-size: 13px; color: var(--ink-dim); letter-spacing: .04em; }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding-top: 60px; }
.lost .code { font-size: clamp(80px, 18vw, 180px); line-height: 1; }
.lost p { color: var(--ink-muted); max-width: 46ch; }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: none; transition: none; } }
