/* ═══════════════════════════════════════════════════════
   IGNI — The Money Dragon
   Palette sampled from the crest + dragon artwork
   ═══════════════════════════════════════════════════════ */

:root {
  /* gold, as a foil ramp — highlight → mid → shadow */
  --g-100: #FFF7E2;
  --g-200: #F6DFA4;
  --g-300: #E3B049;
  --g-400: #C08D2A;
  --g-500: #8E6318;

  /* neon, from the wings */
  --violet:    #7C3AED;
  --violet-lt: #A78BFA;
  --cyan:      #22D3EE;
  --cyan-lt:   #8BEBF9;

  /* ground */
  --ink:   #050308;

  /* type */
  --fg:      #F2ECE2;
  --fg-mid:  #A79DB0;
  --fg-dim:  #6E6579;

  --hair: rgba(227, 176, 73, .14);

  --display: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif:   "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.16, 1, .3, 1);

  /* metallic fill for large type */
  /* vertical variant — identical bands on every glyph, so per-character
     background-clip stays consistent across narrow and wide letters */
  --foil-v: linear-gradient(
      180deg,
      var(--g-100)  0%,
      var(--g-200) 20%,
      var(--g-300) 42%,
      var(--g-500) 58%,
      var(--g-200) 74%,
      var(--g-400) 90%,
      var(--g-500) 100%);

  --foil: linear-gradient(
      172deg,
      var(--g-100)  0%,
      var(--g-200) 18%,
      var(--g-300) 38%,
      var(--g-500) 54%,
      var(--g-200) 70%,
      var(--g-400) 88%,
      var(--g-500) 100%);
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }

/* ═══════════════ ATMOSPHERE ═══════════════ */
.atmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* layered gradient mesh — the depth the flat version was missing */
.atmos__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38vw 38vw at 74% 8%,  rgba(124,  58, 237, .30), transparent 62%),
    radial-gradient(30vw 30vw at 20% 30%, rgba( 34, 211, 238, .14), transparent 64%),
    radial-gradient(46vw 34vw at 52% 92%, rgba(227, 176,  73, .17), transparent 68%),
    radial-gradient(28vw 28vw at 90% 62%, rgba(124,  58, 237, .13), transparent 66%);
  filter: blur(12px);
  animation: mesh 26s ease-in-out infinite alternate;
}
@keyframes mesh {
  from { transform: scale(1)      translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-2%, 1.5%, 0); }
}

#embers { position: absolute; inset: 0; }

/* film grain — kills the flat digital look */
.atmos__grain {
  position: absolute;
  inset: -50%;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(5) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
}

.atmos__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 95% at 50% 38%, transparent 52%, rgba(5, 3, 8, .58) 100%);
}

/* scroll progress hairline */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--g-500), var(--g-300) 45%, var(--g-100));
  box-shadow: 0 0 12px rgba(227, 176, 73, .7);
  transition: width .1s linear;
}

/* ═══════════════ PRIMITIVES ═══════════════ */
.shell {
  width: min(1200px, 100% - 3.5rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.shell--tight { width: min(760px, 100% - 3.5rem); }

.sec {
  position: relative;
  z-index: 1;
  padding: clamp(4.25rem, 8.5vh, 7rem) 0;
}

/* editorial section label:  01 ──── Origin */
.label {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.6rem;
}
.label__num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--g-300);
}
.label__rule {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--g-300), transparent);
}
.label__txt {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fg-mid);
}

/* headings — metallic foil */
.h2 {
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 2rem;
}
.h2 > .mask > span {
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h2--mid { text-align: center; }

/* mask reveal — text rises from behind a clipped line */
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
.mask > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.05s var(--ease);
}
.reveal.is-in .mask > span,
.mask.is-in > span { transform: none; }

