/* ============================================================
   Stellacore: Mining Odyssey — landing page
   Gonga Games · 2026
   ============================================================ */

@font-face {
  font-family: "Russo One";
  src: url("../fonts/RussoOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #07040f;
  --bg-2: #0a0616;
  --surface: #100a20;
  --surface-2: rgba(24, 15, 46, .72);
  --line: rgba(150, 128, 255, .16);
  --line-strong: rgba(150, 128, 255, .34);
  --text: #ece8ff;
  --muted: #9c93bd;
  --gold: #ffc21e;
  --gold-light: #ffd75e;
  --amber: #ff8a3d;
  --cyan: #3ae0d2;
  --violet: #6b46d9;
  --pink: #ff3e8f;

  --font-display: "Russo One", "Archivo Black", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Consolas, monospace;

  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; }

h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

::selection { background: rgba(255, 194, 30, .3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--gold);
  color: #180d00;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

.skip-link:focus-visible { transform: none; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(255, 194, 30, .6);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-top: 18px;
  background: linear-gradient(180deg, #fff 12%, #cfc4f5 70%, #9f92cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: .01em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  margin-top: 20px;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: #bdb4d8;
  max-width: 62ch;
}

.muted { color: var(--muted); font-size: .94rem; }

.lead + .muted { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: rgba(255, 255, 255, .04);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--btn-bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 46%, var(--amber) 100%);
  color: #1a0f00;
  box-shadow: 0 10px 34px -12px rgba(255, 178, 32, .65);
}

.btn--primary:hover { box-shadow: 0 16px 42px -12px rgba(255, 178, 32, .82); }

.btn--ghost {
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, .16);
  color: #e7e1ff;
}

.btn--ghost:hover {
  border-color: rgba(58, 224, 210, .55);
  background: rgba(58, 224, 210, .08);
}

.btn--outline {
  border-color: rgba(255, 194, 30, .45);
  color: var(--gold);
  background: rgba(255, 194, 30, .05);
}

.btn--outline:hover {
  background: rgba(255, 194, 30, .12);
  box-shadow: 0 12px 34px -18px rgba(255, 194, 30, .8);
}

.btn--sm { padding: 11px 18px; font-size: 11px; }

.btn__icon svg { width: 18px; height: 18px; }

.btn__arrow {
  font-size: 14px;
  transition: transform .25s var(--ease);
}

.btn:hover .btn__arrow { transform: translate(2px, -2px); }

/* ============================================================
   header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 20px 0;
  transition: padding .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(7, 4, 15, .74);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  transition: transform .5s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .16em;
}

.brand__sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b6acd4;
  padding: 4px 0;
  transition: color .2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav a:hover { color: #fff; }

.nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

.lang-switch__btn {
  padding: 4px 9px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.lang-switch__btn:hover { color: #fff; }

.lang-switch__btn.is-active {
  background: rgba(255, 194, 30, .16);
  color: var(--gold);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 10px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: #d8d0f0;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}

.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================================================
   hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 112px 0 64px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__art,
.hero__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__art img {
  object-fit: cover;
  object-position: 62% 48%;
  transform: scale(1.06);
  animation: heroDrift 26s ease-in-out infinite alternate;
  opacity: .92;
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.6%, -1.2%, 0); }
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, #07040f 2%, rgba(7, 4, 15, .96) 26%, rgba(7, 4, 15, .74) 44%, rgba(7, 4, 15, .3) 66%, rgba(7, 4, 15, .55) 100%),
    linear-gradient(180deg, rgba(7, 4, 15, .85) 0%, rgba(7, 4, 15, .12) 34%, rgba(7, 4, 15, .6) 76%, var(--bg) 100%);
}

.hero__glow {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  mix-blend-mode: screen;
}

.hero__glow--gold {
  left: -12vw;
  top: 22vh;
  background: radial-gradient(circle, rgba(255, 168, 40, .5), transparent 66%);
}

.hero__glow--violet {
  right: -14vw;
  top: -8vh;
  background: radial-gradient(circle, rgba(110, 70, 220, .55), transparent 66%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 128, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 128, 255, .12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 78% 62% at 30% 52%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 30% 52%, #000 20%, transparent 78%);
  opacity: .55;
}

.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner { position: relative; }

.hero__eyebrow {
  animation: rise .9s var(--ease) both;
}

.hero__title {
  margin: 22px 0 0;
  max-width: 620px;
  animation: rise 1s .08s var(--ease) both;
}

.hero__logo {
  width: clamp(240px, 30vw, 420px);
  height: auto;
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, .62));
}

.hero__tagline {
  margin-top: 24px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: #c6bee0;
  animation: rise 1s .16s var(--ease) both;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  animation: rise 1s .24s var(--ease) both;
}

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 7, 24, .55);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--gold);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: rise 1s .32s var(--ease) both;
}

.hero__note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6f6790;
  animation: rise 1s .4s var(--ease) both;
}

.hero__scroll {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #6f6790;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255, 194, 30, .7));
  animation: drop 2.4s ease-in-out infinite;
}

@keyframes drop {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   ticker
   ============================================================ */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 194, 30, .05), rgba(107, 70, 217, .1) 50%, rgba(58, 224, 210, .05));
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.ticker__track span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 15px 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #b9b0d6;
  white-space: nowrap;
}

