/* Amaete 3D Worlds · marketing homepage */
:root {
  --bg: #060a16;
  --bg-2: #0a1022;
  --card: #0d1428;
  --card-2: #111a33;
  --line: rgba(140, 160, 255, 0.13);
  --line-2: rgba(120, 150, 255, 0.38);
  --text: #ffffff;
  --muted: #b3bdd3;
  --dim: #8792ab;
  --lav: #a7b5ff;
  --blue: #3d5bff;
  --violet: #6a3dff;
  --grad: linear-gradient(100deg, #3a63ff 0%, #5a4bff 55%, #7340ff 100%);
  --wrap: 1440px;
  --gut: clamp(16px, 3.9vw, 56px);
  --r: 14px;
  --head-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(1100px 600px at 12% -5%, rgba(60, 80, 220, 0.16), transparent 60%),
    radial-gradient(900px 700px at 90% 45%, rgba(80, 60, 220, 0.10), transparent 60%),
    radial-gradient(900px 600px at 10% 80%, rgba(30, 120, 220, 0.08), transparent 60%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
[hidden] { display: none !important; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid #8ea2ff; outline-offset: 3px; border-radius: 10px; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
svg { flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap;
  height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 16px; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(80, 90, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(90, 100, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: rgba(10, 16, 34, .72); border: 1.5px solid rgba(160, 175, 230, .35); color: #fff; }
.btn-ghost:hover { border-color: rgba(170, 185, 255, .7); background: rgba(20, 28, 58, .8); transform: translateY(-2px); }
.btn-outline { background: rgba(10, 16, 40, .5); border: 1.5px solid var(--line-2); color: #c3cdff; height: 50px; padding: 0 22px 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.btn-outline:hover { border-color: #7f92ff; color: #fff; background: rgba(40, 55, 140, .35); }
.btn-lg { height: 64px; padding: 0 32px; border-radius: 999px; font-size: 18px; }
.btn-sm { height: 46px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
.icon-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(14, 20, 42, .7); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(6, 10, 22, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(120, 140, 255, .07); }
.head-row { height: var(--head-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { width: 46px; height: 46px; filter: drop-shadow(0 0 10px rgba(56, 189, 248, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.brand-text b em { font-style: normal; background: linear-gradient(90deg, #4f8bff, #6a7dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: 12.5px; color: #d6dcf0; font-weight: 500; margin-top: 3px; letter-spacing: .01em; }
.main-nav { display: flex; gap: 6px; margin-left: auto; margin-right: auto; padding-left: 40px; }
.main-nav a { position: relative; padding: 10px 18px; font-size: 16px; font-weight: 500; color: #d4daea; border-radius: 10px; transition: color .2s, background-color .2s; }
.main-nav a:hover { color: #fff; background: rgba(100, 120, 255, .08); }
.main-nav a[aria-current="page"] { color: #7f97ff; }
.main-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 70px; height: 26px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(90, 110, 255, .45), transparent); pointer-events: none; }
.head-tools { display: flex; align-items: center; gap: 22px; flex: none; }

/* search */
.search { position: relative; display: flex; align-items: center; width: 300px; height: 48px; border-radius: 999px; border: 1px solid rgba(170, 185, 230, .28); background: rgba(8, 12, 28, .7); padding: 0 6px 0 16px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: #7f92ff; box-shadow: 0 0 0 4px rgba(90, 110, 255, .18); }
.search .ico { width: 20px; height: 20px; color: #e2e7f5; }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font: 500 15px var(--font); padding: 0 10px; }
.search input::placeholder { color: #aab3c9; }
.search input::-webkit-search-cancel-button { display: none; }
.search-go { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: #d6dcf0; display: grid; place-items: center; cursor: pointer; }
.search-go:hover { background: rgba(120, 140, 255, .15); color: #fff; }
.search-go svg { width: 19px; height: 19px; }
.search-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 340px; margin: 0; padding: 6px; list-style: none; background: rgba(12, 18, 38, .98); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7); max-height: min(70vh, 460px); overflow-y: auto; z-index: 60; }
.search-list li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.search-list li[aria-selected="true"], .search-list li:hover { background: rgba(90, 110, 255, .18); }
.search-list li.off { cursor: default; opacity: .62; }
.search-list li.off:hover { background: none; }
.search-list .sw { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--cc) 20%, transparent); color: var(--cc); }
.search-list .sw svg { width: 20px; height: 20px; }
.search-list .st { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.search-list .st b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-list .st small { font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-list .sx { font-size: 11px; font-weight: 700; color: #f5c56b; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.search-list .empty { cursor: default; color: var(--muted); font-size: 14px; }
.search-list li > svg { width: 18px; height: 18px; }
.search-list .all span { flex: 1; }
.search-list .all { color: #aebaff; font-weight: 600; font-size: 14px; justify-content: space-between; }

.mobile-menu { border-top: 1px solid var(--line); background: rgba(6, 10, 22, .97); }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 18px; }
.mobile-menu a { padding: 14px 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid rgba(120, 140, 255, .08); }
.mobile-menu .btn { margin-top: 16px; border-bottom: 0; height: 56px; }

/* ---------- image slots + fallbacks ---------- */
.slot { position: relative; margin: 0; overflow: hidden; background: var(--fb-bg, linear-gradient(135deg, #142049, #0b1022)); }
.slot > img { width: 100%; height: 100%; object-fit: cover; }
.js .slot > img { opacity: 0; transition: opacity .6s ease; }
.js .slot.loaded > img { opacity: 1; }
.slot.missing > img { display: none; }
.slot.missing::before { /* designed fallback: accent glow, blueprint grid, horizon line */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(80% 70% at 70% 30%, color-mix(in srgb, var(--fb, #5b6cff) 38%, transparent), transparent 70%),
    linear-gradient(transparent 62%, color-mix(in srgb, var(--fb, #5b6cff) 22%, transparent) 62.4%, transparent 63%),
    repeating-linear-gradient(0deg, rgba(150, 170, 255, .07) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(150, 170, 255, .07) 0 1px, transparent 1px 32px),
    linear-gradient(160deg, #121c40, #080d1d);
}
.slot.missing::after { content: attr(data-caption); position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(220, 228, 255, .75); background: rgba(10, 16, 36, .55); border: 1px solid rgba(160, 175, 255, .2); white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 600px; padding-top: 34px; padding-bottom: 34px; isolation: isolate; }
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; width: 61%; z-index: -1; border-radius: 0 0 0 0; }
.hero-media > img { object-position: var(--focus, 62% 50%); }
.hero-media::after { /* fade from the dark left into the scene, plus a soft base shadow */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6, 10, 22, .8) 10%, rgba(6, 10, 22, .3) 26%, rgba(6, 10, 22, 0) 42%),
    linear-gradient(0deg, rgba(6, 10, 22, .85) 0%, rgba(6, 10, 22, 0) 22%),
    linear-gradient(180deg, rgba(6, 10, 22, .35) 0%, rgba(6, 10, 22, 0) 12%);
}
.hero-copy { position: relative; width: 50%; max-width: 640px; }
.pill { display: inline-flex; align-items: center; gap: .4em; height: 38px; padding: 0 18px; border-radius: 999px; background: rgba(40, 52, 120, .55); border: 1px solid rgba(120, 140, 255, .18); color: #8fa3ff; font-size: 14.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 4.95vw, 71px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.0; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.glow { background: linear-gradient(90deg, #c9d4ff 0%, #9fb2ff 45%, #8b99ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 18px rgba(130, 150, 255, .35)); }
.lede { margin-top: 22px; font-size: clamp(16px, 1.48vw, 21.5px); line-height: 1.5; color: #c9d1e3; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.btn .play { width: 26px; height: 26px; color: #fff; }
.markers { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 18px 30px; justify-content: start; width: max-content; }
.markers li { white-space: nowrap; display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; color: #b9c2d6; }
.markers b { display: block; color: #fff; font-weight: 700; }
.mk { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--mk); background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--mk) 42%, #0b1020), color-mix(in srgb, var(--mk) 20%, #0b1020)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mk) 30%, transparent), 0 6px 18px -6px var(--mk); }
.mk svg { width: 24px; height: 24px; }

.loc-card { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 22px; padding: 16px 16px 16px 20px; border-radius: 14px; background: rgba(10, 14, 28, .82); border: 1px solid rgba(160, 175, 230, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .8); transition: transform .25s var(--ease), border-color .25s; }
.loc-card:hover { transform: translateY(-2px); border-color: rgba(160, 175, 255, .45); }
.loc-card span { display: flex; flex-direction: column; line-height: 1.3; }
.loc-card b { font-size: 16px; font-weight: 700; }
.loc-card small { font-size: 13.5px; color: #b6bfd3; margin-top: 4px; }
.loc-card svg { width: 24px; height: 24px; }

/* ---------- section heads ---------- */
.block { padding-top: 44px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.block-head h2 { font-size: clamp(30px, 2.8vw, 40px); font-weight: 800; }
.block-head p { margin-top: 12px; color: #c4cbdc; font-size: clamp(15px, 1.25vw, 18px); max-width: 800px; line-height: 1.5; }
.block-head .btn { margin-bottom: 6px; }

/* ---------- featured worlds ---------- */
#featured { padding-top: 22px; }
.featured-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-left: calc(var(--gut) * -0.5); margin-right: calc(var(--gut) * -0.5); }
.f-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.f-card:hover { transform: translateY(-4px); border-color: rgba(150, 165, 255, .35); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(120, 140, 255, .12); }
.f-card .slot { aspect-ratio: 16 / 9.4; }
.f-card .slot > img { transition: opacity .6s ease, transform .6s var(--ease); }
.f-card:hover .slot > img { transform: scale(1.04); }
.f-body { position: relative; padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.f-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.f-title h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.f-title svg { width: 22px; height: 22px; color: #e9edf8; margin-top: 4px; }
.f-num { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14.5px; color: #aab4ca; }
.f-num svg { width: 12px; height: 12px; }
.f-desc { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: #b9c2d6; }

/* ---------- categories ---------- */
#categories { padding-top: 30px; }
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; }
.c-card { position: relative; display: flex; flex-direction: column; aspect-ratio: 0.8; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #121a33 0%, #0c1328 100%); border: 1px solid var(--line); isolation: isolate; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.c-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--cc) 55%, transparent); box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--cc) 50%, #000); }
.c-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 50% at 20% 0%, color-mix(in srgb, var(--cc) 14%, transparent), transparent 70%); }
.c-top { padding: 16px 16px 0; text-shadow: 0 1px 8px rgba(6, 10, 22, .9); }
.c-icon { width: 38px; height: 38px; color: var(--cc); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--cc) 55%, transparent)); }
.c-card h3 { margin-top: 12px; font-size: 17px; font-weight: 700; line-height: 1.22; letter-spacing: -0.01em; }
.c-count { margin-top: 3px; font-size: 14px; color: #c0c8da; }
.c-count i { font-style: normal; color: var(--dim); }
.c-card .slot { position: absolute; left: 0; right: 0; bottom: 0; height: 39%; z-index: -1; background: transparent; }
.c-card .slot > img { object-position: var(--focus, 50% 50%); }
.c-card .slot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0c1328 0%, rgba(12, 19, 40, .5) 22%, rgba(12, 19, 40, 0) 50%); pointer-events: none; }
.c-card .slot.missing::after { content: ''; } /* compact strip: no caption chip */

/* ---------- watch / explore / interact ---------- */
.showcase { position: relative; display: flex; align-items: center; min-height: 360px; margin-top: 28px; padding-top: 0; padding-bottom: 0; isolation: isolate; }
.show-media { position: absolute; top: 0; bottom: 0; right: 0; width: 59%; z-index: -1; }
.show-media > img { object-position: var(--focus, 45% 50%); }
.show-media::before { display: none; }
.show-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(6, 10, 22, .55) 12%, rgba(6, 10, 22, 0) 32%), linear-gradient(0deg, rgba(6, 10, 22, .5), transparent 25%), linear-gradient(180deg, rgba(6, 10, 22, .55), transparent 18%); }
.show-media.missing::before { display: block; }
.show-copy { width: 46%; padding: 28px 0 30px; }
.show-copy h2 { font-size: clamp(30px, 2.8vw, 40px); font-weight: 800; }
.show-lede { margin-top: 10px; max-width: 520px; font-size: 15.5px; color: #c0c8da; }
.show-play { position: absolute; z-index: 2; left: 30%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border: 1px solid rgba(160, 175, 230, .22); border-radius: 999px; background: rgba(10, 14, 28, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .85); transition: transform .2s, background .2s; }
.show-play[hidden] { display: none; }
.show-play:hover { background: rgba(18, 24, 46, .85); transform: translate(-50%, -50%) scale(1.04); }
.show-play:focus-visible { outline: 2px solid #8fa3ff; outline-offset: 3px; }
.sp-ring { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); animation: spPulse 2.4s infinite; }
.sp-ring svg { width: 52px; height: 52px; }
@keyframes spPulse { 50% { box-shadow: 0 0 0 11px rgba(255, 255, 255, .04); } }
.sp-text { display: flex; flex-direction: column; }
.sp-text b { font-size: 16px; font-weight: 700; }
.sp-text small { font-size: 13px; color: #c0c8da; }
@media (prefers-reduced-motion: reduce) { .sp-ring { animation: none; } }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: grid; grid-template-columns: 52px 128px 1fr; align-items: center; gap: 20px; min-height: 70px; }
.num { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; font-weight: 700; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--n) 75%, #fff), var(--n) 60%); box-shadow: 0 0 0 4px color-mix(in srgb, var(--n) 22%, transparent), 0 8px 22px -6px var(--n); }
.veh { width: 128px; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
.step-copy { display: flex; flex-direction: column; }
.step-copy b { font-size: 18px; font-weight: 700; }
.step-copy span { margin-top: 3px; font-size: 14.5px; color: #c0c8da; }

.glass { background: rgba(10, 14, 28, .8); border: 1px solid rgba(160, 175, 230, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .85); }
.ops { position: absolute; z-index: 2; top: 14px; right: 18px; width: 240px; border-radius: 12px; padding: 12px 14px 10px; font-size: 13px; }
.ops-head { display: flex; align-items: center; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid rgba(160, 175, 230, .15); }
.ops-head b { font-weight: 700; font-size: 13.5px; flex: 1; }
.ops-head a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #49e3c1; }
.ops-head a:hover { background: rgba(73, 227, 193, .12); }
.ops-head svg { width: 16px; height: 16px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2), 0 0 10px #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .08), 0 0 14px #22c55e; } }
.ops-list { list-style: none; margin: 4px 0 0; padding: 0; }
.ops-list li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 6px; padding: 6px 0; color: #dbe1ef; }
.ops-list li + li::before { content: ''; position: absolute; left: 0; width: 84px; top: 0; height: 2px; background: rgba(160, 175, 230, .12); }
.ops-list li.done::before { background: linear-gradient(90deg, #22c55e, #10b981); }
.ops-list time { font-variant-numeric: tabular-nums; color: #c7cfdf; }
.ops-list li.now time, .ops-list li.now span { color: #4ade80; font-weight: 600; }
.ops-note { margin-top: 4px; font-size: 10.5px; color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- connected universe ---------- */
.universe { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 380px; margin-top: 18px; isolation: isolate; border-top: 1px solid rgba(120, 140, 255, .07); }
.uni-media { position: absolute; top: 0; bottom: 0; left: 0; width: 62%; z-index: -1; }
.uni-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, var(--bg) 0%, rgba(6, 10, 22, .6) 14%, rgba(6, 10, 22, 0) 36%), linear-gradient(0deg, rgba(6, 10, 22, .6), transparent 22%), radial-gradient(120% 90% at 40% 50%, transparent 55%, rgba(6, 10, 22, .55)); }
.uni-media.missing::before { background: radial-gradient(60% 80% at 45% 60%, rgba(56, 120, 255, .45), transparent 70%), radial-gradient(closest-side at 45% 110%, #1b3c8a 0 70%, transparent 71%), linear-gradient(160deg, #0e1736, #060a16); }
.uni-copy { width: 37%; padding: 34px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fa3ff; }
.uni-copy h2 { margin-top: 10px; font-size: clamp(30px, 2.8vw, 40px); font-weight: 800; }
.uni-copy p:not(.eyebrow) { margin-top: 16px; font-size: clamp(15px, 1.3vw, 18.5px); color: #c4cbdc; line-height: 1.55; }
.uni-copy .btn { margin-top: 26px; height: 58px; }

/* ---------- all worlds gallery ---------- */
#worlds { padding-top: 72px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(14, 20, 42, .7); color: #cfd6e8; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--cc, #8fa3ff); }
.chip small { color: var(--dim); font-weight: 600; font-size: 13px; }
.chip:hover { border-color: rgba(150, 165, 255, .4); color: #fff; }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--cc, #5b6cff) 22%, #0d1428); border-color: color-mix(in srgb, var(--cc, #5b6cff) 70%, transparent); color: #fff; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.g-card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 150px; padding: 16px 18px 18px; border-radius: 12px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-top: 3px solid var(--cc); transition: transform .25s var(--ease), border-color .25s; }
a.g-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cc) 55%, transparent); border-top-color: var(--cc); }
.g-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; font-size: 12.5px; color: var(--dim); font-weight: 600; }
.g-top .cat { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--cc) 75%, #fff); }
.g-top .cat svg { width: 16px; height: 16px; color: var(--cc); }
.g-card h3 { margin-top: 10px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.g-card .g-title { font-size: 13.5px; color: #aeb7cc; margin-top: 2px; }
.g-card p { margin-top: 10px; font-size: 13.5px; color: #bcc4d7; line-height: 1.45; flex: 1; }
.g-go { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #aebaff; }
.g-go svg { width: 16px; height: 16px; }
.g-card.dev { border-top-color: color-mix(in srgb, var(--cc) 35%, #2a3350); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 10px, transparent 10px 20px), #0b1124; }
.g-card.dev h3, .g-card.dev p, .g-card.dev .g-title { opacity: .62; }
.badge-dev { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #f5c56b; background: rgba(245, 197, 107, .1); border: 1px solid rgba(245, 197, 107, .28); }
.badge-dev svg { width: 13px; height: 13px; }
.gallery-empty { color: var(--muted); padding: 20px 0; }

/* ---------- about + news ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 64px; }
.panel { padding: 30px 32px; border-radius: 16px; background: linear-gradient(180deg, rgba(17, 26, 51, .8), rgba(11, 17, 36, .8)); border: 1px solid var(--line); }
.panel h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.panel > p { color: #c4cbdc; font-size: 16px; line-height: 1.6; }
.panel > p + p { margin-top: 12px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { padding: 14px 16px; border-radius: 12px; background: rgba(90, 110, 255, .08); border: 1px solid var(--line); }
.facts b { display: block; font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: 13.5px; color: var(--muted); }
.news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.news li { display: grid; grid-template-columns: 96px 1fr; gap: 2px 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(120, 140, 255, .08); }
.news li:last-child { border-bottom: 0; padding-bottom: 0; }
.news .tag { grid-row: span 2; align-self: start; justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: color-mix(in srgb, var(--tc) 70%, #fff); background: color-mix(in srgb, var(--tc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 35%, transparent); }
.news b { font-size: 16.5px; }
.news li > span:last-child { color: #bcc4d7; font-size: 14.5px; line-height: 1.55; }
.news a { color: #aebaff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-foot { margin-top: 72px; border-top: 1px solid rgba(120, 140, 255, .1); background: linear-gradient(180deg, rgba(10, 16, 34, .4), rgba(4, 7, 16, .9)); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 34px; padding-bottom: 26px; }
.foot-brand p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.foot-brand .brand-logo { width: 38px; height: 38px; }
.foot-brand .brand-text b { font-size: 21px; }
.foot-brand .brand-text small { font-size: 11.5px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot-nav a { padding: 8px 12px; border-radius: 8px; color: #c9d0e2; font-size: 15px; font-weight: 500; }
.foot-nav a:hover { color: #fff; background: rgba(100, 120, 255, .08); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 26px; border-top: 1px solid rgba(120, 140, 255, .07); font-size: 13px; color: var(--dim); }

/* ---------- lightbox ---------- */
.lightbox { width: min(1100px, 94vw); padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: #000; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(2, 4, 10, .82); backdrop-filter: blur(4px); }
.lightbox video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; }
.lb-close { display: flex; position: absolute; top: -56px; right: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .main-nav { padding-left: 10px; }
  .main-nav a { padding: 10px 12px; }
  .search { width: 240px; }
  .head-tools { gap: 14px; }
  .markers { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 1180px) {
  .search { width: 200px; }
  .brand-text b { font-size: 23px; }
  .f-title h3 { font-size: 16.5px; }
  .c-card h3 { font-size: 16px; }
  .cat-grid { gap: 14px; }
  .steps li { grid-template-columns: 46px 104px 1fr; gap: 14px; }
  .veh { width: 104px; }
  .num { width: 44px; height: 44px; font-size: 19px; }
}
/* tablet: compact header, scrolling rails */
@media (max-width: 1024px) {
  :root { --head-h: 70px; }
  .main-nav, .head-cta { display: none; }
  .icon-btn { display: inline-flex; }
  .head-tools { margin-left: auto; gap: 10px; }
  .search { display: none; position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--head-h) - 4px); width: auto; height: 52px; background: #0b1124; }
  .search.open { display: flex; }
  .search-list { min-width: 0; }
  .brand-logo { width: 40px; height: 40px; }
  .hero { min-height: 560px; }
  .hero-copy { width: 58%; }
  .hero-media { width: 66%; }
  .rail { display: grid; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 8px; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scroll-padding-left: var(--gut); }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .featured-grid { grid-auto-columns: minmax(280px, 34%); }
  .cat-grid { grid-auto-columns: minmax(170px, 21%); }
  .showcase { flex-direction: column; align-items: stretch; }
  .show-media { position: relative; width: auto; aspect-ratio: 16 / 9; order: 2; margin: 0 calc(var(--gut) * -1); }
  .show-media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 10, 22, 0) 18%), linear-gradient(0deg, rgba(6, 10, 22, .5), transparent 25%); }
  .show-copy { width: auto; }
  .universe { flex-direction: column; align-items: stretch; }
  .uni-media { position: relative; width: auto; aspect-ratio: 16 / 9; margin: 0 calc(var(--gut) * -1); }
  .uni-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(6, 10, 22, 0) 30%), linear-gradient(180deg, rgba(6, 10, 22, .5), transparent 20%); }
  .uni-copy { width: auto; padding-top: 0; margin-top: -30px; }
  .duo { grid-template-columns: 1fr; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
/* stacked hero below 900px: image first, copy underneath */
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; padding-bottom: 8px; }
  .hero-media { position: relative; width: auto; aspect-ratio: 16 / 9; margin: 0 calc(var(--gut) * -1); z-index: 0; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(6, 10, 22, .55) 20%, rgba(6, 10, 22, 0) 45%), linear-gradient(180deg, rgba(6, 10, 22, .45) 0%, transparent 18%); }
  .hero-media .loc-card { top: 12px; bottom: auto; right: 12px; left: auto; }
  .hero-copy { width: auto; max-width: 680px; margin-top: -54px; z-index: 1; }
}
/* phone */
@media (max-width: 640px) {
  :root { --head-h: 62px; }
  body { font-size: 15px; }
  .brand { gap: 9px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-text b { font-size: 19px; }
  .brand-text small { font-size: 10.5px; }
  .icon-btn { width: 44px; height: 44px; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; padding-bottom: 8px; }
  .hero-media { position: relative; width: auto; aspect-ratio: 4 / 3.1; margin: 0 calc(var(--gut) * -1); z-index: 0; }
  .hero-media > img { object-position: var(--focus-m, 66% 50%); }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(6, 10, 22, .55) 20%, rgba(6, 10, 22, 0) 45%), linear-gradient(180deg, rgba(6, 10, 22, .45) 0%, transparent 18%); }
  .hero-media .loc-card { top: 12px; bottom: auto; right: 12px; left: auto; padding: 10px 10px 10px 14px; gap: 12px; }
  .loc-card b { font-size: 14px; }
  .loc-card small { font-size: 12px; }
  .hero-copy { width: auto; margin-top: -54px; z-index: 1; }
  .pill { height: 32px; font-size: 12.5px; padding: 0 14px; }
  .hero h1 { margin-top: 14px; font-size: clamp(36px, 10.6vw, 46px); }
  .lede { margin-top: 14px; font-size: 16px; }
  .cta-row { margin-top: 22px; gap: 12px; }
  .cta-row .btn { flex: 1 1 100%; height: 58px; }
  .markers { margin-top: 26px; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .markers li { font-size: 13px; gap: 10px; }
  .mk { width: 40px; height: 40px; }
  .block { padding-top: 44px; }
  .block-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .block-head .btn { height: 46px; margin: 0; }
  .featured-grid { grid-auto-columns: 78%; gap: 12px; }
  .cat-grid { grid-auto-columns: 44%; gap: 12px; }
  .c-card { aspect-ratio: 0.7; }
  .c-card h3 { font-size: 15.5px; }
  .c-count { font-size: 13px; }
  .steps li { grid-template-columns: 44px 1fr; grid-template-areas: 'n v' 'n c'; gap: 8px 14px; align-items: start; padding: 14px; border-radius: 14px; background: rgba(14, 20, 42, .55); border: 1px solid var(--line); }
  .steps .num { grid-area: n; }
  .steps .veh { grid-area: v; width: 150px; }
  .steps .step-copy { grid-area: c; }
  .ops { top: 10px; right: 10px; width: 176px; padding: 8px 10px 6px; font-size: 11px; }
  .ops-note { display: none; }
  .ops-list li { grid-template-columns: 78px 1fr; padding: 4px 0; }
  .ops-list li + li::before { width: 70px; }
  .show-media { aspect-ratio: 4 / 3.4; }
  .show-media .loc-card { right: 10px; bottom: 10px; padding: 10px 10px 10px 14px; gap: 10px; }
  .show-play, .show-play:hover { left: 12px; top: 50%; transform: translateY(-50%); gap: 10px; padding: 6px 14px 6px 6px; }
  .sp-ring, .sp-ring svg { width: 38px; height: 38px; }
  .sp-text b { display: none; }
  .sp-text small { font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap; }
  .uni-media { aspect-ratio: 4 / 3; }
  .uni-copy .btn { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 0 var(--gut) 4px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; height: 44px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g-card { min-height: 0; padding: 12px 12px 14px; }
  .g-card p, .g-card .g-title, .g-top .cat span, .g-top .cat { font-size: 0; }
  .g-top .cat svg { width: 18px; height: 18px; }
  .g-card h3 { margin-top: 6px; font-size: 15.5px; }
  .g-card p { display: none; }
  .g-card .g-title { display: block; font-size: 12.5px; margin-top: 2px; }
  .g-go { margin-top: 8px; font-size: 13px; }
  .badge-dev { margin-top: 8px; font-size: 11px; padding: 3px 8px; }
  .panel { padding: 22px 18px; }
  .facts b { font-size: 23px; }
  .news li { grid-template-columns: 1fr; }
  .news .tag { grid-row: auto; margin-bottom: 6px; }
  .foot-base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .f-card:hover .slot > img { transform: none; }
}
