/* ============================================================
   $PATIENCE — patiencerh.xyz
   Industrial. Excessive. Patient.
   ============================================================ */

:root {
  /* colour */
  --acid:        #d6ff00;
  --acid-dim:    rgba(214, 255, 0, 0.55);
  --acid-ghost:  rgba(214, 255, 0, 0.10);
  --ink:         #060704;
  --ink-2:       #0a0c06;
  --bone:        #e9e7dc;
  --bone-dim:    rgba(233, 231, 220, 0.58);
  --bone-faint:  rgba(233, 231, 220, 0.32);
  --rule:        rgba(233, 231, 220, 0.13);

  /* type */
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --text:    "Archivo", Helvetica, Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --slow: 1.5s;

  /* metrics */
  --gutter: clamp(22px, 5vw, 90px);
  --nav-h:  72px;

  /* hold-test shake amplitude, driven by JS 0 → 4 */
  --sh: 0;
}

/* ---------- reset ---------- */
[hidden] { display: none !important; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a2e18; border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--acid); }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 20px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 16px; }

/* custom cursor active: hide the native one */
body.has-cursor,
body.has-cursor a,
body.has-cursor button { cursor: none; }

/* ============================================================
   the loader — a toll paid in seconds
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--ink);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader.is-done { transform: translateY(-100%); }
.loader.is-gone { display: none; }

.loader__word {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 110%;
  font-size: clamp(40px, 11vw, 150px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bone);
}

.loader__meta {
  display: flex;
  align-items: baseline;
  gap: 26px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
}
.loader__meta b {
  font-weight: 400;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.loader__bar {
  width: min(320px, 60vw);
  height: 1px;
  background: var(--rule);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

/* ============================================================
   ambient chrome
   ============================================================ */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scan {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.14) 3px,
    rgba(0, 0, 0, 0.14) 4px
  );
}

/* the sand rail — fills as you descend */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  z-index: 30;
  background: var(--rule);
  pointer-events: none;
}
.rail__fill {
  display: block;
  width: 100%;
  height: 0;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(214, 255, 0, 0.5);
}

/* success flash */
.flash {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--acid);
  opacity: 0;
  pointer-events: none;
}
.flash.is-on { animation: flash 0.7s steps(2, jump-none) 2; }
@keyframes flash {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}

/* section HUD */
.hud {
  position: fixed;
  right: var(--gutter);
  bottom: 26px;
  z-index: 30;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
  pointer-events: none;
  mix-blend-mode: difference;
}
.hud__n { color: var(--acid); font-size: 15px; }
.hud__label { min-width: 12ch; }

/* custom cursor */
.cur {
  position: fixed;
  z-index: 300;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--acid);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
}
.cur-ring {
  position: fixed;
  z-index: 299;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--acid-dim);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              margin 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.cur-ring span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
body.cur-live .cur,
body.cur-live .cur-ring { opacity: 1; }
.cur-ring.is-big {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: var(--acid);
}
.cur-ring.is-label {
  width: 74px;
  height: 74px;
  margin: -37px 0 0 -37px;
  background: var(--acid);
  border-color: var(--acid);
}
.cur-ring.is-label span { opacity: 1; }

/* ============================================================
   glitch — occasional signal damage on big type
   ============================================================ */
.glitch { position: relative; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.glitch::before { color: var(--acid); z-index: -1; }
.glitch::after  { color: var(--bone); z-index: -2; }
body.fx .glitch::before { animation: glitchA 7s infinite steps(1); }
body.fx .glitch::after  { animation: glitchB 7s infinite steps(1); }
@keyframes glitchA {
  0%, 92.9%, 94.4%, 100% { opacity: 0; transform: none; clip-path: none; }
  93%   { opacity: 1; transform: translate(-6px, 2px);  clip-path: inset(12% 0 64% 0); }
  93.5% { opacity: 1; transform: translate(4px, -1px);  clip-path: inset(58% 0 18% 0); }
  94%   { opacity: 1; transform: translate(-2px, 1px);  clip-path: inset(30% 0 44% 0); }
}
@keyframes glitchB {
  0%, 92.9%, 94.4%, 100% { opacity: 0; transform: none; clip-path: none; }
  93%   { opacity: 0.8; transform: translate(5px, -2px);  clip-path: inset(70% 0 8% 0); }
  93.5% { opacity: 0.8; transform: translate(-4px, 2px);  clip-path: inset(6% 0 78% 0); }
  94%   { opacity: 0.8; transform: translate(3px, -1px);  clip-path: inset(42% 0 36% 0); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease);
}
.nav.is-stuck {
  background: rgba(6, 7, 4, 0.92);
  border-bottom-color: var(--rule);
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(1.1);
  animation: markSpin 40s linear infinite;
}
@keyframes markSpin { to { transform: rotate(360deg); } }
.nav__ticker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--bone);
}

.nav__links { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  transition: color 0.4s var(--ease);
}
.nav__links a:hover { color: var(--acid); }

.nav__buy {
  padding: 9px 20px;
  border: 1px solid var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--acid);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__buy:hover { background: var(--acid); color: var(--ink); }

.ext { font-family: var(--mono); font-size: 0.85em; }

/* ---------- shared ---------- */
.wrap {
  width: min(1200px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.wrap--narrow { max-width: 800px; }
.center { text-align: center; }

.sec {
  position: relative;
  padding-block: clamp(88px, 12vw, 168px);
  border-top: 1px solid var(--rule);
}
.sec__head { margin-bottom: clamp(46px, 6vw, 84px); }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--bone-faint);
}
.kicker span { color: var(--acid); }
.kicker::after {
  content: "";
  flex: 1;
  max-width: 110px;
  height: 1px;
  background: var(--rule);
}
.center .kicker { justify-content: center; }
.center .kicker::after { display: none; }

