:root {
  --ink: #12100c;
  --paper: #fff7dc;
  --shell: #fff3b4;
  --yolk: #f4c329;
  --hot: #ff4b2f;
  --mint: #58d28b;
  --blue: #2b62ff;
  --line: rgba(18, 16, 12, 0.18);
  --shadow: rgba(18, 16, 12, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 16, 12, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(18, 16, 12, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 14% 18%, rgba(255, 75, 47, 0.18), transparent 24%),
    radial-gradient(circle at 84% 15%, rgba(88, 210, 139, 0.2), transparent 26%),
    var(--paper);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

#hatch-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.42;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  border: 2px solid var(--ink);
  background: rgba(255, 247, 220, 0.84);
  box-shadow: 5px 5px 0 var(--ink);
}

.brand {
  gap: 10px;
  min-width: 136px;
  padding: 12px 16px;
  font-weight: 900;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border: 3px solid var(--ink);
  border-radius: 50% 50% 44% 44%;
  background: var(--yolk);
  transform: rotate(-12deg);
}

.nav-links a {
  min-width: 76px;
  padding: 13px 16px;
  border-left: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.nav-links a:first-child {
  border-left: 0;
}

.nav-links a:hover,
.action:hover,
.trail-grid a:hover,
.fund-uses article:hover,
.ca-box button:hover {
  background: var(--mint);
}

main,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 48px 0 40px;
}

.eyebrow,
.section-kicker,
.ca-note {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  background: var(--mint);
  box-shadow: 4px 4px 0 var(--ink);
}

h1 {
  margin: 22px 0 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(76px, 15vw, 190px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 8px 8px 0 var(--yolk), 13px 13px 0 var(--ink);
}

.hero-line {
  max-width: 590px;
  margin: 34px 0 0;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  line-height: 0.96;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.action.primary {
  background: var(--hot);
  color: #fff;
}

.action.ghost {
  background: rgba(255, 247, 220, 0.88);
}

.egg-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: 0 auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.orbit {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 0.8;
}

.orbit-one {
  width: 78%;
  height: 42%;
  transform: rotate(-18deg);
}

.orbit-two {
  width: 58%;
  height: 92%;
  transform: rotate(30deg);
}

.egg-shadow {
  position: absolute;
  bottom: 17%;
  width: 58%;
  height: 12%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--shadow);
}

.egg {
  position: relative;
  display: block;
  width: 58%;
  height: 70%;
  transform: rotate(-5deg);
  animation: eggWobble 2.2s ease-in-out infinite;
}

.egg-top,
.egg-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  border: 4px solid var(--ink);
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.75), transparent 11%),
    var(--shell);
}

.egg-top {
  z-index: 3;
  top: 0;
  height: 55%;
  border-radius: 50% 50% 30% 30%;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 86% 62%, 74% 78%, 61% 63%, 47% 81%, 33% 62%, 20% 76%, 0 62%);
}

.egg-bottom {
  z-index: 1;
  bottom: 0;
  height: 53%;
  border-radius: 24% 24% 50% 50%;
  clip-path: polygon(0 24%, 20% 38%, 33% 24%, 47% 43%, 61% 25%, 74% 40%, 86% 26%, 100% 35%, 100% 100%, 0 100%);
}

.crack {
  position: absolute;
  z-index: 4;
  display: block;
  width: 5px;
  border-radius: 999px;
  background: var(--ink);
}

.crack-one {
  top: 34%;
  left: 44%;
  height: 54px;
  transform: rotate(16deg);
}

.crack-two {
  top: 41%;
  left: 39%;
  height: 38px;
  transform: rotate(-48deg);
}

.crack-three {
  top: 40%;
  left: 53%;
  height: 40px;
  transform: rotate(55deg);
}

.chick {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 5;
  width: 42%;
  height: 34%;
  border: 4px solid var(--ink);
  border-radius: 48% 48% 42% 42%;
  background: var(--yolk);
  transform: translate(-50%, -38%);
}

.eye,
.beak {
  position: absolute;
  display: block;
}

.eye {
  top: 34%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
}

.eye-left {
  left: 28%;
}

.eye-right {
  right: 28%;
}

.beak {
  left: 50%;
  top: 52%;
  width: 26px;
  height: 18px;
  border: 3px solid var(--ink);
  background: var(--hot);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(-45%);
}

.tap-note {
  position: absolute;
  right: 5%;
  bottom: 10%;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.egg-stage.is-open .egg-top {
  transform: translate(-16px, -30px) rotate(-13deg);
}

.egg-stage.is-open .egg-bottom {
  transform: translate(14px, 20px) rotate(6deg);
}

.egg-stage.is-open .chick {
  transform: translate(-50%, -68%) scale(1.08);
}

.ticker {
  overflow: hidden;
  border-block: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ticker div {
  display: flex;
  width: max-content;
  animation: tickerMove 18s linear infinite;
}

.ticker span {
  display: block;
  padding: 16px 42px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(24px, 4vw, 52px);
  text-transform: uppercase;
}

.sticker-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
}

.sticker {
  position: relative;
  min-height: 132px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}

.sticker::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(18, 16, 12, 0.22);
  pointer-events: none;
}

