@font-face {
  font-family: "Micro 5";
  src: url("./fonts/Micro5-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Pixelify Sans";
  src: url("./fonts/PixelifySans.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("./fonts/DMMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("./fonts/DMMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --night: #090604;
  --mahogany: #1c0d09;
  --mahogany-2: #30150d;
  --mahogany-3: #421c10;
  --brass: #d9a64b;
  --brass-light: #f0cf7d;
  --copper: #a65732;
  --copper-dark: #71351f;
  --teal: #56b6a5;
  --teal-light: #97e0d0;
  --teal-deep: #123b37;
  --ivory: #f2e5c9;
  --paper: #dfc9a0;
  --muted: #bda98a;
  --line: rgba(217, 166, 75, 0.28);
  --line-strong: rgba(217, 166, 75, 0.58);
  --shadow: 10px 12px 0 rgba(0, 0, 0, 0.52);
  --display: "Micro 5", monospace;
  --body: "Pixelify Sans", monospace;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--ivory);
  background:
    radial-gradient(900px 700px at 88% 4%, rgba(86, 182, 165, 0.12), transparent 62%),
    radial-gradient(720px 650px at 5% 32%, rgba(166, 87, 50, 0.12), transparent 68%),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(217, 166, 75, 0.018) 7px 8px),
    var(--night);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  cursor: crosshair;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brass-light);
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
figure,
blockquote {
  margin-top: 0;
}

::selection {
  color: var(--night);
  background: var(--brass-light);
}

:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.press-grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(242, 229, 201, 0.35) 0 0.7px, transparent 1px),
    radial-gradient(circle at 69% 74%, rgba(217, 166, 75, 0.3) 0 0.7px, transparent 1px),
    repeating-linear-gradient(90deg, transparent 0 197px, rgba(86, 182, 165, 0.04) 197px 198px);
  background-size: 31px 29px, 47px 43px, 198px 100%;
  mix-blend-mode: screen;
}

.edge-register {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  width: 10px;
  pointer-events: none;
  border-left: 1px solid rgba(217, 166, 75, 0.2);
  background: repeating-linear-gradient(
    180deg,
    var(--copper) 0 10px,
    transparent 10px 20px,
    var(--teal-deep) 20px 30px,
    transparent 30px 40px
  );
  opacity: 0.55;
}

.page-gutter {
  width: min(1360px, calc(100% - 72px));
  margin-inline: auto;
}

.issue-mast {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(9, 6, 4, 0.92);
  backdrop-filter: blur(16px) saturate(1.18);
}

.issue-mast::before,
.issue-mast::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    var(--brass) 0 12px,
    transparent 12px 22px,
    var(--copper) 22px 30px,
    transparent 30px 45px
  );
  opacity: 0.42;
}

.issue-mast::before {
  top: 0;
}

.issue-mast::after {
  bottom: -2px;
}

.mast-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.mast-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.mast-wordmark strong {
  color: var(--brass);
  font-weight: 400;
}

.mast-cog {
  position: relative;
  width: 31px;
  height: 31px;
  flex: none;
  border: 2px solid var(--brass);
  background:
    repeating-conic-gradient(var(--brass) 0 12deg, transparent 12deg 30deg) center / 100% 100%,
    var(--mahogany);
  clip-path: polygon(38% 0, 62% 0, 62% 13%, 72% 17%, 81% 8%, 92% 19%, 83% 28%, 87% 38%, 100% 38%, 100% 62%, 87% 62%, 83% 72%, 92% 81%, 81% 92%, 72% 83%, 62% 87%, 62% 100%, 38% 100%, 38% 87%, 28% 83%, 19% 92%, 8% 81%, 17% 72%, 13% 62%, 0 62%, 0 38%, 13% 38%, 17% 28%, 8% 19%, 19% 8%, 28% 17%, 38% 13%);
}

.mast-cog i {
  position: absolute;
  inset: 9px;
  display: block;
  border: 2px solid var(--brass-light);
  background: var(--teal-deep);
}

.mast-pressmark {
  margin: 0;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.mast-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.mast-tools select {
  height: 40px;
  padding: 0 27px 0 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--brass-light);
  background: var(--mahogany);
  font: 10px var(--mono);
  letter-spacing: 0.06em;
}

.pixel-button,
.menu-trigger,
.mint-lever,
.qty-max,
.qty-stepper button,
.modal-close {
  border-radius: 0;
}

.pixel-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px 9px;
  border: 2px solid var(--brass-light);
  color: var(--night);
  background: var(--brass);
  box-shadow:
    4px 4px 0 var(--copper-dark),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  font: 14px var(--body);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 120ms steps(2), box-shadow 120ms steps(2), background 120ms linear;
}

.pixel-button:hover {
  transform: translate(-1px, -1px);
  box-shadow:
    5px 5px 0 var(--copper-dark),
    inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.pixel-button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--copper-dark);
}

.pixel-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.pixel-button--quiet {
  border-color: var(--line-strong);
  color: var(--ivory);
  background: var(--mahogany-2);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.42);
}

.pixel-button--quiet:hover {
  color: var(--brass-light);
  border-color: var(--brass);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.52);
}

.mast-connect {
  min-height: 40px;
  padding: 8px 13px;
  font-size: 12px;
}

.menu-trigger {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--brass);
  color: var(--brass-light);
  background: transparent;
  font: 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-trigger:hover {
  color: var(--night);
  background: var(--brass);
}

.menu-trigger__pixels {
  width: 16px;
  height: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.menu-trigger__pixels i {
  display: block;
  background: currentColor;
}

.menu-trigger__pixels i:nth-child(2),
.menu-trigger__pixels i:nth-child(3) {
  opacity: 0.52;
}

.menu-folio {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms steps(3), visibility 180ms;
}

.menu-folio.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-folio__back {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(86, 182, 165, 0.14), transparent 32%),
    rgba(4, 3, 2, 0.93);
  backdrop-filter: blur(9px);
}

.menu-folio__sheet {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100svh - 56px);
  overflow: auto;
  padding: clamp(22px, 4vw, 50px);
  border: 2px solid var(--brass);
  background:
    linear-gradient(90deg, rgba(86, 182, 165, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(217, 166, 75, 0.035) 1px, transparent 1px),
    var(--mahogany);
  background-size: 42px 42px;
  box-shadow: 14px 16px 0 rgba(0, 0, 0, 0.58);
}

.menu-folio__sheet::before,
.menu-folio__sheet::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 7px;
  background-image: radial-gradient(circle, var(--brass-light) 0 2px, transparent 2.5px);
  background-size: 23px 7px;
  opacity: 0.55;
}

.menu-folio__sheet::before {
  top: 8px;
}

.menu-folio__sheet::after {
  bottom: 8px;
}

