/* =========================================================
   TimGer Studio / Wandroute — "One evening in Batumi"
   ========================================================= */
:root {
  --ink: #120c10;
  --ink-2: #1a1218;
  --ink-3: #251a22;
  --cream: #fff6ea;
  --sand: #f3dfc4;
  --muted: rgba(255, 246, 234, 0.62);
  --faint: rgba(255, 246, 234, 0.38);
  --line: rgba(255, 246, 234, 0.12);
  --orange: #ff7a1a;
  --gold: #ffb86b;
  --peach: #f6b26b;
  --rose: #c96a6a;
  --violet: #4b3f66;

  --f-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Clash Display', 'Inter Tight', system-ui, sans-serif;
  /* golden-hour accent: cream → gold → route orange */
  --accent-grad: linear-gradient(100deg, #fff1da 0%, #ffc988 38%, #ff9a4a 72%, #ff7a1a 100%);
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
/* Accent words: same display face, lighter weight, sunset gradient. No italics. */
em { font-style: normal; font-weight: 400; }
em:not(:has(.ln)), em .ln > span {
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
b { font-weight: 600; color: var(--cream); }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--cream); color: var(--ink); border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 14vw, 200px) 0; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,26,.18); }
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -0.02em; font-weight: 600;
  margin-top: 22px; max-width: 16ch; text-wrap: balance;
}
.h2 em { font-weight: 400; }
.h2--xl { font-size: clamp(3rem, 8vw, 8rem); max-width: 12ch; }
.h3 { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.01em; font-weight: 500; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 38ch; margin-top: 28px; }
.note { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--faint); margin-top: 40px; max-width: 70ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .4s;
  will-change: transform;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary { --bg: var(--cream); --fg: var(--ink); box-shadow: 0 10px 40px -10px rgba(255,184,107,.6); }