.h2 {
  font-family: var(--display);
  font-weight: 860;
  font-stretch: 112%;
  text-transform: uppercase;
  font-size: clamp(26px, 3.8vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--bone);
  max-width: 20ch;
}
.h2--lg { font-size: clamp(30px, 4.8vw, 68px); max-width: 16ch; }
.h2--xl { font-size: clamp(40px, 7.5vw, 110px); max-width: none; }
.h2 + .body { margin-top: 24px; }
.center .h2 { max-width: 22ch; margin-inline: auto; }
.center .h2--xl { max-width: none; }

.body {
  font-size: clamp(16.5px, 1.2vw, 19px);
  line-height: 1.68;
  color: var(--bone-dim);
  max-width: 58ch;
}
.body + .body { margin-top: 1.1em; }
.center .body { margin-inline: auto; }
.body strong { color: var(--bone); font-weight: 500; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--acid-ghost);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--acid);
  transition: border-color 0.5s var(--ease);
}
.link:hover { border-bottom-color: var(--acid); }
.link .ext { transition: transform 0.5s var(--ease); }
.link:hover .ext { transform: translate(3px, -3px); }

/* ---------- buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }
.cta--center { justify-content: center; margin-top: 38px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border: 1px solid rgba(233, 231, 220, 0.24);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone);
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease),
              background 0.5s var(--ease);
  will-change: transform;
}
.btn:hover { border-color: var(--acid); color: var(--acid); }

.btn--fill { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.btn--fill:hover { background: transparent; color: var(--acid); }

.btn__arw { transition: transform 0.5s var(--ease); }
.btn:hover .btn__arw { transform: translateX(5px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--nav-h) + 40px) 120px;
  overflow: hidden;
}

.hero__art {
  position: absolute;
  inset: 0;
  margin: 0;
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  will-change: transform;
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from { scale: 1.02; }
  to   { scale: 1.1; }
}
.hero__sand {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--ink) 6%, rgba(6, 7, 4, 0.72) 38%, rgba(6, 7, 4, 0.3) 65%, rgba(6, 7, 4, 0.55) 100%),
    linear-gradient(90deg, rgba(6, 7, 4, 0.78), rgba(6, 7, 4, 0.1) 60%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: calc(100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--bone-faint);
}
.eyebrow i { color: var(--acid); font-style: normal; margin-inline: 0.5em; }

.display {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 110%;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0.22em 0 0.3em;
}
.display__line { display: block; white-space: nowrap; overflow: hidden; }

/* per-letter rise */
.ltr {
  display: inline-block;
  transform: translateY(118%) rotate(4deg);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i) * 42ms);
  will-change: transform;
}
.display__line.is-in .ltr { transform: none; }
.display__line--main { font-size: clamp(42px, 14.6vw, 214px); }
.display__line--em {
  font-size: clamp(24px, 8.3vw, 122px);
  color: var(--acid);
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 70px);
}

.lede {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
  color: var(--bone-dim);
  max-width: 46ch;
}
.lede strong { color: var(--bone); font-weight: 500; }

.hero__actions { flex: none; display: grid; gap: 18px; justify-items: end; }

.ca {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 10px 10px 18px;
  max-width: 100%;
  border: 1px solid var(--rule);
  background: rgba(6, 7, 4, 0.55);
}
.ca__label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
}
.ca__addr {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--acid);
  word-break: break-all;
}
.ca__copy {
  padding: 8px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.ca__copy:hover { border-color: var(--acid); color: var(--acid); }
.ca__copy.is-done { background: var(--acid); border-color: var(--acid); color: var(--ink); }

.hero__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
}
.hint { display: inline-flex; align-items: center; }
.hint__line {
  display: inline-block;
  width: 52px;
  height: 1px;
  margin-left: 12px;
  background: linear-gradient(90deg, var(--acid), transparent);
  animation: breathe 5s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.3; transform: scaleX(0.7); transform-origin: left; }
  50%      { opacity: 1;   transform: scaleX(1);   transform-origin: left; }
}
.clock b {
  font-weight: 400;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(18px, 2.4vw, 30px);
  border-block: 1px solid var(--rule);
  white-space: nowrap;
  will-change: transform; /* skewed by scroll velocity */
}
.marquee__track {
  display: inline-flex;
  will-change: transform;
  animation: marq 110s linear infinite; /* deliberately, absurdly slow */
}
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marq { to { transform: translateX(-50%); } }

.marquee__unit {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 110%;
  text-transform: uppercase;
  font-size: clamp(24px, 3.6vw, 48px);
  line-height: 1.1;
  padding-right: 0.3em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 231, 220, 0.28);
}
.marquee__unit em {
  font-style: normal;
  color: var(--acid);
  -webkit-text-stroke: 0;
}
.marquee__sep {
  font-family: var(--mono);
  font-size: 0.28em;
  vertical-align: middle;
  color: var(--acid-dim);
  -webkit-text-stroke: 0;
  margin-inline: 0.6em;
}

/* ---------- 01 origin ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 110px);
  align-items: start;
}

.quote {
  padding-top: 30px;
  border-top: 1px solid var(--acid);
}
.quote__t {
  font-family: var(--display);
  font-weight: 880;
  font-stretch: 108%;
  text-transform: uppercase;
  font-size: clamp(24px, 2.9vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--acid);
}
.quote__t--dim {
  margin-top: 0.4em;
  font-size: clamp(17px, 1.9vw, 27px);
  color: var(--bone-dim);
}
.quote__by { display: flex; flex-direction: column; margin-top: 34px; }
.quote__rule { width: 42px; height: 1px; margin-bottom: 16px; background: var(--acid); }
.quote__who {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.quote__meta {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bone-faint);
}

/* ---------- 02 tenets ---------- */
.tenets { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }

