:root {
  --ink: #111423;
  --deep: #07142c;
  --paper: #fff9df;
  --chalk: #fffef2;
  --blue: #68dcf5;
  --blue-dark: #179ac0;
  --coral: #f46b69;
  --coral-dark: #d74b4f;
  --yellow: #ffe45f;
  --mauve: #b789bd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--ink);
  font-family: "Comic Sans MS", "Trebuchet MS", Arial, sans-serif;
}

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

button,
a {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1320px, calc(100% - 30px));
  min-height: 92px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 76px;
  height: 66px;
  place-items: center;
  transform: rotate(-5deg);
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--coral);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 36px;
  line-height: 1;
}

.brand-mark b {
  position: absolute;
  right: 7px;
  bottom: -8px;
  color: var(--coral);
  font-size: 42px;
  text-shadow: 2px 2px 0 var(--ink);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.mini-button,
.main-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.mini-button {
  padding: 8px 18px;
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 17px;
}

.mini-button:nth-child(even) {
  transform: rotate(1.5deg);
}

.mini-button:hover,
.mini-button:focus-visible,
.main-button:hover,
.main-button:focus-visible {
  transform: translate(3px, 3px) rotate(0deg);
  box-shadow: 1px 1px 0 var(--ink);
  outline: none;
}

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

.mini-button--blue {
  background: var(--blue);
}

.mini-button--coral {
  background: var(--coral);
  color: white;
}

.hero {
  position: relative;
  display: grid;
  min-height: 880px;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.8fr);
  align-items: center;
  gap: 20px;
  padding: 140px max(24px, calc((100vw - 1320px) / 2)) 80px;
  isolation: isolate;
  background: var(--blue);
}

.hero-ray {
  position: absolute;
  z-index: -2;
  inset: -35%;
  background: repeating-conic-gradient(from -8deg at 63% 49%, var(--blue) 0 8deg, var(--coral) 8deg 16deg);
  animation: ray-drift 18s linear infinite;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(17, 20, 35, 0.18) 0.8px, transparent 0.8px);
  background-size: 4px 4px;
  content: "";
  mix-blend-mode: multiply;
  pointer-events: none;
}

@keyframes ray-drift {
  to {
    transform: rotate(8deg);
  }
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 14px;
  transform: rotate(-1.5deg);
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(16px, 2vw, 23px);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--chalk);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(98px, 15vw, 220px);
  font-weight: 900;
  line-height: 0.74;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: 7px 7px 0 var(--coral), 13px 13px 0 var(--ink);
}

.hero h1 span {
  display: block;
}

.hero-intro {
  max-width: 610px;
  margin: 42px 0 28px;
  padding: 14px 18px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.08;
}

.main-button {
  min-height: 64px;
  padding: 13px 28px;
  transform: rotate(-1.5deg);
  background: var(--coral);
  box-shadow: 7px 7px 0 var(--ink);
  color: white;
  font-size: clamp(20px, 2vw, 28px);
  clip-path: polygon(2% 8%, 97% 0, 100% 88%, 4% 100%);
}

.main-button--blue {
  background: var(--blue-dark);
}

.hero-character {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: min(620px, 48vw);
  padding-bottom: 12px;
  animation: character-float 3.2s ease-in-out infinite;
}

.hero-character img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--ink);
  object-fit: contain;
  transform: rotate(1.2deg);
}

.character-halo {
  position: absolute;
  z-index: 1;
  inset: 6% -7% -3% 5%;
  transform: rotate(-4deg);
  border: 5px solid var(--ink);
  background: var(--yellow);
}

.character-note {
  position: absolute;
  z-index: 4;
  right: -5%;
  bottom: 6%;
  max-width: 240px;
  margin: 0;
  padding: 12px 15px;
  transform: rotate(-5deg);
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--coral);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(17px, 2vw, 26px);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.hero-stamp {
  position: absolute;
  z-index: 4;
  top: 18%;
  right: 2%;
  display: grid;
  width: 132px;
  height: 132px;
  place-content: center;
  transform: rotate(8deg);
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--deep);
  box-shadow: 7px 7px 0 var(--ink);
  color: white;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 18px;
  line-height: 0.86;
  text-align: center;
  text-transform: uppercase;
}

