:root {
  --bg: #0B0D12;
  --bg-elev: #12151D;
  --ink: #E8E6E1;
  --muted: #9AA3B2;
  --faint: #6B7382;
  --line: rgba(232, 230, 225, 0.08);
  --line-strong: rgba(232, 230, 225, 0.14);
  --accent: #6E8CFF;
  --accent-soft: #A8B4C8;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1080px;
  --pad: clamp(22px, 4.5vw, 48px);
  --glow-x: 72%;
  --glow-y: 28%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.bg-glow {
  pointer-events: none;
  position: fixed;
  left: var(--glow-x);
  top: var(--glow-y);
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  margin-left: calc(min(70vw, 720px) / -2);
  margin-top: calc(min(70vw, 720px) / -2);
  background: radial-gradient(circle at 40% 40%, rgba(110,140,255,.2), transparent 62%);
  /* no filter on the fixed layer: WebKit compositor safety (gradient already fades out) */
  z-index: 0;
  transition: left .55s cubic-bezier(.22,.61,.36,1), top .55s cubic-bezier(.22,.61,.36,1);
  animation: glow-drift 18s ease-in-out infinite alternate;
}
.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: soft-light;
  border-radius: 50%;
  pointer-events: none;
}
@keyframes glow-drift {
  from { opacity: .92; }
  to { opacity: 1; }
}

.nav, main, footer { position: relative; z-index: 1; }

.nav {
  position: sticky; top: 0; z-index: 20;
  isolation: isolate;
  background: rgba(11,13,18,.88);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(11,13,18,.97); }
/* Blur lives on a contained child layer, never on the sticky element itself (WebKit clipping bug) */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
}
/* Soft fade under the bar so the fixed glow does not hard-cut in a straight line */
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(11,13,18,.55), transparent);
  z-index: -1;
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.brand .mark { width: 28px; height: 28px; }
.brand .word {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav ul { list-style: none; display: flex; gap: 32px; }
.nav ul a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted);
  position: relative; letter-spacing: 0.01em;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav ul a:hover { color: var(--ink); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--ink);
  font: 500 14px var(--sans); cursor: pointer;
}

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--ink);
}
h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  max-width: 14ch;
  line-height: 1.16;
  font-variation-settings: "opsz" 72;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  max-width: 18ch;
  line-height: 1.2;
  font-variation-settings: "opsz" 48;
}
h3 {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.22;
  font-variation-settings: "opsz" 28;
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--muted);
  max-width: 560px;
}
.lede.tight { margin-top: 20px; }
.lede.on-dark { color: #C5CBD8; }

/* Staggered reveal targets — visible by default; hiding only applies once JS confirms IntersectionObserver works */
.reveal-item {
  opacity: 1;
  transform: none;
}
html.js-reveal .reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
html.js-reveal .reveal-item.in {
  opacity: 1;
  transform: none;
}
html.js-reveal .reveal {
  /* section wrapper no longer needs whole-section fade when children stagger */
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal-item { opacity: 1; transform: none; transition: none; }
  .bg-glow {
    transition: none;
    animation: none;
  }
  .card,
  .btn,
  .principles li,
  .contact .mail {
    transition: none !important;
  }
}

.hero {
  padding: clamp(96px, 14vw, 160px) 0 clamp(72px, 10vw, 120px);
  border-bottom: 1px solid var(--line);
}
.hero h1 { margin: 18px 0 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 500; font-size: 14px; text-decoration: none;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background .25s ease, border-color .25s ease, color .25s ease,
              transform .25s ease, box-shadow .25s ease;
}
.btn.primary {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
  box-shadow: 0 0 0 rgba(110,140,255,0);
}
.btn.primary:hover {
  background: #fff; border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(110,140,255,.22);
}
.btn:not(.primary):hover {
  border-color: var(--accent); color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110,140,255,.14);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

section { padding: clamp(72px, 10vw, 120px) 0; }
section + section { border-top: 1px solid var(--line); }

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 48%), var(--bg-elev);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  --spot-x: 50%;
  --spot-y: 50%;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--spot-x) var(--spot-y),
    rgba(110,140,255,.16),
    transparent 55%
  );
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  border-color: rgba(110,140,255,.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.28), 0 0 0 1px rgba(110,140,255,.12);
}
.card:hover::before { opacity: 1; }
.card .num {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .04em;
}
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.65; letter-spacing: 0.01em; }