.menu-folio__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.menu-folio__title {
  margin: 0;
  color: var(--brass-light);
  font: clamp(28px, 5vw, 55px) var(--display);
  line-height: 1;
  text-transform: uppercase;
}

.menu-close {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line-strong);
  color: var(--brass-light);
  background: transparent;
  font: 30px/1 var(--mono);
}

.menu-close:hover {
  color: var(--night);
  background: var(--brass);
}

.menu-links {
  display: grid;
  margin-top: 14px;
}

.menu-links a {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 15px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(217, 166, 75, 0.13);
  color: var(--ivory);
  transition: color 100ms linear, padding 140ms steps(3);
}

.menu-links a:hover,
.menu-links a:focus-visible {
  padding-left: 10px;
  color: var(--brass-light);
}

.menu-links span {
  color: var(--copper);
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}

.menu-links b {
  font: clamp(38px, 7vw, 72px)/0.95 var(--display);
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.menu-folio__foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-spread {
  position: relative;
  isolation: isolate;
  padding: clamp(58px, 7vw, 94px) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 6, 4, 0.97) 0%, rgba(9, 6, 4, 0.8) 42%, rgba(9, 6, 4, 0.34) 100%),
    radial-gradient(800px 500px at 88% 22%, rgba(86, 182, 165, 0.2), transparent 64%);
}

.hero-spread::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("./assets/hero.jpg") center 34% / cover no-repeat;
  filter: saturate(0.72) contrast(1.08) sepia(0.12);
  opacity: 0.34;
}

.hero-spread::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 24%;
  background: linear-gradient(transparent, var(--night));
  pointer-events: none;
}

.hero-spread__engine {
  position: absolute;
  top: 5%;
  right: -5%;
  z-index: -2;
  width: min(620px, 60vw);
  aspect-ratio: 1;
  opacity: 0.12;
  background: repeating-conic-gradient(var(--brass) 0 7deg, transparent 7deg 15deg);
  border-radius: 50%;
  mask: radial-gradient(circle, transparent 0 18%, #000 19% 73%, transparent 74%);
  animation: engine-turn 45s linear infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(330px, 0.87fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.hero-copy {
  position: relative;
  padding-bottom: 55px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--teal-light);
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 36px;
  height: 4px;
  flex: none;
  background:
    linear-gradient(var(--brass), var(--brass)) 0 0 / 8px 4px no-repeat,
    linear-gradient(var(--copper), var(--copper)) 12px 0 / 20px 4px no-repeat;
}

.hero-copy h1 {
  margin: 0 0 25px;
  color: var(--ivory);
  font: clamp(76px, 10.5vw, 164px)/0.78 var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    5px 5px 0 var(--copper-dark),
    9px 9px 0 rgba(0, 0, 0, 0.45);
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:last-child {
  color: var(--brass-light);
}

.hero-deck {
  max-width: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(175px, 0.55fr);
  gap: 26px;
  padding-top: 17px;
  border-top: 1px solid var(--line-strong);
}

.hero-deck p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.hero-deck .hero-deck__side {
  padding-left: 15px;
  border-left: 3px solid var(--copper);
  color: var(--muted);
  font: 11px/1.65 var(--mono);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 28px;
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--copper);
  color: var(--ivory);
  font: 11px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-arrow::after {
  content: "→";
  color: var(--brass);
}

.text-arrow:hover {
  color: var(--brass-light);
}

.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  width: min(100%, 620px);
  aspect-ratio: 0.95;
  justify-self: end;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 7% -3% 5% 4%;
  z-index: -1;
  background: var(--brass);
  clip-path: polygon(4% 3%, 96% 0, 100% 92%, 91% 97%, 8% 100%, 0 88%);
  opacity: 0.16;
  transform: rotate(2deg);
}

.collage-rank {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--brass);
  background: var(--mahogany);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.48);
}

.collage-rank:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1 / 4;
  z-index: 2;
  transform: rotate(-2.2deg);
}

.collage-rank:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 1 / 3;
  z-index: 3;
  transform: rotate(2.6deg);
}

.collage-rank:nth-child(3) {
  grid-column: 2 / 5;
  grid-row: 3 / 6;
  z-index: 4;
  transform: rotate(1.3deg);
}

.collage-rank:nth-child(4) {
  grid-column: 5 / 7;
  grid-row: 3 / 5;
  z-index: 2;
  transform: rotate(-2deg);
}

.collage-rank:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 4 / 7;
  z-index: 3;
  transform: rotate(2.8deg);
}

.collage-rank:nth-child(6) {
  grid-column: 3 / 7;
  grid-row: 5 / 7;
  z-index: 5;
  transform: rotate(-1deg);
}

.collage-rank img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.collage-rank figcaption {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding: 5px 7px;
  color: var(--ivory);
  background: rgba(9, 6, 4, 0.88);
  border-left: 3px solid var(--tier, var(--brass));
  font: 8px/1.3 var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.collage-rank figcaption strong {
  color: var(--brass-light);
  font-weight: 500;
}

.collage-rank.art-missing {
  background:
    linear-gradient(135deg, transparent 47%, var(--copper) 48% 52%, transparent 53%),
    var(--mahogany-2);
}

.hero-register {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 7px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(9, 6, 4, 0.5);
}

.hero-register > div {
  min-width: 0;
  padding: 15px 20px 14px;
  border-right: 1px solid var(--line);
}

.hero-register > div:last-child {
  border-right: 0;
}

.hero-register strong {
  display: block;
  color: var(--brass-light);
  font: 27px/1 var(--display);
  letter-spacing: 0.03em;
}

.hero-register span,
.hero-register small {
  display: block;
  color: var(--muted);
  font: 9px/1.35 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mint-counter {
  position: relative;
  padding: clamp(78px, 9vw, 126px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(217, 166, 75, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(86, 182, 165, 0.025) 1px, transparent 1px),
    radial-gradient(720px 620px at 88% 18%, rgba(86, 182, 165, 0.12), transparent 68%),
    var(--mahogany);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.mint-counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background:
    radial-gradient(circle, var(--brass) 0 2px, transparent 2.4px) 0 0 / 23px 10px repeat-x,
    linear-gradient(var(--copper-dark), var(--copper-dark)) center / 100% 2px no-repeat;
  opacity: 0.62;
}

.mint-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.7fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: start;
}

.folio-label {
  margin: 0 0 12px;
  color: var(--teal-light);
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.folio-label::before {
  content: "◆";
  margin-right: 9px;
  color: var(--copper);
  font-size: 8px;
}

.spread-title {
  max-width: 760px;
  margin-bottom: 37px;
}

.spread-title h2,
.rail-head h2,
.story-title h2,
.faq-title h2 {
  margin: 0 0 18px;
  color: var(--ivory);
  font: clamp(52px, 7vw, 104px)/0.87 var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(113, 53, 31, 0.58);
}

.spread-title > p:last-child,
.rail-head > div > p:last-child,
.story-title > p,
.faq-title > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.spread-title--wide {
  max-width: 980px;
}

.counter-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  margin-bottom: 35px;
  border-top: 1px solid var(--line);
}

.counter-notes article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  min-width: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.counter-notes span {
  color: var(--copper);
  font: 10px/1.7 var(--mono);
}

.counter-notes p {
  margin: 0;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}

.counter-plate {
  margin: 40px 0 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.counter-plate__art {
  position: relative;
  height: clamp(210px, 27vw, 355px);
  overflow: hidden;
  background: var(--mahogany-2);
}

.counter-plate__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 4, 0.72), transparent 38%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(0, 0, 0, 0.12) 4px 5px);
  pointer-events: none;
}

