@font-face {
  font-family: Inconsolata;
  src: url("../fonts/inconsolata-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inconsolata;
  src: url("../fonts/inconsolata-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root { --red: #f4070a; --ink: #141414; --paper: #e5e0dc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: white; background: #000; font-family: Inconsolata, monospace; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, dl, dd { margin: 0; }
a:focus-visible, .gallery:focus-visible { outline: 3px solid #ffb629; outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { position: absolute; z-index: 3; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 22px; }
.mobile-brand { display: none; }
.social-links, .header-actions { display: flex; align-items: center; gap: 12px; }
.social-icon { display: block; width: 32px; height: 32px; flex: 0 0 32px; }
.social-icon img { width: 100%; height: 100%; object-fit: contain; }
.social-icon svg { width: 100%; height: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid var(--red); background: var(--red); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-size: 16px; line-height: 1.2; }
.button-outline { background: transparent; border-color: currentColor; }
.unavailable { opacity: .65; }
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 760px; height: 100svh; padding: 50px 20px 90px; overflow: hidden; text-align: center; background: linear-gradient(#000c, #000c), url("../img/hero-background.jpg") center / cover; }
.hero-title { width: 100%; }
.eyebrow { margin-bottom: 28px; font-size: 22px; line-height: 1.2; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
.hero-logo { width: min(600px, 90vw); margin: auto; }
.hero-note { width: min(500px, 100%); margin: 22px auto 26px; font-size: 11px; line-height: 1.4; text-transform: uppercase; text-align: center; }
.enter-link { display: inline-block; padding: 13px 32px; background: var(--red); text-transform: uppercase; text-decoration: none; font-size: 20px; line-height: 1; font-weight: bold; letter-spacing: 2px; }
.ticker { width: 100%; padding: 12px 0; background: #000; color: white; white-space: nowrap; overflow: hidden; font-size: 22px; letter-spacing: 8px; }
.paper { color: var(--ink); background: linear-gradient(#ffffff59, #ffffff59), url("../img/drip-bg-texture.webp") center / cover; }
.section-wrap { width: min(1160px, 100%); margin: auto; padding: 64px 32px; }
.about { padding-top: 64px; padding-bottom: 0; }
.about h2 img { width: min(560px, 100%); margin: auto; }
.about-copy { max-width: 640px; padding: 0 20px; margin: 0 auto 80px; font-size: 22px; line-height: 1.4; font-weight: bold; text-transform: uppercase; text-align: center; }
.memes h2 { padding-top: 24px; padding-bottom: 24px; }
.gallery { display: flex; gap: 20px; padding: 12px 32px 32px; overflow-x: auto; scroll-snap-type: x proximity; }
.gallery img { flex: 0 0 auto; width: auto; height: 330px; max-width: min(86vw, 400px); object-fit: cover; scroll-snap-align: center; }
.token-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: auto; gap: 40px; }
.token-grid > * { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.token-grid dt { order: 2; text-transform: uppercase; font-size: 18px; margin-top: 12px; }
.token-grid dd { order: 1; }
.token-grid dd img { width: 100%; height: 130px; object-fit: contain; mix-blend-mode: multiply; }
.historical-note { margin: 24px 0 40px; text-align: center; font-size: 12px; line-height: 1.5; }
.contract { display: grid; gap: 12px; text-align: center; }
.contract span { text-transform: uppercase; }
.contract a { overflow-wrap: anywhere; line-height: 1.5; }
.community { display: grid; grid-template-columns: 1fr; width: 100%; padding: 16px 16px 0; gap: 16px; }
.community > * { min-width: 0; }
.community-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px; min-height: 480px; padding: 48px 32px; background: #292929; }
.community-card h2 { width: 100%; }
.community-card h2 img { width: 100%; height: auto; object-fit: contain; }
.avatar-card { background: linear-gradient(#0009, #0009), url("../img/avatar-poster.webp") center / cover; color: #fff; }
.avatar-card h2 { max-width: 760px; }
.avatar-card .button { background: #fff; border-color: #fff; color: #000; opacity: 1; }
.join-card { display: grid; grid-template-columns: 1fr 1fr; padding: 0; gap: 0; background: var(--red); }
.join-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 48px; }
.community-art { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 32px; font-size: 11px; line-height: 1.5; text-transform: uppercase; }
@media (max-width: 900px) {
  .site-header { padding: 20px; gap: 14px; }
  .header-actions { gap: 8px; }
  .header-actions .button { padding: 10px 12px; font-size: 12px; }
  .social-links { gap: 8px; }
  .social-icon { width: 26px; height: 26px; flex-basis: 26px; }
  .community-card { padding: 24px; min-height: 430px; }
  .join-card { padding: 0; }
}
@media (max-width: 767px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; padding: 18px 20px; gap: 14px; }
  .mobile-brand { display: block; width: 112px; }
  .social-links { gap: 12px; }
  .social-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .header-actions { grid-column: 1 / -1; flex-wrap: wrap; width: 100%; }
  .header-actions .button { flex: 1 1 calc(50% - 4px); padding: 12px; font-size: 16px; text-align: center; }
  .header-actions .button:nth-child(1) { order: 2; }
  .header-actions .button:nth-child(2) { order: 1; }
  .header-actions .button:nth-child(3) { order: 3; flex-basis: 100%; }
  .hero { min-height: 780px; padding: 250px 20px 150px; }
  .eyebrow { font-size: 20px; letter-spacing: 0; }
  .hero-logo { width: 90vw; }
  .hero-note { font-size: 11px; }
  .section-wrap { padding: 48px 20px; }
  .about { padding-bottom: 0; }
  .about-copy { font-size: 20px; margin-bottom: 48px; }
  .gallery { padding-left: 20px; padding-right: 20px; gap: 16px; }
  .gallery img { height: 270px; }
  .token-grid { gap: 12px; }
  .token-grid dt { font-size: 12px; }
  .token-grid dd img { height: 80px; }
  .contract a { font-size: 12px; }
  .community { padding: 16px 16px 0; }
  .community-card { min-height: 360px; }
  .join-card { grid-template-columns: 1fr; }
  .join-copy { min-height: 300px; padding: 40px 24px; }
  .site-footer { flex-direction: column; text-align: center; padding: 28px 20px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
