/* ============================================================
   QUANTIX FINANCE — Institutional-grade on-chain credit
   Black & white · Instrument Serif + Geist · GSAP + Three.js
   ============================================================ */

:root {
  --bg: #050505;
  --ink: #f5f5f5;
  --gray: #9b9b9b;
  --gray-dim: #6f6f6f;
  --hairline: rgba(255, 255, 255, 0.16);
  --hairline-soft: rgba(255, 255, 255, 0.08);

  --paper: #f4f4f2;
  --ink-dark: #101010;
  --gray-dark: #63625e;
  --hairline-dark: rgba(16, 16, 16, 0.18);

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;

  --nav-h: 76px;
  --announce-h: 36px;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.locked { overflow: hidden; }

::selection { background: var(--ink); color: var(--bg); }
.about ::selection { background: var(--ink-dark); color: var(--paper); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Square tick used in labels */
.sq {
  display: inline-block;
  width: 5px; height: 5px;
  background: currentColor;
  margin-right: 0.65em;
  vertical-align: 0.14em;
}

/* Hairline rules */
.rule {
  width: 100%; height: 1px;
  background: var(--hairline);
  transform-origin: left center;
}
.rule-dark { background: var(--hairline-dark); }

/* ============ FILM GRAIN ============ */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner {
  display: flex; align-items: center; gap: 1rem;
}
.preloader-logo { width: 26px; height: 26px; }
.preloader-word { color: var(--ink); }
.preloader-tick { color: var(--gray-dim); min-width: 4ch; }

/* ============ GLOBE CANVAS ============ */
#globe {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============ TOP (announce + nav) ============ */
.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.5s var(--ease);
}

.announce {
  height: var(--announce-h);
  background: #c3c7cb;
  color: #101010;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: height 0.5s var(--ease), opacity 0.4s ease;
}
.announce-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: announceloop 40s linear infinite;
}
.announce-item {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.announce-sep {
  font-size: 0.75rem;
  margin: 0 1.4rem;
  opacity: 0.55;
}
@keyframes announceloop {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}
.top.scrolled .announce { height: 0; opacity: 0; }

.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background 0.5s ease, border-color 0.5s ease, height 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.scrolled .nav {
  height: 64px;
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--hairline-soft);
}

.brand {
  display: flex; align-items: center; gap: 0.7rem;
}
.brand-mark { width: 26px; height: 26px; }
.brand-word {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-word em {
  font-style: normal;
  font-weight: 300;
  color: var(--gray);
}

/* --- Nav links (Ornn-style square tick on hover/active) --- */
.nav-links {
  display: flex; align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.6rem);
}
.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--ink);
  padding: 1.4rem 0;
  transition: color 0.3s ease;
}
.nav-link .tick {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--ink);
  margin-right: 0.55em;
  opacity: 0;
  transform: translateX(-6px) scale(0.4);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav-link:hover .tick,
.nav-link.active .tick,
.nav-item:hover .nav-link .tick {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.nav-links:hover .nav-link:not(:hover) { color: var(--gray); }

/* --- Product dropdown --- */
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 12px);
  width: 340px;
  background: rgba(8, 8, 8, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-soft);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.drop-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem;
  transition: background 0.3s ease;
}
.drop-item + .drop-item { border-top: 1px solid var(--hairline-soft); }
.drop-item:hover { background: rgba(255, 255, 255, 0.05); }

.drop-thumb {
  flex: 0 0 52px;
  height: 52px;
  border: 1px solid var(--hairline-soft);
  background-color: #0c0c0c;
  transition: border-color 0.3s ease;
}
.drop-item:hover .drop-thumb { border-color: var(--hairline); }
.thumb-retail {
  background-image: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.4) 0 1px, transparent 1px 7px);
  background-size: 200% 100%;
}
.thumb-inst {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, #0c0c0c 0 3px, transparent 3px 9px);
}
.drop-item:hover .thumb-retail,
.drop-item:hover .thumb-inst { animation: barslide 1.6s linear infinite; }
@keyframes barslide {
  to { background-position: 28px 0, 0 0; }
}