.counter-plate__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  image-rendering: pixelated;
}

.counter-plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.counter-plate figcaption strong {
  color: var(--brass-light);
  font-weight: 500;
}

.vending-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.vending-machine {
  position: relative;
  padding: 19px 18px 20px;
  border: 2px solid var(--brass);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.04), transparent 34%),
    repeating-linear-gradient(90deg, rgba(217, 166, 75, 0.025) 0 1px, transparent 1px 21px),
    var(--mahogany-2);
  box-shadow:
    var(--shadow),
    inset 0 0 0 5px var(--mahogany);
}

.vending-machine::before,
.vending-machine::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 6px;
  background: radial-gradient(circle, var(--brass-light) 0 2px, var(--copper-dark) 2.3px 3px, transparent 3.4px) 0 0 / 24px 6px repeat-x;
  pointer-events: none;
}

.vending-machine::before {
  top: 8px;
}

.vending-machine::after {
  bottom: 8px;
}

.vending-lintel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 11px;
  padding: 10px 11px 9px;
  border: 1px solid var(--line-strong);
  color: var(--brass-light);
  background: var(--mahogany-3);
  font: 9px var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pixel-gear {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: none;
  background: repeating-conic-gradient(var(--brass) 0 10deg, transparent 10deg 24deg);
  border-radius: 50%;
  mask: radial-gradient(circle, transparent 0 17%, #000 18% 72%, transparent 73%);
  animation: engine-turn 18s linear infinite reverse;
}

.vending-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 53px;
  margin-bottom: 15px;
  padding: 11px 12px;
  overflow: hidden;
  border: 2px solid var(--teal);
  color: var(--teal-light);
  background:
    repeating-linear-gradient(0deg, rgba(151, 224, 208, 0.07) 0 1px, transparent 1px 4px),
    var(--teal-deep);
  box-shadow: inset 0 0 22px rgba(86, 182, 165, 0.15);
}

.screen-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.screen-status i {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--teal-light);
  box-shadow: 0 0 12px var(--teal);
  animation: lamp-pulse 2.2s steps(2) infinite;
}

