:root {
  --ink: #061008;
  --void: #030705;
  --panel: #0a160e;
  --acid: #3dff2b;
  --acid-2: #b6ff3a;
  --moss: #7ee089;
  --fog: #d7f5d4;
  --mute: #6f8f6c;
  --stroke: #000;
  --gutter: 14px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--fog);
  font-family: "Chakra Petch", sans-serif;
}

body {
  overflow-x: hidden;
}

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

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

code {
  font-family: "Chakra Petch", monospace;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(61, 255, 43, 0.16), transparent 58%),
    radial-gradient(circle at 80% 80%, rgba(20, 80, 30, 0.35), transparent 40%),
    linear-gradient(180deg, #07140a 0%, #030705 48%, #06180c 100%);
}

.atmosphere__glow {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -18deg,
    transparent 0 22px,
    rgba(61, 255, 43, 0.03) 22px 23px
  );
}

.atmosphere__floor {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -35%;
  height: 70%;
  background-image:
    linear-gradient(rgba(61, 255, 43, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 255, 43, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(520px) rotateX(68deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
}

.atmosphere__bolts {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 8%, rgba(61, 255, 43, 0.08) 18%, transparent 22%),
    linear-gradient(115deg, transparent 46%, rgba(182, 255, 58, 0.08) 50%, transparent 54%);
  opacity: 0.55;
}

.world,
.mast,
.colophon {
  position: relative;
  z-index: 1;
}

.world {
  perspective: 1680px;
  perspective-origin: 50% 6%;
  padding: 0 clamp(1.2rem, 5vw, 3.5rem) 4rem;
  overflow: visible;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  background: rgba(3, 8, 5, 0.82);
  border-bottom: 3px solid var(--acid);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Bungee", sans-serif;
  letter-spacing: 0.04em;
  color: var(--acid);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #040804;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 var(--acid);
}

.mast__links {
  display: flex;
  gap: 1.15rem;
  margin-left: auto;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mast__links a:hover {
  color: var(--acid);
}

.mast__acts {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mast__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 3px solid #000;
  background: var(--acid);
  color: #041006;
  font-size: 1.4rem;
  cursor: pointer;
}

.ink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 3px solid #000;
  padding: 0.48rem 0.8rem;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ink-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.ink-btn--acid {
  background: var(--acid);
  color: #041006;
}

.ink-btn--ghost {
  background: #0b140d;
  color: var(--fog);
}

.ink-btn--xl {
  padding: 0.85rem 1.15rem;
  font-size: 1rem;
}

.ink-btn.is-copied {
  background: var(--acid-2);
}

.ink-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.caption,
.scribble {
  margin: 0;
}

.caption {
  font-family: "Permanent Marker", cursive;
  color: var(--acid-2);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.scribble {
  font-family: "Permanent Marker", cursive;
  color: var(--moss);
  transform: rotate(-2deg);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.2rem 0 2rem;
  transform: rotateX(9deg);
  transform-origin: 50% 0%;
}

.hero__title {
  margin: 0.35rem 0 0;
  font-family: "Bungee", sans-serif;
  font-size: clamp(4.4rem, 18vw, 11.2rem);
  line-height: 0.78;
  color: var(--acid);
  -webkit-text-stroke: 4px #000;
  paint-order: stroke fill;
  text-shadow:
    0 0 42px rgba(61, 255, 43, 0.38),
    10px 12px 0 #021203;
  transform: perspective(700px) rotateX(24deg);
  transform-origin: 50% 100%;
}

.hero__title span {
  display: block;
}

.hero__symbol {
  margin: 1.1rem 0 0;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.hero__stamp {
  margin: 1.4rem 0 0;
  width: min(46vw, 360px);
  aspect-ratio: 1 / 1;
  padding: var(--gutter);
  background: #050a06;
  border: 4px solid #000;
  box-shadow:
    8px 8px 0 #000,
    0 0 0 6px var(--acid);
  transform: rotate(-2.5deg);
}

.hero__stamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__bio {
  max-width: 38rem;
  margin: 1.5rem auto 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gutter-bolt {
  height: 28px;
  margin: 0.4rem auto 1.6rem;
  width: min(100%, 920px);
  background:
    linear-gradient(90deg, transparent, var(--acid) 12%, #000 13%, var(--acid) 50%, #000 51%, var(--acid) 88%, transparent);
  clip-path: polygon(0 50%, 8% 0, 18% 100%, 32% 12%, 46% 88%, 60% 8%, 74% 100%, 86% 18%, 100% 50%, 86% 82%, 74% 0, 60% 92%, 46% 12%, 32% 88%, 18% 0, 8% 100%);
}

.gutter-bolt--flip {
  transform: scaleY(-1);
}

.plate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  margin: 0 auto 2.6rem;
  max-width: 1240px;
  transform-style: preserve-3d;
  overflow: visible;
}

.plate--rise {
  transform: rotateY(10deg) rotateX(5deg);
}

.plate--drop {
  transform: rotateY(-10deg) rotateX(5deg);
}

.plate--sky {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  transform: rotateX(7deg) rotateY(4deg);
}

.plate__frame {
  background: #050a06;
  border: 4px solid #000;
  box-shadow:
    10px 10px 0 #000,
    0 0 0 5px var(--acid);
  padding: var(--gutter);
}

.plate__frame--wide {
  box-shadow:
    10px 10px 0 #000,
    0 0 0 5px var(--acid-2);
}

.artboard {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #050a06;
  background-image: var(--art);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.plate__copy {
  background:
    linear-gradient(180deg, rgba(10, 22, 14, 0.94), rgba(6, 12, 8, 0.92));
  border: 4px solid #000;
  box-shadow: 8px 8px 0 var(--acid);
  padding: clamp(1.2rem, 3vw, 2.1rem);
}

.plate__copy--center {
  text-align: center;
}

.plate__copy h2,
.colophon strong {
  font-family: "Bungee", sans-serif;
  color: var(--acid);
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  line-height: 0.95;
  margin: 0.25rem 0 0.8rem;
}

.plate__copy h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.lead {
  font-size: 1.18rem;
  font-weight: 600;
  color: #eaffdf;
}

.plate__copy p {
  line-height: 1.6;
}

.pips {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.pips li {
  padding: 0.55rem 0.75rem 0.55rem 2.2rem;
  border: 3px solid #000;
  background: #0e1c11;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.pips li::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  transform: translateY(-50%) rotate(45deg);
  background: var(--acid);
  border: 2px solid #000;
}

.stairs {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  perspective: 900px;
}

.stair {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.8rem 0.9rem;
  background: #0b160e;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  transform: translateX(calc(var(--i) * 18px)) rotateX(calc(6deg - var(--i) * 1deg));
}

.stair__n {
  font-family: "Bungee", sans-serif;
  color: var(--acid);
  font-size: 1.35rem;
  -webkit-text-stroke: 2px #000;
}

.stair h3 {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stair p {
  margin: 0;
  color: #cfe8cc;
}

.ca-slab {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  background: #07110a;
  border: 3px dashed var(--acid);
}

.ca-slab__label {
  font-family: "Permanent Marker", cursive;
  color: var(--acid-2);
}

.ca-slab code {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  color: var(--fog);
}

.cluster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.stamp {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 1.1rem 0.8rem;
  border: 4px solid #000;
  box-shadow: 7px 7px 0 #000;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

.stamp i {
  font-size: 1.7rem;
}

.stamp strong {
  font-family: "Bungee", sans-serif;
  font-size: 1rem;
  -webkit-text-stroke: 1px #000;
}

.stamp em {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.stamp--x {
  background: #0d0f0d;
}

.stamp--buy {
  background: var(--acid);
  color: #041006;
  transform: rotate(1.8deg) scale(1.03);
}

.stamp--chart {
  background: #132116;
  transform: rotate(-0.6deg);
}

.stamp:hover {
  transform: translate(-3px, -3px) rotate(0deg);
}

.colophon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.4rem 1rem 2rem;
  border-top: 3px solid var(--acid);
  background: #040806;
  text-align: left;
}

.colophon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 3px solid #000;
}

.colophon div {
  display: grid;
  gap: 0.15rem;
}

.colophon span {
  color: var(--mute);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .plate,
  .plate--sky {
    grid-template-columns: 1fr;
    transform: none;
  }

  .hero {
    transform: none;
  }

  .hero__title {
    transform: none;
    -webkit-text-stroke: 3px #000;
  }

  .mast__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: #07110a;
    border-bottom: 3px solid var(--acid);
  }

  .mast__links.is-open {
    display: flex;
  }

  .mast__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mast__acts .ink-btn span {
    display: none;
  }

  .stair {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero__stamp {
    width: min(78vw, 320px);
  }

  .mast__acts .ink-btn--ghost:first-child {
    display: none;
  }
}

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

  .hero,
  .hero__title,
  .plate,
  .stair,
  .atmosphere__floor {
    transform: none;
  }
}
