/* ============================================
   $SMARTJAK — Edgy / Badass
   Not luck. Just smarter. Don’t fade it.
   ============================================ */

:root {
  --bg: #020203;
  --bg-2: #07070a;
  --bg-card: #0c0c10;
  --bg-elev: #111118;
  --line: rgba(255, 255, 255, 0.08);
  --line-hot: rgba(200, 255, 0, 0.5);

  --text: #f2f2f0;
  --text-dim: #8a8a92;
  --text-mute: #55555e;

  --mint: #c8ff00;
  --mint-deep: #9ecc00;
  --gold: #ffb800;
  --gold-soft: #d49200;
  --blue: #ff3b3b;
  --blue-soft: #ff6b6b;
  --ink: #000000;
  --blood: #ff1a1a;
  --acid: #c8ff00;

  --grad: linear-gradient(135deg, #c8ff00 0%, #ffb800 55%, #ff3b3b 100%);
  --grad-mint: linear-gradient(135deg, #9ecc00, #c8ff00);
  --grad-gold: linear-gradient(135deg, #d49200, #ffb800);

  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --nav-h: 70px;
  --ribbon-h: 34px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--mint) var(--bg);
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200, 255, 0, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 59, 59, 0.05), transparent 45%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(255, 184, 0, 0.04), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
  color: inherit;
}

/* ---- Custom cursor (ring style — not solid neon blob) ---- */
.cursor, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.8);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
}

.cursor.hover {
  width: 10px;
  height: 10px;
  background: var(--blood);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(200, 255, 0, 0.45);
  border-radius: 2px;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, opacity 0.25s, border-radius 0.25s;
  opacity: 0.85;
  transform: translate(-50%, -50%) rotate(45deg);
}

.cursor-ring.hover {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 26, 26, 0.6);
  opacity: 0.55;
}

@media (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
  button, a { cursor: pointer; }
}

/* ---- Atmosphere ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9988;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.hex-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 48px,
      rgba(200, 255, 0, 0.04) 48px,
      rgba(200, 255, 0, 0.04) 49px
    ),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 10%, transparent 75%);
}

.hex-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 26, 26, 0.07), transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(200, 255, 0, 0.06), transparent 28%);
  pointer-events: none;
}

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#sparks {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}

/* ---- Loader ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at 50% 40%, #121208 0%, #000 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s var(--ease) 0.2s, visibility 0.55s 0.2s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 255, 0, 0.08), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255, 26, 26, 0.08), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 184, 0, 0.05), transparent 50%);
  animation: ambient-shift 6s ease-in-out infinite alternate;
}

.loader-frame {
  position: relative;
  z-index: 2;
  width: min(440px, 90vw);
  text-align: center;
  padding: 1.5rem 1rem;
}

.loader-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--mint);
  border-style: solid;
  opacity: 0.6;
}
.loader-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.loader-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; border-color: var(--blue-soft); }
.loader-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-color: var(--blue-soft); }
.loader-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.loader-kernel {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--mint);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 16px rgba(125, 255, 179, 0.4);
  animation: blink-soft 1.4s step-end infinite;
}

.loader-avatar-wrap {
  position: relative;
  width: min(130px, 32vw);
  aspect-ratio: 1;
  margin: 0 auto 1.25rem;
}

.loader-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow:
    0 0 40px rgba(125, 255, 179, 0.25),
    0 0 80px rgba(91, 141, 239, 0.15);
  position: relative;
  z-index: 2;
  animation: float-soft 3s ease-in-out infinite;
}

/* Official B&W line-art face sits clean on white */
.face-clean {
  background-color: #fff !important;
  object-fit: contain !important;
}

.loader-orbit {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px solid transparent;
  z-index: 1;
}
.loader-orbit.a {
  border-top-color: var(--mint);
  border-right-color: rgba(125, 255, 179, 0.2);
  animation: spin 2.8s linear infinite;
}
.loader-orbit.b {
  inset: -26%;
  border-bottom-color: var(--gold);
  border-left-color: rgba(240, 199, 94, 0.25);
  animation: spin 4.2s linear infinite reverse;
}

.loader-pulse {
  position: absolute;
  inset: -8%;
  border-radius: 32%;
  border: 1px solid rgba(125, 255, 179, 0.3);
  z-index: 0;
  animation: pulse-ring 2s ease-out infinite;
}

.loader-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 12vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(125, 255, 179, 0.25));
}

.loader-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  margin: 0.5rem 0 1.4rem;
}

