/* ═══════════════════════════════════════════════════════════
   Мафия Баланса — cinematic parallax landing v2
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #07060a;
  --ink-soft: #0c0a0f;
  --charcoal: #161219;
  --charcoal-light: #1e1824;
  --brand-yellow: #f5d800;
  --brand-yellow-light: #ffe566;
  --brand-yellow-dark: #c9a800;
  --brass: var(--brand-yellow);
  --brass-dark: var(--brand-yellow-dark);
  --brass-light: var(--brand-yellow-light);
  --oxblood: #8e1d2f;
  --oxblood-glow: rgba(142, 29, 47, 0.45);
  --paper: #f4efe6;
  --paper-muted: rgba(244, 239, 230, 0.62);
  --font-display: 'Lora', Georgia, serif;
  --font-brand: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --nav-h: 76px;
  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: min(1240px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 450;
  color: var(--paper);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Overlays ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8999;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 10001;
  background: rgba(214, 179, 106, 0.08);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brass-dark), var(--brass-light));
  box-shadow: 0 0 12px rgba(214, 179, 106, 0.6);
  transition: width 0.08s linear;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 8998;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(214, 179, 106, 0.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}

body.is-desktop .cursor-glow { opacity: 1; }

/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader__inner img {
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(245, 216, 0, 0.35);
}

.loader__inner span {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.loader__inner small {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
}

.nav.is-scrolled {
  background: rgba(7, 6, 10, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(214, 179, 106, 0.1);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav__brand-mark {
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(245, 216, 0, 0.3);
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__brand-text strong {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.nav__brand-text small {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.nav__links {
  display: none;
  gap: 2rem;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--paper-muted);
}

.nav__links a {
  position: relative;
  transition: color 0.25s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover { color: var(--brass-light); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: none;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brass-light), var(--brass) 50%, var(--brass-dark));
  color: #1a1206;
  box-shadow: 0 8px 28px rgba(214, 179, 106, 0.28);
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brass-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(7, 6, 10, 0.96);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(214, 179, 106, 0.12);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a:not(.btn) {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--paper-muted);
}

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__burger, .mobile-menu { display: none !important; }
}

/* ── Typography ── */
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.chip {
  display: inline-flex;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  border: 1px solid rgba(214, 179, 106, 0.25);
  background: rgba(214, 179, 106, 0.06);
  backdrop-filter: blur(8px);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-yellow-light) 0%, var(--brand-yellow) 50%, var(--brand-yellow-dark) 100%);
  color: #0a0a0a;
  box-shadow: 0 10px 36px rgba(245, 216, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover {
  box-shadow: 0 14px 44px rgba(245, 216, 0, 0.42);
}

.btn--primary .icon {
  color: #0a0a0a;
}

.btn--glass {
  border: 1px solid rgba(214, 179, 106, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  color: var(--brass-light);
}

.btn--glass:hover {
  background: rgba(214, 179, 106, 0.1);
  border-color: rgba(214, 179, 106, 0.45);
}

.btn--xl { padding: 1.05rem 1.85rem; font-size: 1rem; }

/* ── Device mockup ── */
.device {
  position: relative;
  width: min(300px, 78vw);
}

.device__bezel {
  position: relative;
  z-index: 2;
  padding: 11px;
  border-radius: 36px;
  background: linear-gradient(160deg, #3a3044 0%, #120f16 35%, #0a080c 100%);
  border: 1px solid rgba(214, 179, 106, 0.28);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 80px rgba(214, 179, 106, 0.15);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out);
}

.device__bezel img {
  width: 100%;
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
}

.device__glow {
  position: absolute;
  inset: 20% -20%;
  z-index: 0;
  background: radial-gradient(circle, rgba(214, 179, 106, 0.25) 0%, transparent 65%);
  filter: blur(40px);
}

.device--hero { width: min(320px, 82vw); position: relative; z-index: 3; }

.hero__device {
  position: absolute;
  top: 0;
  right: 0;
  width: min(168px, 38vw);
  margin: 0;
  z-index: 4;
  transform: rotate(8deg);
  transform-origin: top right;
}

.hero__device .device__glow {
  inset: 15% -15%;
  opacity: 0.85;
}

.device--story { width: min(280px, 72vw); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.15) contrast(1.08);
  will-change: transform;
}

.hero__grunge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 15%, rgba(245, 216, 0, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 75%, rgba(142, 29, 47, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, rgba(7, 6, 10, 0.15) 0%, var(--ink) 88%);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero__layout {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-family: var(--font-brand);
  font-size: clamp(8rem, 28vw, 20rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 216, 0, 0.06);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: -0.03em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero__title .line--whole {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}

.hero__title.is-ready .line span,
.hero__title.is-ready .line--whole {
  animation: titleReveal 1s var(--ease-out) forwards;
}

.hero__title.is-ready .line--whole {
  animation-delay: 0s;
}

.hero__title.is-ready .line:nth-child(2) span {
  animation-delay: 0.12s;
}

.hero__title .line--whole {
  background: linear-gradient(135deg, #fff 0%, var(--brand-yellow-light) 55%, var(--brand-yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title .line--accent {
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  color: var(--brand-yellow);
  margin-top: -0.08em;
}

@keyframes titleReveal {
  to { transform: translateY(0); opacity: 1; }
}

.hero__lead {
  max-width: 50ch;
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.hero__lead strong {
  color: var(--brand-yellow-light);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero__ticker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 520px;
}

@media (min-width: 600px) {
  .hero__ticker {
    grid-template-columns: repeat(3, 1fr);
    max-width: 560px;
  }
}

.hero__ticker-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(214, 179, 106, 0.18);
}

.hero__ticker-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--brass-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero__ticker-item span {
  font-size: 0.72rem;
  color: var(--paper-muted);
  letter-spacing: 0.04em;
}

.hero__stage {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 52vw, 540px);
  perspective: 1200px;
}

.hero__crown,
.hero__mask {
  display: none;
}

.hero__brand-poster {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: min(280px, 56vw);
  margin: 0;
  transform: translateY(-50%) rotate(-3deg);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65));
  animation: posterFloat 6s ease-in-out infinite;
}

.hero__brand-poster img {
  width: 100%;
  border-radius: 18px;
  border: 2px solid rgba(245, 216, 0, 0.25);
}

.hero__brand-poster figcaption {
  display: none;
}

.hero__accent {
  position: absolute;
  z-index: 1;
  border-radius: 16px;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(1.1) drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5));
  animation: crownFloat 5.5s ease-in-out infinite;
}