.drop-copy { display: flex; flex-direction: column; gap: 0.15rem; }
.drop-title { font-size: 0.9063rem; font-weight: 600; color: var(--ink); }
.drop-sub { font-size: 0.8125rem; color: var(--gray); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 0.8438rem;
  font-weight: 500;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-light { background: var(--ink); color: #0a0a0a; }
.btn-light:hover { background: #ffffff; }

.btn-dark { background: var(--ink-dark); color: var(--paper); }
.btn-dark:hover { background: #000; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* --- Burger (mobile) --- */
.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 1.5px; width: 22px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.burger.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* --- Mobile menu --- */
.m-menu {
  position: fixed; inset: 0;
  z-index: 90;
  background: rgba(5, 5, 5, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.m-menu.open {
  opacity: 1; visibility: visible;
  transition-delay: 0s;
}
.m-links { display: flex; flex-direction: column; gap: 1.4rem; width: 100%; }
.m-links a:not(.btn) {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  line-height: 1;
  color: var(--ink);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.m-menu.open .m-links a:not(.btn) { opacity: 1; transform: translateY(0); }
.m-links a:nth-child(1) { transition-delay: 0.05s; }
.m-links a:nth-child(2) { transition-delay: 0.1s; }
.m-links a:nth-child(3) { transition-delay: 0.15s; }
.m-links a:nth-child(4) { transition-delay: 0.2s; }
.m-links a:nth-child(5) { transition-delay: 0.25s; }
.m-links a:nth-child(6) { transition-delay: 0.3s; }
.m-cta { margin-top: 1.5rem; align-self: flex-start; }

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 2.5rem;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
  padding-top: calc(var(--nav-h) + var(--announce-h) + 16vh);
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}

.hero-left { display: flex; flex-direction: column; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 7.6vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-top: 2.2rem;
}
.hero-title em { font-style: italic; }
/* padding keeps serif descenders (y, g, j) from being clipped
   by the reveal mask; negative margin cancels the layout shift */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.line-inner { display: block; }

.hero-bottom {
  margin-top: auto;
  padding-top: 3rem;
  max-width: 26rem;
}
.hero-sub {
  font-size: 0.9688rem;
  line-height: 1.65;
  color: var(--gray);
}
.hero-ctas {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.6rem;
}
.link-ghost {
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.3s ease;
}
.link-ghost:hover { color: var(--ink); }
.link-ghost .arr {
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.35s var(--ease);
}
.link-ghost:hover .arr { transform: translate(2px, -2px); }

/* Right stat column */
.hero-right { display: flex; flex-direction: column; }
.stat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label { color: var(--ink); white-space: nowrap; }
.stat-foot {
  margin-top: auto;
  color: var(--gray-dim);
  line-height: 1.9;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 2.5rem;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--gray-dim);
}
.cue-line {
  display: block;
  width: 44px; height: 1px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ============ PRODUCTS ============ */
/* The pin holds for 140vh of scroll; .about carries a -100vh
   margin so it slides OVER the still-pinned cards (true overlap),
   finishing its cover exactly as the pin releases. */
.products-zone {
  position: relative;
  z-index: 1;
  height: 240vh;
}
.products-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
}
.products-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 0.85fr 1.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.products-left .eyebrow { margin-top: 1.3rem; color: var(--gray); }
.products-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 1.4rem;
}
.products-title em { font-style: italic; }
.products-sub {
  margin-top: 1.4rem;
  font-size: 0.9063rem;
  line-height: 1.65;
  color: var(--gray);
  max-width: 21rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2vw, 2rem);
}

.card {
  position: relative;
  background: rgba(9, 9, 9, 0.58);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--hairline-soft);
  padding: clamp(1.4rem, 2vw, 2rem);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s ease, background 0.5s ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(14, 14, 14, 0.8);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 30px 70px -30px rgba(255, 255, 255, 0.12);
}

.card-label { margin-top: 1.1rem; color: var(--gray-dim); }
.card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1.08;
  margin-top: 0.9rem;
}
.card-title em { font-style: italic; }
.card-sub {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--gray);
}