.loader-iq {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.loader-iq-label {
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 0.18em;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 184, 0, 0.45);
}

.loader-iq-val {
  font-size: clamp(3.6rem, 14vw, 5.5rem);
  line-height: 0.9;
  color: var(--text);
  text-shadow:
    0 0 32px rgba(200, 255, 0, 0.35),
    0 0 48px rgba(255, 184, 0, 0.2);
  transition: transform 0.1s;
  min-width: 2.4ch;
  letter-spacing: -0.03em;
}

.loader-iq-val.bump { transform: scale(1.1); }

.loader-meter {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(125, 255, 179, 0.15);
  position: relative;
}

.loader-meter-fill {
  height: 100%;
  width: 0%;
  background: var(--grad);
  background-size: 200% 100%;
  animation: grad-shift 2s linear infinite;
  transition: width 0.12s linear;
  box-shadow: 0 0 18px rgba(125, 255, 179, 0.5);
}

.loader-status {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--mint);
  min-height: 1.2em;
  transition: opacity 0.15s, transform 0.15s;
}

.loader-status.swap {
  opacity: 0;
  transform: translateY(5px);
}

.loader-log {
  margin-top: 1.25rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.55;
  color: rgba(125, 255, 179, 0.65);
  max-height: 96px;
  overflow: hidden;
  background: rgba(7, 20, 30, 0.55);
  border: 1px solid rgba(125, 255, 179, 0.12);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
}

.loader-log-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: log-in 0.25s var(--ease);
}

.loader-log-line.warn { color: var(--gold); }
.loader-log-line.ok { color: var(--mint); }

.loader-exit {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
  opacity: 0.9;
}

.loader.finishing .loader-exit {
  animation: wipe-y 0.65s var(--ease) forwards;
}

@keyframes ambient-shift {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}

@keyframes blink-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes grad-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes wipe-y {
  0% { transform: scaleY(0); transform-origin: bottom; }
  45% { transform: scaleY(1); transform-origin: bottom; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

@keyframes log-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 600px) {
  .loader-kernel { font-size: 0.52rem; letter-spacing: 0.1em; }
  .loader-avatar-wrap { width: min(100px, 28vw); }
  .loader-log { max-height: 70px; font-size: 0.55rem; }
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: rgba(200, 255, 0, 0.12);
  background: rgba(0, 0, 0, 0.94);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}

.nav-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 0 18px rgba(125, 255, 179, 0.25);
}

.nav-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.85rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}

.nav-ca {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  background: rgba(15, 24, 41, 0.6);
}

.nav-ca:hover {
  border-color: rgba(125, 255, 179, 0.4);
  color: var(--text);
  box-shadow: 0 0 20px rgba(125, 255, 179, 0.12);
}

.nav-ca-badge {
  background: var(--grad-mint);
  color: var(--ink);
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.62rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 6, 12, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.drawer.open {
  opacity: 1;
  visibility: visible;
}

.drawer a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.drawer a:hover { color: var(--mint); }

/* ---- Ribbon ---- */
.ribbon {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 50;
  height: var(--ribbon-h);
  background: #000;
  border-bottom: 1px solid rgba(200, 255, 0, 0.15);
  border-top: 1px solid rgba(255, 26, 26, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ribbon-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ribbon-track i {
  color: var(--mint);
  font-style: normal;
  font-size: 0.55rem;
  opacity: 0.8;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s, filter 0.25s;
  white-space: nowrap;
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.72rem; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 0.82rem; }
.btn-xl { padding: 1.15rem 2.3rem; font-size: 0.9rem; }

.btn-solid {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 0 0 transparent, 0 0 28px rgba(200, 255, 0, 0.2);
}

.btn-solid:hover {
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.4), 0 8px 28px rgba(200, 255, 0, 0.2);
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: none;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(200, 255, 0, 0.5);
  color: var(--acid);
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.12);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(var(--nav-h) + var(--ribbon-h) + 2.5rem)
    clamp(1.25rem, 5vw, 3.5rem)
    5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  z-index: 1;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 40%, rgba(200, 255, 0, 0.03) 50%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 80px,
      rgba(255, 255, 255, 0.015) 80px,
      rgba(255, 255, 255, 0.015) 81px
    );
}

