:root {
  --gold: #ebb02d;
  --gold-deep: #c78a00;
  --gold-burn: #8a5a10;
  --gold-bright: #f6c84d;
  --mustard: #d9a21c;
  --cream: #fdf8e1;
  --ivory: #fff4cc;
  --stone: #efe4c4;
  --ink: #1a1308;
  --ink-soft: #3a2a12;
  --shadow: #b67a00;
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Cormorant Garamond", "Georgia", serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(255, 244, 196, 0.55), transparent 55%),
    radial-gradient(900px 600px at 92% 8%, rgba(199, 138, 0, 0.28), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(138, 90, 16, 0.22), transparent 55%),
    linear-gradient(165deg, #f0c34a 0%, #ebb02d 38%, #d9a21c 72%, #c78a00 100%);
  overflow-x: hidden;
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.grain,
.wash,
#dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

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

.wash {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(138, 90, 16, 0.16) 100%),
    linear-gradient(180deg, transparent, rgba(26, 19, 8, 0.06));
}

#dust {
  z-index: 2;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-1.5%, 1%); }
  100% { transform: translate(0, 0); }
}

.cursor-ring,
.cursor-core {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 90;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(253, 248, 225, 0.7);
  box-shadow: 4px 4px 0 rgba(138, 90, 16, 0.35);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.cursor-core {
  width: 6px;
  height: 6px;
  background: var(--cream);
}

body.is-hover .cursor-ring {
  width: 64px;
  height: 64px;
  background: rgba(253, 248, 225, 0.12);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  gap: 22px;
  background: #e6ac24;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.is-out {
  opacity: 0;
  visibility: hidden;
}

.pre-mark {
  position: relative;
  width: 168px;
  height: 168px;
  margin-inline: auto;
}

.pre-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28%;
  box-shadow: 10px 10px 0 var(--shadow);
  animation: emblem-float 3.2s ease-in-out infinite;
}

.pre-arcs,
.emblem-arcs {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  fill: none;
  stroke: var(--cream);
  stroke-width: 11;
  stroke-linecap: butt;
}

.pre-arc,
.ea {
  transform-origin: 50% 50%;
}

.pre-arc.a,
.ea.e1 {
  stroke-dasharray: 150 340;
  animation: spin 9s linear infinite;
}

.pre-arc.b,
.ea.e2 {
  stroke-dasharray: 90 400;
  stroke-dashoffset: 180;
  animation: spin 13s linear infinite reverse;
}

.pre-arc.c,
.ea.e3 {
  stroke-dasharray: 70 430;
  stroke-dashoffset: 320;
  animation: spin 17s linear infinite;
}

#preloader p {
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  text-align: center;
  color: var(--cream);
  text-shadow: 3px 3px 0 var(--shadow);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.nav.is-on {
  background: rgba(232, 176, 45, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 0 rgba(138, 90, 16, 0.18);
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 28%;
  object-fit: cover;
  box-shadow: 5px 5px 0 var(--shadow);
}

.links {
  display: flex;
  gap: 28px;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.links a {
  position: relative;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--cream);
  box-shadow: 2px 2px 0 var(--shadow);
  transition: width 0.3s ease;
}

.links a:hover::after {
  width: 100%;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn img {
  width: 18px;
  height: 18px;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 6px 6px 0 var(--shadow);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--shadow);
}

.btn-ghost {
  background: rgba(253, 248, 225, 0.18);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(138, 90, 16, 0.35);
  backdrop-filter: blur(8px);
}

.btn:hover,
.icon-btn:hover,
.join-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--shadow);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--cream);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--shadow);
}

.burger i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}

.drawer {
  position: fixed;
  inset: 78px 16px auto;
  z-index: 39;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--shadow);
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.drawer.is-open {
  display: flex;
}

.drawer a {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(26, 19, 8, 0.08);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 28px 0;
  overflow: hidden;
}

