:root {
  --void: #040910;
  --ink: #07111d;
  --navy: #0b1c34;
  --blue: #163a66;
  --glow: #2a6cb0;
  --arch: #f5f7fb;
  --cream: #f3e6d0;
  --fur: #e2c49a;
  --paper: #f6efe3;
  --mute: rgba(243, 230, 208, 0.64);
  --line: rgba(243, 230, 208, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background: var(--ink);
  font-family: Outfit, sans-serif;
  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;
}

.studio-wash,
.soft-grid,
.vignette,
.grain,
#motes,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.studio-wash {
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(42, 108, 176, 0.22), transparent 62%),
    radial-gradient(700px 480px at 12% 8%, rgba(226, 196, 154, 0.08), transparent 55%),
    linear-gradient(180deg, #081424 0%, #07111d 42%, #050d18 100%);
}

.soft-grid {
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(243, 230, 208, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 230, 208, 0.08) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 78%);
  animation: gridDrift 28s linear infinite;
}

.vignette {
  z-index: 1;
  background: radial-gradient(circle at 50% 40%, transparent 42%, rgba(4, 9, 16, 0.72) 100%);
}

.grain {
  z-index: 2;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}

#motes {
  z-index: 1;
}

.cursor-glow {
  z-index: 3;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 230, 208, 0.08), transparent 68%);
  transform: translate(-999px, -999px);
  transition: transform 0.12s linear;
}

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

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7vw;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 29, 0.42);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(7, 17, 29, 0.78);
  border-bottom-color: var(--line);
}

.brand,
.brand-copy,
.nav-actions,
.hero-cta,
.join-card,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(243, 230, 208, 0.22);
  box-shadow: 0 0 0 4px rgba(22, 58, 102, 0.35);
}

.brand-mark img,
.portrait img,
.about-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

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

.brand-copy small {
  color: var(--mute);
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}

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

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--cream);
  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-actions {
  gap: 10px;
}

.icon-btn,
.buy-chip,
.btn,
.join-card {
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 28, 52, 0.6);
}

.icon-btn img,
.buy-chip img,
.btn img,
.join-card img,
.footer-links img {
  width: 16px;
  height: 16px;
}

.icon-btn:hover,
.buy-chip:hover,
.btn:hover,
.join-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 230, 208, 0.42);
}

.buy-chip,
.btn {
  gap: 10px;
  border-radius: 999px;
  padding: 11px 18px;
}

.buy-chip,
.btn-solid {
  background: linear-gradient(180deg, #f6efe3, #e2c49a);
  color: #0b1c34;
  border-color: transparent;
}

.btn-ghost {
  background: rgba(11, 28, 52, 0.45);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
}

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

.hero,
.about,
.howtobuy,
.chart,
.joinus {
  padding: 92px 7vw;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.92;
}

h1 span {
  display: block;
  color: var(--mute);
  font-size: 0.42em;
  letter-spacing: 0.02em;
}

h1 em {
  display: block;
  font-style: italic;
  color: var(--cream);
}

.symbol {
  margin: 18px 0 0;
  letter-spacing: 0.28em;
  color: var(--fur);
}

.lede,
.about-copy p,
.step p,
.footer p,
.chart-note,
figcaption {
  color: var(--mute);
  line-height: 1.7;
}

.hero .lede {
  max-width: 34rem;
}

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

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: end center;
}

.stage-glow {
  position: absolute;
  inset: 8% 12% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 108, 176, 0.38), transparent 68%);
  filter: blur(18px);
  animation: breathe 6s ease-in-out infinite;
}

.arch-mark {
  position: absolute;
  width: 92%;
  top: 0;
  left: 4%;
}

.arch-draw {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: drawArch 2.4s var(--ease) forwards, archPulse 7s 2.4s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(245, 247, 251, 0.18);
}

.ring-a {
  width: 78%;
  aspect-ratio: 1;
  top: 8%;
  animation: spin 36s linear infinite;
}

.ring-b {
  width: 92%;
  aspect-ratio: 1;
  top: 2%;
  border-style: dotted;
  animation: spin 54s linear infinite reverse;
}

.portrait {
  position: relative;
  width: min(360px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: floatCat 5.5s ease-in-out infinite;
}

.stage-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(11, 28, 52, 0.35);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--fur);
}

.ticker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.4;
}

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

h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

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

.about-plate {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 17, 29, 0.72));
}

.about-plate img {
  aspect-ratio: 4 / 5;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.about-plate figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.about-copy p + p {
  margin-top: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 36px 0 0;
}

.facts div {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--fur);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

dd {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  background: rgba(11, 28, 52, 0.42);
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cream), transparent);
  transform: scaleY(0);
  transform-origin: top;
  animation: riseLine 1.2s var(--ease) forwards;
}

.step span {
  display: block;
  margin: 18px 0 8px;
  color: var(--fur);
  letter-spacing: 0.18em;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.step-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 230, 208, 0.06);
  border: 1px solid var(--line);
}

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

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--cream);
  border-bottom: 1px solid rgba(243, 230, 208, 0.35);
}

.chart-frame {
  position: relative;
  height: 640px;
  border: 1px solid var(--line);
  background: #07111d;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-shine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(243, 230, 208, 0.06), transparent);
  animation: scan 5.5s linear infinite;
  pointer-events: none;
}

.chart-note {
  margin: 18px 0 0;
}

.chart-note a {
  border-bottom: 1px solid rgba(243, 230, 208, 0.35);
}

.paper-stage {
  position: relative;
  margin: 0 0 36px;
  padding: 18px;
  background:
    linear-gradient(180deg, #fbf6ec, #efe4d0);
  box-shadow: var(--shadow);
  transform: rotate(-0.4deg);
  animation: paperSettle 1.2s var(--ease) both;
}

.pin {
  position: absolute;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c9b48d 55%, #8d7348);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.pin-a { left: 22px; }
.pin-b { right: 22px; }

.banner-frame {
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #efe6d4;
}

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

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

.join-card {
  gap: 14px;
  padding: 22px 20px;
  background: rgba(11, 28, 52, 0.5);
}

.join-card strong,
.join-card span {
  display: block;
}

.join-card span {
  color: var(--mute);
  margin-top: 4px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px 7vw 48px;
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 34rem;
  margin: 0;
  font-size: 0.92rem;
}

.footer-links {
  gap: 10px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
}

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

@keyframes drawArch {
  to { stroke-dashoffset: 0; }
}

@keyframes archPulse {
  0%, 100% { opacity: 0.86; }
  50% { opacity: 1; }
}

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

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

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

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

@keyframes grainShift {
  to { transform: translate3d(-3%, 2%, 0); }
}

@keyframes gridDrift {
  to { background-position: 88px 88px; }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes riseLine {
  to { transform: scaleY(1); }
}

@keyframes scan {
  from { transform: translateX(-120%); }
  to { transform: translateX(420%); }
}

@keyframes slowZoom {
  to { transform: scale(1.1); }
}

@keyframes paperSettle {
  from { opacity: 0; transform: translateY(24px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(-0.4deg); }
}

@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .steps,
  .join-row,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-stage {
    min-height: 460px;
    order: -1;
  }

  .nav-links {
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 7vw 22px;
    background: rgba(7, 17, 29, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav-links a {
    padding: 12px 0;
  }

  .menu-btn {
    display: block;
  }

  .buy-chip span {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav,
  .hero,
  .about,
  .howtobuy,
  .chart,
  .joinus,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .chart-frame {
    height: 480px;
  }

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