.btn--primary:hover { --bg: #fff; box-shadow: 0 16px 60px -10px rgba(255,140,60,.75); }
.btn--ghost { border: 1px solid rgba(255,246,234,.35); backdrop-filter: blur(8px); background: rgba(18,12,16,.15); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(255,246,234,.08); }
.btn--light { --bg: rgba(255,246,234,.1); border: 1px solid var(--line); }
.btn--light:hover { --bg: var(--cream); --fg: var(--ink); }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.2s;
  clip-path: inset(0 0 0 0);
}
.intro__inner { display: grid; justify-items: center; gap: 22px; }
.intro__mark { width: 168px; opacity: 0; transform: scale(.92); filter: blur(8px); animation: badgeIn 1.1s var(--ease) .1s forwards; }
.intro__mark img { width: 100%; height: auto; }
@keyframes badgeIn { to { opacity: 1; transform: none; filter: none; } }
.intro__line { font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: fade .8s ease .6s forwards; }
.intro__line em { font-family: var(--f-display); text-transform: none; letter-spacing: .02em; font-size: 18px; font-weight: 500; }
body.is-ready .intro { clip-path: inset(0 0 100% 0); visibility: hidden; }
/* failsafe: never let the title card trap the page if scripts fail */
body.is-loading .intro { animation: introFailsafe 1s var(--ease-io) 5s forwards; }
@keyframes introFailsafe { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(18,12,16,.62); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__tg { width: 42px; }
.nav__tg img { width: 100%; height: auto; }
.nav__name { font-family: var(--f-display); font-weight: 600; letter-spacing: 0; font-size: 17px; }
.nav__name { display: inline-flex; align-items: center; gap: 9px; }
.nav__name b { font-weight: 400; color: var(--muted); }
.nav__word { height: 17px; width: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 14.5px; color: var(--muted); transition: color .3s; border-radius: 999px; }
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav__links a.is-active::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__clock {
  display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
}
.nav__clock b { color: var(--cream); font-weight: 500; font-variant-numeric: tabular-nums; }
.sundial { position: relative; width: 16px; height: 9px; overflow: hidden; border-bottom: 1px solid var(--faint); }
.sundial i { position: absolute; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); top: calc(var(--sun, 0) * 10px); box-shadow: 0 0 8px var(--orange); transition: top .2s linear; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease); }
.nav__burger i:first-child { top: 18px; } .nav__burger i:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: rgba(18,12,16,.96); backdrop-filter: blur(20px); display: grid; align-content: center; padding: var(--gutter); }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu a { font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu a small { font-family: var(--f-mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.hero__scene { position: absolute; inset: 0; overflow: hidden; background: #1a1210; transform: scale(calc(1 + var(--hp, 0) * .1)); transform-origin: 62% 65%; }
.hero__scene picture { position: absolute; inset: -10px; display: block; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%; will-change: transform; }
/* cinematic grade on top of the pre-graded screenshot: dark left for text, warm air, no hard edges */
.hero__grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(44% 50% at 22% 48%, rgba(12,8,14,.54), rgba(12,8,14,.20) 60%, transparent 82%),
    linear-gradient(90deg, rgba(12,8,14,.58) 0%, rgba(12,8,14,.34) 24%, rgba(12,8,14,.10) 44%, transparent 60%);
}
.hero__grade::after {
  content: ''; position: absolute; inset: 0; mix-blend-mode: soft-light;
  background: radial-gradient(40% 46% at 68% 38%, rgba(255,170,90,.26), transparent 74%), radial-gradient(34% 22% at 50% 44%, rgba(255,175,95,.24), transparent 72%);
}
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__route-line { fill: none; stroke: #ff8a2a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--len, 1600); stroke-dashoffset: var(--len, 1600); transition: stroke-dashoffset 3s var(--ease-io) .9s; }
.hero__route-glow { fill: none; stroke: rgba(255,122,26,.75); stroke-width: 12; stroke-linecap: round; stroke-dasharray: var(--len, 1600); stroke-dashoffset: var(--len, 1600); transition: stroke-dashoffset 3s var(--ease-io) .9s; }
.is-ready .hero__route-line, .is-ready .hero__route-glow { stroke-dashoffset: 0; }
.hero__route .route-dot { opacity: 0; }
.hero__motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 110% at 58% 44%, transparent 62%, rgba(8,6,12,.32) 100%),
    linear-gradient(180deg, rgba(10,8,16,.45) 0%, rgba(10,8,16,.10) 12%, transparent 24%, transparent 74%, rgba(12,8,12,.42) 89%, var(--ink) 100%);
}
.hero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 10px) var(--gutter) 120px; max-width: 1180px;
  transform: translateY(calc(var(--hp, 0) * -80px)); opacity: calc(1 - var(--hp, 0) * 1.3);
}
.hero__title { width: clamp(320px, 48vw, 920px); margin: 26px 0 18px -0.6%; filter: drop-shadow(0 10px 40px rgba(60,20,20,.35)); }
.hero__tag { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: -0.01em; font-weight: 600; line-height: 1.1; }
.hero__tag em { font-weight: 400; }
.hero__tag em .ln > span, .hero__tag em:not(:has(.ln)) { background-image: linear-gradient(100deg, #fff6ea 0%, #ffe0b6 55%, #ffc27e 100%); }
.hero__tag, .hero__eyebrow, .hero__sub { text-shadow: 0 1px 2px rgba(10,6,10,.55), 0 2px 24px rgba(20,10,14,.55); }
/* gradient-clipped words: a text-shadow shows through the transparent fill, so use a filter instead */
.hero__tag em, .hero__tag em .ln > span { text-shadow: none; }
.hero__tag em { filter: drop-shadow(0 2px 12px rgba(10,6,10,.5)); }
.hero__sub { margin-top: 16px; max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.5; color: rgba(255,246,234,.82); }
.hero__sub b { display: block; color: var(--cream); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

[data-hero-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); transition-delay: calc(.35s + var(--d) * .12s); }
body.is-ready [data-hero-in] { opacity: 1; transform: none; filter: none; }

/* Wandroute wordmark: the original artwork in three stacked layers */
.wordmark { position: relative; width: 100%; aspect-ratio: 1600 / 243; }
.wordmark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wordmark .wm-letters {
  -webkit-mask-image: linear-gradient(100deg, #000 40%, transparent 60%); mask-image: linear-gradient(100deg, #000 40%, transparent 60%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transform: translateX(-2%); opacity: 0;
  transition: -webkit-mask-position 1.6s var(--ease-io) .1s, mask-position 1.6s var(--ease-io) .1s, transform 1.8s var(--ease) .1s, opacity .6s ease .1s;
}
.wordmark .wm-wheel { opacity: 0; transform: scale(.55) rotate(-120deg); transition: opacity .9s var(--ease) .55s, transform 1.8s var(--ease) .55s; }
.wordmark .wm-swoosh { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease-io) 1.2s; }
.wordmark.is-in .wm-letters { -webkit-mask-position: 0 0; mask-position: 0 0; transform: none; opacity: 1; }
.wordmark.is-in .wm-wheel { opacity: 1; transform: none; }
.wordmark.is-in .wm-swoosh { clip-path: inset(0 0 0 0); }

.scene .route { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 3s var(--ease-io) .9s; }
.scene .route-glow { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 3s var(--ease-io) .9s; }
.is-ready .hero .scene .route, .is-ready .hero .scene .route-glow { stroke-dashoffset: 0; }
.scene .gl { animation: glint 4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes glint { 0%, 100% { opacity: .9; } 50% { opacity: .2; } }
.scene--golden .lamp { opacity: .5; }

.hud { position: absolute; bottom: 30px; display: grid; gap: 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,246,234,.8); }
.hud--bl { left: var(--gutter); }
.hud--br { right: var(--gutter); text-align: right; }
.hud .muted { color: var(--faint); }
.scrollcue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255,246,234,.4); border-radius: 20px; }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--cream); border-radius: 2px; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--ink); }
.marquee__track { display: flex; gap: 40px; align-items: center; width: max-content; white-space: nowrap; font-family: var(--f-display); font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: 0; text-transform: uppercase; will-change: transform; }
.marquee__track .serif { font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(255,201,136,.85); }
.marquee__track i { font-style: normal; color: var(--orange); font-size: .45em; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .ln { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--li) * .09s); }
[data-split].is-in .ln > span { transform: none; }

