:root {
  --bg: #040712;
  --bg-2: #08101f;
  --ink: #e9f4ff;
  --muted: #8ea3b8;
  --cyan: #3ad7ff;
  --cyan-2: #7ee9ff;
  --amber: #ff7a1a;
  --amber-2: #ffb347;
  --chrome-a: #f7fbff;
  --chrome-b: #8ea0b8;
  --chrome-c: #d7e4f4;
  --line: rgba(58, 215, 255, 0.22);
  --glass: rgba(8, 16, 32, 0.62);
  --font-display: "Bungee", "Black Ops One", sans-serif;
  --font-stamp: "Black Ops One", "Bungee", sans-serif;
  --font-body: "Sora", sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.void {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(58, 215, 255, 0.16), transparent 55%),
    radial-gradient(900px 600px at 88% 8%, rgba(255, 122, 26, 0.14), transparent 50%),
    linear-gradient(180deg, #050914 0%, #07111f 42%, #040712 100%);
}

#synapse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.haze {
  position: absolute;
  width: 42vw;
  height: 42vw;
  filter: blur(70px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite;
}

.haze-a {
  top: 8%;
  left: -8%;
  background: #1b6f8a;
}

.haze-b {
  right: -10%;
  bottom: 12%;
  background: #8a4a16;
  animation-delay: -8s;
}

.lattice {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(58, 215, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 215, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 78%);
  animation: lattice-shift 24s linear infinite;
}

.scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(0, 0, 0, 0.08) 3px 4px
  );
  opacity: 0.35;
}

.lens {
  position: fixed;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(58, 215, 255, 0.16), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.is-pointer .lens {
  opacity: 1;
}

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

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 6vw;
  background: rgba(4, 7, 18, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: url("assets/logo.png") center / cover;
  box-shadow: 0 0 0 1px rgba(58, 215, 255, 0.4), 0 0 18px rgba(58, 215, 255, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 15px;
}

.brand-copy small {
  font-family: var(--font-mono);
  color: var(--cyan-2);
  letter-spacing: 0.28em;
  font-size: 10px;
}

.menu-list {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.menu-list a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-list a:hover {
  color: var(--cyan-2);
}

.nav-x {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-x img {
  width: 14px;
  height: 14px;
}

.menu {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
}

.menu span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--cyan-2);
}

.hero {
  min-height: calc(100vh - 74px);
  padding: 48px 6vw 0;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  flex: 1;
  perspective: 900px;
}

.kicker {
  font-family: var(--font-mono);
  color: var(--amber-2);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.86;
  margin-bottom: 22px;
}

h1 span {
  display: block;
}

.chrome {
  background: linear-gradient(110deg, var(--chrome-b) 0%, var(--chrome-a) 22%, var(--cyan-2) 38%, var(--chrome-a) 55%, var(--amber-2) 72%, var(--chrome-c) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chrome-run 7s linear infinite;
  filter: drop-shadow(0 8px 18px rgba(58, 215, 255, 0.18));
}

.chrome-delay {
  animation-delay: -2.4s;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  margin-bottom: 16px;
}

.ticker-line {
  max-width: 34rem;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.pills {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.pill img {
  width: 16px;
  height: 16px;
}

.cta-row,
.join-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--font-stamp);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta img {
  width: 22px;
  height: 22px;
}

.cta-buy {
  background: linear-gradient(135deg, #1d6f86, #0b2a38);
  box-shadow: 0 0 0 1px rgba(58, 215, 255, 0.45), 0 10px 30px rgba(58, 215, 255, 0.18);
}

.cta-ghost {
  background: rgba(8, 16, 32, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.4);
}

.cta:hover {
  transform: translateY(-3px);
}

.ca {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px dashed rgba(58, 215, 255, 0.4);
  background: rgba(4, 10, 20, 0.7);
  color: var(--ink);
  cursor: pointer;
  border-radius: 10px;
}

.ca span {
  font-family: var(--font-stamp);
  color: var(--cyan-2);
  font-size: 12px;
}

.ca code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.mosaic {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.cells {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 100%;
}

.cells b {
  display: block;
  border-radius: 16px;
  background-image: url("assets/logo.png");
  background-size: 300% 300%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.35);
  animation: tile-float 6.5s ease-in-out infinite;
}

.cells b:nth-child(1) { background-position: 0 0; animation-delay: 0s; }
.cells b:nth-child(2) { background-position: 50% 0; animation-delay: 0.2s; }
.cells b:nth-child(3) { background-position: 100% 0; animation-delay: 0.4s; }
.cells b:nth-child(4) { background-position: 0 50%; animation-delay: 0.15s; }
.cells b:nth-child(5) { background-position: 50% 50%; animation-delay: 0.35s; }
.cells b:nth-child(6) { background-position: 100% 50%; animation-delay: 0.55s; }
.cells b:nth-child(7) { background-position: 0 100%; animation-delay: 0.25s; }
.cells b:nth-child(8) { background-position: 50% 100%; animation-delay: 0.45s; }
.cells b:nth-child(9) { background-position: 100% 100%; animation-delay: 0.65s; }

.ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid rgba(58, 215, 255, 0.2);
  animation: spin 22s linear infinite;
}

.ring-2 {
  inset: -16%;
  border-color: rgba(255, 122, 26, 0.18);
  animation-direction: reverse;
  animation-duration: 32s;
}

.orbit {
  position: absolute;
  inset: 8% 6vw auto auto;
  width: min(46vw, 520px);
  height: min(46vw, 520px);
  pointer-events: none;
}

.orbit i {
  position: absolute;
  font-family: var(--font-stamp);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-2);
  opacity: 0.55;
  animation: glyph 12s linear infinite;
}

.orbit i:nth-child(1) { top: 0; left: 46%; animation-delay: 0s; }
.orbit i:nth-child(2) { top: 18%; right: 0; animation-delay: -2s; }
.orbit i:nth-child(3) { bottom: 16%; right: 6%; animation-delay: -4s; }
.orbit i:nth-child(4) { bottom: 0; left: 40%; animation-delay: -6s; }
.orbit i:nth-child(5) { top: 22%; left: 0; animation-delay: -8s; }
.orbit i:nth-child(6) { top: 58%; left: -4%; animation-delay: -10s; }

.ribbon {
  margin: 40px -6vw 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(8, 16, 32, 0.55);
}

.ribbon-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
}

.ribbon-track span {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-2);
  white-space: nowrap;
}

section {
  padding: 96px 6vw;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.thesis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.thesis article {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 30, 48, 0.7), rgba(6, 10, 20, 0.7));
  border-radius: 18px;
}

