:root {
  --bg: #0d120c;
  --bg-soft: #151d12;
  --panel: #1b2416;
  --paper: #efe7d2;
  --ink: #14170f;
  --text: #f3eddc;
  --muted: #a7ae98;
  --leaf: #8aa56a;
  --leaf-dark: #395235;
  --gold: #ffbd27;
  --gold-hot: #ffe05e;
  --line: rgba(239,231,210,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 5%, rgba(255,189,39,.12), transparent 23rem),
    linear-gradient(180deg, #10160e 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 36px; height: 36px; border: 1px solid rgba(255,189,39,.5); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold); font-family: "DM Mono", monospace; font-size: 12px;
  box-shadow: 0 0 28px rgba(255,189,39,.16) inset;
}
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.nav-links a:hover, .footer-links a:hover { color: var(--gold); }

.button {
  min-height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 13px;
  background: var(--gold);
  color: #18170f;
  font-weight: 800;
  font-size: 14px;
  transition: .18s ease;
  box-shadow: 0 10px 35px rgba(255,189,39,.13);
}
.button:hover { transform: translateY(-2px); background: var(--gold-hot); border-color: var(--gold-hot); }
.button-small { min-height: 42px; padding-inline: 17px; }
.button-ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.04); border-color: rgba(255,189,39,.45); color: var(--gold); }
.button.is-disabled { opacity: .42; pointer-events: none; filter: grayscale(.7); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  gap: 48px;
  align-items: center;
  padding-block: 58px 70px;
}
.eyebrow, .section-kicker {
  color: var(--muted); font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; font-size: 11px;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 15px var(--gold); }
.hero h1 {
  margin: 17px 0 12px;
  font-size: clamp(76px, 10vw, 146px);
  line-height: .79;
  letter-spacing: -.09em;
  font-weight: 800;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--gold); text-shadow: 0 0 28px rgba(255,189,39,.08); }
.hero-lede { margin: 34px 0 12px; max-width: 610px; font-size: clamp(25px, 3vw, 41px); line-height: 1.08; letter-spacing: -.045em; font-weight: 700; }
.hero-body { margin: 0; color: var(--muted); max-width: 560px; font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }

.mini-ca {
  margin-top: 18px; width: min(570px, 100%); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 10px 11px 10px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025);
}
.mini-ca > span { color: var(--gold); font-family: "DM Mono", monospace; font-size: 11px; }
.ca-text { font-family: "DM Mono", monospace; font-size: 12px; color: #d8dfc9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-button {
  border: 0; background: transparent; color: var(--muted); font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; cursor: pointer;
}
.copy-button:hover { color: var(--gold); }