.blob {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(90px);
  opacity: 0.45;
  animation: blob-drift 10s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.blob.b1 {
  width: 480px; height: 480px;
  background: rgba(200, 255, 0, 0.14);
  top: -5%; left: -10%;
}
.blob.b2 {
  width: 420px; height: 420px;
  background: rgba(255, 26, 26, 0.12);
  bottom: -5%; right: -5%;
  animation-delay: -4s;
}
.blob.b3 {
  width: 300px; height: 300px;
  background: rgba(255, 184, 0, 0.1);
  top: 35%; left: 45%;
  animation-delay: -7s;
}

@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1) rotate(0deg); }
  to { transform: translate(40px, -30px) scale(1.12) rotate(8deg); }
}

.hero-left, .hero-right {
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 26, 26, 0.4);
  background: rgba(255, 26, 26, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #ff6b6b;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.1);
}

.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 12px var(--blood);
  animation: blink-soft 1s ease-in-out infinite;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.4rem, 13vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.hero-line { display: block; color: var(--text); text-shadow: 0 0 40px rgba(255, 255, 255, 0.08); }

.hero-line.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(200, 255, 0, 0.25));
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-lead strong { color: var(--text); font-weight: 700; }
.mint { color: var(--mint); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.ca-panel {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(200, 255, 0, 0.18);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  max-width: 100%;
  cursor: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.ca-panel:hover {
  border-color: rgba(200, 255, 0, 0.45);
  box-shadow: 0 0 32px rgba(200, 255, 0, 0.1);
}

.ca-panel-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-bottom: 0.45rem;
}

.ca-panel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ca-code {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  color: var(--mint);
  word-break: break-all;
  flex: 1;
  line-height: 1.4;
}

.ca-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  position: relative;
}

.ca-btn:hover {
  color: var(--mint);
  border-color: rgba(125, 255, 179, 0.4);
  background: rgba(125, 255, 179, 0.06);
}

.ca-btn .i-check { display: none; }
.ca-btn.copied .i-copy { display: none; }
.ca-btn.copied .i-check { display: block; color: var(--mint); }

.ca-wide { margin-top: 2.5rem; }

/* Hero visual — tactical / edgy frame */
.hero-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.hero-blast {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, rgba(200, 255, 0, 0.12), transparent 30%, rgba(255, 26, 26, 0.1), transparent 60%, rgba(255, 184, 0, 0.1), transparent),
    radial-gradient(circle, rgba(200, 255, 0, 0.08) 0%, transparent 65%);
  animation: spin 14s linear infinite;
  filter: blur(2px);
  z-index: 0;
}

.hero-radar {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1px solid rgba(200, 255, 0, 0.18);
  box-shadow:
    inset 0 0 40px rgba(200, 255, 0, 0.05),
    0 0 60px rgba(200, 255, 0, 0.06);
  z-index: 0;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(200, 255, 0, 0.04) 0deg 2deg,
      transparent 2deg 18deg
    );
  animation: spin 40s linear infinite reverse;
  mask-image: radial-gradient(circle, transparent 42%, black 43%, black 70%, transparent 71%);
  -webkit-mask-image: radial-gradient(circle, transparent 42%, black 43%, black 70%, transparent 71%);
}

.hero-radar::before,
.hero-radar::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 26, 26, 0.25);
  animation: spin 22s linear infinite;
}

.hero-radar::after {
  inset: 24%;
  border-style: solid;
  border-color: rgba(255, 184, 0, 0.2);
  animation-direction: reverse;
  animation-duration: 16s;
}

.hero-crosshair {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-crosshair span {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--acid);
  border-style: solid;
  opacity: 0.7;
}

.hero-crosshair span:nth-child(1) {
  top: 6%; left: 6%;
  border-width: 2px 0 0 2px;
}
.hero-crosshair span:nth-child(2) {
  top: 6%; right: 6%;
  border-width: 2px 2px 0 0;
  border-color: var(--blood);
}
.hero-crosshair span:nth-child(3) {
  bottom: 6%; left: 6%;
  border-width: 0 0 2px 2px;
  border-color: var(--blood);
}
.hero-crosshair span:nth-child(4) {
  bottom: 6%; right: 6%;
  border-width: 0 2px 2px 0;
}

.hero-orbit-track {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  animation: spin 12s linear infinite;
}

.orbit-pip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  display: block;
}

