/* =========================================================
   Super X Inu — $SXI
   ========================================================= */

:root {
  --bg: #07070b;
  --bg-2: #0c0c13;
  --bg-3: #12121b;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --purple: #9945ff;
  --violet: #7c5cff;
  --cyan: #19c6f0;
  --green: #14f195;

  --grad: linear-gradient(100deg, #9945ff 0%, #7c5cff 30%, #19c6f0 64%, #14f195 100%);
  --grad-v: linear-gradient(180deg, #9945ff 0%, #19c6f0 55%, #14f195 100%);
  --grad-wide: linear-gradient(100deg, #9945ff 0%, #7c5cff 18%, #19c6f0 36%, #14f195 50%, #19c6f0 64%, #7c5cff 82%, #9945ff 100%);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --header-h: 76px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

::selection { background: var(--purple); color: #fff; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.muted { color: var(--ink-3); }
.sep { color: var(--green); opacity: 0.9; margin: 0 0.35em; }

/* ---------- Pointer glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.16) 0%, rgba(25, 198, 240, 0.08) 35%, rgba(20, 241, 149, 0.04) 55%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --h: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-stretch: 112%;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-position 0.6s var(--ease-out), border-color 0.3s, color 0.3s, background-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }

.btn-sm { --h: 40px; padding: 0 16px; font-size: 12.5px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #07070b;
  background: var(--grad-wide);
  background-size: 220% 100%;
  background-position: 0% 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px -10px rgba(153, 69, 255, 0.7), 0 8px 28px -14px rgba(20, 241, 149, 0.6);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 14px 36px -10px rgba(153, 69, 255, 0.85), 0 14px 40px -14px rgba(20, 241, 149, 0.8);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px -14px rgba(153, 69, 255, 0.6);
}
.btn-ghost:hover::before { opacity: 1; }
.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(140px circle at var(--bx, 50%) var(--by, 50%), rgba(153, 69, 255, 0.28), rgba(20, 241, 149, 0.08) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn-ghost:hover::after { opacity: 1; }

.icon-x { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn-lg .icon-x { width: 17px; height: 17px; }
.icon-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: square;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .icon-arrow { transform: translateX(4px); }

.text-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.text-link:hover { color: var(--green); border-color: var(--green); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 7, 11, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled::after { opacity: 0.35; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 22px -4px rgba(153, 69, 255, 0.6);
  transition: transform 0.4s var(--ease-out);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.main-nav a:hover,
.main-nav a.is-current { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.is-current::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 25px; right: 18px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; right: 12px; transform: rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 120%;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.mobile-menu-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.mobile-menu-actions .btn { --h: 54px; }

/* =========================================================
   Shared section bits
   ========================================================= */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(96px, 13vw, 180px) 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker-line {
  width: 44px;
  height: 1px;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(20, 241, 149, 0.6);
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(44px, 8vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-top: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(20, 241, 149, 0.35);
  border-radius: 999px;
  background: rgba(20, 241, 149, 0.06);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(20, 241, 149, 0); }
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .frag.reveal {
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out), rotate 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.js .hero-stage { animation: hero-in 1.4s var(--ease-out) 0.15s both; }
@keyframes hero-in {
  from { opacity: 0; scale: 0.94; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 16px) 0 56px;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-haze {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 45% at 72% 42%, rgba(153, 69, 255, 0.30), transparent 70%),
    radial-gradient(32% 38% at 86% 70%, rgba(20, 241, 149, 0.16), transparent 70%),
    radial-gradient(30% 30% at 58% 20%, rgba(25, 198, 240, 0.12), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(124, 92, 255, 0.10), transparent 70%);
  filter: blur(20px);
  animation: haze 22s ease-in-out infinite alternate;
}
@keyframes haze {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-3%, 2%, 0) rotate(4deg) scale(1.06); }
  100% { transform: translate3d(2%, -2%, 0) rotate(-3deg) scale(1.02); }
}

.hero-grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -8%;
  height: 62%;
  background-image:
    linear-gradient(rgba(153, 69, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 198, 240, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 80%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 35%, transparent 80%);
  opacity: 0.55;
  animation: grid-run 6s linear infinite;
}
@keyframes grid-run {
  to { background-position: 0 64px, 0 0; }
}

.hero-x {
  position: absolute;
  top: 50%;
  left: 68%;
  width: min(110vh, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  animation: x-breathe 18s ease-in-out infinite;
}
.hero-x span {
  position: absolute;
  top: 50%;
  left: -8%;
  width: 116%;
  height: 15%;
  margin-top: -7.5%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(90deg, rgba(153, 69, 255, 0.0), rgba(153, 69, 255, 0.07) 30%, rgba(20, 241, 149, 0.06) 70%, rgba(20, 241, 149, 0));
  box-shadow: inset 0 1px 0 rgba(153, 69, 255, 0.25), inset 0 -1px 0 rgba(20, 241, 149, 0.18);
}
.hero-x span:nth-child(1) { transform: rotate(45deg); }
.hero-x span:nth-child(2) { transform: rotate(-45deg); }
@keyframes x-breathe {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(4deg) scale(1.04); }
}

.hero-particles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(20, 241, 149, 0.9);
  opacity: 0;
  animation: float var(--d) linear infinite;
  animation-delay: var(--t);
}
.hero-particles i:nth-child(3n) { box-shadow: 0 0 6px rgba(153, 69, 255, 0.95); }
@keyframes float {
  0% { opacity: 0; transform: translate3d(0, 20px, 0); }
  15% { opacity: 0.8; }
  85% { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(14px, -120px, 0); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 24px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-top: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .sep { margin: 0 0.6em; }
.eyebrow-dot {
  width: 22px;
  height: 2px;
  margin-right: 10px;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.8);
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 22px 0 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(60px, min(9.6vw, 11.6vh), 156px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.ht-line { display: block; }
.ht-x {
  position: relative;
  align-self: flex-start;
  font-size: 1.22em;
  line-height: 0.82;
  margin: 0.02em 0 0.02em -0.02em;
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(153, 69, 255, 0.35)) drop-shadow(0 0 32px rgba(20, 241, 149, 0.18));
  padding-right: 0.08em;
}
.ht-x::after {
  content: "";
  position: absolute;
  left: 105%;
  top: 52%;
  width: clamp(80px, 14vw, 240px);
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 241, 149, 0.9), transparent);
  box-shadow: 0 0 12px rgba(20, 241, 149, 0.7);
}

.hero-ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ticker-symbol {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 0.06em;
  color: var(--ink);
}

.hero-lede {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(20px, min(1.9vw, 3vh), 28px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: 12px;
  max-width: 34ch;
  color: var(--ink-3);
  font-size: 16px;
  font-family: var(--font-mono);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- CA ---------- */
.ca {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 440px;
  margin-top: 16px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: rgba(12, 12, 19, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.ca-label {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--green);
  flex: none;
}
.ca-value {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 14px 14px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ca-copy {
  position: relative;
  flex: none;
  min-width: 96px;
  min-height: 48px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 0.25s, color 0.25s;
}
.ca-copy:hover { background: rgba(153, 69, 255, 0.18); }
.ca-copy:active { background: rgba(153, 69, 255, 0.28); }
.ca-copy.is-copied {
  color: #07070b;
  background: var(--green);
}
.ca-compact { margin-top: 8px; max-width: none; }

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.hero-stage {
  --px: 0;
  --py: 0;
  --sy: 0;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-stage > [data-depth] {
  transform: translate3d(calc(var(--px) * var(--depth, 1) * -16px), calc(var(--py) * var(--depth, 1) * -12px + var(--sy) * var(--depth, 1) * 1px), 0);
}
.hero-aura { --depth: 0.4; }
.hero-frame { --depth: 0.7; }
.hero-img { --depth: 1.3; }

.hero-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  aspect-ratio: 1;
  margin: -41% 0 0 -41%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, rgba(153, 69, 255, 0.55), transparent 58%),
    radial-gradient(circle at 70% 65%, rgba(20, 241, 149, 0.35), transparent 55%),
    radial-gradient(circle at 60% 30%, rgba(25, 198, 240, 0.25), transparent 50%);
  filter: blur(60px);
  opacity: 0.8;
  animation: aura 12s ease-in-out infinite alternate;
}
@keyframes aura {
  0% { opacity: 0.65; scale: 0.96; rotate: 0deg; }
  100% { opacity: 0.9; scale: 1.06; rotate: 25deg; }
}

.hero-frame {
  position: absolute;
  top: 12%;
  bottom: 10%;
  left: 18%;
  right: 6%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(153, 69, 255, 0.10), transparent 40%, rgba(20, 241, 149, 0.07)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 48px);
  clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 56px 100%, 0 calc(100% - 56px));
}
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 80px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(153, 69, 255, 0.8);
}
.hero-frame::before { top: 28px; right: -12px; transform: rotate(45deg); }
.hero-frame::after { bottom: 28px; left: -12px; transform: rotate(45deg); }
.hf-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--green);
  border-style: solid;
  border-width: 0;
}
.hf-tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.hf-br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hf-label {
  position: absolute;
  right: 18px;
  bottom: 16px;
  margin-right: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}

.hero-img {
  position: relative;
  width: auto;
  height: clamp(440px, 76vh, 820px);
  max-height: calc(100svh - var(--header-h) - 60px);
  max-width: 118%;
  object-fit: contain;
  margin-left: -8%;
  filter:
    drop-shadow(-14px -6px 32px rgba(153, 69, 255, 0.38))
    drop-shadow(16px 14px 36px rgba(20, 241, 149, 0.20))
    drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
  animation: hover-fly 7s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes hover-fly {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -14px; rotate: -1.2deg; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  z-index: 3;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: var(--green);
  border-radius: 2px;
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* =========================================================
   Ticker strip
   ========================================================= */
.strip {
  position: relative;
  z-index: 3;
  height: 150px;
  margin: -40px 0 -30px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.strip-band {
  position: absolute;
  left: -5%;
  right: -5%;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.strip-front {
  background: var(--grad);
  transform: rotate(-2.2deg);
  box-shadow: 0 10px 40px -10px rgba(153, 69, 255, 0.5), 0 -10px 40px -16px rgba(20, 241, 149, 0.4);
  padding: 16px 0;
}
.strip-back {
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  transform: rotate(2deg);
  padding: 12px 0;
}
.strip-track {
  display: flex;
  flex: none;
  animation: marquee 38s linear infinite;
}
.strip-back .strip-track {
  animation-duration: 52s;
  animation-direction: reverse;
}
.strip-track span {
  flex: none;
  padding-right: 0.4em;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 120%;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.strip-front .strip-track span { color: #07070b; }
.strip-back .strip-track span {
  font-size: clamp(14px, 1.5vw, 17px);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* =========================================================
   About — trinity
   ========================================================= */
.about { padding-top: clamp(120px, 14vw, 200px); overflow: hidden; }

.section-head {
  display: grid;
  gap: 26px;
  max-width: 880px;
}
.about-intro {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}

.trinity {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  display: grid;
  gap: clamp(8px, 2vw, 24px);
}

.trinity-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) skewX(-8deg);
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(320px, 52vw, 820px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(153, 69, 255, 0.22);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.tri-row {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: clamp(16px, 3vw, 48px);
}

.tri-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(72px, 17vw, 260px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.tri-super { grid-template-columns: auto minmax(0, 300px); justify-content: start; }
.tri-super .tri-word {
  color: var(--ink);
}

.tri-x {
  grid-template-columns: minmax(0, 320px) auto;
  justify-content: center;
  align-items: center;
}
.tri-word-x {
  font-style: italic;
  font-size: clamp(120px, 26vw, 400px);
  line-height: 0.78;
  padding-right: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(153, 69, 255, 0.35));
}
.tri-x .tri-note-left { text-align: right; order: 0; }
.tri-rule {
  position: absolute;
  left: -100vw;
  right: -100vw;
  top: 50%;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(153, 69, 255, 0.4) 30%, rgba(20, 241, 149, 0.4) 70%, transparent);
}

.tri-inu { grid-template-columns: minmax(0, 300px) auto; justify-content: end; }
.tri-inu .tri-word {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.tri-inu .tri-note { text-align: right; }

.tri-note {
  padding-bottom: clamp(8px, 2vw, 30px);
}
.tri-idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 10px;
}
.tri-note h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 118%;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.tri-note p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.5;
}

/* =========================================================
   Narrative / story
   ========================================================= */
.story {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 0% 50%, rgba(153, 69, 255, 0.10), transparent 70%),
    radial-gradient(50% 70% at 100% 60%, rgba(20, 241, 149, 0.06), transparent 70%),
    var(--bg);
}

.signals { position: absolute; inset: 0; pointer-events: none; }
.signals span {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--top);
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.signals span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), var(--green));
  box-shadow: 0 0 10px rgba(20, 241, 149, 0.7);
  transform: translateX(-100%);
  animation: signal var(--d) linear infinite;
  animation-delay: var(--t);
}
.signals span:nth-child(even)::after {
  background: linear-gradient(90deg, transparent, var(--green), var(--cyan), var(--purple));
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.7);
}
@keyframes signal {
  from { transform: translateX(-100%); }
  to { transform: translateX(560%); }
}

.story-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.story-head { position: sticky; top: calc(var(--header-h) + 40px); }
.story .display { font-size: clamp(44px, 6vw, 92px); }

.timeline {
  position: relative;
  padding-left: 40px;
  counter-reset: tl;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--grad-v);
  opacity: 0.6;
}
.tl-item {
  position: relative;
  padding: 10px 0 clamp(48px, 6vw, 80px);
}
.tl-item:last-child { padding-bottom: 10px; }
.tl-node {
  position: absolute;
  left: -40px;
  top: 16px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--green);
  background: var(--bg);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(20, 241, 149, 0.6);
}
.tl-node::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--grad);
}
.tl-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tl-tag::before {
  counter-increment: tl;
  content: "0" counter(tl) " — ";
  color: var(--green);
}
.tl-item p {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.tl-item strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   Feed
   ========================================================= */
.feed { overflow: hidden; }

.feed-head {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.feed-sub {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 15px;
}

.feed-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: clamp(56px, 7vw, 96px);
}
.feed-thread {
  position: absolute;
  left: 50%;
  top: -40px;
  bottom: -40px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(153, 69, 255, 0.5) 15%, rgba(25, 198, 240, 0.4) 50%, rgba(20, 241, 149, 0.5) 85%, transparent);
}