.hero-stamp strong {
  color: var(--yellow);
  font-size: 34px;
}

@keyframes character-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.3deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.5deg);
  }
}

.ticker {
  position: relative;
  z-index: 8;
  overflow: hidden;
  border-block: 5px solid var(--ink);
  background: var(--yellow);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  animation: ticker-run 22s linear infinite;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  white-space: nowrap;
}

.ticker-track i {
  color: var(--coral);
  font-style: normal;
  text-shadow: 2px 2px 0 var(--ink);
}

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

.about {
  position: relative;
  display: grid;
  min-height: 850px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  padding: clamp(90px, 10vw, 150px) max(24px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
}

.about::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(244, 107, 105, 0.18) 43% 45%, transparent 45% 100%),
    radial-gradient(rgba(104, 220, 245, 0.14) 1px, transparent 1px);
  background-size: auto, 9px 9px;
  content: "";
  pointer-events: none;
}

.about-portrait {
  position: relative;
  margin: 0;
}

.portrait-frame {
  display: block;
  padding: 16px;
  transform: rotate(-4deg);
  border: 5px solid var(--paper);
  background: var(--coral);
  box-shadow: 14px 14px 0 var(--blue);
  clip-path: polygon(4% 0, 100% 4%, 96% 100%, 0 95%);
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--ink);
  object-fit: contain;
}

.portrait-caption {
  position: absolute;
  right: -8%;
  bottom: -7%;
  display: inline-block;
  padding: 10px 14px;
  transform: rotate(3deg);
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--coral);
  color: var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(14px, 1.4vw, 20px);
  text-transform: uppercase;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy h2,
.section-heading h2,
.directions-heading h2,
.token-copy h2,
.join-copy h2 {
  margin: 8px 0 18px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 720px;
  color: var(--blue);
  text-shadow: 4px 4px 0 var(--coral);
}

.about-copy p:not(.section-label),
.section-heading > p:last-child,
.directions-heading > p:last-child,
.join-copy > p:not(.section-label) {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 800;
  line-height: 1.14;
}

.about-copy .main-button {
  margin-top: 18px;
}

.section-heading {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto 60px;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center > p:last-child {
  margin-inline: auto;
}

.files {
  position: relative;
  padding: clamp(90px, 9vw, 140px) max(20px, calc((100vw - 1320px) / 2));
  overflow: hidden;
  border-bottom: 6px solid var(--ink);
  background: var(--paper);
}

.files::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(103deg, transparent 0 20%, rgba(244, 107, 105, 0.16) 20% 22%, transparent 22% 72%, rgba(104, 220, 245, 0.18) 72% 74%, transparent 74%),
    radial-gradient(rgba(17, 20, 35, 0.14) 1px, transparent 1px);
  background-size: auto, 7px 7px;
  content: "";
}

.files .section-heading h2 {
  color: var(--coral);
  text-shadow: 5px 5px 0 var(--blue), 9px 9px 0 var(--ink);
}

.file-grid {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1320px;
  margin: 0 auto;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 30px;
}

.file-card {
  padding: 13px;
  border: 5px solid var(--ink);
  background: var(--blue);
  box-shadow: 12px 12px 0 var(--ink);
}

.file-card--one {
  grid-column: 1 / span 7;
  transform: rotate(-1.5deg);
}

.file-card--two {
  grid-column: 7 / span 6;
  margin-top: 130px;
  transform: rotate(2deg);
  background: var(--coral);
}

.file-card--three {
  grid-column: 3 / span 5;
  margin-top: -25px;
  transform: rotate(1deg);
  background: var(--yellow);
}

