:root {
  --paper: #f3eee2;
  --paper-deep: #e8e0cf;
  --ink: #12110e;
  --ink-soft: #3a372f;
  --green: #1b5c38;
  --green-deep: #123d26;
  --green-wash: #d7e4d6;
  --gold: #c6a227;
  --gold-deep: #9a7b16;
  --gold-soft: #e8d48a;
  --fur: #7a4e32;
  --line: rgba(18, 17, 14, 0.12);
  --display: "Archivo Black", Impact, "Arial Black", sans-serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --body: "DM Sans", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(27, 92, 56, 0.08), transparent 60%),
    radial-gradient(700px 480px at 110% 8%, rgba(198, 162, 39, 0.1), transparent 55%),
    radial-gradient(800px 600px at 80% 120%, rgba(122, 78, 50, 0.06), transparent 50%),
    linear-gradient(180deg, #f7f3e9 0%, var(--paper) 18%, #efe8d6 100%);
}

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

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

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

.grain,
.ink-wash,
.gold-motes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.grain {
  opacity: 0.18;
  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: grainShift 8s steps(6) infinite;
}

.ink-wash {
  background:
    radial-gradient(220px 140px at 8% 22%, rgba(18, 17, 14, 0.05), transparent 70%),
    radial-gradient(180px 120px at 92% 70%, rgba(27, 92, 56, 0.06), transparent 70%);
}

.gold-motes {
  background-image:
    radial-gradient(circle, rgba(198, 162, 39, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(27, 92, 56, 0.35) 0 1px, transparent 1.5px);
  background-size: 180px 220px, 260px 300px;
  animation: moteDrift 22s linear infinite;
  opacity: 0.55;
}

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

.cursor {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cursor.is-hot {
  width: 52px;
  height: 52px;
  background: rgba(198, 162, 39, 0.12);
  border-color: var(--green);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--ink);
}

header,
section,
footer,
.ticker {
  position: relative;
  z-index: 3;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4vw;
  background: rgba(243, 238, 226, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.nav.is-tight {
  padding: 10px 4vw;
  background: rgba(243, 238, 226, 0.92);
  border-bottom-color: var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink);
}

.nav-word {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-word em {
  font-style: normal;
}

.nav-word b {
  color: var(--green);
  font-weight: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--cond);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-x {
  color: var(--ink);
}

.nav-x img {
  width: 18px;
  height: 18px;
  filter: none;
}

.nav-x:hover img {
  filter: none;
  opacity: 0.72;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, top 0.3s ease;
}

.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }

.nav-toggle.is-open span:first-child {
  top: 20px;
  transform: rotate(40deg);
}

.nav-toggle.is-open span:last-child {
  top: 20px;
  transform: rotate(-40deg);
}

.hero {
  min-height: 100vh;
  padding: 140px 4vw 80px;
}

.hero-rail {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--cond);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--cond);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.kicker-rule {
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.88;
  font-size: clamp(3.4rem, 7.4vw, 7.4rem);
}

.display .line {
  display: block;
}

.display .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  animation: outlinePulse 5s ease-in-out infinite;
}

.display .solid {
  color: var(--green);
  text-shadow:
    3px 4px 0 rgba(18, 17, 14, 0.08),
    -8px 10px 0 rgba(27, 92, 56, 0.06);
}

.display .taken {
  margin-top: 10px;
  font-size: 0.52em;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 34rem;
  margin: 28px 0 18px;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.tagline {
  font-family: var(--cond);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.tagline i {
  font-style: italic;
  color: var(--green);
  position: relative;
}

.tagline i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 7px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold-soft) 50%, var(--gold) 88%, transparent);
  opacity: 0.85;
  transform: skewX(-18deg);
  animation: underlineShimmer 3.4s ease-in-out infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-family: var(--cond);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.88rem;
  border: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn:hover {
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 6px 8px 0 rgba(18, 17, 14, 0.12);
}

.btn:hover::before {
  transform: translateY(0);
}

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

.btn:hover img {
  filter: brightness(0) invert(1);
}

.btn-green {
  background: var(--green);
  color: #f6f1e4;
  border-color: var(--green-deep);
}

.btn-green::before {
  background: var(--ink);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold-deep);
}

.btn-ghost {
  background: transparent;
}

.btn-nav {
  min-height: 42px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--paper);
}

.btn-nav::before {
  background: var(--green);
}

.hero-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stamp {
  font-family: var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 7px 10px;
  border: 1.5px dashed var(--ink);
  animation: stampIn 0.8s ease both;
}

.stamp-green {
  color: var(--green);
  border-color: var(--green);
}

.stamp-gold {
  color: var(--gold-deep);
  border-color: var(--gold);
}

.studio {
  position: relative;
  padding: 28px;
}

.studio-plate {
  background: #fff;
  padding: 18px;
  box-shadow:
    0 30px 60px rgba(18, 17, 14, 0.12),
    0 2px 0 rgba(198, 162, 39, 0.4);
  animation: plateFloat 6.5s ease-in-out infinite;
}

.studio-plate img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.crop {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--ink);
  border-style: solid;
  opacity: 0.55;
}