.orbit-pip.p1 { top: 0; left: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.orbit-pip.p2 {
  bottom: 18%; right: 4%;
  background: var(--blood);
  box-shadow: 0 0 12px var(--blood);
  width: 6px; height: 6px;
}
.orbit-pip.p3 {
  bottom: 8%; left: 22%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  width: 5px; height: 5px;
}

.hero-frame {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  z-index: 2;
  transition: transform 0.15s ease-out;
  background: #fff;
  clip-path: polygon(
    12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%
  );
  box-shadow:
    0 0 0 1px rgba(200, 255, 0, 0.4),
    0 24px 70px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(200, 255, 0, 0.12),
    0 0 40px rgba(255, 26, 26, 0.08);
}

.hero-frame-edge {
  position: absolute;
  inset: -3px;
  z-index: -1;
  background: linear-gradient(135deg, var(--acid), transparent 40%, var(--blood) 100%);
  clip-path: polygon(
    12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%
  );
  opacity: 0.9;
  animation: edge-pulse 3s ease-in-out infinite;
}

.hero-frame-cut {
  position: absolute;
  width: 36px;
  height: 36px;
  z-index: 4;
  pointer-events: none;
}

.hero-frame-cut.cut-tl {
  top: 0; left: 0;
  border-top: 3px solid var(--acid);
  border-left: 3px solid var(--acid);
  box-shadow: -2px -2px 12px rgba(200, 255, 0, 0.35);
}

.hero-frame-cut.cut-br {
  bottom: 0; right: 0;
  border-bottom: 3px solid var(--blood);
  border-right: 3px solid var(--blood);
  box-shadow: 2px 2px 12px rgba(255, 26, 26, 0.35);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10%;
  background: #fff;
  display: block;
}

.hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 28%;
  top: -30%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(200, 255, 0, 0.12),
    transparent
  );
  animation: scan-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: multiply;
}

@keyframes edge-pulse {
  0%, 100% { opacity: 0.65; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.25); }
}

@keyframes scan-sweep {
  0% { top: -30%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.float-chip {
  position: absolute;
  z-index: 4;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  animation: float-chip 4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.float-chip.c1 {
  top: 10%;
  left: -2%;
  color: var(--gold);
  border-color: rgba(255, 184, 0, 0.45);
  animation-delay: 0s;
}
.float-chip.c2 {
  top: 24%;
  right: -6%;
  color: var(--blood);
  border-color: rgba(255, 26, 26, 0.45);
  animation-delay: -1.2s;
}
.float-chip.c3 {
  bottom: 16%;
  left: 0;
  color: var(--acid);
  border-color: rgba(200, 255, 0, 0.4);
  animation-delay: -2.4s;
}

.hero-threat {
  position: absolute;
  bottom: 4%;
  right: 4%;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--blood);
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 26, 26, 0.35);
  background: rgba(0, 0, 0, 0.75);
  animation: blink-soft 1.6s ease-in-out infinite;
}

@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--text-mute);
}

.scroll-bar {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--mint), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Metrics ---- */
.metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
  border-top: 1px solid rgba(200, 255, 0, 0.12);
  border-bottom: 1px solid rgba(255, 26, 26, 0.1);
}

.metric { text-align: center; min-width: 100px; }

.metric-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.metric-lab {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 0.35rem;
}

.metric-sep {
  width: 1px;
  height: 40px;
  background: var(--line);
}

/* ---- Sections ---- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.85rem;
}

.eyebrow.center, .h2.center, .sub.center { text-align: center; }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  color: var(--text-dim);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.body {
  color: var(--text-mute);
  margin-bottom: 1.5rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-media { position: relative; }

.media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.media-border {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid rgba(125, 255, 179, 0.2);
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(125, 255, 179, 0.05);
}

.media-badge {
  position: absolute;
  bottom: -0.75rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: var(--grad-gold);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(240, 199, 94, 0.25);
}

.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.checks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.check {
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0.7rem;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Thesis cards */
.thesis { background: linear-gradient(180deg, transparent, rgba(15, 24, 41, 0.4), transparent); }

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.thesis-card {
  background: rgba(8, 8, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.15s ease-out;
  transform-style: preserve-3d;
}

.thesis-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(200, 255, 0, 0.08),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.thesis-card:hover {
  border-color: rgba(200, 255, 0, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 255, 0, 0.06);
}

.thesis-card:hover::before { opacity: 1; }

.thesis-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.thesis-icon {
  font-size: 1.4rem;
  color: var(--mint);
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

.thesis-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.thesis-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.quote {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(200, 255, 0, 0.25);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200, 255, 0, 0.08), transparent 60%),
    rgba(0, 0, 0, 0.7);
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.quote-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.quote-attr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  text-transform: uppercase;
}

/* Banner */
.banner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 26, 26, 0.25);
  border-bottom: 1px solid rgba(200, 255, 0, 0.2);
  background: #000;
}

.banner-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  will-change: transform;
}

.banner-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200, 255, 0, 0.45);
  text-transform: uppercase;
}