.file-image {
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  place-items: center;
  border: 4px solid var(--ink);
  background: var(--deep);
}

.file-image--square {
  aspect-ratio: 1 / 1;
  background: var(--paper);
}

.file-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 5px 2px;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 800;
  line-height: 1;
}

.file-copy b {
  flex: 0 0 auto;
  font-family: Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.directions {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(45px, 7vw, 100px);
  padding: clamp(100px, 10vw, 160px) max(22px, calc((100vw - 1260px) / 2));
  overflow: hidden;
  border-bottom: 6px solid var(--ink);
  background: var(--coral);
}

.directions::before {
  position: absolute;
  inset: -45%;
  background: repeating-conic-gradient(from 5deg at 25% 50%, rgba(255, 228, 95, 0.9) 0 7deg, transparent 7deg 15deg);
  content: "";
  opacity: 0.62;
  pointer-events: none;
}

.directions-heading,
.directions-list {
  position: relative;
  z-index: 2;
}

.directions-heading {
  align-self: start;
  position: sticky;
  top: 40px;
}

.directions-heading h2 {
  color: var(--paper);
  text-shadow: 5px 5px 0 var(--ink);
}

.directions-list {
  display: grid;
  gap: 30px;
}

.direction-card {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 22px;
  padding: 25px 28px;
  transform: rotate(var(--tilt));
  border: 5px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}

.direction-card > span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 4px solid var(--ink);
  background: var(--blue);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 42px;
}

.direction-card:nth-child(even) > span {
  background: var(--yellow);
}

.direction-card h3,
.buy-step h3 {
  margin: 0 0 7px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.92;
  text-transform: uppercase;
}

.direction-card p,
.buy-step p {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 800;
  line-height: 1.08;
}

.buy-section {
  position: relative;
  padding: clamp(100px, 10vw, 160px) max(22px, calc((100vw - 1280px) / 2));
  overflow: hidden;
  border-bottom: 6px solid var(--ink);
  background: var(--coral-dark);
}

.buy-section::before {
  position: absolute;
  inset: -50%;
  background: repeating-conic-gradient(from -8deg at 86% 58%, transparent 0 9deg, rgba(255, 228, 95, 0.78) 9deg 12deg);
  content: "";
  pointer-events: none;
}

.buy-section .section-heading h2 {
  color: var(--paper);
  text-shadow: 5px 5px 0 var(--blue), 10px 10px 0 var(--ink);
}

.buy-layout {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.7fr);
  align-items: end;
  gap: clamp(35px, 6vw, 90px);
}

.buy-steps {
  display: grid;
  gap: 20px;
}

.buy-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 19px;
  padding: 18px 20px;
  transform: rotate(-0.5deg);
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.buy-step:nth-child(even) {
  transform: rotate(0.8deg);
  background: var(--blue);
}

.buy-step > span {
  display: grid;
  min-height: 65px;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--coral);
  color: white;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 31px;
}

.buy-steps .main-button {
  justify-self: start;
  margin-top: 16px;
}

.buy-character {
  position: relative;
  display: grid;
  min-height: 680px;
  margin: 0;
  place-items: end center;
}

.buy-character::before {
  position: absolute;
  z-index: -1;
  right: -7%;
  bottom: 3%;
  width: 96%;
  aspect-ratio: 1;
  transform: rotate(7deg);
  border: 5px solid var(--ink);
  background: var(--blue);
  box-shadow: 14px 14px 0 var(--ink);
  content: "";
}

.buy-character img {
  display: block;
  width: 100%;
  max-height: 790px;
  border: 4px solid var(--ink);
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(8px 8px 0 var(--ink));
}

.buy-scribble {
  position: absolute;
  z-index: 3;
  top: 8%;
  right: -8%;
  padding: 10px 15px;
  transform: rotate(8deg);
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--coral);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(20px, 2vw, 31px);
  text-transform: uppercase;
}