.thesis article:nth-child(2) { transition-delay: 0.12s; }
.thesis article:nth-child(3) { transition-delay: 0.24s; }

.thesis span {
  font-family: var(--font-display);
  color: var(--amber);
  font-size: 28px;
}

.thesis h3,
.rail h3 {
  font-family: var(--font-stamp);
  font-size: 22px;
  margin: 10px 0 12px;
}

.thesis p,
.rail p,
.foot p {
  color: var(--muted);
  line-height: 1.7;
}

.rail {
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}

.rail::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--amber));
  opacity: 0.55;
}

.rail li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 22px 0;
}

.rail-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #081018;
  border: 1px solid var(--line);
  box-shadow: 0 0 24px rgba(58, 215, 255, 0.12);
  position: relative;
  z-index: 1;
}

.rail-icon img {
  width: 30px;
  height: 30px;
}

.rail a {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  color: var(--cyan-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.vault {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050910;
  min-height: 640px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.vault iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #0a111b;
}

.tick {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan-2);
  z-index: 2;
}

.t-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.t-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.t-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.t-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.billboard {
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.18), 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.billboard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(4, 7, 18, 0.28));
  pointer-events: none;
}

.billboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: banner-glow 8s ease-in-out infinite;
}

.join-row {
  margin-top: 28px;
  justify-content: center;
}

.foot {
  padding: 28px 6vw 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rise,
.thesis article,
.rail li,
.vault,
.billboard {
  opacity: 0;
  transform: translateY(28px);
}

.inview {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@keyframes chrome-run {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes tile-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(40px, -30px, 0); }
}

@keyframes lattice-shift {
  to { background-position: 72px 72px; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes glyph {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-10px); opacity: 0.8; }
}

@keyframes banner-glow {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.15) brightness(1.08); }
}

@media (max-width: 980px) {
  .hero-grid,
  .thesis {
    grid-template-columns: 1fr;
  }

  .orbit {
    display: none;
  }

  h1 {
    font-size: clamp(52px, 18vw, 88px);
  }

  .menu {
    display: block;
  }

  .menu-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 18px 6vw 22px;
    background: rgba(4, 7, 18, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .nav.open .menu-list {
    display: flex;
  }

  .nav-x span {
    display: none;
  }

  .foot {
    flex-direction: column;
  }

  .vault,
  .vault iframe {
    min-height: 480px;
    height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
