@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/oxanium-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --background: #0b0d09;
  --accent: #c7ff71;
  --foreground: #e9ecdf;
  --muted: #93988a;
  --rule: #30352a;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-synthesis: none;
  background: var(--background);
  color: var(--foreground);
}

* { box-sizing: border-box; }

html { min-width: 280px; }

body {
  margin: 0;
  min-height: 100svh;
  background-image: radial-gradient(#a6bb7d0a 0.7px, transparent 0.7px);
  background-size: 5px 5px;
}

::selection { color: var(--background); background: var(--accent); }

.page {
  max-width: 1600px;
  min-height: 100svh;
  margin-inline: auto;
  padding: 0 clamp(24px, 4.2vw, 72px);
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.8125rem;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.identity-mark { height: 36px; width: 36px; flex-shrink: 0; }
.edition { color: var(--muted); }

main {
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(40px, 5vh, 76px);
}

.hero { width: 100%; text-align: center; }

.hero-lockup {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 30px;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.gavel-figure { position: relative; min-width: 0; width: 100%; margin: 0; }
.gavel-stage { aspect-ratio: 672 / 640; width: 100%; }
.gavel-stage canvas { width: 100%; height: auto; display: block; }
.gavel-fallback { width: 88%; height: auto; margin: 6% auto; }
.motion-toggle {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border: 0;
  background: none;
  color: var(--muted);
  min-height: 44px;
  padding: 10px;
  font: inherit;
  font-size: 0.75rem;
  white-space: nowrap;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--accent); }
.motion-toggle:focus-visible { color: var(--accent); outline: 1px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.eyebrow {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.eyebrow span { color: var(--accent); padding-inline: 10px; }

.wordmark-wrap {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

h1 {
  margin: 0;
  padding-right: 0.07em;
  color: var(--accent);
  font-family: "Oxanium", Arial, sans-serif;
  font-size: clamp(0px, 18vw, 16rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.stamp {
  position: absolute;
  top: 9%;
  right: -3%;
  transform: rotate(10deg);
  padding: 13px 17px;
  border: 1px solid var(--accent);
  background: var(--background);
  color: var(--accent);
  font-size: 0.8125rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-align: left;
}

.coming-soon {
  margin: 24px 0 0;
  font-size: clamp(1.125rem, 2.05vw, 1.625rem);
  line-height: 1.65;
  letter-spacing: -0.035em;
}

.enjoyers { color: var(--accent); }
.cursor { animation: blink 1.2s steps(1, end) 5; }

.airdrop {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 34px 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
}

.airdrop-label {
  border: 1px solid #515b40;
  padding: 4px 8px;
  color: var(--foreground);
  letter-spacing: 0.025em;
}

.airdrop-detail { color: var(--muted); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding-block: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.signoff { white-space: nowrap; }
.signoff span { color: var(--accent); margin-right: 6px; }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 800px) {
  .hero-lockup { display: flex; flex-direction: column-reverse; gap: 34px; }
  .gavel-figure { width: min(100%, 310px); }
  h1 { font-size: clamp(0px, 31vw, 12rem); }
  .stamp { right: 0; font-size: 12px; }
}

@media (max-width: 600px) {
  .masthead { min-height: 86px; gap: 14px; }
  .edition { max-width: 14ch; min-width: 0; overflow-wrap: anywhere; text-align: right; font-size: 0.75rem; }
  main { padding-block: 32px 46px; }
  .eyebrow { font-size: 0.75rem; margin-bottom: 2px; letter-spacing: 0.025em; }
  .eyebrow span { padding-inline: 5px; }
  h1 { font-size: clamp(0px, 31vw, 11.625rem); }
  .stamp { right: 0; top: -8%; padding: 7px 9px; font-size: 12px; transform: rotate(9deg); }
  .coming-soon { margin-top: 26px; font-size: 1.125rem; }
  .airdrop { flex-direction: column; gap: 10px; margin-top: 29px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* Full-screen ASCII scene, with the teaser sitting in the foreground. */
.page { position: relative; isolation: isolate; max-width: none; }
.masthead { border-bottom: 0; }
main { align-items: end; padding-block: 60px; }
.hero { text-align: left; }
.hero-lockup { display: block; width: 100%; margin: 0; }
.wordmark-wrap { margin: 0; width: max-content; }
h1 { font-size: clamp(5rem, 12vw, 11rem); }
.stamp { display: none; }
.eyebrow { margin-bottom: 22px; }
.eyebrow span:first-child { padding-left: 0; }
.coming-soon { margin-top: 25px; font-size: clamp(1rem, 1.65vw, 1.375rem); }
.airdrop { justify-content: flex-start; margin-top: 24px; }
.gavel-figure {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  z-index: -1;
  pointer-events: none;
}
.gavel-stage { width: 100%; height: 100%; aspect-ratio: auto; }
.gavel-stage canvas { width: 100%; height: 100%; }
.gavel-fallback { position: absolute; width: min(76vh, 65vw); right: 8%; top: 12%; margin: 0; }
.motion-toggle { position: fixed; z-index: 2; left: auto; right: 3.5vw; bottom: 94px; transform: none; pointer-events: auto; }
.footer { border-top: 0; }

@media (max-width: 800px) {
  main { padding-block: 360px 35px; }
  h1 { font-size: clamp(0px, 24vw, 9rem); }
  .gavel-figure { width: 100%; }
  .gavel-fallback { width: 82%; top: 12%; right: 9%; }
  .airdrop { align-items: flex-start; gap: 8px; }
  .motion-toggle { right: 14px; top: 75px; bottom: auto; }
  .eyebrow { font-size: 0.75rem; }
}

@media (max-width: 600px) {
  main { padding-top: 300px; }
  .footer { min-height: 78px; padding-block: 15px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eyebrow [data-cipher] { padding: 0; color: var(--muted); }
.enjoyers { display: inline-block; font-size: 1.5em; letter-spacing: 0.025em; }
.owners { display: inline-block; animation: cipher-jolt 3.4s steps(1, end) infinite; }
.owners-dots { animation: dots-pulse 1.7s steps(4, end) infinite; }
h1 { animation: signal-jolt 5.8s steps(1, end) infinite; }
.identity-mark { animation: logo-signal 7s ease-in-out infinite; }
.motion-paused * { animation-play-state: paused !important; }
.identity, .coming-soon { font-family: "Oxanium", sans-serif; font-weight: 500; }
.identity { font-weight: 650; font-size: 1.125rem; }
.owners { font-family: "Oxanium", sans-serif; font-weight: 700; }

@keyframes cipher-jolt {
  0%, 7%, 100% { transform: translate(0); text-shadow: none; }
  2% { transform: translate(-2px, 1px); text-shadow: 3px 0 #76ad47; }
  5% { transform: translate(2px, -1px); text-shadow: -3px 0 #dfffac; }
}
@keyframes signal-jolt {
  0%, 5%, 52%, 57%, 100% { transform: translateX(0) skewX(0); text-shadow: none; }
  2%, 54% { transform: translateX(-3px) skewX(-3deg); text-shadow: 4px 0 #547c31; }
  4%, 56% { transform: translateX(2px) skewX(2deg); text-shadow: -3px 0 #e3ffb9; }
}
@keyframes dots-pulse { 0% { opacity: .3; } 70%, 100% { opacity: 1; } }
@keyframes logo-signal { 0%, 85%, 100% { filter: drop-shadow(0 0 0 transparent); } 91% { filter: drop-shadow(0 0 7px #a5ef5e); } }