.screen-status b {
  overflow: hidden;
  font: 12px var(--mono);
  font-weight: 500;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.screen-status.is-turning {
  color: var(--brass-light);
}

.screen-status.is-turning i {
  background: var(--brass-light);
  box-shadow: 0 0 12px var(--brass);
}

.screen-status.is-closed {
  color: var(--paper);
}

.screen-status.is-closed i {
  background: var(--copper);
  box-shadow: none;
}

.clock-label {
  max-width: 47%;
  color: rgba(151, 224, 208, 0.7);
  font: 8px/1.35 var(--mono);
  text-align: right;
  text-transform: uppercase;
}

.ticket-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.ticket-count strong {
  color: var(--ivory);
  font: 56px/0.9 var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.ticket-count span {
  color: var(--muted);
  font: 12px var(--mono);
}

.ticket-count em {
  color: var(--copper);
  font: 9px var(--mono);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.supply-meter {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 2px;
  height: 14px;
  margin: 11px 0 13px;
  padding: 2px;
  border: 1px solid var(--line);
  background: var(--night);
}

.supply-meter i {
  display: block;
  background: rgba(217, 166, 75, 0.08);
  transition: background 220ms steps(3);
}

.supply-meter i.on {
  background: var(--brass);
  box-shadow: 0 0 7px rgba(217, 166, 75, 0.38);
}

.clock-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: var(--night);
}

.clock-strip > div {
  padding: 9px 5px 8px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.clock-strip > div:last-child {
  border-right: 0;
}

.clock-strip strong {
  display: block;
  color: var(--brass-light);
  font: 25px/1 var(--display);
  font-weight: 400;
}

.clock-strip span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font: 7px var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.route-bulletin {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 9px 10px;
  border-left: 3px solid var(--copper);
  color: var(--paper);
  background: rgba(113, 53, 31, 0.16);
  font-size: 12px;
}

.route-bulletin i {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--copper);
}

.route-bulletin p {
  margin: 0;
}

.route-bulletin.is-open {
  border-left-color: var(--teal);
  color: var(--teal-light);
  background: rgba(18, 59, 55, 0.35);
}

.route-bulletin.is-open i {
  background: var(--teal-light);
}

.counter-price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 12px;
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  background: rgba(217, 166, 75, 0.05);
}

.counter-price span {
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.counter-price strong {
  grid-column: 1;
  color: var(--brass-light);
  font: 21px/1.1 var(--display);
  font-weight: 400;
}

.counter-price small {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--copper);
  font: 8px var(--mono);
  letter-spacing: 0.04em;
}

.qty-console {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.qty-console label {
  color: var(--paper);
  font: 8px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qty-stepper {
  display: flex;
  border: 1px solid var(--line-strong);
  background: var(--night);
}

.qty-stepper button {
  width: 32px;
  height: 34px;
  border: 0;
  color: var(--brass-light);
  background: transparent;
  font: 20px/1 var(--mono);
}

.qty-stepper button:hover {
  color: var(--night);
  background: var(--brass);
}

.qty-stepper input {
  width: 48px;
  height: 34px;
  padding: 0;
  border: 0;
  border-inline: 1px solid var(--line);
  border-radius: 0;
  color: var(--ivory);
  background: var(--night);
  font: 12px var(--mono);
  text-align: center;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-max {
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: transparent;
  font: 9px var(--mono);
}

.qty-max:hover {
  color: var(--night);
  background: var(--brass);
}

.ticket-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

.ticket-totals > div {
  min-width: 0;
  padding: 8px 9px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticket-totals > div:nth-child(2n) {
  border-right: 0;
}

.ticket-totals > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ticket-totals span {
  display: block;
  color: var(--muted);
  font: 7px var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticket-totals b {
  display: block;
  overflow: hidden;
  color: var(--ivory);
  font: 10px var(--mono);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-totals > div:last-child b {
  color: var(--brass-light);
}

.mint-lever {
  width: 100%;
  min-height: 70px;
  padding: 12px 15px 10px;
  border: 3px solid var(--brass-light);
  color: var(--night);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 34%),
    var(--brass);
  box-shadow:
    6px 6px 0 var(--copper-dark),
    inset 0 0 0 3px rgba(9, 6, 4, 0.22);
  font: 30px/0.95 var(--display);
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: transform 100ms steps(2), box-shadow 100ms steps(2);
}

.mint-lever:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow:
    8px 8px 0 var(--copper-dark),
    inset 0 0 0 3px rgba(9, 6, 4, 0.22);
}

.mint-lever:active:not(:disabled) {
  transform: translate(5px, 5px);
  box-shadow: 1px 1px 0 var(--copper-dark);
}

.mint-lever:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.machine-note {
  display: none;
  margin: 10px 0 0;
  padding: 8px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 9px/1.45 var(--mono);
}

.machine-note.show {
  display: block;
}

.machine-note.ok {
  border-color: var(--teal);
  color: var(--teal-light);
  background: rgba(18, 59, 55, 0.35);
}

.machine-note.err {
  border-color: var(--copper);
  color: var(--paper);
  background: rgba(113, 53, 31, 0.22);
}

.referral-chip {
  margin: 8px 0 0;
  color: var(--brass-light);
  font: 9px var(--mono);
}

.fare-board {
  display: grid;
  gap: 8px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.fare-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fare-board__head b {
  color: var(--copper);
  font-weight: 500;
}

.fare-ticket {
  position: relative;
  padding: 9px 11px 8px;
  border: 1px solid var(--line);
  background: rgba(9, 6, 4, 0.46);
}

.fare-ticket::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: 6px;
  border-right: 1px dashed rgba(217, 166, 75, 0.3);
}

.fare-ticket__name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-right: 12px;
}

.fare-ticket__name span {
  color: var(--ivory);
  font: 10px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fare-ticket__name strong {
  color: var(--brass-light);
  font: 20px/1 var(--display);
  font-weight: 400;
}

.fare-ticket p {
  margin: 2px 0 5px;
  color: var(--muted);
  font: 8px/1.45 var(--mono);
}

.lane-signal {
  height: 3px;
  overflow: hidden;
  background: rgba(217, 166, 75, 0.12);
}

.lane-signal i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--teal);
  transition: width 320ms steps(4);
}

.fare-ticket small {
  display: block;
  min-height: 11px;
  margin-top: 5px;
  padding-right: 12px;
  color: var(--muted);
  font: 7px/1.4 var(--mono);
}

.x-hatch {
  margin-top: 13px;
  border: 1px solid var(--line);
  background: rgba(9, 6, 4, 0.5);
}

.x-hatch summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px;
  cursor: pointer;
  list-style: none;
}

.x-hatch summary::-webkit-details-marker {
  display: none;
}

.x-hatch summary::after {
  content: "+";
  color: var(--brass);
  font: 18px var(--mono);
}

.x-hatch[open] summary::after {
  content: "−";
}

.x-hatch summary span {
  color: var(--teal-light);
  font: 8px var(--mono);
  text-transform: uppercase;
}

.x-hatch summary b {
  margin-left: auto;
  color: var(--ivory);
  font: 12px var(--body);
}

.x-hatch__body {
  padding: 0 11px 12px;
  border-top: 1px solid var(--line);
}

.x-hatch__body > p:first-child {
  margin: 10px 0;
  color: var(--muted);
  font-size: 12px;
}

.x-hatch label,
.seller-form label,
.invite-ledger label {
  display: block;
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.x-hatch textarea,
.x-hatch input,
.seller-form input,
.copy-line input,
.mast-tools select {
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ivory);
  background: var(--night);
}

.x-hatch textarea {
  width: 100%;
  min-height: 136px;
  margin: 5px 0 7px;
  padding: 9px;
  resize: vertical;
  font: 9px/1.55 var(--mono);
}

.x-hatch input {
  width: 100%;
  margin: 5px 0 9px;
  padding: 9px;
  font: 9px var(--mono);
}

.x-hatch textarea:focus,
.x-hatch input:focus,
.seller-form input:focus,
.copy-line input:focus,
.mast-tools select:focus {
  border-color: var(--teal-light);
  box-shadow: 0 0 0 2px rgba(86, 182, 165, 0.14);
}

.inline-actions,
.x-check-row,
.seller-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.inline-actions .pixel-button,
.x-check-row .pixel-button,
.seller-actions .pixel-button {
  flex: 1;
  min-height: 36px;
  padding: 8px 9px;
  font-size: 10px;
}

.x-check-row {
  margin-top: 1px;
}

.turnstile-box:empty {
  display: none;
}

.x-state-note {
  margin: 9px 0 0;
  color: var(--muted);
  font: 8px/1.45 var(--mono);
}

.specimen-section {
  position: relative;
  padding: clamp(70px, 8vw, 108px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(720px 500px at 12% 8%, rgba(86, 182, 165, 0.09), transparent 68%),
    var(--night);
}

.specimen-section::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--copper) 0 14px, transparent 14px 28px);
  opacity: 0.42;
}

.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}

.rail-head h2 {
  font-size: clamp(48px, 6vw, 82px);
}

.specimen-rail {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  padding: 2px 2px 17px;
  scrollbar-color: var(--brass) var(--mahogany);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.specimen-rail.is-open {
  display: block;
  overflow: visible;
  padding-bottom: 0;
}

.specimen-card {
  position: relative;
  flex: 0 0 clamp(218px, 25vw, 294px);
  min-width: 0;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--mahogany);
}

.specimen-plate {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--mahogany-2);
}

.specimen-plate::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(242, 229, 201, 0.14);
  pointer-events: none;
}

.specimen-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 220ms steps(4);
}

.specimen-card:hover .specimen-plate img {
  transform: scale(1.035);
}

.specimen-plate span {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  padding: 2px 5px;
  color: var(--night);
  background: var(--brass-light);
  font: 8px var(--mono);
}

.specimen-copy {
  padding: 10px 11px 11px;
  border-top: 3px solid var(--tier, var(--brass));
}

