@font-face {
  font-family: "Lilita One";
  src: url("assets/fonts/lilita-one.woff2") format("woff2");
  font-display: swap;
}

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

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #161018;
  --cream: #fff6dc;
  --yellow: #fbf900;
  --purple: #d837f2;
  --pink: #ff3b9c;
  --lime: #bafa16;
  --cyan: #16e7e1;
  --line: 4px solid var(--ink);
  --display: "Lilita One", Impact, sans-serif;
  --condensed: "Barlow Condensed", Impact, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.55 var(--mono); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px dashed currentColor; outline-offset: 5px; }

.shell {
  width: min(100% - clamp(2.5rem, 10vw, 9rem), 80rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  background: var(--lime);
  border: var(--line);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: var(--cream); border-bottom: var(--line); }
.header-layout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 4.65rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .5rem; font: 400 2rem/.9 var(--display); letter-spacing: -.035em; }
.brand img { width: 3.05rem; height: 3.05rem; object-fit: contain; }
.brand:hover img { transform: rotate(-10deg); }
.brand img { transition: transform 160ms ease; }

.primary-nav { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem); }
.primary-nav a, .back-to-top { font-weight: 600; font-size: .82rem; text-transform: uppercase; white-space: nowrap; }
.primary-nav a { padding-block: .35rem; border-block-end: 3px solid transparent; }
.primary-nav a:hover { border-block-end-color: var(--pink); }