.card-visual {
  height: 84px;
  margin-top: 1.4rem;
  border: 1px solid var(--hairline-soft);
  background-color: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s ease;
}
.card:hover .card-visual { border-color: var(--hairline); }
.visual-retail {
  background-image: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.32) 0 1px, transparent 1px 9px);
}
.visual-inst {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(5,5,5,0.9) 0 4px, transparent 4px 12px);
}
.card:hover .visual-retail,
.card:hover .visual-inst { animation: barslide 2.2s linear infinite; }

.card-copy {
  margin-top: 1.3rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray);
}

.card-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.3rem;
}
.card-meta li {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  border: 1px solid var(--hairline-soft);
  padding: 0.32rem 0.6rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.card:hover .card-meta li { border-color: var(--hairline); }

.card-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.card-cta .arr { transition: transform 0.35s var(--ease); }
.card:hover .card-cta .arr { transform: translateX(5px); }

/* ============ ABOUT (light) ============ */
.about {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  background: var(--paper);
  color: var(--ink-dark);
}
.about-inner {
  padding: clamp(5rem, 11vh, 9rem) var(--gutter) clamp(4rem, 8vh, 6rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.8fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.about-side .eyebrow-dark { margin-top: 1.3rem; color: var(--gray-dark); }

.about-big {
  font-size: clamp(1.6rem, 3.1vw, 2.75rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-top: 1.6rem;
  max-width: 56rem;
}
.about-big em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}
.about-big .w { display: inline-block; }
.js .about-big .w { opacity: 0.14; }

.about-btn { margin-top: 2.4rem; }

/* Traction stats */
.traction {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  margin-top: clamp(4.5rem, 9vh, 7.5rem);
}
.t-label { margin-top: 1rem; color: var(--gray-dark); }
.t-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  margin-top: 0.7rem;
  letter-spacing: -0.01em;
}

/* Platform image reveal */
.platform { margin-top: clamp(4.5rem, 9vh, 7.5rem); }
.platform .eyebrow-dark { color: var(--gray-dark); }
.platform-frame {
  margin-top: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--hairline-dark);
  background: #fff;
  box-shadow: 0 40px 90px -40px rgba(16, 16, 16, 0.35);
}
.platform-frame img {
  width: 100%;
  will-change: transform;
}

/* Footer */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem var(--gutter);
  border-top: 1px solid var(--hairline-dark);
  color: var(--gray-dark);
}
.foot-links { display: flex; gap: 1.8rem; }
.foot-links a { transition: color 0.3s ease; }
.foot-links a:hover { color: var(--ink-dark); }

/* ============================================================
   SUBPAGES — shared components
   ============================================================ */

/* Page hero (Product / About / Token / Contact) */
.page-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + var(--announce-h) + 11vh) var(--gutter) clamp(4rem, 9vh, 7rem);
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(255, 255, 255, 0.06), transparent 60%),
    var(--bg);
}
.page-hero .rule { margin-bottom: 1.6rem; }
.page-hero .eyebrow { color: var(--gray); }
.page-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-top: 1.3rem;
  max-width: 18ch;
}
.page-hero-title em { font-style: italic; }
.page-hero-sub {
  margin-top: 1.8rem;
  max-width: 34rem;
  font-size: 0.9688rem;
  line-height: 1.65;
  color: var(--gray);
}

/* Generic section: mono side label + content */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 10vh, 8rem) var(--gutter);
  background: var(--bg);
}
.section.on-light { background: var(--paper); color: var(--ink-dark); }

.section-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.section-side .eyebrow { margin-top: 1.3rem; color: var(--gray); }
.on-light .section-side .eyebrow { color: var(--gray-dark); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-top: 1.4rem;
}
.section-title em { font-style: italic; }
.section-copy {
  margin-top: 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 40rem;
}
.on-light .section-copy { color: var(--gray-dark); }

/* Big statement (word-scrubbed) */
.big-statement {
  font-size: clamp(1.6rem, 3.1vw, 2.75rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-top: 1.6rem;
  max-width: 56rem;
}
.big-statement em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}
.big-statement .w { display: inline-block; }
.js .big-scrub .w { opacity: 0.14; }

