/* ------------------------------------------------------------------
   PREEMPTION ($PREEM)  -  paper-cutout / xerox / acid-lime
   Tokens sampled from the brand PFP + banner: #000 ground,
   #F2F0EB photocopy paper, #D4FD0E lime, #A3A19D grey.
   ------------------------------------------------------------------ */

:root {
  --bg: #070707;
  --bg2: #0e0e0d;
  --line: #1f1f1d;
  --paper: #f2f0eb;
  --paper2: #d9d7d1;
  --grey: #a3a19d;
  --grey2: #4d4c49;
  --lime: #d4fd0e;
  --lime2: #a9cc00;
  --ink: #0a0a0a;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pixel: "Silkscreen", "IBM Plex Mono", monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1440px;

  /* z scale */
  --z-nav: 40;
  --z-menu: 50;
  --z-grain: 60;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: transparent;   /* the ground is html's: the paper layers (js/paper-bg.js) sit between the two */
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; }

/* ---------- page background: torn paper over a lime glow (js/paper-bg.js lays the scraps out) ---------- */
.paper-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(55vw 50vh at 0% 0%, rgba(212, 253, 14, 0.11), transparent 70%),
    radial-gradient(60vw 55vh at 100% 100%, rgba(212, 253, 14, 0.09), transparent 70%),
    radial-gradient(35vw 30vh at 100% 15%, rgba(212, 253, 14, 0.045), transparent 70%);
}
.paper-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.paper-bg.is-ready { opacity: 1; }
.paper-bg__scrap { position: absolute; }
.paper-bg__scrap svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--lime); color: var(--ink); }

/* ---------- utilities ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i--brand { fill: currentColor; stroke: none; }

.rough { filter: url(#rough); }

/* photocopy paper block: slightly torn corners via clip-path (cheap) */
.paper {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  clip-path: polygon(
    0.6% 1.4%, 3.5% 0, 46% 0.7%, 97.2% 0, 100% 2.6%,
    99.4% 52%, 100% 97.5%, 96.5% 100%, 41% 99.3%, 2.2% 100%,
    0 96.8%, 0.5% 44%
  );
}
.paper::before {
  /* toner noise */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.paper--lime { background: var(--lime); }
.paper--lime::after {
  /* halftone dither like the PFP figure */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--ink) 0.9px, transparent 1.25px);
  background-size: 5px 5px;
  -webkit-mask-image: linear-gradient(200deg, transparent 35%, #000 100%);
          mask-image: linear-gradient(200deg, transparent 35%, #000 100%);
  opacity: 0.85;
  pointer-events: none;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 14ch;
}
.h2 em { font-style: normal; color: var(--lime); position: relative; z-index: 1; }
.h2[data-ink] { position: relative; }
.ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* darken, not multiply: over the black ground it is exactly the ground (no faint box around
     the heading), over the paper-white letters it is the print itself */
  mix-blend-mode: darken;
  pointer-events: none;
  opacity: 0;
}
/* fades in only after the reveal transition has ended: while the heading is still transformed
   or translucent it is its own stacking context and the blend would not reach the page ground */
.h2[data-reveal].is-in .ink.is-ready { opacity: 1; transition: opacity 0.8s ease 1s; }
.h2:not([data-reveal]) .ink.is-ready { opacity: 1; transition: opacity 0.8s ease; }
/* on a white ground (print, light high-contrast themes) darken would show the print as a box */
@media print, (forced-colors: active) {
  .ink { display: none; }
  .has-ink .step__num { background-image: none !important; }
}

.lead {
  color: var(--grey);
  max-width: 58ch;
  font-size: clamp(16px, 1.25vw, 19px);
}

.section { padding-block: clamp(96px, 12vw, 180px); }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 88px); }

/* JS-gated reveal (no JS: everything visible) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- grain overlay ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 0.35s var(--ease), color 0.25s;
  transform-origin: 40% 60%;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  clip-path: polygon(0 2%, 4% 0, 98% 1%, 100% 4%, 99% 97%, 96% 100%, 3% 99%, 0 95%);
  transition: transform 0.45s var(--ease);
}
.btn--lime { color: var(--lime); }
.btn--lime > * { color: var(--ink); }
.btn--lime::before { background: var(--lime); }
.btn--lime::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  clip-path: polygon(0 2%, 4% 0, 98% 1%, 100% 4%, 99% 97%, 96% 100%, 3% 99%, 0 95%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.btn--lime:hover::after { transform: scaleY(1); }
.btn--lime:hover { transform: rotate(-1.5deg) translateY(-2px); }
.btn--lime:active { transform: rotate(-1.5deg) scale(0.97); }

.btn--paper { color: var(--paper); }
.btn--paper > * { color: var(--ink); }
.btn--paper:hover { transform: rotate(1.2deg) translateY(-2px); }
.btn--paper:active { transform: scale(0.97); }

.btn--ghost { color: var(--paper); padding-inline: 8px; }
.btn--ghost::before { display: none; }
.btn--ghost > span {
  position: relative;
}
.btn--ghost > span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.btn--ghost:hover > span::after { transform: scaleX(1); }
.btn--ghost:hover .i { transform: translateX(4px); }
.btn--ghost .i { transition: transform 0.35s var(--ease); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--gutter);
  transition: background 0.4s, backdrop-filter 0.4s, height 0.4s var(--ease);
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 62px; height: 34px; fill: var(--paper); }
.brand__mark .lime { fill: var(--lime); }
.brand__name {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav__links { display: flex; gap: 2px; }   /* tight: seven links, OpenSea, the wallet and the CTA share the bar at 1361px */
.nav__links a {
  position: relative;
  padding: 10px 6px;
  white-space: nowrap;   /* the OpenSea button shares the bar; without this "How it works" breaks in two */
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--grey);
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 6px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { padding: 12px 18px; font-size: 13px; }
.nav__burger { display: none; width: 44px; height: 44px; place-items: center; }
.nav__burger .i { width: 26px; height: 26px; }

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 16px var(--gutter) 32px;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
}
.menu.is-open { transform: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; }
.menu__links { display: grid; align-content: center; gap: 4px; }
.menu__links a {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(28px, min(9vw, 7vh), 64px);   /* nine links must fit a short laptop window too */
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}
.menu__links a:hover { color: var(--lime); }
.menu__foot { display: flex; align-items: center; gap: 16px; }
.menu__foot .btn { width: 100%; justify-content: center; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: clamp(96px, 12vh, 132px);
  padding-bottom: clamp(32px, 6vh, 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 5fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.hero__copy { display: grid; gap: clamp(22px, 2.6vw, 34px); align-content: center; }
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 116%;
  font-size: clamp(40px, 5.15vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: block; }
.hero__title em { font-style: normal; color: var(--lime); }
.hero__sub { color: var(--grey); font-size: clamp(16px, 1.3vw, 20px); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

.hero__art { position: relative; min-width: 0; }

/* WebGL layers (getlayers assets) */
.hero { isolation: isolate; background: var(--bg); }
.hero__rift, .cell__cubes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero__rift.is-ready, .cell__cubes.is-ready { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.78) 34%, rgba(7, 7, 7, 0.2) 58%, rgba(7, 7, 7, 0) 72%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.75) 0%, rgba(7, 7, 7, 0) 26%, rgba(7, 7, 7, 0) 78%, #070707 100%);
}
.hero__grid { position: relative; z-index: 2; }
.hero__dots { z-index: 1; }
.scene { width: 124%; max-width: none; height: auto; overflow: visible; margin-left: -6%; }

/* halftone dot field, denser toward the corner (like the PFP dither) */
.hero__dots {
  position: absolute;
  right: -10vw;
  bottom: -10vh;
  width: 70vw;
  height: 80vh;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--grey2) 1.1px, transparent 1.5px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 90%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 62%);
          mask-image: radial-gradient(ellipse at 85% 90%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 62%);
  opacity: 0.55;
}

/* scene motion (CSS loops, GSAP handles the entrance) */
/* the layers swing and bob as whole elements: one raster each, transforms on the compositor */
.scene--layer { position: absolute; top: 0; left: -6%; }
.scene--sign { transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; will-change: transform; }
.scene--runner { animation: bob 2.6s ease-in-out infinite; will-change: transform; }
.scene--owner { animation: bob 3.4s ease-in-out infinite reverse; will-change: transform; }
.sc-sign text { font-family: var(--display); font-weight: 900; font-stretch: 112%; }
.sc-plaque text { font-family: var(--pixel); font-weight: 700; letter-spacing: 0.04em; }

@keyframes sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50% { transform: rotate(1.6deg); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- ticker (the single marquee on the page) ---------- */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg2);
  padding-block: 14px;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: tick 48s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 44px; }