.hero__accent--left {
  bottom: 2%;
  left: -2%;
  width: clamp(80px, 16vw, 130px);
  aspect-ratio: 3 / 4;
  transform: rotate(-8deg);
  z-index: 1;
}

.hero__accent--right {
  bottom: 10%;
  left: 8%;
  width: clamp(72px, 14vw, 110px);
  aspect-ratio: 1;
  animation-delay: 0.8s;
  transform: rotate(6deg);
  z-index: 3;
}

@keyframes posterFloat {
  0%, 100% { transform: translateY(-50%) rotate(-3deg); }
  50% { transform: translateY(calc(-50% - 12px)) rotate(-1deg); }
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(214, 179, 106, 0.45);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--brass), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }

  .hero__stage {
    min-height: 520px;
    align-self: center;
  }

  .hero__brand-poster {
    width: min(360px, 54%);
  }

  .hero__device {
    top: 4%;
    right: 0;
    width: min(210px, 30%);
  }

  .hero__accent--left {
    bottom: 6%;
    left: -4%;
    width: clamp(90px, 12vw, 140px);
  }

  .hero__accent--right {
    bottom: 14%;
    left: 4%;
    width: clamp(80px, 10vw, 120px);
  }
}

/* ── BRAND IDENTITY ── */
.brand-identity {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.brand-identity::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 216, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.brand-identity__head {
  width: var(--container);
  margin: 0 auto 2.5rem;
}

.brand-identity__lead {
  max-width: 58ch;
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.brand-identity__layout {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.brand-identity__hero {
  margin: 0;
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(245, 216, 0, 0.22);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

.brand-identity__hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.brand-identity__hero figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(7, 6, 10, 0.72);
  border: 1px solid rgba(245, 216, 0, 0.25);
  color: var(--brand-yellow-light);
}

.brand-identity__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.brand-identity__tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 4 / 3;
}

.brand-identity__tile--wide {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}

.brand-identity__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.brand-identity__tile:hover img {
  transform: scale(1.04);
}

.brand-identity__tile figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

@media (min-width: 900px) {
  .brand-identity__layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .brand-identity__hero img {
    max-height: none;
    min-height: 100%;
  }

  .brand-identity__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── MANIFESTO (scrollytelling text) ── */
.manifesto {
  position: relative;
  min-height: 180vh;
}

.manifesto__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.manifesto__text {
  max-width: 14ch;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.manifesto__text span {
  display: inline-block;
  margin: 0 0.12em;
  color: rgba(244, 239, 230, 0.14);
  transition: color 0.4s, transform 0.4s var(--ease-out), text-shadow 0.4s;
}

.manifesto__text span.is-lit {
  color: var(--paper);
  text-shadow: 0 0 40px rgba(214, 179, 106, 0.2);
}

.manifesto__text span.is-accent.is-lit {
  color: var(--brass-light);
}

/* ── HORIZONTAL RAIL ── */
.rail {
  position: relative;
}

.rail__intro {
  width: var(--container);
  margin: 0 auto;
  padding: 4rem 0 1.5rem;
  max-width: 560px;
}

.rail__intro p:last-child {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--paper-muted);
}

.rail__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-bottom: 1rem;
}

.rail__runway {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.rail__track-wrap {
  padding-left: max(1.25rem, calc((100% - 1240px) / 2));
  width: 100%;
}

.rail__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-right: 2rem;
  will-change: transform;
}

.rail__card {
  position: relative;
  width: min(340px, 78vw);
  flex-shrink: 0;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(214, 179, 106, 0.14);
  background: linear-gradient(165deg, rgba(30, 24, 36, 0.95) 0%, rgba(12, 10, 15, 0.98) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s var(--ease-out), border-color 0.45s;
}

.rail__card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(214, 179, 106, 0.35);
}

.rail__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(214, 179, 106, 0.12);
  margin-bottom: 0.75rem;
}

.rail__card h3 {
  position: relative;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.rail__card p {
  position: relative;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.rail__card img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 471 / 1024;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1px solid rgba(214, 179, 106, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.rail__card--oracle {
  background: linear-gradient(165deg, rgba(40, 18, 24, 0.95) 0%, rgba(12, 10, 15, 0.98) 100%);
}

.rail__card--hall {
  background: linear-gradient(165deg, rgba(36, 30, 18, 0.95) 0%, rgba(12, 10, 15, 0.98) 100%);
}

@media (max-width: 767px) {
  .rail__sticky {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    padding-bottom: 1rem;
  }

  .rail__runway {
    display: none;
  }

  .rail__track-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-right: 1.25rem;
  }

  .rail__track {
    transform: none !important;
    padding-bottom: 0.5rem;
  }

  .rail__card {
    scroll-snap-align: start;
  }
}

/* ── STORY (pinned phone) ── */
.story {
  position: relative;
  padding-bottom: 4rem;
}

.story__grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.story__device-wrap {
  position: relative;
}

.story__device {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

@media (min-width: 960px) {
  .story__device {
    justify-content: flex-end;
    padding-right: 0.5rem;
  }
}

.story__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.story__shot.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.story__panels {
  display: grid;
  gap: 0;
}

.story__panel {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  opacity: 0.25;
  transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}

.story__panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.story__panel p {
  max-width: 52ch;
  line-height: 1.65;
  color: var(--paper-muted);
}

.story__panel ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.story__panel li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: var(--paper-muted);
}

.story__panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

@media (min-width: 960px) {
  .story__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }

  .story__panel {
    min-height: 70vh;
    padding-right: 1rem;
  }

  .device--story {
    width: min(320px, 100%);
  }
}

/* ── BENTO ── */
.bento {
  padding: 6rem 0;
  width: var(--container);
  margin: 0 auto;
}

.bento__head {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.bento__lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  line-height: 1.7;
  color: var(--paper-muted);
}

.bento__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.bento__kicker--cta {
  color: var(--brand-yellow-light);
  letter-spacing: 0.1em;
}

.bento__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.bento__item {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 179, 106, 0.12);
  background: linear-gradient(165deg, rgba(30, 24, 36, 0.8) 0%, rgba(12, 10, 15, 0.95) 100%);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.bento__item:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 179, 106, 0.28);
}