/* Block grids (steps, roles, risk layers, infra, utility) */
.blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vh, 4rem);
}
.blocks.cols-2 { grid-template-columns: repeat(2, 1fr); }
.blocks.cols-4 { grid-template-columns: repeat(4, 1fr); }
.block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 1.2rem;
}
.block-icon {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink);
}
.on-light .block-icon { color: var(--ink-dark); }
.block-num { margin-top: 1.1rem; color: var(--gray-dim); }
.block-head .block-num { margin-top: 0; }
.on-light .block-num { color: var(--gray-dark); }
.block-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin-top: 0.7rem;
}
.block-copy {
  margin-top: 0.7rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray);
}
.on-light .block-copy { color: var(--gray-dark); }

/* Fine-print note */
.note {
  margin-top: 2.6rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--hairline-soft);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 44rem;
}
.on-light .note { border-color: var(--hairline-dark); color: var(--gray-dark); }

/* Team */
.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vh, 4rem);
}
.person-photo {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: #e2e1dd;
  margin-bottom: 1.1rem;
}
.person-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1.01);
  transition: filter 0.6s ease, transform 0.8s var(--ease);
}
.person:hover .person-photo img {
  filter: grayscale(0);
  transform: scale(1.045);
}
.person-photo--tba {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg,
    rgba(16, 16, 16, 0.04) 0 1px, transparent 1px 12px);
  border: 1px dashed var(--hairline-dark);
}
.person-photo--tba .mono {
  color: #a3a29c;
  text-align: center;
  line-height: 2;
}
.person--tba .person-name { color: var(--gray-dark); }
.person-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  margin-top: 1rem;
}
.person-role { margin-top: 0.35rem; color: var(--gray-dark); }
.person-copy {
  margin-top: 0.7rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-dark);
}

/* Link cards (resources / track) */
.link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vh, 4rem);
}
.link-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.link-card { display: block; }
.link-card-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  margin-top: 1rem;
  border: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, 0.04);
  padding: 7px;
}
.on-light .link-card-logo { border-color: var(--hairline-dark); background: #fff; }
.link-card-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.45s ease;
}
.link-card:hover .link-card-logo img { filter: grayscale(0); }
.link-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin-top: 1rem;
}
.link-card-title .arr {
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 0.35s var(--ease);
}
.link-card:hover .link-card-title .arr { transform: translate(3px, -3px); }
.link-card-copy {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray);
}
.on-light .link-card-copy { color: var(--gray-dark); }