.ruins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shard {
  position: absolute;
  background: linear-gradient(145deg, #fff8e4, #e8d7a8 55%, #c9b37a);
  box-shadow: 10px 14px 0 rgba(138, 90, 16, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: shard-drift 11s ease-in-out infinite;
}

.s1 { width: 90px; height: 54px; top: 18%; left: 6%; clip-path: polygon(8% 18%, 92% 0, 100% 72%, 18% 100%); }
.s2 { width: 70px; height: 70px; top: 28%; right: 8%; border-radius: 50% 12% 40% 20%; animation-delay: -2s; }
.s3 { width: 110px; height: 42px; bottom: 26%; left: 14%; clip-path: polygon(0 40%, 80% 0, 100% 100%, 12% 88%); animation-delay: -4s; }
.s4 { width: 48px; height: 86px; top: 62%; right: 16%; clip-path: polygon(20% 0, 100% 12%, 78% 100%, 0 80%); animation-delay: -6s; }
.s5 { width: 36px; height: 36px; top: 14%; right: 28%; border-radius: 8px; transform: rotate(18deg); animation-delay: -1.5s; }

.col {
  position: absolute;
  bottom: 0;
  width: 54px;
  height: 38%;
  background:
    linear-gradient(#efe4c4, #efe4c4) top / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, #f4ead0 0 8px, #e2d2a4 8px 12px);
  opacity: 0.28;
  mask-image: linear-gradient(180deg, transparent, #000 20%);
}

.c-left { left: 4%; }
.c-right { right: 5%; height: 46%; }

.ring {
  position: absolute;
  fill: none;
  stroke: rgba(253, 248, 225, 0.42);
  stroke-width: 14;
  stroke-dasharray: 140 90 180 70 110 260;
}

.r1 { width: 420px; top: -80px; left: -90px; animation: spin 48s linear infinite; }
.r2 { width: 360px; bottom: 40px; right: -80px; stroke-width: 10; animation: spin 62s linear infinite reverse; }
.r3 { width: 220px; top: 22%; right: 22%; stroke-width: 8; opacity: 0.55; animation: spin 28s linear infinite; }

.hero-grid {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 210px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  background: rgba(253, 248, 225, 0.28);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(138, 90, 16, 0.2);
}

.kicker img {
  width: 16px;
  height: 16px;
}

h1 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.86;
  font-size: clamp(4.2rem, 9vw, 8.4rem);
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow: 6px 6px 0 var(--shadow), 0 18px 30px rgba(138, 90, 16, 0.2);
}

h1 span {
  display: block;
}

.ticker-mark {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.32em;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.lede {
  margin-top: 16px;
  max-width: 28ch;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-style: italic;
  line-height: 1.35;
}

.ca-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: 7px 7px 0 var(--shadow);
  width: min(100%, 560px);
}

.ca-label {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-burn);
}

#ca-display {
  flex: 1;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ca-copy {
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero-emblem {
  display: grid;
  place-items: center;
}

.emblem-orbit {
  position: relative;
  width: min(420px, 88vw);
  aspect-ratio: 1;
}

.emblem {
  position: absolute;
  inset: 14%;
  border-radius: 28%;
  overflow: hidden;
  box-shadow: 16px 16px 0 var(--shadow), 0 28px 50px rgba(138, 90, 16, 0.28);
  animation: emblem-float 4.8s ease-in-out infinite;
}

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

.emblem-arcs {
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(253, 248, 225, 0.85);
  filter: drop-shadow(6px 6px 0 var(--shadow));
}

.frieze {
  position: relative;
  z-index: 3;
  margin-top: 48px;
  overflow: hidden;
  border-block: 2px solid rgba(253, 248, 225, 0.35);
  background: rgba(26, 19, 8, 0.12);
}

.frieze-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--cream);
  animation: marquee 28s linear infinite;
}

.frieze-track span {
  position: relative;
}

.frieze-track span::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  transform: translateY(-50%);
}

.about,
.buy,
.chart,
.join {
  position: relative;
  z-index: 3;
  padding: 110px 0 40px;
}

