:root {
  --ink: #21170d;
  --ink-soft: #4a351f;
  --paper: #f7e7bf;
  --paper-light: #fff5d9;
  --gold: #dfa925;
  --gold-light: #f2c84f;
  --rust: #b54d2c;
  --line: 3px;
  --shadow: 9px 9px 0 var(--ink);
  --display: "Arial Black", Impact, Haettenschweiler, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgb(33 23 13 / 12%) 1px, transparent 1.2px);
  background-size: 13px 13px;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 130px rgb(80 48 12 / 13%);
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(88px, 11vw, 150px) clamp(18px, 4vw, 64px);
  overflow: hidden;
  border-bottom: var(--line) solid var(--ink);
}

.hero::before {
  position: absolute;
  top: -17vw;
  right: -13vw;
  width: min(78vw, 1040px);
  aspect-ratio: 1;
  border: clamp(26px, 5vw, 76px) solid rgb(33 23 13 / 8%);
  border-radius: 50%;
  content: "";
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 980px);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 34px);
  padding: 8px 10px;
  border: 2px solid var(--ink);
  background: var(--paper-light);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 3px rgb(181 77 44 / 18%);
}

.hero__title {
  max-width: 100%;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5.1rem, 13vw, 12.5rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.78;
  overflow-wrap: normal;
  text-transform: uppercase;
  text-shadow: 6px 6px 0 var(--gold);
}

.hero__text {
  max-width: 650px;
  margin: clamp(26px, 3vw, 38px) auto 0;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 650;
}

.hero__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 650px);
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 12px 20px;
  border: 3px solid var(--ink);
  font-family: var(--display);
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

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

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

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

.button--gold {
  background: var(--gold);
}

.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
  transform: none;
}

.hero__visual {
  position: absolute;
  top: -56px;
  right: clamp(-30px, 1vw, 18px);
  z-index: 1;
  width: clamp(220px, 26vw, 370px);
  pointer-events: none;
}

.spider-scene {
  position: relative;
  width: 100%;
  height: clamp(320px, 38vw, 480px);
  overflow: hidden;
}

.web-canopy {
  position: absolute;
  top: -35%;
  left: 50%;
  width: 108%;
  aspect-ratio: 1.25;
  background:
    repeating-radial-gradient(ellipse at 50% 0%, transparent 0 48px, rgb(33 23 13 / 40%) 49px 51px, transparent 52px 90px),
    repeating-conic-gradient(from 253deg at 50% 0%, transparent 0deg 13deg, rgb(33 23 13 / 42%) 14deg 15deg, transparent 16deg 30deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%);
  transform: translateX(-50%);
}

.hanging-spider {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 0;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  animation: spider-swing 5.2s ease-in-out infinite;
}

.section-pad {
  padding: clamp(72px, 10vw, 150px) clamp(18px, 6vw, 96px);
}

.section-label {
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 800;
}

.section-label--light {
  color: var(--gold-light);
}

.about {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(280px, 1fr) minmax(300px, 0.65fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: start;
  border-bottom: var(--line) solid var(--ink);
  background: var(--paper-light);
}

.about__copy h2,
.links__heading h2,
.chart__heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7.2rem);
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
}

.about__copy p {
  max-width: 760px;
  margin: 34px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.32;
}

.facts {
  margin: 0;
  border-top: var(--line) solid var(--ink);
}

.fact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding: 18px 0 15px;
  border-bottom: var(--line) solid var(--ink);
}

.fact dt {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: var(--rust);
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.75;
}

.hero-contract {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  width: min(100%, 760px);
  min-height: 62px;
  margin-top: 30px;
  border: 3px solid var(--ink);
  background: var(--paper-light);
}