/* ---------- studio ---------- */
.studio { background: radial-gradient(80% 60% at 85% 10%, rgba(201,106,106,.12), transparent 60%), var(--ink); }
.studio__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.studio__side { position: sticky; top: calc(var(--nav-h) + 40px); }
.studiocard { margin-top: 32px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(160deg, rgba(255,184,107,.08), rgba(255,246,234,.02) 50%); position: relative; overflow: hidden; }
.studiocard::before { content: ''; position: absolute; inset-inline-end: -30%; top: -40%; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,122,26,.22), transparent 60%); filter: blur(10px); pointer-events: none; }
.studiocard__badge { position: relative; width: clamp(140px, 16vw, 200px); height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.studiocard__facts { position: relative; margin-top: 32px; border-top: 1px solid var(--line); }
.studiocard__facts > div { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.studiocard__facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.studiocard__facts dd { margin: 0; font-size: 15px; color: var(--sand); }
.studio__copy .lead { margin-top: 36px; }
.studio__copy > p:not(.lead) { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.principles { margin-top: 56px; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.principles .num, .pillar__n, .rgw__steps .num { font-family: var(--f-mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; padding-top: 6px; }
.principles h3 { font-family: var(--f-display); font-size: 1.4rem; letter-spacing: 0; font-weight: 500; }
.principles p { color: var(--muted); margin-top: 4px; }

/* partnerships: a calm invitation to talk, not a sales sheet */
.partners { margin-top: clamp(56px, 6vw, 80px); padding: clamp(24px, 3vw, 40px); border-radius: 26px; border: 1px solid rgba(255,184,107,.26); background: radial-gradient(110% 120% at 100% 0%, rgba(255,122,26,.12), transparent 55%), linear-gradient(160deg, rgba(255,246,234,.05), rgba(255,246,234,.01)); }
.partners__title { margin-top: 12px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.08; letter-spacing: -0.01em; }
.partners__title em { font-weight: 400; }
.partners__text { margin-top: 16px; color: var(--muted); max-width: 54ch; }
.partners__label { margin-top: 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.partners__list { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.partners__list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,246,234,.02); font-size: 15px; line-height: 1.4; color: var(--sand); }
.partners__list .num { font-family: var(--f-mono); font-size: 11px; color: var(--gold); letter-spacing: .1em; padding-top: 3px; }
.partners__cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.partners__note { font-size: 13px; color: var(--faint); max-width: 40ch; }

/* ---------- game ---------- */
.game { background: linear-gradient(180deg, var(--ink) 0%, #1a1016 40%, #1c1117 100%); padding-bottom: 80px; }
.game__head { display: grid; gap: 10px; }
.game__title { width: min(1100px, 100%); margin: 26px 0 10px; }
.game__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.game__intro .lead { max-width: 44ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--sand); background: rgba(255,246,234,.03); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a0; box-shadow: 0 0 0 0 rgba(110,231,160,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(110,231,160,0); } 100% { box-shadow: 0 0 0 0 rgba(110,231,160,0); } }

.feature { position: relative; margin-top: clamp(48px, 7vw, 96px); border-radius: clamp(16px, 2vw, 28px); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-3); transform-style: preserve-3d; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), opacity 1.1s var(--ease); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.feature.is-in { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.media { position: absolute; inset: 0; overflow: hidden; }
.media > svg, .media > img, .media > video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature:hover .media > * { transform: scale(1.04); }
.feature__sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,220,170,.18), transparent 50%); opacity: 0; transition: opacity .4s; }
.feature:hover .feature__sheen { opacity: 1; }
.feature figcaption, .shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 22px 26px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(transparent, rgba(10,6,10,.6)); }
.tag { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,246,234,.3); backdrop-filter: blur(6px); color: var(--sand); font-size: 10.5px; }

.pitch { margin: clamp(96px, 12vw, 180px) 0 clamp(56px, 7vw, 100px); }
.statement { font-family: var(--f-display); font-size: clamp(2.2rem, 5.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.015em; font-weight: 600; max-width: 18ch; text-wrap: balance; }
.pitch__lead { max-width: 52ch; }
.pitch__kicker { margin-top: 22px; font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 500; color: var(--gold); }
.statement em { font-weight: 400; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar { position: relative; padding: 28px 26px 30px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,246,234,.04), rgba(255,246,234,.01)); min-height: 300px; display: flex; flex-direction: column; transition: border-color .4s, background .4s, transform .6s var(--ease); overflow: hidden; }
.pillar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--orange), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.pillar:hover { border-color: rgba(255,184,107,.35); background: linear-gradient(180deg, rgba(255,184,107,.08), rgba(255,246,234,.01)); transform: translateY(-4px); }
.pillar:hover::after { transform: scaleX(1); }
.pillar h3 { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -0.005em; font-weight: 500; margin-top: auto; padding-top: 60px; }
.pillar p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.pillar .status { position: absolute; top: 24px; right: 22px; }
.status { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid; vertical-align: middle; font-weight: 500; }
.status--core { color: var(--gold); border-color: rgba(255,184,107,.4); }
.status--dev { color: #8ff0b6; border-color: rgba(143,240,182,.35); }
.status--plan { color: #b9b0ff; border-color: rgba(185,176,255,.35); }
.status--look { color: #ffb4a1; border-color: rgba(255,180,161,.35); }

.gallery { margin-top: clamp(100px, 12vw, 160px); }
.gallery__head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.gallery__head p { max-width: 46ch; font-size: 15px; }
.gallery__nav { display: flex; gap: 8px; }
.gallery__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, color .3s; }
.gallery__nav button:hover { background: var(--cream); color: var(--ink); }
.gallery__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 24px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery__track::after { content: ''; flex: 0 0 calc(var(--gutter) - 16px); }
.shot { position: relative; flex: 0 0 min(64vw, 820px); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--ink-3); box-shadow: 0 0 0 1px var(--line); }
.shot .media > * { transition: transform 1.4s var(--ease); }
.shot:hover .media > * { transform: scale(1.05); }
.media--empty { display: grid; place-items: center; background: radial-gradient(90% 80% at 30% 20%, rgba(255,184,107,.10), transparent 60%), linear-gradient(160deg, #241820, #140e16); }
.media--empty::before { content: ''; position: absolute; inset: 14px; border: 1px dashed rgba(255,246,234,.16); border-radius: 12px; }
.slot { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--muted); padding: 20px; }
.slot svg { width: 40px; height: 40px; color: var(--gold); opacity: .7; }
.slot b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.8rem); color: var(--cream); }
.slot span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (min-width: calc(1360px + 112px)) { .gallery__track { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }

/* ---------- routes ---------- */
.routes { background: #140d12; padding-bottom: clamp(60px, 8vw, 120px); }
.routes__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.routes__map { position: relative; aspect-ratio: 1 / 1.05; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 20% 20%, #2a1a24, #120b10 70%); box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0,0,0,.9); }
.routes__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.maphud { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.maphud > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(18,12,16,.6); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.maphud b { font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: none; font-variant-numeric: tabular-nums; }
.maphud > div:last-child { text-align: right; }
.attr { position: absolute; right: 16px; bottom: 12px; font-size: 11px; color: var(--faint); }
.attr a { text-decoration: underline; text-underline-offset: 2px; }
.routes__vision { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(185,176,255,.04); color: var(--sand); max-width: 46ch; }
.routes__vision .status { margin: 0 8px 4px 0; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.stats dd { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.01em; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stats small { display: block; color: var(--faint); font-size: 12px; }

/* ---------- rgw ---------- */
.rgw { background: radial-gradient(70% 50% at 70% 40%, rgba(75,63,102,.35), transparent 70%), #110c14; padding-bottom: 100px; }
.rgw__stage { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 4vw, 64px); max-width: 1600px; margin: 60px auto 0; padding: 0 var(--gutter); }
.rgw__sticky { position: sticky; top: calc(var(--nav-h) + 16px); height: calc(100svh - var(--nav-h) - 40px); grid-column: 2; grid-row: 1; border-radius: 28px; overflow: hidden; background: radial-gradient(90% 70% at 50% 40%, #241a2c, #0f0a12 75%); box-shadow: 0 0 0 1px var(--line); }
/* exploded world stack */
.rgw__sticky { perspective: 1800px; perspective-origin: 50% 30%; }
.rgw__sticky::before { content: ''; position: absolute; left: 50%; top: 58%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,140,60,calc(.08 + var(--step) * .05)), transparent 62%); transition: background .8s; }
.stack {
  position: absolute; left: 50%; top: 64%; width: min(56%, 56vh); aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(60deg) rotateZ(calc(-40deg + var(--spin, 0) * 24deg));
  transition: transform .2s linear;
}
.plane {
  --gap: calc(22px + var(--step) * 7px);
  position: absolute; inset: 0; border-radius: 14px;
  transform: translateZ(calc(var(--i) * var(--gap) * 1.4));
  transition: transform 1.2s var(--ease), opacity .9s var(--ease), box-shadow .9s, border-color .9s;
  border: 1px solid rgba(255,246,234,.18);
  background-color: rgba(30,20,34,.35);
  opacity: .28;
  box-shadow: 0 0 0 0 transparent;
}
.plane span {
  position: absolute; right: -8px; top: 100%; transform: rotateZ(40deg) rotateX(-60deg) translateY(10px); transform-origin: right top;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; opacity: 0; transition: opacity .6s;
}
.plane--0 { --i: 0; background-image: radial-gradient(circle, rgba(255,184,107,.75) 1.2px, transparent 1.6px), repeating-radial-gradient(circle at 30% 70%, transparent 0 18px, rgba(255,184,107,.22) 18px 19px); background-size: 16px 16px, auto; }
.plane--1 { --i: 1; background-image: linear-gradient(115deg, transparent 58%, rgba(255,122,26,.0) 58%, rgba(70,90,140,.55) 58.5%, rgba(40,50,90,.6)), repeating-linear-gradient(20deg, transparent 0 34px, rgba(255,230,200,.35) 34px 36px), repeating-linear-gradient(110deg, transparent 0 46px, rgba(255,230,200,.28) 46px 47.5px), linear-gradient(160deg, #3a2a32, #2a1e28); }
.plane--2 { --i: 2; background-color: transparent; border-style: dashed;
  background-image:
    linear-gradient(#f3c993, #f3c993), linear-gradient(#e9a974, #e9a974), linear-gradient(#f7d6a8, #f7d6a8), linear-gradient(#d98f63, #d98f63),
    linear-gradient(#f0bd86, #f0bd86), linear-gradient(#e4a26f, #e4a26f), linear-gradient(#f7d6a8, #f7d6a8), linear-gradient(#cf855c, #cf855c), linear-gradient(#efb985, #efb985);
  background-size: 18% 14%, 12% 22%, 22% 12%, 14% 16%, 10% 26%, 20% 18%, 14% 10%, 16% 14%, 24% 12%;
  background-position: 8% 10%, 34% 8%, 62% 12%, 88% 10%, 12% 46%, 40% 50%, 70% 44%, 20% 84%, 72% 82%;
  background-repeat: no-repeat; }
.plane--3 { --i: 3; background: radial-gradient(70% 70% at 25% 30%, rgba(255,214,150,.9), rgba(255,140,60,.4) 40%, rgba(201,106,106,.12) 70%, transparent 80%); border-color: rgba(255,200,140,.35); }
.plane--4 { --i: 4; background-color: transparent; border-style: dashed; border-color: rgba(185,176,255,.35);
  background-image: radial-gradient(circle, #ffd38a 2px, transparent 2.5px), radial-gradient(circle, #b9b0ff 1.6px, transparent 2px);
  background-size: 54px 54px, 38px 38px; background-position: 10px 14px, 0 0; }
/* visibility by step */
.rgw__sticky .plane { opacity: .16; }
.rgw__sticky[data-step="0"] .plane--0,
.rgw__sticky[data-step="1"] .plane:is(.plane--0, .plane--1),
.rgw__sticky[data-step="2"] .plane:is(.plane--0, .plane--1, .plane--2),
.rgw__sticky[data-step="3"] .plane:is(.plane--0, .plane--1, .plane--2, .plane--3),
.rgw__sticky[data-step="4"] .plane { opacity: .9; }
.rgw__sticky[data-step="4"] .plane--4 { opacity: .7; }
.rgw__sticky[data-step="0"] .plane--0, .rgw__sticky[data-step="1"] .plane--1, .rgw__sticky[data-step="2"] .plane--2,
.rgw__sticky[data-step="3"] .plane--3, .rgw__sticky[data-step="4"] .plane--4 {
  opacity: 1; border-color: rgba(255,184,107,.8); box-shadow: 0 0 60px rgba(255,140,60,.35), inset 0 0 40px rgba(255,184,107,.15);
}
.rgw__sticky[data-step="0"] .plane--0 span, .rgw__sticky[data-step="1"] .plane--1 span, .rgw__sticky[data-step="2"] .plane--2 span,
.rgw__sticky[data-step="3"] .plane--3 span, .rgw__sticky[data-step="4"] .plane--4 span { opacity: 1; color: var(--gold); }
.rgw__layer { position: absolute; left: 20px; bottom: 18px; display: grid; gap: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.rgw__layer b { color: var(--cream); font-weight: 500; font-size: 14px; }
.rgw__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(24px, 4vw, 64px); align-items: start; margin-top: 8px; }
.rgw__intro p:not(.lead) { color: var(--muted); margin-top: 28px; max-width: 52ch; }
.rgw__steps { grid-column: 1; grid-row: 1; padding: 6vh 0 18vh; }
.rgw__steps li { min-height: 44vh; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 28px; border-left: 1px solid var(--line); position: relative; opacity: .32; transition: opacity .6s var(--ease); }
.rgw__steps li::before { content: ''; position: absolute; left: -1px; top: 50%; height: 0; width: 2px; background: linear-gradient(var(--orange), var(--gold)); transform: translateY(-50%); transition: height .8s var(--ease); }
.rgw__steps li.is-active { opacity: 1; }
.rgw__steps li.is-active::before { height: 140px; }
.rgw__steps h3 { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3.4rem); letter-spacing: -0.015em; font-weight: 600; margin-top: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rgw__steps p { color: var(--muted); max-width: 36ch; margin-top: 12px; font-size: 1.08rem; }

/* ---------- roadmap ---------- */
.road { background: #110c14; padding-top: 40px; }
.road__list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--line); }
.road__list li { padding: 34px 28px 10px 0; position: relative; }
.road__list li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid var(--faint); }
.road__list li.is-now::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255,122,26,.2); }
.road__when { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.road__list h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.01em; font-weight: 600; margin-top: 14px; }
.road__list p { color: var(--muted); margin-top: 8px; max-width: 32ch; }

/* ---------- follow ---------- */
.follow { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 160px 0 100px; }
/* the hero's graded in-game frame, reframed tighter on the towers and pushed towards early evening */
.follow__scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #140e16; }
.follow__scene picture { position: absolute; inset: 0; display: block; }
.follow__img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 42%; transform-origin: 70% 45%; transform: scale(calc(1.22 - var(--fp, 0) * .1)); will-change: transform; }
.follow__scene::after { content: ''; position: absolute; inset: 0; mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(92,84,140,.85) 0%, rgba(140,112,150,.7) 40%, rgba(220,170,150,.75) 70%, rgba(150,120,140,.8) 100%); }
.follow__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 18% 78%, rgba(8,6,15,.62), transparent 72%),
    linear-gradient(90deg, rgba(8,6,15,.5) 0%, rgba(8,6,15,.18) 45%, transparent 70%),
    linear-gradient(180deg, #120c10 0%, rgba(18,12,16,.35) 16%, transparent 32%, transparent 48%, rgba(8,6,15,.72) 78%, #08060f 100%);
}
.follow__inner { position: relative; }
.follow .h2, .follow .eyebrow, .follow .lead { text-shadow: 0 2px 24px rgba(8,6,15,.5); }
.follow .h2 em .ln > span, .follow .h2 em:not(:has(.ln)) { text-shadow: none; }
.follow__credit { position: absolute; inset-inline-end: var(--gutter); top: 22%; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,246,234,.45); }
.follow .lead { color: rgba(255,246,234,.75); }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.link {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px;
  background: rgba(16,12,28,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,246,234,.14);
  transition: background .4s, border-color .4s, transform .6s var(--ease); overflow: hidden;
}
.link svg { width: 26px; height: 26px; flex: none; }
.link__t { display: grid; line-height: 1.25; }
.link__t b { font-size: 17px; }
.link__t span { font-size: 13px; color: var(--muted); }
.link__go { margin-left: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); transition: transform .5s var(--ease); }
a.link:hover { background: rgba(255,246,234,.94); color: var(--ink); border-color: transparent; transform: translateY(-3px); }
a.link:hover .link__t span { color: rgba(18,12,16,.6); }
a.link:hover .link__go { color: var(--orange); transform: translateX(4px); }
.links[hidden] { display: none; }
.soon { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,246,234,.14); }
.soon[hidden] { display: none; }
.soon__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.soon__list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; color: rgba(255,246,234,.6); font-size: 15px; }
.soon__list li { display: inline-flex; align-items: center; gap: 9px; }
.soon__list svg { width: 18px; height: 18px; opacity: .7; }

