:root {
  --ink: #17130f;
  --paper: #c1a675;
  --paper-dark: #8f7042;
  --red: #7d1717;
  --green: #315f3f;
  --dust: #d2bf96;
  --shadow: rgba(18, 12, 7, 0.35);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-marker: "Comic Sans MS", "Segoe Print", cursive;
  --font-hand: "Segoe Print", "Comic Sans MS", cursive;
  --topbar-h: 98px;
}

* {
  box-sizing: border-box;
}

html {
  background: #1c1711;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0;
  background: #1c1711 url("assets/images/dirty-cardboard-bg.webp") center / cover fixed;
  padding-top: var(--topbar-h);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: #17130f;
  font-family: var(--font-hand);
  background: #e2c987;
  border: 3px solid var(--ink);
  transition: top 140ms ease;
}

.skip-link:focus {
  top: 12px;
}

section[id] {
  scroll-margin-top: calc(var(--topbar-h) + 16px);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(35, 25, 14, 0.15), transparent 28%),
    linear-gradient(rgba(31, 23, 15, 0.22), rgba(31, 23, 15, 0.35));
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: 28px clamp(16px, 4vw, 72px) 70px;
  border-bottom: 8px solid rgba(18, 13, 8, 0.82);
  isolation: isolate;
}

.hero-bg,
.hero picture,
.hero-art {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background: url("assets/images/dirty-cardboard-bg.webp") center / cover;
}

.hero picture {
  z-index: -2;
}

.hero picture::before,
.hero picture::after {
  position: absolute;
  z-index: 2;
  width: 190px;
  height: 48px;
  content: "";
  pointer-events: none;
  background: url("assets/overlays/tape-strip-01.png") center / contain no-repeat;
  opacity: 0.55;
}

.hero picture::before {
  top: -24px;
  left: 28px;
  transform: rotate(-7deg);
}

.hero picture::after {
  right: 22px;
  bottom: -24px;
  transform: rotate(5deg);
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
  filter: contrast(1.02) saturate(0.9);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(197, 177, 132, 0.14), rgba(197, 177, 132, 0.42) 31%, rgba(197, 177, 132, 0.5) 52%, rgba(197, 177, 132, 0.04) 78%),
    radial-gradient(circle at 48% 44%, rgba(209, 190, 145, 0.58), transparent 28%);
  mix-blend-mode: multiply;
}

.hero-copy {
  width: min(560px, 34vw);
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: 2;
  margin-top: clamp(10px, 2vh, 36px);
  text-align: center;
  transform: translate(-50%, -50%) rotate(-1deg);
}

.ticker {
  display: inline-block;
  margin: 0 0 2px;
  padding: 0;
  color: #e2c987;
  font-size: clamp(22px, 3vw, 38px);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow:
    3px 3px 0 rgba(23, 19, 15, 0.96),
    6px 6px 0 rgba(93, 67, 34, 0.38);
  transform: rotate(-1deg);
}

h1 {
  margin: 0;
  font-size: clamp(70px, 8.2vw, 132px);
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 5px 6px 0 rgba(128, 91, 45, 0.36);
}

.lead {
  max-width: 460px;
  margin: 20px auto 0;
  font-family: var(--font-hand);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.18;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.paper-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  background: #b99551;
  border: 4px solid var(--ink);
  box-shadow: 7px 8px 0 rgba(21, 14, 8, 0.42);
  cursor: pointer;
  transform: rotate(-1deg);
}

.paper-btn:nth-child(even) {
  transform: rotate(1.2deg);
}

.paper-btn:hover {
  translate: 2px 2px;
  box-shadow: 4px 5px 0 rgba(21, 14, 8, 0.5);
}

.paper-btn:focus-visible,
.site-footer a:focus-visible,
.airdrop-form input:focus,
.airdrop-form textarea:focus,
.airdrop-form select:focus {
  outline: 4px solid #d9cf90;
  outline-offset: 3px;
}

.paper-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.buy {
  background: #5f7f46;
}

.ghost {
  background: rgba(23, 19, 15, 0.08);
}

.pain-note {
  margin: 18px 0 0;
  color: var(--red);
  font-family: var(--font-hand);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
}

.tape,
.hero-dirt {
  position: absolute;
  pointer-events: none;
}

.tape-a {
  top: 24px;
  left: 34%;
  width: min(28vw, 390px);
  opacity: 0.42;
  transform: rotate(-7deg);
}

.hero-dirt {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  mix-blend-mode: multiply;
}

.status-band,
.office-grid,
.rules-wall {
  position: relative;
  padding: clamp(34px, 5vw, 76px) clamp(16px, 4vw, 72px);
}