.hero-contract__label {
  display: grid;
  place-items: center;
  padding: 12px 16px;
  border-right: 3px solid var(--ink);
  background: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.contract-address {
  display: grid;
  min-width: 0;
  max-width: 100%;
  place-items: center start;
  overflow: hidden;
  padding: 12px 18px;
  font-family: "Courier New", monospace;
  font-size: clamp(0.82rem, 1.4vw, 1.05rem);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-width: 116px;
  padding: 12px 18px;
  border: 0;
  border-left: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  cursor: pointer;
  font-family: var(--display);
  font-size: 15px;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.copy-button:hover:not(:disabled),
.copy-button:focus-visible:not(:disabled) {
  background: var(--rust);
}

.copy-button.is-copied {
  background: var(--rust);
}

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

.links {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(400px, 1.25fr);
  gap: clamp(42px, 8vw, 130px);
  border-bottom: var(--line) solid var(--ink);
  background: var(--gold);
}

.links__heading {
  position: sticky;
  top: 48px;
  align-self: start;
}

.links__heading h2 {
  margin-top: 30px;
}

.link-stack {
  border-top: var(--line) solid var(--ink);
}

.official-link {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 108px;
  padding: 20px 6px;
  border-bottom: var(--line) solid var(--ink);
  text-decoration: none;
  transition: padding 160ms ease, background 160ms ease, color 160ms ease;
}

.official-link > span {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.official-link strong {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.official-link b {
  font-size: 28px;
}

.official-link:hover:not(.is-disabled),
.official-link:focus-visible:not(.is-disabled) {
  padding-right: 18px;
  padding-left: 18px;
  color: var(--paper-light);
  background: var(--ink);
}

.official-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.official-link.is-disabled b {
  display: none;
}

.official-link__state {
  justify-self: end;
  padding: 5px 8px;
  border: 2px solid currentColor;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

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

.chart__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.chart__heading > div {
  display: grid;
  gap: 28px;
}

.chart__link {
  flex: 0 0 auto;
}

.chart__frame {
  position: relative;
  overflow: hidden;
  height: min(72vh, 760px);
  min-height: 480px;
  border: 3px solid var(--paper-light);
  background: #0c0c0c;
  box-shadow: 10px 10px 0 var(--rust);
}

.chart__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    linear-gradient(rgb(255 245 217 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 245 217 / 8%) 1px, transparent 1px),
    #0c0c0c;
  background-size: 54px 54px;
}

.chart__placeholder p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  padding: 14px 18px;
  border: 2px solid var(--paper-light);
  background: var(--ink);
  font-family: "Courier New", monospace;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.chart__crosshair {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgb(181 77 44 / 45%) 50%, transparent calc(50% + 1px)),
    linear-gradient(transparent calc(50% - 1px), rgb(181 77 44 / 45%) 50%, transparent calc(50% + 1px));
}

.chart__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px clamp(18px, 3.4vw, 56px);
  color: var(--paper-light);
  background: var(--rust);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer div {
  display: flex;
  gap: 14px;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.noscript-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 30;
  margin: 0;
  padding: 14px;
  border: 3px solid var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease var(--reveal-delay, 0ms), transform 520ms ease var(--reveal-delay, 0ms);
}

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

@keyframes spider-swing {
  0%,
  100% {
    transform: translateX(-50%) rotate(-2.4deg);
  }

  50% {
    transform: translateX(-50%) rotate(2.4deg);
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: clamp(120px, 16vw, 170px);
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(5.2rem, 18vw, 10rem);
  }

  .hero__visual {
    top: -48px;
    right: -30px;
    width: clamp(210px, 29vw, 290px);
  }

  .spider-scene {
    height: clamp(300px, 42vw, 390px);
  }

  .about,
  .links {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 48px;
  }

  .facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .fact {
    display: flex;
    min-width: 0;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: space-between;
    border-right: var(--line) solid var(--ink);
  }

  .fact:last-child {
    border-right: 0;
  }

  .links__heading {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --line: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 280px;
    padding-bottom: 70px;
  }

  .status-line {
    max-width: 100%;
    margin-bottom: 32px;
    font-size: 10px;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(4rem, 21vw, 6.4rem);
    text-shadow: 4px 4px 0 var(--gold);
  }

  .hero__text {
    margin-top: 26px;
  }

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

  .button {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 11px;
  }

  .hero__visual {
    top: -28px;
    right: auto;
    left: 50%;
    width: 240px;
    transform: translateX(-50%);
  }

  .spider-scene {
    height: 320px;
  }

  .section-pad {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .about__copy h2,
  .links__heading h2,
  .chart__heading h2 {
    font-size: clamp(2.8rem, 16vw, 5.2rem);
  }

  .about__copy p {
    margin-top: 26px;
    font-size: 1.08rem;
  }

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

  .fact {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 16px 0;
    border-right: 0;
  }

  .hero-contract {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 56px;
  }

  .hero-contract__label {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 10px;
  }

  .contract-address {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.76rem;
  }

  .copy-button {
    grid-column: 1 / -1;
    min-height: 48px;
    border-top: 3px solid var(--ink);
    border-left: 0;
  }

  .official-link {
    grid-template-columns: 30px 1fr auto;
    min-height: 82px;
  }

  .official-link strong {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
  }

  .chart__heading {
    display: block;
  }

  .chart__heading h2 {
    margin-top: 24px;
  }

  .chart__link {
    width: 100%;
    margin-top: 26px;
  }

  .chart__frame {
    min-height: 560px;
    box-shadow: 7px 7px 0 var(--rust);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-footer p {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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