/* ---------- social icons (nav + menu) ---------- */
.social { display: flex; align-items: center; gap: 2px; }
.soc { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--sand); transition: color .3s, background .3s, transform .4s var(--ease); }
.soc svg { width: 17px; height: 17px; }
a.soc:hover { color: var(--ink); background: var(--cream); transform: translateY(-1px); }
.soc.is-soon { color: rgba(255,246,234,.62); cursor: default; }
.soc.is-soon:hover { color: var(--cream); background: rgba(255,246,234,.06); }
.nav__social { padding: 0 6px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.menu__social { margin-top: 28px; gap: 8px; }
.menu__social .soc { width: 44px; height: 44px; border: 1px solid var(--line); }
.menu__social .soc svg { width: 20px; height: 20px; }

/* ---------- Steam CTA ---------- */
.btn__icon { width: 20px; height: 20px; flex: none; }
.btn--steam { white-space: nowrap; }
.btn--steam.is-pending { cursor: default; gap: 10px; }
.btn--primary.is-pending { cursor: default; gap: 10px; }
.btn__soon-short { display: none; }
@media (max-width: 560px) { .btn__soon-long { display: none; } .btn__soon-short { display: inline; } }
.btn__soon { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; margin-inline-start: 4px; border-radius: 999px; background: rgba(18,12,16,.1); color: rgba(18,12,16,.62); font-weight: 500; white-space: nowrap; }
.follow__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- language switcher ---------- */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--sand); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; transition: background .3s, color .3s, border-color .3s; }
.lang__btn svg { width: 17px; height: 17px; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: rgba(255,246,234,.08); border-color: rgba(255,246,234,.3); color: var(--cream); }
.lang__list { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 200px; padding: 6px; border-radius: 16px; background: rgba(22,15,20,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,246,234,.14); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); z-index: 60; }
.lang__list[hidden] { display: none; }
.lang__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--sand); }
.lang__list a small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--faint); }
.lang__list a:hover, .lang__list a:focus-visible { background: rgba(255,246,234,.08); color: var(--cream); outline: none; }
.lang__list a[aria-current="true"] { color: var(--cream); background: rgba(255,122,26,.12); }
.lang__list a[aria-current="true"] small { color: var(--orange); }
.lang__list a[lang="ka"] { font-family: 'Noto Sans Georgian', var(--f-sans); }
.lang__list a[lang="ar-AE"] { font-family: 'Noto Sans Arabic', var(--f-sans); }
.nav__cta.is-active { --bg: var(--cream); --fg: var(--ink); }