.plate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px 7px 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  clip-path: polygon(0 8%, 2% 0, 98% 3%, 100% 10%, 99% 95%, 97% 100%, 3% 98%, 0 92%);
}
.plate b {
  font-family: var(--pixel);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: var(--lime);
  padding: 3px 6px;
}
.ticker .i { width: 22px; height: 22px; color: var(--grey2); transform: rotate(-30deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- how it works (pinned horizontal chain) ---------- */

.how { padding-top: clamp(96px, 12vw, 180px); }
.how__head { margin-bottom: clamp(24px, 4vw, 56px); }
.how__pin { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }
.how__track {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 96px);
  height: 100%;
  width: max-content;
  padding-inline: var(--gutter) 30vw;
}
.how__chain {
  position: absolute;
  left: 0; top: 50%;
  width: 100%;
  height: 40px;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: visible;
}
.how__chain .base { stroke: var(--grey2); stroke-width: 9; stroke-dasharray: 26 9; stroke-linecap: round; fill: none; }
.how__chain .hole { stroke: var(--bg); stroke-width: 4; stroke-dasharray: 26 9; stroke-linecap: round; fill: none; }
.how__chain .prog { stroke: var(--lime); stroke-width: 3; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }

.step { position: relative; width: min(520px, 78vw); flex: none; }
.step:nth-child(even) { transform: translateY(6vh); }
.step:nth-child(odd) { transform: translateY(-5vh); }
/* the numbers follow the zigzag: above the lowered cards, below the raised ones (child 1 is the chain svg,
   so odd children are steps 2, 4, 6) */
.step:nth-child(odd) .step__num { top: calc(100% + 14px - 0.13em); }
.has-ink .step__num {
  -webkit-background-clip: text;
          background-clip: text;
  background-size: cover;
  background-repeat: no-repeat;
}
/* the digit stands clear of its card: its ink spans 0.13em..0.85em of the line box, so these offsets leave a 14px
   gap. Sized by height too, so on a 1280x720 screen the numbers above the lowered cards stay below the nav. */
.step__num {
  position: absolute;
  top: calc(-0.85em - 14px);
  left: -0.08em;
  z-index: 0;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(110px, min(15vw, 22vh), 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--grey2);
  pointer-events: none;
  user-select: none;
}
.step__card {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 2.6vw, 36px);
  display: grid;
  gap: 16px;
  min-height: 300px;
}
.step__card .i { width: 34px; height: 34px; stroke-width: 1.75; }
.step__title {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.step__text { font-size: 16px; line-height: 1.5; color: #2a2a28; max-width: 42ch; }
.step__meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c5b58;
  display: flex;
  gap: 10px;
  align-items: center;
}
.step--lime .step__text { color: #1f2400; }
.step--lime .step__meta { color: #3d4600; }
.step__ring {
  /* 48h dial */
  width: 88px; height: 88px;
  margin-left: auto;
  position: absolute;
  right: 26px; top: 26px;
}
.step__ring circle { fill: none; stroke-width: 6; }
.step__ring .track { stroke: rgba(10, 10, 10, 0.12); }
.step__ring .fill { stroke: var(--ink); stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 50% 50%; }
.step__ring text { font-family: var(--pixel); font-size: 15px; font-weight: 700; fill: var(--ink); }

/* ---------- roles (paper chain) ---------- */

.roles__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 0;
  margin-inline: -1.5%;
}
.role {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding-bottom: 8px;
  transition: transform 0.5s var(--ease);
}
.role__fig { width: 100%; max-width: none; height: auto; fill: var(--paper); transition: fill 0.35s, transform 0.5s var(--ease); }
.role__fig .dots { fill: url(#dots); opacity: 0; transition: opacity 0.35s; }
.role__fig.flip { transform: scaleX(-1); }
.role__name {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s;
}
.role:hover .role__fig, .role.is-active .role__fig { fill: var(--lime); }
.role.is-active .role__fig .dots, .role:hover .role__fig .dots { opacity: 1; }
.role.is-active .role__name { color: var(--lime); }
.role.is-active { transform: translateY(-14px); }

.roles__panel {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.roles__panel h3 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1;
  text-transform: uppercase;
}
.roles__panel p { font-size: clamp(17px, 1.4vw, 21px); color: var(--paper2); max-width: 52ch; }
.roles__panel .swap { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.roles__panel .swap.is-out { opacity: 0; transform: translateY(10px); }

/* ---------- tracks (hanging signboards) ---------- */

.tracks { overflow-x: clip; }
.tracks__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding-top: 110px;
}
.board {
  --tilt: -2deg;
  position: relative;
  transform: rotate(var(--tilt));
  transform-origin: 50% -110px;
}
.board--gh { --tilt: 1.6deg; margin-top: 56px; }
/* two chains of real links (the hero sign's drawing), the last link sits on the bolt */
.board__chain { position: absolute; top: -118px; width: 28px; height: 130px; overflow: visible; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)); }
.board__chain--l { left: calc(18% - 9px); }
.board__chain--r { right: calc(18% - 9px); }
.board__in {
  padding: clamp(28px, 3vw, 44px);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 6px var(--paper);
  display: grid;
  gap: 24px;
}
.board__logo { width: 74px; height: 74px; color: var(--ink); }
.board__title {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 122%;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.board__rows { display: grid; gap: 14px; }
.board__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.board__row dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #5c5b58; padding-top: 3px; }
.board__row dd { margin: 0; font-size: 16px; color: #1c1c1a; }
.board__bolt {
  position: absolute;
  top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--paper2), inset 0 0 0 5px var(--ink);
}
.board__bolt:first-of-type { left: calc(18% - 2px); }
.board__bolt:last-of-type { right: calc(18% - 2px); }
.board__bolt { z-index: 1; }

/* ---------- creators bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.cell { padding: clamp(24px, 2.8vw, 40px); display: grid; align-content: start; gap: 18px; min-height: 300px; }
@media (max-width: 960px) { .cell.cell--notoriety { min-height: 520px; } }
.cell--founder { grid-column: 1 / 3; overflow: hidden; }
.cell--notoriety { grid-column: 5 / 7; grid-row: 1 / 3; background: #000; color: var(--paper); position: relative; isolation: isolate; overflow: hidden; }
.cell--notoriety > * { position: relative; z-index: 1; }
.cell--notoriety::after { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.cell--notoriety .cell__who { margin-top: 4px; }
.cell--notoriety::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0) 70%); pointer-events: none; }
.cell__cubes { z-index: 0 !important; position: absolute !important; }
.cell--recognition { grid-column: 3 / 5; }
.cell--buyback { grid-column: 1 / 5; }

.cell__title {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}
.cell__text { font-size: 16px; max-width: 46ch; color: #2a2a28; }
.cell--notoriety .cell__text { color: var(--grey); }
.cell--recognition .cell__text { color: #1f2400; }
.cell__who {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.cell__who span {
  padding: 5px 9px;
  border: 1px solid currentColor;
  opacity: 0.85;
}
.cell__big {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(72px, 9vw, 150px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.cell__big small { display: block; font-size: 0.2em; font-stretch: 110%; letter-spacing: 0; margin-top: 0.4em; }

.cell--founder .gavel {
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: clamp(160px, 22%, 260px);
  height: auto;
  color: var(--ink);
  opacity: 0.08;
  stroke-width: 1.2;
  transform: rotate(-12deg);
  pointer-events: none;
}
.cell--notoriety .vault { width: 44px; height: 44px; color: var(--lime); stroke-width: 1.5; }

/* buyback formula + mock slider */
.formula {
  font-family: var(--mono);
  font-size: clamp(14px, 1.35vw, 19px);
  line-height: 1.5;
  padding: 16px 18px;
  background: rgba(10, 10, 10, 0.06);
  border-left: 3px solid var(--ink);
  overflow-x: auto;
  white-space: nowrap;
}
.formula b { color: var(--ink); background: var(--lime); padding: 0 4px; }
.calc { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: end; margin-top: 4px; }
.calc__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #5c5b58; display: flex; justify-content: space-between; gap: 12px; }
.calc__out {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 122%;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: right;
}
.calc__out small { display: block; font-family: var(--mono); font-weight: 400; font-stretch: 100%; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #5c5b58; margin-top: 8px; }
.calc__note { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: #7a7975; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 3px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -9.5px;
  background: var(--lime);
  border: 3px solid var(--ink);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--lime); border: 3px solid var(--ink); border-radius: 0; cursor: grab; }
input[type="range"]:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }

/* ---------- contracts ---------- */

.contracts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.flow { width: 100%; height: auto; overflow: visible; }
.flow .wire { fill: none; stroke: var(--grey2); stroke-width: 2; }
.flow .pulse { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 5 14; stroke-linecap: round; opacity: 0; transition: opacity 0.5s; }
.flow.is-live .pulse { opacity: 1; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -19; } }
.flow .node { fill: var(--paper); }
.flow .node--ink { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.flow .node--lime { fill: var(--lime); }
.flow .t { font-family: var(--mono); font-size: 13px; fill: var(--ink); }
.flow .t--paper { fill: var(--paper); }
.flow .t--small { font-size: 11px; fill: #5c5b58; letter-spacing: 0.06em; text-transform: uppercase; }
.flow .t--dim { fill: var(--grey); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.flow .t--xs { font-size: 9.5px; letter-spacing: 0.04em; }
.flow .cnt { font-size: 12px; fill: #2a2a28; font-variant-numeric: tabular-nums; }
.flow .stamp rect { fill: var(--lime); }
.flow .stamp text { font-family: var(--pixel); font-weight: 700; font-size: 9px; fill: var(--ink); letter-spacing: 0.06em; }
.flow .stamp--ink rect { fill: var(--ink); }
.flow .stamp--ink text { fill: var(--lime); }
.flow .out { cursor: default; }
.flow .out .node { transition: filter 0.3s; }
/* hover an output: its wire lights up, the others dim */
.flow[data-hl] .wire, .flow[data-hl] .pulse { opacity: 0.25; }
.flow[data-hl="base"] #w1, .flow[data-hl="scout"] #w2, .flow[data-hl="recog"] #w3, .flow[data-hl="recog"] #w2 { opacity: 1; stroke: var(--lime); }
.flow[data-hl="base"] .pulse:nth-of-type(2), .flow[data-hl="scout"] .pulse:nth-of-type(3), .flow[data-hl="recog"] .pulse:nth-of-type(4) { opacity: 1; }
/* the creator exercised: no premium, the branch goes cold */
.flow.is-creator .node--recog { fill: none; stroke: var(--grey2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.flow.is-creator #nRecog .t { fill: var(--grey); }
.flow.is-creator #nRecog .stamp rect { fill: var(--grey2); }
.flow.is-creator #w3 { stroke-dasharray: 4 6; opacity: 0.5; }
.flow.is-creator .pulse--recog { display: none; }
.flow .chip rect { fill: var(--paper); }
.flow .chip--scout rect { fill: var(--lime); }
.flow .chip--recog rect { fill: var(--paper2); }
.flow .chip text { font-family: var(--mono); font-weight: 700; font-size: 9px; fill: var(--ink); }
.flow__wrap { display: grid; gap: 18px; }
.flow__ctl { display: grid; grid-template-columns: auto auto; gap: 8px 18px; align-items: center; }
.flow__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg__btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px;
  color: var(--grey);
  transition: background 0.25s, color 0.25s;
}
.seg__btn + .seg__btn { border-left: 1px solid var(--line); }
.seg__btn.is-on { background: var(--lime); color: var(--ink); }
.seg__btn:not(.is-on):hover { color: var(--paper); }
.flow__note { grid-column: 1 / -1; font-size: 14px; color: var(--grey); max-width: 56ch; }
@media (max-width: 520px) { .flow__ctl { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.tag {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  flex: 1 1 calc(50% - 12px);
  min-width: 220px;
  transition: transform 0.45s var(--ease);
}
.tag:hover { transform: translateY(-4px) rotate(-0.6deg); }
/* cursor spotlight, the same light as the invariants grid (main.js sets --mx/--my): under the text, lime on paper,
   white on the lime card, the grid's own faint lime on the dark v1.1 card */
.tag { position: relative; }
.tag > :not(.tag__spot) { position: relative; z-index: 1; }
.tag__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 253, 14, 0.42), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tag--lime .tag__spot { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.5), transparent 62%); }
.tag--soon .tag__spot { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 253, 14, 0.13), transparent 60%); }
.tag:hover .tag__spot { opacity: 1; }
.tag__name .i { transition: transform 0.5s var(--ease), color 0.35s; }
.tag:hover .tag__name .i { transform: rotate(-8deg) scale(1.12); }
.tag--soon:hover .tag__name .i { color: var(--lime); }
.tag--wide { flex-basis: 100%; }
.tag__name { font-family: var(--mono); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag__name .i { width: 18px; height: 18px; }
.tag__name small { font-weight: 500; font-size: 10px; letter-spacing: 0.08em; padding: 2px 6px; background: var(--ink); color: var(--paper); }
.tag--lime .tag__name small { color: var(--lime); }
.tag__text { font-size: 14px; color: #2a2a28; line-height: 1.45; }
.tag--lime .tag__text { color: #1f2400; }
.tag--lime::after { opacity: 0.45; -webkit-mask-image: linear-gradient(200deg, transparent 60%, #000 100%); mask-image: linear-gradient(200deg, transparent 60%, #000 100%); }
.cell--recognition::after { -webkit-mask-image: linear-gradient(200deg, transparent 50%, #000 100%); mask-image: linear-gradient(200deg, transparent 50%, #000 100%); }

/* ---------- rules ---------- */

.rules__layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.rules__glass {
  position: sticky;
  top: 84px;
  height: min(78vh, 760px);
  background: #050505;
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: polygon(0.6% 1%, 46% 0.4%, 99.4% 0, 100% 52%, 99.5% 99%, 42% 100%, 1.6% 99.4%, 0 46%);
}
.rules__glass canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s ease; }
.rules__glass canvas.is-ready { opacity: 1; }
.rules__glass-tag {
  position: absolute;
  left: 22px;
  bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  background: rgba(7, 7, 7, 0.7);
  padding: 6px 10px;
  transform: rotate(-1.5deg);
}
.rules__body .section__head { margin-bottom: clamp(28px, 3vw, 44px); }
.rules__body .h2 { font-size: clamp(30px, 3.6vw, 54px); max-width: 16ch; }
@media (max-width: 900px) {
  .rules__layout { grid-template-columns: 1fr; }
  .rules__glass { position: relative; top: auto; height: 62vh; }
}
.rules__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  counter-reset: rule;
}
.rule {
  position: relative;
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 32px);
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 32px;
  transition: background 0.35s;
}
.rule:hover { background: var(--bg2); }
/* cursor spotlight (set by main.js as --mx/--my), 21st.dev-style, in lime */
.rule::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 253, 14, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.rule:hover::before { opacity: 1; }
.rule__icon { position: absolute; top: clamp(22px, 2.4vw, 32px); right: clamp(22px, 2.4vw, 32px); width: 26px; height: 26px; stroke-width: 1.6; color: var(--grey2); transition: color 0.35s, transform 0.5s var(--ease); }
.rule:hover .rule__icon { color: var(--lime); transform: rotate(-8deg) scale(1.12); }
.rule__n {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 56px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--grey2);
  transition: color 0.35s;
}
.rule:hover .rule__n { color: var(--lime); }
.rule p { font-size: 15.5px; color: var(--paper2); line-height: 1.5; }

/* ---------- risks accordion ---------- */

.risks__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 80px; align-items: start; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(18px, 1.6vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--lime); }
.acc summary .i { width: 22px; height: 22px; transition: transform 0.4s var(--ease); }
.acc details[open] summary .i { transform: rotate(45deg); color: var(--lime); }
.acc__q { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.acc__q .i { width: 22px; height: 22px; stroke-width: 1.75; color: var(--grey); flex: none; transition: color 0.3s; }
.acc details[open] .acc__q .i, .acc summary:hover .acc__q .i { color: var(--lime); }
.acc__chip {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--grey);
  white-space: nowrap;
  transform: rotate(-1.5deg);
}
.chip--ok { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.chip--open { color: var(--paper); border-color: var(--grey2); }
.acc__plus { flex: none; }
/* v1.1 marker: adopted from the person.fun review, not on-chain yet */
.v11 {
  display: inline-block;
  vertical-align: 0.12em;
  margin-right: 0.35em;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 3px 6px;
  color: var(--lime);
  border: 1px solid var(--lime);
  transform: rotate(-1.5deg);
  white-space: nowrap;
}
.v11--ink, .step--lime .v11 { color: var(--ink); border-color: var(--ink); }
.tag__name small.v11 { background: transparent; color: var(--lime); border: 1px solid var(--lime); }
.tag--soon { border: 1px dashed var(--grey2); color: var(--paper); }
.tag--soon .tag__text { color: var(--grey); }
.tag--soon .tag__addr { color: var(--grey2); }
.rules__grid .rule:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rule--soon { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.025) 14px 16px); }
.rule .v11 { margin-right: 0.5em; }
.acc__panel { overflow: hidden; }
.acc__body { padding: 0 0 26px 36px; color: var(--grey); max-width: 60ch; font-size: 16px; }
@media (max-width: 600px) { .acc__chip { display: none; } .acc__body { padding-left: 0; } }

/* ---------- numbers strip ---------- */

.stats { padding-block: clamp(56px, 7vw, 96px) 0; }
.stats__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 2vw, 28px) clamp(16px, 1.6vw, 24px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.stat__n {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.stat--lime .stat__n { color: var(--lime); }
.stat__l { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; line-height: 1.45; color: var(--grey); text-transform: uppercase; }
@media (max-width: 900px) { .stats__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* hero copy stays hidden until the intro timeline actually starts (fonts settled), so a refresh
   never shows the fallback-font title for a frame before GSAP takes over */
.js .hero:not(.hero-go) .hero__title .line > span,
.js .hero:not(.hero-go) .hero .eyebrow,
.js .hero:not(.hero-go) .hero__sub,
.js .hero:not(.hero-go) .hero__cta,
.js .hero:not(.hero-go) .scene { visibility: hidden; }

/* ---------- market page ---------- */

.nav__links a.is-active { color: var(--lime); }
.claim--page { padding-top: clamp(120px, 14vw, 180px); padding-bottom: clamp(48px, 6vw, 80px); border-top: 0; }
.claim--page .claim__in { gap: clamp(20px, 3vw, 32px); }
.claim--page .lead { max-width: 60ch; }
.claim__actions input#listPrice { width: 90px; }
.registry { padding-top: clamp(40px, 5vw, 64px); }
.reg__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.reg__head .h2 { font-size: clamp(30px, 3.6vw, 54px); max-width: none; }
.reg__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reg__search { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 0 14px; height: 40px; color: var(--grey); }
.reg__search .i { width: 16px; height: 16px; }
.reg__search input { background: none; border: 0; color: var(--paper); font-family: var(--mono); font-size: 13px; width: 200px; outline: none; }
.reg__search:focus-within { border-color: var(--lime); }
@media (max-width: 720px) {
  /* seven filters are ~460px wide: on a phone they scroll sideways in their own strip; before this they widened
     the whole page and phones showed /market zoomed out */
  .reg__tools { width: 100%; min-width: 0; }
  .reg__tools .seg:not(.seg--view) { max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .reg__tools .seg:not(.seg--view)::-webkit-scrollbar { display: none; }
  .reg__tools .seg__btn { flex: none; white-space: nowrap; }
  .reg__search { flex: 1 1 auto; }
  .reg__search input { width: 100%; min-width: 0; }
}
.reg__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.reg__count b { color: var(--paper); }
.reg__legend { display: inline-flex; gap: 14px; margin-left: auto; }
.reg__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; background: var(--grey2); }
.reg__legend i.is-dispute { background: var(--lime); }
.reg__legend i.is-listed { background: var(--paper); }
.reg__legend i.is-deeded { background: var(--grey2); }
.reg__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.reg__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1.6fr) auto minmax(0, 0.8fr) 110px auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg);
  transition: background 0.25s;
}
.reg__row:hover { background: var(--bg2); }
.reg__row .i--brand { width: 18px; height: 18px; color: var(--grey); }
.reg__main { min-width: 0; }
.reg__handle { display: block; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 19px; letter-spacing: -0.01em; color: var(--paper); text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg__meta { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--grey); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg__chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--line); color: var(--grey); white-space: nowrap; }
.reg__row.is-dispute .reg__chip { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.reg__row.is-listed .reg__chip { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.reg__row.is-fa .reg__chip { color: var(--paper); border-color: var(--paper2); }
.reg__price { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--paper); white-space: nowrap; text-align: right; }
.reg__timer { font-family: var(--pixel); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: var(--lime); text-align: center; font-variant-numeric: tabular-nums; }
.reg__go { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper); border-bottom: 1px solid var(--lime); padding-bottom: 2px; }
.reg__go:hover { color: var(--lime); }
.reg__empty { font-family: var(--mono); font-size: 13px; color: var(--grey); padding: 22px 18px; background: var(--bg); }
.reg__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-top: 40px; align-items: start; }
.reg__sales { padding: clamp(20px, 2.4vw, 30px); }
.reg__sales ul { display: grid; gap: 0; margin-top: 14px; }
.reg__sales li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid rgba(10, 10, 10, 0.14); color: var(--ink); }
.reg__sales li b { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg__sales li span { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.reg__sales li small { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; color: #5c5b58; }
.reg__sales .reg__empty { background: none; color: #5c5b58; padding: 12px 0; }
.reg__rules { display: grid; gap: 14px; margin-top: 14px; }
.reg__rules li { font-size: 15px; color: var(--grey); line-height: 1.5; padding-left: 18px; position: relative; }
.reg__rules li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--lime); }
.reg__rules b { color: var(--paper); }
@media (max-width: 900px) {
  .reg__row { grid-template-columns: 18px minmax(0, 1fr) auto; row-gap: 8px; }
  .reg__price, .reg__timer, .reg__go { grid-column: 2 / -1; justify-self: start; text-align: left; }
  .reg__foot { grid-template-columns: 1fr; }
  .reg__legend { margin-left: 0; }
}

.claim--page .h2 { font-size: clamp(32px, 4vw, 60px); max-width: 26ch !important; }

/* ---------- market: clocks ---------- */

.soon { position: relative; isolation: isolate; padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.soon__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%; /* a canvas keeps its buffer height unless told otherwise */
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}
.soon__bg.is-ready { opacity: 0.8; }
.soon__head .lead { color: var(--paper); }
.soon__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 26px; }
.soon__head .h2 { font-size: clamp(30px, 3.6vw, 54px); max-width: none; }
.soon__head .lead { max-width: 44ch; font-size: 15px; }
.soon__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.clock {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 20px 22px 22px;
  clip-path: polygon(0.8% 1.2%, 40% 0, 99.2% 0.8%, 100% 46%, 99.4% 99%, 55% 100%, 1.4% 99.4%, 0 52%);
  display: grid;
  gap: 12px;
  --ring: transparent;
  box-shadow: 0 0 0 3px var(--ring);
  transition: box-shadow 0.4s;
}
.clock::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.1; mix-blend-mode: multiply; pointer-events: none; }
.clock > * { position: relative; }
.clock__top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.clock__top .i--brand { width: 16px; height: 16px; color: #5c5b58; }
.clock__top b { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 18px; text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clock__snipe { display: none; margin-left: auto; font-family: var(--pixel); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink); color: var(--lime); padding: 4px 7px; transform: rotate(-4deg); }
.clock.is-snipe .clock__snipe { display: inline-block; }
.clock__digits { font-family: var(--pixel); font-weight: 700; font-size: clamp(24px, 2.1vw, 31px); line-height: 1; letter-spacing: 0.02em; color: var(--ink); background: var(--ink); color: var(--lime); padding: 12px 14px; text-align: center; font-variant-numeric: tabular-nums; }
.clock__bar { height: 8px; background: rgba(10, 10, 10, 0.12); overflow: hidden; }
.clock__bar i { display: block; height: 100%; background: var(--ink); transition: width 1s linear; }
.clock.is-hot .clock__bar i { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, #4f5f00 6px 12px); }
.clock__row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: #5c5b58; }
.clock__go { justify-self: start; height: 42px; padding-block: 0; font-size: 13px; }
.clock.is-hot { --ring: var(--lime); animation: clock-hot 1.4s ease-in-out infinite; }
@keyframes clock-hot { 50% { box-shadow: 0 0 0 3px var(--ring), 0 0 28px rgba(212, 253, 14, 0.35); } }
.clock--empty { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.clock--empty .clock__digits { color: #8a8884; }
.clock--empty p { font-family: var(--mono); font-size: 13px; color: #5c5b58; max-width: 40ch; }
@media (max-width: 700px) { .clock--empty { grid-template-columns: 1fr; } }

/* ---------- market: stats + layout ---------- */

.mkt { padding-top: clamp(48px, 6vw, 80px); }
.mkt__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.bstat { padding: 16px 20px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.bstat:last-child { border-right: 0; }
.bstat b { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.bstat--lime b { color: var(--lime); }
.bstat > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.mkt__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 3vw, 48px); align-items: start; }
.seg--view .seg__btn { padding: 8px 10px; }
.seg--view .i { width: 16px; height: 16px; }

/* ---------- market: the wall of tickets ---------- */

.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px 18px; padding: 8px 6px; }
.ticket {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 26px 18px 18px;
  min-height: 250px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 12px;
  clip-path: polygon(0.8% 1.4%, 44% 0, 99% 0.8%, 100% 48%, 99.2% 98.6%, 52% 100%, 1.2% 99.2%, 0 55%);
  transition: transform 0.45s var(--ease), filter 0.3s;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
}
.ticket::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.1; mix-blend-mode: multiply; pointer-events: none; }
.ticket > * { position: relative; }
.ticket:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); z-index: 2; }
.ticket__bolt { position: absolute; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--paper2), inset 0 0 0 4px var(--ink); }
.ticket__bolt:first-child { left: 14px; }
.ticket__bolt:nth-child(2) { right: 14px; }
.ticket__stamp {
  position: absolute;
  top: 8px;
  right: 30px;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  transform: rotate(-5deg);
  background: var(--paper);
}
.ticket.is-dispute .ticket__stamp { background: var(--lime); border-color: var(--lime); }
.ticket.is-listed .ticket__stamp { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ticket.is-launched .ticket__stamp { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.ticket.is-fa .ticket__stamp { border-style: dashed; }
.ticket__fig { position: absolute; right: -6px; bottom: -8px; width: 84px; height: auto; fill: rgba(10, 10, 10, 0.08); pointer-events: none; }
.ticket.is-dispute .ticket__fig { fill: rgba(126, 150, 0, 0.35); }
.ticket__head { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 8px; }
.ticket__head .i--brand { width: 16px; height: 16px; color: #5c5b58; flex: none; }
.ticket__handle { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 20px; letter-spacing: -0.01em; text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket__plate { display: inline-grid; justify-self: start; background: var(--ink); color: var(--lime); padding: 8px 10px 7px; }
.ticket__price { font-family: var(--pixel); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; line-height: 1; }
.ticket__plate small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.ticket__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: #5c5b58; align-self: end; display: flex; align-items: center; gap: 8px; }
.ticket__verified { width: 8px; height: 8px; background: var(--lime); border: 1.5px solid var(--ink); }
.ticket__clock { font-family: var(--pixel); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ticket__go { justify-self: start; color: var(--ink); border-bottom-color: var(--ink); }
.ticket__go:hover { color: #4f5f00; }
.wall .reg__empty { grid-column: 1 / -1; }
/* list view: the same tickets as flat rows */
.wall.is-list { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); padding: 0; }
.wall.is-list .ticket { transform: none; clip-path: none; box-shadow: none; min-height: 0; background: var(--bg); color: var(--paper); padding: 12px 18px; display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto minmax(0, 1fr) auto auto; grid-template-rows: auto; align-items: center; gap: 16px; }
.wall.is-list .ticket:hover { background: var(--bg2); transform: none; }
.wall.is-list .ticket::before, .wall.is-list .ticket__bolt, .wall.is-list .ticket__fig { display: none; }
.wall.is-list .ticket__stamp { position: static; transform: none; order: 2; }
.wall.is-list .ticket__head { margin: 0; order: 1; }
.wall.is-list .ticket__handle { color: var(--paper); font-size: 17px; }
.wall.is-list .ticket__plate { order: 3; padding: 5px 8px; }
.wall.is-list .ticket__meta { order: 4; color: var(--grey); }
.wall.is-list .ticket__clock { order: 5; color: var(--lime); }
.wall.is-list .ticket__go { order: 6; color: var(--paper); border-bottom-color: var(--lime); }
.wall.is-list .ticket__go:hover { color: var(--lime); }

/* ---------- market: the tape ---------- */

.tape__col { position: sticky; top: 84px; }
.tape__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tape__head .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.tape__head .i { width: 16px; height: 16px; }
.tape__live { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 6px; }
.tape__live i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; animation: tape-blink 1.6s ease-in-out infinite; }
@keyframes tape-blink { 50% { opacity: 0.25; } }
.tape__paper { position: relative; background: var(--paper); color: var(--ink); padding: 14px 0 0; max-height: min(70vh, 760px); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.tape__paper::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.1; mix-blend-mode: multiply; pointer-events: none; }
.tape__edge { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(135deg, transparent 50%, var(--bg) 50%) 0 0 / 12px 12px, linear-gradient(225deg, transparent 50%, var(--bg) 50%) 0 0 / 12px 12px; }
.tape { position: relative; display: grid; padding: 0 16px 24px; }
.tape__item { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 4px 10px; padding: 10px 0; border-bottom: 1px dashed rgba(10, 10, 10, 0.2); font-family: var(--mono); font-size: 12px; line-height: 1.45; color: #2a2a28; }
.tape__item b { font-weight: 700; color: var(--ink); }
.tape__dot { width: 8px; height: 8px; margin-top: 5px; background: var(--grey2); }
.tape__item.is-stake .tape__dot { background: var(--lime); border: 1px solid var(--ink); }
.tape__item.is-market .tape__dot { background: var(--ink); }
.tape__item.is-owner .tape__dot { background: var(--paper); border: 1.5px solid var(--ink); }
.tape__item.is-launch .tape__dot { background: #4f5f00; }
.tape__meta { grid-column: 2; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8884; }
.tape__meta a { color: var(--ink); border-bottom: 1px solid var(--lime); }
.tape__item.is-new { animation: tape-print 0.9s var(--ease); }
@keyframes tape-print { from { transform: translateY(-18px); opacity: 0; filter: blur(1px); } 40% { opacity: 1; } to { transform: none; } }
.tape .reg__empty { background: none; color: #5c5b58; padding: 10px 0 20px; }

.reg__how { margin-top: clamp(40px, 5vw, 64px); max-width: 72ch; }
@media (max-width: 1000px) {
  .mkt__grid { grid-template-columns: minmax(0, 1fr); }   /* 1fr would grow to its widest child and widen the page */
  .tape__col { position: static; }
  .mkt__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bstat:nth-child(2) { border-right: 0; }
  .bstat:nth-child(1), .bstat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- market: secondary text stays readable (no grey-on-black) ---------- */
.soon .eyebrow, .mkt .eyebrow, .claim--page .eyebrow { color: var(--paper2); }
.bstat > span { color: var(--paper2); }
.reg__bar, .reg__count { color: var(--paper2); }
.mkt .seg__btn:not(.is-on) { color: var(--paper2); }
.mkt .seg__btn:not(.is-on):hover { color: var(--lime); }
.reg__search { color: var(--paper2); }
.reg__search input::placeholder { color: #8c8a85; }
.tape__meta { color: #6a6964; }
.tape__item { color: #1c1c1a; }
.reg__rules li { color: var(--paper2); }
.claim--page .lead { color: var(--paper2); }

/* ---------- wallet button (nav) ---------- */

.wallet { position: relative; }
.wallet__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--grey2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s;
}
.wallet__btn:hover { border-color: var(--lime); color: var(--lime); }
.wallet__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grey2); }
.wallet__btn.is-on .wallet__dot { background: var(--lime); box-shadow: 0 0 10px rgba(212, 253, 14, 0.7); }
.wallet__pop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  background: var(--paper);
  color: var(--ink);
  padding: 18px;
  display: grid;
  gap: 14px;
  clip-path: polygon(0.8% 1.4%, 44% 0, 99% 0.8%, 100% 48%, 99.2% 98.6%, 52% 100%, 1.2% 99.2%, 0 55%);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  z-index: 5;
}
.wallet__pop .eyebrow { color: #5c5b58; }
.wallet__row { display: grid; gap: 4px; }
.wallet__row b { font-family: var(--mono); font-size: 12px; word-break: break-all; }
.wallet__row small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #5c5b58; }
.wallet__ledgers { display: grid; gap: 8px; border-top: 1px solid rgba(10, 10, 10, 0.15); padding-top: 12px; }
.wallet__ledger { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; }
.wallet__ledger .btn--ghost { color: var(--ink); padding: 4px 0; }
.wallet__hint { font-family: var(--mono); font-size: 12px; color: #5c5b58; }
.wallet__choice { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: transparent; border: 1px solid rgba(10, 10, 10, 0.22); color: var(--ink); font-family: var(--mono); font-size: 13px; text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.wallet__choice:hover, .wallet__choice:focus-visible { border-color: var(--ink); background: rgba(10, 10, 10, 0.06); outline: none; }
.wallet__choice img { width: 20px; height: 20px; border-radius: 4px; flex: none; }
.wallet__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wallet__foot .btn--ghost { color: #5c5b58; }
.wallet__foot .btn--lime { height: 40px; padding-block: 0; font-size: 13px; }
@media (max-width: 1100px) { .wallet__btn span:last-child { display: none; } .wallet__btn { padding: 0 12px; } }

/* claim panel: launch + auction forms */
.claim__extras, .claim__launch, .claim__fa { display: grid; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); text-align: left; }
.claim__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.claim__fields label { display: grid; gap: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.claim__fields input { height: 40px; padding: 0 12px; background: var(--bg2); border: 1px solid var(--grey2); color: var(--paper); font-family: var(--mono); font-size: 14px; }
.claim__fields input:focus { outline: none; border-color: var(--lime); }


.wallet__pop[hidden], .wallet__foot .btn[hidden], .claim__note[hidden] { display: none !important; }

/* ---------- market: ticket history drawer + Mine ---------- */
.ticket__actions { display: flex; gap: 14px; align-items: center; justify-self: start; }
.ticket__more { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #5c5b58; }
.ticket__more:hover, .ticket__more[aria-expanded="true"] { color: var(--ink); text-decoration: underline; }
a.ticket__more { text-decoration: none; margin-left: 12px; }
.ticket__nft:hover { color: var(--ink); }
.nav__ext { color: var(--grey) !important; white-space: nowrap; }
.nav__ext:hover { color: var(--lime) !important; }
.nav__os {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  margin-right: 10px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s;
}
.nav__os:hover { color: var(--lime); border-color: var(--lime); }
@media (max-width: 1360px) { .nav__os { display: none; } }
/* 1361-1480: the full bar only just fits; tighter gaps keep the right gutter as wide as the left */
@media (max-width: 1480px) { .nav { gap: 14px; } .nav__os { margin-right: 0; } }

/* ---------- $PREEM: every slot ships hidden until js/dapp.config.json has `token` (dapp/src/token.ts) ---------- */
[data-token][hidden] { display: none !important; }
.nav__token {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  margin-right: 10px;
  border: 1px solid rgba(212, 253, 14, 0.45);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--lime);
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
}
.nav__token:hover { background: var(--lime); color: var(--ink); }
@media (max-width: 1360px) { .nav__token { display: none; } }
/* once $PREEM is live the header has no room for both: Magic Eden stays in the menu and on every deed ticket */
.nav__token:not([hidden]) + .nav__os { display: none; }
/* Magic Eden links wait for the collection page (app.ts initMarkets) */
[data-market][hidden] { display: none !important; }
.ca { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; min-width: 0; max-width: 100%; }
.js .hero:not(.hero-go) .ca { visibility: hidden; }
/* grid items grow to their longest unbreakable line: without these the 42-char address widens the hero column on phones */
.hero__copy { min-width: 0; }
.ca__tag { font-family: var(--pixel); font-size: 10px; letter-spacing: 0.05em; background: var(--lime); color: var(--ink); padding: 4px 7px; }
.ca__addr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 7px 10px 7px 14px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  clip-path: polygon(0 8%, 2% 0, 98% 3%, 100% 10%, 99% 95%, 97% 100%, 3% 98%, 0 92%);
}
.ca__addr code { font: inherit; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca__hint { flex: none; font-family: var(--pixel); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink); color: var(--lime); padding: 3px 6px; }
.ca__addr:hover .ca__hint, .ca__addr.is-copied .ca__hint { background: var(--lime); color: var(--ink); }
.ca__buy { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime); text-decoration: none; white-space: nowrap; }
.ca__buy .i { width: 14px; height: 14px; }
.ca__buy:hover { color: var(--paper); }
.ca__mini { padding: 0; border: 0; background: none; color: var(--paper); font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.ca__mini code { font: inherit; word-break: break-all; }
.ca__mini:hover, .ca__mini.is-copied { color: var(--lime); }

/* the launch, as seen by a page that was already open (dapp/src/token.ts watchToken + announce): the slots flash
   lime a few times and a toast carries the address, with copy and buy, wherever on the site the visitor is */
[data-token].is-fresh { animation: token-fresh 1.1s ease-out 3; }
@keyframes token-fresh { from { box-shadow: 0 0 0 0 rgba(212, 253, 14, 0.8); } to { box-shadow: 0 0 0 16px rgba(212, 253, 14, 0); } }
.launch-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 58;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 14px 14px 14px 18px;
  background: var(--lime);
  color: var(--ink);
  clip-path: polygon(0 5%, 2% 0, 97% 4%, 100% 0, 99.4% 95%, 100% 100%, 1.5% 96%, 0 100%);
  transform: translate(-50%, 160%) rotate(-1deg);
  transition: transform 0.8s var(--ease);
}
.launch-toast.is-in { transform: translate(-50%, 0) rotate(-1deg); }
.launch-toast__tag { font-family: var(--pixel); font-size: 11px; letter-spacing: 0.06em; background: var(--ink); color: var(--lime); padding: 5px 8px; }
.launch-toast__text { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: 21px; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.launch-toast__ca { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 10px; border: 1.5px solid var(--ink); background: none; color: var(--ink); font-family: var(--mono); font-size: 13px; cursor: pointer; }
.launch-toast__ca code { font: inherit; }
.launch-toast__ca:hover .ca__hint, .launch-toast__ca.is-copied .ca__hint { background: var(--paper); color: var(--ink); }
.launch-toast__buy { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 1.5px solid var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.launch-toast__buy .i { width: 14px; height: 14px; }
.launch-toast__x { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -4px; color: var(--ink); }
.launch-toast__x .i { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .launch-toast { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; transform: translateY(160%); }
  .launch-toast.is-in { transform: none; }
  .launch-toast__text { font-size: 18px; }
  .launch-toast__x { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  [data-token].is-fresh { animation: none; }
  .launch-toast { transition: none; }
}
.ticket__role { display: inline-block; margin-left: 8px; font-family: var(--pixel); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink); color: var(--lime); padding: 2px 6px; }
.ticket.is-open { grid-column: 1 / -1; transform: none; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto; column-gap: 28px; }
.ticket.is-open .ticket__fig { display: none; }
.ticket__history { grid-column: 2; grid-row: 1 / -1; align-self: start; padding-top: 4px; }
.ticket__hloading { font-family: var(--mono); font-size: 12px; color: #5c5b58; }
.hist { display: grid; }
.hist__item { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 3px 10px; padding: 8px 0; border-bottom: 1px dashed rgba(10, 10, 10, 0.2); font-family: var(--mono); font-size: 12px; line-height: 1.45; color: #2a2a28; }
.hist__item b { color: var(--ink); }
.hist__dot { width: 8px; height: 8px; margin-top: 5px; background: var(--grey2); }
.hist__item.is-stake .hist__dot { background: var(--lime); border: 1px solid var(--ink); }
.hist__item.is-market .hist__dot { background: var(--ink); }
.hist__item.is-owner .hist__dot { background: var(--paper); border: 1.5px solid var(--ink); }
.hist__item.is-launch .hist__dot { background: #4f5f00; }
.hist__meta { grid-column: 2; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a8884; }
.hist__meta a { color: var(--ink); border-bottom: 1px solid var(--lime); }
.wall.is-list .ticket.is-open { grid-template-columns: minmax(0, 1.3fr) auto auto minmax(0, 1fr) auto auto; }
.wall.is-list .ticket__history { grid-column: 1 / -1; grid-row: auto; background: var(--paper); color: var(--ink); padding: 14px 18px; margin: 8px -18px -12px; }
.seg__btn--mine:not(.is-on) { color: var(--lime) !important; }
.wallet__ledger--all { border-top: 1px solid rgba(10, 10, 10, 0.15); padding-top: 10px; margin-top: 2px; }
.wallet__ledger--all .btn { height: 36px; padding-block: 0; font-size: 12px; }
@media (max-width: 700px) { .ticket.is-open { grid-template-columns: 1fr; } .ticket__history { grid-column: 1; grid-row: auto; } }

/* ---------- landing: contract addresses + live strip ---------- */
.tag__addr { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }
.tag__addr a { color: #2a2a28; border-bottom: 1px solid rgba(10, 10, 10, 0.35); }
.tag__addr a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.tag__verified { font-family: var(--pixel); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 6px; border-bottom: 0 !important; }
.tag--lime .tag__addr a { color: #1f2400; }
.tag__addr-off { color: #8a8884; }
.live-since { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); border: 1px solid var(--lime); padding: 8px 14px; margin-top: 18px; }
.live-since i { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 10px rgba(212, 253, 14, 0.8); }
.live-since[hidden] { display: none !important; }

/* ---------- claim CTA ---------- */

.claim {
  position: relative;
  padding-block: clamp(120px, 16vw, 220px);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
}
.claim__in { display: grid; justify-items: center; gap: clamp(28px, 4vw, 44px); }
.claim__sign {
  position: relative;
  width: min(760px, 92vw);
  transform: rotate(-1.4deg);
}
.claim__sign svg { width: 100%; height: auto; overflow: visible; }
.claim__sign .board-text { font-family: var(--pixel); font-weight: 700; font-size: 64px; fill: var(--ink); letter-spacing: 0.02em; }
.claim__sign .handle-text { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: 40px; fill: var(--paper); }
.claim__stamp {
  position: absolute;
  right: 4%;
  top: -10%;
  padding: 10px 16px;
  font-family: var(--pixel);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--lime);
  border: 3px solid var(--ink);
  transform: rotate(9deg) scale(0);
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.claim.is-bonded .claim__stamp { transform: rotate(9deg) scale(1); }
.claim__form { display: flex; gap: 0; width: min(640px, 100%); position: relative; }
.claim__form input {
  flex: 1;
  min-width: 0;
  height: 60px;
  padding: 0 20px;
  background: var(--bg2);
  border: 2px solid var(--grey2);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 16px;
  transition: border-color 0.25s;
}
.claim__form input::placeholder { color: var(--grey); }
.claim__form input:focus { outline: none; border-color: var(--lime); }
.claim__form .btn { height: 60px; }
.claim__panel {
  width: min(640px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--paper2);
  font-size: 15px;
  line-height: 1.5;
  transition: opacity 0.18s ease;
}
/* between a transaction and the fresh read of the chain the old view stays up, dimmed, its buttons off (app.ts render) */
.claim__panel.is-stale { opacity: 0.45; }
.claim__panel p { margin: 0; }
.claim__panel b { color: var(--paper); }
.claim__panel a { color: var(--lime); }
.claim__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.claim__actions label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.claim__actions input {
  width: 120px;
  height: 44px;
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 15px;
}
.claim__actions input:focus { outline: none; border-color: var(--lime); }
.claim__actions .btn { height: 44px; padding-block: 0; }
.claim__note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--grey); width: min(640px, 100%); }
.claim__note[hidden] { display: none; }
.claim__panel:empty, .claim__panel[hidden] { display: none; }
.claim__note--error { color: #ff6b57; }
.claim__withdraw { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--grey); }
.claim__withdraw:empty { display: none; }
/* the staker's soulbound Claim Ticket (dapp/src/app.ts ticketRow): on its way, then in the wallet */
.claim__ticket { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); text-align: left; }
.claim__ticket > div { display: grid; gap: 8px; min-width: 0; }
.claim__ticket b { color: var(--paper); font-size: 15px; }
.claim__ticket p { font-size: 14px; color: var(--paper2); }
.claim__ticketimg { width: 88px; height: 88px; border: 1px solid var(--line); background: #0b0b0a; }
.claim__ticketwait {
  width: 88px;
  height: 56px;
  justify-self: center;
  background: var(--lime);
  clip-path: polygon(0 0, 70% 0, 72% 8%, 74% 0, 100% 0, 100% 100%, 74% 100%, 72% 92%, 70% 100%, 0 100%);
  animation: tape-blink 1.4s ease-in-out infinite;
}
.claim__ticket .claim__actions .btn { height: 40px; }
@media (max-width: 520px) { .claim__ticket { grid-template-columns: 64px minmax(0, 1fr); } .claim__ticketimg { width: 64px; height: 64px; } .claim__ticketwait { width: 64px; height: 42px; } }
.claim__proof { display: grid; gap: 16px; }
.proof__steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.proof__step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.proof__step > div { display: grid; gap: 8px; min-width: 0; justify-items: start; text-align: left; }
.claim__proof, .claim__proof p { text-align: left; }
.proof__step .btn, .proof__step .claim__actions { width: auto; justify-self: start; }
.proof__step > div > b { color: var(--paper); font-size: 15px; }
.proof__step p { font-size: 14px; color: var(--paper2); }
.proof__num { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--grey2); font-family: var(--pixel); font-weight: 700; font-size: 13px; color: var(--paper); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.proof__num::before { content: attr(data-n); }
.proof__step.is-done .proof__num { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.proof__step.is-done .proof__num::before { content: "✓"; font-family: var(--mono); font-size: 15px; }
.proof__step .btn { height: 44px; padding-block: 0; }
.proof__why { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--grey); line-height: 1.5; }
.proof__why b { color: var(--paper2); font-weight: 600; }
.proof__code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.proof__code code { font-family: var(--mono); font-weight: 600; font-size: clamp(15px, 4.2vw, 18px); white-space: nowrap; letter-spacing: 0.06em; color: var(--lime); background: var(--bg); border: 1px dashed var(--grey2); padding: 10px 14px; user-select: all; }
.proof__copy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); background: none; border: 1px solid var(--line); padding: 9px 12px; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.proof__copy:hover { border-color: var(--lime); color: var(--lime); }
.claim__actions input#proofUrl { width: min(320px, 100%); }
.claim__hint { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--grey); }
.claim__hint a { color: var(--paper); border-bottom: 1px solid var(--lime); }
.claim__runner {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: clamp(120px, 14vw, 200px);
  height: auto;
  fill: var(--lime);
  transform: rotate(-16deg) scaleX(-1);
  pointer-events: none;
}
.claim__runner .dots { fill: url(#dots); }

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 44px;
}
.foot__grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.foot__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--grey); display: grid; gap: 6px; margin-top: 14px; }
.foot__meta a { color: var(--paper); }
.foot__meta a:hover { color: var(--lime); }
.foot__links { display: flex; gap: 8px; }
.foot__links a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  color: var(--grey);
  transition: color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
.foot__links a:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.foot__links .i { width: 20px; height: 20px; }

/* ---------- marketplace page (/marketplace; services/packages/dapp/src/marketplace.ts fills it) ---------- */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mp .eyebrow, .mp .lead { color: var(--paper2); }
.mp .eyebrow--ink { color: var(--ink); }
.btn--ink { color: var(--ink); }
.btn--ink > * { color: var(--lime); }
.btn--ink:hover { transform: rotate(-1.5deg) translateY(-2px); }
.btn--ink:active { transform: scale(0.97); }
.btn--ghost-ink { color: var(--ink); }
.btn--ghost-ink > span::after { background: var(--ink); }

/* hero: the copy on the left, a fan of real deeds with a price tag on the right */
.mp-hero { position: relative; overflow-x: clip; padding-top: clamp(112px, 12vw, 168px); padding-bottom: clamp(36px, 5vw, 72px); }
.mp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mp-hero__copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.mp-kicker { display: inline-flex; align-items: center; gap: 10px; }
.mp-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: mp-pulse 2.2s ease-out infinite; }
@keyframes mp-pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 253, 14, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(212, 253, 14, 0); } }
.mp-title {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(46px, 6.6vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  max-width: 11ch;
}
.mp-title em { font-style: normal; color: var(--lime); }
.mp-hero .lead { max-width: 54ch; }
.mp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.mp-terms { display: flex; flex-wrap: wrap; margin: 4px 0 0; border: 1px solid var(--line); background: rgba(7, 7, 7, 0.6); }
.mp-terms div { padding: 10px 16px; border-right: 1px solid var(--line); }
.mp-terms div:last-child { border-right: 0; }
.mp-terms dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.mp-terms dd { margin: 2px 0 0; font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--paper); }

.mp-hero__art { position: relative; display: grid; place-items: center; min-height: clamp(380px, 40vw, 580px); }
.mp-hero__art::before {
  content: "";
  position: absolute;
  inset: 4% 6%;
  background: radial-gradient(closest-side, rgba(212, 253, 14, 0.18), rgba(212, 253, 14, 0.05) 55%, transparent 75%);
  pointer-events: none;
}
.mp-fan { position: relative; width: min(100%, 430px); aspect-ratio: 1; }
.mp-fan__card {
  position: absolute;
  inset: 0;
  display: block;
  background: #0b0b0a;
  box-shadow: 0 44px 70px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(242, 240, 235, 0.09);
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.mp-fan__card img { width: 100%; height: 100%; }
.mp-fan__card.is-front { z-index: 3; transform: rotate(-3deg); }
.mp-fan__card.is-left { z-index: 1; transform: translate(-24%, 7%) rotate(-12deg) scale(0.84); filter: brightness(0.5); }
.mp-fan__card.is-right { z-index: 2; transform: translate(23%, 3%) rotate(9deg) scale(0.84); filter: brightness(0.5); }
.mp-fan__card.is-sample:not(.is-front) { filter: brightness(0.32) grayscale(1); }
/* a strip of tape holds the front deed up */
.mp-fan__card.is-front::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  z-index: 1;
  width: 34%;
  height: 32px;
  background: rgba(242, 240, 235, 0.82);
  transform: translateX(-50%) rotate(-4deg);
  clip-path: polygon(0 12%, 4% 0, 96% 6%, 100% 0, 98% 88%, 100% 100%, 3% 94%, 0 100%);
}
.mp-fan:hover .mp-fan__card.is-front { transform: rotate(-1deg) translateY(-10px); }
.mp-fan:hover .mp-fan__card.is-left { transform: translate(-32%, 5%) rotate(-15deg) scale(0.84); filter: brightness(0.72); }
.mp-fan:hover .mp-fan__card.is-right { transform: translate(31%, 1%) rotate(12deg) scale(0.84); filter: brightness(0.72); }
.mp-fan:hover .mp-fan__card.is-sample:not(.is-front) { filter: brightness(0.45) grayscale(1); }

/* the price tag: a lime card on a string, punched hole on the left */
.mp-tag {
  position: absolute;
  z-index: 4;
  right: max(0px, calc(50% - 310px));
  bottom: -3%;
  display: grid;
  gap: 3px;
  min-width: 156px;
  max-width: 280px;
  padding: 14px 18px 14px 36px;
  color: var(--ink);
  isolation: isolate;
  transform: rotate(7deg);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease);
}
.mp-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lime);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
}
/* the string, from the hole up to the deed */
.mp-tag::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  width: 84px;
  height: 2px;
  background: var(--paper2);
  transform-origin: 0 50%;
  transform: rotate(-128deg);
  z-index: -2;
}
.mp-tag__hole { position: absolute; left: 16px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px rgba(10, 10, 10, 0.55); }
.mp-tag small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.mp-tag b { font-family: var(--pixel); font-weight: 700; font-size: 24px; line-height: 1.05; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-tag.is-name b { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 21px; text-transform: lowercase; letter-spacing: -0.01em; }
.mp-tag > span:last-child { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-tag:hover { transform: rotate(2deg) translateY(-4px); }

/* collection numbers */
.mp-numbers { padding-bottom: clamp(56px, 7vw, 104px); }
.mp-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); background: rgba(7, 7, 7, 0.72); }
.mstat { display: grid; gap: 8px; padding: 18px 20px; border-right: 1px solid var(--line); min-width: 0; }
.mstat:last-child { border-right: 0; }
.mstat b { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(24px, 2.4vw, 36px); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mstat--lime b { color: var(--lime); }
.mstat b small { margin-left: 6px; font-size: 0.42em; letter-spacing: 0.06em; color: var(--paper2); }
.mstat span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper2); }

/* section heads */
.mp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; margin-bottom: 26px; }
.mp-head .h2 { font-size: clamp(32px, 3.9vw, 60px); max-width: none; margin-top: 10px; }
.mp-head .lead { max-width: 44ch; font-size: 15px; }
.mp-sync { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }

/* the counter: toolbar sticks under the nav while the grid scrolls */
.mp-browse { padding-bottom: clamp(88px, 10vw, 150px); }
.mp-toolbar {
  position: sticky;
  top: 64px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 0;
  margin-bottom: 26px;
  background: rgba(7, 7, 7, 0.9);
  box-shadow: 0 0 0 100vmax rgba(7, 7, 7, 0.9);
  clip-path: inset(0 -100vmax);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.mp-search input { width: 210px; }
.mp-seg .seg__btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.mp-seg .seg__btn:not(.is-on) { color: var(--paper2); }
.mp-seg .seg__btn:not(.is-on):hover { color: var(--lime); }
.mp-seg .seg__btn i { font-style: normal; font-size: 10px; min-width: 18px; padding: 1px 4px; text-align: center; border: 1px solid currentColor; opacity: 0.75; }
.mp-seg--icons .seg__btn { padding-inline: 12px; }
.mp-seg--icons .i { width: 15px; height: 15px; }
.mp-sort { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: auto; padding: 0 12px; border: 1px solid var(--line); color: var(--paper2); }
.mp-sort .i { width: 16px; height: 16px; }
.mp-sort select { appearance: none; -webkit-appearance: none; background: none; border: 0; color: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; outline: none; cursor: pointer; }
.mp-sort select option { background: var(--bg2); color: var(--paper); }
.mp-sort:focus-within { border-color: var(--lime); }

/* deed cards: the NFT pasted onto photocopy paper, pinned at a slight tilt */
.deeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 36px 26px; padding: 6px 4px; }
.deed {
  position: relative;
  min-width: 0;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.55s var(--ease);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.5));
  animation: deed-in 0.7s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes deed-in { from { opacity: 0; translate: 0 26px; } }
.deed:hover, .deed:focus-within { transform: rotate(0deg) translateY(-8px); z-index: 2; }
.deed__link {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 12px 12px 14px;
  background: var(--paper);
  color: var(--ink);
  grid-template-columns: minmax(0, 1fr);   /* a long handle ellipsizes instead of widening the card */
  clip-path: polygon(0.8% 1%, 46% 0, 99.2% 0.6%, 100% 50%, 99.4% 99.2%, 50% 100%, 0.6% 99.4%, 0 48%);
  outline: none;
}
.deed__link::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.1; mix-blend-mode: multiply; pointer-events: none; }
.deed__link > * { position: relative; }
.deed:has(.deed__link:focus-visible)::after { content: ""; position: absolute; inset: -7px; border: 2px solid var(--lime); pointer-events: none; }
.deed__spot {
  position: absolute !important;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 253, 14, 0.5), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.deed:hover .deed__spot { opacity: 1; }