.frag {
  --rot: 0deg;
  position: relative;
  align-self: start;
  padding: 24px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  rotate: var(--rot);
  transition: rotate 0.6s var(--ease-out), border-color 0.4s, transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), opacity 0.9s var(--ease-out);
}
.frag::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: -1px;
  height: 1px;
  background: var(--grad);
  opacity: 0.6;
}
.frag:hover {
  rotate: 0deg;
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(153, 69, 255, 0.45);
}

.frag-1 { grid-column: 1 / 7; --rot: -1.2deg; }
.frag-2 { grid-column: 7 / 13; margin-top: 90px; --rot: 1deg; }
.frag-3 { grid-column: 2 / 8; margin-top: -30px; --rot: 0.6deg; }
.frag-4 { grid-column: 8 / 13; margin-top: 40px; --rot: -1.4deg; }
.frag-5 { grid-column: 1 / 9; --rot: 0.4deg; }
.frag-6 { grid-column: 9 / 13; align-self: center; --rot: 1.6deg; }

.frag-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.frag-head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 3px var(--bg), 0 0 0 4px rgba(153, 69, 255, 0.5);
}
.frag-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.frag-id strong { font-weight: 800; font-size: 15.5px; }
.frag-id span { color: var(--ink-3); font-size: 14px; font-family: var(--font-mono); }
.frag-type {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  flex: none;
}
.frag-text {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.frag-text-lg { font-size: clamp(28px, 3vw, 42px); line-height: 1.02; text-transform: uppercase; font-stretch: 120%; }
.frag-text-xl {
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.85;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.05em;
}
.frag-media {
  margin-top: 22px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.frag-media img {
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease-out);
}
.frag:hover .frag-media img { transform: scale(1.03); }

.feed-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 7vw, 96px);
}