.specimen-copy small {
  display: block;
  color: var(--tier, var(--brass));
  font: 8px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.specimen-copy strong {
  display: block;
  margin: 2px 0 3px;
  overflow: hidden;
  color: var(--ivory);
  font: 17px var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.specimen-copy span {
  color: var(--muted);
  font: 7px var(--mono);
  text-transform: uppercase;
}

.specimen-bank {
  display: grid;
  gap: 22px;
}

.specimen-bank__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.specimen-bank__head i {
  width: 7px;
  height: 7px;
  background: var(--tier, var(--brass));
}

.specimen-bank__head h3 {
  margin: 0;
  color: var(--ivory);
  font: 22px var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.specimen-bank__head span {
  margin-left: auto;
  color: var(--muted);
  font: 8px var(--mono);
  text-transform: uppercase;
}

.specimen-bank__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.specimen-bank__grid .specimen-card {
  min-width: 0;
}

.rank-section {
  padding: clamp(78px, 9vw, 125px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(217, 166, 75, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(217, 166, 75, 0.02) 1px, transparent 1px),
    radial-gradient(800px 600px at 92% 14%, rgba(166, 87, 50, 0.12), transparent 67%),
    var(--mahogany);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.rank-stack {
  position: relative;
  border-top: 2px solid var(--brass);
  border-bottom: 1px solid var(--line);
}

.rank-stack::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 79px;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--brass) 0 14px, transparent 14px 23px);
  opacity: 0.36;
  pointer-events: none;
}

.rank-rung {
  position: relative;
  display: grid;
  grid-template-columns: 72px 166px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.rank-rung:last-child {
  border-bottom: 0;
}

.rank-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  color: var(--tier, var(--brass));
  background: var(--mahogany-2);
  font: 26px/1 var(--display);
}

.rank-figure {
  position: relative;
  width: 166px;
  height: 126px;
  overflow: hidden;
  border: 1px solid var(--tier, var(--brass));
  background: var(--mahogany-2);
  clip-path: polygon(9% 0, 100% 0, 100% 83%, 91% 100%, 0 100%, 0 15%);
}

.rank-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  filter: saturate(0.85);
  transition: transform 240ms steps(4), filter 180ms linear;
}

.rank-rung:hover .rank-figure img {
  transform: scale(1.05);
  filter: saturate(1);
}

.rank-figure span {
  position: absolute;
  left: 8px;
  bottom: 7px;
  padding: 2px 5px;
  color: var(--night);
  background: var(--tier, var(--brass));
  font: 7px var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rank-copy {
  min-width: 0;
}

.rank-heading {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 5px;
}

.rank-heading h3 {
  margin: 0;
  color: var(--ivory);
  font: clamp(32px, 4vw, 55px)/0.92 var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rank-heading strong {
  color: var(--tier, var(--brass));
  font: 14px var(--mono);
  font-weight: 500;
  white-space: nowrap;
}

.rank-copy > p {
  margin: 0 0 8px;
  color: var(--muted);
  font: 10px/1.55 var(--mono);
}

.rank-meta {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font: 9px var(--mono);
}

.rank-meta span::before {
  content: "›";
  margin-right: 5px;
  color: var(--copper);
}

.story-section {
  padding: clamp(82px, 9vw, 130px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 560px at 22% 28%, rgba(86, 182, 165, 0.12), transparent 64%),
    linear-gradient(180deg, rgba(9, 6, 4, 0.25), rgba(28, 13, 9, 0.85));
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(38px, 7vw, 105px);
  align-items: start;
}

.story-title {
  position: sticky;
  top: 108px;
}

.story-title h2 {
  font-size: clamp(57px, 7vw, 103px);
}

.story-drop {
  max-width: 500px;
  margin: 22px 0 27px;
  color: var(--paper);
  font-size: 20px;
  line-height: 1.5;
}

.story-drop:first-letter {
  float: left;
  margin: 4px 8px 0 0;
  color: var(--brass-light);
  font: 72px/0.72 var(--display);
}

.story-gear {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 420px;
  margin: 0 0 28px;
}

.pixel-gear--large {
  width: 54px;
  height: 54px;
  opacity: 0.75;
}

.story-gear i {
  flex: 1;
  height: 4px;
  background:
    linear-gradient(90deg, var(--copper), var(--brass)) 0 1px / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 8px, var(--muted) 8px 9px, transparent 9px 14px);
}

.story-gear b {
  color: var(--muted);
  font: 8px var(--mono);
  font-weight: 400;
  white-space: nowrap;
}

.story-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--brass);
}

.story-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 23px;
  min-height: 146px;
  padding: 27px 0 26px;
  border-bottom: 1px solid var(--line);
}

.story-timeline li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25px;
  width: 22px;
  height: 2px;
  background: var(--copper);
}

.story-timeline li > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--brass);
  color: var(--brass-light);
  background: var(--mahogany);
  font: 22px/1 var(--display);
}

.story-timeline p {
  margin: 0;
  color: var(--ivory);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.42;
}

.reward-section {
  padding: clamp(78px, 9vw, 124px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 540px at 88% 10%, rgba(217, 166, 75, 0.08), transparent 68%),
    var(--night);
}

.reward-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  border-top: 2px solid var(--brass);
  border-bottom: 1px solid var(--line);
}

.reward-ramp,
.allocation-table,
.odds-slip {
  min-width: 0;
  padding: 24px 27px 28px;
}

.reward-ramp {
  border-right: 1px solid var(--line);
}

.allocation-table {
  border-right: 1px solid var(--line);
}

.odds-slip {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  background: rgba(28, 13, 9, 0.42);
}

.ledger-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ledger-caption > span {
  color: var(--brass-light);
  font: 20px var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ledger-caption > strong {
  color: var(--ivory);
  font: 25px/1 var(--display);
  font-weight: 400;
}

.ledger-caption p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ramp-bars {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 27px 4px 19px;
  padding: 7px 7px 0;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, transparent 0 37px, rgba(217, 166, 75, 0.05) 37px 38px);
}

.ramp-bars > span {
  position: relative;
  flex: 1;
  height: var(--h);
  min-height: 8px;
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(9, 6, 4, 0.28) 7px 8px),
    var(--copper);
  border-top: 2px solid var(--brass);
}

.ramp-bars > span b {
  position: absolute;
  left: 50%;
  bottom: -17px;
  transform: translateX(-50%);
  color: var(--muted);
  font: 8px var(--mono);
  font-weight: 400;
}

.ramp-bars .ramp-peak {
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(9, 6, 4, 0.26) 7px 8px),
    var(--brass);
  border-top-color: var(--brass-light);
}

.next-strike {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 23px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 9px var(--mono);
  text-transform: uppercase;
}

.next-strike strong {
  color: var(--brass-light);
  font: 17px var(--display);
  font-weight: 400;
}

.allocation-figure {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 27px;
}

.supply-dial {
  position: relative;
  width: 154px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--brass) 0 32.383%,
    var(--copper) 32.383% 59.433%,
    var(--mahogany-3) 59.433% 100%
  );
  box-shadow: 0 0 0 7px var(--night), 0 0 0 8px var(--line);
}

.supply-dial::before {
  content: "";
  position: absolute;
  width: 98px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--night);
}

.supply-dial span {
  position: relative;
  z-index: 1;
  color: var(--brass-light);
  font: 23px var(--display);
}

.allocation-rows {
  display: grid;
  gap: 13px;
}

.allocation-rows > div {
  display: grid;
  grid-template-columns: 7px 1fr;
  gap: 8px;
}

