@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-900.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-900-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/space-grotesk-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #2b1237;
  --paper: #fce4ce;
  --cream: #fff0d9;
  --red: #e92a3b;
  --deep-red: #b81836;
  --pink: #f897b5;
  --lilac: #d5b5f4;
  --yellow: #ffdc73;
  --market: #25112e;
  --display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --body: 'Space Grotesk', Arial, sans-serif;
  --texture: radial-gradient(circle, #4d145715 .55px, transparent .8px) 0 0 / 4px 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }

.wrap {
  width: min(100% - clamp(36px, 10vw, 152px), 1260px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 8px auto auto 8px;
  padding: .75rem 1rem;
  transform: translateY(-150%);
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-weight: 700;
}

.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 3px solid var(--ink);
  background: var(--texture), var(--paper);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 900 clamp(1.28rem, 2.3vw, 2rem)/.9 var(--display);
  white-space: nowrap;
  letter-spacing: -.015em;
}

.brand img { object-fit: contain; flex: none; }
.brand-accent { margin-left: .14em; color: var(--deep-red); }

.navigation { display: flex; align-items: center; gap: clamp(16px, 3.2vw, 48px); }
.navigation a, .back-top {
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.navigation a { display: inline-flex; align-items: center; min-height: 44px; }
.navigation a:hover, .back-top:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-height: 53px;
  padding: .55rem .9rem;
  border: 2px solid var(--ink);
  border-radius: 7px;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  background: var(--cream);
  font: 900 clamp(1.05rem, 2vw, 1.36rem)/1 var(--display);
  letter-spacing: .028em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.action img { flex: none; object-fit: contain; }
.action:hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 6px 7px 0 var(--ink); }
.action:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.action-buy { background: var(--yellow); }
.action-social { background: var(--cream); }
.action-social img { filter: brightness(0); }
.action-dex { background: var(--pink); }
.action-road { background: #e1c9fd; }
.header-buy { justify-self: end; min-height: 46px; }
.header-buy .header-ticker { margin-left: -.26em; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    var(--texture),
    radial-gradient(ellipse at 76% 52%, #f6a6c2b3, transparent 54%),
    linear-gradient(144deg, #946ed2 0%, #c5a6ed 22%, #ead1f6 40%, #c7aded 55%, #9270d0 100%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  content: '';
  inset: 0;
  background: linear-gradient(145deg, transparent 44%, #ffecd958 44.5%, #ffecd91c 54%, transparent 54.5%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  padding-block: clamp(62px, 6vw, 86px) clamp(70px, 7vw, 108px);
}

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

.token-tag {
  display: inline-flex;
  align-items: center;
  gap: .47em;
  margin: 0 0 16px 4px;
  padding: .32em .67em;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  font: 700 1rem/1.1 var(--body);
  letter-spacing: .08em;
  transform: rotate(-5deg);
}

.token-tag span { color: var(--deep-red); }

.hero-title {
  margin: 0;
  font: 900 clamp(5.3rem, 11.4vw, 10.9rem)/.73 var(--display);
  letter-spacing: -.032em;
  text-transform: uppercase;
}

.hero-title em {
  display: block;
  margin: .16em 0 .02em -.018em;
  color: var(--red);
  -webkit-text-stroke: .025em var(--ink);
  paint-order: stroke fill;
  text-shadow: .035em .047em 0 var(--ink);
}

.hero-title em span { color: #ff759b; }
.hero-description {
  max-width: 29ch;
  margin: 27px 0 25px;
  font-size: clamp(1rem, 1.65vw, 1.32rem);
  font-weight: 600;
  line-height: 1.35;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 397px);
  gap: 12px 14px;
}

.hero-art { position: relative; margin: 0; min-width: 0; }

.art-frame {
  position: relative;
  transform: rotate(2.4deg);
  background: #a47bc7;
  border: 4px solid var(--ink);
  outline: 2px solid #ffd7d0;
  outline-offset: -6px;
  border-radius: 12px;
  box-shadow: 9px 11px 0 var(--ink);
  overflow: hidden;
}

.launch-art { width: 100%; height: auto; aspect-ratio: 1; }

.art-sticker {
  position: absolute;
  right: -4%;
  bottom: 3%;
  display: grid;
  place-items: center;
  width: clamp(97px, 12vw, 176px);
  aspect-ratio: 1;
  padding: 13px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 5px 6px 0 var(--ink);
  background: repeating-conic-gradient(#ffc85080 0deg 14deg, transparent 14deg 28deg), var(--yellow);
  text-align: center;
  font: italic 900 clamp(1.28rem, 2.5vw, 2.45rem)/.81 var(--display);
  transform: rotate(-12deg);
}

.art-sticker span {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  border: 1.5px dashed var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.art-spark {
  position: absolute;
  display: block;
  left: -8%;
  top: 7%;
  color: var(--cream);
  font: 900 clamp(2.9rem, 6vw, 6.3rem)/1 var(--body);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 4px var(--ink);
  transform: rotate(11deg);
  pointer-events: none;
}

.story {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  background:
    radial-gradient(circle at 12% 12%, #ffffff70 0 2px, transparent 3px) 0 0 / 43px 43px,
    var(--texture),
    var(--cream);
  padding-block: clamp(58px, 8vw, 112px) clamp(68px, 8vw, 118px);
}

.story-intro { margin-bottom: clamp(29px, 4.5vw, 55px); }
.story-intro h2 em { color: var(--red); }

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-chapter {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  border: 3px solid var(--ink);
  border-radius: 11px;
  box-shadow: 6px 7px 0 var(--ink);
  background: var(--story-bg);
}

.story-chapter-pink { --story-bg: var(--pink); }
.story-chapter-lilac { --story-bg: var(--lilac); }
.story-chapter-yellow { --story-bg: var(--yellow); }
.story-chapter-red { --story-bg: #f26a6f; }

.story-visual {
  margin: 0;
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  aspect-ratio: 3 / 2;
}

.story-visual img { width: 100%; height: 100%; object-fit: cover; }

.story-copy { padding: clamp(18px, 2.6vw, 31px); }
.story-number {
  display: inline-block;
  padding: .42rem .62rem;
  border-radius: 30px;
  background: var(--ink);
  color: var(--cream);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.story-copy h3 {
  margin: 20px 0 8px;
  font: 900 clamp(2.2rem, 4vw, 4.3rem)/.92 var(--display);
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.story-copy p {
  max-width: 35ch;
  margin: 0;
  font-size: clamp(.93rem, 1.25vw, 1.08rem);
  font-weight: 600;
  line-height: 1.45;
}

.roadmap {
  background: var(--texture), var(--paper);
  border-top: 12px solid var(--red);
  box-shadow: inset 0 3px var(--ink);
  padding-block: clamp(58px, 8vw, 112px) clamp(68px, 8vw, 118px);
}

.section-intro h2 {
  margin: 0;
  font: 900 clamp(3.65rem, 8.4vw, 8.4rem)/.8 var(--display);
  letter-spacing: -.024em;
  text-transform: uppercase;
}

.roadmap-intro { margin-bottom: clamp(26px, 4vw, 51px); }
.section-intro h2 em { color: var(--deep-red); }
.section-intro p { margin: 18px 0 0; font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.28rem); }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 2.1vw, 31px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 232px;
  padding: clamp(17px, 2.5vw, 34px);
  border: 3px solid var(--ink);
  border-radius: 9px;
  box-shadow: 5px 6px 0 var(--ink);
  background: var(--texture), var(--phase-bg);
}

.phase-pink { --phase-bg: var(--pink); --phase-art: #b81836; }
.phase-lilac { --phase-bg: var(--lilac); --phase-art: #7545ae; }
.phase-yellow { --phase-bg: var(--yellow); --phase-art: #be5f32; }

.phase-number {
  display: inline-block;
  padding: .41rem .6rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 30px;
  font-size: .83rem;
  font-weight: 700;
  line-height: 1;
}

.phase h3 {
  margin: 27px 0 8px;
  font: 900 clamp(1.98rem, 3.7vw, 3.48rem)/.85 var(--display);
  text-transform: uppercase;
}

.phase p { margin: 0; max-width: 32ch; font-weight: 600; font-size: clamp(.94rem, 1.2vw, 1.1rem); line-height: 1.43; }

.phase-graphic {
  z-index: -1;
  position: absolute;
  top: 12px;
  right: -12px;
  display: block;
  width: clamp(68px, 10vw, 132px);
  aspect-ratio: 1;
  opacity: .2;
  transform: rotate(-12deg);
}

.phase-burst {
  background: var(--phase-art);
  clip-path: polygon(50% 0%, 59% 36%, 89% 11%, 73% 42%, 100% 50%, 73% 58%, 89% 89%, 59% 65%, 50% 100%, 41% 65%, 11% 89%, 27% 58%, 0% 50%, 27% 42%, 11% 11%, 41% 36%);
}

.phase-orbit { border-radius: 50%; background: repeating-radial-gradient(ellipse, var(--phase-art) 0 5px, transparent 6px 12px); }
.phase-strike { background: var(--phase-art); clip-path: polygon(48% 0, 91% 0, 63% 38%, 94% 38%, 23% 100%, 40% 58%, 14% 58%); }

.market {
  border-top: 3px solid var(--ink);
  padding-block: clamp(59px, 8vw, 109px) clamp(67px, 8vw, 110px);
  background: radial-gradient(ellipse at 75% 5%, #512444, transparent 55%), var(--market);
  color: var(--cream);
}

.market-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: clamp(25px, 4vw, 42px);
}

.market-intro h2 em { color: var(--pink); }
.action-chart { background: var(--yellow); border-color: var(--yellow); box-shadow: 4px 4px 0 #a6539a; }
.action-chart:hover { box-shadow: 6px 7px 0 #a6539a; }
.action-chart:active { box-shadow: 1px 1px 0 #a6539a; }
.action-chart:focus-visible { outline-color: var(--cream); }

.chart-shell { border: 2px solid #b37bc2; border-radius: 11px; box-shadow: 6px 7px 0 #14091b; overflow: hidden; }

.chart-bar {
  min-height: 49px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .6rem clamp(11px, 2vw, 24px);
  gap: .6rem;
  background: #48254e;
  border-bottom: 2px solid #b37bc2;
  font-size: clamp(.68rem, 2.8vw, .88rem);
}

.chart-bar > :last-child { text-align: right; }
.chart-dots { display: flex; gap: 5px; }
.chart-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.chart-dots i:nth-child(2) { background: var(--pink); }
.chart-dots i:nth-child(3) { background: var(--yellow); }
.chart-panel { min-height: clamp(300px, 39vw, 520px); display: grid; background: #200f2a; }
.chart-panel iframe { width: 100%; height: 100%; min-height: inherit; border: 0; }

.chart-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 30px 20px;
  background:
    radial-gradient(ellipse at center, #472553 0%, transparent 58%),
    repeating-linear-gradient(0deg, #7c4a842f 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, #7c4a842f 0 1px, transparent 1px 36px);
  text-align: center;
}

.chart-placeholder h3 { margin: .28em 0 .17em; color: var(--pink); font: italic 900 clamp(2.35rem, 5vw, 4.5rem)/.86 var(--display); text-transform: uppercase; }
.chart-placeholder p { margin: 0; max-width: 31ch; color: #f0d8f0; font-size: .99rem; }

.site-footer { border-top: 3px solid var(--ink); background: var(--texture), var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 19px; }
.footer-inner .brand { font-size: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; }

.link-status {
  position: fixed;
  z-index: 5;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 13px 17px;
  opacity: 0;
  transform: translateY(8px);
  border: 2px solid var(--ink);
  border-radius: 7px;
  box-shadow: 4px 4px var(--ink);
  background: var(--yellow);
  font-weight: 700;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.link-status.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 8vw); }
  .hero-inner { gap: clamp(20px, 4vw, 42px); }
  .hero-title { font-size: clamp(4.9rem, 12vw, 7.6rem); }
  .art-sticker { right: -3%; }
  .hero-actions .action { gap: .35rem; padding-inline: .4rem; font-size: clamp(.85rem, 2.05vw, 1.14rem); white-space: nowrap; }
  .hero-actions .action img { width: 21px; height: 21px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 8px; min-height: 0; padding-top: 8px; }
  .header-inner .brand img { width: 43px; height: 43px; }
  .header-buy { grid-column: 2; grid-row: 1; min-height: 42px; padding: .35rem .7rem; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: space-around; margin-top: 7px; border-top: 1px solid #48254e40; gap: 6px; }
  .navigation a { font-size: .77rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 35px 55px; }
  .hero-copy { display: contents; }
  .token-tag { justify-self: start; margin-bottom: 12px; font-size: .85rem; }
  .hero-title { font-size: clamp(3.3rem, 14.3vw, 6.15rem); line-height: .83; }
  .hero-title em { display: inline; margin: 0; }
  .hero-description { margin: 15px 0 0; }
  .hero-art { grid-row: 4; width: min(100% - 24px, 500px); justify-self: center; margin: 24px 0 27px; }
  .art-frame { border-width: 3px; box-shadow: 6px 7px 0 var(--ink); }
  .art-sticker { right: -12px; }
  .art-spark { left: -6%; }
  .hero-actions { width: 100%; }
  .action { font-size: clamp(1.04rem, 4.8vw, 1.3rem); }
  .hero-actions .action { font-size: clamp(.92rem, 4.2vw, 1.3rem); }
  .hero-actions .action img { width: 23px; height: 23px; }
  .roadmap-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .phase { min-height: 0; padding: 21px; }
  .phase h3 { font-size: 2.45rem; margin-top: 16px; }
  .market-intro { align-items: start; flex-direction: column; }
  .footer-inner .brand { font-size: 1.27rem; }
  .footer-inner .brand img { width: 34px; height: 34px; }
  .back-top { font-size: .69rem; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 13.9vw; }
  .hero-actions { gap: 11px 9px; }
  .hero-actions .action { padding-inline: .3rem; gap: .33rem; }
  .header-ticker { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action, .link-status { transition: none; }
}

.contract-pill { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-top: 22px; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 8px; background: #fff8ef; box-shadow: 3px 3px var(--ink); }
.contract-label { font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contract-pill code { max-width: min(42vw, 350px); overflow: hidden; color: var(--deep-red); font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.contract-pill button { border: 2px solid var(--ink); border-radius: 5px; padding: 5px 8px; background: var(--yellow); color: var(--ink); cursor: pointer; font: 800 .72rem/1 var(--body); text-transform: uppercase; }
[hidden] { display: none !important; }