/* two-column section header */
.sec__head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 2.5rem;
  margin-bottom: 3.6rem;
}
.sec__head .h2 { margin-bottom: 0; }
.sec__aside {
  font-size: 1.02rem;
  color: var(--fg-mid);
  max-width: 34ch;
  padding-bottom: .4rem;
}
.sec__aside em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--g-200);
  font-size: 1.1em;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  --pad: 1rem 2.1rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: var(--pad);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .3s;
}
.btn > span { position: relative; z-index: 2; }

/* gold: foil face + shine sweep on hover */
.btn--gold {
  color: #241705;
  background: linear-gradient(168deg, var(--g-100), var(--g-200) 30%, var(--g-300) 62%, var(--g-400));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .5) inset,
    0 10px 30px -8px rgba(227, 176, 73, .55);
  font-weight: 700;
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 1;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, .72) 50%, transparent 62%);
  transform: translateX(-115%);
  transition: transform .85s var(--ease);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .6) inset,
    0 16px 42px -8px rgba(227, 176, 73, .7);
}
.btn--gold:hover::after { transform: translateX(115%); }

/* outline */
.btn--line {
  color: var(--fg);
  background: rgba(255, 255, 255, .022);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(227, 176, 73, .3) inset;
}
.btn--line:hover {
  transform: translateY(-3px);
  color: var(--cyan-lt);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, .55) inset,
    0 12px 34px -12px rgba(34, 211, 238, .5);
}

/* text-only */
.btn--bare {
  padding: .8rem .4rem;
  color: var(--fg-mid);
  font-size: .875rem;
}
.btn--bare > span {
  box-shadow: 0 1px 0 rgba(167, 157, 176, .35);
  padding-bottom: 2px;
  transition: box-shadow .3s, color .3s;
}
.btn--bare:hover { color: var(--g-200); }
.btn--bare:hover > span { box-shadow: 0 1px 0 var(--g-300); }

.btn--sm { --pad: .68rem 1.35rem; font-size: .8rem; }
.btn--lg { --pad: 1.15rem 2.6rem; font-size: .95rem; }

/* link with no URL configured yet */
.is-soon {
  opacity: .42;
  cursor: not-allowed;
  filter: saturate(.35);
}
.is-soon:hover { transform: none; }

/* one suffix only — .social has several child spans (icon label + arrow),
   so an unscoped `> span::after` would stamp "soon" on each of them */
.btn.is-soon > span::after,
.social.is-soon > .social__txt::after {
  content: " · soon";
  font-size: .8em;
  letter-spacing: .08em;
}

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.35rem clamp(1.25rem, 3.5vw, 2.75rem);
  transition: padding .45s var(--ease), background .45s, backdrop-filter .45s;
}
.nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair) 20%, var(--hair) 80%, transparent);
  opacity: 0;
  transition: opacity .45s;
}
.nav.is-stuck {
  padding-block: .8rem;
  background: rgba(5, 3, 8, .7);
  backdrop-filter: blur(20px) saturate(160%);
}
.nav.is-stuck::after { opacity: 1; }

.brand {
  display: flex;
  align-items: center;
  gap: .72rem;
}
.brand__coin {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand__coin img {
  width: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(227, 176, 73, .45));
}
.brand__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 55%, var(--g-300), transparent);
  animation: spin 5s linear infinite;
  opacity: .8;
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%);
          mask: radial-gradient(circle, transparent 62%, #000 64%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.brand__type {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: .16em;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__links {
  display: flex;
  gap: 2.1rem;
  margin-left: auto;
  font-size: .845rem;
  font-weight: 500;
}
.nav__links a { color: var(--fg-mid); transition: color .3s; }
.nav__links a > span {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding-bottom: 3px;
}
.nav__links a > span::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--g-300), var(--violet-lt));
  transform: translateX(-101%);
  transition: transform .55s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover > span::after { transform: none; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03);
  box-shadow: 0 0 0 1px rgba(227, 176, 73, .3) inset;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--g-200);
  transition: transform .45s var(--ease), opacity .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
}

