:root {
  --ink: #090806;
  --ink-2: #14110c;
  --panel: rgba(18, 14, 10, 0.78);
  --gold: #e4b15a;
  --gold-deep: #b7792f;
  --cream: #f6efe4;
  --muted: #c9b8a2;
  --line: rgba(228, 177, 90, 0.32);
  --amber: #ff8a24;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --display: "Alfa Slab One", serif;
  --body: "Outfit", sans-serif;
  --gold-ink: brightness(0) saturate(100%) invert(83%) sepia(27%) saturate(640%) hue-rotate(353deg) brightness(98%) contrast(93%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  font-family: var(--body);
  background: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mark { filter: var(--gold-ink); }
.mark-ink { filter: brightness(0) saturate(100%); }

.progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--amber));
  box-shadow: 0 0 16px rgba(255, 138, 36, 0.8);
}

#dust {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(228, 177, 90, 0.08), transparent 18%),
    radial-gradient(circle at 72% 68%, rgba(20, 12, 8, 0.2), transparent 16%),
    radial-gradient(ellipse 120% 80% at 70% -10%, rgba(255, 120, 30, 0.22), transparent 46%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(120, 62, 18, 0.28), transparent 50%),
    linear-gradient(180deg, #120d09 0%, #090806 42%, #0c0907 100%);
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, #1a120c 0 10px, transparent 11px),
    radial-gradient(circle at 28% 62%, #140e0a 0 6px, transparent 7px),
    radial-gradient(ellipse at 46% 18%, #1c140f 0 14px, transparent 15px),
    radial-gradient(circle at 63% 74%, #120c08 0 8px, transparent 9px),
    radial-gradient(circle at 81% 36%, #1a120c 0 11px, transparent 12px),
    radial-gradient(ellipse at 90% 80%, #160f0b 0 16px, transparent 17px);
  background-size: 420px 320px;
  opacity: 0.55;
  animation: spots 28s linear infinite;
}
.sun {
  position: absolute;
  width: 280px;
  height: 280px;
  right: 8%;
  top: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 214, 140, 0.95) 0 18%, rgba(255, 138, 36, 0.45) 32%, transparent 68%);
  filter: blur(2px);
  animation: sun-pulse 7s ease-in-out infinite;
}
.sun::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 176, 70, 0.18) 0 8deg, transparent 8deg 22deg);
  animation: spin 36s linear infinite;
  mask: radial-gradient(circle, transparent 42%, #000 46%, #000 70%, transparent 74%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.55;
}
.orb-a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 30%;
  background: rgba(228, 177, 90, 0.18);
  animation: drift 16s ease-in-out infinite;
}
.orb-b {
  width: 220px;
  height: 220px;
  right: 20%;
  bottom: 10%;
  background: rgba(255, 90, 20, 0.16);
  animation: drift 12s ease-in-out infinite reverse;
}
.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  background: linear-gradient(180deg, transparent, rgba(255, 120, 30, 0.08) 40%, rgba(0, 0, 0, 0.35));
}
.grain {
  position: absolute;
  inset: -20%;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain 0.7s steps(2) infinite;
  mix-blend-mode: overlay;
}
.cursor-light {
  position: fixed;
  z-index: 1;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 186, 90, 0.16), transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.3s;
}

.nav, main, .footer { position: relative; z-index: 2; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 6vw;
  background: rgba(9, 8, 6, 0.62);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(9, 8, 6, 0.86);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 4px rgba(228, 177, 90, 0.08);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(180deg, #f0c56e, #c8882e);
  color: #1a120c;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(200, 120, 30, 0.28);
}
.nav-buy img { width: 18px; height: 18px; }
.menu-btn {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}
.menu-btn span:not(.sr) {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--gold);
  transition: 0.25s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 4vh 6vw 8vh;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}