.tenet {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(18px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 54px);
  padding-inline: 14px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  transition: background 0.001s;
}
.tenet__n {
  padding-top: 0.4em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
}

.tenet__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 3vw, 48px);
  align-items: start;
}
.tenet__h {
  font-family: var(--display);
  font-weight: 820;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: clamp(19px, 2.1vw, 29px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--bone);
}
.tenet__p {
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--bone-dim);
  max-width: 46ch;
}

.tenet__ghost {
  position: absolute;
  right: -0.06em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 120%;
  font-size: clamp(110px, 14vw, 240px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 231, 220, 0.07);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color 0.001s, transform 1.2s var(--ease);
}

/* hover: the row snaps to acid, no fade — a hard cut */
@media (hover: hover) {
  .tenet:hover { background: var(--acid); }
  .tenet:hover .tenet__n { color: rgba(6, 7, 4, 0.55); }
  .tenet:hover .tenet__h { color: var(--ink); }
  .tenet:hover .tenet__p { color: rgba(6, 7, 4, 0.72); }
  .tenet:hover .tenet__ghost {
    -webkit-text-stroke-color: rgba(6, 7, 4, 0.18);
    transform: translateY(-50%) translateX(-14px);
  }
}

/* ---------- 03 the long game ---------- */
.ledger { border-top: 1px solid var(--rule); }
.ledger__row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: clamp(18px, 2.2vw, 26px);
  border-bottom: 1px solid var(--rule);
}
.ledger__row dt {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
  white-space: nowrap;
}
.ledger__row dt::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted rgba(233, 231, 220, 0.2);
  transform: translateY(-0.3em);
}
.ledger__row dd {
  flex: none;
  font-family: var(--display);
  font-weight: 840;
  font-stretch: 108%;
  text-transform: uppercase;
  font-size: clamp(17px, 1.9vw, 27px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--bone);
}
.ledger__row--ca dd code {
  text-transform: none;
  font-family: var(--mono);
  font-size: clamp(11px, 1.4vw, 15px);
  color: var(--acid);
  word-break: break-all;
}

/* ---------- 04 acquisition ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--rule);
}
.step {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.2vw, 50px) clamp(22px, 2.4vw, 42px);
}
.step + .step { border-left: 1px solid var(--rule); }

.step__n {
  position: absolute;
  top: -0.16em;
  right: 0.04em;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 120%;
  font-size: clamp(90px, 10vw, 170px);
  line-height: 1;
  color: rgba(233, 231, 220, 0.05);
  pointer-events: none;
  user-select: none;
  transition: color 0.9s var(--ease);
}
.step:hover .step__n { color: rgba(214, 255, 0, 0.14); }

.step__h {
  position: relative;
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 820;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: clamp(18px, 1.9vw, 25px);
  line-height: 1.12;
  color: var(--bone);
}
.step__p {
  position: relative;
  font-size: 16.5px;
  line-height: 1.64;
  color: var(--bone-dim);
}
.step .link { margin-top: 22px; }

/* ---------- 05 the test (the acid cut) ---------- */
.sec--acid {
  background: var(--acid);
  color: var(--ink);
  border-top: 0;
  padding-block: clamp(120px, 15vw, 210px);
  clip-path: polygon(0 3.2vw, 100% 0, 100% calc(100% - 3.2vw), 0 100%);
}
.sec--acid .h2 { color: var(--ink); }
.sec--acid .body { color: rgba(6, 7, 4, 0.72); }
.kicker--inv { color: rgba(6, 7, 4, 0.5); }
.kicker--inv span { color: var(--ink); }

/* screen shakes harder the longer you hold */
#test.is-holding .wrap { animation: shake 0.28s linear infinite; }
@keyframes shake {
  0%   { transform: translate(calc(var(--sh) *  1px), calc(var(--sh) * -1px)); }
  25%  { transform: translate(calc(var(--sh) * -1px), calc(var(--sh) *  1px)); }
  50%  { transform: translate(calc(var(--sh) *  1px), calc(var(--sh) *  1px)); }
  75%  { transform: translate(calc(var(--sh) * -1px), calc(var(--sh) * -1px)); }
  100% { transform: translate(calc(var(--sh) *  1px), calc(var(--sh) * -1px)); }
}

.test { margin-top: 46px; }

.hold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 100%);
  padding: 26px 36px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--acid);
  isolation: isolate;
  cursor: pointer;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.hold__fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.hold__label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--acid);
  mix-blend-mode: difference;
}
@supports not (mix-blend-mode: difference) {
  .hold__label { mix-blend-mode: normal; color: var(--ink); }
}

.test__status {
  min-height: 1.5em;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(6, 7, 4, 0.6);
}

.reward {
  display: grid;
  justify-items: center;
  gap: 28px;
  margin-top: 54px;
  animation: rise 1.6s var(--ease) both;
}
.reward[hidden] { display: none; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.reward__fig {
  width: min(360px, 100%);
  border: 1px solid rgba(6, 7, 4, 0.6);
  overflow: hidden;
}
.reward__fig img { display: block; width: 100%; }
.reward__t {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: clamp(17px, 1.9vw, 25px);
  line-height: 1.22;
  color: var(--ink);
  max-width: 28ch;
}

/* ---------- 06 artifacts ---------- */
.plates {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.4vw, 38px) clamp(16px, 2vw, 30px);
  align-items: start;
}

.plate {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  perspective: 900px;
}
.plate--s5  { grid-column: span 5; }
.plate--s7  { grid-column: span 7; }
.plate--s12 { grid-column: span 12; }