.deed__art { display: block; aspect-ratio: 1; overflow: hidden; background: #0b0b0a; }
.deed__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.deed:hover .deed__art img { transform: scale(1.045); }
.deed__stamp, .deed__yours {
  position: absolute !important;
  top: 22px;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
}
.deed__stamp { right: 20px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); transform: rotate(4deg); }
.deed.is-listed .deed__stamp { background: var(--lime); }
.deed.is-launched .deed__stamp { background: var(--ink); color: var(--lime); }
.deed__yours { left: 20px; background: var(--ink); color: var(--paper); transform: rotate(-4deg); }
.deed__name { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 2px; }
.deed__name .i--brand { width: 15px; height: 15px; color: #5c5b58; flex: none; }
.deed__name b { min-width: 0; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 19px; letter-spacing: -0.01em; text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deed__ver { flex: none; width: 8px; height: 8px; background: var(--lime); border: 1.5px solid var(--ink); }
.deed__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 34px; padding: 0 2px; }
.deed__plate { display: inline-flex; flex: none; align-items: baseline; gap: 6px; padding: 8px 10px 7px; background: var(--ink); color: var(--lime); }
.deed__plate b { font-family: var(--pixel); font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: 0.03em; }
.deed__plate small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.deed:not(.is-listed) .deed__plate { background: none; border: 1.5px dashed rgba(10, 10, 10, 0.35); padding: 6px 9px 5px; }
.deed:not(.is-listed) .deed__plate small { color: #5c5b58; }
.deed__sub { min-width: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: #5c5b58; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deed__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 2px 0; border-top: 1px dashed rgba(10, 10, 10, 0.22); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: #5c5b58; }
.deed__foot > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deed__go { display: inline-flex; flex: none; align-items: center; gap: 6px; font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.deed__go .i { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.deed:hover .deed__go .i { transform: translateX(4px); }
.deed.is-listed:not(.is-mine) .deed__go { padding: 4px 8px; background: var(--lime); }
/* the open slot: where the next deed comes from */
.deed--slot { filter: none; }
.deed--slot .deed__link { background: rgba(7, 7, 7, 0.6); color: var(--paper); clip-path: none; outline: 1.5px dashed var(--grey2); outline-offset: -1.5px; transition: outline-color 0.3s; }
.deed--slot .deed__link::before { display: none; }
.deed--slot:hover .deed__link { outline-color: var(--lime); }
.deed--slot .deed__art { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(212, 253, 14, 0.06) 0 10px, transparent 10px 20px); }
.deed__slotfig { width: 36%; height: auto; fill: var(--lime); transform: rotate(-8deg); transition: transform 0.6s var(--ease); }
.deed--slot:hover .deed__slotfig { transform: rotate(-2deg) translateY(-6px); }
.deed__slottext { position: absolute; left: 0; right: 0; bottom: 10%; font-family: var(--pixel); font-size: 14px; line-height: 1.25; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; color: var(--paper); }
.deed--slot .deed__name b { color: var(--paper); }
.deed--slot .deed__sub, .deed--slot .deed__foot { color: var(--grey); white-space: normal; }
.deed--slot .deed__foot { border-top-color: var(--line); }
.deed--slot .deed__go { color: var(--lime); }
/* loading */
.deed--ghost { filter: none; animation: none; display: grid; gap: 12px; padding: 12px; background: var(--bg2); border: 1px solid var(--line); }
.deed--ghost .deed__art { background: linear-gradient(90deg, #121211 25%, #1c1c1a 50%, #121211 75%) 0 0 / 200% 100%; animation: mp-shimmer 1.3s linear infinite; }
.deed--ghost .deed__name b, .deed--ghost .deed__plate { display: block; width: 70%; height: 14px; background: #161615; border: 0; }
@keyframes mp-shimmer { to { background-position: -200% 0; } }
/* empty states */
.deeds__empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 18px; padding: clamp(40px, 5vw, 72px) 20px; border: 1px dashed var(--grey2); background: rgba(7, 7, 7, 0.7); text-align: center; }
.deeds__empty p { max-width: 54ch; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: var(--paper2); }
.deeds__emptyfig { width: 52px; height: auto; fill: var(--grey2); }

/* the ledger: an accounts book in photocopy paper */
.mp-activity { padding-bottom: clamp(88px, 10vw, 150px); }
.mp-ledger { padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.6vw, 36px) clamp(22px, 2.6vw, 34px) clamp(34px, 3.6vw, 52px); }
.mp-ledger::after { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(16px, 1.8vw, 26px); width: 2px; background: var(--lime); box-shadow: 4px 0 0 rgba(10, 10, 10, 0.12); pointer-events: none; }
.mp-ledger__head, .led { display: grid; grid-template-columns: 112px minmax(0, 1.2fr) 118px minmax(0, 1.5fr) 132px; gap: 16px; align-items: center; }
.mp-ledger__head { position: relative; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #5c5b58; }
.mp-ledger__head span:last-child { text-align: right; }
.mp-ledger__rows { position: relative; }
.led { padding: 12px 0; border-bottom: 1px solid rgba(10, 10, 10, 0.14); font-family: var(--mono); font-size: 12.5px; color: #2a2a28; }
.led__kind { justify-self: start; padding: 4px 8px; border: 1.5px solid var(--ink); font-family: var(--pixel); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.led.is-mint .led__kind { background: var(--ink); color: var(--paper); }
.led.is-sale .led__kind { background: var(--lime); }
.led.is-launch .led__kind { background: var(--ink); color: var(--lime); }
.led.is-off .led__kind { border-style: dashed; border-color: #8a8884; color: #5c5b58; }
.led__deed { min-width: 0; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 16px; color: var(--ink); text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.led__deed:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.led__price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.led__who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.led__meta { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #6a6964; white-space: nowrap; text-align: right; }
.led__meta a { color: var(--ink); border-bottom: 1px solid var(--lime); }
.led--empty { display: block; padding: 18px 0 6px; border-bottom: 0; color: #5c5b58; }

/* how trading works */
.mp-how { padding-bottom: clamp(88px, 10vw, 150px); }
.mp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mp-step { display: grid; align-content: start; gap: 12px; min-height: 270px; padding: clamp(22px, 2.4vw, 32px); }
.mp-step:nth-child(1) { rotate: -1deg; }
.mp-step:nth-child(2) { rotate: 0.8deg; margin-top: 16px; }
.mp-step:nth-child(3) { rotate: -0.4deg; }
.mp-step > * { position: relative; z-index: 1; }
.mp-step.paper--lime::after { opacity: 0.4; }
.mp-step__n { font-family: var(--pixel); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: #5c5b58; }
.mp-step__i { width: 34px; height: 34px; color: var(--ink); stroke-width: 1.7; }
.mp-step h3 { margin-top: 4px; font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.mp-step p { font-size: 15px; line-height: 1.55; color: #2a2a28; }
.mp-fine { max-width: 82ch; margin-top: 40px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; letter-spacing: 0.02em; color: var(--paper2); }
.mp-fine a { color: var(--paper); border-bottom: 1px solid var(--lime); }
.mp-fine a:hover { color: var(--lime); }

/* every deed starts as a claim */
.mp-cta { padding-bottom: clamp(96px, 12vw, 170px); }
.mp-cta__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(32px, 5vw, 72px); overflow: hidden; }
.mp-cta__in > * { position: relative; z-index: 1; }
.mp-cta__in::after { -webkit-mask-image: linear-gradient(100deg, transparent 48%, #000 100%); mask-image: linear-gradient(100deg, transparent 48%, #000 100%); }
.mp-cta__copy { display: grid; justify-items: start; gap: 18px; }
.mp-cta .h2 { max-width: 15ch; font-size: clamp(34px, 4.6vw, 70px); color: var(--ink); }
.mp-cta .h2 em { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.mp-cta__copy > p:not(.eyebrow) { max-width: 52ch; font-size: 17px; line-height: 1.5; color: #1c1c1a; }
.mp-cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.mp-cta__fig { width: clamp(120px, 14vw, 220px); height: auto; fill: var(--ink); transform: rotate(-12deg) scaleX(-1); }

/* one deed: a drawer from the right */
.mp-drawer { position: fixed; inset: 0; z-index: 55; }
.mp-drawer[hidden] { display: none; }
.mp-drawer__scrim { position: absolute; inset: 0; background: rgba(4, 4, 4, 0.74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.4s; cursor: pointer; }
.mp-drawer.is-open .mp-drawer__scrim { opacity: 1; }
.mp-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100%);
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 26px clamp(18px, 3vw, 34px) 56px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.8);
  transform: translateX(104%);
  transition: transform 0.5s var(--ease);
}
.mp-drawer.is-open .mp-drawer__panel { transform: none; }
.mp-drawer__close { position: sticky; top: 0; z-index: 3; justify-self: end; display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: -64px; border: 1px solid var(--line); background: var(--bg); color: var(--paper); transition: color 0.25s, border-color 0.25s; }
.mp-drawer__close:hover, .mp-drawer__close:focus-visible { color: var(--lime); border-color: var(--lime); outline: none; }
.mpd__top { display: grid; gap: 20px; }
.mpd__art { justify-self: center; width: min(100%, 340px); padding: 12px 12px 38px; background: var(--paper); rotate: -1.6deg; clip-path: polygon(0.8% 1%, 46% 0, 99.2% 0.6%, 100% 50%, 99.4% 99.2%, 50% 100%, 0.6% 99.4%, 0 48%); }
.mpd__art img { width: 100%; height: auto; aspect-ratio: 1; background: #0b0b0a; }
.mpd__id { display: grid; gap: 10px; }
.mpd__title { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; letter-spacing: -0.01em; text-transform: lowercase; }
.mpd__title .i--brand { width: 22px; height: 22px; flex: none; color: var(--grey); }
.mpd__title span { min-width: 0; overflow-wrap: anywhere; }
.mpd__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mpd__chip { padding: 5px 9px; border: 1px solid var(--grey2); font-family: var(--pixel); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper2); }
.mpd__chip.is-listed { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.mpd__chip.is-launched { border-color: var(--lime); color: var(--lime); }
.mpd__chip.is-ver::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; vertical-align: 0; background: var(--lime); }
.mpd__chip.is-mine { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.mpd__price { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); background: var(--bg2); }
.mpd__price b { font-family: var(--pixel); font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1; letter-spacing: 0.02em; color: var(--paper); }
.mpd__price.is-listed { border-color: rgba(212, 253, 14, 0.45); }
.mpd__price.is-listed b { color: var(--lime); }
.mpd__price b small { font-size: 0.5em; color: var(--paper2); }
.mpd__sub { font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--paper2); }
.mpd__trade { display: grid; gap: 12px; }
.mpd__trade .claim__panel, .mpd__trade .claim__note { width: 100%; text-align: left; }
.mpd__connect { display: grid; justify-items: start; gap: 10px; }
.mpd__connect:empty { display: none; }
.mpd__hint { font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--paper2); }
.mpd__hint--busy::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--lime); animation: tape-blink 1s ease-in-out infinite; }
.mpd__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.mpd__facts div { min-width: 0; padding: 12px 14px; background: var(--bg); }
.mpd__facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.mpd__facts dd { display: flex; align-items: center; gap: 8px; margin: 5px 0 0; font-family: var(--mono); font-size: 13px; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpd__facts a { color: var(--paper); border-bottom: 1px solid var(--lime); }
.mpd__facts a:hover { color: var(--lime); }
.mpd__copy { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1px solid var(--line); color: var(--grey); transition: color 0.25s, border-color 0.25s; }
.mpd__copy .i { width: 14px; height: 14px; }
.mpd__copy:hover, .mpd__copy.is-done { color: var(--lime); border-color: var(--lime); }
.mpd__links { display: flex; flex-wrap: wrap; gap: 8px; }
.mpd__links a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper2); transition: color 0.25s, border-color 0.25s; }
.mpd__links a:hover { color: var(--lime); border-color: var(--lime); }
.mpd__hist { padding: 18px 20px 12px; }
.mpd__hist > * { position: relative; }
.mpd__hist .eyebrow { margin-bottom: 6px; }

@media (max-width: 1100px) {
  .mp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mstat:nth-child(3n) { border-right: 0; }
  .mstat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .mp-ledger__head, .led { grid-template-columns: 104px minmax(0, 1fr) 104px minmax(0, 1.2fr) 112px; }
}
@media (max-width: 960px) {
  .mp-hero__grid { grid-template-columns: 1fr; }
  .mp-hero__art { min-height: 0; padding: 26px 0 84px; }
  .mp-fan { width: min(72vw, 380px); }
  .mp-steps { grid-template-columns: 1fr; }
  .mp-step { min-height: 0; }
  .mp-step:nth-child(2) { margin-top: 0; }
  .mp-cta__in { grid-template-columns: 1fr; }
  .mp-cta__fig { position: absolute !important; right: 4%; bottom: -6%; width: 120px; opacity: 0.18; }
}
@media (max-width: 800px) {
  .mp-ledger__head { display: none; }
  .led { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; }
  .led__who, .led__meta { grid-column: 2 / -1; text-align: left; }
}
@media (max-width: 720px) {
  .mp-toolbar { position: static; box-shadow: none; clip-path: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mp-search { flex: 1 1 100%; }
  .mp-search input { width: 100%; }
  .mp-sort { margin-left: 0; }
  .deeds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; padding-inline: 0; }
  .deed__link { gap: 9px; padding: 8px 8px 10px; }
  .deed__name b { font-size: 15px; }
  .deed__stamp, .deed__yours { top: 14px; font-size: 8.5px; padding: 3px 6px; }
  .deed__stamp { right: 12px; }
  .deed__yours { left: 12px; }
  .deed__row { flex-wrap: wrap; gap: 6px; min-height: 0; }
  .deed__plate b { font-size: 14px; }
  .deed__sub { flex-basis: 100%; }
  .deed__foot { font-size: 10px; }
  .deed__foot > span:first-child { display: none; }
  .deed__go { margin-left: auto; }
  .mp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mstat:nth-child(3n) { border-right: 1px solid var(--line); }
  .mstat:nth-child(2n) { border-right: 0; }
  .mstat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .mstat { padding: 14px 16px; }
  .mp-tag { right: 0; bottom: 10px; min-width: 132px; padding: 10px 14px 10px 32px; }
  .mp-seg:not(.mp-seg--icons) { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .mp-seg:not(.mp-seg--icons) .seg__btn { flex: 1 0 auto; padding-inline: 10px; }
  .mp-tag b { font-size: 21px; }
  .mp-tag.is-name b { font-size: 17px; }
  .mpd__facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .deed, .mp-pulse, .deed--ghost .deed__art { animation: none; }
  .mp-fan__card, .deed, .mp-tag, .mp-drawer__panel { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1360px) {
  /* the bar carries the logo, seven links, the OpenSea button, the wallet and the CTA: below this width the
     links no longer fit on one line, so they drop out exactly as they already did on tablets */
  .nav__links { display: none; }
  .nav__burger { display: grid; }   /* the links' replacement: without it laptops between 721 and 1360 px had no menu */
  .nav > .brand { margin-right: auto; }   /* logo left, the rest grouped right (not the wallet adrift mid-bar) */
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 620px; margin-inline: auto; width: 100%; }
  .scene { width: 100%; margin-left: 0; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.97) 50%, rgba(7, 7, 7, 0.4) 64%, rgba(7, 7, 7, 0) 78%, #070707 100%);
  }
  .hero { padding-top: 104px; }
  .contracts__grid, .risks__grid, .roles__panel { grid-template-columns: 1fr; }
  .rules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--founder, .cell--buyback { grid-column: span 2; grid-row: auto; }
  .cell--notoriety, .cell--recognition { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  /* how: vertical stack, no pin (also for reduced motion, where the JS never pins/pans) */
  .how__pin { height: auto; overflow: visible; }
  .how__track { flex-direction: column; align-items: stretch; width: auto; padding-inline: var(--gutter); gap: 40px; height: auto; }
  .how__chain { display: none; }
  .step { width: 100%; }
  .step:nth-child(even), .step:nth-child(odd) { transform: none; }
  .step__num, .step:nth-child(odd) .step__num { font-size: 96px; top: calc(-0.85em - 10px); }
  .step { margin-top: 92px; }   /* room for the number above each card */
  .step { max-width: 760px; }
}
@media (max-width: 900px) {
  .tracks__grid { grid-template-columns: 1fr; gap: 150px; }
  .board--gh { margin-top: 0; }
}
@media (max-width: 720px) {
  .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .roles__row { grid-template-columns: repeat(5, 150px); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 8px; gap: 0; }
  .role { scroll-snap-align: center; }
  .rules__grid { grid-template-columns: 1fr; }
  .rule { min-height: 0; gap: 18px; }
  .bento { grid-template-columns: 1fr; }
  .cell--founder, .cell--buyback, .cell--notoriety, .cell--recognition { grid-column: span 1; grid-row: auto; }
  .cell { min-height: 0; }
  .calc { grid-template-columns: 1fr; }
  .calc__out { text-align: left; }
  .claim__form { flex-direction: column; gap: 12px; }
  .claim__form .btn { justify-content: center; }
  .claim__runner { display: none; }
  .claim__sign .board-text { font-size: 54px; }
  .foot__grid { grid-template-columns: 1fr; }
  .tag { flex-basis: 100%; }
  .board__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene--sign, .scene--runner, .scene--owner, .ticker__track { animation: none !important; }
  .flow.is-live .pulse { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .role, .tag, .role__fig { transition: none; }
}

/* ---------- live board ---------- */

.live { position: relative; isolation: isolate; }
.live__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  pointer-events: none;
}
.live__bg.is-ready { opacity: 0.72; }
.live__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.live__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.live__head .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.live__head .i { width: 16px; height: 16px; }
.eyebrow--ink { color: var(--ink); }
.live__stamp {
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  padding: 4px 8px;
  transform: rotate(-2deg);
}
.live__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.live__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(7, 7, 7, 0.82);
  transition: background 0.25s;
}
.live__row:hover { background: rgba(14, 14, 13, 0.92); }
.live__row .i--brand { width: 18px; height: 18px; color: var(--grey); }
.live__row > div { min-width: 0; }
.live__handle { display: block; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 20px; letter-spacing: -0.01em; color: var(--paper); text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live__meta { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--grey); margin-top: 4px; }
.live__timer {
  font-family: var(--pixel);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--lime);
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 10px;
  min-width: 108px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.live__row.is-closing .live__timer { color: var(--ink); background: var(--lime); }
.live__go { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper); border-bottom: 1px solid var(--lime); padding-bottom: 2px; }
.live__go:hover { color: var(--lime); }
.live__empty { font-family: var(--mono); font-size: 13px; color: var(--grey); padding: 18px; border: 1px dashed var(--line); background: rgba(7, 7, 7, 0.7); }
/* the board's copy sits above the halftone dither (which stays on the ground only) */
.live__board { padding: clamp(22px, 2.6vw, 34px); min-width: 0; }
.live__board > * { position: relative; z-index: 1; }
.live__board::after { opacity: 0.5; }
.live__rank { display: grid; gap: 0; counter-reset: rank; }
.live__rank li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(10, 10, 10, 0.18); }
.live__rank li > div { min-width: 0; }
.live__rank li::before { counter-increment: rank; content: counter(rank, decimal-leading-zero); font-family: var(--pixel); font-weight: 700; font-size: 16px; color: var(--ink); }
.live__rank b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 18px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live__rank small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: rgba(10, 10, 10, 0.65); margin-top: 2px; }
.live__rank .live__eth { font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }
.live__foot { margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: rgba(10, 10, 10, 0.7); }
.live__board .live__empty { color: rgba(10, 10, 10, 0.65); border-color: rgba(10, 10, 10, 0.25); }
@media (max-width: 900px) {
  .live__grid { grid-template-columns: 1fr; }
  .live__row { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .live__row .live__go { grid-column: 2 / -1; justify-self: start; }
}

/* ---------- roadmap updates: each one ships hidden until its switch is on (dapp features.ts) ---------- */
[data-feature][hidden] { display: none !important; }

/* ---------- roadmap pages: name, scout, leaderboard, worth, security ---------- */
.page { padding-top: clamp(120px, 14vw, 170px); }
.page--narrow { max-width: 900px; }
.page__title { margin: 10px 0 14px; max-width: 24ch; overflow-wrap: anywhere; }
.page__title em { font-style: normal; color: var(--lime); }
.page__sub { font-family: var(--mono); font-size: 13px; color: var(--grey); margin: 0 0 28px; overflow-wrap: anywhere; }
.page__sub a, .np__facts a, .np__row a, .lb__row a, .sec__dl a, .np__hint a, .claim__more a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--grey2); text-underline-offset: 3px; }
.page__sub a:hover, .np__facts a:hover, .np__row a:hover, .lb__row a:hover, .sec__dl a:hover, .claim__more a:hover { color: var(--lime); text-decoration-color: var(--lime); }
.mono { font-family: var(--mono); }

.page__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 40px; }
.page__stat { background: var(--bg2); padding: 18px 18px 16px; display: grid; gap: 4px; align-content: start; }
.page__stat b { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: clamp(22px, 3vw, 30px); color: var(--paper); }
.page__stat span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.page__stat small { font-family: var(--mono); font-size: 11px; color: var(--grey2); }

.np__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin: 8px 0 24px; }
.np__sign { margin: 0; max-width: 620px; }
.np__facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.np__facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.np__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); padding-top: 2px; }
.np__facts dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--paper); overflow-wrap: anywhere; }
.np__facts .tag { display: inline-block; padding: 1px 6px; margin-left: 6px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--lime); color: var(--ink); }
.np__actions { justify-content: flex-start; margin-bottom: 18px; }
.np__badge { display: grid; gap: 10px; justify-items: start; margin: 0 0 30px; padding: 18px; border: 1px dashed var(--grey2); background: var(--bg2); }
.np__md code { font-size: 12px !important; white-space: normal !important; overflow-wrap: anywhere; letter-spacing: 0 !important; max-width: 100%; }
.np__hint { font-family: var(--mono); font-size: 12px; color: var(--grey); margin: 0; }
.np__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); margin: 26px 0 34px; }
.np__col { display: grid; gap: 12px; align-content: start; }
.np__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.np__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--paper); }
.np__row:not(:has(.np__ticket)) { grid-template-columns: minmax(0, 1fr) auto auto; }
.np__row b { font-weight: 600; white-space: nowrap; }
.np__ticket { width: 56px; height: 56px; display: block; }
.np__chip { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--grey2); color: var(--grey); white-space: nowrap; }
.np__chip.is-won, .np__chip.is-leading { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.np__chip.is-lost, .np__chip.is-outbid, .np__chip.is-voided { border-color: #ff6a3d; color: #ff8a64; }
.np__chip.is-reclaimed { border-color: var(--paper); color: var(--paper); }
.np__deed { display: block; max-width: 300px; }
.np__deed img { width: 100%; height: auto; display: block; }
.np__hhead { margin: 0 0 12px; }
.np__tape { max-height: none; }
.tape__link { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(10, 10, 10, 0.5); }
.tape__link:hover { background: var(--lime); }

.sp__tickets { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 34px; }
.sp__tickets img { width: 120px; height: 120px; display: block; }

.lb__grid, .sec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.lb__card { background: var(--bg2); border: 1px solid var(--line); padding: 20px 20px 12px; display: grid; gap: 12px; align-content: start; }
.lb__list { list-style: none; margin: 0; padding: 0; }
.lb__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--paper); }
.lb__row:first-child { border-top: 0; }
.lb__row:first-child .lb__n { background: var(--lime); color: var(--ink); }
.lb__n { font-family: var(--pixel); font-size: 12px; text-align: center; padding: 4px 0; background: var(--line); color: var(--grey); }
.lb__who { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.lb__who small { font-size: 11px; color: var(--grey); }
.lb__row > b { font-weight: 600; white-space: nowrap; color: var(--lime); }
.sec__dl { margin: 0; display: grid; }
.sec__dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.sec__dl > div:first-child { border-top: 0; }
.sec__dl dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); padding-top: 2px; }
.sec__dl dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--paper); overflow-wrap: anywhere; }

