@import url("https://fonts.googleapis.com/css2?family=Anton&family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --ink: #153a31;
  --panel: #167764;
  --cream: #fff8d8;
  --paper: #fffdf0;
  --green: #65df2c;
  --orange: #ee7240;
  --soft: rgba(21, 58, 49, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", Arial, sans-serif;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 18px 18px, rgba(238, 114, 64, 0.5) 0 2px, transparent 2.5px),
    radial-gradient(circle at 52px 46px, rgba(22, 119, 100, 0.25) 0 1.5px, transparent 2px),
    url("./assets/hamcat-hanging.png");
  background-size: 76px 76px, 76px 76px, 118px 118px;
  background-blend-mode: normal, normal, soft-light;
}

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

button,
a {
  font: inherit;
}

.nav {
  width: min(1120px, calc(100% - 44px));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.brand,
.nav-actions,
.actions,
.nap-head {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--green);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-actions,
.actions {
  gap: 12px;
}

.pill {
  min-height: 44px;
  padding: 0 22px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill::after {
  content: "↗";
  margin-left: 10px;
}

.pill.ghost {
  background: var(--paper);
}

.pill.green {
  background: var(--green);
}

.shadow {
  box-shadow: 5px 5px 0 var(--ink);
}

.hero {
  width: min(1120px, calc(100% - 44px));
  min-height: 560px;
  margin: 64px auto 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.status,
.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 13px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(101, 223, 44, 0.24);
}

.status span {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  display: inline-block;
  background: var(--green);
}

h1,
h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(90px, 8vw, 150px);
  text-shadow: 8px 8px 0 var(--ink);
}

h1 span {
  display: block;
}

h1 span:first-child {
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
}

h1 span:last-child {
  color: var(--orange);
  -webkit-text-stroke: 3px var(--ink);
}

.lead {
  margin: 28px 0 28px;
  max-width: 560px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-card {
  margin: 0;
  min-height: 470px;
  padding: 48px;
  border: 5px solid var(--ink);
  border-radius: 38% 38% 8% 8% / 46% 46% 8% 8%;
  background: radial-gradient(circle at 45% 34%, #a4ff58 0 14%, var(--green) 44%, #43c91e 100%);
  box-shadow: 12px 14px 0 var(--ink);
  position: relative;
  display: grid;
  place-items: center;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 3px solid var(--ink);
  border-radius: 36% 36% 6% 6% / 44% 44% 6% 6%;
  pointer-events: none;
}

.hero-card img {
  width: min(360px, 82%);
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 22px 35px rgba(21, 58, 49, 0.28);
  transform: rotate(-4deg);
}

.hero-card figcaption {
  position: absolute;
  right: -16px;
  bottom: 58px;
  padding: 12px 24px;
  border: 3px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-4deg);
}

.lore,
.contract-wrap,
.nap {
  width: min(1120px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}

.lore {
  margin-top: 40px;
  padding: 48px;
  border: 5px solid var(--ink);
  border-radius: 24px;
  background: var(--panel);
  color: var(--paper);
  box-shadow: 12px 12px 0 var(--orange);
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
}

.lore h2,
.nap h2 {
  font-size: clamp(58px, 6vw, 100px);
}

.lore-copy {
  font-size: 24px;
  line-height: 1.48;
  font-weight: 800;
}

.lore-copy p {
  margin: 0 0 22px;
}

.contract-wrap {
  margin-top: 70px;
}

.contract {
  width: 100%;
  min-height: 72px;
  padding: 0 16px 0 26px;
  border: 5px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.contract span {
  overflow: hidden;
  font-family: "DM Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract strong {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.nap {
  margin-top: 70px;
}

.nap-head {
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 20px;
}

.nap .eyebrow,
.contract-wrap .eyebrow {
  color: var(--ink);
}

.nap h2 {
  color: var(--ink);
}

.telemetry {
  min-height: 560px;
  padding: 42px;
  border: 5px solid var(--ink);
  border-radius: 24px;
  background: #111;
  box-shadow: 12px 12px 0 var(--panel);
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 42px;
  align-items: center;
}

.hanging {
  margin: 0;
  border: 5px solid var(--ink);
  border-radius: 26px;
  background: var(--green);
  box-shadow: 8px 8px 0 var(--orange);
  overflow: hidden;
  transform: rotate(-2deg);
}

.hanging img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.ticker-board {
  min-height: 360px;
  padding: 32px;
  border: 2px dashed rgba(255, 248, 216, 0.35);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 12px;
}

.ticker-board span {
  color: var(--green);
  font-family: "DM Mono", monospace;
  font-size: 13px;
}

.ticker-board strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.9;
  color: var(--orange);
}

.footer {
  width: min(1120px, calc(100% - 44px));
  margin: 82px auto 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav,
  .hero,
  .lore,
  .nap-head,
  .telemetry,
  .footer {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero {
    gap: 42px;
    margin-top: 42px;
  }

  .nav-actions,
  .actions {
    flex-wrap: wrap;
  }

  .hero-card {
    min-height: 390px;
  }

  .lore,
  .telemetry {
    padding: 28px;
  }
}
