:root {
  --lime: #ccff00;
  --ink: #050505;
  --paper: #f2dfb6;
  --paper-deep: #d3a86a;
  --forest: #1d3f27;
  --red: #e93b2f;
  --blue: #225de6;
  --white: #f7fff0;
  --shadow: 10px 10px 0 var(--ink);
  --soft-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font-family: "Arial Black", "Impact", "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(5, 5, 5, 0.04) 0,
      rgba(5, 5, 5, 0.04) 1px,
      transparent 1px,
      transparent 12px
    );
  mix-blend-mode: multiply;
  z-index: 20;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--lime);
  padding: 0.75rem 1rem;
  border: 2px solid var(--lime);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.65rem;
  background: rgba(204, 255, 0, 0.92);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  backdrop-filter: blur(10px);
}

.brand-mark,
.social-row a {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--ink);
  color: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 1rem;
}

.brand-mark span {
  transform: rotate(-8deg);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-links a,
.header-cta {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-links a:hover,
.header-cta:hover {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}

.header-cta {
  background: var(--red);
  color: var(--white);
  border-color: var(--ink);
}

.section-frame {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 6rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 2rem;
  padding: 4rem 0 2.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.panel-label,
.card-kicker {
  margin: 0 0 0.9rem;
  color: var(--red);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: 8.5rem;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--lime);
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: 7px 7px 0 var(--ink);
}

.hero-lede {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 800;
}

.hero-actions,
.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button,
.copy-button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.15rem;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.copy-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--lime);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-paper {
  background: var(--paper);
  color: var(--ink);
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.social-row a {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.social-row a:hover {
  background: var(--red);
  color: var(--white);
  transform: rotate(-6deg) scale(1.04);
}

.hero-media {
  position: relative;
  min-height: 35rem;
  isolation: isolate;
}

.hero-image-wrap {
  position: absolute;
  right: -2rem;
  bottom: 0;
  width: min(42rem, 100%);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(2deg);
}

.hero-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.floating {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(8px 10px 0 rgba(5, 5, 5, 0.86));
}

.floating-wanted {
  width: 12rem;
  left: 0;
  top: 2rem;
  transform: rotate(-10deg);
  animation: floatOne 6s ease-in-out infinite;
}

.contract-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem 1rem;
  margin-top: 1.35rem;
  padding: 0.85rem;
  background: var(--red);
  color: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--ink);
}

.contract-panel::before {
  content: none;
}

.contract-panel code {
  display: block;
  overflow-wrap: anywhere;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1.25rem;
  color: var(--white);
}

.copy-button {
  background: var(--lime);
  color: var(--ink);
}

.copy-button.is-copied {
  background: var(--red);
  color: var(--white);
}

.copy-status {
  grid-column: 1 / -1;
  min-height: 1rem;
  min-width: 0;
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
  text-align: right;
}

.ticker {
  overflow: hidden;
  margin: 1rem 0 0;
  background: var(--ink);
  color: var(--lime);
  border-block: 4px solid var(--ink);
}

.ticker div {
  width: max-content;
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 0;
  animation: ticker 24s linear infinite;
}

.ticker span {
  font-size: 1.2rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.about,
.lore,
.buy,
.community {
  padding: 5rem 0;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.community h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.about-layout,
.community {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.about-art {
  min-height: 32rem;
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-art::before {
  content: "";
  position: absolute;
  inset: 1.3rem;
  border: 3px dashed var(--ink);
}

.about-main {
  position: absolute;
  left: -1.2rem;
  bottom: -1.8rem;
  width: 68%;
  z-index: 2;
}

.about-archer {
  position: absolute;
  right: -2rem;
  top: 1rem;
  width: 58%;
  z-index: 1;
  transform: rotate(6deg);
}

.about-copy {
  padding: 2rem;
  background: var(--ink);
  color: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.stat-grid article {
  min-height: 8rem;
  display: grid;
  align-content: space-between;
  padding: 1rem;
  background: var(--lime);
  color: var(--ink);
  border: 3px solid var(--white);
  border-radius: 6px;
}

.stat-grid strong {
  font-size: 1.55rem;
}

.stat-grid span {
  font-size: 0.85rem;
  text-transform: uppercase;
}

.lore {
  width: 100%;
  max-width: none;
  background: var(--ink);
  color: var(--lime);
  border-block: 4px solid var(--ink);
}

.lore > .section-heading,
.lore-grid,
.meme-strip {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.lore .section-heading h2 {
  color: var(--white);
}

.lore-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.lore-card {
  min-height: 100%;
  padding: 1rem;
  background: var(--lime);
  color: var(--ink);
  border: 4px solid var(--lime);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(204, 255, 0, 0.22);
}

.lore-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 6px;
}

.lore-card-feature {
  background: var(--paper);
  border-color: var(--red);
  transform: rotate(-1deg);
}

.lore-card h3,
.buy-steps h3 {
  margin: 0 0 0.7rem;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.lore-card p:not(.card-kicker),
.buy-steps p,
.community p,
.site-footer p {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.45;
}

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

.meme-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  border: 4px solid var(--lime);
  border-radius: var(--radius);
}

.buy-steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.buy-steps article {
  min-height: 18rem;
  display: grid;
  align-content: space-between;
  padding: 1.2rem;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.buy-steps article:nth-child(2) {
  background: var(--paper);
  transform: translateY(1.2rem);
}

.buy-steps article:nth-child(3) {
  background: var(--forest);
  color: var(--white);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: var(--red);
  color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 1.15rem;
}

.community {
  gap: 2.5rem;
}

.community-copy {
  padding: 2rem;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.community-banner {
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
}

.community-banner img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: 1.4rem 0 0;
  border-top: 4px solid var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1.3rem;
}

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

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

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

@keyframes floatOne {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-14px) rotate(-6deg);
  }
}

@keyframes spinNudge {
  0%,
  100% {
    transform: rotate(9deg);
  }
  50% {
    transform: rotate(18deg) scale(1.04);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .hero,
  .about-layout,
  .community {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .hero-media {
    min-height: 38rem;
  }

  .hero-image-wrap {
    right: 0;
    width: min(38rem, 100%);
  }

  .contract-panel {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .copy-status {
    min-width: 0;
    text-align: left;
  }

  .lore-grid,
  .buy-steps,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .buy-steps article:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
  }

  .nav-links {
    gap: 0.2rem;
  }

  .nav-links a {
    padding: 0.55rem 0.45rem;
    min-height: 2.4rem;
    font-size: 0.68rem;
  }

  .section-frame,
  .lore > .section-heading,
  .lore-grid,
  .meme-strip,
  .site-footer {
    width: calc(100% - 1rem);
  }

  .hero {
    gap: 1rem;
    padding: 2rem 0 1.6rem;
  }

  .hero h1 {
    font-size: 4.3rem;
    line-height: 0.82;
  }

  .hero h1 span:last-child {
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 4px 4px 0 var(--ink);
  }

  .hero-lede,
  .about-copy p,
  .community p {
    font-size: 1rem;
  }

  .hero-actions,
  .community-links {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    min-height: 27rem;
  }

  .hero-image-wrap {
    bottom: 0;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .floating-wanted {
    width: 7.5rem;
    top: 0.4rem;
  }

  .contract-panel {
    padding: 0.85rem;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .contract-panel::before {
    inset: -8px;
  }

  .contract-panel code {
    font-size: 1.25rem;
  }

  .about,
  .lore,
  .buy,
  .community {
    padding: 3rem 0;
  }

  .section-heading h2,
  .community h2 {
    font-size: 2.6rem;
  }

  .about-art {
    min-height: 24rem;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .about-main {
    width: 76%;
  }

  .about-archer {
    right: -4rem;
    width: 68%;
  }

  .about-copy,
  .community-copy {
    padding: 1rem;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .meme-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buy-steps article,
  .lore-card,
  .community-banner {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