.ticker__track em {
  font-style: normal;
  color: var(--gold);
}

.ticker__track i {
  font-style: normal;
  font-size: 7px;
  color: rgba(150, 128, 255, .55);
}

/* ============================================================
   sections
   ============================================================ */
.section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
}

.section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 82% 0%, rgba(107, 70, 217, .16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 8% 100%, rgba(255, 194, 30, .07), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 760px; }

/* ---------- core loop steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 34px 26px 8px 0;
  border-right: 1px solid var(--line);
}

.step:last-child { border-right: 0; padding-right: 0; }

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .8s var(--ease) .1s;
}

.step.in::before { width: 76%; }

.step__no {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 194, 30, .5);
  margin-bottom: 18px;
}

.step p { margin-top: 10px; color: #a89fc6; font-size: .95rem; }

/* ---------- bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
}

.card {
  position: relative;
  grid-column: span 3;
  padding: 30px 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(158deg, rgba(30, 19, 56, .92), rgba(12, 7, 24, .94));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.bento > .card:nth-child(1) { grid-column: span 4; }
.bento > .card:nth-child(2) { grid-column: span 2; }
.bento > .card:nth-child(3) { grid-column: span 2; }
.bento > .card:nth-child(4) { grid-column: span 4; }
.bento > .card:nth-child(5) { grid-column: span 3; }
.bento > .card:nth-child(6) { grid-column: span 3; }

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 194, 30, .11), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 194, 30, .3);
  box-shadow: var(--shadow);
}

.card:hover::before { opacity: 1; }

.card__index {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(150, 128, 255, .45);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid rgba(58, 224, 210, .28);
  border-radius: 10px;
  background: rgba(58, 224, 210, .07);
  color: var(--cyan);
}

.card__icon svg { width: 24px; height: 24px; }

.card p { margin-top: 12px; color: #a89fc6; font-size: .95rem; }

/* ============================================================
   gallery
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(44px, 5vw, 64px);
}

.shot {
  position: relative;
  display: block;
  padding: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0b0616;
  cursor: zoom-in;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.shot picture { display: block; height: 100%; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), opacity .4s;
  opacity: .92;
}

.shot:hover {
  border-color: rgba(255, 194, 30, .38);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.shot:hover img { transform: scale(1.05); opacity: 1; }

.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(5, 3, 12, .94), rgba(5, 3, 12, .55) 55%, transparent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ded7f4;
  text-align: left;
}

.shot__cap::after {
  content: "⤢";
  font-size: 13px;
  color: var(--gold);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
}

.shot:hover .shot__cap::after { opacity: 1; transform: none; }

/* ============================================================
   platforms
   ============================================================ */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(44px, 5vw, 64px);
}

.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(28, 18, 52, .9), rgba(10, 6, 20, .95));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.platform::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(58, 224, 210, .1), transparent 65%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.platform::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 194, 30, .7), transparent);
  opacity: .5;
}

.platform:hover {
  transform: translateY(-5px);
  border-color: rgba(58, 224, 210, .34);
  box-shadow: var(--shadow);
}

.platform:hover::before { opacity: 1; }

.platform__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform__glyph { width: 30px; height: 30px; color: var(--gold); }

.platform__glyph svg { width: 100%; height: 100%; }

.platform__status {
  padding: 5px 10px;
  border: 1px solid rgba(58, 224, 210, .28);
  border-radius: 999px;
  background: rgba(58, 224, 210, .07);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

.platform__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: .01em;
  line-height: 1;
}

.platform p { color: #a89fc6; font-size: .94rem; flex: 1; }

.platform__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.platform__arrow { transition: transform .3s var(--ease); }

.platform:hover .platform__arrow { transform: translateX(5px); }

/* ============================================================
   studio
   ============================================================ */
.studio { overflow: hidden; }

.studio::before {
  content: "";
  position: absolute;
  left: -10vw;
  bottom: -30vh;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 70, 217, .22), transparent 66%);
  filter: blur(40px);
  pointer-events: none;
}

.studio__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  position: relative;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  margin: 34px 0 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.specs dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6f6790;
}

.specs dd {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: .96rem;
  letter-spacing: .04em;
  color: #ded7f4;
}