/* Exchange grid ($QFI) */
.exchanges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  margin-top: clamp(2.4rem, 5vh, 4rem);
}
.exchange {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.exchange:hover {
  transform: translateY(-4px);
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.05);
}
.exchange-mark {
  flex: 0 0 42px;
  height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: 1.35rem;
  transition: background 0.4s ease, color 0.4s ease;
}
.exchange:hover .exchange-mark { background: var(--ink); color: var(--bg); }
.exchange-mark--img {
  padding: 7px;
  background: #101010;
}
.exchange-mark--img img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.45s ease;
}
.exchange:hover .exchange-mark--img { background: #101010; }
.exchange:hover .exchange-mark--img img { filter: grayscale(0); }
.exchange-copy { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.exchange-name { font-size: 0.9375rem; font-weight: 600; }
.exchange-type { color: var(--gray-dim); font-size: 0.625rem; }
.exchange-arr {
  margin-left: auto;
  color: var(--gray-dim);
  transition: transform 0.35s var(--ease), color 0.35s ease;
}
.exchange:hover .exchange-arr { transform: translateX(4px); color: var(--ink); }

/* Exchange tiles on light sections */
.on-light .exchange {
  border-color: var(--hairline-dark);
  background: rgba(255, 255, 255, 0.55);
}
.on-light .exchange:hover {
  border-color: var(--ink-dark);
  background: #ffffff;
}
.on-light .exchange-mark { border-color: var(--hairline-dark); }
.on-light .exchange:hover .exchange-mark { background: var(--ink-dark); color: var(--paper); }
.on-light .exchange-type { color: var(--gray-dark); }
.on-light .exchange:hover .exchange-arr { color: var(--ink-dark); }

/* Contact channels */
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vh, 4rem);
}
.channel-icon {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  margin-top: 1.2rem;
  color: var(--ink);
}
.channel-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin-top: 1rem;
}
.channel-icon + .channel-title { margin-top: 0.8rem; }
.channel-copy {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray);
}
.channel-email {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.channel-email .arr {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.channel-email:hover .arr { transform: translateX(4px); }

/* Contact form */
.contact-form {
  margin-top: clamp(2.4rem, 5vh, 4rem);
  max-width: 44rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline-soft);
  padding: 0.85rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.06);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239b9b9b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field select option { background: #101010; color: var(--ink); }
.form-foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.form-note {
  font-size: 0.75rem;
  color: var(--gray-dim);
  max-width: 24rem;
  line-height: 1.5;
}

/* CTA band (page endings) */
.cta-band {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink-dark);
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
  text-align: center;
}
.cta-band-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.cta-band-title em { font-style: italic; }
.cta-band-sub {
  margin-top: 1.2rem;
  font-size: 0.9375rem;
  color: var(--gray-dark);
}
.cta-band .btn { margin-top: 2.2rem; }

/* ============================================================
   ASSET PLACEHOLDERS — numbered slots for real assets
   ============================================================ */
.slot {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--hairline);
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px);
  overflow: hidden;
  min-height: 80px;
}
.on-light .slot, .about .slot {
  border-color: var(--hairline-dark);
  background:
    repeating-linear-gradient(45deg,
      rgba(16, 16, 16, 0.04) 0 1px, transparent 1px 12px);
}
.slot-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--gray-dim);
}
.on-light .slot-num, .about .slot-num { color: #b9b8b2; }
.slot-label {
  position: absolute;
  left: 0.9rem; bottom: 0.7rem;
  color: var(--gray-dim);
  font-size: 0.5625rem;
}
.on-light .slot-label, .about .slot-label { color: #a3a29c; }
.slot--wide { aspect-ratio: 16 / 8; }
.slot--portrait { aspect-ratio: 4 / 4.6; }
.slot--logo {
  min-height: 0;
  width: 42px; height: 42px;
  flex: 0 0 42px;
}
.slot--logo .slot-num { font-size: 1rem; color: var(--gray); }
.on-light .slot--logo .slot-num { color: var(--gray-dark); }

/* Full-bleed product screenshot frame — never crops the image */
.shot {
  border: 1px solid var(--hairline-soft);
  background: #fff;
}
.on-light .shot { border-color: var(--hairline-dark); }
.shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   MARQUEE DIVIDER
   ============================================================ */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 1.3rem 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--bg);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marq 36s linear infinite;
}
.marquee-track { align-items: center; }
.marquee-item {
  display: inline-flex; align-items: center;
  white-space: nowrap;
}
.marquee-item img {
  height: 26px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  /* normalize every partner logo to a white mark */
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.marquee-item:hover img { opacity: 1; }
.marquee-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: rgba(245, 245, 245, 0.75);
}
.marquee-word {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(245, 245, 245, 0.75);
  margin-left: 0.6rem;
}
.marquee-sep {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gray-dim);
  margin: 0 clamp(1.6rem, 3vw, 3rem);
}
@keyframes marq {
  to { transform: translateX(-50%); }
}

/* ============================================================
   INSIGHTS — hover rows
   ============================================================ */
.insights-rows { margin-top: clamp(2rem, 4vh, 3rem); }
.insight {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.5rem 0.4rem;
  border-bottom: 1px solid var(--hairline-soft);
  transition: background 0.35s ease, padding 0.45s var(--ease);
}
.insight:first-child { border-top: 1px solid var(--hairline-soft); }
.insight:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
.insight-date { flex: 0 0 7.5rem; color: var(--gray-dim); }
.insight-body {
  flex: 1;
  display: flex; flex-direction: column; gap: 0.4rem;
  min-width: 0;
  transition: transform 0.45s var(--ease);
}
.insight:hover .insight-body { transform: translateX(6px); }
.insight-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}
.insight-excerpt {
  font-size: 0.8438rem;
  line-height: 1.55;
  color: var(--gray);
  max-width: 44rem;
}
.insight-tag {
  color: var(--gray-dim);
  border: 1px solid var(--hairline-soft);
  padding: 0.32rem 0.6rem;
  white-space: nowrap;
}
.insights-viewall { margin-top: 2.2rem; display: inline-flex; }
.insight-arr {
  color: var(--gray-dim);
  font-size: 1.1rem;
  transition: transform 0.4s var(--ease), color 0.3s ease;
}
.insight:hover .insight-arr {
  transform: translate(4px, -4px);
  color: var(--ink);
}