.status-band::before,
.rules-wall::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: url("assets/overlays/dirt-stains-01.png") center / cover;
  opacity: 0.13;
  mix-blend-mode: multiply;
}

.section-title {
  margin-bottom: 22px;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 0.9;
  text-transform: uppercase;
}

.section-title span {
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  background: rgba(207, 183, 128, 0.75);
  border: 4px solid var(--ink);
  transform: rotate(-1deg);
  overflow-wrap: anywhere;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.status-card,
.airdrop-form,
.scanner,
.rules,
.wall {
  position: relative;
  border: 4px solid var(--ink);
  background:
    linear-gradient(rgba(205, 181, 125, 0.9), rgba(170, 135, 78, 0.88)),
    url("assets/overlays/dirt-stains-01.png") center / cover;
  box-shadow: 10px 12px 0 var(--shadow);
}

.airdrop-form::after,
.scanner::after,
.rules::after,
.wall::after {
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 52px;
  content: "";
  pointer-events: none;
  background: url("assets/overlays/tape-strip-01.png") center / contain no-repeat;
  opacity: 0.38;
}

.airdrop-form::after,
.rules::after {
  top: -24px;
  right: 34px;
  transform: rotate(4deg);
}

.scanner::after,
.wall::after {
  left: 34px;
  bottom: -26px;
  transform: rotate(-5deg);
}

.status-card {
  min-height: 104px;
  padding: 14px;
  transform: rotate(var(--tilt, -1deg));
}

.status-card:nth-child(2n) {
  --tilt: 1deg;
}

.status-card span {
  display: block;
  font-family: var(--font-hand);
  font-size: 16px;
}

.status-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 0.9;
  text-transform: uppercase;
}

.status-card.rejected strong {
  color: var(--red);
}

.office-grid,
.rules-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(18px, 3vw, 34px);
}

.airdrop-form,
.scanner,
.rules,
.wall {
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
}

.office-grid .section-title,
.rules-wall .section-title {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 0.95;
}

.airdrop-form label {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 800;
}

.airdrop-form input,
.airdrop-form textarea,
.airdrop-form select {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(232, 211, 158, 0.72);
  border: 3px solid var(--ink);
  outline: none;
}

.airdrop-form textarea {
  min-height: 110px;
  resize: vertical;
}

.submit {
  width: 100%;
}

.form-result {
  min-height: 32px;
  margin: 18px 0 0;
  color: var(--red);
  font-size: clamp(24px, 4vw, 46px);
  line-height: 0.95;
  text-transform: uppercase;
}

.scan-screen {
  min-height: 292px;
  padding: 18px;
  color: #d7c89d;
  font-family: "Courier New", monospace;
  font-size: clamp(15px, 2vw, 20px);
  background: #17130f;
  border: 4px solid var(--ink);
}

.scan-screen p {
  margin: 0 0 10px;
}

.scan-screen strong,
.scan-screen em {
  display: block;
  margin-top: 16px;
  color: #cf3434;
  font-style: normal;
  font-weight: 900;
}

.rules ol {
  margin: 0;
  padding-left: 1.25em;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.08;
}

.rules p {
  margin: 22px 0 0;
  color: var(--red);
  font-family: var(--font-hand);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 900;
}

.pain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pain-tags span {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 8px 12px;
  font-family: var(--font-marker);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 900;
  background: rgba(232, 211, 158, 0.65);
  border: 3px solid var(--ink);
  transform: rotate(var(--tag-tilt, -1deg));
}

.pain-tags span:nth-child(2n) {
  --tag-tilt: 1.5deg;
}

.pain-tags span:nth-child(3n) {
  color: var(--red);
}

/* ============ TOPBAR ============ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: #100c08 url("assets/images/dirty-cardboard-bg.webp") center / cover;
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(12px, 3vw, 32px) 18px;
  background: rgba(10, 8, 5, 0.74);
}

/* torn-cardboard edge instead of a flat border — the bar reads as a ripped strip of card */
.topbar-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(
    0% 0%, 3% 100%, 7% 25%, 11% 100%, 15% 15%, 19% 100%, 23% 30%, 27% 100%,
    31% 10%, 35% 100%, 39% 25%, 43% 100%, 47% 15%, 51% 100%, 55% 30%, 59% 100%,
    63% 10%, 67% 100%, 71% 25%, 75% 100%, 79% 15%, 83% 100%, 87% 30%, 91% 100%,
    95% 10%, 100% 100%, 100% 0%
  );
}