.plate__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.plate__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1) 0.1s;
  pointer-events: none;
}
.plate.is-in .plate__frame::after { transform: scaleX(0); }

.plate img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.02);
  transform: scale(1.18);
  transition: filter 0.6s var(--ease), transform 1.5s var(--ease) 0.1s;
  will-change: transform;
}
.plate.is-in img { transform: scale(1); }
.plate--s5  img { aspect-ratio: 3 / 4; }
.plate--s7  img { aspect-ratio: 3 / 2; }
.plate--s12 img { aspect-ratio: 2 / 1; }

.plate:hover img { filter: brightness(1.06) contrast(1.02); }

.plate figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-faint);
  transition: color 0.5s var(--ease);
}
.plate:hover figcaption { color: var(--bone-dim); }
.plate__n { min-width: 3.2em; color: var(--acid); }

/* ---------- community ---------- */
.sec--sit {
  padding-block: clamp(110px, 15vw, 210px);
  overflow: hidden;
  border-top: 0;
}
.sec--sit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 92vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(214, 255, 0, 0.07), transparent 62%);
  pointer-events: none;
  animation: pulse 7s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; scale: 0.92; }
  50%      { opacity: 1;   scale: 1.05; }
}
.sec--sit .wrap { position: relative; }
.sec--sit .body { margin-top: 26px; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  padding-block: clamp(56px, 7vw, 92px) 46px;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.footer__ghost {
  position: absolute;
  left: 50%;
  bottom: -0.24em;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 115%;
  font-size: 13vw;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 231, 220, 0.07);
  pointer-events: none;
  user-select: none;
}
.footer__top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 42px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.footer__ticker {
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--bone);
}
.footer__tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
}
.footer__links { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 36px); }
.footer__links a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  transition: color 0.4s var(--ease);
}
.footer__links a:hover { color: var(--acid); }

.footer__ca {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding-block: 26px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
.footer__ca code {
  letter-spacing: 0;
  color: var(--acid-dim);
  word-break: break-all;
}

.footer__disc {
  position: relative;
  margin-top: 22px;
  max-width: 80ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(233, 231, 220, 0.34);
}

/* ---------- reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 1080px) {
  .tenet__body { grid-template-columns: 1fr; gap: 12px; }
  .tenet__p { max-width: 60ch; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__actions { justify-items: start; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  .nav__links { display: none; }

  .hero { padding-bottom: 110px; }
  .hero__art img { object-position: 58% 32%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6, 7, 4, 0.82) 0%, rgba(6, 7, 4, 0.5) 40%, var(--ink) 92%),
      linear-gradient(90deg, rgba(6, 7, 4, 0.6), rgba(6, 7, 4, 0.2));
  }

  .split { grid-template-columns: 1fr; }
  .quote { margin-top: 8px; }

  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--rule); }

  .plate,
  .plate--s5,
  .plate--s7 { grid-column: span 6; }
  .plate--s5 img,
  .plate--s7 img { aspect-ratio: 1 / 1; }
  .plate--s12 img { aspect-ratio: 16 / 9; }

  .hud { display: none; }
}

@media (max-width: 640px) {
  .tenet { grid-template-columns: 1fr; gap: 14px; }
  .tenet__n { padding-top: 0; }
  .tenet__ghost { font-size: 120px; }

  .ledger__row { flex-wrap: wrap; gap: 6px 18px; }
  .ledger__row dt { flex: 1 0 100%; white-space: normal; }
  .ledger__row dt::after { display: none; }

  .hero__foot { font-size: 9px; letter-spacing: 0.14em; bottom: 24px; }
  .hint__line { width: 34px; }

  .plate,
  .plate--s5,
  .plate--s7,
  .plate--s12 { grid-column: span 12; }
  .plate--s12 img { aspect-ratio: 3 / 2; }

  .cta { gap: 10px; }
  .btn { flex: 1 0 auto; justify-content: center; padding: 15px 20px; }

  .sec--acid { clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%); }

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

@media (max-width: 420px) {
  .hero__foot .clock { display: none; }
  .ca { padding-left: 14px; }
}

/* touch devices: no custom cursor, no tilt */
@media (hover: none), (pointer: coarse) {
  .cur, .cur-ring { display: none; }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hint__line { opacity: 0.7; }
  .cur, .cur-ring { display: none; }
  .loader { display: none; }
}


/* ============================================================
   smooth scroll wrapper (JS-driven)
   ============================================================ */
#smooth.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

/* ============================================================
   acid page wipe (nav transitions)
   ============================================================ */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--acid);
  transform: translateY(-102%);
  pointer-events: none;
}
.wipe.is-anim { transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1); }
.wipe.is-in { transform: translateY(0); }
.wipe.is-out { transform: translateY(102%); }

/* ============================================================
   idle toast — a reward for stillness
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translate(-50%, 200%);
  padding: 13px 22px;
  border: 1px solid var(--acid);
  background: rgba(6, 7, 4, 0.92);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--acid);
  white-space: nowrap;
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ============================================================
   the butterfly — rare, unannounced
   ============================================================ */
.bfly {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 85;
  width: 22px;
  height: 16px;
  pointer-events: none;
  opacity: 0;
  offset-rotate: auto;
}
.bfly i {
  position: absolute;
  top: 0;
  width: 11px;
  height: 16px;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(214, 255, 0, 0.6);
}
.bfly i:first-child {
  left: 0;
  clip-path: polygon(100% 20%, 100% 80%, 0 100%, 14% 46%, 0 0);
  transform-origin: right center;
  animation: flapL 0.16s ease-in-out infinite alternate;
}
.bfly i:last-child {
  right: 0;
  clip-path: polygon(0 20%, 0 80%, 100% 100%, 86% 46%, 100% 0);
  transform-origin: left center;
  animation: flapR 0.16s ease-in-out infinite alternate;
}
@keyframes flapL { from { transform: rotateY(8deg); }  to { transform: rotateY(70deg); } }
@keyframes flapR { from { transform: rotateY(-8deg); } to { transform: rotateY(-70deg); } }

