/* ==========================================================================
   IBELF Studios - site styles
   The palette comes from the studio mark (teal + violet), with the candle-lit
   gold of Adventurer's Guild Manager as a third accent for game sections.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #08090e;
  --bg-soft: #0d0f17;
  --surface: #12141d;
  --surface-2: #181b26;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  /* ink */
  --text: #edeff6;
  --muted: #9aa1b8;
  --muted-dim: #6f768c;

  /* brand */
  --teal: #22d3be;
  --violet: #8b5cf6;
  --gold: #e9b949;

  --brand-grad: linear-gradient(100deg, var(--teal) 0%, var(--violet) 100%);
  --gold-grad: linear-gradient(100deg, #f5cf6b 0%, #d29327 100%);

  /* type */
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-fantasy: "Cinzel", Georgia, serif;

  /* metrics */
  --wrap: 1180px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .85);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--teal);
  color: #04120f;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------- layout -- */

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(52px, 7vw, 84px) 0; }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-grad);
}
.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(100deg, var(--violet), var(--teal));
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before, .eyebrow--gold::after { background: var(--gold-grad); }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 62ch;
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .97rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-grad);
  color: #05100e;
  font-weight: 700;
  box-shadow: 0 12px 34px -12px rgba(34, 211, 190, .6);
}
.btn--primary:hover { box-shadow: 0 18px 42px -12px rgba(139, 92, 246, .65); }

.btn--gold {
  background: var(--gold-grad);
  color: #1d1305;
  font-weight: 700;
  box-shadow: 0 12px 34px -12px rgba(233, 185, 73, .55);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--teal); background: rgba(34, 211, 190, .08); }

.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 17px 32px; font-size: 1.04rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ------------------------------------------------------------- header -- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(8, 9, 14, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header .wrap { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 128px; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-grad);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}
.lang button {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted-dim);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: #05100e; background: var(--teal); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}
.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: background-color .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .28s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(90% 70% at 70% 15%, rgba(139, 92, 246, .22), transparent 60%),
              radial-gradient(70% 60% at 10% 80%, rgba(34, 211, 190, .16), transparent 62%),
              var(--bg);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(100% 70% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(100% 70% at 50% 30%, #000 20%, transparent 80%);
}
.hero__glow {
  position: absolute;
  z-index: 0;
  width: 46vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__glow--a { top: -12%; right: -6%; background: rgba(139, 92, 246, .5); }
.hero__glow--b { bottom: -18%; left: -10%; background: rgba(34, 211, 190, .35); animation-delay: -9s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 6%, 0) scale(1.14); }
}

.hero .wrap { position: relative; z-index: 1; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.hero__title { margin-bottom: 22px; }
.hero__title span { display: block; }

.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(34, 211, 190, .34);
  border-radius: 999px;
  background: rgba(34, 211, 190, .09);
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--teal);
}
.badge--gold {
  border-color: rgba(233, 185, 73, .36);
  background: rgba(233, 185, 73, .1);
  color: var(--gold);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 190, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 211, 190, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 190, 0); }
}

/* logo animation card in the studio hero */
.hero__media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), #0a0c12);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 14, .55));
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__stats div { min-width: 96px; }
.hero__stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stats dd {
  margin: 4px 0 0;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 1;
  translate: -50% 0;
  display: grid;
  place-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.scroll-cue i {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--teal), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: .25; transform: scaleY(.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ------------------------------------------------------- game hero -- */

.ghero {
  position: relative;
  min-height: min(96svh, 900px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 80px) 0 clamp(50px, 7vw, 86px);
  overflow: hidden;
}
.ghero__bg {
  position: absolute;
  inset: -8% 0 0;
  z-index: 0;
  background: url("../assets/game/hero-wide.jpg") center 35% / cover no-repeat;
  transform: scale(1.06);
  will-change: transform;
}
.ghero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 9, 14, .86) 0%, rgba(8, 9, 14, .45) 35%,
              rgba(8, 9, 14, .8) 72%, var(--bg) 100%);
}
.ghero .wrap { position: relative; z-index: 2; }

.ghero__logo {
  width: min(560px, 82%);
  margin-bottom: 8px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .8));
}
.ghero__lede {
  max-width: 56ch;
  margin-bottom: 30px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: #d6d9e6;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}

.ghero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  color: var(--muted);
}
.ghero__meta b {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* -------------------------------------------------------------- video -- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #000 center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  display: block;
}
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.video-frame:hover img { opacity: .85; transform: scale(1.03); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-frame__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  pointer-events: none;
}
.video-frame__play i {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 16px 44px -10px rgba(233, 185, 73, .6);
  transition: transform .3s var(--ease);
}
.video-frame__play i svg { width: 28px; height: 28px; margin-left: 4px; fill: #1d1305; }
.video-frame:hover .video-frame__play i { transform: scale(1.09); }
.video-frame__play span {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}

.video-caption {
  margin-top: 16px;
  text-align: center;
  font-size: .86rem;
  color: var(--muted-dim);
}

/* -------------------------------------------------------------- cards -- */

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface) 0%, #0b0d14 100%);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--brand-grad);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(34, 211, 190, .08);
  color: var(--teal);
}
.card__icon svg { width: 22px; height: 22px; }
.card--gold .card__icon { background: rgba(233, 185, 73, .1); color: var(--gold); }
.card--gold::before { background: var(--gold-grad); }

