:root {
  --bg: #09090d;
  --bg-soft: #13131b;
  --bg-card: rgba(17, 17, 24, 0.78);
  --bg-card-strong: rgba(24, 24, 34, 0.96);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f0e8;
  --muted: #c4bbab;
  --gold: #f4b860;
  --gold-soft: #ffda9d;
  --crimson: #c24335;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(194, 67, 53, 0.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(244, 184, 96, 0.14), transparent 24%),
    linear-gradient(180deg, #09090d 0%, #0e0f14 42%, #09090d 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.2)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.ambient,
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
}

.ambient-one {
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 184, 96, 0.14), transparent 30%),
    radial-gradient(circle at 75% 22%, rgba(194, 67, 53, 0.12), transparent 24%);
  filter: blur(18px);
}

.ambient-two {
  background:
    radial-gradient(circle at 50% 60%, rgba(244, 184, 96, 0.08), transparent 26%),
    radial-gradient(circle at 80% 80%, rgba(194, 67, 53, 0.1), transparent 25%);
  filter: blur(30px);
}

.grain {
  z-index: -1;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 5px 5px, 5px 5px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
}

.site-header,
.section,
.strip,
.site-footer {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  background: rgba(9, 9, 13, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 20px 20px;
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-kicker {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand strong {
  display: block;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.burn-pill {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 184, 96, 0.35);
  background: rgba(10, 10, 14, 0.7);
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.burn-pill__label {
  opacity: 0.7;
}

.burn-pill strong {
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.copy-button:hover,
.copy-button:focus-visible {
  transform: translateY(-1px);
}

.button-solid {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #140d04;
  border-color: rgba(255, 218, 157, 0.6);
  box-shadow: 0 14px 32px rgba(244, 184, 96, 0.24);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-small {
  min-height: 42px;
  padding-inline: 1rem;
}

.section {
  padding: 5rem 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding-top: 4.25rem;
  padding-bottom: 3rem;
  min-height: calc(100vh - 92px);
  isolation: isolate;
}

.hero.section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

.hero.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 184, 96, 0.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(194, 67, 53, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(9, 9, 13, 0.8), rgba(9, 9, 13, 0.4));
  border-radius: 0;
  z-index: -4;
}

.hero-backdrop,
.hero-wash,
.hero-embers {
  position: absolute;
  inset: 0;
  border-radius: 0;
  pointer-events: none;
}

.hero-backdrop {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 7, 10, 0.92) 0%, rgba(7, 7, 10, 0.72) 44%, rgba(7, 7, 10, 0.3) 68%, rgba(7, 7, 10, 0.25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55)),
    url("./assets/LOGO.png") center center / cover no-repeat;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.hero-wash {
  z-index: -2;
  background:
    radial-gradient(circle at 22% 28%, rgba(244, 184, 96, 0.16), transparent 18%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 82% 72%, rgba(194, 67, 53, 0.18), transparent 22%);
}

.hero-embers {
  z-index: -1;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(244, 184, 96, 0.38) 0 2px, transparent 2px),
    radial-gradient(circle at 36% 70%, rgba(244, 184, 96, 0.32) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 76% 28%, rgba(194, 67, 53, 0.28) 0 2px, transparent 2px),
    radial-gradient(circle at 82% 78%, rgba(244, 184, 96, 0.2) 0 1.5px, transparent 1.5px);
  animation: emberDrift 12s linear infinite;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 1.02;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.horseman-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  letter-spacing: 0.01em;
}

.hero-text,
.section-heading p,
.horseman-card p,
.value-card p,
.step-card p,
.token-card p,
.roadmap-card p,
.site-footer p,
.buy-callout {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.ticker-standalone {
  display: block;
  text-align: center;
  margin: 0.5rem 0 0.4rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  font-weight: 700;
}

.hero-text {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  color: #ebe2d3;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.hero-meta article,
.horseman-card,
.value-card,
.step-card,
.token-card,
.roadmap-card,
.chart-empty,
.hero-panel,
.strip,
.media-item {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-meta article {
  padding: 1rem 1.1rem;
}

.hero-meta span,
.panel-label,
.token-label,
.horseman-year,
.roadmap-card span,
.step-card span,
.strip span {
  display: block;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.hero-meta strong,
.token-card strong,
.strip strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.05rem;
}

.hero-panel {
  padding: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(244, 184, 96, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(194, 67, 53, 0.18), transparent 28%),
    rgba(12, 12, 18, 0.9);
  backdrop-filter: blur(12px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  margin: -0.25rem -0.25rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.45)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 26%, transparent 70%, rgba(244, 184, 96, 0.12));
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transform: scale(1.02);
}

.panel-block + .panel-block {
  margin-top: 1.4rem;
}

.contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contract-box code {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.copy-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.copy-button.is-success {
  background: rgba(244, 184, 96, 0.16);
  border-color: rgba(244, 184, 96, 0.4);
  color: var(--gold-soft);
}

.copy-button.is-disabled,
.copy-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}


.panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.15rem;
}

.strip div {
  padding: 0.5rem 0.45rem;
}

.strip.strip--timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  text-align: center;
}

.strip.strip--timeline strong {
  font-size: 0.98rem;
}


.section-heading {
  display: grid;
  gap: 1rem;
}

.section-heading p {
  max-width: 72ch;
  margin: 0;
}

.horsemen-grid,
.value-grid,
.steps-grid,
.tokenomics-grid,
.lineage-row,
.founders-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.horsemen-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.horseman-card,
.value-card,
.step-card,
.token-card,
.media-item {
  padding: 1.5rem;
}

.horseman-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 184, 96, 0.22);
  background: rgba(244, 184, 96, 0.08);
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
}

.horseman-year {
  margin: 1rem 0 0.55rem;
}

.horseman-card p:last-child,
.value-card p,
.step-card p,
.token-card p,
.roadmap-card p {
  margin-top: 0.8rem;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lineage-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.founders-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lineage-pill {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.lineage-pill strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
}

.lineage-pill span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.6;
}

.founder-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.founder-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.founder-card h3 {
  margin-top: 0.8rem;
}

.founder-chain {
  margin-top: 0.35rem;
  color: var(--muted);
}

.founder-stats {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.founder-stat {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-stat span {
  display: block;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.founder-stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.founder-stat small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  line-height: 1.5;
}

.steps-grid,
.tokenomics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card span {
  margin-bottom: 1rem;
}

.buy-callout {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(244, 184, 96, 0.24);
  border-radius: var(--radius-md);
  background: rgba(244, 184, 96, 0.06);
}

.burn-showcase {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(244, 184, 96, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(15, 15, 22, 0.9);
  box-shadow: var(--shadow);
}

.burn-showcase__label {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.burn-showcase strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.chart-empty {
  margin-top: 2rem;
  padding: 1.4rem;
}

.chart-empty p,
.chart-empty code {
  margin: 0;
}

.chart-shell {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050507;
  box-shadow: var(--shadow);
}

.chart-shell iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
}

.media-slider {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.slider-track {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(15, 15, 22, 0.92);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slider-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.slider-frame.is-active {
  opacity: 1;
}

.slider-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0b10;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.5)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 30%, transparent 70%, rgba(244, 184, 96, 0.12));
  pointer-events: none;
}

.slider-meta {
  display: none;
}

.slider-button {
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.slider-button:hover,
.slider-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(244, 184, 96, 0.5);
  background: rgba(244, 184, 96, 0.12);
}


.site-footer {
  padding: 0 0 2.75rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none;
}

@keyframes emberDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-1.5%, -2%, 0);
  }

  100% {
    transform: translate3d(0, -4%, 0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .horsemen-grid,
  .steps-grid,
  .tokenomics-grid,
  .strip,
  .value-grid,
  .lineage-row,
  .founders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-header::before {
    inset: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .burn-pill {
    flex: 0 0 auto;
  }

  .hero-meta,
  .horsemen-grid,
  .value-grid,
  .steps-grid,
  .tokenomics-grid,
  .strip,
  .lineage-row,
  .founders-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10.5ch;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero-backdrop {
    background-position: center center;
  }



  .chart-shell iframe {
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 2.6rem;
  }


  .button,
  .button-small {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }


  .media-slider {
    grid-template-columns: 1fr;
  }

  .slider-button {
    width: 100%;
  }

  .contract-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .chart-shell iframe {
    min-height: 460px;
  }
}
