:root {
  --sky: #07101f;
  --navy: #10264d;
  --blue: #1d4ed8;
  --cape: #d0122d;
  --cape-deep: #8d0b1e;
  --gold: #f0c14a;
  --gold-2: #ffe7a3;
  --cream: #f6f0e4;
  --muted: rgba(246, 240, 228, 0.72);
  --line: rgba(240, 193, 74, 0.35);
  --glass: rgba(7, 16, 31, 0.62);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  font-family: "Outfit", sans-serif;
  font-weight: 420;
  background:
    radial-gradient(1100px 640px at 82% -8%, rgba(90, 150, 255, 0.38), transparent 58%),
    radial-gradient(820px 520px at 6% 18%, rgba(208, 18, 45, 0.32), transparent 56%),
    radial-gradient(900px 560px at 74% 108%, rgba(240, 193, 74, 0.16), transparent 52%),
    linear-gradient(180deg, #06101e 0%, #0b1b38 42%, #16315f 74%, #10182c 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, video { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

#sky, .clouds, .cape-wash, .halftone, .grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#sky { z-index: 0; width: 100%; height: 100%; }
.clouds { z-index: 0; overflow: hidden; }
.clouds span {
  position: absolute;
  height: 180px;
  width: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 70%);
  filter: blur(8px);
  animation: drift 70s linear infinite;
}
.clouds span:nth-child(1) { top: 12%; left: -20%; }
.clouds span:nth-child(2) { top: 38%; left: -10%; width: 60vw; animation-duration: 96s; opacity: 0.7; }
.clouds span:nth-child(3) { top: 68%; left: -30%; animation-duration: 84s; animation-delay: -20s; }
.cape-wash {
  z-index: 0;
  background: linear-gradient(115deg, transparent 36%, rgba(208, 18, 45, 0.18) 48%, transparent 60%);
  background-size: 220% 100%;
  animation: cape 16s ease-in-out infinite;
  mix-blend-mode: screen;
}
.halftone {
  z-index: 1;
  opacity: 0.18;
  background-image: radial-gradient(rgba(246, 240, 228, 0.45) 0.7px, transparent 0.8px);
  background-size: 7px 7px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.grain {
  z-index: 2;
  opacity: 0.15;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

.nav, .ticker, main, .footer { position: relative; z-index: 4; }

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(6, 14, 28, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 193, 74, 0.16);
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(208, 18, 45, 0.35);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--gold-2); }
.nav-buy {
  color: var(--sky) !important;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 650;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 12px;
  background: var(--gold);
}

.ticker {
  border-bottom: 1px solid rgba(240, 193, 74, 0.2);
  background: rgba(208, 18, 45, 0.88);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 8px 0;
  animation: ticker 32s linear infinite;
}
.ticker span {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.16em;
  font-size: 1.15rem;
}
.ticker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.hero {
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4vw;
  align-items: center;
  padding: 6vh 6vw 90px;
  position: relative;
}
.kicker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.kicker span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--gold-2);
}
.hero h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(5.4rem, 13vw, 11rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
}
.hero h1 span {
  display: block;
  animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  animation-delay: 0.12s;
}
.lede {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
  max-width: 38rem;
  margin: 22px 0 10px;
}
.deck {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 26px;
}
.hero-actions, .buy-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 650;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}
.btn img { display: block; }
.btn-cape {
  background: linear-gradient(180deg, #f0263f, var(--cape) 45%, var(--cape-deep));
  color: white;
  box-shadow: 0 12px 30px rgba(208, 18, 45, 0.35);
}
.btn-cape::after, .door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35), transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.8s ease-in-out infinite;
}
.btn-ghost {
  border-color: var(--line);
  background: rgba(7, 16, 31, 0.35);
  color: var(--gold-2);
}
.btn:hover { transform: translateY(-2px); }