.approach { background: linear-gradient(180deg, rgba(110,140,255,.04), transparent 40%); }
.approach-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start;
}
.principles { list-style: none; display: grid; gap: 0; }
.principles li {
  display: grid; gap: 6px;
  padding: 22px 0 22px 14px;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: border-left-color .25s ease, background .25s ease, padding-left .25s ease;
  border-radius: 0 8px 8px 0;
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li:hover {
  border-left-color: var(--accent);
  background: rgba(110,140,255,.05);
  padding-left: 18px;
}
.principles strong {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color .25s ease;
}
.principles li:hover strong { color: #C9D4FF; }
.principles span { color: var(--muted); font-size: 15px; line-height: 1.65; letter-spacing: 0.01em; }

.contact {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(110,140,255,.16), transparent 55%),
    #0E1118;
  border-top: 0 !important;
}
.contact .eyebrow { color: #9BB0FF; }
.contact h2 { margin: 16px 0 18px; max-width: 12ch; }
.contact .mail {
  position: relative;
  display: inline-block; margin-top: 28px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none; color: var(--ink);
  padding-bottom: 6px;
  transition: color .25s ease;
}
.contact .mail::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(232,230,225,.28);
  transform: scaleX(1);
  transform-origin: left;
  transition: background .35s ease, transform .45s cubic-bezier(.22,.61,.36,1), height .25s ease;
}
.contact .mail:hover { color: #fff; }
.contact .mail:hover::after {
  background: var(--accent);
  height: 2px;
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(110,140,255,.45);
}
.contact .mail:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

footer {
  padding: 40px 0 52px; font-size: 14px; color: var(--faint);
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
footer .brand .word { font-size: 18px; }
footer .brand .mark { width: 24px; height: 24px; }
footer .legal { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer a { text-decoration: none; color: var(--faint); }
footer a:hover { color: var(--accent-soft); }

/* Markets / venues strip — third-party marks shown in a uniform monochrome treatment for identification only */
.markets .lede.tight { margin-top: 20px; }
.markets h2 { margin-top: 16px; }
.venues {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px;
}
.venue {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  min-height: 148px;
  padding: 28px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 60%), var(--bg-elev);
  transition: border-color .25s ease, background .25s ease;
}
.venue-logo {
  width: auto; height: 30px; max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .72;
  transition: opacity .25s ease;
}
.venue-logo.binance { height: 26px; }
.venue-logo.coinbase { height: 24px; }
.venue-logo.nasdaq { height: 34px; }
.venue-logo.hkex { height: 46px; }
.venue-name {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  transition: color .25s ease;
}
.venue:hover { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 60%), var(--bg-elev); }
.venue:hover .venue-logo { opacity: .95; }
.venue:hover .venue-name { color: var(--muted); }
@media (max-width: 860px) {
  .venues { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .venue { min-height: 128px; padding: 24px 14px 18px; }
  .venue-logo.binance { height: 22px; }
  .venue-logo.coinbase { height: 20px; }
  .venue-logo.nasdaq { height: 28px; }
  .venue-logo.hkex { height: 40px; }
  .venue-name { font-size: 11px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  .venue, .venue-logo, .venue-name { transition: none !important; }
}

@media (max-width: 860px) {
  .nav ul {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(11,13,18,.98); flex-direction: column; gap: 0;
    padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line);
  }
  .nav ul.open { display: flex; }
  .nav ul li a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .principles li { padding-left: 12px; }
  .principles li:hover { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  .card::before { display: none; }
}