/* ---------- in-game imagery ---------- */
.pillar--shot { padding-top: 0; min-height: 0; }
.pillar__img { display: block; width: calc(100% + 52px); max-width: none; height: auto; margin: 0 -26px 22px; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform 1.2s var(--ease); }
.pillar--shot:hover .pillar__img { transform: scale(1.04); }
.pillar--shot .pillar__n { display: block; }
.pillar--shot .status { top: 14px; right: 14px; background: rgba(18,12,16,.55); backdrop-filter: blur(6px); }
.pillar--shot h3 { margin-top: 10px; padding-top: 0; }

.routes__shot { position: relative; margin-top: 28px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.8); }
.routes__shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; }
.routes__shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(transparent, rgba(10,6,10,.7)); }

.rgw__result { margin-top: 40px; }
.rgw__result-frame { position: relative; border-radius: clamp(16px, 2vw, 28px); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0,0,0,.9); }
.rgw__result-frame img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.rgw__result-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,12,20,.25), transparent 30%, transparent 70%, rgba(17,12,20,.45)); pointer-events: none; }
.rgw__result-tag { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255,184,107,.5); color: var(--gold); background: rgba(17,12,20,.55); backdrop-filter: blur(6px); }
.rgw__result figcaption { margin-top: 16px; max-width: 80ch; font-size: 14px; color: var(--faint); }