/* ============================================================
   LAUNCH GATEWAY + COMING SOON
   ============================================================ */
.gate {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255, 255, 255, 0.07), transparent 60%),
    var(--bg);
}
.gate-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.gate-title em { font-style: italic; }
.gate-sub {
  margin-top: 1rem;
  font-size: 0.9688rem;
  color: var(--gray);
}
.gate-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 26.5rem));
  gap: clamp(1.2rem, 2vw, 2rem);
  justify-content: center;
  width: 100%;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  text-align: left;
}
.gate-card {
  display: flex; flex-direction: column;
  background: rgba(9, 9, 9, 0.58);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--hairline-soft);
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  transition: transform 0.5s var(--ease), border-color 0.5s ease, background 0.5s ease;
}
.gate-card:hover {
  transform: translateY(-6px);
  border-color: var(--hairline);
  background: rgba(12, 12, 12, 0.72);
}
.gate-card .rule { margin-bottom: 1.1rem; }
.gate-card-label { color: var(--gray-dim); }
.gate-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1.08;
  margin-top: 0.8rem;
}
.gate-card-title em { font-style: italic; }
.gate-list {
  margin: 1.5rem 0 2.2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.gate-list li {
  display: flex; align-items: baseline; gap: 0.7em;
  font-size: 0.9063rem;
  line-height: 1.5;
  color: var(--gray);
}
.gate-list li::before {
  content: "";
  flex: 0 0 5px;
  width: 5px; height: 5px;
  background: var(--ink);
}
.gate-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: space-between;
  border-radius: 0;
  padding: 0.9rem 1.2rem;
}
.gate-card .btn .arr { transition: transform 0.35s var(--ease); }
.gate-card .btn:hover .arr { transform: translateX(5px); }
.btn-ghosted {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghosted:hover { background: rgba(255, 255, 255, 0.06); }
.gate-soon-tag {
  font-size: 0.5625rem;
  color: var(--gray-dim);
  border: 1px solid var(--hairline-soft);
  padding: 0.3rem 0.55rem;
  margin-left: 0.8rem;
  vertical-align: middle;
  white-space: nowrap;
}
.gate-back {
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

/* Coming soon */
.soon {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(255, 255, 255, 0.06), transparent 60%),
    var(--bg);
}
.soon .eyebrow { color: var(--gray); }
.soon-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 1.4rem;
}
.soon-title em { font-style: italic; }
.soon-copy {
  margin-top: 1.8rem;
  max-width: 34rem;
  font-size: 0.9688rem;
  line-height: 1.7;
  color: var(--gray);
}
.soon-ctas {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; justify-content: center;
  margin-top: 2.4rem;
}

@media (max-width: 900px) {
  .gate-cards { grid-template-columns: 1fr; max-width: 28rem; margin-left: auto; margin-right: auto; }
  .gate { padding-top: calc(var(--nav-h) + 2rem); }
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-wrap {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 9vh, 7rem);
}
.article-hero {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--announce-h) + 9vh) var(--gutter) clamp(2.5rem, 5vh, 4rem);
}
.article-hero .page-hero-title { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: none; }
.article-para {
  font-size: 1.0313rem;
  line-height: 1.8;
  color: #cfcfcf;
  margin-top: 1.6rem;
}
.article-para:first-child { margin-top: 0; }
.article-para:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.2em;
  line-height: 0.8;
  float: left;
  padding-right: 0.12em;
  padding-top: 0.08em;
  color: var(--ink);
}
.article-next {
  display: block;
  margin-top: clamp(3.5rem, 7vh, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-soft);
}
.article-next .mono { color: var(--gray-dim); }
.article-next-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-top: 0.7rem;
  transition: transform 0.45s var(--ease);
}
.article-next:hover .article-next-title { transform: translateX(6px); }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 1.6rem;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--ink); }