.bento__item--wide {
  grid-column: 1 / -1;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
}

.bento__wide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(8, 6, 10, 0.94) 0%, rgba(8, 6, 10, 0.72) 42%, rgba(8, 6, 10, 0.2) 100%);
  pointer-events: none;
}

.bento__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% center;
  opacity: 0.55;
  mix-blend-mode: luminosity;
}

.bento__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.bento__wide-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--paper-muted);
}

.bento__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.85rem;
  padding: 0;
  list-style: none;
}

.bento__stats li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 0, 0.22);
  background: rgba(245, 216, 0, 0.07);
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.bento__stats strong {
  color: var(--brand-yellow-light);
  font-weight: 700;
}

.bento__item--spotlight {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 240px;
}

.bento__spotlight-shot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin: -0.25rem;
  padding: 0.85rem;
  border-radius: calc(var(--radius) - 6px);
  background:
    radial-gradient(circle at 50% 30%, rgba(245, 216, 0, 0.08) 0%, transparent 60%),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 216, 0, 0.1);
}

.bento__spotlight-shot img {
  width: min(100%, 168px);
  border-radius: 12px;
  border: 1px solid rgba(245, 216, 0, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.bento__spotlight-copy {
  margin-top: auto;
}

.bento__item--feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
  min-height: 180px;
}

@media (min-width: 540px) {
  .bento__item--feature {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
}

.bento__feature-copy {
  min-width: 0;
}

.bento__feature-shot {
  flex-shrink: 0;
  align-self: flex-end;
}

.bento__feature-shot img {
  display: block;
  width: 92px;
  border-radius: 12px;
  border: 1px solid rgba(245, 216, 0, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  object-fit: cover;
}

.bento__item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.bento__item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--paper-muted);
}

.bento__item--cta {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.75rem 2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 179, 106, 0.15) 0%, transparent 55%),
    linear-gradient(165deg, rgba(30, 24, 36, 0.9) 0%, rgba(12, 10, 15, 0.98) 100%);
}

