:root {
  --paper: #ffffaf;
  --ink: #111111;
  --red: #d74e31;
  --orange: #f5c440;
  --gold: #f3b263;
  --blue: #99c5f8;
  --purple: #3f3db1;
  --mint: #a6f8c7;
  --deep: #1c482b;
  --brown: #36201d;
  --tape: #bfeeff;
  --white: #fff9db;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 196, 64, 0.44), transparent 24rem),
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(var(--paper), var(--paper));
  background-size: auto, 92px 92px, auto;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(100% - 28px, 1320px);
  margin: 14px auto 0;
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 255, 175, 0.92);
  box-shadow: 7px 7px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  backdrop-filter: blur(8px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
}

.coin {
  width: 38px;
  height: 38px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-links {
  gap: 18px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 34px;
  padding: 48px 0 58px;
}

.stamp,
.eyebrow {
  margin: 0 0 12px;
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(86px, 12vw, 190px);
  line-height: 0.78;
  letter-spacing: 0;
  font-weight: 1000;
  color: var(--red);
  text-transform: uppercase;
  text-shadow:
    6px 0 0 var(--orange),
    0 6px 0 var(--orange),
    7px 7px 0 var(--ink);
  -webkit-text-stroke: 4px var(--ink);
}

.hero h1 span {
  display: block;
}

.lead {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.02;
  font-weight: 950;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.comic-button,
.ca-card,
.contract {
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
  font-weight: 950;
}

.comic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 25px;
  border-radius: 15px;
  background: var(--red);
  color: var(--paper);
  font-size: 24px;
  text-transform: uppercase;
  transform: rotate(-1.4deg);
}

.comic-button:hover {
  animation: wiggle 0.32s steps(2, jump-none) infinite;
}

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

.ca-card,
.contract {
  max-width: min(100%, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 15px 18px;
  border-radius: 7px;
  background: var(--white);
  font-family: "Courier New", Courier, monospace;
  font-size: 17px;
}

.poster {
  position: relative;
  margin: 0;
  border: 5px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
}

.poster::before,
.poster::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 78px;
  height: 24px;
  border: 3px solid var(--ink);
  background: var(--tape);
  transform: rotate(-18deg);
}

.poster::before {
  top: 14px;
  left: -8px;
}

.poster::after {
  right: -11px;
  bottom: 18px;
  transform: rotate(-12deg);
}

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

.hero-art {
  height: min(72vh, 720px);
}

.hero-art img {
  object-position: 50% 44%;
}

.tilt-right {
  transform: rotate(1.1deg);
}

.tilt-left {
  transform: rotate(-1deg);
}

.marquee {
  border-block: 5px solid var(--ink);
  background: var(--purple);
  color: var(--paper);
  overflow: hidden;
}

.marquee div {
  display: flex;
  gap: 34px;
  width: max-content;
  padding: 16px 0;
  animation: crawl 24s linear infinite;
}

.marquee span {
  font-size: 36px;
  font-weight: 950;
  text-shadow: 3px 3px 0 var(--ink);
}

.origin {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 42px;
  padding: 82px 0;
}

.section-copy h2,
.case-copy h2,
.buy-copy h2 {
  margin: 0;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 1000;
  text-transform: uppercase;
}

.section-copy p:last-child,
.buy-copy p {
  margin: 24px 0 0;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.05;
  font-weight: 850;
}

.panel-stack {
  height: auto;
}

.panel-stack img {
  height: auto;
  object-fit: contain;
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 72px;
}

.note {
  min-height: 260px;
  border: 5px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 24px;
  transform: rotate(var(--r, -1deg));
}

.note:nth-child(2) {
  --r: 1.1deg;
  background: var(--mint);
}

.note:nth-child(3) {
  --r: -0.5deg;
  background: var(--gold);
}

.note span {
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
}

.note h3 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 0.9;
  text-transform: uppercase;
}

.note p {
  margin: 0;
  font-size: 21px;
  line-height: 1.12;
  font-weight: 800;
}

.case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  padding: 24px 0 92px;
}

.wide-comic {
  height: 610px;
}

.wide-comic img {
  object-position: 48% 50%;
}

.case-copy {
  padding: 26px 0;
}

.buy-section {
  padding-bottom: 92px;
}

.buy-card {
  min-height: 660px;
  border: 6px solid var(--ink);
  border-radius: 28px;
  background: var(--brown);
  color: var(--paper);
  box-shadow: 14px 14px 0 var(--ink);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
}

.buy-image {
  min-height: 660px;
  background-image:
    linear-gradient(90deg, rgba(54, 32, 29, 0.02), rgba(54, 32, 29, 0.26)),
    url("./assets/notdog-final-deploy.jpg");
  background-size: cover;
  background-position: 61% 50%;
}

.buy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 48px;
}

.buy-copy .eyebrow {
  color: var(--gold);
}

.buy-copy h2 {
  color: var(--orange);
  text-shadow: 5px 5px 0 var(--ink);
  -webkit-text-stroke: 2px var(--ink);
}

.buy-copy p {
  margin: 0;
}

.contract {
  max-width: 100%;
  color: var(--ink);
}

.footer {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
  border-top: 5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 52px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
}

.footer span:last-child {
  display: flex;
  gap: 18px;
}

@keyframes crawl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes wiggle {
  0% {
    transform: rotate(-1.4deg) translate(0, 0);
  }

  50% {
    transform: rotate(1.2deg) translate(2px, -1px);
  }

  100% {
    transform: rotate(-1.4deg) translate(0, 0);
  }
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero,
  .origin,
  .case,
  .buy-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-art {
    height: 430px;
  }

  .wide-comic {
    height: 520px;
  }

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

  .buy-image {
    min-height: 360px;
  }

  .buy-card {
    min-height: 0;
  }

  .buy-copy {
    padding: 34px 24px 40px;
  }

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

@media (max-width: 560px) {
  .section,
  .footer {
    width: min(100% - 22px, 1320px);
  }

  .hero h1 {
    -webkit-text-stroke: 2px var(--ink);
    text-shadow:
      4px 0 0 var(--orange),
      0 4px 0 var(--orange),
      5px 5px 0 var(--ink);
  }

  .hero-art,
  .wide-comic {
    height: 390px;
  }

  .comic-button,
  .ca-card,
  .contract {
    width: 100%;
  }
}