.topbar-brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.topbar-brand span {
  display: inline-block;
  padding: 3px 10px;
  color: #e2c987;
  font-size: clamp(17px, 2vw, 23px);
  background: rgba(226, 201, 135, 0.07);
  border: 2px solid rgba(226, 201, 135, 0.55);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
  transform: rotate(-2deg);
}

.topbar-right {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
}

.topbar-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
}

.topbar-nav a {
  position: relative;
  padding: 4px 12px;
  color: #d7c89d;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease;
}

.topbar-nav a + a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: rgba(185, 149, 81, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.topbar-nav a:hover {
  color: #e2c987;
}

.topbar-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: #e2c987;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.topbar-nav a:hover::after {
  transform: scaleX(1);
}

.topbar-socials {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.topbar-socials a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  position: relative;
  place-items: center;
  padding: 6px;
  background: radial-gradient(circle at 32% 28%, #3a2d20, #17130f 70%);
  border: 2px solid #b99551;
  border-radius: 50%;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.45);
  transform: rotate(var(--icon-tilt, -4deg));
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.topbar-socials a:nth-child(2n) {
  --icon-tilt: 5deg;
}

.topbar-socials a:nth-child(3n) {
  --icon-tilt: -6deg;
}

.topbar-socials a:hover {
  border-color: #e2c987;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.55);
  transform: rotate(0deg) translateY(-2px) scale(1.06);
}

.topbar-socials img {
  max-width: 62%;
  max-height: 62%;
  object-fit: contain;
  filter: grayscale(0.15) brightness(1.15);
}

.topbar-buy {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 8px 18px;
  font-size: 14px;
  transform: rotate(-1.5deg);
  box-shadow: 4px 5px 0 rgba(21, 14, 8, 0.5);
}

.topbar-buy:hover {
  transform: rotate(-1.5deg) translate(2px, 2px);
}

/* ============ CA BOX: reusable component (dark, for footer by default) ============ */
.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(226, 201, 135, 0.08);
  border: 2px solid rgba(226, 201, 135, 0.5);
  flex-wrap: wrap;
  justify-content: center;
}

.ca-label {
  flex: 0 0 auto;
  color: #e2c987;
  font-size: 13px;
}

.ca-value {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 260px;
  color: #d7c89d;
  font-family: "Courier New", monospace;
  font-size: clamp(11px, 1.6vw, 13px);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ca-copy {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  background: #e2c987;
  border: 2px solid var(--ink);
  cursor: pointer;
}

.ca-copy:hover {
  background: #f0dda3;
}

/* hero variant: sits on the paper/tan hero copy, torn-tag look */
.hero-ca {
  margin: 16px 0 0;
  background: rgba(23, 19, 15, 0.06);
  border: 2px dashed var(--ink);
  transform: rotate(-1deg);
}

.hero-ca .ca-label {
  color: var(--red);
}

.hero-ca .ca-value {
  color: var(--ink);
}

.hero-ca .ca-copy {
  background: #b99551;
  border-color: var(--ink);
}

/* footer variant */
.footer-ca {
  margin: 2px 0 4px;
}

.ticker-tape {
  overflow: hidden;
  background: var(--ink);
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 6px 0;
  animation: ticker-scroll 26s linear infinite;
}

.ticker-track span {
  color: #b99551;
  font-size: 13px;
  white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* ============ HOW TO BEG ============ */
.how-to-beg {
  position: relative;
  padding: clamp(34px, 5vw, 76px) clamp(16px, 4vw, 72px);
}

.beg-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: beg-step;
}

.beg-steps li {
  position: relative;
  padding: 20px 18px 18px;
  background:
    linear-gradient(rgba(205, 181, 125, 0.9), rgba(170, 135, 78, 0.88)),
    url("assets/overlays/dirt-stains-01.png") center / cover;
  border: 4px solid var(--ink);
  box-shadow: 8px 9px 0 var(--shadow);
  counter-increment: beg-step;
  transform: rotate(var(--tilt, -1deg));
}

.beg-steps li:nth-child(2n) {
  --tilt: 1deg;
}

.beg-steps li::before {
  content: counter(beg-step);
  position: absolute;
  top: -16px;
  left: -12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #e2c987;
  font-size: 18px;
  background: var(--ink);
  border: 3px solid #e2c987;
  border-radius: 50%;
}

.beg-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(18px, 2vw, 22px);
  text-transform: uppercase;
}

.beg-steps p {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 16px;
  line-height: 1.3;
}

