:root {
  --orange: #ff4500;
  --orange-hi: #ff6a33;
  --orange-deep: #d63a00;
  --orange-wash: #ffe8dc;
  --ink: #140605;
  --ink-soft: #2a0c0c;
  --paper: #fff6f1;
  --mist: #4a2018;
  --grey: #7a4a40;
  --red: #c8102e;
  --gold: #ffb020;
  --line: 2px solid rgba(20, 6, 5, 0.12);
  --font-display: "Anton", "Arial Black", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(255, 69, 0, 0.38), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(200, 16, 46, 0.16), transparent 55%),
    linear-gradient(180deg, var(--orange-wash) 0%, var(--paper) 40%, #fff0e8 100%);
  overflow-x: hidden;
}

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

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

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

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.04;
  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='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.wave-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background:
    radial-gradient(ellipse 80% 40% at 20% 30%, rgba(255, 69, 0, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 70%, rgba(200, 16, 46, 0.22), transparent 55%);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(0.9rem, 3vw, 2rem);
  background: rgba(255, 246, 241, 0.88);
  border-bottom: 2px solid rgba(20, 6, 5, 0.14);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  white-space: nowrap;
}

.logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  letter-spacing: 0.06em;
  color: var(--ink);
}

.nav {
  display: none;
  gap: 1.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

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

.header-end {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-social {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nav-social:hover {
  transform: translateY(-1px);
  background: var(--orange);
  color: #fff;
}

.nav-cta {
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--orange);
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--ink-soft);
}

@media (min-width: 800px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.15s var(--ease), box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--orange-hi);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--orange-deep);
}

.btn-ink:hover {
  background: var(--ink-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 1.5rem) clamp(1rem, 4vw, 3.5rem) 3.5rem;
  isolation: isolate;
  overflow: hidden;
  background: var(--orange);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 6, 5, 0.28) 0%, rgba(20, 6, 5, 0.08) 42%, transparent 64%),
    linear-gradient(180deg, rgba(20, 6, 5, 0.12) 0%, transparent 28%, transparent 72%, rgba(20, 6, 5, 0.22) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, #fff, var(--gold), transparent);
  animation: scan 3.2s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(36rem, 52vw);
  animation: rise 0.9s var(--ease) both;
}

.hero-ticker {
  margin: 0 0 0.55rem;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    3px 4px 0 var(--ink),
    0 0 40px rgba(20, 6, 5, 0.28);
}

.hero-name {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 1px 2px 0 var(--ink);
}

.hero-lede {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.5;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 8px rgba(20, 6, 5, 0.35);
  animation: rise 0.9s var(--ease) 0.12s both;
}

.hero .btn-primary {
  background: #fff;
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s var(--ease) 0.22s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes scan {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: min(100svh, 860px);
    align-items: end;
  }

  .hero-copy {
    max-width: 36rem;
  }

  .hero-visual img {
    object-position: center 18%;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 69, 0, 0.15) 0%, transparent 32%, rgba(20, 6, 5, 0.18) 58%, rgba(20, 6, 5, 0.72) 100%);
  }
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--orange);
}

.ticker-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  letter-spacing: 0.12em;
  animation: ticker 28s linear infinite;
}

.ticker-track b {
  color: var(--gold);
  font-weight: 400;
}

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

/* Shared sections */
.section-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-lede {
  margin: 1rem 0 1.5rem;
  max-width: 34rem;
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}

.about,
.proof,
.token,
.buy,
.chart {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}

/* About */
.about-heading {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 380px);
    gap: 2.75rem;
  }

  .about-visual {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    width: 100%;
    max-width: 380px;
    justify-self: end;
  }
}

.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.about-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 1.15rem;
  padding: 0 0 1.85rem;
}

.about-step:last-child {
  padding-bottom: 0;
}

.about-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 2.75rem;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), transparent);
  transform: translateX(-50%);
}

.about-step__index {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.about-step__body {
  padding-top: 0.35rem;
  min-width: 0;
}

.about-step__body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}

.about-step__body p {
  margin: 0;
  max-width: 34rem;
  color: var(--grey);
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-step__body strong {
  color: var(--ink);
  font-weight: 700;
}

.lore-card {
  margin: 0;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}

.lore-card img {
  width: 100%;
  height: auto;
  background: var(--orange);
  border-bottom: 2px solid var(--ink);
}

.lore-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--grey);
}

.lore-card figcaption b {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

/* Thesis */
.proof {
  background:
    linear-gradient(180deg, rgba(255, 69, 0, 0.18), transparent 45%),
    #fff;
  border-block: 2px solid rgba(20, 6, 5, 0.12);
}

.proof-heading {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.embed-grid {
  display: grid;
  gap: 1.25rem;
}

.thesis-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .thesis-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.thesis-card {
  padding: 1.4rem 1.25rem 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(20, 6, 5, 0.85);
}

.thesis-card .embed-pill {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.22rem 0.55rem;
  background: var(--orange);
  border: 2px solid var(--ink);
}

.thesis-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.thesis-card p {
  margin: 0;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

.embed-pill {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

/* Token */
.ca-box {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.ca-box code {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.8rem 1rem;
  font-family: Consolas, Monaco, monospace;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  word-break: break-all;
  box-shadow: 4px 4px 0 var(--orange-deep);
}

.token-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.token-meta span {
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--grey);
}

.token-meta b {
  color: var(--ink);
  margin-left: 0.35rem;
}

.token-note {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* How to Buy */
.buy {
  background:
    linear-gradient(180deg, rgba(20, 6, 5, 0.08), transparent 40%),
    var(--orange);
  border-block: 2px solid var(--ink);
}

.buy .eyebrow {
  color: #fff;
}

.buy .section-title {
  color: #fff;
  text-shadow: 2px 3px 0 var(--ink);
}

.buy-heading {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.buy-heading .section-lede {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .buy-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.buy-steps li {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.25rem 1.45rem;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s var(--ease);
}

.buy-steps li:hover {
  transform: translateY(-3px);
}

.buy-steps li > span {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  background: var(--ink);
  color: var(--orange);
}

.buy-steps b {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--ink);
}

.buy-steps p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--grey);
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.buy-actions .btn-primary {
  background: #fff;
  color: var(--ink);
}

.buy-actions .btn-primary:hover {
  background: var(--gold);
}

/* Chart */
.chart-shell {
  margin-top: 0.5rem;
  border: 2px solid var(--ink);
  background: #fff;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
}

.chart-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 2px solid var(--ink);
  background: var(--orange);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

#dexscreener-embed {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  background: #fff;
}

@media (min-width: 900px) {
  #dexscreener-embed {
    padding-bottom: 62%;
  }
}

#dexscreener-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-actions {
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1rem 3rem;
  border-top: 2px solid var(--ink);
  text-align: center;
  background: var(--ink);
  color: var(--orange-wash);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.08em;
  color: var(--orange);
}

.footer-brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: var(--orange);
}

.footer-name {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-socials a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-socials a:hover {
  color: var(--gold);
}

.site-footer p {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: rgba(255, 232, 220, 0.65);
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-lede,
  .hero-actions,
  .hero-visual img,
  .ticker-track,
  .hero::after,
  .live-dot {
    animation: none !important;
  }
}