.token-section {
  position: relative;
  padding: clamp(100px, 10vw, 160px) max(22px, calc((100vw - 1280px) / 2));
  overflow: hidden;
  border-bottom: 6px solid var(--paper);
  background: var(--deep);
  color: var(--paper);
}

.token-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(104, 220, 245, 0.34), transparent 35%),
    radial-gradient(circle at 86% 20%, rgba(244, 107, 105, 0.24), transparent 32%);
  content: "";
}

.token-top,
.chart-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin-inline: auto;
}

.token-top {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(35px, 6vw, 85px);
}

.token-art {
  display: grid;
  max-height: 780px;
  margin: 0;
  place-items: end center;
}

.token-art img {
  display: block;
  width: 100%;
  border: 5px solid var(--paper);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(10px 10px 0 var(--coral));
}

.token-copy h2 {
  color: var(--blue);
  text-shadow: 5px 5px 0 var(--coral);
}

.token-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.token-stats article {
  display: grid;
  min-height: 135px;
  place-content: center;
  transform: rotate(-0.5deg);
  border: 4px solid var(--paper);
  background: var(--coral);
  box-shadow: 8px 8px 0 var(--blue);
  text-align: center;
}

.token-stats article:nth-child(even) {
  transform: rotate(0.7deg);
  background: var(--blue-dark);
}

.token-stats span {
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
}

.token-stats strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(31px, 4vw, 55px);
  line-height: 0.9;
  text-transform: uppercase;
}

.contract-box {
  display: flex;
  margin-top: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--coral);
  color: var(--ink);
}

.contract-box > div {
  min-width: 0;
}

.contract-box span {
  display: block;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 19px;
  text-transform: uppercase;
}

.contract-box code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

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

.chart-wrap {
  margin-top: 100px;
  padding: 13px;
  transform: rotate(-0.35deg);
  border: 5px solid var(--paper);
  background: var(--coral);
  box-shadow: 13px 13px 0 var(--blue);
}

.chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 6px 14px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.chart-title b {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 30px;
}

.fake-chart {
  position: relative;
  display: grid;
  height: 620px;
  overflow: hidden;
  border: 4px solid var(--ink);
  background:
    linear-gradient(rgba(104, 220, 245, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 220, 245, 0.08) 1px, transparent 1px),
    #081020;
  background-size: 42px 42px;
}

.fake-chart::before {
  position: absolute;
  right: 7%;
  bottom: 22%;
  left: 7%;
  height: 7px;
  background: var(--blue);
  box-shadow:
    90px -40px 0 var(--yellow),
    190px -95px 0 var(--coral),
    310px -55px 0 var(--blue),
    450px -160px 0 var(--yellow),
    610px -115px 0 var(--coral),
    760px -230px 0 var(--blue);
  content: "";
  transform: skewY(-14deg);
}

.fake-chart::after {
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: rgba(255, 249, 223, 0.74);
  content: "waiting for the real noise";
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  text-transform: uppercase;
}

.fake-chart span {
  position: absolute;
  width: 22px;
  height: 78px;
  bottom: 70px;
  border: 3px solid var(--ink);
  background: var(--coral);
}

.fake-chart span:nth-child(1) { left: 11%; height: 120px; background: var(--blue); }
.fake-chart span:nth-child(2) { left: 25%; height: 210px; background: var(--yellow); }
.fake-chart span:nth-child(3) { left: 40%; height: 155px; background: var(--coral); }
.fake-chart span:nth-child(4) { left: 55%; height: 280px; background: var(--blue); }
.fake-chart span:nth-child(5) { left: 70%; height: 230px; background: var(--yellow); }
.fake-chart span:nth-child(6) { left: 84%; height: 340px; background: var(--coral); }

.join-section {
  position: relative;
  display: grid;
  min-height: 880px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(35px, 6vw, 80px);
  padding: clamp(110px, 10vw, 160px) max(22px, calc((100vw - 1280px) / 2));
  overflow: hidden;
  background: var(--blue);
}