/* ============ SPOTLIGHT: beggar of the day + wallet therapy ============ */
.spotlight,
.support-group,
.sign-maker {
  position: relative;
  padding: clamp(34px, 5vw, 76px) clamp(16px, 4vw, 72px);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 34px);
}

.beggar-card,
.therapy-card {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  background:
    linear-gradient(rgba(205, 181, 125, 0.9), rgba(170, 135, 78, 0.88)),
    url("assets/overlays/dirt-stains-01.png") center / cover;
  border: 4px solid var(--ink);
  box-shadow: 10px 12px 0 var(--shadow);
}

.beggar-card {
  display: grid;
  gap: 10px;
  align-content: start;
  transform: rotate(-1deg);
}

.beggar-stamp {
  position: absolute;
  top: 10px;
  right: -18px;
  width: 190px;
  opacity: 0.85;
  transform: rotate(12deg);
  pointer-events: none;
}

.beggar-wallet {
  font-size: clamp(20px, 2.4vw, 28px);
  text-transform: uppercase;
}

.beggar-quote {
  margin: 0;
  max-width: 80%;
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.32;
}

.beggar-tag {
  color: var(--red);
  font-family: var(--font-marker);
  font-size: 14px;
}

.beggar-card .paper-btn {
  justify-self: start;
  margin-top: 6px;
}

.therapy-card {
  transform: rotate(1deg);
}

.section-title.small {
  margin-bottom: 12px;
  font-size: clamp(20px, 2.6vw, 28px);
}

.therapy-intro {
  margin: 0 0 14px;
  font-family: var(--font-hand);
  font-size: 16px;
}

.therapy-log {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.therapy-log li {
  padding: 10px 12px;
  font-family: var(--font-hand);
  font-size: 15px;
  line-height: 1.3;
  background: rgba(232, 211, 158, 0.55);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--red);
}

.therapy-log .wallet {
  display: inline-block;
  margin-right: 8px;
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.75;
}

/* ============ SUPPORT GROUP ============ */
.support-intro {
  max-width: 60ch;
  margin: 0 0 22px;
  font-family: var(--font-hand);
  font-size: 17px;
}

.testimony-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.testimony-grid blockquote {
  margin: 0;
  padding: 20px;
  background:
    linear-gradient(rgba(205, 181, 125, 0.9), rgba(170, 135, 78, 0.88)),
    url("assets/overlays/dirt-stains-01.png") center / cover;
  border: 4px solid var(--ink);
  box-shadow: 8px 9px 0 var(--shadow);
  transform: rotate(var(--tilt, -1deg));
}

.testimony-grid blockquote:nth-child(2n) {
  --tilt: 1deg;
}

.testimony-grid p {
  margin: 0 0 10px;
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.32;
}

.testimony-grid cite {
  color: var(--red);
  font-style: normal;
  font-size: 14px;
}

/* ============ SIGN MAKER ============ */
.sign-intro {
  max-width: 60ch;
  margin: 0 0 24px;
  font-family: var(--font-hand);
  font-size: 17px;
}

.sign-maker-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.sign-controls {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  background:
    linear-gradient(rgba(205, 181, 125, 0.9), rgba(170, 135, 78, 0.88)),
    url("assets/overlays/dirt-stains-01.png") center / cover;
  border: 4px solid var(--ink);
  box-shadow: 10px 12px 0 var(--shadow);
}

.sign-controls label {
  display: block;
  font-family: var(--font-hand);
  font-size: 16px;
  font-weight: 700;
}

.sign-controls input[type="text"] {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font-family: var(--font-marker);
  background: rgba(232, 211, 158, 0.72);
  border: 3px solid var(--ink);
  outline: none;
}

.sign-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 13px;
  background: rgba(232, 211, 158, 0.65);
  border: 2px solid var(--ink);
  cursor: pointer;
}

.chip:hover {
  background: rgba(232, 211, 158, 0.95);
}

.sign-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sign-buttons .paper-btn {
  flex: 1 1 auto;
  min-height: 46px;
  font-size: 14px;
}

.sign-canvas-wrap {
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 4px solid var(--ink);
  box-shadow: 10px 12px 0 var(--shadow);
}

.sign-canvas-wrap canvas {
  width: 100%;
  height: auto;
  max-width: 720px;
}

.site-footer {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 34px 16px 42px;
  color: #d7c89d;
  text-align: center;
  background: #17130f;
  border-top: 8px solid #0b0806;
}

.site-footer strong {
  font-size: 42px;
  line-height: 0.9;
}

