/* CashCatStrategy — shared styles.
   Paper-ledger light theme: cream paper, near-black ink, vermilion accent,
   sage secondary. No gold, no black background — see CLAUDE build spec. */

:root {
  /* Degen dark — pulled off the Cash Cats art itself: black ground, confetti neons,
     cash green. The old cream/ledger palette is gone. */
  --paper: #0B0A0D;
  --paper-2: #141218;
  --paper-3: #1D1A22;
  --ink: #FFFFFF;
  --ink-soft: #C9C4D4;
  --muted: #8A8398;
  --red: #FF3B6B;
  --red-hover: #FF6188;
  --sage: #3BE8B0;
  --sage-hover: #6BF2C6;
  --line: #2A2632;
  --white: #FFFFFF;
  --confetti-1: #FFD23F;
  --confetti-2: #3BE8B0;
  --confetti-3: #FF3B6B;
  --confetti-4: #4CC9F0;
  --confetti-5: #B15CFF;
  --cash: #58D68D;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); }
::selection { background: var(--red); color: var(--paper); }

button { touch-action: manipulation; }

.mono { font-family: 'IBM Plex Mono', monospace; }

/* ---------- keyframes for the step icons + paw drift ---------- */
@keyframes pawFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes coinDrop { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { transform: translateY(26px); opacity: 1; } 100% { transform: translateY(30px); opacity: 0; } }
@keyframes pawSweep { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(104px); } }
@keyframes perchLight { 0%, 15% { background: var(--paper-3); } 30%, 70% { background: var(--red); } 85%, 100% { background: var(--paper-3); } }
@keyframes tagFlip { 0%, 35% { transform: rotateY(0deg); } 55%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes flameFlick { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.14, 0.9); } }
@keyframes tokBurn { 0% { transform: translateY(0) scale(1); opacity: 1; } 60% { transform: translateY(22px) scale(1); opacity: 0.9; } 100% { transform: translateY(30px) scale(0.4); opacity: 0; } }
@keyframes tailFlick { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(4deg); } }

/* =========================================================
   LANDING
   ========================================================= */

.lp-root { position: relative; isolation: isolate; }

.lp-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lp-bg > div { position: absolute; will-change: transform; color: var(--ink-soft); }
.lp-bg svg { width: 100%; height: 100%; display: block; }

.lp-content { position: relative; z-index: 1; }