/* ============================================================
   VIDEO BLOCK (about)
   ============================================================ */
.video-frame {
  position: relative;
  margin-top: clamp(2rem, 4vh, 3rem);
  border: 1px solid var(--hairline-soft);
  background: #000;
}
.video-frame video,
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
}
.video-note {
  margin-top: 0.9rem;
  color: var(--gray-dim);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  color: var(--gray);
  border-top: 1px solid var(--hairline-soft);
  overflow: hidden;
}
.footer-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3.5rem, 9vh, 7rem) var(--gutter) clamp(2.5rem, 6vh, 4.5rem);
}
.footer-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 16ch;
}
.footer-title em { font-style: italic; }
.footer-head .btn { flex-shrink: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter);
  border-top: 1px solid var(--hairline-soft);
}
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-blurb {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--gray);
  max-width: 20rem;
}
.footer-socials {
  display: flex; gap: 0.7rem;
  margin-top: 1.6rem;
}
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--hairline-soft);
  color: var(--gray);
  transition: all 0.35s var(--ease);
}
.footer-socials a i { font-size: 1.15rem; line-height: 1; }
.footer-socials a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 1.3rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a {
  position: relative;
  display: inline-block;
  font-size: 0.875rem;
  color: var(--gray);
  transition: color 0.3s ease;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-col a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.footer-base {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem var(--gutter);
  border-top: 1px solid var(--hairline-soft);
  color: var(--gray-dim);
}

/* Traction stats reused on dark sections (about page) */
.section:not(.on-light) .traction { margin-top: 0; }
.section:not(.on-light) .traction .rule-dark { background: var(--hairline); }
.section:not(.on-light) .t-label { color: var(--gray); }

/* Dark footer variant (subpages) */
.footer-dark {
  background: var(--bg);
  color: var(--gray-dim);
  border-top: 1px solid var(--hairline-soft);
}
.footer-dark .foot-links a:hover { color: var(--ink); }

/* ============ JS-GATED INITIAL STATES ============ */
.js .line-inner { transform: translateY(130%); }
.js .rule-hero,
.js .hero-right .rule,
.js .page-hero .rule,
.js .article-hero .rule { transform: scaleX(0); }
.js .hero-sub,
.js .hero-ctas,
.js .stat-head,
.js .stat-foot,
.js .scroll-cue,
.js .page-hero .page-hero-sub,
.js .page-hero .eyebrow,
.js .article-hero .eyebrow,
.js .article-hero .back-link,
.js .gate-sub,
.js .soon-copy,
.js .soon-ctas { opacity: 0; }
.js .top { opacity: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 0.8fr 1.4fr; align-items: start; }
  .card-visual { height: 64px; }

  /* Stacked cards outgrow the viewport — release the pin */
  .products-zone { height: auto; }
  .products-pin {
    position: relative;
    height: auto;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .about { margin-top: 0; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .blocks, .link-cards, .people, .channels { grid-template-columns: repeat(2, 1fr); }
  .blocks.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .exchanges { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav .brand-word { display: none; }

  .section-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .section-side .rule { display: none; }
  .blocks, .blocks.cols-2, .blocks.cols-4,
  .link-cards, .link-cards.cols-2,
  .people, .channels { grid-template-columns: 1fr; }
  .exchanges { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .page-hero-title { max-width: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + var(--announce-h) + 9vh);
    gap: 3rem;
  }
  .hero-right {
    border-top: none;
    gap: 1.4rem;
  }
  .stat-foot { margin-top: 0.5rem; }
  .scroll-cue { display: none; }

  .products-pin { padding-top: 5rem; padding-bottom: 5rem; }
  .products-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-side .rule-dark { display: none; }
  .traction { grid-template-columns: 1fr 1fr; }

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

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 520px) {
  .exchanges { grid-template-columns: 1fr; }
  .traction { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .insight { flex-wrap: wrap; }
  .insight-date { flex-basis: 100%; }
  .people { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .cue-line::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