.allocation-rows i {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  background: var(--brass);
}

.allocation-rows > div:nth-child(2) i {
  background: var(--copper);
}

.allocation-rows > div:nth-child(3) i {
  background: var(--mahogany-3);
}

.allocation-rows span {
  color: var(--muted);
  font-size: 11px;
}

.allocation-rows strong {
  grid-column: 2;
  color: var(--ivory);
  font: 11px var(--mono);
  font-weight: 500;
}

.allocation-total {
  margin: 25px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 9px var(--mono);
  text-transform: uppercase;
}

.mini-odds {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mini-odd {
  display: grid;
  grid-template-columns: 7px 1fr;
  gap: 2px 7px;
  padding: 10px 11px;
  border-right: 1px solid var(--line);
}

.mini-odd:last-child {
  border-right: 0;
}

.mini-odd i {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  background: var(--tier, var(--brass));
}

.mini-odd span {
  overflow: hidden;
  color: var(--paper);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-odd b {
  grid-column: 2;
  color: var(--brass-light);
  font: 15px var(--display);
  font-weight: 400;
}

.ledger-section {
  padding: clamp(78px, 9vw, 125px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(86, 182, 165, 0.025) 1px, transparent 1px),
    radial-gradient(750px 580px at 16% 12%, rgba(86, 182, 165, 0.08), transparent 68%),
    var(--mahogany);
  background-size: 46px 46px, auto, auto;
}

.personal-ledger {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: 18px;
  margin-bottom: 18px;
}

.claim-ledger,
.invite-ledger {
  position: relative;
  padding: 23px;
  border: 1px solid var(--line);
  background: rgba(9, 6, 4, 0.55);
}

.claim-ledger {
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(86, 182, 165, 0.2), transparent 57%),
    var(--teal-deep);
}

.claim-ledger::after {
  content: "";
  position: absolute;
  right: -21px;
  bottom: -28px;
  width: 130px;
  height: 130px;
  border: 4px solid rgba(151, 224, 208, 0.12);
  border-radius: 50%;
}

.claim-ledger > span {
  color: var(--teal-light);
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.claim-ledger > strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 15px 0 20px;
  color: var(--ivory);
  font: clamp(48px, 6vw, 79px)/0.85 var(--display);
  font-weight: 400;
}

.claim-ledger .pixel-button {
  position: relative;
  z-index: 1;
}

.invite-ledger > p:nth-of-type(2) {
  max-width: 670px;
  color: var(--muted);
  font-size: 14px;
}

.copy-line {
  display: flex;
  margin: 5px 0 14px;
}

.copy-line input {
  min-width: 0;
  flex: 1;
  padding: 9px;
  border-right: 0;
  font: 9px var(--mono);
}

.copy-line .pixel-button {
  min-height: 37px;
  padding: 7px 10px;
  font-size: 10px;
}

.invite-tally {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.invite-tally > div {
  padding: 9px 0;
}

.invite-tally > div + div {
  padding-left: 17px;
  border-left: 1px solid var(--line);
}

.invite-tally span {
  display: block;
  color: var(--muted);
  font: 8px var(--mono);
  text-transform: uppercase;
}

.invite-tally strong {
  color: var(--brass-light);
  font: 27px var(--display);
  font-weight: 400;
}

.invite-ledger > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font: 9px var(--mono);
}

.vault-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 25px 0 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vault-toolbar p {
  margin: 0;
  color: var(--muted);
  font: 9px var(--mono);
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 11px;
}

.vault-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(9, 6, 4, 0.5);
}

.vault-card__art {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--night);
}

.vault-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.vault-card.sealed .vault-card__art img {
  object-fit: contain;
  padding: 18px;
  filter: drop-shadow(0 0 18px rgba(217, 166, 75, 0.18));
}

.vault-card__number {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 5px;
  color: var(--night);
  background: var(--brass-light);
  font: 8px var(--mono);
}

.vault-card__body {
  position: relative;
  padding: 10px 11px 11px;
  border-top: 3px solid var(--tier, var(--brass));
}

.vault-card__body small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font: 8px var(--mono);
  text-transform: uppercase;
}

.vault-card__body strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--ivory);
  font: 17px var(--display);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vault-card__body .pixel-button {
  width: 100%;
  min-height: 31px;
  margin-top: 7px;
  padding: 5px 7px;
  font-size: 9px;
}

.seal-mark {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 2px 5px;
  border: 1px solid var(--brass);
  color: var(--brass-light);
  background: rgba(9, 6, 4, 0.85);
  font: 7px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.empty-card {
  grid-column: 1 / -1;
  min-height: 145px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font: 10px var(--mono);
  text-align: center;
}

.exchange-ledger {
  margin-top: clamp(72px, 8vw, 108px);
  padding-top: 31px;
  border-top: 2px solid var(--brass);
  scroll-margin-top: 90px;
}

.exchange-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.exchange-head h3 {
  margin: 0 0 10px;
  color: var(--ivory);
  font: clamp(46px, 6vw, 82px)/0.9 var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

.exchange-head > div > p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

.fee-stamp {
  transform: rotate(-2deg);
  padding: 7px 11px;
  border: 2px solid var(--copper);
  color: var(--brass-light);
  background: rgba(113, 53, 31, 0.19);
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-state {
  margin: 18px 0 15px;
  color: var(--muted);
  font: 9px var(--mono);
}

.exchange-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.exchange-lot {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 17px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.exchange-lot__art {
  width: 78px;
  height: 78px;
  overflow: hidden;
  border: 1px solid var(--tier, var(--brass));
  background: var(--night);
}

.exchange-lot__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.exchange-lot__copy {
  min-width: 0;
}

.exchange-lot__copy small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font: 8px var(--mono);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.exchange-lot__copy strong {
  display: block;
  overflow: hidden;
  color: var(--ivory);
  font: 22px var(--display);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exchange-lot__price {
  min-width: 100px;
  text-align: right;
}

.exchange-lot__price strong {
  display: block;
  color: var(--brass-light);
  font: 19px var(--display);
  font-weight: 400;
  white-space: nowrap;
}

.exchange-lot__price small {
  color: var(--copper);
  font: 7px var(--mono);
  text-transform: uppercase;
}

.exchange-lot .pixel-button {
  min-height: 37px;
  padding: 8px 11px;
  font-size: 10px;
}

.seller-desk {
  margin-top: 41px;
  padding-top: 19px;
  border-top: 1px solid var(--line-strong);
}

.seller-desk__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.seller-desk__head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.seller-spread {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 37px;
  margin-top: 19px;
}

.field-caption {
  margin: 0 0 9px;
  color: var(--paper);
  font: 9px var(--mono);
  text-transform: uppercase;
}

.oracle-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 7px;
  max-height: 295px;
  overflow: auto;
  padding-right: 4px;
}

.oracle-picker button {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--ivory);
  background: var(--night);
}

.oracle-picker button.selected {
  border-color: var(--brass-light);
  box-shadow: 0 0 0 2px var(--brass);
}

.oracle-picker img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
}

.oracle-picker span {
  display: block;
  padding: 4px 5px;
  overflow: hidden;
  color: var(--muted);
  font: 7px var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(9, 6, 4, 0.34);
}

.seller-form input {
  padding: 9px 10px;
  font: 11px var(--mono);
}

.seller-form > p {
  margin: 0;
  color: var(--muted);
  font: 8px var(--mono);
}

.faq-section {
  padding: clamp(80px, 9vw, 126px) 0;
  background:
    radial-gradient(760px 460px at 85% 24%, rgba(86, 182, 165, 0.08), transparent 68%),
    var(--night);
}

.faq-spread {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(38px, 7vw, 105px);
  align-items: start;
}

.faq-title {
  position: sticky;
  top: 108px;
}

.faq-seal {
  position: relative;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  margin-top: 39px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.faq-seal::before,
.faq-seal::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--copper);
  border-radius: 50%;
  animation: engine-turn 30s linear infinite;
}

.faq-seal::after {
  inset: 23px;
  border-style: solid;
  border-color: var(--brass);
  animation-direction: reverse;
}

.faq-seal i,
.faq-seal b {
  position: absolute;
  background: var(--brass);
}

.faq-seal i {
  top: -4px;
  bottom: -4px;
  left: 50%;
  width: 1px;
}

.faq-seal b {
  top: 50%;
  left: -4px;
  right: -4px;
  height: 1px;
}

.faq-seal span {
  color: var(--brass-light);
  font: 27px/0.75 var(--display);
  text-align: center;
}

.faq-list {
  border-top: 2px solid var(--brass);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  padding: 19px 36px 19px 0;
  list-style: none;
  color: var(--ivory);
  font-size: 18px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  color: var(--copper);
  font: 9px/2 var(--mono);
}

.faq-list {
  counter-reset: faq;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 3px;
  color: var(--brass);
  font: 22px var(--mono);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--teal-light);
}