.crop.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.crop.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.crop.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.crop.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.studio-cap {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--cond);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.crown {
  position: absolute;
  top: -4px;
  left: 18%;
  width: 58px;
  color: var(--gold);
  animation: crownSway 3.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 0 rgba(154, 123, 22, 0.25));
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  font-family: var(--cond);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
  animation: ticker 32s linear infinite;
}

.ticker-track span::after {
  content: " / ";
  color: var(--gold);
  margin-left: 42px;
}

section {
  padding: 110px 4vw;
}

.section-head {
  max-width: 1320px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: end;
}

.idx {
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.9;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.section-sub {
  font-family: var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about-layout {
  max-width: 1320px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
}

.manifesto {
  font-size: 1.18rem;
}

.manifesto p + p {
  margin-top: 22px;
}

.drop-cap {
  float: left;
  font-family: var(--display);
  font-size: 5.4rem;
  line-height: 0.75;
  padding-right: 12px;
  color: var(--green);
}

.pull {
  margin: 36px 0 0;
  padding: 22px 0 0 22px;
  border-left: 4px solid var(--gold);
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ledger {
  background: #fff8ee;
  border: 1px solid var(--line);
  padding: 28px 26px;
  box-shadow: 10px 12px 0 rgba(27, 92, 56, 0.08);
}

.ledger h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.ledger li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.ledger li span {
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ca-btn {
  font-family: var(--cond);
  letter-spacing: 0.08em;
  color: var(--green);
  border-bottom: 1px dashed var(--green);
}

.ledger-note {
  margin-top: 18px;
  font-style: italic;
  color: var(--ink-soft);
}

.facts {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fact {
  padding: 26px 24px 28px;
  background: rgba(255, 255, 255, 0.36);
  border-top: 3px solid var(--green);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fact:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(18, 17, 14, 0.08);
}

.fact-num {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.fact-text {
  color: var(--gold-deep);
}

.fact h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.howtobuy {
  background: linear-gradient(180deg, transparent, rgba(215, 228, 214, 0.35) 20%, transparent);
}

.steps {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.step {
  list-style: none;
  display: grid;
  grid-template-columns: 70px 84px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.step:hover {
  transform: translateX(8px);
  border-color: var(--gold);
}

.step-mark {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
}

.step-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(18, 17, 14, 0.06);
}

.step-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.step-logo.sol img,
.step-logo.dex img {
  width: 48px;
}

.step h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--cond);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--green);
}

.chart-frame {
  max-width: 1320px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.4),
    0 0 0 9px rgba(198, 162, 39, 0.45);
}

.chart-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: var(--cond);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--line);
}

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

.chart-meta img {
  width: 20px;
  height: 20px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(27, 92, 56, 0.6);
  animation: pulse 1.8s ease-out infinite;
}

.chart-window {
  height: min(720px, 78vh);
}

.chart-window iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.billboard {
  max-width: 1320px;
  margin: 0 auto 42px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px rgba(18, 17, 14, 0.12);
  border: 1px solid rgba(18, 17, 14, 0.08);
}

.billboard img {
  width: 100%;
  height: auto;
  transform: scale(1.02);
  animation: billboardDrift 18s ease-in-out infinite alternate;
}

.join-row {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.join-copy {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.join-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.join-card img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.join-card span {
  font-family: var(--display);
  font-size: 1.15rem;
}

.join-card small {
  color: var(--ink-soft);
}

.join-card:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: var(--gold);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 4vw 48px;
  border-top: 1px solid var(--line);
}

.foot-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.foot-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
}

.foot-tag,
.foot-meta p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.foot-icons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.foot-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.foot-icons a:hover img {
  opacity: 0.7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-play-state: paused;
}

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

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.32s; }
.delay-4 { animation-delay: 0.42s; }
.delay-5 { animation-delay: 0.52s; }

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
}

@keyframes moteDrift {
  from { background-position: 0 0, 40px 80px; }
  to { background-position: 180px 220px, -80px 380px; }
}

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

@keyframes crownSway {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(7deg); }
}

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

@keyframes outlinePulse {
  0%, 100% { -webkit-text-stroke-color: var(--ink); }
  50% { -webkit-text-stroke-color: var(--green); }
}

@keyframes underlineShimmer {
  0%, 100% { opacity: 0.55; transform: skewX(-18deg) scaleX(1); }
  50% { opacity: 1; transform: skewX(-18deg) scaleX(1.04); }
}

@keyframes stampIn {
  from { opacity: 0; transform: scale(1.08) rotate(-2deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 92, 56, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(27, 92, 56, 0); }
}

@keyframes billboardDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-1.2%); }
}

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

@media (hover: none), (pointer: coarse) {
  body,
  button {
    cursor: auto;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-rail { display: none; }

  .hero-grid,
  .about-layout,
  .facts,
  .join-row,
  .join-links,
  .foot {
    grid-template-columns: 1fr;
    display: grid;
  }

  .foot {
    display: grid;
  }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 4vw 28px;
    background: rgba(243, 238, 226, 0.97);
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }

  .nav-links.is-open { display: flex; }

  .step {
    grid-template-columns: 48px 64px 1fr;
  }

  .display {
    font-size: clamp(2.6rem, 12vw, 4.6rem);
  }
}

@media (max-width: 640px) {
  .step {
    grid-template-columns: 1fr;
  }

  .chart-window {
    height: 520px;
  }

  .join-links {
    grid-template-columns: 1fr;
  }
}