.sec-head {
  margin-bottom: 48px;
}

.sec-no {
  display: inline-block;
  font-family: var(--display);
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.92;
  color: var(--cream);
  text-shadow: 5px 5px 0 var(--shadow);
}

.sec-head p {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 1.35rem;
  font-style: italic;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.manifesto,
.tablet,
.step,
.chart-frame,
.join-card {
  background: var(--cream);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--shadow);
}

.manifesto {
  padding: 36px 34px;
}

.drop {
  font-size: 1.28rem;
  line-height: 1.55;
}

.manifesto p + p {
  margin-top: 16px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.facts {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(26, 19, 8, 0.1);
  font-size: 1.1rem;
}

.facts span {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: center;
}

.tablets {
  display: grid;
  gap: 18px;
}

.tablet {
  padding: 24px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tab-n {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-burn);
}

.tablet h3,
.step h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 8px 0 10px;
}

.tablet p,
.step p {
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

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

.step {
  padding: 26px 22px 28px;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 90px;
  height: 90px;
  border: 10px solid rgba(235, 176, 45, 0.35);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.step-cap {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--ivory);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--shadow);
  margin-bottom: 22px;
}

.step-cap img {
  width: 30px;
  height: 30px;
}

.step-n {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold-burn);
}

.chart-frame {
  overflow: hidden;
  padding: 0;
}

.chart-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chart-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-bar img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.banner-stage {
  width: min(1280px, calc(100% - 32px));
  margin: 8px auto 36px;
}

.banner-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--shadow), 0 30px 60px rgba(138, 90, 16, 0.25);
}

.banner-frame::before,
.banner-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 10px;
  background: var(--cream);
  z-index: 1;
  box-shadow: 4px 4px 0 var(--shadow);
}

.banner-frame::before { top: 14px; }
.banner-frame::after { bottom: 14px; }

.banner-frame img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transform: scale(1.04);
  animation: ken 22s ease-in-out infinite alternate;
}

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

.join-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.join-card img {
  width: 36px;
  height: 36px;
}

.join-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.join-card span {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.foot {
  position: relative;
  z-index: 3;
  padding: 48px 0 36px;
  margin-top: 40px;
  border-top: 2px solid rgba(253, 248, 225, 0.28);
}

.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.foot p {
  font-style: italic;
  font-size: 1.15rem;
}

.foot-icons {
  display: flex;
  gap: 10px;
}

.foot-icons a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--shadow);
}

.foot-icons img {
  width: 18px;
  height: 18px;
}

.foot-icons a[aria-label="X"] img,
.foot-icons a[aria-label="DexScreener"] img {
  filter: brightness(0) invert(1);
}

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

.reveal.is-in {
  animation-play-state: running;
}

.tablet:nth-child(2) { animation-delay: 0.1s; }
.tablet:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }
.step:nth-child(4) { animation-delay: 0.24s; }
.join-card:nth-child(2) { animation-delay: 0.08s; }
.join-card:nth-child(3) { animation-delay: 0.16s; }

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

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

@keyframes shard-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ken {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.1) translateX(-1.5%); }
}

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

@media (max-width: 980px) {
  .links { display: none; }
  .burger { display: grid; }
  .hero-grid,
  .about-split,
  .steps,
  .join-row,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    display: grid;
    text-align: center;
    justify-items: center;
  }
  h1 { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .banner-frame img { aspect-ratio: 16 / 10; }
  body { cursor: auto; }
  .cursor-ring,
  .cursor-core { display: none; }
}

@media (max-width: 640px) {
  .nav { padding-inline: 14px; }
  .hero { padding-inline: 16px; }
  .ca-row { flex-wrap: wrap; }
  #ca-copy { width: 100%; }
  .chart iframe { height: 480px !important; }
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor-ring,
  .cursor-core { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  body { cursor: auto; }
  .cursor-ring,
  .cursor-core { display: none; }
}