.bfly.is-flying { animation: flyPath var(--dur, 8s) linear forwards; }
@keyframes flyPath {
  0%   { offset-distance: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bfly { display: none; }
  .toast { display: none; }
  .plate__frame::after { display: none; }
  .plate img { transform: none; }
  .ltr { transform: none; transition: none; }
}


/* ============================================================
   06 the simulation — diamond hands
   ============================================================ */
.sim { border: 1px solid var(--rule); }

.sim__hud {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule);
}
.sim__k {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--bone-faint);
}
.sim__pnl {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 34px);
  font-variant-numeric: tabular-nums;
  color: var(--bone-dim);
  transition: color 0.3s;
}
.sim__pnl.is-up { color: var(--acid); }
.sim__pnl.is-rekt { animation: pnlBlink 0.5s steps(2, jump-none) infinite; }
@keyframes pnlBlink { 50% { opacity: 0.35; } }
.sim__stats {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-faint);
}

.sim__stage {
  position: relative;
  background: var(--ink-2);
}
.sim__stage.is-panic { --sh: 1.6; animation: shake 0.3s linear infinite; }
#simCanvas {
  display: block;
  width: 100%;
  height: clamp(240px, 38vh, 380px);
}
.sim__taunt {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
  transition: opacity 0.3s;
}

.sim__over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  background: rgba(6, 7, 4, 0.82);
  animation: rise 0.9s var(--ease) both;
}
.sim__over[hidden] { display: none; }
.sim__verdict {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 112%;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1;
  color: var(--acid);
}
.sim__over.is-paper .sim__verdict {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone-dim);
}
.sim__detail {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.9;
  color: var(--bone-dim);
  max-width: 46ch;
}

.sim__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 108px;
  padding: 18px;
  border-top: 1px solid var(--rule);
}
.sim__sell {
  padding: 16px 44px;
  border: 1px solid var(--bone-dim);
  background: transparent;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--bone);
  cursor: pointer;
  transform: scale(var(--tempt, 1));
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.2s, color 0.2s;
  will-change: transform;
}
.sim__sell:hover { background: var(--bone); color: var(--ink); }
.sim__sell.is-tempting { border-color: var(--bone); box-shadow: 0 0 24px rgba(233, 231, 220, 0.18); }

@media (max-width: 640px) {
  .sim__hud { flex-wrap: wrap; gap: 10px 16px; }
  .sim__stats { margin-left: 0; flex-basis: 100%; }
}


/* ============================================================
   the collective — everyone who waited, counted
   ============================================================ */
.sec--collective {
  border-top: 1px solid var(--rule);
  background: var(--ink-2);
  padding-block: clamp(80px, 10vw, 140px);
}
.odo {
  margin-top: 30px;
  font-family: var(--mono);
  line-height: 1;
}
.odo b {
  display: block;
  font-weight: 700;
  font-size: clamp(38px, 7.5vw, 110px);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--acid);
  text-shadow: 0 0 30px rgba(214, 255, 0, 0.25);
}
.odo__unit {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--bone-faint);
}
.collective__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-faint);
}
.collective__sub i { color: var(--acid-dim); font-style: normal; }
.collective__sub b { font-weight: 700; color: var(--bone); font-variant-numeric: tabular-nums; }


/* ---------- sound toggle ---------- */
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav__sound {
  padding: 9px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
  cursor: pointer;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav__sound:hover { color: var(--bone); border-color: var(--bone-dim); }
.nav__sound.is-on { color: var(--acid); border-color: var(--acid); }
@media (max-width: 480px) { .nav__sound { display: none; } }


/* ---------- sim v2: tiers + hardcore ---------- */
.sim__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--rule);
}
.sim__tier, .sim__hard {
  padding: 10px 16px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.sim__tier i { font-style: normal; color: var(--bone-faint); margin-left: 0.6em; }
.sim__tier:hover { border-color: var(--bone-dim); color: var(--bone); }
.sim__tier.is-sel { border-color: var(--acid); color: var(--acid); }
.sim__tier.is-sel i { color: var(--acid-dim); }
.sim__hard { margin-left: auto; }
.sim__hard.is-on {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
  animation: pnlBlink 1.2s steps(2, jump-none) infinite;
}
.sim__tiers.is-locked .sim__tier,
.sim__tiers.is-locked .sim__hard { opacity: 0.35; pointer-events: none; }

.sim__clock {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--bone-faint);
}
.sim__world {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-faint);
}
.sim__world b { color: var(--acid); font-weight: 700; }


/* ============================================================
   07 the waiting room
   ============================================================ */
.room {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border: 1px solid var(--rule);
}
.room__main { padding: clamp(24px, 3vw, 44px); }
.room__daily {
  padding: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--rule);
  background: var(--ink-2);
}

.room__k {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
}
.room__h {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 820;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: clamp(17px, 1.8vw, 23px);
  color: var(--bone);
}

.room__pp { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.room__pp b {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--acid);
}
.room__mult {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--bone);
  border: 1px solid var(--rule);
  padding: 4px 10px;
}
.room__mult.is-hot { color: var(--acid); border-color: var(--acid); }

.room__barwrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.room__bar {
  flex: 1;
  height: 2px;
  background: var(--rule);
  overflow: hidden;
}
.room__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--acid);
  box-shadow: 0 0 8px rgba(214, 255, 0, 0.5);
  transition: width 0.5s linear;
}

.room__status {
  margin-top: 18px;
  min-height: 1.6em;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
}

