:root {
  --navy-0: #020817;
  --navy-1: #06122c;
  --navy-2: #0b1d44;
  --ink: #eef4ff;
  --mute: #9aafd4;
  --ice: #e4ecff;
  --gold: #e8c078;
  --gold-soft: rgba(232, 192, 120, 0.18);
  --line: rgba(228, 236, 255, 0.14);
  --glass: rgba(8, 20, 48, 0.62);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(46, 92, 180, 0.28), transparent 55%),
    radial-gradient(900px 500px at 80% 20%, rgba(232, 192, 120, 0.08), transparent 45%),
    linear-gradient(180deg, var(--navy-0), var(--navy-1) 40%, #04102a);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

#orbit-canvas,
.aurora,
.vignette,
.grain,
.cursor-glow {
  pointer-events: none;
}

#orbit-canvas,
.aurora,
.vignette,
.grain {
  position: fixed;
  inset: 0;
}

#orbit-canvas { z-index: 0; }
.aurora { z-index: 1; overflow: hidden; }
.vignette {
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(1, 6, 18, 0.72) 100%);
}
.grain {
  z-index: 3;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ribbon {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  animation: drift 22s ease-in-out infinite alternate;
}

.r1 { top: -18%; left: -8%; background: #1a4d9c; }
.r2 { top: 8%; right: -16%; background: #23407a; animation-duration: 28s; }
.r3 { bottom: -20%; left: 30%; background: #8a6a38; opacity: 0.14; animation-duration: 32s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -30px, 0) scale(1.08); }
}

.cursor-glow {
  position: fixed;
  z-index: 4;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 192, 120, 0.16), transparent 68%);
  transform: translate3d(-200px, -200px, 0);
  transition: opacity 0.4s ease;
}

.mast,
main,
.colophon {
  position: relative;
  z-index: 5;
}

.mast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.mast.scrolled {
  background: rgba(2, 8, 23, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.sigil {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.sigil img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 24px rgba(158, 192, 255, 0.25);
}

.orbit-nav {
  display: flex;
  gap: 28px;
}

.orbit-nav a {
  color: var(--mute);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}

.orbit-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.orbit-nav a:hover { color: var(--ink); }
.orbit-nav a:hover::after { width: 100%; }

.mast-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glyph {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.glyph img { width: 16px; height: 16px; }
.glyph:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 192, 120, 0.45);
  background: var(--gold-soft);
}

.gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  letter-spacing: 0.06em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.gate-btn img { width: 18px; height: 18px; }

.gate-btn.solid {
  background: linear-gradient(180deg, #f3e1b3, var(--gold));
  color: #1a1206;
  border-color: transparent;
  font-weight: 700;
}

.gate-btn.glass {
  background: rgba(255, 255, 255, 0.04);
}

.gate-btn.compact {
  min-height: 40px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
}

.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.gate-btn.solid:hover {
  box-shadow: 0 10px 34px rgba(232, 192, 120, 0.28);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.burger i {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ice);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 130px 20px 90px;
  position: relative;
}

.monument-arch {
  position: absolute;
  width: min(920px, 96vw);
  top: 8vh;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.85;
  animation: archBreath 8s ease-in-out infinite;
}

.arch-halo { animation: haloPulse 6s ease-in-out infinite; }

@keyframes archBreath {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.015); }
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero-constellation {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 28px;
}

.cat-well {
  position: relative;
  width: min(320px, 68vw);
}

.hero-cat {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.45);
  animation: floatCat 7s ease-in-out infinite;
}

.well-ring,
.well-ring.delay {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: ringOut 4.8s ease-out infinite;
}

.well-ring.delay { animation-delay: 2.4s; }

@keyframes floatCat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ringOut {
  0% { transform: scale(0.92); opacity: 0.55; }
  100% { transform: scale(1.18); opacity: 0; }
}

.hero-plaque h1 {
  font-family: var(--serif);
  font-size: clamp(4.2rem, 12vw, 8.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.85;
}

.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ticker {
  margin-top: 10px;
  color: var(--ice);
  letter-spacing: 0.34em;
  font-size: 0.95rem;
}

.manifesto {
  max-width: 34rem;
  margin: 18px auto 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-style: italic;
  color: #d7e3f8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  background: linear-gradient(180deg, transparent, rgba(12, 38, 82, 0.35) 40%, rgba(2, 8, 23, 0.9));
}

.ticker-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  color: var(--mute);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  animation: marquee 38s linear infinite;
}

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

.panel {
  padding: 120px 0;
}

.panel-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.panel-head h2,
.about h2,
.howtobuy h2,
.chart h2,
.joinus h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.lede {
  margin-top: 16px;
  color: var(--mute);
  font-size: 1.05rem;
}

.origin-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.origin-portrait {
  position: relative;
  padding: 28px;
}

.portrait-arch {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 0;
  border-radius: 50% 50% 8px 8px;
  animation: archBreath 9s ease-in-out infinite;
}

.origin-portrait img {
  width: 100%;
  border-radius: 8px 8px 4px 4px;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.origin-copy blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: italic;
  line-height: 1.25;
  color: #f4e6c2;
  margin-bottom: 22px;
}

.origin-copy p + p { margin-top: 14px; color: var(--mute); }

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.spec-grid div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
}