.kicker img { width: 16px; height: 16px; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.9;
  font-size: clamp(4.2rem, 8vw, 7.4rem);
}
h1 small {
  display: block;
  margin-top: 8px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.22em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.leopard {
  display: inline-block;
  background-image:
    radial-gradient(circle at 18% 30%, #1a120c 0 5px, transparent 6px),
    radial-gradient(circle at 62% 68%, #120c08 0 4px, transparent 5px),
    radial-gradient(ellipse at 78% 22%, #1a120c 0 7px, transparent 8px),
    radial-gradient(circle at 40% 78%, #0d0907 0 3px, transparent 4px),
    linear-gradient(115deg, #f6d48a 0%, #e0a24a 28%, #8d4e16 46%, #f0c27a 62%, #c47a2c 100%);
  background-size: 180px 120px;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.25));
  animation: fur 14s linear infinite;
}
.lead {
  max-width: 38rem;
  font-size: 1.25rem;
  color: var(--cream);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.hero-meta span {
  border: 1px solid var(--line);
  background: rgba(20, 14, 10, 0.55);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-meta strong { color: var(--cream); font-weight: 600; margin-left: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn img { width: 22px; height: 22px; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
  transform: translateX(-130%);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { animation: sheen 0.8s var(--ease); }
.btn-gold {
  background: linear-gradient(180deg, #f3cf86, #d39234 55%, #a86a22);
  color: #1a120c;
  box-shadow: 0 12px 30px rgba(212, 140, 40, 0.28);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(12, 9, 7, 0.45);
  color: var(--cream);
}
.social-row {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.social-row a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 35% 30%, #3a2a18, #120e0a 72%);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.social-row a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 24px rgba(228, 177, 90, 0.35);
}
.social-row img { width: 18px; height: 18px; object-fit: contain; }

.portrait-wrap {
  position: relative;
  width: min(520px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
  animation: float 6.5s ease-in-out infinite;
}
.portrait {
  margin: 0;
  position: absolute;
  inset: 9%;
  border-radius: 42% 42% 36% 36%;
  overflow: hidden;
  border: 1px solid rgba(246, 212, 150, 0.45);
  box-shadow:
    0 0 0 10px rgba(228, 177, 90, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 40px rgba(0, 0, 0, 0.25);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: ken 18s ease-in-out infinite alternate;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(228, 177, 90, 0.45);
}
.ring-spin { animation: spin 28s linear infinite; }
.ring-dots {
  inset: 4%;
  border: none;
  background: repeating-conic-gradient(from 0deg, var(--gold) 0 3deg, transparent 3deg 18deg);
  mask: radial-gradient(circle, transparent 62%, #000 63% 66%, transparent 67%);
  animation: spin 48s linear infinite reverse;
  opacity: 0.7;
}
.portrait-tag {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 8, 6, 0.72);
  border: 1px solid var(--line);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  white-space: nowrap;
}

.marquee {
  border-block: 1px solid var(--line);
  background: rgba(20, 14, 10, 0.72);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 22s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 1.05rem;
}
.marquee-track span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 42px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--gold);
  vertical-align: middle;
}

section { padding: 88px 6vw; scroll-margin-top: 84px; }
.section-head { max-width: 760px; margin-bottom: 36px; }
h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.story, .reel-card, .step, .chart-frame, .join-card, .banner {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.story {
  border-radius: 28px;
  padding: 36px;
}
.story p { color: var(--muted); font-size: 1.05rem; }
.story-lead {
  color: var(--cream) !important;
  font-size: 1.35rem !important;
  line-height: 1.35;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 0;
}
.facts div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 186, 90, 0.05);
  border: 1px solid rgba(228, 177, 90, 0.16);
}
.facts dt {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.facts dd {
  margin: 6px 0 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.facts img { width: 18px; height: 18px; }

.reel-card {
  border-radius: 28px;
  padding: 16px 16px 18px;
}
.reel {
  border-radius: 22px;
  overflow: hidden;
  background: #050403;
  height: min(72vh, 680px);
  margin-inline: auto;
  border: 1px solid rgba(228, 177, 90, 0.2);
  max-width: 380px;
}
.reel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.reel-link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.reel-link img { width: 16px; height: 16px; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: line-glow 3.5s ease-in-out infinite;
}
.step {
  position: relative;
  border-radius: 24px;
  padding: 22px 20px 20px;
  min-height: 280px;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.step:hover {
  transform: translateY(-8px);
  border-color: rgba(243, 207, 134, 0.7);
}
.step-index {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.4rem;
}
.step-logo {
  width: 36px;
  height: 36px;
  margin: 16px 0 10px;
  object-fit: contain;
}
.step h3 { margin: 0 0 8px; font-size: 1.2rem; }
.step p { margin: 0 0 16px; color: var(--muted); }
.step a {
  color: var(--gold);
  font-weight: 600;
  text-underline-offset: 3px;
}

.chart-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.chart-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--cream);
  background: rgba(12, 9, 7, 0.5);
}
.chart-links img { width: 18px; height: 18px; }
.chart-frame {
  border-radius: 28px;
  overflow: hidden;
  min-height: 640px;
  position: relative;
}
.chart-frame::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(228, 177, 90, 0.14), transparent);
  animation: sweep 3.6s ease-in-out infinite;
  pointer-events: none;
}
.chart-frame iframe {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
  background: #0d0b09;
}

.banner {
  margin: 0 0 22px;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 1;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.join-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.join-card {
  text-decoration: none;
  border-radius: 24px;
  padding: 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.join-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(243, 207, 134, 0.45);
}
.join-card img { width: 28px; height: 28px; object-fit: contain; }
.join-card h3 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
}
.join-card p { margin: 0; color: var(--muted); flex: 1; }
.join-card span { margin-top: 16px; color: var(--gold); font-size: 0.88rem; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer strong {
  display: block;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.footer p { margin: 0; max-width: 460px; }

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
  animation-play-state: paused;
}
html.js .reveal.in { animation-play-state: running; }
.steps .reveal:nth-child(2) { animation-delay: 0.08s; }
.steps .reveal:nth-child(3) { animation-delay: 0.16s; }
.steps .reveal:nth-child(4) { animation-delay: 0.24s; }
.join-grid .reveal:nth-child(2) { animation-delay: 0.08s; }
.join-grid .reveal:nth-child(3) { animation-delay: 0.16s; }
.join-grid .reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes fur { to { background-position: 180px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}
@keyframes sun-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(30px, -24px, 0); }
}
@keyframes spots { to { background-position: 420px 180px; } }
@keyframes grain { to { transform: translate3d(-2%, 1%, 0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes sheen { to { transform: translateX(130%); } }
@keyframes sweep { from { transform: translateX(-20%); } to { transform: translateX(380%); } }
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes line-glow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero, .about-grid, .steps, .join-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 4vw;
    right: 4vw;
    flex-direction: column;
    padding: 16px;
    border-radius: 18px;
    background: rgba(12, 9, 7, 0.96);
    border: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-buy { display: none; }
  .facts { grid-template-columns: 1fr; }
  .chart-frame, .chart-frame iframe { min-height: 520px; height: 520px; }
  .footer { flex-direction: column; }
  .cursor-light { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