.room__rank {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.room__rank b {
  font-family: var(--display);
  font-weight: 860;
  font-stretch: 110%;
  text-transform: uppercase;
  font-size: clamp(19px, 2.2vw, 30px);
  color: var(--bone);
}
.room__stars { color: var(--acid); letter-spacing: 0.2em; }
.room__next {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
.room__prestige { margin-top: 22px; }
.room__log {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}

/* daily sit */
.daily__target {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
}
.daily__run { margin-top: 18px; }
.daily__run b {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 46px);
  font-variant-numeric: tabular-nums;
  color: var(--acid);
}
.daily__goal { font-family: var(--mono); color: var(--bone-faint); margin-left: 8px; }
.daily__hint {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
.daily__result {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: var(--bone-dim);
}
.daily__cal {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--acid);
}
.daily__claim { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.daily__name {
  flex: 1;
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
}
.daily__name:focus { outline: 2px solid var(--acid); outline-offset: 2px; }
#dailyShare { margin-top: 14px; }

/* leaderboard */
.room__lb { margin-top: clamp(30px, 4vw, 50px); }
.lb {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(24px, 4vw, 60px);
  border-top: 1px solid var(--rule);
}
.lb li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--rule);
  break-inside: avoid;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
}
.lb li b { color: var(--bone); font-weight: 500; }
.lb li .lb__s { color: var(--acid); font-variant-numeric: tabular-nums; }
.lb li:nth-child(1) b { color: var(--acid); }
.room__lbnote {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}

@media (max-width: 900px) {
  .room { grid-template-columns: 1fr; }
  .room__daily { border-left: 0; border-top: 1px solid var(--rule); }
  .lb { columns: 1; }
}


/* ============================================================
   07 the waiting room
   ============================================================ */
.room {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border: 1px solid var(--rule);
}
.room__main { padding: clamp(24px, 3vw, 44px); }
.room__daily {
  padding: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--rule);
  background: var(--ink-2);
}

.room__k {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
}
.room__h {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 820;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: clamp(17px, 1.8vw, 23px);
  color: var(--bone);
}

.room__pp { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.room__pp b {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--acid);
}
.room__mult {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--bone);
  border: 1px solid var(--rule);
  padding: 4px 10px;
}
.room__mult.is-hot { color: var(--acid); border-color: var(--acid); }

.room__barwrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.room__bar {
  flex: 1;
  height: 2px;
  background: var(--rule);
  overflow: hidden;
}
.room__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--acid);
  box-shadow: 0 0 8px rgba(214, 255, 0, 0.5);
  transition: width 0.5s linear;
}

.room__status {
  margin-top: 18px;
  min-height: 1.6em;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
}

.room__rank {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.room__rank b {
  font-family: var(--display);
  font-weight: 860;
  font-stretch: 110%;
  text-transform: uppercase;
  font-size: clamp(19px, 2.2vw, 30px);
  color: var(--bone);
}
.room__stars { color: var(--acid); letter-spacing: 0.2em; }
.room__next {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
.room__prestige { margin-top: 22px; }
.room__log {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}

/* daily sit */
.daily__target {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
}
.daily__run { margin-top: 18px; }
.daily__run b {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 46px);
  font-variant-numeric: tabular-nums;
  color: var(--acid);
}
.daily__goal { font-family: var(--mono); color: var(--bone-faint); margin-left: 8px; }
.daily__hint {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
.daily__result {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: var(--bone-dim);
}
.daily__cal {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--acid);
}
.daily__claim { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.daily__name {
  flex: 1;
  min-width: 120px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
}
.daily__name:focus { outline: 2px solid var(--acid); outline-offset: 2px; }
#dailyShare { margin-top: 14px; }

/* leaderboard */
.room__lb { margin-top: clamp(30px, 4vw, 50px); }
.lb {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(24px, 4vw, 60px);
  border-top: 1px solid var(--rule);
}
.lb li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--rule);
  break-inside: avoid;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
}
.lb li b { color: var(--bone); font-weight: 500; }
.lb li .lb__s { color: var(--acid); font-variant-numeric: tabular-nums; }
.lb li:nth-child(1) b { color: var(--acid); }
.room__lbnote {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}

@media (max-width: 900px) {
  .room { grid-template-columns: 1fr; }
  .room__daily { border-left: 0; border-top: 1px solid var(--rule); }
  .lb { columns: 1; }
}


/* ---------- share rows ---------- */
.shareRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.shareRow__btn {
  padding: 11px 18px;
  border: 1px solid var(--rule);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.shareRow__btn:hover { color: var(--acid); border-color: var(--acid); }
.sec--acid .shareRow__btn { border-color: rgba(6,7,4,0.4); color: rgba(6,7,4,0.7); }
.sec--acid .shareRow__btn:hover { border-color: var(--ink); color: var(--ink); }
#dailyCardRow { justify-content: flex-start; }


/* ---------- live price chip ---------- */
.nav__price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.4s var(--ease);
}
.nav__price:hover { border-color: var(--acid); }
.nav__price b { font-weight: 500; color: var(--bone); }
.nav__price i { font-style: normal; font-size: 10px; }
.nav__price i.up { color: var(--acid); }
.nav__price i.down { color: rgba(233, 231, 220, 0.45); }
@media (max-width: 700px) { .nav__price { display: none; } }




/* ============================================================
   GAMES FACELIFT — instrument panels, not admin panels.
   This layer overrides the earlier game component styles.
   ============================================================ */

/* ---------- 05 the test ---------- */
.hold {
  width: min(540px, 100%);
  padding: 30px 36px;
}
.hold__label { font-size: 13px; letter-spacing: 0.26em; }
.test__status { font-size: 12px; margin-top: 24px; }