.faq-item p {
  margin: -2px 43px 21px 65px;
  color: var(--muted);
  font-size: 14px;
}

.colophon {
  padding: 43px 0 59px;
  border-top: 1px solid var(--line-strong);
  background: #050302;
}

.colophon-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.colophon-brand p {
  margin: 15px 0 4px;
  color: var(--muted);
  font: 8px var(--mono);
}

.colophon-brand > span {
  color: var(--copper);
  font: 9px var(--mono);
  text-transform: uppercase;
}

.colophon-links {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 20px;
}

.colophon-links > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.colophon-links span {
  color: var(--muted);
  font: 8px var(--mono);
  text-transform: uppercase;
}

.colophon-links code,
.colophon-links button {
  color: var(--brass-light);
  font: 9px var(--mono);
  overflow-wrap: anywhere;
}

.colophon-links button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(3, 2, 1, 0.87);
  backdrop-filter: blur(8px);
}

.wallet-modal.show {
  display: grid;
}

.wallet-modal__box {
  width: min(410px, 100%);
  padding: 21px;
  border: 2px solid var(--brass);
  background:
    radial-gradient(circle at 90% 10%, rgba(86, 182, 165, 0.12), transparent 37%),
    var(--mahogany);
  box-shadow: var(--shadow);
}

.wallet-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
  color: var(--ivory);
  font: 25px var(--display);
  text-transform: uppercase;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  color: var(--brass-light);
  background: transparent;
  font: 23px/1 var(--mono);
}

.modal-close:hover {
  color: var(--night);
  background: var(--brass);
}

.wallet-options {
  display: grid;
  gap: 8px;
}

.wallet-options .pixel-button {
  width: 100%;
  justify-content: flex-start;
}

.toast-line {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 150;
  max-width: calc(100% - 32px);
  padding: 10px 15px;
  transform: translate(-50%, 18px);
  border: 1px solid var(--brass);
  color: var(--brass-light);
  background: var(--mahogany-2);
  box-shadow: var(--shadow);
  font: 9px var(--mono);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms linear, transform 160ms steps(3);
}