.sticker-egg {
  background: var(--shell);
  animation: stickerHop 2.8s ease-in-out infinite;
}

.sticker-egg span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 78px;
  border: 4px solid var(--ink);
  border-radius: 50% 50% 44% 44%;
  background: var(--paper);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.sticker-egg span::before,
.sticker-egg span::after {
  content: "";
  position: absolute;
  width: 5px;
  border-radius: 999px;
  background: var(--ink);
}

.sticker-egg span::before {
  left: 28px;
  top: 22px;
  height: 38px;
  transform: rotate(18deg);
}

.sticker-egg span::after {
  left: 16px;
  top: 44px;
  height: 26px;
  transform: rotate(-48deg);
}

.sticker-noise {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(18, 16, 12, 0.08) 0 8px, transparent 8px 16px),
    var(--mint);
}

.sticker-noise strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 42px;
  transform: rotate(-6deg);
}

.sticker-noise::before,
.sticker-noise::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  animation: noiseBlink 1.1s steps(2, end) infinite;
}

.sticker-noise::before {
  left: 18px;
  top: 28px;
}

.sticker-noise::after {
  right: 20px;
  bottom: 30px;
}

.sticker-chick {
  background: var(--yolk);
  border-radius: 50% 50% 42% 42%;
  transform: rotate(5deg);
  animation: chickNod 2.4s ease-in-out infinite;
}

.mini-eye,
.mini-beak {
  position: absolute;
  z-index: 2;
  display: block;
}

.mini-eye {
  top: 42%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.mini-eye.left {
  left: 38%;
}

.mini-eye.right {
  right: 38%;
}

.mini-beak {
  left: 50%;
  top: 55%;
  width: 24px;
  height: 18px;
  background: var(--hot);
  border: 3px solid var(--ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(-44%);
}

.sticker-crack {
  background: var(--ink);
}

.sticker-crack span {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 8px;
  height: 78%;
  background: var(--paper);
  transform: rotate(15deg);
  animation: crackFlash 1.6s ease-in-out infinite;
}

.sticker-crack span::before,
.sticker-crack span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 42px;
  background: var(--paper);
}

.sticker-crack span::before {
  top: 28px;
  left: -17px;
  transform: rotate(-58deg);
}

.sticker-crack span::after {
  bottom: 22px;
  right: -18px;
  transform: rotate(58deg);
}

.sticker-word {
  display: grid;
  place-items: center;
  background: var(--hot);
  color: #fff;
}

.sticker-word strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 32px;
  text-shadow: 4px 4px 0 var(--ink);
  transform: rotate(4deg);
}

.avatar-wall,
.split-section,
.fund-section,
.trail,
.ca-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.avatar-wall {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px;
  padding: 72px 0 6px;
}

.avatar-wall h2 {
  max-width: 420px;
  margin-bottom: 0;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.avatar-grid figure {
  position: relative;
  margin: 0;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(var(--tilt));
}

.avatar-grid figure:nth-child(1) {
  --tilt: -2deg;
}

.avatar-grid figure:nth-child(2) {
  --tilt: 2deg;
}

.avatar-grid figure:nth-child(3) {
  --tilt: -1deg;
}

.avatar-grid figure:nth-child(4) {
  --tilt: 1.5deg;
}

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

.avatar-grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  padding: 84px 0;
}

.big-word {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(42px, 8vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
}

.short-stack {
  display: grid;
  align-content: end;
  gap: 18px;
}

.short-stack p {
  margin: 0;
  padding: 18px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.05;
}

.fund-section {
  padding: 8px 0 62px;
  scroll-margin-top: 96px;
}

.fund-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  align-items: end;
  gap: 20px;
}

.fund-heading h2 {
  margin-bottom: 0;
}

.fund-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.fund-main {
  min-height: 286px;
  padding: 22px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255, 247, 220, 0.11) 44% 48%, transparent 48% 100%),
    var(--ink);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--hot);
}

.fund-stamp {
  display: block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(76px, 13vw, 158px);
  line-height: 0.8;
  color: var(--yolk);
  text-shadow: 5px 5px 0 var(--hot);
}

.fund-main p {
  max-width: 330px;
  margin: 24px 0 0;
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.pressure-bar {
  position: relative;
  height: 18px;
  margin-top: 24px;
  border: 2px solid var(--paper);
  background: rgba(255, 247, 220, 0.16);
  overflow: hidden;
}

.pressure-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64%;
  background:
    repeating-linear-gradient(45deg, rgba(18, 16, 12, 0.24) 0 8px, transparent 8px 15px),
    var(--yolk);
  animation: pressurePulse 1.6s ease-in-out infinite;
}