.card__num {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted-dim);
  margin-bottom: 14px;
}

/* ------------------------------------------------------- feature rows -- */

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature:nth-child(even) .feature__media { order: -1; }
@media (max-width: 760px) {
  .feature:nth-child(even) .feature__media { order: 0; }
}

.feature__media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0d14;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }

.media-tag {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 14, .78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.feature__step {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .55;
}
.feature p { color: var(--muted); }

/* ------------------------------------------------------------ gallery -- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 14px;
}
.gallery button {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b0d14;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(233, 185, 73, .18));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery button:hover { transform: translateY(-3px) scale(1.012); border-color: rgba(233, 185, 73, .5); }
.gallery button:hover::after { opacity: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(4, 5, 8, .94);
  backdrop-filter: blur(10px);
}
.lightbox.is-open { display: grid; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: min(1500px, 100%);
  max-height: 82svh;
  width: auto;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px #000;
  object-fit: contain;
}
.lightbox__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 3vw, 30px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: .86rem;
  color: var(--muted);
}
.lightbox__nav, .lightbox__close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__nav:hover, .lightbox__close:hover {
  background: rgba(233, 185, 73, .16);
  border-color: var(--gold);
}
.lightbox__nav svg, .lightbox__close svg { width: 18px; height: 18px; stroke: currentColor; }
.lightbox__close { position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); }

/* --------------------------------------------------------------- misc -- */

.facts {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.facts > div:last-child { border-bottom: 0; }
.facts dt {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-dim);
  align-self: center;
}
.facts dd { margin: 0; color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: .82rem;
  color: var(--muted);
}
.chip--on { border-color: rgba(34, 211, 190, .4); color: var(--teal); background: rgba(34, 211, 190, .08); }

/* timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--teal), var(--violet), transparent);
}
.timeline li { position: relative; list-style: none; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--bg);
}
.timeline li.is-done::before { background: var(--teal); }
.timeline li.is-next::before { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(233, 185, 73, .14); }
.timeline time {
  display: block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.timeline li.is-next time { color: var(--gold); }
.timeline h3 { margin-bottom: .3em; font-size: 1.15rem; }
.timeline p { color: var(--muted); font-size: .94rem; margin: 0; }

/* promo band */
.band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  background: linear-gradient(140deg, rgba(139, 92, 246, .16), rgba(34, 211, 190, .1)), var(--surface);
  overflow: hidden;
  text-align: center;
}
.band--gold { background: linear-gradient(140deg, rgba(233, 185, 73, .18), rgba(139, 92, 246, .1)), var(--surface); }
.band h2 { margin-bottom: .4em; }
.band p { color: var(--muted); max-width: 58ch; margin-inline: auto; margin-bottom: 28px; }
.band .btn-row { justify-content: center; }

/* game promo card on the studio page */
.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--surface), #0a0c12);
  padding: clamp(24px, 3.4vw, 42px);
  box-shadow: var(--shadow);
}
.promo__shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.promo__shot img { width: 100%; height: 100%; object-fit: cover; }
.promo__logo { width: min(330px, 78%); margin-bottom: 18px; }

/* press download list */
.dl-list { display: grid; gap: 12px; }
.dl {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.dl:hover { border-color: var(--teal); transform: translateX(4px); }
.dl__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: rgba(34, 211, 190, .1);
  color: var(--teal);
}
.dl__ico svg { width: 20px; height: 20px; }
.dl b { font-family: var(--font-display); display: block; font-weight: 600; }
.dl small { color: var(--muted-dim); font-size: .84rem; }
.dl__arrow { margin-left: auto; color: var(--muted-dim); }

/* ------------------------------------------------------------- footer -- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: clamp(50px, 6vw, 76px) 0 34px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 38px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__top img { width: 140px; margin-bottom: 18px; }
.footer__top p { color: var(--muted); font-size: .94rem; max-width: 38ch; }
.footer__col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: .94rem;
  color: var(--muted);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer__col a:hover { color: var(--teal); transform: translateX(3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: .85rem;
  color: var(--muted-dim);
}

/* --------------------------------------------------------- animations -- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; }
  .promo { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 20px 26px;
    background: rgba(8, 9, 14, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav a.is-active::after { left: 14px; right: auto; width: 20px; bottom: 7px; }

  .brand img { width: 112px; }
  .header-actions .btn { display: none; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .lightbox__bar { gap: 10px; }
}

/* ----------------------------------------------------- inner page head -- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 88px) 0 clamp(48px, 7vw, 86px);
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* --------------------------------------------------------- copy blocks -- */

.quote-block {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
}
.quote-block__head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.quote-block__head h3 {
  margin: 0;
  margin-right: auto;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.quote-block p { color: var(--muted); }
.quote-block #long-desc p + p { margin-top: 1.1em; }

@media (max-width: 520px) {
  .quote-block__head .btn { width: auto; }
}

/* ------------------------------------------------------- logo replay -- */

.hero__media video { cursor: pointer; }

.hero__replay {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 9, 14, .7);
  backdrop-filter: blur(6px);
  color: var(--muted);
  opacity: 0;
  transition: opacity .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.hero__replay svg { width: 17px; height: 17px; }
.hero__media:hover .hero__replay,
.hero__replay:focus-visible { opacity: 1; }
.hero__replay:hover { color: var(--teal); border-color: var(--teal); }

@media (hover: none) {
  .hero__replay { opacity: 1; }
}