.toast-line.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@keyframes engine-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lamp-pulse {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  }

  .hero-copy h1 {
    font-size: clamp(70px, 9.6vw, 125px);
  }

  .mint-spread {
    grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.76fr);
    gap: 38px;
  }

  .rank-rung {
    grid-template-columns: 64px 145px minmax(0, 1fr);
    gap: 19px;
  }

  .rank-figure {
    width: 145px;
    height: 112px;
  }

  .rank-stack::before {
    left: 67px;
  }

  .specimen-bank__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-gutter {
    width: min(100% - 48px, 760px);
  }

  .mast-row {
    grid-template-columns: auto 1fr;
  }

  .mast-pressmark {
    display: none;
  }

  .mast-tools {
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-collage {
    width: min(100%, 650px);
    justify-self: start;
    aspect-ratio: 1.1;
  }

  .hero-deck {
    max-width: 680px;
  }

  .hero-register {
    margin-top: 28px;
  }

  .mint-spread {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .vending-sidebar {
    position: static;
  }

  .vending-machine {
    width: min(100%, 520px);
  }

  .rank-rung {
    grid-template-columns: 56px 135px minmax(0, 1fr);
    gap: 17px;
  }

  .rank-figure {
    width: 135px;
    height: 105px;
  }

  .rank-stack::before {
    left: 59px;
  }

  .story-layout,
  .faq-spread {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .story-title,
  .faq-title {
    position: static;
  }

  .reward-ledger {
    grid-template-columns: 1fr;
  }

  .reward-ramp,
  .allocation-table {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .odds-slip {
    grid-column: auto;
    border-top: 0;
  }

  .mini-odds {
    grid-template-columns: repeat(3, 1fr);
  }

  .mini-odd:nth-child(3n) {
    border-right: 0;
  }

  .mini-odd:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .personal-ledger {
    grid-template-columns: 1fr;
  }

  .seller-spread {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .page-gutter {
    width: min(100% - 30px, 560px);
  }

  .edge-register {
    display: none;
  }

  .issue-mast {
    backdrop-filter: blur(10px);
  }

  .mast-row {
    min-height: 64px;
    gap: 9px;
  }

  .mast-wordmark {
    gap: 8px;
    font-size: 23px;
  }

  .mast-cog {
    width: 24px;
    height: 24px;
  }

  .mast-cog i {
    inset: 7px;
  }

  .mast-tools {
    gap: 5px;
  }

  .mast-tools select {
    width: 74px;
    height: 37px;
    padding-left: 6px;
    font-size: 8px;
  }

  .mast-connect {
    min-height: 37px;
    padding: 7px 8px;
    font-size: 10px;
  }

  .menu-trigger {
    height: 38px;
    padding: 0 8px;
    font-size: 9px;
  }

  .menu-folio {
    padding: 11px;
  }

  .menu-folio__sheet {
    max-height: calc(100svh - 22px);
    padding: 22px 16px;
  }

  .menu-folio__title {
    font-size: 37px;
  }

  .menu-links a {
    grid-template-columns: 39px 1fr;
    gap: 9px;
  }

  .menu-links b {
    font-size: clamp(35px, 10vw, 55px);
  }

  .menu-folio__foot {
    font-size: 8px;
  }

  .hero-spread {
    padding-top: 48px;
  }

  .hero-kicker {
    font-size: 8px;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(67px, 20vw, 108px);
    line-height: 0.8;
    text-shadow:
      3px 3px 0 var(--copper-dark),
      6px 6px 0 rgba(0, 0, 0, 0.4);
  }

  .hero-deck {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-deck p {
    font-size: 17px;
  }

  .hero-deck .hero-deck__side {
    max-width: 280px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .hero-collage {
    min-height: 350px;
    aspect-ratio: 0.92;
  }

  .collage-rank figcaption {
    padding: 3px 4px;
    font-size: 6px;
  }

  .hero-register {
    grid-template-columns: 1fr 1fr;
  }

  .hero-register > div:nth-child(2n) {
    border-right: 0;
  }

  .hero-register > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .hero-register > div {
    padding: 12px 11px;
  }

  .hero-register strong {
    font-size: 23px;
  }

  .spread-title h2,
  .rail-head h2,
  .story-title h2,
  .faq-title h2,
  .exchange-head h3 {
    font-size: clamp(47px, 14vw, 72px);
    line-height: 0.88;
  }

  .spread-title {
    margin-bottom: 28px;
  }

  .counter-notes {
    grid-template-columns: 1fr;
  }

  .counter-plate__art {
    height: 225px;
  }

  .vending-machine {
    padding: 16px 13px 17px;
    box-shadow: 7px 9px 0 rgba(0, 0, 0, 0.54);
  }

  .vending-screen {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .clock-label {
    max-width: none;
    text-align: left;
  }

  .ticket-count strong {
    font-size: 50px;
  }

  .qty-console {
    grid-template-columns: 1fr auto;
  }

  .qty-console label {
    grid-column: 1 / -1;
  }

  .mint-lever {
    min-height: 62px;
    font-size: 27px;
  }

  .rail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .specimen-rail {
    margin-inline: -15px;
    padding-inline: 15px;
  }

  .specimen-card {
    flex-basis: 230px;
  }

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

  .rank-rung {
    grid-template-columns: 44px 87px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 0;
  }

  .rank-stack::before {
    left: 49px;
  }

  .rank-number {
    width: 39px;
    height: 39px;
    font-size: 21px;
  }

  .rank-figure {
    width: 87px;
    height: 92px;
  }

  .rank-figure span {
    left: 4px;
    bottom: 4px;
    font-size: 6px;
  }

  .rank-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .rank-heading h3 {
    font-size: clamp(25px, 7.8vw, 38px);
  }

  .rank-heading strong {
    font-size: 10px;
  }

  .rank-copy > p {
    display: none;
  }

  .rank-meta {
    gap: 4px 10px;
    font-size: 7px;
  }

  .story-timeline li {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    min-height: 0;
    padding: 20px 0;
  }

  .story-timeline li::before {
    left: 18px;
    width: 17px;
  }

  .story-timeline li > span {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .story-timeline p {
    font-size: 19px;
  }

  .story-drop:first-letter {
    font-size: 61px;
  }

  .story-gear {
    gap: 8px;
  }

  .pixel-gear--large {
    width: 43px;
    height: 43px;
  }

  .story-gear b {
    font-size: 7px;
  }

  .reward-ramp,
  .allocation-table,
  .odds-slip {
    padding: 19px 17px 22px;
  }

  .ledger-caption {
    flex-direction: column;
    gap: 5px;
  }

  .ramp-bars {
    height: 154px;
    gap: 5px;
  }

  .allocation-figure {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .allocation-rows {
    width: 100%;
  }

  .mini-odds {
    grid-template-columns: 1fr 1fr;
  }

  .mini-odd:nth-child(2n) {
    border-right: 0;
  }

  .mini-odd:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .mini-odd:nth-child(-n + 3) {
    border-bottom: 0;
  }

  .mini-odd:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .claim-ledger,
  .invite-ledger {
    padding: 18px;
  }

  .copy-line {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-line input {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .vault-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .exchange-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .exchange-lot {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .exchange-lot__art {
    width: 62px;
    height: 62px;
  }

  .exchange-lot__price {
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

  .exchange-lot .pixel-button {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .exchange-lot__copy strong {
    font-size: 18px;
  }

  .seller-actions .pixel-button {
    flex-basis: 100%;
  }

  .faq-item summary {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding-right: 26px;
    font-size: 16px;
  }

  .faq-item p {
    margin-left: 44px;
    margin-right: 20px;
  }

  .colophon-links {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 390px) {
  .page-gutter {
    width: calc(100% - 26px);
  }

  .mast-wordmark {
    font-size: 20px;
  }

  .mast-cog {
    width: 21px;
    height: 21px;
  }

  .mast-cog i {
    inset: 6px;
  }

  .mast-tools select {
    width: 63px;
  }

  .mast-connect {
    padding-inline: 6px;
    font-size: 9px;
  }

  .menu-trigger {
    width: 37px;
    padding: 0;
    justify-content: center;
  }

  .menu-trigger > span:last-child {
    display: none;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

  .hero-collage {
    min-height: 315px;
  }

  .collage-rank figcaption {
    left: 3px;
    right: 3px;
    bottom: 3px;
  }

  .collage-rank figcaption strong {
    display: none;
  }

  .ticket-count strong {
    font-size: 45px;
  }

  .clock-strip strong {
    font-size: 22px;
  }

  .ticket-totals b {
    font-size: 9px;
  }

  .rank-rung {
    grid-template-columns: 37px 76px minmax(0, 1fr);
    gap: 8px;
  }

  .rank-stack::before {
    left: 41px;
  }

  .rank-number {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .rank-figure {
    width: 76px;
    height: 86px;
  }

  .rank-heading h3 {
    font-size: 23px;
  }

  .rank-meta {
    font-size: 6px;
  }

  .mini-odd {
    padding: 8px 7px;
  }

  .vault-grid {
    gap: 7px;
  }

  .vault-card__body {
    padding: 8px;
  }

  .vault-card__body strong {
    font-size: 15px;
  }

  .exchange-lot {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .exchange-lot__art {
    width: 54px;
    height: 54px;
  }

  .exchange-lot__price {
    grid-column: 2;
  }

  .exchange-lot .pixel-button {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