/* =========================================================
   Chart
   ========================================================= */
.chart {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 100% 64px,
    var(--bg);
}

.chart .display { font-size: clamp(40px, 6vw, 100px); }

.chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  align-items: stretch;
}

.chart-frame {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg-2);
  overflow: hidden;
}
.chart-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
}
.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}
.chart-frame.has-chart iframe { display: block; }
.chart-frame.has-chart .chart-pending { display: none; }

.chart-pending {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(60% 60% at 50% 50%, rgba(153, 69, 255, 0.14), transparent 70%);
  overflow: hidden;
}
.chart-pending-x {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  opacity: 0.6;
  pointer-events: none;
}
.chart-pending-x span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 54px;
  margin-top: -27px;
  border-top: 1px solid rgba(153, 69, 255, 0.25);
  border-bottom: 1px solid rgba(20, 241, 149, 0.2);
}
.chart-pending-x span:nth-child(1) { transform: rotate(45deg); }
.chart-pending-x span:nth-child(2) { transform: rotate(-45deg); }
.chart-pending > *:not(.chart-pending-x) { position: relative; }
.chart-pending-title {
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 120%;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.chart-pending-sub {
  max-width: 42ch;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 14px;
}

.chart-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.chart-side-block {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.chart-side-block:first-child { padding-top: 4px; }
.chart-side-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.chart-side-value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.sol-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.sol-mark i {
  display: block;
  width: 18px;
  height: 3px;
  background: var(--grad);
  transform: skewX(-30deg);
}
.sol-mark i:nth-child(2) { transform: skewX(30deg); }
.chart-side-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}
.chart-side-actions .text-link { justify-self: center; margin-top: 8px; }

/* =========================================================
   Final CTA
   ========================================================= */
.final {
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.final-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 25% 50%, rgba(153, 69, 255, 0.28), transparent 70%),
    radial-gradient(35% 50% at 80% 70%, rgba(20, 241, 149, 0.12), transparent 70%);
}
.final-x {
  position: absolute;
  top: 50%;
  left: 25%;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  animation: spin-slow 80s linear infinite;
}
.final-x span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 110px;
  margin-top: -55px;
  border-top: 1px solid rgba(153, 69, 255, 0.18);
  border-bottom: 1px solid rgba(20, 241, 149, 0.14);
  background: linear-gradient(90deg, transparent, rgba(153, 69, 255, 0.05), transparent);
}
.final-x span:nth-child(1) { transform: rotate(45deg); }
.final-x span:nth-child(2) { transform: rotate(-45deg); }
@keyframes spin-slow { to { rotate: 360deg; } }

