:root {
  --ink: #16150f;
  --cream: #f2efdf;
  --acid: #b7ef36;
  --orange: #ff6534;
  --purple: #6650b8;
  --line: rgba(22, 21, 15, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

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

.nav {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid var(--ink);
  background: rgba(242, 239, 223, 0.92);
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 34px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.nav-links a {
  transition: opacity 180ms ease;
}

.nav-links a:hover {
  opacity: 0.5;
}

.nav-cta {
  justify-self: end;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 12px 15px 12px 18px;
  background: var(--acid);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.button-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.nav-cta span,
.button span {
  display: inline-block;
  margin-left: 12px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 46% 54%;
  border-bottom: 1px solid var(--ink);
}

.hero-copy {
  padding: 92px 4vw 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 101, 52, 0.15);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 800;
}

h1 .outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  transform: rotate(-2deg) translateX(-4px);
}

.hero-description {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.button {
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 24px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 180ms ease;
}

.button-primary {
  min-width: 180px;
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-secondary {
  min-width: 220px;
  background: transparent;
  color: var(--ink);
}

.button-secondary b {
  font-size: 18px;
}

.hero-art {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(183, 239, 54, 0.42), transparent 34%),
    var(--purple);
}

.portrait {
  position: relative;
  z-index: 3;
  width: min(70%, 520px);
  aspect-ratio: 1;
  transform: rotate(-3deg);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  border: 3px solid var(--ink);
  border-radius: 48% 52% 46% 54%;
  box-shadow: 15px 18px 0 rgba(22, 21, 15, 0.88);
  filter: saturate(0.85) contrast(1.05);
}

.speech {
  position: absolute;
  right: -45px;
  bottom: 35px;
  z-index: 5;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  text-align: center;
  font-family: "Permanent Marker", cursive;
  font-size: 16px;
  line-height: 0.9;
  transform: rotate(8deg);
}

.speech::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -12px;
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--acid);
  transform: skew(-28deg) rotate(-12deg);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(242, 239, 223, 0.58);
  border-radius: 50%;
}

.orbit-one {
  width: 82%;
  aspect-ratio: 1;
  transform: rotate(25deg);
}

.orbit-two {
  width: 58%;
  aspect-ratio: 1;
  border-style: dashed;
  transform: rotate(-20deg);
}

.stamp {
  position: absolute;
  left: 7%;
  top: 9%;
  z-index: 4;
  width: 104px;
  height: 104px;
  display: grid;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  text-align: center;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.05;
  transform: rotate(-10deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.stamp b {
  font-family: "Permanent Marker", cursive;
  font-size: 17px;
}

.ticker {
  position: absolute;
  right: -120px;
  bottom: 70px;
  z-index: 4;
  width: 390px;
  padding: 10px 0;
  border: 2px solid var(--ink);
  background: var(--cream);
  text-align: center;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  transform: rotate(-12deg);
}

.ticker-strip {
  height: 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
  transform: rotate(-0.5deg) scale(1.01);
}

.ticker-track {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 42px;
  font-family: "DM Mono", monospace;
  font-weight: 500;
  animation: marquee 16s linear infinite;
}

.ticker-track i {
  color: var(--orange);
  font-size: 22px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-33.333%); }
}

.story {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 650px;
  border-bottom: 1px solid var(--ink);
}

.story-image {
  position: relative;
  min-height: 650px;
  border-right: 1px solid var(--ink);
  background: #d3ccb7;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.08);
}

.image-label {
  position: absolute;
  left: 28px;
  bottom: 18px;
  margin: 0;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  transform: rotate(-2deg);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 7vw;
}

.story-copy h2,
.section-heading h2,
.chaos h2 {
  margin-bottom: 30px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.story-copy h2 em,
.chaos h2 em {
  color: var(--orange);
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.story-copy > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.stats div {
  display: flex;
  flex-direction: column;
  padding: 20px 12px 18px 0;
}

.stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--ink);
}

.stats strong {
  font-size: 32px;
  letter-spacing: -2px;
}

.stats span {
  margin-top: 4px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.token {
  padding: 90px 4vw 110px;
  border-bottom: 1px solid var(--ink);
  background: var(--orange);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin: 0;
  text-align: right;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--ink);
}

.token-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  position: relative;
}

.token-grid article + article {
  border-left: 2px solid var(--ink);
}

.card-number {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.token-grid h3 {
  margin-bottom: 8px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 400;
}

.token-grid strong {
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: -2px;
}

.chaos {
  min-height: 390px;
  display: grid;
  grid-template-columns: 55% 45%;
  background: var(--purple);
  color: var(--cream);
}

.chaos-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 4vw;
  border-right: 1px solid var(--cream);
}

.chaos h2 {
  margin-bottom: 18px;
}

.chaos h2 em {
  color: var(--acid);
}

.chaos-copy > p:last-child {
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  padding: 45px 4vw;
  gap: 12px;
}

.socials a {
  aspect-ratio: 1;
  max-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
  border-radius: 50%;
  font-size: clamp(18px, 2.5vw, 36px);
  font-weight: 800;
  transition: 180ms ease;
}

.socials a span {
  position: absolute;
  align-self: flex-end;
  margin-bottom: 20%;
  opacity: 0;
  font-size: 16px;
  transition: 180ms ease;
}

.socials a:hover {
  color: var(--ink);
  background: var(--acid);
  transform: rotate(-5deg);
}

.socials a:hover span {
  opacity: 1;
}

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 4vw;
  border-top: 1px solid var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
}

footer p {
  margin: 0;
}

.disclaimer {
  justify-self: end;
  max-width: 260px;
  text-align: right;
  opacity: 0.65;
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-copy {
    min-height: 520px;
    border-right: 0;
  }

  .hero-art {
    min-height: 590px;
  }

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

  .story-image {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

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

  .chaos-copy {
    border-right: 0;
    border-bottom: 1px solid var(--cream);
  }
}

@media (max-width: 600px) {
  .nav {
    height: 68px;
    padding: 0 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    padding: 10px 12px;
  }

  .hero-copy {
    min-height: 500px;
    padding: 60px 20px;
  }

  h1 {
    font-size: clamp(58px, 19vw, 78px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 470px;
  }

  .portrait {
    width: 68%;
  }

  .speech {
    right: -25px;
    width: 92px;
    height: 92px;
    font-size: 13px;
  }

  .stamp {
    left: 4%;
    width: 82px;
    height: 82px;
  }

  .ticker {
    bottom: 40px;
  }

  .story-image {
    min-height: 430px;
  }

  .story-copy {
    padding: 60px 20px;
  }

  .story-copy h2,
  .section-heading h2,
  .chaos h2 {
    font-size: 52px;
  }

  .stats strong {
    font-size: 25px;
  }

  .token {
    padding: 70px 20px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    text-align: left;
  }

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

  .token-grid article {
    min-height: 180px;
  }

  .token-grid article + article {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .socials {
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 20px 60px;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .disclaimer {
    justify-self: center;
  }

  .disclaimer {
    text-align: center;
  }
}
