:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7df;
  --ink: #121212;
  --muted: #77726c;
  --green: #14d68d;
  --green-dark: #0aae72;
  --tape: #777c82;
  --line: rgba(18, 18, 18, 0.16);
  --shadow: 0 24px 70px rgba(24, 20, 16, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .14;
  background-image: radial-gradient(rgba(0,0,0,.22) .5px, transparent .5px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
}
.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20,214,141,.13);
}

.nav { display: flex; align-items: center; gap: 10px; }
.nav-link, .buy-mini {
  border: 1px solid var(--ink);
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.nav-link:hover, .buy-mini:hover { transform: translateY(-2px); }
.buy-mini { background: var(--ink); color: #fff; }

.section-shell {
  width: min(1380px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding-block: clamp(50px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .18em;
  color: var(--muted);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(64px, 8.8vw, 150px);
  line-height: .78;
  letter-spacing: -.075em;
  font-weight: 1000;
}
h1 span, .cta h2 span { color: var(--green-dark); }
.hero-text {
  max-width: 600px;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
  color: #34312e;
}

.hero-actions, .cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary { background: var(--green); }
.btn-secondary { background: transparent; }

.ca-box {
  max-width: 640px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border: 1px solid var(--ink);
  background: rgba(255,255,255,.24);
  overflow: hidden;
}
.ca-label, #copyCa {
  padding: 13px 14px;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .1em;
}
.ca-label { border-right: 1px solid var(--ink); }
#contractAddress {
  min-width: 0;
  padding: 12px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}
#copyCa {
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.hero-art { position: relative; }
.art-frame {
  margin: 0;
  transform: rotate(1.2deg);
  border: 1px solid rgba(18,18,18,.12);
  background: #fff;
  box-shadow: var(--shadow);
}
.art-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.museum-tag {
  position: absolute;
  right: -18px;
  bottom: 22px;
  z-index: 3;
  width: min(230px, 42%);
  padding: 14px;
  display: grid;
  gap: 5px;
  background: #fff;
  border: 1px solid #cfcac2;
  box-shadow: 8px 10px 22px rgba(0,0,0,.08);
  font-size: 10px;
  line-height: 1.25;
  text-transform: uppercase;
}
.museum-tag strong { font-size: 12px; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--green);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee span {
  padding: 15px 0;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: .08em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.story {
  display: grid;
  grid-template-columns: 100px 1fr 360px;
  gap: 36px;
  align-items: center;
  padding-block: clamp(80px, 10vw, 160px);
  border-bottom: 1px solid var(--line);
}
.section-number {
  align-self: start;
  font-size: 72px;
  line-height: 1;
  font-weight: 1000;
  color: #c7c1b7;
  letter-spacing: -.08em;
}
.story h2, .how h2, .cta h2 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6.7vw, 108px);
  line-height: .88;
  letter-spacing: -.06em;
  font-weight: 1000;
}
.story-copy p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.55;
}
.tape-card {
  min-height: 210px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-4deg);
  background: linear-gradient(100deg, #6f747a, #9b9fa4 50%, #777c82);
  color: #101010;
  box-shadow: 14px 18px 30px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.2);
}
.tape-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.32) 5px 6px);
}
.tape-card span, .tape-card small { font-weight: 900; letter-spacing: .11em; }
.tape-card strong { font-size: 50px; letter-spacing: -.05em; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--line);
}
.fact-card {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}
.fact-card:last-child { border-right: 0; }
.fact-card span { font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--muted); }
.fact-card strong { font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -.04em; }

.how {
  padding-block: clamp(90px, 11vw, 170px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 8vw, 110px);
}
.steps { border-top: 1px solid var(--ink); }
.step {
  display: grid;
  grid-template-columns: 52px 1fr 1.2fr;
  gap: 20px;
  padding: 28px 0;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}
.step > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  font-size: 13px;
  font-weight: 1000;
}
.step h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); line-height: 1.45; }

.cta {
  margin-bottom: 40px;
  padding: clamp(60px, 9vw, 130px);
  background: #121212;
  color: #f7f4ed;
  text-align: center;
}
.cta .eyebrow { color: #a7a39d; }
.cta-links { justify-content: center; }
.cta .btn { border-color: #f7f4ed; }
.cta .btn-primary { color: #111; border-color: var(--green); }

footer {
  min-height: 92px;
  padding: 24px clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translate(-50%, 18px);
  padding: 11px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 20px; }
  h1 { font-size: clamp(72px, 18vw, 126px); }
  .hero-art { max-width: 760px; margin-inline: auto; }
  .story { grid-template-columns: 64px 1fr; }
  .tape-card { grid-column: 2; max-width: 430px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact-card:nth-child(2) { border-right: 0; }
  .fact-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .how { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .topbar { height: 62px; }
  .brand span:last-child { display: none; }
  .nav { gap: 6px; }
  .nav-link { display: none; }
  .nav-link[data-link="x"], .nav-link[data-link="fomo"] { display: inline-flex; }
  .nav-link, .buy-mini { padding: 9px 10px; }
  .section-shell { width: min(100% - 24px, 1380px); }
  .hero { padding-block: 38px 60px; gap: 42px; }
  h1 { font-size: clamp(58px, 20vw, 92px); }
  .hero-text { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .ca-box { grid-template-columns: auto minmax(0, 1fr) auto; }
  .museum-tag { right: 10px; bottom: 10px; width: 47%; }
  .story { grid-template-columns: 1fr; gap: 20px; }
  .section-number { font-size: 48px; }
  .tape-card { grid-column: auto; }
  .facts { grid-template-columns: 1fr; border-inline: 0; }
  .fact-card { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-card:last-child { border-bottom: 0; }
  .step { grid-template-columns: 48px 1fr; }
  .step p { grid-column: 2; }
  .cta { padding-inline: 18px; }
  .cta-links .btn { width: 100%; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