.final-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.final-art {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
}
.final-frame {
  position: relative;
  aspect-ratio: 1;
  padding: 1px;
  background: var(--grad);
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 64px 100%, 0 calc(100% - 64px));
  box-shadow: 0 0 80px rgba(153, 69, 255, 0.4);
}
.final-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 63px) 0, 100% 63px, 100% 100%, 63px 100%, 0 calc(100% - 63px));
}
.final-art::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  z-index: -1;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.45;
}
.final-art-tag {
  position: absolute;
  right: -14px;
  bottom: 40px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.final-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 122%;
  font-size: clamp(34px, 3.9vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.final-title em { font-style: italic; padding-right: 0.06em; }
.final-sub {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: #050508;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.footer-meta li { position: relative; }
.footer-meta li + li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  background: var(--green);
  transform: rotate(45deg);
}
.footer-x {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.25s;
}
.footer-x:hover { color: var(--green); }
.footer-line {
  height: 1px;
  margin: 36px 0 28px;
  background: linear-gradient(90deg, rgba(153, 69, 255, 0.5), rgba(25, 198, 240, 0.3), rgba(20, 241, 149, 0.5));
  opacity: 0.5;
}
.disclaimer {
  max-width: 900px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.7;
}
.copyright {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 10px; }
  .main-nav a::after { left: 10px; right: 10px; }
  .chart-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .main-nav,
  .hide-tablet { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero-title { font-size: clamp(52px, 13vw, 132px); }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .hero-copy { max-width: 680px; }
  .hero-visual { margin-top: 8px; }
  .hero-img {
    height: auto;
    width: min(88%, 620px);
    max-height: none;
    max-width: 100%;
    margin-left: 0;
  }
  .hero-frame { left: 14%; right: 10%; }
  .hero-x { left: 50%; top: 72%; width: 140vw; }
  .scroll-cue { display: none; }

  .story-inner { grid-template-columns: minmax(0, 1fr); }
  .story-head { position: static; }

  .chart-layout { grid-template-columns: minmax(0, 1fr); }
  .chart-side {
    border-left: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
  }
  .chart-side-block:first-child { padding-top: 18px; }
  .chart-side-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .chart-side-actions .text-link { grid-column: 1 / -1; }

  .final-inner { grid-template-columns: minmax(0, 1fr); }
  .final-art { max-width: 380px; }
  .final-x { left: 50%; top: 30%; }
}

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

  .tri-super,
  .tri-x,
  .tri-inu {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }
  .tri-super .tri-word,
  .tri-x .tri-word { order: -1; }
  .tri-x { justify-items: center; text-align: center; }
  .tri-x .tri-note-left { text-align: center; order: 1; }
  .tri-inu { justify-items: end; }
  .tri-inu .tri-word { order: -1; }
  .tri-note { max-width: 340px; padding-bottom: 0; }
  .trinity { gap: 48px; }
  .tri-word { font-size: clamp(72px, 24vw, 180px); }
  .tri-word-x { font-size: clamp(140px, 44vw, 280px); }
  .tri-inu .tri-word { -webkit-text-stroke-width: 1.5px; }

  .feed-board { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feed-thread { left: 22px; }
  .frag-1, .frag-2, .frag-3, .frag-4, .frag-5, .frag-6 {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  .frag:nth-child(odd) { --rot: -0.6deg; }
  .frag:nth-child(even) { --rot: 0.6deg; }

  .chart-frame { min-height: 460px; }
  .chart-side { grid-template-columns: minmax(0, 1fr); }
  .chart-side-actions { grid-template-columns: minmax(0, 1fr); }

  .strip { height: 120px; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }

  .brand-name { font-size: 15px; }
  .brand-logo { width: 36px; height: 36px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-primary { padding: 0 12px; font-size: 11.5px; letter-spacing: 0.06em; }

  .hero { padding-bottom: 48px; }
  .hero-title { font-size: clamp(52px, 17vw, 110px); }
  .ht-x::after { width: 30vw; }
  .hero-lede { font-size: 22px; }
  .hero-ctas { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .ca { max-width: none; }
  .ca-label { padding: 0 12px; }
  .ca-copy { min-width: 88px; padding: 0 14px; }
  .hero-img { width: 100%; }
  .hero-frame { left: 8%; right: 4%; top: 10%; bottom: 8%; clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px)); }
  .hf-label { display: none; }

  .frag { padding: 20px 18px 22px; }
  .frag::before { left: 18px; right: 18px; }
  .frag-type { padding: 3px 8px; font-size: 9.5px; }

  .final-ctas { display: grid; grid-template-columns: minmax(0, 1fr); }
  .final-ctas .btn { width: 100%; }
  .final-art-tag { right: 8px; }
  .final-frame { clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
  .final-frame img { clip-path: polygon(0 0, calc(100% - 39px) 0, 100% 39px, 100% 100%, 39px 100%, 0 calc(100% - 39px)); }

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

@media (max-width: 420px) {
  .header-actions .btn-primary { display: none; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .strip-track,
  .hero-particles i,
  .signals span::after,
  .scroll-cue span { animation: none !important; }
  .hero-particles { display: none; }
  .strip-track { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