/* ---------- 06 the simulation ---------- */
.sim {
  background: linear-gradient(180deg, var(--ink-2), var(--ink) 60%);
  box-shadow: 0 0 80px rgba(214, 255, 0, 0.04);
}

.sim__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
  padding: 18px;
}
.sim__tier {
  padding: 13px 10px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.sim__tier i { display: block; margin: 5px 0 0; font-size: 10px; }
.sim__tier.is-sel { background: var(--acid-ghost); }
.sim__hard { margin-left: 0; padding: 13px 22px; align-self: stretch; }

.sim__hud {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 18px;
  padding: 22px 22px 16px;
}
.sim__hud .sim__k { grid-column: 1; }
.sim__pnl {
  grid-column: 1;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.sim__pnl.is-up { text-shadow: 0 0 30px rgba(214, 255, 0, 0.35); }
.sim__clock {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  color: var(--bone-dim);
}
.sim__clock:empty { display: none; }
.sim__stats {
  grid-column: 1 / -1;
  margin-left: 0;
  margin-top: 12px;
  font-size: 10px;
}

.sim__stage {
  border-top: 1px solid var(--rule);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(233, 231, 220, 0.035) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(233, 231, 220, 0.035) 39px 40px),
    var(--ink-2);
}
#simCanvas { height: clamp(280px, 44vh, 430px); }
.sim__taunt {
  left: 16px;
  right: 16px;
  bottom: 12px;
  font-size: 11px;
  color: var(--acid-dim);
  text-shadow: 0 1px 4px rgba(6, 7, 4, 0.9);
}
.sim__taunt:not(:empty)::after {
  content: "▌";
  margin-left: 6px;
  animation: pnlBlink 1s steps(2, jump-none) infinite;
}

.sim__row { padding: 24px 18px; min-height: 120px; }
.sim__sell {
  width: min(440px, 100%);
  padding: 21px 36px;
  font-size: 15px;
  letter-spacing: 0.3em;
}
.sim__world { text-align: left; }

.sim__over { gap: 18px; }
.sim__verdict { font-size: clamp(34px, 6vw, 74px); }
.sim__detail { font-size: 12.5px; }

/* ---------- 07 the waiting room ---------- */
.room {
  background: linear-gradient(180deg, var(--ink-2), var(--ink) 70%);
  box-shadow: 0 0 80px rgba(214, 255, 0, 0.04);
}
.room__main { padding: clamp(28px, 3.4vw, 52px); }

.room__pp {
  display: block;
  position: relative;
}
.room__pp .room__k { display: block; margin-bottom: 10px; }
.room__pp b {
  display: inline-block;
  font-size: clamp(54px, 8vw, 104px);
  letter-spacing: -0.01em;
  text-shadow: 0 0 40px rgba(214, 255, 0, 0.3);
}
.room__mult {
  position: relative;
  top: -0.5em;
  margin-left: 14px;
  font-size: 16px;
  padding: 6px 12px;
}
.room__mult.is-hot { box-shadow: 0 0 16px rgba(214, 255, 0, 0.25); }

.room__barwrap { margin-top: 26px; gap: 16px; }
.room__bar { height: 4px; }

.room__status { margin-top: 20px; }

.room__rank { gap: 16px; margin-top: 30px; padding-top: 26px; }
.room__rank b { font-size: clamp(26px, 3.4vw, 46px); }
.room__stars { font-size: 18px; }
.room__rankbar {
  display: block;
  height: 5px;
  margin-top: 14px;
  background: var(--rule);
  overflow: hidden;
}
.room__rankbar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--acid-dim), var(--acid));
  box-shadow: 0 0 10px rgba(214, 255, 0, 0.5);
  transition: width 0.8s var(--ease);
}
.room__next {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}

/* the daily sit — a ritual card */
.room__daily { padding: clamp(28px, 3.4vw, 52px); }
.room__daily .room__h { font-size: clamp(20px, 2vw, 27px); }
.daily__target { font-size: 11.5px; line-height: 1.8; }
.daily__run { margin-top: 22px; text-align: center; padding: 26px 16px; border: 1px solid var(--acid); }
.daily__run b { font-size: clamp(52px, 7vw, 84px); text-shadow: 0 0 30px rgba(214, 255, 0, 0.35); }
.daily__goal { font-size: 15px; }
.daily__hint { margin-top: 14px; }
.daily__cal {
  margin-top: 18px;
  font-size: 21px;
  letter-spacing: 0.42em;
  line-height: 1.6;
}
.daily__result { font-size: 11.5px; }

/* leaderboard — podium up top */
.room__lb { margin-top: clamp(34px, 4vw, 54px); border: 1px solid var(--rule); padding: clamp(24px, 3vw, 40px); }
.lb { border-top: 0; }
.lb li { padding: 13px 6px; font-size: 12.5px; }
.lb li b { letter-spacing: 0.06em; }
.lb li:nth-child(1) b::before,
.lb li:nth-child(2) b::before,
.lb li:nth-child(3) b::before { content: "✦ "; color: var(--acid); }
.lb li:nth-child(1) b,
.lb li:nth-child(1) .lb__s { color: var(--acid); font-weight: 700; }

/* share rows: real tap targets */
.shareRow__btn { padding: 13px 20px; font-size: 10.5px; }

/* ============================================================
   games on a phone — thumbs, not cursors
   ============================================================ */