.studio__art { position: relative; }

.studio__frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.studio__frame img {
  width: 100%;
  height: auto;
}

.studio__frame-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(7, 4, 15, .55));
  pointer-events: none;
}

.studio__badge {
  position: absolute;
  left: -26px;
  bottom: -26px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 6, 20, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
}

/* ============================================================
   footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 6, 20, .6), var(--bg));
  padding: clamp(56px, 7vw, 80px) 0 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .2em;
}

.footer-brand__tag {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6f6790;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 88px);
}

.footer-nav__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #6f6790;
}

.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: .92rem;
  color: #b6acd4;
  transition: color .2s, transform .2s var(--ease);
}

.footer-nav a:hover { color: var(--gold); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: #7d759c;
}

.footer-bottom .muted { color: #6f6790; font-size: .82rem; max-width: 60ch; }

/* ============================================================
   lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 10, .9);
  backdrop-filter: blur(10px);
  animation: fade .25s var(--ease);
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  position: relative;
  width: min(100%, 1320px);
  animation: zoomIn .3s var(--ease);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: none; }
}

.lightbox__figure {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #05030c;
}

.lightbox__img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #05030c;
}

.lightbox__cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b6acd4;
}

.lightbox__count { color: #6f6790; }

.lightbox__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #ded7f4;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.lightbox__close:hover { background: rgba(255, 194, 30, .16); border-color: rgba(255, 194, 30, .5); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 6, 20, .82);
  color: #ded7f4;
  font-size: 17px;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}

.lightbox__nav:hover {
  background: rgba(255, 194, 30, .18);
  border-color: rgba(255, 194, 30, .55);
}

.lightbox__nav--prev { left: -64px; }
.lightbox__nav--next { right: -64px; }

/* ============================================================
   reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .header-cta { display: none; }
  .bento > .card:nth-child(n) { grid-column: span 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }

  .menu-btn { display: block; }

  .nav {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10, 6, 20, .96);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }

  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .nav a:last-child { border-bottom: 0; }

  .nav a::after { display: none; }

  .hero {
    padding: 116px 0 76px;
    min-height: auto;
  }

  .hero__art img { object-position: 68% 40%; }

  .hero__wash {
    background:
      linear-gradient(180deg, rgba(7, 4, 15, .9) 0%, rgba(7, 4, 15, .62) 40%, rgba(7, 4, 15, .9) 78%, var(--bg) 100%);
  }

  .hero__grid { mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, #000 20%, transparent 80%); }

  .hero__scroll { display: none; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .platforms { grid-template-columns: repeat(2, 1fr); }

  .step { padding: 28px 22px 22px 0; }
  .step:nth-child(2) { border-right: 0; padding-right: 0; }
  .step:nth-child(3),
  .step:nth-child(4) { border-top: 1px solid var(--line); }

  .studio__grid { grid-template-columns: 1fr; }
  .studio__art { order: -1; max-width: 420px; }

  .footer-top { flex-direction: column; gap: 38px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }

  .brand__sub { display: none; }

  .hero__logo { width: min(72vw, 330px); }

  .chip { font-size: 9.5px; padding: 7px 11px; }

  .btn { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-right: 0; }
  .step + .step { border-top: 1px solid var(--line); }

  .bento > .card:nth-child(n) { grid-column: span 6; }
  .gallery, .platforms { grid-template-columns: 1fr; }

  .specs { grid-template-columns: 1fr; }

  .studio__badge { left: auto; right: 12px; bottom: -20px; width: 72px; height: 72px; }

  .lightbox { padding: 14px; }
  .lightbox__close { top: -42px; }
  .lightbox__nav { width: 38px; height: 38px; font-size: 14px; }
}

/* ============================================================
   CJK typography — the display face has no Han glyphs
   ============================================================ */
html[lang^="zh"] .h2,
html[lang^="zh"] .h3,
html[lang^="zh"] .platform__name,
html[lang^="zh"] .specs dd {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
}

html[lang^="zh"] .h2 { line-height: 1.18; }
html[lang^="zh"] .h3 { font-size: 1.06rem; line-height: 1.35; }
html[lang^="zh"] .eyebrow { letter-spacing: .14em; }
html[lang^="zh"] .nav a { letter-spacing: .08em; }
html[lang^="zh"] .chip { letter-spacing: .05em; }
html[lang^="zh"] .ticker__track span { letter-spacing: .1em; }
html[lang^="zh"] .footer-nav__title,
html[lang^="zh"] .specs dt { letter-spacing: .12em; }

/* ============================================================
   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;
  }

  .reveal { opacity: 1; transform: none; }
  .hero__art img { transform: scale(1.06); }
  .ticker__track { animation: none; }
}