/* cursor-follow spotlight */
.hero__spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
      22rem 22rem at var(--mx, 50%) var(--my, 40%),
      rgba(227, 176, 73, .13), transparent 70%);
  opacity: 0;
  transition: opacity .7s;
}
.hero.is-live .hero__spot { opacity: 1; }

.hero__grid {
  width: min(1200px, 100% - 3.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .42rem 1rem .42rem .8rem;
  margin-bottom: 1.7rem;
  border-radius: 100px;
  box-shadow: 0 0 0 1px var(--hair) inset;
  background: rgba(255, 255, 255, .02);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-mid);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-300);
  box-shadow: 0 0 0 0 rgba(227, 176, 73, .6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(227, 176, 73, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(227, 176, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 176, 73, 0); }
}

.hero__title { margin-bottom: 1.8rem; }

.hero__kicker {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  font-style: italic;
  letter-spacing: .01em;
  color: var(--cyan-lt);
  text-shadow: 0 0 26px rgba(34, 211, 238, .45);
  margin-bottom: .35rem;
}

/* the wordmark — foil fill, neon bloom behind, shine sweep across */
.wordmark {
  display: block;
  position: relative;
  font-size: clamp(4.8rem, 15.5vw, 11rem);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.05em;
}
.wordmark .ch {
  display: inline-block;
  background: var(--foil-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(.42em) rotate(3deg);
  opacity: 0;
  transition: transform 1.15s var(--ease), opacity .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.wordmark.is-in .ch { transform: none; opacity: 1; }

.wordmark::before {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(46px);
  opacity: .5;
  animation: bloom 5.5s ease-in-out infinite;
}
@keyframes bloom {
  0%,100% { opacity: .3; filter: blur(40px); }
  50%     { opacity: .6; filter: blur(58px); }
}

.hero__lede {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  font-weight: 300;
  line-height: 1.68;
  color: var(--fg-mid);
  max-width: 33ch;
  margin-bottom: 2.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2.2rem;
}

/* contract pill */
.ca {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  max-width: 100%;
  padding: .5rem .5rem .5rem 1.15rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--hair) inset;
}
.ca__key {
  flex-shrink: 0;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g-300);
}
.ca__val {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .78rem;
  letter-spacing: -.01em;
  color: var(--fg-mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem .95rem;
  border-radius: 100px;
  background: rgba(227, 176, 73, .12);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--g-200);
  transition: background .3s, color .3s;
}
.ca__btn svg { width: 13px; height: 13px; fill: currentColor; }
.ca__btn:hover {
  background: linear-gradient(160deg, var(--g-200), var(--g-300));
  color: #241705;
}
.ca__btn.is-done {
  background: linear-gradient(160deg, var(--cyan-lt), var(--cyan));
  color: #05242B;
}

/* ── dragon stage ── */
.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__halo {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(124, 58, 237, .55),
      rgba(34, 211, 238, .2) 46%,
      transparent 68%);
  filter: blur(55px);
  animation: halo 7s ease-in-out infinite;
}
@keyframes halo {
  0%,100% { transform: scale(1);    opacity: .7; }
  50%     { transform: scale(1.16); opacity: 1; }
}


/* transparent cutout — lit from below with its own neon bloom */
.hero__dragon {
  position: relative;
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  filter:
    drop-shadow(0 0 34px rgba(124, 58, 237, .55))
    drop-shadow(0 0 90px rgba(34, 211, 238, .28))
    drop-shadow(0 34px 42px rgba(0, 0, 0, .65));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-20px); }
}