@media (max-width: 720px) {
  .sim__tiers { grid-template-columns: repeat(3, 1fr); padding: 14px; gap: 8px; }
  .sim__hard { grid-column: 1 / -1; }

  .sim__hud { padding: 18px 16px 14px; }
  .sim__pnl { font-size: clamp(44px, 13vw, 64px); }
  .sim__clock { font-size: 12px; padding: 7px 10px; }
  .sim__stats { letter-spacing: 0.12em; line-height: 1.9; }

  #simCanvas { height: clamp(240px, 38vh, 340px); }

  .sim__row { padding: 18px 14px 22px; flex-direction: column; }
  .sim__row .btn { width: 100%; justify-content: center; padding: 18px; }
  .sim__sell { width: 100%; padding: 22px; font-size: 16px; }

  .sim__over { padding: 16px; }
  .sim__detail { font-size: 11.5px; line-height: 1.8; }

  .room__main, .room__daily { padding: 24px 18px 30px; }
  .room__pp b { font-size: clamp(56px, 17vw, 78px); }
  .room__mult { font-size: 14px; margin-left: 10px; }
  .room__rank { gap: 10px 14px; }
  .room__rank b { font-size: clamp(26px, 8vw, 36px); }
  .room .btn, .room__prestige { width: 100%; justify-content: center; padding: 17px; }
  .daily__claim { flex-direction: column; }
  .daily__claim .daily__name { width: 100%; min-width: 0; padding: 15px 14px; font-size: 14px; }
  .daily__cal { font-size: 18px; letter-spacing: 0.38em; }

  .room__lb { padding: 18px 14px; }
  .lb li { font-size: 12px; }

  .hold { padding: 26px 20px; }
  .hold__label { font-size: 12px; letter-spacing: 0.2em; }

  .shareRow { gap: 8px; }
  .shareRow__btn { flex: 1 1 40%; padding: 14px 8px; }

  .sim__world { font-size: 9.5px; letter-spacing: 0.14em; line-height: 2; }
}


/* ============================================================
   the ledger of deeds
   ============================================================ */
.deeds {
  margin-top: clamp(24px, 3vw, 38px);
  border: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}
.deeds__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.deeds__head .room__h { margin: 0; }
.deeds__count {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}
.deeds__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.deed {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  opacity: 0.4;
  transition: opacity 0.6s var(--ease), border-color 0.6s var(--ease);
}
.deed.is-won {
  opacity: 1;
  border-color: var(--acid-dim);
  box-shadow: 0 0 16px rgba(214, 255, 0, 0.08);
}
.deed__glyph {
  flex: none;
  min-width: 44px;
  padding: 9px 6px;
  border: 1px solid var(--rule);
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bone-faint);
}
.deed.is-won .deed__glyph {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}
.deed__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.deed__body b {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--bone);
}
.deed:not(.is-won) .deed__body b { color: var(--bone-dim); }
.deed__body i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bone-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deeds__share { margin-top: 18px; }
.deeds__share .shareRow { justify-content: flex-start; margin-top: 0; }

@media (max-width: 720px) {
  .deeds { padding: 18px 14px; }
  .deeds__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .deed { padding: 11px 10px; gap: 10px; }
  .deed__glyph { min-width: 38px; font-size: 11px; }
  .deed__body b { font-size: 11px; }
  .deed__body i { font-size: 8.5px; }
  .deeds__share .shareRow__btn { flex: 1 1 40%; }
}


/* ---------- artifact downloads ---------- */
.plate figcaption { align-items: center; }
.plate__dl {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--bone-faint);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.plate__dl:hover { color: var(--acid); border-color: var(--acid); }

.plate__save {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 11px 16px;
  background: rgba(6, 7, 4, 0.85);
  border: 1px solid var(--acid);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--acid);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              background 0.3s;
}
.plate__save:hover { background: var(--acid); color: var(--ink); }
@media (hover: hover) {
  .plate:hover .plate__save { opacity: 1; transform: none; }
}
@media (hover: none), (pointer: coarse) {
  .plate__save { display: none; }
  .plate__dl { padding: 9px 13px; font-size: 10.5px; }
}


/* ============================================================
   the vault — full-screen artifact viewer
   ============================================================ */
.vault {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 30px);
  padding: clamp(14px, 3vw, 40px);
  background: rgba(4, 5, 2, 0.96);
}
.vault__fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: min(880px, 92vw);
}
.vault__img {
  max-width: 100%;
  max-height: min(68vh, 720px);
  border: 1px solid var(--rule);
  box-shadow: 0 0 80px rgba(214, 255, 0, 0.1);
}
.vault__cap {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  max-width: 52ch;
}
.vault__num {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--acid);
}
.vault__name {
  font-family: var(--display);
  font-weight: 860;
  font-stretch: 110%;
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--bone);
}
.vault__lore {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--bone-dim);
}
.vault__dl {
  margin-top: 8px;
  padding: 12px 22px;
  border: 1px solid var(--acid);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--acid);
  transition: background 0.3s, color 0.3s;
}
.vault__dl:hover { background: var(--acid); color: var(--ink); }

.vault__x {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  width: 46px;
  height: 46px;
  border: 1px solid var(--rule);
  background: transparent;
  font-size: 16px;
  color: var(--bone-dim);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.vault__x:hover { color: var(--acid); border-color: var(--acid); }

.vault__nav {
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--rule);
  background: rgba(6, 7, 4, 0.8);
  font-size: 18px;
  color: var(--bone-dim);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.vault__nav:hover { color: var(--acid); border-color: var(--acid); }

@media (max-width: 720px) {
  .vault { flex-direction: column; padding-bottom: 20px; }
  .vault__img { max-height: 56vh; }
  .vault__nav { position: fixed; bottom: 16px; width: 44%; height: 52px; }
  .vault__nav--prev { left: 4%; }
  .vault__nav--next { right: 4%; }
  .vault__lore { font-size: 13px; }
  .vault__cap { padding-bottom: 76px; }
}

/* a flying butterfly can be caught */
.bfly.is-flying { pointer-events: auto; cursor: pointer; }