.site-footer span,
.site-footer small {
  font-family: var(--font-hand);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer a {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 9px;
  background: #2a2118;
  border: 3px solid #d7c89d;
  transition: transform 140ms ease, background-color 140ms ease;
}

.site-footer a:hover {
  background: #3a2d20;
  transform: rotate(-4deg) translateY(-2px);
}

.site-footer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.site-footer a[aria-label="Pump.fun"] img {
  filter: saturate(0.78) contrast(1.08);
}

.site-footer a[aria-label="DEX"] img {
  padding: 2px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 92vh;
    align-items: end;
  }

  .hero-art {
    object-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(197, 177, 132, 0.08), rgba(197, 177, 132, 0.86) 52%, rgba(197, 177, 132, 0.98));
  }

  .hero-copy {
    width: min(620px, 100%);
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto;
    text-align: left;
    transform: rotate(-1deg);
  }

  .lead {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

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

  .office-grid,
  .rules-wall,
  .spotlight-grid,
  .sign-maker-grid {
    grid-template-columns: 1fr;
  }

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

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

  .topbar-nav {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --topbar-h: 160px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 12px 16px;
  }

  .topbar-brand {
    order: 1;
  }

  .topbar-right {
    order: 2;
    margin-left: auto;
  }

  .topbar-buy {
    order: 3;
    flex: 1 1 100%;
    margin-top: 8px;
    text-align: center;
  }

  .beg-steps {
    grid-template-columns: 1fr;
  }

  .beggar-stamp {
    width: 130px;
  }

  .sign-buttons {
    flex-direction: column;
  }

  .sign-buttons .paper-btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 18px 14px 26px;
    background: #e8ded0;
  }

  .hero-bg {
    display: none;
  }

  .hero picture {
    position: relative;
    order: 3;
    inset: auto;
    z-index: 0;
    width: 100%;
    margin: 12px 0 14px;
    overflow: hidden;
    border: 4px solid var(--ink);
    box-shadow: 7px 8px 0 rgba(21, 14, 8, 0.42);
    background: #cdb788;
    transform: rotate(-0.8deg);
  }

  .hero-art {
    position: relative;
    display: block;
    width: 100%;
    height: min(92vw, 360px);
    object-fit: cover;
    object-position: center 38%;
    opacity: 1;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    width: 100%;
    display: contents;
  }

  h1 {
    order: 2;
    align-self: flex-start;
    width: min(100%, 350px);
    max-width: 350px;
    margin: 0 0 0 12px;
    font-size: clamp(58px, 18vw, 76px);
    line-height: 0.94;
    text-align: left;
    text-shadow: 4px 5px 0 rgba(128, 91, 45, 0.38);
  }

  .ticker {
    order: 1;
    align-self: flex-start;
    width: min(100%, 350px);
    margin: 2px 0 2px 12px;
    padding: 0;
    font-size: 24px;
    text-shadow:
      3px 3px 0 rgba(23, 19, 15, 0.96),
      5px 5px 0 rgba(93, 67, 34, 0.38);
    text-align: left;
    transform: rotate(-1deg);
  }

  .lead {
    order: 4;
    width: min(100%, 340px);
    margin: 0 auto;
    font-size: 21px;
    line-height: 1.16;
    text-align: left;
    background: rgba(202, 178, 130, 0.72);
    border: 3px solid rgba(23, 19, 15, 0.8);
    padding: 8px 10px;
  }

  .hero-actions {
    order: 5;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-ca {
    order: 6;
    align-self: stretch;
    width: 100%;
    margin: 14px 0 0;
    padding: 9px 10px;
    flex-wrap: nowrap;
  }

  .hero-ca .ca-value {
    max-width: none;
    font-size: 10px;
  }

  .paper-btn {
    width: 100%;
    min-height: 52px;
  }

  .pain-note {
    order: 7;
    width: 100%;
    margin-top: 12px;
    font-size: 22px;
    line-height: 1;
    background: transparent;
    padding: 0;
    text-align: center;
    text-shadow: 2px 2px 0 rgba(23, 19, 15, 0.18);
  }

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

  .tape-a {
    top: 6px;
    left: 50%;
    width: 230px;
    opacity: 0.28;
    transform: translateX(-50%) rotate(-5deg);
  }

  .hero-dirt {
    display: none;
  }

  .hero picture::before,
  .hero picture::after {
    width: 132px;
    height: 34px;
    opacity: 0.48;
  }

  .hero picture::before {
    top: -17px;
    left: 16px;
  }

  .hero picture::after {
    right: 12px;
    bottom: -18px;
  }

  .airdrop-form::after,
  .scanner::after,
  .rules::after,
  .wall::after {
    width: 150px;
    height: 38px;
    opacity: 0.3;
  }
}