/* Tokenomics */
.tok-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tok-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.tok-card {
  background: rgba(15, 24, 41, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.tok-card:hover {
  border-color: rgba(125, 255, 179, 0.3);
  transform: translateY(-3px);
}

.tok-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.tok-lab {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.tok-visual {
  display: flex;
  justify-content: center;
}

.tok-orb {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.tok-img {
  width: 72%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 40px rgba(240, 199, 94, 0.25),
    0 0 80px rgba(125, 255, 179, 0.1);
  border: 2px solid rgba(240, 199, 94, 0.35);
}

.tok-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(125, 255, 179, 0.3);
  animation: spin 18s linear infinite;
}

.tok-spin.rev {
  inset: 8%;
  border-style: solid;
  border-color: transparent;
  border-top-color: rgba(240, 199, 94, 0.4);
  border-bottom-color: rgba(91, 141, 239, 0.3);
  animation: spin 12s linear infinite reverse;
}

/* How to buy */
.howto-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step {
  display: flex;
  gap: 1.1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.55);
  transition: border-color 0.25s, background 0.25s;
}

.step:hover {
  border-color: rgba(200, 255, 0, 0.3);
  background: rgba(0, 0, 0, 0.85);
}

.step-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  min-width: 2.2rem;
}

.step-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.step-body p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.howto-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(125, 255, 179, 0.2);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(125, 255, 179, 0.1), transparent 55%),
    rgba(15, 24, 41, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.howto-panel-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.howto-token {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(240, 199, 94, 0.4);
  object-fit: contain;
  background: #fff;
  padding: 8px;
  box-shadow: 0 0 30px rgba(240, 199, 94, 0.2);
}

.howto-panel-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.howto-panel-inner p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 16rem;
}

.howto-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Finale */
.finale {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 8rem) 1.25rem;
  text-align: center;
  overflow: hidden;
}

.finale-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200, 255, 0, 0.1), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 26, 26, 0.08), transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 184, 0, 0.06), transparent 40%);
  pointer-events: none;
}

.finale-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.finale-face {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 0 36px rgba(125, 255, 179, 0.25);
  padding: 6px;
}

.finale-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.8vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  white-space: nowrap;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .finale-title {
    white-space: normal;
    font-size: clamp(1.2rem, 5.2vw, 1.6rem);
  }
}

.finale-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.finale-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.75rem;
}

.finale-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}

.finale-links a:hover {
  color: var(--mint);
  border-bottom-color: rgba(125, 255, 179, 0.4);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(200, 255, 0, 0.1);
  padding: 2.5rem 1.25rem 7rem;
  background: #000;
}

.footer-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

/* Lifestyle vibe gallery */
.vibe { padding-top: 0; }

.vibe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.vibe-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.vibe-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.vibe-card:hover img {
  transform: scale(1.04);
}

.vibe-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(4, 6, 12, 0.92), transparent);
}

@media (max-width: 700px) {
  .vibe-grid { grid-template-columns: 1fr; }
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-mute);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  text-transform: uppercase;
}

/* Sticky dock */
.dock {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 900;
  width: min(480px, calc(100% - 1.5rem));
  padding: 0;
  border: none;
  background: none;
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s;
}

.dock.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem 0.7rem 0.85rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.94);
  border: 1px solid rgba(200, 255, 0, 0.3);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(200, 255, 0, 0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.dock.copied .dock-inner {
  border-color: rgba(200, 255, 0, 0.65);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(200, 255, 0, 0.22);
}

.dock-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.dock-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  padding: 2px;
}

.dock-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.dock-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dock-text span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

.dock-action { flex-shrink: 0; pointer-events: none; }

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 4rem;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
    margin-bottom: 0.5rem;
  }

  .hero-lead { margin-left: auto; margin-right: auto; }

  .hero-actions, .about-cta, .howto-cta {
    justify-content: center;
  }

  .ca-panel { text-align: left; }

  .scroll-cue { display: none; }

  .about-layout,
  .tok-layout,
  .howto-layout {
    grid-template-columns: 1fr;
  }

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

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
}

@media (max-width: 600px) {
  .nav-ca-short { display: none; }
  .metric-sep { display: none; }
  .metrics { gap: 1.25rem 1.5rem; }
  .float-chip.c3 { display: none; }
  .hero-h1 { font-size: clamp(3.4rem, 18vw, 5rem); }
  .dock { bottom: max(0.75rem, env(safe-area-inset-bottom)); }
}

@media (max-height: 700px) {
  .loader-log { max-height: 60px; }
}