.hero-art {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.hero-art::before {
  content: ""; position: absolute; inset: 7% 0 0 7%; border-radius: 42px;
  background: repeating-linear-gradient(135deg, rgba(138,165,106,.11) 0 1px, transparent 1px 18px);
  transform: rotate(3deg);
}
.hero-art img {
  position: relative;
  width: min(100%, 520px);
  height: 580px;
  object-fit: cover;
  object-position: center 44%;
  border-radius: 28px;
  border: 1px solid rgba(255,189,39,.34);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 55px rgba(255,189,39,.12);
  transform: rotate(2.5deg);
}
.sleep-tag {
  position: absolute; z-index: 3; padding: 9px 12px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font: 500 11px "DM Mono", monospace; text-transform: uppercase; box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.tag-one { top: 11%; left: 0; transform: rotate(-8deg); }
.tag-two { right: -2%; top: 29%; transform: rotate(9deg); background: var(--gold); }
.hero-stamp {
  position: absolute; z-index: 4; right: 2%; bottom: 2%; width: 132px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; color: var(--ink); background: var(--gold); border: 5px solid var(--bg);
  transform: rotate(-8deg); text-transform: uppercase; font: 500 9px/1.35 "DM Mono", monospace; letter-spacing: .08em;
}
.hero-stamp strong { font: 800 23px "Manrope", sans-serif; letter-spacing: -.05em; }

.ticker-strip { overflow: hidden; border-block: 1px solid var(--line); background: #141b11; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; padding: 13px 0; animation: ticker 26s linear infinite; }
.ticker-track span { font: 700 13px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; color: #d7dccb; }
.ticker-track i { color: var(--gold); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding-block: 105px; }
.lore-grid { display: grid; grid-template-columns: .33fr 1fr .62fr; gap: 46px; align-items: start; }
.lore-copy h2, .token-panel h2 {
  margin: -9px 0 26px; font-size: clamp(46px, 5.6vw, 78px); line-height: .94; letter-spacing: -.065em;
}
.lore-copy p { color: #bac2ad; font-size: 17px; line-height: 1.8; max-width: 690px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--gold); font: 500 13px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.lore-card {
  padding: 18px; border-radius: 20px; border: 1px solid rgba(255,189,39,.3); background: linear-gradient(180deg, rgba(255,189,39,.08), rgba(255,255,255,.018));
}
.lore-card-top { margin-bottom: 12px; color: var(--gold); font: 500 11px "DM Mono", monospace; letter-spacing: .1em; }
.lore-card ol { list-style: none; margin: 0; padding: 0; }
.lore-card li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.lore-card li b { color: var(--muted); font: 400 11px "DM Mono", monospace; }
.lore-card li span { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }

.token-section { padding-top: 40px; }
.token-panel {
  position: relative; overflow: hidden; padding: clamp(28px, 5vw, 68px); border-radius: 30px;
  color: var(--ink); background: var(--paper); box-shadow: 0 35px 80px rgba(0,0,0,.25);
}
.token-panel::after { content: "Zz"; position: absolute; right: -1%; top: -19%; font-size: 320px; line-height: 1; color: rgba(49,75,43,.055); font-weight: 800; transform: rotate(7deg); pointer-events: none; }
.token-panel .section-kicker { color: #6f735f; }
.token-panel h2 { position: relative; z-index: 1; margin-top: 12px; color: var(--ink); }
.token-intro { position: relative; z-index: 1; max-width: 700px; color: #5f654f; font-size: 16px; line-height: 1.7; }
.token-intro code { font-family: "DM Mono", monospace; }
.ca-box {
  position: relative; z-index: 1; margin-top: 32px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: 21px 22px; border: 2px solid var(--ink); border-radius: 16px; background: rgba(255,255,255,.32);
}
.ca-box > div { min-width: 0; }
.ca-label { display: block; margin-bottom: 9px; color: #696b58; font: 500 10px "DM Mono", monospace; letter-spacing: .12em; }
.ca-box .ca-text { display: block; color: var(--ink); font-size: 13px; }
.copy-button-large { min-height: 46px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.copy-button-large:hover { background: var(--leaf-dark); color: #fff; }
.token-meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border-block: 1px solid rgba(20,23,15,.16); }
.token-meta > div { padding: 20px 14px; border-right: 1px solid rgba(20,23,15,.16); }
.token-meta > div:last-child { border-right: 0; }
.token-meta span { display: block; color: #777a66; font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.token-meta strong { display: block; margin-top: 7px; font-size: 19px; }
.token-actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.token-panel .button-ghost { color: var(--ink); border-color: rgba(20,23,15,.3); }
.token-panel .button-ghost:hover { background: rgba(20,23,15,.06); color: var(--ink); }

.nap-quote { text-align: center; padding-block: 120px 150px; }
.quote-mark { color: var(--gold); font: 800 72px/1 "Manrope", sans-serif; }
.nap-quote p { margin: -15px auto 8px; font-size: clamp(48px, 7vw, 94px); line-height: 1; letter-spacing: -.07em; font-weight: 800; }
.nap-quote span { color: var(--muted); font: 400 12px "DM Mono", monospace; text-transform: uppercase; }

.footer { min-height: 120px; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 20px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer p { text-align: center; line-height: 1.55; }
.footer-links { justify-self: end; display: flex; gap: 18px; font-family: "DM Mono", monospace; }
.toast {
  position: fixed; z-index: 30; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0;
  padding: 10px 15px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em;
  pointer-events: none; transition: .2s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 54px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-body, .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .mini-ca { margin-inline: auto; }
  .hero-art { min-height: 500px; }
  .hero-art img { height: 510px; }
  .lore-grid { grid-template-columns: 1fr; gap: 24px; }
  .lore-copy h2 { margin-top: 0; }
  .token-meta { grid-template-columns: 1fr 1fr; }
  .token-meta > div:nth-child(2) { border-right: 0; }
  .token-meta > div:nth-child(-n+2) { border-bottom: 1px solid rgba(20,23,15,.16); }
  .footer { grid-template-columns: 1fr; text-align: center; padding-block: 30px; }
  .footer p { margin: 0; }
  .footer-links { justify-self: center; }
  .footer .brand { justify-self: center; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav { height: 70px; }
  .nav .button-small { display: none; }
  .hero { min-height: auto; padding-block: 40px 54px; }
  .hero h1 { font-size: clamp(66px, 25vw, 108px); }
  .hero-lede { font-size: 29px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .mini-ca { grid-template-columns: auto minmax(0,1fr) auto; }
  .hero-art { min-height: 420px; }
  .hero-art img { height: 430px; border-radius: 20px; }
  .tag-two { right: 0; }
  .hero-stamp { width: 104px; right: 0; }
  .section { padding-block: 74px; }
  .lore-copy h2, .token-panel h2 { font-size: 48px; }
  .token-panel { border-radius: 22px; }
  .ca-box { grid-template-columns: 1fr; }
  .copy-button-large { width: 100%; }
  .token-meta { grid-template-columns: 1fr; }
  .token-meta > div { border-right: 0; border-bottom: 1px solid rgba(20,23,15,.16); }
  .token-meta > div:last-child { border-bottom: 0; }
  .nap-quote { padding-block: 85px 105px; }
  .nap-quote p { font-size: 54px; }
}

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