:root {
  --night: #070b1c;
  --ink: #0b1026;
  --dusk: #141a38;
  --fog: #9a90c4;
  --mist: #cfc6ef;
  --paper: #f4efff;
  --lilac: #c9b8ff;
  --violet: #8b74f2;
  --iris: #6d54e0;
  --ginger: #f0a15a;
  --ember: #e07a3a;
  --line: rgba(201, 184, 255, 0.22);
  --glass: rgba(12, 16, 40, 0.62);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--night);
  color: var(--paper);
  font-family: Outfit, sans-serif;
}

body {
  overflow-x: hidden;
}

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

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

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

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(139, 116, 242, 0.28), transparent 60%),
    radial-gradient(680px 420px at 88% 18%, rgba(240, 161, 90, 0.08), transparent 55%),
    radial-gradient(720px 480px at 8% 80%, rgba(109, 84, 224, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(7, 11, 28, 0.15), rgba(7, 11, 28, 0.72));
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.09;
  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");
}

.arch-field {
  position: fixed;
  inset: 8% 0 auto;
  width: 100%;
  height: 72vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.arch {
  fill: none;
  stroke: url(#archStroke);
  stroke-linecap: round;
}

.arch-a { stroke-width: 10; animation: archPulse 10s ease-in-out infinite; }
.arch-b { stroke-width: 6; opacity: 0.7; animation: archPulse 12s ease-in-out infinite 0.6s; }
.arch-c { stroke-width: 3; opacity: 0.5; animation: archPulse 8s ease-in-out infinite 1.1s; }

@keyframes archPulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.7; }
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, rgba(201, 184, 255, 0.16), transparent 68%);
  transform: translate(-100vw, -100vh);
  transition: transform 0.12s linear;
  mix-blend-mode: screen;
}

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

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(2, 4, 16, 0.35);
}

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

.brand-seal {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201, 184, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(109, 84, 224, 0.18);
}

.brand-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.brand-copy small {
  color: var(--lilac);
  letter-spacing: 0.18em;
  font-size: 0.62rem;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: var(--mist);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--lilac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.icon-btn,
.buy-chip,
.btn,
.join-card,
.path-icon {
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
}

.icon-btn img {
  width: 15px;
  height: 15px;
}

.icon-btn:hover,
.buy-chip:hover,
.btn:hover,
.join-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 184, 255, 0.5);
  box-shadow: 0 10px 30px rgba(109, 84, 224, 0.18);
}

.buy-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 161, 90, 0.35);
  background: linear-gradient(180deg, rgba(240, 161, 90, 0.18), rgba(109, 84, 224, 0.16));
  color: var(--paper);
  font-size: 0.86rem;
}

.buy-chip img {
  width: 16px;
  height: 16px;
}

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 24px 90px;
  text-align: center;
}

.hero-orbit {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(620px, 88vw);
  height: min(620px, 88vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-portrait,
.hero-copy {
  position: relative;
  z-index: 1;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 184, 255, 0.18);
}

.ring-1 { animation: spin 36s linear infinite; }
.ring-2 { inset: 8%; border-style: dashed; animation: spin 28s linear infinite reverse; }
.ring-3 { inset: 18%; animation: spin 22s linear infinite; }

.life,
.watcher {
  position: absolute;
  border-radius: 50%;
  background: var(--lilac);
  box-shadow: 0 0 12px rgba(201, 184, 255, 0.8);
}

.life {
  width: 7px;
  height: 7px;
  animation: pulse 3.4s ease-in-out infinite;
}

.watcher {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #fff, #8b74f2 42%, #1a1438 70%);
  animation: blink 5.6s ease-in-out infinite;
}

.l1 { top: 0; left: 50%; }
.l2 { top: 12%; right: 14%; animation-delay: 0.2s; }
.l3 { top: 38%; right: 0; animation-delay: 0.4s; }
.l4 { bottom: 22%; right: 8%; animation-delay: 0.6s; }
.l5 { bottom: 0; left: 50%; animation-delay: 0.8s; }
.l6 { bottom: 18%; left: 8%; animation-delay: 1s; }
.l7 { top: 42%; left: 0; animation-delay: 1.2s; }
.l8 { top: 14%; left: 16%; animation-delay: 1.4s; }
.l9 { top: 72%; left: 78%; animation-delay: 1.6s; }

.w1 { top: -6px; left: calc(50% - 7px); }
.w2 { right: 6%; top: 28%; animation-delay: 1.1s; }
.w3 { left: 8%; bottom: 26%; animation-delay: 2.2s; }

.hero-portrait {
  position: relative;
  width: min(340px, 68vw);
  margin-bottom: 28px;
}

.hero-portrait img {
  width: 100%;
  border-radius: 50%;
  border: 1px solid rgba(216, 204, 255, 0.35);
  box-shadow:
    0 0 0 10px rgba(109, 84, 224, 0.08),
    0 30px 80px rgba(4, 6, 18, 0.45);
  animation: floaty 6.5s ease-in-out infinite;
}

.portrait-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 184, 255, 0.28), transparent 68%);
  filter: blur(12px);
  animation: breathe 5s ease-in-out infinite;
  z-index: -1;
}