.spec-grid dt {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spec-grid dd {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-top: 4px;
}

.gates {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gate {
  position: relative;
  padding: 28px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  min-height: 260px;
}

.gate::before {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.45s ease;
}

.gate:hover::before { transform: scaleX(1); }

.gate-index {
  display: block;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  margin-bottom: 18px;
}

.gate-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(2, 8, 23, 0.4);
}

.gate-icon img { width: 22px; height: 22px; }

.gate h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.gate p { color: var(--mute); font-size: 0.95rem; }

.passage-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.contract-slab {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.contract-slab span {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  flex: none;
}

.contract-slab code {
  flex: 1;
  color: var(--ice);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orbit-frame {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(2, 8, 23, 0.55);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.orbit-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.85rem;
}

.orbit-bar img { width: 16px; height: 16px; }
.orbit-bar a { margin-left: auto; color: var(--gold); }

.orbit-screen {
  position: relative;
  height: min(640px, 72vh);
}

.orbit-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(232, 192, 120, 0.05) 50%, transparent 100%);
  background-size: 100% 220%;
  animation: scan 7s linear infinite;
}

@keyframes scan {
  to { background-position: 0 220%; }
}

.orbit-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b111b;
}

.span-banner {
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.span-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: ken 22s ease-in-out infinite alternate;
}

@keyframes ken {
  to { transform: scale(1.08) translate3d(-1.2%, 0, 0); }
}

.dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.dock-tile {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.dock-tile img { width: 22px; height: 22px; }
.dock-tile strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.dock-tile span { color: var(--mute); font-size: 0.88rem; }
.dock-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 192, 120, 0.4);
  background: var(--gold-soft);
}

.colophon {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
}

.colophon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.colophon-row p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--mute);
  text-align: center;
}

.colophon-glyphs {
  display: flex;
  gap: 12px;
}

.colophon-glyphs a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.colophon-glyphs img { width: 15px; height: 15px; }

.fineprint {
  margin-top: 22px;
  text-align: center;
  color: #6d82a8;
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.wait { transition-delay: 0.1s; }
.reveal.wait-2 { transition-delay: 0.18s; }
.reveal.wait-3 { transition-delay: 0.26s; }
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .orbit-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: rgba(2, 8, 23, 0.92);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(16px);
  }

  .orbit-nav.open { display: flex; }
  .orbit-nav a { padding: 14px 12px; }
  .burger { display: flex; }
  .origin-split,
  .gates,
  .dock { grid-template-columns: 1fr 1fr; }
  .colophon-row { flex-direction: column; }
}

@media (max-width: 680px) {
  .mast { padding: 14px 16px; }
  .glyph { display: none; }
  .origin-split,
  .gates,
  .dock { grid-template-columns: 1fr; }
  .contract-slab { flex-wrap: wrap; }
  .span-banner { border-radius: 14px; }
  .hero { padding-top: 110px; }
}

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