.button {
  display: inline-flex;
  min-width: 0;
  min-height: 3.55rem;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  padding: .55rem .85rem;
  border: 3px solid var(--ink);
  border-radius: 5px 3px 5px 3px;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font: italic 900 clamp(1.15rem, 2vw, 1.55rem)/1 var(--condensed);
  text-align: left;
  text-transform: uppercase;
  transition: box-shadow 140ms ease, transform 140ms ease;
}
.button:hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 6px 7px 0 var(--ink); }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button--buy { background: var(--pink); }
.button--social { background: var(--cream); }
.button--dex { background: var(--cyan); }
.button--copy { background: var(--lime); }
.button__icon { flex: 0 0 auto; width: 1.8rem; height: 1.8rem; object-fit: contain; }
.button__icon.x-icon { width: 1.35rem; height: 1.35rem; margin-inline: .2rem .25rem; }
.header-buy { justify-self: end; justify-content: center; min-width: 6.5rem; min-height: 2.65rem; padding: .25rem .8rem; }
.header-buy .button__icon { width: 1.5rem; height: 1.5rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--yellow);
}
.hero::before, .hero::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.hero::before {
  inset: 0;
  background-image: radial-gradient(circle, #161018 1.15px, transparent 1.6px);
  background-size: 11px 11px;
  opacity: .33;
  mask-image: radial-gradient(ellipse at 0% 105%, #000 4%, transparent 47%), radial-gradient(ellipse at 103% 14%, #000, transparent 41%);
}
.hero::after {
  top: calc(100% - 14.6rem);
  left: max(46%, calc(50% - 1.85rem));
  width: max(75rem, 60vw);
  height: max(22rem, 18vw);
  border-block-start: var(--line);
  background-color: var(--cyan);
  background-image: linear-gradient(var(--ink) 3px, transparent 3px), linear-gradient(90deg, var(--ink) 3px, transparent 3px);
  background-size: 4.25rem 4.25rem;
  transform: rotate(-10deg);
  transform-origin: top left;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "intro artwork" "actions artwork";
  gap: 1.5rem clamp(2rem, 5vw, 5.75rem);
  padding-block: clamp(3.75rem, 6.5vw, 6.25rem);
}
.hero-intro { grid-area: intro; align-self: end; }
.eyebrow { display: flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 600; line-height: 1.25; text-transform: uppercase; letter-spacing: .055em; }
.eyebrow span { font-size: 1.35em; }
.hero-eyebrow { display: inline-flex; background: var(--ink); color: var(--cream); padding: .48rem .75rem; transform: rotate(-3deg); }
.hero-eyebrow span { color: var(--lime); }
.hero-title {
  width: fit-content;
  margin-block: .18em .24em;
  margin-inline-start: .025em;
  color: var(--cream);
  font: 400 clamp(6rem, 12.3vw, 10.65rem)/.74 var(--display);
  letter-spacing: -.043em;
  paint-order: stroke fill;
  -webkit-text-stroke: .068em var(--ink);
  filter: drop-shadow(.038em .06em 0 var(--ink));
  transform: rotate(-6deg) skewX(-6deg);
  transform-origin: 45% 55%;
}
.hero-title span { display: block; }
.hero-title span + span { margin-left: .19em; color: var(--purple); }
.hero-description { max-width: 32ch; font-size: clamp(.94rem, 1.5vw, 1.12rem); font-weight: 600; line-height: 1.5; }
.hero-actions { grid-area: actions; display: grid; grid-template-columns: 1fr 1fr; align-self: start; gap: .7rem .85rem; width: min(100%, 29rem); }

.hero-poster { position: relative; grid-area: artwork; width: min(100%, 38.5rem); margin: auto; }
.poster-backing, .poster-frame { border: clamp(4px, .5vw, 7px) solid var(--ink); border-radius: 1.1% .5% 1.2% .6%; }
.poster-backing { position: absolute; inset: -.05rem -.15rem .25rem .15rem; background: var(--pink); box-shadow: 8px 8px 0 var(--ink); transform: rotate(5deg); }
.poster-frame { position: relative; background: var(--yellow); transform: rotate(-3deg); }
.poster-art { width: 100%; height: auto; }
.poster-star { position: absolute; top: -.25em; right: -.43em; color: var(--purple); font: 400 clamp(3.5rem, 7.2vw, 6.1rem)/1 var(--display); -webkit-text-stroke: .08em var(--ink); paint-order: stroke fill; filter: drop-shadow(3px 4px 0 var(--ink)); transform: rotate(11deg); }
.ticker-sticker {
  position: absolute;
  right: -1.1rem;
  bottom: -.05rem;
  padding: .16em .52em .22em;
  border: var(--line);
  border-radius: 38% 34% 35% 29% / 14% 17% 11% 16%;
  background: var(--lime);
  box-shadow: 4px 5px 0 var(--ink);
  font: italic 900 clamp(1.6rem, 3.6vw, 3.15rem)/1 var(--condensed);
  transform: rotate(-10deg);
}

.ticker { overflow: clip; border-block: var(--line); background: var(--lime); }
.ticker-track { display: flex; width: max-content; animation: ticker 27s linear infinite; }
.ticker-repeat {
  display: flex;
  flex: none;
  justify-content: space-around;
  min-width: max(100vw, 88rem);
  font: italic 900 clamp(1.7rem, 3vw, 2.35rem)/1 var(--condensed);
  white-space: nowrap;
}
.ticker-repeat span { padding: .32em 1.2em .42em; }
.ticker-repeat span:nth-child(n + 7) { display: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

.roadmap, .chart { padding-block: clamp(3.8rem, 7.7vw, 7.1rem); }
.roadmap {
  background-color: var(--cream);
  background-image: radial-gradient(#16101825 1px, transparent 1.3px);
  background-size: 12px 12px;
}
.section-heading { display: flex; gap: 1.2rem 2rem; align-items: end; justify-content: space-between; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-heading h2 { margin-top: .16em; font: 400 clamp(3.75rem, 8vw, 7rem)/.93 var(--display); letter-spacing: -.035em; }
.section-heading > p { max-width: 28ch; padding-bottom: .15rem; font-size: .93rem; font-weight: 600; }
.roadmap-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.7vw, 2.45rem); margin: 0; padding: 0; list-style: none; }
.phase { display: flex; flex-direction: column; border: var(--line); border-radius: 4px; box-shadow: 6px 7px 0 var(--ink); background: var(--panel); }
.phase--heat { --panel: var(--cyan); }
.phase--whistle { --panel: var(--pink); }
.phase--spill { --panel: var(--lime); }
.phase-art { position: relative; overflow: hidden; height: clamp(7rem, 11vw, 10.5rem); border-bottom: 3px solid var(--ink); background: var(--yellow); }
.phase-art img { position: absolute; max-width: none; height: auto; }
.phase--heat img { width: 128%; left: -1%; top: -17%; }
.phase--whistle img { width: 160%; left: -32%; top: -117%; }
.phase--spill img { width: 123%; right: 0; bottom: -13%; }
.phase-art span {
  position: absolute;
  bottom: .65rem;
  left: .8rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px var(--ink);
  background: var(--cream);
  font: italic 900 1.35rem/1 var(--condensed);
  transform: rotate(-7deg);
}
.phase-copy { padding: clamp(1rem, 2vw, 1.65rem); }
.phase-copy h3 { font: italic 900 clamp(1.75rem, 3.1vw, 2.75rem)/1 var(--condensed); text-transform: uppercase; }
.phase-copy p { margin-top: .65rem; font-size: clamp(.83rem, 1.15vw, .95rem); line-height: 1.55; }

.chart {
  border-block: var(--line);
  background-color: var(--cyan);
  background-image: linear-gradient(#16101828 2px, transparent 2px), linear-gradient(90deg, #16101828 2px, transparent 2px);
  background-size: 4.25rem 4.25rem;
}
.chart-button { flex: 0 0 auto; align-self: flex-end; background: var(--cream); }
.chart-panel { overflow: hidden; border: var(--line); border-radius: 7px 4px 7px 4px; box-shadow: 8px 8px 0 var(--ink); background: var(--ink); }
.chart-panel__bar { display: flex; align-items: center; gap: 1.1rem; padding: .7rem 1rem; border-block-end: 3px solid var(--ink); background: var(--purple); font-size: .82rem; font-weight: 600; }
.chart-dots { display: inline-flex; gap: .35rem; }
.chart-dots i { width: .7rem; height: .7rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--cream); }
.chart-dots i:nth-child(2) { background: var(--pink); }
.chart-dots i:nth-child(3) { background: var(--lime); }
.chart-panel__body { height: clamp(27rem, 48vw, 38rem); }
.chart-panel iframe { display: block; width: 100%; height: 100%; border: 0; }
.chart-placeholder {
  display: grid;
  height: 100%;
  place-content: center;
  justify-items: center;
  gap: .55rem;
  padding: 1.5rem;
  background-image: radial-gradient(ellipse, #16101800, #161018 85%), linear-gradient(#fff6dc16 1px, transparent 1px), linear-gradient(90deg, #fff6dc16 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  color: var(--cream);
  text-align: center;
}
.chart-placeholder img { margin-bottom: .5rem; width: 4.5rem; height: 4.5rem; object-fit: contain; }
.chart-placeholder p { font: italic 900 clamp(1.85rem, 4vw, 2.85rem)/1 var(--condensed); text-transform: uppercase; }
.chart-placeholder small { max-width: 38ch; color: #dfd5e0; }

.site-footer { background: var(--ink); color: var(--cream); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 6rem; }
.back-to-top { display: inline-flex; align-items: center; gap: .4rem; }
.back-to-top span, .back-to-top:hover { color: var(--lime); }
.status {
  position: fixed;
  z-index: 5;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(25rem, calc(100% - 2.3rem));
  overflow-wrap: anywhere;
}
.status:not(:empty) { padding: .85rem 1rem; border: 3px solid var(--ink); box-shadow: 4px 4px var(--ink); background: var(--cream); font-size: .86rem; font-weight: 600; }

@media (min-width: 100rem) {
  .ticker-repeat span:nth-child(-n + 8) { display: block; }
}

@media (min-width: 138rem) {
  .ticker-repeat span:nth-child(-n + 10) { display: block; }
}

@media (min-width: 194rem) {
  .ticker-repeat span:nth-child(n) { display: block; }
}

@media (max-width: 62rem) {
  .hero-layout { gap: 1.45rem 2rem; }
  .hero-title { font-size: clamp(5rem, 12vw, 8rem); }
  .hero-actions .button { padding-inline: .55rem; gap: .35rem; }
}

@media (max-width: 46rem) {
  .header-layout { grid-template-columns: 1fr auto; gap: 0 1rem; padding-top: .6rem; }
  .primary-nav { order: 3; grid-column: 1 / -1; justify-content: space-between; gap: .45rem; margin-top: .65rem; border-top: 2px solid var(--ink); padding-block: .28rem; }
  .primary-nav a { padding-inline: .18rem; font-size: .76rem; }
  .brand { font-size: 1.75rem; }
  .brand img { width: 2.55rem; height: 2.55rem; }
  .header-buy { min-width: 5.4rem; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "artwork" "actions"; gap: 1.7rem; padding-block: 2.5rem 2.65rem; }
  .hero::after { top: calc(100% - 12.7rem); left: 0; }
  .hero-intro { padding-inline: .25rem; text-align: center; }
  .hero-eyebrow { font-size: .69rem; }
  .hero-title { margin: .24em auto .25em; font-size: clamp(3.55rem, 16vw, 7.3rem); white-space: nowrap; transform: rotate(-5deg) skewX(-5deg); }
  .hero-title span { display: inline; }
  .hero-title span + span { margin-left: 0; }
  .hero-description { margin-inline: auto; }
  .hero-poster { width: min(92%, 30rem); }
  .poster-star { right: -.3em; }
  .ticker-sticker { right: -.8rem; }
  .hero-actions { width: min(100%, 30rem); margin-inline: auto; }
  .hero-actions .button { gap: .45rem; padding-inline: .63rem; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .section-heading h2 { font-size: clamp(3.45rem, 12.8vw, 6.1rem); }
  .chart-button { align-self: flex-start; }
  .roadmap-list { grid-template-columns: 1fr; gap: 1.2rem; }
  .phase { display: grid; grid-template-columns: 34% minmax(0, 1fr); }
  .phase-art { height: 100%; min-height: 8.5rem; border-bottom: 0; border-right: 3px solid var(--ink); }
  .phase--heat img { width: 310%; left: -5%; top: -2rem; }
  .phase--whistle img { width: 325%; left: -94%; top: -4.8rem; }
  .phase--spill img { width: 265%; right: -16%; bottom: -.4rem; }
  .phase-copy h3 { font-size: 1.68rem; }
  .phase-copy p { font-size: .81rem; }
  .phase-art span { bottom: .45rem; left: .45rem; width: 2.15rem; height: 2.15rem; font-size: 1.18rem; }
  .footer-layout { flex-wrap: wrap; row-gap: .5rem; padding-block: .75rem; }
}

@media (max-width: 23rem) {
  .hero-actions .button { gap: .3rem; padding-inline: .37rem; font-size: 1.05rem; }
  .hero-actions .button__icon { width: 1.4rem; height: 1.4rem; }
  .hero-actions .x-icon { width: 1.05rem; height: 1.05rem; }
  .section-heading h2 { font-size: 3.15rem; }
  .back-to-top { font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .brand img, .button { transition: none; }
}

[hidden] { display: none !important; }