.kicker {
  margin: 0 0 10px;
  color: var(--lilac);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  margin: 0;
}

h1 {
  font-size: clamp(4.2rem, 11vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
}

.title-line {
  display: block;
}

.title-line.italic {
  font-style: italic;
  background: linear-gradient(90deg, #fff, #c9b8ff 45%, #f0a15a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.symbol {
  margin: 18px 0 0;
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 161, 90, 0.35);
  color: var(--ginger);
  letter-spacing: 0.22em;
  font-size: 0.82rem;
}

.tagline {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--mist);
  font-size: 1.15rem;
  line-height: 1.6;
}

.ca-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.ca-bar:hover {
  border-color: rgba(201, 184, 255, 0.5);
}

.ca-label {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(240, 161, 90, 0.16);
  color: var(--ginger);
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.ca-value {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.ca-hint {
  color: var(--lilac);
  font-size: 0.75rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

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

.btn-solid {
  background: linear-gradient(180deg, #d8ccff, #8b74f2);
  color: #120e24;
  border-color: transparent;
  font-weight: 600;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}

section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
}

.lede {
  color: var(--fog);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-mark {
  margin: 0;
  position: relative;
}

.about-mark img {
  width: 100%;
  border-radius: 36px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.about-mark figcaption {
  margin-top: 14px;
  color: var(--lilac);
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.about-story p {
  color: var(--mist);
  font-size: 1.08rem;
  line-height: 1.8;
}

.story-end {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.5rem !important;
  color: var(--paper) !important;
}

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

.star-card {
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  position: relative;
  overflow: hidden;
}

.star-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 184, 255, 0.18), transparent 70%);
}

.star-index {
  color: var(--ginger);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.star-card h3 {
  margin: 10px 0 12px;
  font-size: 2rem;
}

.star-card p {
  margin: 0;
  color: var(--fog);
  line-height: 1.65;
}

.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.path-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.path-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 20%, rgba(201, 184, 255, 0.16), rgba(7, 11, 28, 0.4));
}

.path-icon img {
  width: 36px;
  height: 36px;
}

.path-body span {
  color: var(--ginger);
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.path-body h3 {
  margin: 6px 0 8px;
  font-size: 2rem;
}

.path-body p {
  margin: 0;
  color: var(--fog);
  line-height: 1.65;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--lilac);
  border-bottom: 1px solid rgba(201, 184, 255, 0.35);
}

.lens {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(201, 184, 255, 0.28);
  box-shadow: 0 0 0 12px rgba(109, 84, 224, 0.08), 0 40px 80px rgba(0, 0, 0, 0.3);
  background: #0a0e1d;
}

.lens-rim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(139, 116, 242, 0.12);
  z-index: 1;
}

.lens iframe {
  width: 100%;
  height: 640px;
  border: 0;
  display: block;
  background: #0a0e1d;
}

.chart-note {
  text-align: center;
  margin-top: 18px;
}

.chart-note a {
  color: var(--lilac);
}

.banner-stage {
  margin: 0;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(201, 184, 255, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.banner-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.join-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.join-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.join-card img {
  width: 22px;
  height: 22px;
}

.join-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.join-card span {
  color: var(--fog);
  font-size: 0.9rem;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 20px auto 40px;
  padding: 28px 0 10px;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--fog);
}

.footer-links {
  display: flex;
  gap: 14px;
}

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

.footer-links img {
  width: 16px;
  height: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.7); opacity: 1; }
}

@keyframes blink {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  46% { transform: scale(1); }
  50% { transform: scaleY(0.2); filter: brightness(1.4); }
  54% { transform: scale(1); }
}

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

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(8, 12, 28, 0.94);
    flex-direction: column;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .menu-btn {
    display: grid;
  }

  .buy-chip span {
    display: none;
  }

  .about-grid,
  .constellation,
  .join-row {
    grid-template-columns: 1fr;
  }

  .path-step {
    grid-template-columns: 1fr;
  }

  .lens iframe {
    height: 460px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }
}

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

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