.contract {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  text-align: left;
  background: rgba(7, 16, 31, 0.55);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px 10px 16px;
  cursor: pointer;
}
.contract small, .contract em {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  font-size: 0.68rem;
  color: var(--gold);
}
.contract code {
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.contract em {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.contract.copied em { color: var(--sky); background: var(--gold); }

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.portrait {
  margin: 0;
  width: min(100%, 440px);
  position: relative;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 46% 46% 28px 28px;
  border: 3px solid var(--gold);
  box-shadow: inset 0 0 0 8px rgba(208, 18, 45, 0.55);
}
.portrait figcaption {
  position: absolute;
  left: 8%;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  background: rgba(7, 16, 31, 0.72);
  border: 1px solid var(--line);
  padding: 8px 14px 10px;
  border-radius: 14px;
}
.portrait strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 0.8;
}
.orbit {
  position: absolute;
  width: min(92%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(240, 193, 74, 0.55);
  animation: spin 22s linear infinite;
}
.orbit-b {
  width: min(74%, 390px);
  border-style: solid;
  border-color: rgba(208, 18, 45, 0.45);
  animation-direction: reverse;
  animation-duration: 16s;
}
.seal {
  position: absolute;
  right: 6%;
  top: 12%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 40% 35%, #ff5168, var(--cape) 55%, var(--cape-deep));
  border: 2px solid var(--gold);
  transform: rotate(12deg);
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite reverse;
}
.seal b {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  line-height: 0.8;
}
.seal span {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.62rem;
}
.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  fill: rgba(6, 12, 24, 0.88);
}

.panel { padding: 80px 6vw; }
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 34px;
}
.index {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  line-height: 0.8;
  margin: 0;
  color: var(--gold);
}
.section-head h2, .subhead h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  font-weight: 400;
  margin: 0;
}
.section-head h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 0.9; }
.section-head p, .subhead p { margin: 8px 0 0; color: var(--muted); max-width: 40rem; }
.subhead { margin: 54px 0 18px; }
.subhead h3 { font-size: 2.4rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
}
.story {
  background: var(--glass);
  border: 1px solid rgba(246, 240, 228, 0.08);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.pull {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 16px;
}
.story p { line-height: 1.7; color: var(--muted); }
.story .pull { color: var(--cream); }
.traits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.traits li {
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.28), rgba(7, 16, 31, 0.4));
  border: 1px solid rgba(240, 193, 74, 0.22);
  border-radius: 18px;
  padding: 16px;
  min-height: 92px;
}
.traits span {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.traits strong { font-size: 1.2rem; font-weight: 650; }

.mosaic {
  columns: 3 220px;
  column-gap: 12px;
}
.mosaic a {
  display: block;
  margin: 0 0 12px;
  break-inside: avoid;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(240, 193, 74, 0.2);
  position: relative;
}
.mosaic img {
  width: 100%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}
.mosaic a:hover img { transform: scale(1.08); }
.mosaic a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 16, 31, 0.35));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mosaic a:hover::after { opacity: 1; }

.reels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 32vw);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.reels figure {
  margin: 0;
  scroll-snap-align: start;
  background: rgba(7, 16, 31, 0.55);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.reels video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #05070d;
}
.reels figcaption {
  padding: 10px 14px 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-2);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.steps li {
  background: rgba(7, 16, 31, 0.58);
  border-radius: 24px;
  padding: 22px 20px 26px;
  border: 1px solid rgba(246, 240, 228, 0.08);
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.steps li::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 20%;
  height: 120px;
  background: repeating-linear-gradient(-18deg, transparent 0 10px, rgba(208, 18, 45, 0.25) 10px 12px);
  transform: rotate(-8deg);
}
.steps span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
}
.steps h3 { margin: 8px 0; font-size: 1.25rem; position: relative; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; position: relative; }
.buy-bar { margin-top: 22px; }
.buy-bar .contract { margin-top: 0; }

.chart-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 8px rgba(208, 18, 45, 0.18), var(--shadow);
  background: #0b1020;
  animation: glow 5.5s ease-in-out infinite;
}
.chart-frame iframe {
  display: block;
  width: 100%;
  height: min(78vh, 720px);
  border: 0;
}
.chart-link { margin-top: 16px; }

.banner {
  margin: 0;
  aspect-ratio: 3 / 1;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(208, 18, 45, 0.28), var(--shadow);
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  animation: ken 18s ease-in-out infinite alternate;
}
.doors {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.door {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 180px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(29, 78, 216, 0.25), rgba(7, 16, 31, 0.72));
  border: 1px solid var(--line);
}
.door img { margin-bottom: 8px; }
.door span {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}
.door strong { font-size: 1.45rem; }
.door em { font-style: normal; color: var(--muted); }
.door:hover { transform: translateY(-4px); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6vw 40px;
  border-top: 1px solid rgba(240, 193, 74, 0.16);
  color: var(--muted);
}
.footer strong {
  display: block;
  color: var(--cream);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}
.footer p { margin: 0; max-width: 38rem; line-height: 1.5; }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(4, 8, 16, 0.86); }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 18px;
  border: 2px solid var(--gold);
}
.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  color: var(--gold-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s ease forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(140vw); }
}
@keyframes cape {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes shine {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 8px rgba(208, 18, 45, 0.16), var(--shadow); }
  50% { box-shadow: 0 0 0 8px rgba(240, 193, 74, 0.28), 0 0 40px rgba(240, 193, 74, 0.18); }
}
@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 20px;
    background: rgba(7, 16, 31, 0.94);
    border: 1px solid var(--line);
  }
  body.nav-open .nav-links { display: flex; }
  .hero, .about-grid, .steps, .doors, .footer {
    grid-template-columns: 1fr;
    display: grid;
  }
  .hero { padding-top: 36px; }
  .hero-stage { min-height: 460px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer { display: flex; flex-direction: column; }
}
@media (max-width: 640px) {
  .steps, .doors, .traits { grid-template-columns: 1fr; }
  .hero h1 { font-size: 5.2rem; }
  .contract code { font-size: 0.68rem; }
  .banner { aspect-ratio: 3 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