/* ---------- early CTA band ---------- */
.ctaband { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 26px; border: 1px solid rgba(255,184,107,.28); background: radial-gradient(120% 140% at 0% 0%, rgba(255,122,26,.16), transparent 55%), linear-gradient(160deg, rgba(255,246,234,.05), rgba(255,246,234,.01)); }
.ctaband__title { margin-top: 12px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; }
.ctaband__title em { font-weight: 400; }
.ctaband__actions { display: grid; gap: 14px; justify-items: start; }
.ctaband__social { flex-wrap: wrap; gap: 6px; }
.soc--label { width: auto; height: 38px; padding: 0 14px 0 11px; gap: 8px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.soc--label svg { width: 17px; height: 17px; }
.ctaband__note { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--faint); }

/* ---------- footer ---------- */
.foot { background: #08060f; border-top: 1px solid var(--line); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); }
.foot__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot__brand img { width: 88px; height: 88px; opacity: .9; }
.foot__copy { font-size: 13px; color: var(--muted); line-height: 1.7; }
.foot__legal { color: var(--faint); font-size: 12px; }
.foot__legal a { text-decoration: underline; text-underline-offset: 2px; }
.foot__top { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot__top:hover { color: var(--gold); }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .nav__clock { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav { gap: 10px; }
  .nav__links, .nav__cta, .nav__social { display: none; }
  .ctaband { grid-template-columns: 1fr; }
  .partners__list { grid-template-columns: 1fr; }
  .follow__img { object-position: 64% 50%; }
  .follow__shade { background: linear-gradient(180deg, #120c10 0%, rgba(18,12,16,.3) 14%, transparent 28%, rgba(8,6,15,.35) 45%, rgba(8,6,15,.82) 68%, #08060f 100%); }
  .follow__credit { display: none; }
  .rgw__result-frame img { aspect-ratio: 16 / 10; }
  .nav__burger { display: block; }
  .studio__grid, .game__intro, .routes__grid { grid-template-columns: 1fr; }
  .studio__side { position: static; }
  .chips { justify-content: flex-start; }
  .hud--br { display: none; }
  .hud--bl { bottom: 84px; }
  .hero__content { padding-top: calc(var(--nav-h) + 5svh); padding-bottom: 150px; justify-content: flex-start; }
  .hero__actions { margin-top: auto; }
  .hero__shade { background: linear-gradient(180deg, rgba(14,9,12,.55) 0%, rgba(14,9,12,.1) 30%, transparent 55%, rgba(14,9,12,.6) 82%, var(--ink) 100%); }
  .hero__grade { background: linear-gradient(180deg, rgba(14,9,12,.62) 0%, rgba(14,9,12,.48) 34%, rgba(14,9,12,.12) 52%, transparent 62%, rgba(14,9,12,.35) 82%); }
  .hero__img { object-position: 50% 60%; }
  .hero__title { width: 100%; }
  .gallery__head { grid-template-columns: 1fr; }
  .gallery__nav { display: none; }
  .shot { flex-basis: 84vw; border-radius: 16px; }
  .routes__map { aspect-ratio: 1 / 1.1; border-radius: 20px; }
  .stats { grid-template-columns: repeat(2, auto); gap: 24px 32px; }
  .rgw__stage { display: block; }
  .rgw__sticky { top: calc(var(--nav-h) + 8px); height: 46svh; z-index: 2; border-radius: 20px; }
  .rgw__steps { padding: 4vh 0 10vh; }
  .rgw__steps li { min-height: 40svh; padding-left: 20px; }
  .rgw__intro { grid-template-columns: 1fr; }
  .rgw__intro p:not(.lead) { margin-top: 0; }
  .road__list { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .road__list li { padding: 0 0 36px 28px; }
  .road__list li::before { top: 6px; left: -5px; }
  .links { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .pillar h3 { padding-top: 44px; }
  .hero__actions .btn, .follow__actions .btn { flex: 1 1 100%; justify-content: center; }
  .maphud { flex-direction: column; }
  .maphud > div:last-child { text-align: left; }
  .feature figcaption { padding: 14px 16px; font-size: 10.5px; }
  .feature { aspect-ratio: 4 / 5; }
}

/* hero, portrait phones: dedicated 2:3 crop anchored to the bottom, fading up into a dusk sky */
@media (max-width: 700px) and (orientation: portrait) {
  .hero__scene { background: linear-gradient(180deg, #0f0c14 0%, #1a2032 38%, #3a3a4a 62%, #1a1210 100%); transform: scale(calc(1 + var(--hp, 0) * .08)); transform-origin: 50% 100%; }
  .hero__scene picture { inset: auto -6px -6px; height: calc((100vw + 12px) * 1.43); max-height: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
  .hero__img { object-position: 50% 100%; }
  .hero__grade { background: linear-gradient(180deg, rgba(14,9,12,.55) 0%, rgba(14,9,12,.35) 40%, transparent 58%, rgba(14,9,12,.25) 78%); }
  .hero__grade::after { background: radial-gradient(70% 30% at 60% 52%, rgba(255,165,85,.6), transparent 75%); }
  .follow__scene picture { inset: 0 -6px auto; height: calc((100vw + 12px) * 1.43); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .follow__img { object-position: 50% 100%; transform-origin: 50% 70%; }
}
@media (max-width: 380px) {
  .nav__name b { display: none; }
}

/* =========================================================
   Languages: scripts, fonts and right-to-left
   ========================================================= */
/* Clash Display is Latin only: Cyrillic falls back to Inter Tight (already in the stack).
   Georgian and Arabic get Noto faces, loaded only for those languages (see i18n.js). */
:root:lang(ka) {
  --f-sans: 'Inter Tight', 'Noto Sans Georgian', system-ui, sans-serif;
  --f-display: 'Clash Display', 'Noto Sans Georgian', 'Inter Tight', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', 'Noto Sans Georgian', ui-monospace, monospace;
}
:root:lang(ar) {
  --f-sans: 'Inter Tight', 'Noto Sans Arabic', system-ui, sans-serif;
  --f-display: 'Clash Display', 'Noto Kufi Arabic', 'Noto Sans Arabic', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', 'Noto Sans Arabic', ui-monospace, monospace;
}
/* Georgian: no all-caps (Mtavruli) in small labels; taller glyphs need more line room */
:lang(ka) :is(.eyebrow, .hud, .chips li, .status, .tag, .note, .soon__label, .partners__label, .studiocard__facts dt, .feature figcaption, .shot figcaption, .routes__shot figcaption, .rgw__result-tag, .rgw__layer, .foot__top, .maphud, .btn__soon) { text-transform: none; letter-spacing: .02em; }
:lang(ka) :is(.h2, .statement) { line-height: 1.12; letter-spacing: 0; }
:lang(ka) .h2 { font-size: clamp(2rem, 4.6vw, 4.4rem); max-width: 20ch; }
:lang(ka) .h2--xl { font-size: clamp(2.4rem, 6vw, 6rem); }
:lang(ka) .statement { font-size: clamp(1.9rem, 4.4vw, 4.2rem); }
/* Russian, Georgian, German, French, Polish run longer: give big headings a little more width */
:lang(ru) .h2, :lang(de) .h2, :lang(fr) .h2, :lang(pl) .h2, :lang(es) .h2 { max-width: 19ch; }
:lang(ru) .h2--xl, :lang(de) .h2--xl, :lang(fr) .h2--xl, :lang(pl) .h2--xl, :lang(es) .h2--xl { font-size: clamp(2.6rem, 7vw, 7rem); max-width: 15ch; }
:lang(de) :is(.h2, .statement, .pillar h3, .rgw__steps h3) { hyphens: auto; }
/* Arabic: never letter-space a joined script; looser line height for dots and marks */
:lang(ar) body, :lang(ar) body * { letter-spacing: 0 !important; }
:lang(ar) :is(.h2, .statement, .ctaband__title, .partners__title, .hero__sub, .rgw__steps h3) { line-height: 1.3; }
:lang(ar) [data-split] .ln { padding-bottom: .22em; margin-bottom: -.22em; }
:lang(ar) .eyebrow, :lang(ar) .hud { font-size: 12.5px; }
:lang(ar) .h2 { max-width: 20ch; }

/* RTL: mirror the layout, keep images, logos, the map and the brand slogan as they are */
[dir="rtl"] .hero__grade {
  background:
    radial-gradient(44% 50% at 78% 48%, rgba(12,8,14,.58), rgba(12,8,14,.22) 60%, transparent 82%),
    linear-gradient(270deg, rgba(12,8,14,.6) 0%, rgba(12,8,14,.36) 24%, rgba(12,8,14,.12) 44%, transparent 60%);
}
[dir="rtl"] .hero__tag { text-align: right; }
[dir="rtl"] .hero__title { margin: 26px -0.6% 18px 0; }
[dir="rtl"] .hud--bl { left: auto; right: var(--gutter); }
[dir="rtl"] .hud--br { right: auto; left: var(--gutter); text-align: left; }
[dir="rtl"] .nav__brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .marquee, [dir="rtl"] .gallery__nav, [dir="rtl"] .stack, [dir="rtl"] .routes__map { direction: ltr; }
[dir="rtl"] .maphud, [dir="rtl"] .routes__map .attr { direction: rtl; }
[dir="rtl"] .maphud > div:last-child { text-align: left; }
[dir="rtl"] .attr { right: auto; left: 16px; }
[dir="rtl"] .pillar .status { right: auto; left: 22px; }
[dir="rtl"] .pillar--shot .status { left: 14px; }
[dir="rtl"] .pillar::after, [dir="rtl"] .nav__links a::after { transform-origin: right; }
[dir="rtl"] .routes__vision .status { margin: 0 0 4px 8px; }
[dir="rtl"] .rgw__steps li { padding: 0 28px 0 0; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .rgw__steps li::before { left: auto; right: -1px; }
[dir="rtl"] .rgw__layer { left: auto; right: 20px; }
[dir="rtl"] .rgw__result-tag { left: auto; right: 18px; }
[dir="rtl"] .link__go { margin-left: 0; margin-right: auto; }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr, [dir="rtl"] a.link:hover .link__go { transform: none; }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .follow__shade {
  background:
    radial-gradient(70% 60% at 82% 78%, rgba(8,6,15,.62), transparent 72%),
    linear-gradient(270deg, rgba(8,6,15,.5) 0%, rgba(8,6,15,.18) 45%, transparent 70%),
    linear-gradient(180deg, #120c10 0%, rgba(18,12,16,.35) 16%, transparent 32%, transparent 48%, rgba(8,6,15,.72) 78%, #08060f 100%);
}
@media (min-width: calc(1360px + 112px)) { [dir="rtl"] .gallery__track { padding-left: var(--gutter); padding-right: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
@media (max-width: 900px) {
  [dir="rtl"] .hero__grade { background: linear-gradient(180deg, rgba(14,9,12,.62) 0%, rgba(14,9,12,.48) 34%, rgba(14,9,12,.12) 52%, transparent 62%, rgba(14,9,12,.35) 82%); }
  [dir="rtl"] .rgw__steps li { padding-left: 0; padding-right: 20px; }
  [dir="rtl"] .follow__shade { background: linear-gradient(180deg, #120c10 0%, rgba(18,12,16,.3) 14%, transparent 28%, rgba(8,6,15,.35) 45%, rgba(8,6,15,.82) 68%, #08060f 100%); }
  [dir="rtl"] .maphud > div:last-child { text-align: right; }
}
@media (max-width: 700px) and (orientation: portrait) {
  [dir="rtl"] .hero__grade { background: linear-gradient(180deg, rgba(14,9,12,.55) 0%, rgba(14,9,12,.35) 40%, transparent 58%, rgba(14,9,12,.25) 78%); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .intro { display: none; }
  .grain { display: none; }
  [data-reveal], [data-hero-in] { opacity: 1; transform: none; filter: none; }
  [data-split] .ln > span { transform: none; }
}