.fund-main small {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fund-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fund-uses article {
  min-height: 286px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}

.fund-uses span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yolk);
  font-size: 12px;
  font-weight: 900;
}

.fund-uses strong {
  display: block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 0.92;
  text-transform: uppercase;
}

.fund-uses p {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.fund-rules {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fund-rules article {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--yolk);
  box-shadow: 5px 5px 0 var(--ink);
}

.fund-rules span {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.fund-rules p {
  margin: 0;
  font-size: clamp(14px, 1.45vw, 17px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.wallet-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 138px minmax(0, 1fr) 88px;
  align-items: center;
  min-height: 70px;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--hot);
}

.wallet-card span,
.wallet-card button {
  align-self: stretch;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-card span {
  border-right: 2px solid var(--paper);
  background: rgba(255, 247, 220, 0.08);
}

.wallet-card code {
  min-width: 0;
  padding: 16px;
  color: var(--yolk);
  font-size: clamp(12px, 1.8vw, 17px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.wallet-card button {
  border: 0;
  border-left: 2px solid var(--paper);
  background: var(--hot);
  font: inherit;
  cursor: pointer;
}

.wallet-card button:hover {
  background: var(--mint);
  color: var(--ink);
}

.trail {
  padding: 58px 0 78px;
  scroll-margin-top: 96px;
}

.section-kicker {
  color: var(--hot);
}

h2 {
  margin: 10px 0 24px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(36px, 6vw, 82px);
  line-height: 0.92;
  text-transform: uppercase;
}

.trail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trail-grid a {
  min-height: 160px;
  padding: 16px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}

.trail-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yolk);
  font-size: 12px;
  font-weight: 900;
}

.trail-grid strong {
  display: block;
  font-size: 20px;
  line-height: 1.03;
  text-transform: uppercase;
}

.ca-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  align-items: end;
  gap: 20px;
  padding: 36px 0 92px;
  scroll-margin-top: 96px;
}

.ca-box {
  display: flex;
  align-items: center;
  min-height: 72px;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--hot);
}

.ca-box code {
  flex: 1;
  min-width: 0;
  padding: 18px;
  color: var(--paper);
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.ca-box button {
  align-self: stretch;
  min-width: 88px;
  border: 0;
  border-left: 2px solid var(--paper);
  background: var(--yolk);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.ca-links {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ca-links a {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.ca-links a:first-child {
  background: var(--hot);
  color: #fff;
}

.ca-links a:hover {
  background: var(--mint);
  color: var(--ink);
}

.ca-note {
  grid-column: 2;
  max-width: 520px;
  color: rgba(18, 16, 12, 0.72);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes eggWobble {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-8px);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes stickerHop {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes noiseBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes chickNod {
  0%,
  100% {
    transform: rotate(5deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(5px);
  }
}

@keyframes crackFlash {
  0%,
  100% {
    opacity: 0.86;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 24px rgba(244, 195, 41, 0.7);
  }
}

@keyframes pressurePulse {
  0%,
  100% {
    width: 58%;
  }
  50% {
    width: 72%;
  }
}

@media (max-width: 840px) {
  .site-header {
    height: auto;
    padding: 14px 0;
    gap: 12px;
  }

  .brand {
    min-width: auto;
  }

  .nav-links a {
    min-width: 0;
    padding-inline: 10px;
  }

  .hero,
  .avatar-wall,
  .split-section,
  .fund-heading,
  .fund-layout,
  .ca-section {
    grid-template-columns: 1fr;
  }

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

  .egg-stage {
    max-width: 390px;
    order: -1;
  }

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

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

  .fund-rules {
    grid-template-columns: 1fr;
  }

  .wallet-card {
    grid-template-columns: 128px minmax(0, 1fr) 80px;
  }

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

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

  .ca-links,
  .ca-note {
    grid-column: auto;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .avatar-wall,
  .split-section,
  .fund-section,
  .trail,
  .ca-section,
  footer {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .brand,
  .nav-links {
    box-shadow: 3px 3px 0 var(--ink);
  }

  .nav-links {
    justify-content: stretch;
  }

  .nav-links a {
    flex: 1;
  }

  h1 {
    text-shadow: 5px 5px 0 var(--yolk), 9px 9px 0 var(--ink);
  }

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

  .fund-uses {
    grid-template-columns: 1fr;
  }

  .fund-rules article {
    grid-template-columns: 1fr;
  }

  .wallet-card {
    grid-template-columns: 1fr;
  }

  .wallet-card span,
  .wallet-card button {
    min-height: 48px;
  }

  .wallet-card span,
  .wallet-card button {
    border-right: 0;
    border-left: 0;
  }

  .wallet-card code {
    border-top: 2px solid var(--paper);
    border-bottom: 2px solid var(--paper);
  }

  .fund-main,
  .fund-uses article {
    min-height: 0;
  }

  .sticker-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 20px, 1180px);
  }

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

  .ca-box button {
    min-height: 50px;
    border-left: 0;
    border-top: 2px solid var(--paper);
  }

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