/* scroll cue */
.cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  translate: -50% 0;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: .6rem;
}
.cue__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--g-300));
  transform-origin: top;
  animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
  0%,100% { transform: scaleY(.35); opacity: .3; }
  50%     { transform: scaleY(1);   opacity: 1; }
}
.cue__txt {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ═══════════════ TICKER ═══════════════ */
.ticker {
  position: relative;
  z-index: 1;
  padding: 1.15rem 0;
  border-block: 1px solid var(--hair);
  background: rgba(255, 255, 255, .015);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__row {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker__set {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
}
.ticker__set span {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-style: italic;
  white-space: nowrap;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ticker__set i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet-lt);
  box-shadow: 0 0 10px var(--violet);
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════ ORIGIN ═══════════════ */
.lore {
  display: grid;
  gap: 1.5rem;
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  font-weight: 300;
  line-height: 1.82;
  color: var(--fg-mid);
}
.lore em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12em;
  color: var(--g-200);
}
.lore__drop { color: var(--fg); }

/* drop cap */
.lore__drop::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.7em;
  line-height: .78;
  padding: .06em .12em 0 0;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pull {
  position: relative;
  margin-top: 3.4rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.4vw, 2.9rem);
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -.015em;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pull__mark {
  position: absolute;
  top: 1.1rem;
  left: -.5em;
  font-size: 2.2em;
  opacity: .55;
}
.pull__flame {
  -webkit-text-fill-color: initial;
  font-size: .8em;
}

/* ═══════════════ CREED ═══════════════ */
.creed__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.panel {
  position: relative;
  padding: 2.4rem 1.75rem 2rem;
  border-radius: 18px;
  background: linear-gradient(168deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .008));
  isolation: isolate;
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
/* gradient hairline */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg,
      rgba(227, 176, 73, .45),
      rgba(227, 176, 73, .06) 38%,
      rgba(124, 58, 237, .2) 72%,
      rgba(227, 176, 73, .28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
/* pointer-follow sheen */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(14rem 14rem at var(--px, 50%) var(--py, 0%),
      rgba(124, 58, 237, .3), transparent 68%);
  opacity: 0;
  transition: opacity .5s;
}
.panel:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px -28px rgba(124, 58, 237, .7);
}
.panel:hover::after { opacity: 1; }

.panel__idx {
  position: absolute;
  top: 1.5rem;
  right: 1.7rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--g-500);
}
.panel__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--g-300);
}
.panel__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 14px rgba(227, 176, 73, .5));
}
.panel h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: .55rem;
  color: var(--fg);
}
.panel p {
  font-size: .93rem;
  font-weight: 300;
  line-height: 1.68;
  color: var(--fg-mid);
}

/* ═══════════════ STEPS ═══════════════ */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hair);
}

.step {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.1rem .5rem;
  border-bottom: 1px solid var(--hair);
  transition: background .5s, padding-left .5s var(--ease);
}
.step:hover {
  background: linear-gradient(90deg, rgba(227, 176, 73, .05), transparent 70%);
  padding-left: 1.2rem;
}

.step__n {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(170deg, var(--g-200), var(--g-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .55;
  transition: opacity .45s;
}
.step:hover .step__n { opacity: 1; }

.step__body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.022em;
  margin-bottom: .4rem;
}
.step__body p {
  font-size: .96rem;
  font-weight: 300;
  line-height: 1.68;
  color: var(--fg-mid);
  max-width: 54ch;
}
.step__body strong {
  font-weight: 500;
  color: var(--cyan-lt);
}

.buy__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 3rem;
}

/* ═══════════════ COMMUNITY ═══════════════ */
.community { text-align: center; }