.wf__form { margin: 6px 0 28px; max-width: 760px; }
.wf__card { border: 1px solid var(--line); background: var(--bg2); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.wf__price { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: clamp(56px, 10vw, 110px); line-height: 0.9; color: var(--lime); }
.wf__price span { font-size: 0.32em; color: var(--paper); letter-spacing: 0.04em; }
.wf__reach { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--paper); }
.wf__lines { margin: 4px 0 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 15px; color: var(--paper2); }
.wf__lines b { color: var(--paper); }

.claim__share { margin-left: 6px; color: var(--lime); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.claim__more { margin: 6px 0 0; font-family: var(--mono); font-size: 13px; }
.claim__badge { display: grid; gap: 10px; }
.claim__badge .proof__code code { font-size: 12px; white-space: normal; overflow-wrap: anywhere; letter-spacing: 0; }

@media (max-width: 860px) {
  .np__top, .np__cols, .lb__grid, .sec__grid { grid-template-columns: minmax(0, 1fr); }
  .np__facts > div, .sec__dl > div { grid-template-columns: 110px minmax(0, 1fr); }
}
.np__tag { display: inline-block; margin-left: 8px; padding: 1px 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--lime); color: var(--ink); vertical-align: 1px; }
.page__addr { text-transform: none; font-family: var(--mono); font-weight: 600; letter-spacing: -0.02em; }