.bento__item--cta .btn {
  margin-top: 0.25rem;
}

.bento__cta-note {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--paper-muted);
}

.bento__item--cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.85rem;
  max-width: none;
}

@media (min-width: 768px) {
  .bento__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .bento__item--wide {
    grid-column: span 2;
    min-height: 280px;
  }

  .bento__item--spotlight {
    min-height: 280px;
  }

  .bento__item--feature {
    min-height: 200px;
  }

  .bento__feature-shot img {
    width: 104px;
  }

  .bento__item--wide h3 {
    font-size: 1.35rem;
  }

  .bento__item--cta { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .bento__feature-shot img {
    width: 118px;
  }

  .bento__spotlight-shot img {
    width: min(100%, 180px);
  }
}

/* ── FINALE ── */
.finale {
  position: relative;
  min-height: 85vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 2rem;
}

.finale__bg {
  position: absolute;
  inset: 0;
}

.finale__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.finale__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(245, 216, 0, 0.08) 0%, rgba(7, 6, 10, 0.55) 45%, rgba(7, 6, 10, 0.92) 75%),
    linear-gradient(180deg, transparent 0%, var(--ink) 100%);
}

.finale__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 680px;
}

.finale__title {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0.5rem 0 1.25rem;
  line-height: 0.95;
}