.crest {
  position: relative;
  width: clamp(150px, 26vw, 215px);
  aspect-ratio: 1;
  margin: 0 auto 2.4rem;
  display: grid;
  place-items: center;
}
.crest img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 50%;
  animation: float 9s ease-in-out infinite;
}
.crest__aura {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 176, 73, .5), transparent 66%);
  filter: blur(34px);
  animation: halo 6s ease-in-out infinite;
}
.crest__spin {
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 58%, var(--g-300), transparent 88%);
  -webkit-mask: radial-gradient(circle, transparent 68%, #000 70%);
          mask: radial-gradient(circle, transparent 68%, #000 70%);
  animation: spin 16s linear infinite;
}

.community__sub {
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  font-weight: 300;
  color: var(--fg-mid);
  max-width: 40ch;
  margin: -.8rem auto 3rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
}

.social {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 1.25rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, .025);
  box-shadow: 0 0 0 1px var(--hair) inset;
  font-size: .9rem;
  font-weight: 500;
  transition: transform .5s var(--ease), box-shadow .5s, background .4s;
}
.social svg {
  width: 17px;
  height: 17px;
  fill: var(--g-300);
  transition: fill .35s;
}
.social__arrow {
  font-size: .8rem;
  color: var(--fg-dim);
  transition: transform .45s var(--ease), color .35s;
}
.social:hover {
  transform: translateY(-4px);
  background: rgba(227, 176, 73, .06);
  box-shadow:
    0 0 0 1px rgba(227, 176, 73, .45) inset,
    0 14px 36px -14px rgba(227, 176, 73, .55);
}
.social:hover svg { fill: var(--g-100); }
.social:hover .social__arrow {
  transform: translate(3px, -3px);
  color: var(--g-200);
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--hair);
  overflow: hidden;
}

/* oversized wordmark watermark */
.footer__watermark {
  position: absolute;
  left: 50%;
  bottom: -.34em;
  translate: -50% 0;
  font-size: clamp(7rem, 26vw, 22rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(180deg, rgba(227, 176, 73, .11), transparent 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer__tag {
  margin-top: .9rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--g-200);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: .875rem;
  color: var(--fg-mid);
}
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: var(--g-200); }

.footer__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair) 25%, var(--hair) 75%, transparent);
  margin-bottom: 1.8rem;
}

.footer__legal {
  max-width: 66ch;
  font-size: .785rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg-dim);
  margin-bottom: 1.8rem;
}

.footer__copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ═══════════════ REVEAL ═══════════════ */
.reveal:not(.mask) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* a .reveal that only wraps a mask shouldn't double up */
.reveal:has(> .mask) { opacity: 1; transform: none; }

/* fallback for artwork that fails to load */
.img-missing {
  min-height: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(227, 176, 73, .35) inset;
  background: radial-gradient(circle, rgba(124, 58, 237, .2), transparent 66%);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1000px) {
  .hero { min-height: auto; padding-top: 7rem; }
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .hero__copy { order: 2; }
  .hero__stage { order: 1; max-width: 520px; margin-inline: auto; }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .cue { display: none; }

  /* the dragon must not push the wordmark and CTA below the fold */
  .hero__dragon { max-height: 46svh; width: auto; }

  .sec__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }
  .sec__aside { max-width: 46ch; }

  /* slide-down sheet */
  .nav__links {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 5.8rem 1.75rem 1.9rem;
    background: rgba(5, 3, 8, .96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--hair);
    font-size: 1.02rem;
    transform: translateY(-102%);
    transition: transform .65s var(--ease);
  }
  .nav__links a {
    padding: 1.05rem .2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    color: var(--fg);
  }
  .nav__links a > span::after { display: none; }
  .nav__links.is-open { transform: none; }

  .burger { display: flex; }
  .nav__cta { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .shell, .shell--tight, .hero__grid { width: calc(100% - 2.2rem); }
  .sec { padding: 4.5rem 0; }

  .ca {
    flex-wrap: wrap;
    justify-content: center;
    padding: .9rem;
    border-radius: 16px;
  }
  .ca__val { font-size: .72rem; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .step {
    grid-template-columns: 1fr;
    gap: .5rem;
    padding: 1.7rem .2rem;
  }
  .step__n { font-size: 1.7rem; }
  .step:hover { padding-left: .2rem; }

  .pull__mark { display: none; }
  .buy__foot { flex-direction: column; align-items: stretch; }
  .buy__foot .btn--gold { width: 100%; }
  .ticker__set span { font-size: 1.05rem; }
  .social { width: 100%; justify-content: center; }
}

/* ═══════════════ A11Y ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal:not(.mask) { opacity: 1; transform: none; }
  .mask > span, .wordmark .ch { transform: none; opacity: 1; }
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