.join-section::before {
  position: absolute;
  inset: -45%;
  background: repeating-conic-gradient(from 0deg at 72% 48%, transparent 0 9deg, rgba(244, 107, 105, 0.88) 9deg 17deg);
  content: "";
  opacity: 0.56;
}

.join-images,
.join-copy {
  position: relative;
  z-index: 2;
}

.join-images {
  min-height: 620px;
}

.join-image {
  position: absolute;
  display: block;
  width: 76%;
  height: auto;
  border: 5px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--ink);
  object-fit: contain;
}

.join-image--back {
  top: 0;
  right: 0;
  transform: rotate(6deg);
}

.join-image--front {
  bottom: 0;
  left: 0;
  transform: rotate(-5deg);
}

.join-copy {
  padding: 34px;
  transform: rotate(1deg);
  border: 5px solid var(--ink);
  background: var(--paper);
  box-shadow: 13px 13px 0 var(--ink);
}

.join-copy h2 {
  color: var(--coral);
  text-shadow: 4px 4px 0 var(--blue);
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.footer {
  display: flex;
  min-height: 230px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 55px max(22px, calc((100vw - 1280px) / 2));
  border-top: 6px solid var(--paper);
  background: var(--deep);
  color: var(--paper);
}

.footer > div {
  display: grid;
  gap: 8px;
}

.footer strong {
  color: var(--blue);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 0.85;
  text-shadow: 4px 4px 0 var(--coral);
}

.footer span {
  font-size: 21px;
  font-weight: 800;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer nav a {
  padding: 8px 13px;
  border: 3px solid var(--paper);
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--blue);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    left: auto;
    width: 100%;
    min-height: auto;
    transform: none;
    padding: 16px;
    background: var(--blue);
  }

  .hero,
  .about,
  .directions,
  .buy-layout,
  .token-top,
  .join-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 70px;
  }

  .hero-character {
    width: min(650px, 88vw);
  }

  .hero-stamp {
    top: 48%;
  }

  .about-portrait,
  .buy-character,
  .token-art,
  .join-images {
    width: min(620px, 90vw);
    justify-self: center;
  }

  .file-card--one {
    grid-column: 1 / span 8;
  }

  .file-card--two {
    grid-column: 6 / span 7;
  }

  .file-card--three {
    grid-column: 2 / span 7;
  }

  .directions-heading {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 60px;
    height: 54px;
    font-size: 28px;
  }

  .header-actions {
    gap: 7px;
  }

  .mini-button {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 14px;
  }

  .hero {
    padding: 52px 18px 50px;
  }

  .hero h1 {
    font-size: clamp(78px, 22vw, 112px);
  }

  .character-note {
    right: -1%;
    max-width: 180px;
  }

  .hero-stamp {
    display: none;
  }

  .about {
    padding: 90px 18px 110px;
  }

  .portrait-caption {
    right: 0;
  }

  .files,
  .directions,
  .buy-section,
  .token-section,
  .join-section {
    padding-inline: 18px;
  }

  .file-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .file-card--one,
  .file-card--two,
  .file-card--three {
    grid-column: 1;
    margin-top: 0;
  }

  .direction-card {
    grid-template-columns: 70px 1fr;
    padding: 18px;
  }

  .direction-card > span {
    min-height: 70px;
    font-size: 34px;
  }

  .buy-step {
    grid-template-columns: 58px 1fr;
    padding: 14px;
  }

  .buy-character {
    min-height: 530px;
  }

  .token-stats {
    grid-template-columns: 1fr;
  }

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

  .copy-button {
    justify-content: center;
  }

  .chart-wrap {
    margin-top: 70px;
    padding: 8px;
  }

  .fake-chart {
    height: 500px;
  }

  .join-images {
    min-height: 420px;
  }

  .join-image {
    width: 82%;
  }

  .join-copy {
    padding: 24px 18px;
  }

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

  .footer nav {
    justify-content: flex-start;
  }
}

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