.finale__title span {
  display: block;
}

.finale__title span:last-child {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
}

.finale__content > p {
  margin: 0 0 2rem;
  line-height: 1.65;
  color: var(--paper-muted);
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid rgba(214, 179, 106, 0.08);
}

.footer__grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  border-radius: 10px;
  object-fit: cover;
}

.footer__brand strong {
  display: block;
  font-size: 0.95rem;
}

.footer__brand span {
  font-size: 0.78rem;
  color: var(--paper-muted);
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.footer__copy-badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 216, 0, 0.22);
  background: rgba(245, 216, 0, 0.06);
  color: var(--brass-light);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__copy-aside {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--paper-muted);
  opacity: 0.85;
}

.footer__punch {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper-muted);
  justify-self: end;
  text-align: right;
}

.footer__punch em {
  display: block;
  margin-top: 0.15rem;
  font-style: italic;
  font-weight: 700;
  color: var(--brand-yellow-light);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr auto 1fr;
  }

  .footer__punch {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .footer__center {
    order: 3;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(214, 179, 106, 0.08);
  }

  .footer__punch {
    order: 2;
    max-width: none;
    text-align: left;
    justify-self: start;
  }
}

/* ── Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line span,
  .hero__title .line--whole { transform: none; opacity: 1; animation: none; }
  .cursor-glow { display: none; }
  .marquee__track { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   Icons
   ═══════════════════════════════════════════════════════════ */

.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brass-light);
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 28px;
  height: 28px;
}

/* ═══════════════════════════════════════════════════════════
   v3 — expanded sections
   ═══════════════════════════════════════════════════════════ */

.pulse {
  animation: btnPulse 2.8s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 10px 36px rgba(214, 179, 106, 0.32); }
  50% { box-shadow: 0 10px 48px rgba(214, 179, 106, 0.55), 0 0 0 8px rgba(214, 179, 106, 0.08); }
}

/* Dual marquee */
.marquee-duo {
  border-block: 1px solid rgba(214, 179, 106, 0.1);
  overflow: hidden;
  background: rgba(12, 10, 15, 0.85);
}

.marquee {
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee--rev { opacity: 0.55; padding-top: 0; }

.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(214, 179, 106, 0.55);
  white-space: nowrap;
}

.marquee--fwd .marquee__track { animation: marqueeFwd 32s linear infinite; }
.marquee--rev .marquee__track { animation: marqueeRev 38s linear infinite; }

@keyframes marqueeFwd {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeRev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Journey */
.journey {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0;
}

.journey__head {
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.journey__steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.journey__step {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 216, 0, 0.12);
  background: linear-gradient(165deg, rgba(30, 24, 36, 0.7) 0%, rgba(12, 10, 15, 0.9) 100%);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.journey__step:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 216, 0, 0.32);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(245, 216, 0, 0.06);
}

.journey__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(245, 216, 0, 0.28);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.journey__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journey__step:hover .journey__icon {
  border-color: rgba(245, 216, 0, 0.55);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(245, 216, 0, 0.18);
  transform: translateY(-3px) scale(1.04);
}

.journey__step h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.journey__step p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--paper-muted);
}


.story__head {
  width: var(--container);
  margin: 0 auto 2rem;
  max-width: 640px;
}

.story__head p:last-child {
  margin-top: 0.75rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

/* Hook CTA */
.hook {
  position: relative;
  padding: 5rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.hook__bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.hook__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.hook__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(245, 216, 0, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 216, 0, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, rgba(30, 24, 36, 0.92) 0%, rgba(12, 10, 15, 0.98) 100%);
  backdrop-filter: blur(8px);
}

.hook__quote {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--paper);
}
