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

:root {
  --bg: #12110f;
  --panel: #1c1a17;
  --ink: #f4f0e8;
  --muted: #a39b90;
  --line: rgba(244, 240, 232, 0.1);
  --accent: #c9a15b;
  --accent-ink: #1a150c;
  --nav: 68px;
  --w: min(1120px, calc(100% - 2.5rem));
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 80% 10%, rgba(201, 161, 91, 0.07), transparent 55%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-head {
  width: var(--w);
  margin: 0 auto 1.8rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover { color: #fff; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.78rem 1.2rem;
  border: 0;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-copy { min-width: 88px; }
.btn:hover { opacity: 0.9; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4rem;
  background: rgba(18, 17, 15, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img,
.footer .brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
}

.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: #fff; }

.nav-icons {
  display: flex;
  gap: 0.75rem;
  margin-left: 0.3rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: #fff;
}

/* Hero — image unobstructed */
.hero {
  width: var(--w);
  margin: 1.6rem auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 2.4rem;
  align-items: center;
  min-height: calc(100vh - var(--nav) - 7rem);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.ticker {
  margin: 0.55rem 0 1.1rem;
  font-family: var(--mono);
  letter-spacing: 0.28em;
  color: var(--accent);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34em;
  margin-bottom: 1.4rem;
}

.lead strong { color: #fff; }

.hero-visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.hero-visual img {
  width: 100%;
  height: min(78vh, 640px);
  object-fit: cover;
  object-position: 50% 45%;
}

/* Stats */
.stats {
  width: var(--w);
  margin: 1.8rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.stats article {
  padding: 1.25rem 1.2rem;
  border-right: 1px solid var(--line);
}

.stats article:last-child { border-right: 0; }

.stats b {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Story */
.story {
  width: var(--w);
  margin: 5.5rem auto 0;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 3.2rem;
  align-items: center;
}

.story figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.story img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 26%;
}

.story p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.story p strong { color: #fff; }

/* Timeline */
.timeline {
  width: var(--w);
  margin: 5.5rem auto 0;
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline li {
  padding: 1.25rem 1.2rem 1.3rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.timeline time {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.timeline h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.timeline p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Proof / embeds */
.proof {
  width: var(--w);
  margin: 5.5rem auto 0;
}

.feeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.feed {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.feed-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.feed-bar div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.feed-bar strong { font-size: 0.92rem; }
.feed-bar span { font-size: 0.78rem; color: var(--muted); }

.feed-bar a {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
}

.ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ico-x { background: #000; color: #fff; border: 1px solid #333; }
.ico-reddit { background: #ff4500; color: #fff; }
.ico-tg { background: #2a4a55; color: #e8f4f6; }

.feed-body {
  position: relative;
  min-height: 360px;
  padding: 0.9rem;
  display: flex;
  justify-content: center;
  background: #141210;
}

.feed-body iframe,
.feed-body twitter-widget,
.twitter-tweet,
.reddit-embed-bq {
  position: relative;
  z-index: 1;
  margin: 0 auto !important;
  max-width: 100% !important;
}

.feed-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.feed-body.is-live .feed-fallback { display: none; }

.feed-fallback p {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.feed-fallback span {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Join */
.join {
  width: var(--w);
  margin: 2.2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.join-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}

.join-card:hover { border-color: rgba(201, 161, 91, 0.45); }

.join-card strong { display: block; font-size: 1.05rem; }
.join-card span:last-child {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Market */
.market {
  width: var(--w);
  margin: 5.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding-top: 3.2rem;
  border-top: 1px solid var(--line);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ca-address {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.92rem;
  word-break: break-all;
}

.ca-address.is-tba {
  font-size: 2rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.copy-toast {
  min-height: 1.2rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0;
}

.copy-toast.show { opacity: 1; }

.steps {
  display: grid;
  gap: 0.7rem;
  margin: 1.1rem 0 1.4rem;
  color: var(--muted);
}

.steps span {
  display: inline-block;
  width: 1.4rem;
  color: var(--accent);
  font-family: var(--mono);
}

/* Chart */
.chart {
  width: var(--w);
  margin: 3.5rem auto 4rem;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.chart-frame {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.chart-frame.is-tba {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.chart-tba { text-align: center; color: var(--muted); }
.chart-tba strong {
  display: block;
  font-size: 2.4rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.chart-frame iframe {
  width: 100%;
  height: 520px;
  border: 0;
}

/* Footer */
.footer {
  width: var(--w);
  margin: 0 auto;
  padding: 1.5rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
}

.footer .brand { font-size: 0.9rem; color: var(--muted); }
.footer p {
  max-width: 32em;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
}

/* Paws */
.paw-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  overflow: hidden;
}

.paw-stamp {
  position: absolute;
  width: var(--paw-size, 36px);
  height: var(--paw-size, 36px);
  margin: calc(var(--paw-size, 36px) / -2) 0 0 calc(var(--paw-size, 36px) / -2);
  color: rgba(201, 161, 91, 0.32);
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.4);
  animation: paw-press var(--paw-life, 1.3s) ease-out forwards;
}

.paw-stamp.is-walk { color: rgba(244, 240, 232, 0.18); animation-name: paw-walk; }
.paw-stamp svg { width: 100%; height: 100%; }

@keyframes paw-press {
  0% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.35); }
  18% { opacity: 0.85; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.9); }
}

@keyframes paw-walk {
  0% { opacity: 0; }
  15% { opacity: 0.35; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .paw-layer { display: none; }
}

@media (max-width: 960px) {
  .hero,
  .story,
  .market,
  .feeds,
  .join,
  .timeline ol,
  .stats { grid-template-columns: 1fr; }
  .stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stats article:last-child { border-bottom: 0; }
  .hero { min-height: 0; margin-top: 1.1rem; }
  .hero-visual { order: -1; }
  .hero-visual img { height: 52vh; }
  .story { gap: 1.6rem; margin-top: 3.5rem; }
  .story figure { max-width: 280px; }
  .timeline ol { grid-template-columns: 1fr 1fr; }
  .chart-head,
  .footer { display: grid; gap: 0.8rem; }
  .footer p { text-align: left; }
  .ca-box { flex-direction: column; align-items: stretch; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1.3rem; }
  .nav-icons { padding: 0.6rem 1.3rem; }
  .timeline ol { grid-template-columns: 1fr; }
}