.lp-nav {
  max-width: 1080px; margin: 0 auto; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { color: var(--red); font-family: 'Fraunces', serif; font-size: 16px; font-weight: 900; letter-spacing: 0.1em; }
.lp-nav-links { display: flex; align-items: center; gap: 28px; }

.btn-ghost-text {
  background: none; border: none; color: var(--muted); font-size: 13px;
  font-family: inherit; cursor: pointer; letter-spacing: 0.02em; padding: 0;
}
.btn-ghost-text:hover { color: var(--ink); }

.btn-solid {
  background: var(--red); color: var(--white); border: none; border-radius: 999px;
  padding: 9px 22px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; letter-spacing: 0.02em;
}
.btn-solid:hover { background: var(--red-hover); }

.btn-solid-lg {
  background: var(--red); color: var(--white); border: none; border-radius: 999px;
  padding: 17px 44px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.btn-solid-lg:hover { background: var(--red-hover); }

.btn-outline-lg {
  background: transparent; color: var(--red); border: 1.5px solid var(--red); border-radius: 999px;
  padding: 17px 44px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.btn-outline-lg:hover { color: var(--red-hover); border-color: var(--red-hover); }

.hero {
  text-align: center; padding: 110px 32px 70px;
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hero-eyebrow { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.28em; margin-bottom: 28px; }
.hero h1 {
  margin: 0; font-size: 88px; font-weight: 900; letter-spacing: -0.01em; font-style: normal;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--ink); max-width: 900px; line-height: 1.06; text-wrap: pretty;
}
.hero-sub { color: var(--ink-soft); font-size: 17px; max-width: 520px; margin: 22px auto 0; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; margin-top: 48px; }
.hero-cat { width: 150px; height: auto; margin-top: 36px; color: var(--ink-soft); }

.thesis { max-width: 1080px; margin: 0 auto; padding: 70px 32px 40px; }
.thesis-eyebrow { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.28em; text-align: center; margin-bottom: 32px; }

.serp { position: relative; width: 100%; aspect-ratio: 1000 / 1780; }
.serp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.step {
  position: absolute; z-index: 3; width: 320px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.step.revealed { opacity: 1; transform: translateY(0); }
.step-num { color: var(--red); font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.1em; }
.step-title { color: var(--ink); font-family: 'Fraunces', serif; font-size: 24px; font-weight: 900; }
.step-body { color: var(--ink-soft); font-size: 16px; line-height: 1.6; text-wrap: pretty; }

.step-1 { top: 4%; left: 2%; }
.step-2 { top: 22%; right: 0; width: 320px; }
.step-3 { top: 48%; left: 2%; width: 300px; }
.step-4 { top: 72%; right: 0; }

.icon-collect { position: relative; width: 110px; height: 56px; margin-top: 6px; }
.icon-collect .coin { position: absolute; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); opacity: 0; animation: coinDrop 2.1s ease-in infinite; }
.icon-collect .coin:nth-child(1) { left: 16px; }
.icon-collect .coin:nth-child(2) { left: 42px; animation-delay: 0.7s; }
.icon-collect .coin:nth-child(3) { left: 68px; animation-delay: 1.4s; }
.icon-collect .tray { position: absolute; bottom: 0; left: 0; width: 94px; height: 16px; background: var(--paper-3); border-radius: 5px; }
.icon-collect .line { position: absolute; bottom: 13px; left: 8px; width: 78px; height: 2px; background: var(--red); opacity: 0.55; }

.icon-pounce { position: relative; width: 130px; height: 56px; margin-top: 6px; }
.icon-pounce .dot { position: absolute; bottom: 0; width: 12px; height: 12px; border-radius: 3px; background: var(--paper-3); animation: perchLight 2.8s infinite; }
.icon-pounce .dot:nth-child(1) { left: 8px; animation-delay: 0.3s; }
.icon-pounce .dot:nth-child(2) { left: 36px; animation-delay: 0.65s; }
.icon-pounce .dot:nth-child(3) { left: 64px; animation-delay: 1s; }
.icon-pounce .dot:nth-child(4) { left: 92px; animation-delay: 1.35s; }
.icon-pounce .paw { position: absolute; bottom: 0; left: 0; width: 22px; height: 26px; border: 1.5px solid var(--red); border-bottom: none; border-radius: 10px 10px 0 0; animation: pawSweep 2.8s ease-in-out infinite; }

.icon-perch { width: 130px; height: 56px; margin-top: 6px; perspective: 300px; display: flex; align-items: center; }
.icon-perch .flipper { position: relative; width: 88px; height: 34px; transform-style: preserve-3d; animation: tagFlip 3.4s ease-in-out infinite; }
.icon-perch .face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.icon-perch .face.front { border: 1px solid var(--muted); color: var(--muted); }
.icon-perch .face.back { transform: rotateY(180deg); border: 1px solid var(--red); color: var(--red); }

.icon-burn { position: relative; width: 150px; height: 56px; margin-top: 6px; }
.icon-burn .tok { position: absolute; left: 24px; top: 2px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--sage); animation: tokBurn 2.6s ease-in infinite; }
.icon-burn .flame { position: absolute; left: 17px; bottom: 0; width: 26px; height: 30px; background: var(--red); border-radius: 50% 50% 44% 44% / 72% 72% 28% 28%; transform-origin: 50% 100%; animation: flameFlick 1.1s ease-in-out infinite; }
.icon-burn .flame-core { position: absolute; left: 25px; bottom: 0; width: 10px; height: 13px; background: var(--paper); border-radius: 50% 50% 44% 44% / 70% 70% 30% 30%; }

.par { position: absolute; z-index: 1; color: var(--ink-soft); }
.par-inner { cursor: default; }
.par-inner svg { width: 100%; height: 100%; display: block; }
.par-1 { top: 1%; left: 66%; width: 132px; height: 132px; }
.par-2 { top: 15%; left: 40%; width: 96px; height: 96px; }
.par-3 { top: 25%; left: 8%; width: 148px; height: 148px; }
.par-4 { top: 38%; left: 44%; width: 118px; height: 118px; }
.par-5 { top: 50%; left: 70%; width: 106px; height: 106px; }
.par-6 { top: 62%; left: 40%; width: 156px; height: 156px; }
.par-7 { top: 84%; left: 30%; width: 122px; height: 122px; }

/* mobile serpentine variant */
.serp-m { position: relative; padding: 8px 0 8px 64px; display: none; }
.serp-m svg { position: absolute; left: 14px; top: 0; height: 100%; width: 36px; overflow: visible; }
.serp-m .steps-col { display: flex; flex-direction: column; gap: 56px; }
.serp-m .step { position: static; width: auto; }
.serp-m .mobile-thumbs { display: flex; gap: 10px; }
.serp-m .mobile-thumbs > div { width: 96px; height: 96px; color: var(--ink-soft); }
.serp-m .mobile-thumbs svg { width: 100%; height: 100%; display: block; }

.lp-footer {
  border-top: 1px solid var(--line); padding: 56px 32px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.footer-brand { color: var(--red); font-family: 'Fraunces', serif; font-size: 14px; font-weight: 900; letter-spacing: 0.1em; }
.social-row { display: flex; gap: 12px; }
.social-badge {
  width: 30px; height: 30px; border: 1px solid var(--muted); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 11px; cursor: pointer; text-decoration: none;
}
.social-badge:hover { border-color: var(--red); color: var(--red); }
.ca-btn {
  background: none; border: none; cursor: pointer; color: var(--red);
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.04em; padding: 0;
}
.ca-btn:hover { color: var(--red-hover); }
.ca-btn:disabled { color: var(--muted); cursor: default; }
.chip-disabled {
  display: inline-flex; align-items: center; gap: 6px; color: var(--muted); background: var(--paper-2);
  border: 1px dashed var(--line); border-radius: 999px; padding: 8px 18px; font-size: 12px;
  font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.03em; cursor: default; margin-top: 6px;
}
.disclaimer { color: var(--muted); font-size: 12px; max-width: 480px; text-align: center; line-height: 1.6; }

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 400;
  background: var(--ink); color: var(--paper); font-size: 13px; letter-spacing: 0.02em;
  padding: 12px 22px; border-radius: 999px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.toast.show { opacity: 1; }

@media (max-width: 720px) {
  .hero { padding: 90px 24px 60px; }
  .hero h1 { font-size: 44px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .btn-solid-lg, .btn-outline-lg { padding: 15px 0; width: 100%; text-align: center; }
  .serp { display: none; }
  .serp-m { display: block; }
  .lp-nav-links { gap: 16px; }
}

/* =========================================================
   DASHBOARD — /den
   ========================================================= */

.dash-mobile { display: flex; justify-content: center; }
.dash-mobile-inner {
  width: 100%; max-width: 430px; min-height: 100vh; display: flex; flex-direction: column;
  padding: 0 20px; position: relative; box-sizing: border-box;
}
.dash-mobile-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px 0; }
.menu-btn { background: none; border: none; cursor: pointer; padding: 8px 4px; display: flex; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); }

.menu-pop {
  position: absolute; top: 62px; right: 20px; z-index: 250; background: var(--white);
  border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: none; flex-direction: column; min-width: 170px;
  box-shadow: 0 8px 24px rgba(24,21,18,0.08);
}
.menu-pop.open { display: flex; }
.menu-pop button, .menu-pop a {
  background: none; border: none; text-align: left; color: var(--muted); font-size: 14px;
  font-family: inherit; cursor: pointer; padding: 11px 16px; border-radius: 10px; text-decoration: none; display: block;
}
.menu-pop button:hover, .menu-pop a:hover { color: var(--ink); background: var(--paper-2); }

.treasury-block { text-align: center; margin-top: 54px; }
.treasury-label { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.26em; margin-bottom: 18px; }
.treasury-value {
  color: var(--red); font-family: 'IBM Plex Mono', monospace; font-size: 54px; font-weight: 500; letter-spacing: 0; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.treasury-value .glyph { font-size: 32px; vertical-align: 6px; margin-right: 6px; }
.treasury-usd { color: var(--muted); font-size: 15px; margin-top: 14px; }
.src-line { color: var(--muted); font-size: 11px; margin-top: 10px; font-family: 'IBM Plex Mono', monospace; line-height: 1.6; }
.src-line .err { color: var(--red); }

.stat-row { display: flex; justify-content: center; margin-top: 30px; }
.stat-row-inner { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; }
.stat { padding: 0 22px; display: flex; flex-direction: column; gap: 6px; max-width: 160px; }
.stat-val { color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 600; white-space: nowrap; }
.stat-val.unavailable { color: var(--muted); font-weight: 400; font-style: italic; }
.stat-lbl { color: var(--muted); font-size: 10px; letter-spacing: 0.16em; }
.stat-sub { color: var(--red); font-size: 10px; margin-top: 2px; }
.stat-src { color: var(--muted); font-size: 9px; line-height: 1.5; margin-top: 2px; white-space: normal; }
.stat-div { width: 1px; background: var(--line); }

.mini-stats { margin-top: 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }
.mini-stat-row {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.mini-stat-row:last-child { border-bottom: none; }
.mini-stat-lbl { color: var(--muted); font-size: 12px; }
.mini-stat-val { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; text-align: right; }
.mini-stat-val.unavailable { color: var(--muted); font-weight: 400; font-style: italic; }

.history-block { margin-top: 36px; }
.history-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.history-title { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.26em; }
.streaming { display: flex; align-items: center; gap: 6px; }
.streaming-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.streaming span { color: var(--muted); font-size: 11px; }
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-row {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; color: inherit;
}
.history-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.history-thumb {
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--red);
  font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.history-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.history-tag-row { display: flex; align-items: center; gap: 8px; }
.history-tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.08em; color: var(--red);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; flex-shrink: 0;
}
.history-title2 { color: var(--ink); font-size: 14px; font-weight: 600; }
.history-meta { color: var(--muted); font-size: 12px; }
.history-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.history-amt { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--red); }
.history-link { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.history-empty { color: var(--muted); font-size: 13px; padding: 28px 12px; text-align: center; line-height: 1.6; }

.vault-block { margin-top: 38px; }
.vault-label { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.26em; margin-bottom: 14px; }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vault-tile { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.vault-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vault-tile .vault-tile-name { font-size: 9px; color: var(--muted); text-align: center; padding: 4px; }
.vault-more { color: var(--muted); font-size: 13px; font-weight: 500; }
.vault-empty { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding: 24px 12px; text-align: center; line-height: 1.6; }

.dash-mobile-actions {
  position: sticky; bottom: 0; background: var(--paper); padding: 14px 0 24px;
  display: flex; flex-direction: column; gap: 10px; margin-top: auto;
}
.btn-outline-full {
  width: 100%; background: transparent; color: var(--red); border: 1.5px solid var(--red);
  border-radius: 999px; padding: 17px 0; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; text-align: center;
}
.btn-outline-full:hover { color: var(--red-hover); border-color: var(--red-hover); }
.btn-solid-full {
  width: 100%; background: var(--red); color: var(--white); border: none;
  border-radius: 999px; padding: 17px 0; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.btn-solid-full:hover { background: var(--red-hover); }

/* --- desktop dashboard --- */
.dash-desk { max-width: 1160px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; min-height: 100vh; }
.dash-desk-nav { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; }
.dash-desk-nav-right { display: flex; align-items: center; gap: 26px; }
.btn-row { display: flex; gap: 10px; }
.btn-outline-sm {
  background: transparent; color: var(--red); border: 1.5px solid var(--red); border-radius: 999px;
  padding: 10px 24px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.btn-outline-sm:hover { color: var(--red-hover); border-color: var(--red-hover); }
.btn-solid-sm {
  background: var(--red); color: var(--white); border: none; border-radius: 999px;
  padding: 10px 24px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.btn-solid-sm:hover { background: var(--red-hover); }

.dash-desk-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 48px; align-items: start; padding: 36px 0 80px;
}
.dash-desk .treasury-block { margin-top: 24px; }
.dash-desk .treasury-value { font-size: clamp(48px, 7.5vw, 84px); }
.dash-desk .treasury-value .glyph { font-size: 0.6em; vertical-align: 0.1em; margin-right: 8px; }
.dash-desk .treasury-usd { font-size: 16px; margin-top: 16px; }
.dash-desk .stat-row { margin-top: 38px; }
.dash-desk .stat { padding: 0 28px; }
.dash-desk .stat-val { font-size: 17px; }
.dash-desk .mini-stats { margin-top: 34px; padding: 4px 20px; }
.dash-desk .mini-stat-row { padding: 13px 0; }
.dash-desk .mini-stat-lbl { font-size: 13px; }
.dash-desk .mini-stat-val { font-size: 14px; }
.dash-desk .vault-block { margin-top: 44px; }
.dash-desk .vault-grid { gap: 12px; }
.dash-desk .vault-tile { border-radius: 12px; }

@media (max-width: 799px) {
  .dash-desk { display: none; }
}
@media (min-width: 800px) {
  .dash-mobile { display: none; }
}


/* --- The Quarry: real Cash Cats from the live collection --- */
.quarry{max-width:1100px;margin:0 auto;padding:88px 24px 40px;text-align:center}
.quarry-title{font-size:clamp(24px,3.4vw,38px);line-height:1.15;margin:14px 0 10px;color:var(--ink)}
.quarry-sub{color:var(--ink-soft);max-width:56ch;margin:0 auto 34px}
.quarry-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.quarry-cat{position:relative;display:block;border:1px solid var(--line);background:var(--white);
  border-radius:10px;overflow:hidden;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.quarry-cat img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.quarry-cat span{position:absolute;left:8px;bottom:8px;font-size:12px;letter-spacing:.04em;
  background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:2px 7px}
.quarry-cat:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(24,21,18,.14)}
.quarry-link{display:inline-block;margin-top:30px;color:var(--red);text-decoration:none;
  border-bottom:1px solid currentColor;padding-bottom:2px;font-size:15px}
.quarry-link:hover{color:var(--red-hover)}
@media (max-width:820px){.quarry-grid{grid-template-columns:repeat(2,1fr)}.quarry{padding-top:60px}}
@media (prefers-reduced-motion:reduce){.quarry-cat{transition:none}.quarry-cat:hover{transform:none}}


/* ============ DEGEN LAYER ============ */

body{
  background:
    radial-gradient(1200px 600px at 20% -5%, rgba(177,92,255,.16), transparent 60%),
    radial-gradient(900px 500px at 85% 5%, rgba(255,59,107,.14), transparent 60%),
    var(--paper);
}

/* confetti field */
body::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0; opacity:.5;
  background-image:
    radial-gradient(6px 10px at 12% 18%, var(--confetti-1) 99%, transparent),
    radial-gradient(7px 11px at 78% 12%, var(--confetti-2) 99%, transparent),
    radial-gradient(6px 9px  at 33% 62%, var(--confetti-3) 99%, transparent),
    radial-gradient(8px 12px at 88% 55%, var(--confetti-4) 99%, transparent),
    radial-gradient(6px 10px at 58% 32%, var(--confetti-5) 99%, transparent),
    radial-gradient(7px 10px at 6%  72%, var(--confetti-4) 99%, transparent),
    radial-gradient(6px 9px  at 46% 88%, var(--confetti-1) 99%, transparent),
    radial-gradient(7px 11px at 70% 78%, var(--confetti-3) 99%, transparent),
    radial-gradient(6px 10px at 94% 88%, var(--confetti-2) 99%, transparent),
    radial-gradient(6px 9px  at 22% 42%, var(--confetti-5) 99%, transparent);
  background-repeat:no-repeat;
}
main, header, nav, section, footer { position:relative; z-index:1; }

/* hero NFT, big and loud */
.hero-cat{
  width:min(420px,72vw); height:auto; border-radius:22px; display:block;
  margin:32px auto 0; border:3px solid var(--red);
  box-shadow:0 0 0 6px rgba(255,59,107,.16), 0 24px 70px rgba(0,0,0,.65);
  transform:rotate(-2deg);
}
h1{ letter-spacing:-.02em; text-shadow:0 0 44px rgba(255,59,107,.35); }

/* the little NFTs that replaced the drawn cats */
.nft-chip{
  width:112px; height:112px; object-fit:cover; border-radius:14px;
  border:2px solid var(--line); box-shadow:0 10px 26px rgba(0,0,0,.55);
}

/* quarry grid */
.quarry{padding-top:72px}
.quarry-grid{grid-template-columns:repeat(4,1fr);gap:14px}
.quarry-cat{
  background:var(--paper-2); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 10px 26px rgba(0,0,0,.5);
}
.quarry-cat:hover{ transform:translateY(-5px) rotate(-1.5deg); border-color:var(--red);
  box-shadow:0 18px 40px rgba(255,59,107,.28); }
.quarry-cat span{
  background:rgba(11,10,13,.86); color:#fff; border-color:var(--line);
  font-family:'IBM Plex Mono',monospace;
}

/* surfaces that assumed a light ground */
.step, .par-inner, .card, .panel, .stat, .tok { background:var(--paper-2); border-color:var(--line); }
.step-title, .stat-value { color:var(--ink); }
.step-body, .quarry-sub { color:var(--ink-soft); }
.thesis-eyebrow, .hero-eyebrow, .quarry-title { color:var(--ink); }
.hero-sub{ color:var(--ink-soft); }
::selection{ background:var(--red); color:#fff; }

/* chips + buttons */
.btn-solid, .btn-solid-lg{ background:var(--red); color:#fff; border-color:var(--red); }
.btn-solid:hover, .btn-solid-lg:hover{ background:var(--red-hover); border-color:var(--red-hover); }
.btn-outline-lg, .btn-ghost-text{ color:var(--ink); border-color:var(--line); }
.chip-disabled{ background:var(--paper-3); color:var(--muted); border-color:var(--line); }

@media (max-width:820px){ .quarry-grid{grid-template-columns:repeat(2,1fr)} }
@media (prefers-reduced-motion:reduce){ .hero-cat{transform:none} .quarry-cat:hover{transform:none} }
