/* =========================================================
   YUMA — site redesign
   Brand: Stara Medium (display/body), Basier Square Mono (labels/data)
   Palette pulled from the live brand tokens on yumaai.com
   ========================================================= */

@font-face { font-family: 'Stara'; src: url('../fonts/Stara-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Stara'; src: url('../fonts/Stara-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Stara Fallback'; src: local(Arial); ascent-override: 95.45%; descent-override: 38.57%; line-gap-override: 0%; size-adjust: 103.72%; }
@font-face { font-family: 'BasierSquareMono'; src: url('../fonts/BasierSquareMono-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'BasierSquareMono'; src: url('../fonts/BasierSquareMono-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'BasierSquareMono Fallback'; src: local(Arial); ascent-override: 70.03%; descent-override: 18.43%; line-gap-override: 0%; size-adjust: 135.66%; }

:root {
  /* neutrals (brand neutral-01 → neutral-09) */
  --white: #FFFFFF;
  --paper: #EBEBEB;
  --paper-2: #DBDBDB;
  --mute: #979797;
  --ink-5: #4D4D4D;
  --ink-4: #373737;
  --ink-3: #2E2E2E;
  --ink-2: #1E1E1E;
  --ink-1: #0B0B0B;

  /* brand accents */
  --neon: #E0F270;
  --purple: #C8B8FF;
  --purple-deep: #B8A4FF;
  --blue: #BEDDFF;
  --orange: #F2AB63;

  /* audience system: Build / Stake / Invest / Partner */
  --c-build: var(--neon);
  --c-stake: var(--purple);
  --c-invest: var(--blue);
  --c-partner: var(--orange);

  --brand-gradient: linear-gradient(180deg, var(--neon) 12%, var(--paper) 50%, var(--purple) 88%);
  --brand-gradient-x: linear-gradient(100deg, var(--neon) 0%, var(--paper) 50%, var(--purple) 100%);

  --line: rgba(235, 235, 235, 0.12);
  --line-strong: rgba(235, 235, 235, 0.24);
  --line-dark: rgba(11, 11, 11, 0.12);

  --font-display: 'Stara', 'Stara Fallback', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'BasierSquareMono', 'BasierSquareMono Fallback', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --fs-hero: clamp(2rem, min(8.6vw, 14.5vh), 8.25rem);
  --fs-h1: clamp(2.4rem, 6.4vw, 6rem);
  --fs-h2: clamp(2rem, 4.4vw, 4rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.75rem);
  --fs-statement: clamp(1.7rem, 3.5vw, 3.4rem);
  --fs-lead: clamp(1.1rem, 1.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-mono: 0.8125rem;
  --fs-label: 0.75rem;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --radius: 4px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
/* smooth scrolling for in-page links only once the page has loaded, so arriving at page.html#section lands there directly */
html.is-loaded { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--neon); color: var(--ink-1); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--neon); color: var(--ink-1); padding: 10px 14px; font-family: var(--font-mono); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: .04em; }
.label {
  font-family: var(--font-mono); font-weight: 400; font-size: var(--fs-label);
  letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: .6em;
}
.label::before { content: '['; }
.label::after { content: ']'; }
.label--plain::before, .label--plain::after { content: none; }
.label .dot { width: 7px; height: 7px; background: currentColor; display: inline-block; }
.display { font-size: var(--fs-hero); text-transform: uppercase; line-height: .9; letter-spacing: -0.035em; }
.h1 { font-size: var(--fs-h1); text-transform: uppercase; line-height: .92; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.025em; }
.h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.015em; }
.statement { font-size: var(--fs-statement); line-height: 1.08; letter-spacing: -0.025em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--mute); max-width: 60ch; }
.muted { color: var(--mute); }
.dim { color: var(--ink-5); }
.grad-text {
  background: var(--brand-gradient-x);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-build { color: var(--c-build); }
.hl-stake { color: var(--c-stake); }
.hl-invest { color: var(--c-invest); }
.hl-partner { color: var(--c-partner); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 9vw, 136px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--light { background: var(--paper); color: var(--ink-1); }
.section--light .label { color: var(--ink-5); }
.section--light .lead, .section--light .muted { color: var(--ink-5); }
.section--ink2 { background: var(--ink-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section--light .rule { border-color: var(--line-dark); }

.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head__meta { display: flex; flex-direction: column; gap: 14px; padding-top: .5em; }
.sec-head__index { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-5); letter-spacing: .1em; }
.section--light .sec-head__index { color: var(--mute); }
.sec-head__body { display: flex; flex-direction: column; gap: 24px; }
.sec-head__go { align-self: flex-start; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* rail + node motif (from the original site) */
.rail { position: relative; padding-left: clamp(20px, 3vw, 40px); }
.rail::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 0; width: 1px; background: linear-gradient(var(--line-strong), transparent); }
.rail::after { content: ''; position: absolute; left: -4px; top: 4px; width: 9px; height: 9px; background: currentColor; }

/* crosshair ticks */
.ticks { position: absolute; inset: 0; pointer-events: none; }
.ticks i { position: absolute; width: 18px; height: 18px; }
.ticks i::before, .ticks i::after { content: ''; position: absolute; background: var(--neon); opacity: .7; }
/* corner brackets: an upright on the outside, an arm pointing in at the words (right side mirrors left) */
.ticks i::before { width: 14px; height: 1px; top: 50%; left: 9px; }
.ticks i::after { width: 1px; height: 18px; top: 0; left: 9px; }
.ticks i:nth-child(even)::before { left: auto; right: 9px; }
.ticks i:nth-child(even)::after { left: auto; right: 9px; }
.ticks i:nth-child(1) { left: -9px; top: -9px; }
.ticks i:nth-child(2) { right: -9px; top: -9px; }
.ticks i:nth-child(3) { left: -9px; bottom: -9px; }
.ticks i:nth-child(4) { right: -9px; bottom: -9px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink-3); --fg: var(--paper); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--radius);
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
/* lime to purple (the brand gradient's light midpoint keeps the blend clean); hover just brightens it a touch */
.btn--primary { --bg: transparent; --fg: var(--ink-1); background-image: linear-gradient(100deg, var(--neon) 0%, var(--paper) 50%, var(--purple) 100%); transition: filter .15s; }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { --bg: transparent; --bd: var(--line-strong); }
.btn--ghost:hover { --bd: var(--paper); }
.btn--light { --bg: var(--ink-1); --fg: var(--paper); }
.btn--light:hover { --bg: var(--ink-3); }
.section--light .btn--ghost { --fg: var(--ink-1); --bd: rgba(11,11,11,.25); }
.section--light .btn--ghost:hover { --bd: var(--ink-1); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .75rem; }
/* filled in the local audience colour (story chapters) */
.btn--c { --bg: var(--c, var(--neon)); --fg: var(--ink-1); }
.btn--c:hover { --bg: color-mix(in srgb, var(--c, var(--neon)) 80%, var(--white)); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* equal-width buttons: every button takes the widest one's width; stacks full-width on small phones */
.btn-row--equal { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: fit-content; max-width: 100%; }
.hero .btn-row--equal, .hero--words .btn-row--equal { margin-inline: auto; }
@media (max-width: 420px) { .btn-row--equal { grid-auto-flow: row; width: 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow .arr { transition: transform .25s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(11, 11, 11, .94); /* solid rather than a backdrop blur: the hero canvases animate underneath */
  border-bottom: 1px solid var(--line);
  transition: background-color .3s;
  view-transition-name: site-header;
}
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brand-gradient-x); transform: scaleX(var(--sp, 0)); transform-origin: left; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--white); }
.brand svg { width: 112px; height: auto; }
.brand__dcg { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-left: 14px; border-left: 1px solid var(--line-strong); color: var(--paper); line-height: 1.2; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-left: auto; } /* links sit flush right, beside the ticker */
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
  border-radius: var(--radius); transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--paper); background: rgba(235,235,235,.06); }
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: currentColor; }
/* audience links carry their colour in the text; the current page is underlined in that colour */
.nav a.is-aud, .nav a.is-aud[aria-current="page"] { color: var(--c); }
.nav a.is-aud:hover { color: var(--white); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.ticker {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--paper); white-space: nowrap;
}
.ticker:hover { border-color: var(--line-strong); }
.ticker__name { color: var(--blue); }
.ticker[hidden], .ticker [hidden] { display: none; }
.ticker--tao .ticker__name { color: var(--paper); }
.ticker--tao:hover { border-color: var(--line); } /* not a link: no hover cue */
/* two tickers (TAO + YCX) share the header: shorten YCX to "(YCX)" below 1440px, drop the "24H" labels below 1280px */
@media (max-width: 1439px) { .ticker__full { display: none; } }
@media (max-width: 1279px) { .header-tools .ticker__per { display: none; } }
@media (max-width: 820px) { .site-header .brand__dcg { display: none; } }
@media (max-width: 680px) { .header-tools .ticker { display: none; } }
.ticker__chg.up { color: var(--neon); }
.ticker__chg.down { color: #FF8A80; }
.ticker__per { color: var(--ink-5); }
.menu-btn { display: none; height: 36px; padding: 0 14px; background: var(--ink-3); border-radius: var(--radius); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 1190px) { .nav, .header-tools .btn { display: none; } .menu-btn { display: inline-flex; align-items: center; } .header-tools { margin-left: auto; } }
@media (max-width: 640px) { .ticker { display: none; } .brand__dcg { display: none; } :root { --header-h: 64px; } }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column;
  background: var(--ink-1); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  overflow-y: auto; overflow-x: hidden;
}
.menu::before { content: ''; position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(closest-side, rgba(200,184,255,.35), transparent), radial-gradient(closest-side at 50% 85%, rgba(224,242,112,.35), transparent); filter: blur(30px); pointer-events: none; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { position: absolute; top: 0; left: 0; right: 0; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.menu__list { position: relative; display: flex; flex-direction: column; }
.menu__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(2rem, 9vw, 3.2rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; }
.menu__list a small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; text-align: right; }
.menu__foot { position: relative; margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; overflow: hidden; isolation: isolate; }
.hero--page { min-height: 86svh; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__glow { position: absolute; z-index: -2; left: 50%; bottom: -38vh; width: 160vw; height: 80vh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--glow-near, var(--neon)) 0%, var(--glow-far, var(--purple)) 45%, transparent 78%); opacity: .55; animation: breathe 9s ease-in-out infinite alternate; }
.hero__vignette { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink-1) 0%, rgba(11,11,11,.85) 30%, rgba(11,11,11,0) 70%, rgba(11,11,11,.15) 100%); pointer-events: none; }
.hero__backdrop { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
@keyframes breathe { from { opacity: .45; transform: translateX(-50%) scale(1); } to { opacity: .7; transform: translateX(-50%) scale(1.06); } }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero__title { position: relative; padding: 0 clamp(8px, 2vw, 28px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 62ch; color: var(--paper); opacity: .82; font-size: var(--fs-lead); line-height: 1.5; }
.hero .btn-row { justify-content: center; }

/* page heroes (left aligned) */
.hero--page .hero__inner { align-items: flex-start; text-align: left; }
.hero--page .hero__title { padding: 0; }
.hero--page .btn-row { justify-content: flex-start; }
/* words-only page heroes (Invest, Build): centred like the home page, over an animated backdrop */
.hero--words { padding-top: calc(var(--header-h) + 72px); }
.hero--words .hero__inner { align-items: center; text-align: center; gap: 24px; }
.hero--words .btn-row { justify-content: center; }
.hero--words .hero__lead { max-width: 56ch; }
.hero--words .hero__title { font-size: clamp(2.5rem, 5.4vw, 5.6rem); }
.hero--words .hero__title .line > span { white-space: nowrap; }
.fund { scroll-margin-top: calc(var(--header-h) + 24px); }
.fund:target { box-shadow: 0 0 0 1px var(--paper); }
@media (max-width: 560px) { .hero--words .hero__title .line > span { white-space: normal; } }
.hero__kicker { display: flex; align-items: center; gap: 12px; }
.hero__kicker .sw { width: 10px; height: 10px; }

/* home hero: three verbs, three doors (audience cards), research signup, trust row */
@property --glow-near { syntax: '<color>'; inherits: true; initial-value: #E0F270; }
@property --glow-far { syntax: '<color>'; inherits: true; initial-value: #C8B8FF; }
.hero--home { padding-top: calc(var(--header-h) + 28px); padding-bottom: 28px; transition: --glow-near .35s var(--ease), --glow-far .35s var(--ease); }
.hero--home .hero__inner { gap: clamp(14px, 2.2vh, 22px); }
.hero--home::after { content: ''; position: absolute; inset: auto 0 0; z-index: -1; height: clamp(80px, 16vh, 160px); background: linear-gradient(to bottom, transparent, var(--ink-1)); pointer-events: none; } /* melt the glow into the next section */
.hero__gate { font-size: clamp(2.4rem, min(6.6vw, 9.4vh), 6.75rem); padding: .12em clamp(14px, 2vw, 30px) .06em; }
.hero__gate .line > span { white-space: nowrap; }
.hero--home .hero__lead { max-width: 46em; animation-delay: .35s; }

.doors { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(4px, 1.4vh, 14px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: rgba(11, 11, 11, .8); text-align: left; }
.door { --c: var(--neon); position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(16px, 2.6vh, 24px) 22px clamp(14px, 2.2vh, 20px); border-left: 1px solid var(--line); transition: background-color .15s; }
.door:first-child { border-left: 0; }
.door::before { content: ''; position: absolute; inset: auto 0 0 0; z-index: 2; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.door::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 100%), color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); opacity: 0; transition: opacity .15s; pointer-events: none; }
.door:hover::before, .door:focus-within::before, .door.is-on::before { transform: scaleX(1); }
.door:hover::after, .door:focus-within::after, .door.is-on::after { opacity: 1; }
.door__head { display: flex; align-items: center; gap: 16px; }
.door__head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* static line icons; each plays one small move on hover/focus */
.door__icon { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); border-radius: var(--radius); background: color-mix(in srgb, var(--c) 6%, transparent); color: var(--c); transition: background-color .15s, border-color .15s; }
.door:is(:hover, :focus-within) .door__icon { border-color: color-mix(in srgb, var(--c) 70%, transparent); background-color: color-mix(in srgb, var(--c) 14%, transparent); } /* no glow: a blurred shadow here stalled the first hover frames */
.ic { width: 46px; height: 46px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }
.ic-build rect.top, .ic-invest .end { fill: currentColor; }
.ic-invest .base { stroke-width: 1; stroke-dasharray: 2 3; opacity: .4; }
.ic-invest .line { stroke-linejoin: round; stroke-linecap: round; stroke-width: 1.4; }
.ic-stake .loop { transform-origin: 20px 20px; }
@keyframes ic-stack { from { opacity: 0; transform: translateY(5px); } }
@keyframes ic-spin { to { transform: rotate(360deg); } }
@keyframes ic-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ic-pop { 0%, 80% { opacity: 0; } }
.door:is(:hover, :focus-within) .ic-build rect { animation: ic-stack .3s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.door:is(:hover, :focus-within) .ic-stake .loop { animation: ic-spin .6s var(--ease); }
.door:is(:hover, :focus-within) .ic-invest .line { stroke-dasharray: 1; animation: ic-draw .5s var(--ease) both; }
.door:is(:hover, :focus-within) .ic-invest .end { animation: ic-pop .5s linear both; }
.door__verb { font-size: clamp(1.7rem, min(2.6vw, 4.4vh), 2.6rem); line-height: .95; letter-spacing: -0.03em; text-transform: uppercase; color: var(--c); transition: text-shadow .15s; }
.door:hover .door__verb, .door:focus-within .door__verb, .door.is-on .door__verb { text-shadow: 0 0 36px color-mix(in srgb, var(--c) 45%, transparent); }
.door__who { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.door__benefit { font-size: clamp(1.02rem, 1.3vw, 1.26rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--white); }
.door__see { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: auto; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.door__see::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card opens the audience page */
.door__see .arr { transition: transform .3s var(--ease); }
.door:hover .door__see .arr { transform: translateX(3px); }
.door__see:focus-visible { outline: none; }
.door:has(.door__see:focus-visible) { outline: 2px solid var(--c); outline-offset: -2px; }

.hero__foot { width: 100%; display: flex; flex-direction: column; gap: clamp(12px, 2vh, 20px); }
.hero__news { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 10px 10px 10px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(11, 11, 11, .78); text-align: left; }
.hero__news-cap { font-size: .98rem; color: var(--mute); }
.hero__news-cap b { font-weight: 500; color: var(--white); margin-right: 4px; }
.hero__news-fields { display: flex; gap: 8px; flex: 0 1 430px; }
.hero__news .input { min-height: 40px; padding: 8px 12px; font-size: .95rem; background: rgba(30, 30, 30, .7); }
.hero__news .btn { min-height: 40px; }
.hero__news.is-sent .hero__news-fields { display: none; }
.hero__news.is-sent .form__ok { display: block; padding: 10px 14px; }
.trust .label { color: var(--paper); opacity: .6; }
.trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 40px; }
.trust__logos { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 14px 44px; margin: 0; padding: 0; list-style: none; }
.trust__logos img, .logos__row--img img { display: block; width: auto; filter: brightness(0) invert(1); opacity: .6; transition: filter .35s, opacity .35s; }
.trust__logos img:hover, .logos__row--img img:hover { filter: none; opacity: 1; }
.trust__cdc { height: 21px; }
.trust__bitgo { height: 30px; }
.trust__copper { height: 23px; }
.trust__infstones { height: 16px; }
.trust__talisman { height: 22px; }
.trust__colossus { height: 26px; }
.trust__simplytao { height: 20px; }
.trust__falconx { height: 17px; }
.trust__bitget { height: 26px; }
.trust__uphold { height: 27px; }
.trust__subwallet { height: 24px; }
.trust__senseinode { height: 19px; }
.trust__collab { height: 14px; }
.logos__row.logos__row--img { align-items: center; gap: 18px 40px; min-height: 44px; }
.logos__row.logos__row--partners { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 64px; gap: 0 28px; }
.logos__row--partners img { justify-self: start; max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 1240px) { .logos__row.logos__row--partners { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) { .logos__row.logos__row--partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .logos__row.logos__row--partners { gap: 0 16px; grid-auto-rows: 56px; }
  .logos__row--partners .trust__cdc { height: 18px; } .logos__row--partners .trust__bitgo { height: 26px; } .logos__row--partners .trust__copper { height: 20px; }
  .logos__row--partners .trust__infstones { height: 12px; } .logos__row--partners .trust__talisman { height: 18px; } .logos__row--partners .trust__colossus { height: 22px; } .logos__row--partners .trust__simplytao { height: 15px; }
  .logos__row--partners .trust__falconx { height: 15px; } .logos__row--partners .trust__bitget { height: 22px; } .logos__row--partners .trust__uphold { height: 23px; }
  .logos__row--partners .trust__subwallet { height: 20px; } .logos__row--partners .trust__senseinode { height: 16px; } .logos__row--partners .trust__collab { height: 12px; }
}
/* the partner logos stand in for the lead under a section headline: 13 of them, five to a row in even cells (three on
   smaller screens, two on phones), each sized so they read at the same visual size */
/* two classes so the grid wins over .logos__row, which is flex and comes later in the file */
.logos__row.trust-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 84px; gap: 0 24px; align-items: center; margin-top: 8px; }
.trust-logos img { justify-self: start; max-width: 100%; object-fit: contain; object-position: left center; }
.trust-logos .trust__cdc { height: 30px; } .trust-logos .trust__bitgo { height: 38px; } .trust-logos .trust__copper { height: 30px; }
.trust-logos .trust__infstones { height: 19px; } .trust-logos .trust__talisman { height: 26px; } .trust-logos .trust__colossus { height: 33px; } .trust-logos .trust__simplytao { height: 22px; }
.trust-logos .trust__falconx { height: 23px; } .trust-logos .trust__bitget { height: 31px; } .trust-logos .trust__uphold { height: 35px; }
.trust-logos .trust__subwallet { height: 31px; } .trust-logos .trust__senseinode { height: 24px; } .trust-logos .trust__collab { height: 18px; }
@media (max-width: 1240px) { .logos__row.trust-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .logos__row.trust-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 64px; }
  .trust-logos .trust__cdc { height: 24px; } .trust-logos .trust__bitgo { height: 34px; } .trust-logos .trust__copper { height: 26px; }
  .trust-logos .trust__infstones { height: 19px; } .trust-logos .trust__talisman { height: 25px; } .trust-logos .trust__colossus { height: 29px; } .trust-logos .trust__simplytao { height: 23px; }
  .trust-logos .trust__falconx { height: 20px; } .trust-logos .trust__bitget { height: 28px; } .trust-logos .trust__uphold { height: 31px; }
  .trust-logos .trust__subwallet { height: 27px; } .trust-logos .trust__senseinode { height: 21px; } .trust-logos .trust__collab { height: 16px; }
}
/* the logo count (13) never divides evenly into the columns, so a short last row is centred on the grid's columns
   (still lined up with the row above) instead of hanging off the left edge; only remainders that centre on whole
   columns move, so the rule keeps working if logos are added or removed */
@media (min-width: 1241px) {
  .logos__row--partners > :nth-child(7n+1):last-child { grid-column-start: 4; }
  .logos__row--partners > :nth-child(7n+1):nth-last-child(3) { grid-column-start: 3; }
  .logos__row--partners > :nth-child(7n+1):nth-last-child(5) { grid-column-start: 2; }
  .trust-logos > :nth-child(5n+1):last-child { grid-column-start: 3; }
  .trust-logos > :nth-child(5n+1):nth-last-child(3) { grid-column-start: 2; }
}
@media (min-width: 861px) and (max-width: 1240px) {
  .logos__row--partners > :nth-child(5n+1):last-child { grid-column-start: 3; }
  .logos__row--partners > :nth-child(5n+1):nth-last-child(3) { grid-column-start: 2; }
}
@media (max-width: 860px) { .logos__row--partners > :nth-child(3n+1):last-child { grid-column-start: 2; } }
@media (min-width: 761px) and (max-width: 1240px) { .trust-logos > :nth-child(3n+1):last-child { grid-column-start: 2; } }
@media (max-width: 760px) { .trust-logos > :nth-child(2n+1):last-child { grid-column: 1 / -1; justify-self: center; } }
/* partner logos link to each partner's site: the link is the grid item, so it takes the image's alignment */
.logo-link { display: flex; align-items: center; justify-self: start; max-width: 100%; }
.logo-link:hover img, .logo-link:focus-visible img { filter: none; opacity: 1; }
.section--light .logos__row--img img { filter: brightness(0); opacity: .72; }
.section--light .logos__row--img img:hover, .section--light .logo-link:focus-visible img { filter: brightness(0); opacity: 1; }

@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
  .door { gap: 10px; padding: 16px; border-left: 0; }
  .door + .door { border-top: 1px solid var(--line); }
  .door__head { gap: 14px; }
  .door__icon { width: 48px; height: 48px; }
  .ic { width: 38px; height: 38px; }
  .door__benefit { font-size: 1.04rem; }
  .hero__news { flex-direction: column; align-items: stretch; padding: 14px; }
  .hero__news-fields { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .hero--home { padding-top: calc(var(--header-h) + 26px); padding-bottom: 24px; }
  .hero--home .hero__inner { gap: 14px; }
  .hero__gate { font-size: clamp(1.75rem, 8.6vw, 2.6rem); padding-block: .16em .1em; }
  .door__verb { font-size: 1.4rem; }
  .hero--home .hero__lead { font-size: 1.02rem; }
  .door__see { font-size: .7rem; }
  .trust { flex-direction: column; gap: 12px; }
  .trust__logos { display: grid; grid-template-columns: repeat(3, auto); justify-items: center; gap: 14px 28px; }
  .trust__cdc { height: 18px; } .trust__bitgo { height: 26px; } .trust__copper { height: 20px; }
}

.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue::after { content: ''; width: 1px; height: 28px; background: linear-gradient(var(--mute), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee { position: relative; border-block: 1px solid var(--line); overflow: hidden; background: var(--ink-1); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; border-right: 1px solid var(--line); }
.marquee__item b { font-weight: 400; color: var(--paper); }
.marquee__item .sn { color: var(--neon); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- business lines ---------- */
/* invest value props: five steps on one rail, a soft light travelling along it */
.vp { position: relative; container-type: inline-size; }
.vp__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); }
.vp__track { position: absolute; left: 0; right: 0; top: 62px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 4%, var(--line-strong) 96%, transparent); overflow: hidden; }
.vp__track i { position: absolute; top: 0; left: 0; width: 160px; height: 100%; background: linear-gradient(90deg, transparent, var(--purple), var(--blue), transparent); animation: vp-run 7s linear infinite; }
@keyframes vp-run { from { transform: translateX(-160px); } to { transform: translateX(100cqw); } }
.vp__i { position: relative; display: flex; flex-direction: column; gap: 14px; }
.vp__n { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; color: var(--ink-5); }
.vp__node { width: 64px; height: 64px; display: grid; place-items: center; background: var(--ink-1); border: 1px solid var(--line-strong); border-radius: 14px; color: var(--purple); margin-bottom: 10px; }
.vp__node .ic { width: 34px; height: 34px; }
.vp__node .ic .f { fill: currentColor; }
.vp__i:nth-child(2) .vp__node { color: color-mix(in srgb, var(--purple) 75%, var(--blue)); }
.vp__i:nth-child(3) .vp__node { color: color-mix(in srgb, var(--purple) 50%, var(--blue)); }
.vp__i:nth-child(4) .vp__node { color: color-mix(in srgb, var(--purple) 25%, var(--blue)); }
.vp__i:nth-child(5) .vp__node { color: var(--blue); }
.vp h3 { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; }
.vp p { color: var(--mute); font-size: .92rem; line-height: 1.45; }
/* narrow screens: the rail turns vertical, icon on the left of each step */
@media (max-width: 960px) {
  .vp { container-type: normal; }
  .vp__list { grid-template-columns: 1fr; gap: 32px; }
  .vp__track { left: 32px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--line-strong) 4%, var(--line-strong) 96%, transparent); }
  .vp__track i { width: 100%; height: 120px; background: linear-gradient(180deg, transparent, var(--purple), var(--blue), transparent); animation-name: vp-run-y; }
  .vp__i { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 20px; row-gap: 8px; }
  .vp__node { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .vp__n, .vp h3, .vp p { grid-column: 2; }
}
@keyframes vp-run-y { from { top: -120px; } to { top: 100%; } }

/* ---------- stats / proof ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 24px 28px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__v { font-size: clamp(3rem, 6.5vw, 6rem); line-height: .9; letter-spacing: -0.04em; }
.stat__v sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; margin-left: .05em; letter-spacing: 0; }
.stat__l { color: var(--mute); font-size: .95rem; max-width: 26ch; }
.stat__src { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-5); margin-top: auto; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* fine print under a stats row (e.g. "*As of 3Q26"); .form__note's mono caption style, in the stat labels' grey
   (--ink-5 is ~2.3:1 on the dark ground, too faint for a disclosure) */
.stats__note { margin-top: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--mute); }
.section--light .stats__note { color: var(--ink-5); }
.stat__go { align-self: flex-start; margin-top: auto; padding-top: 8px; color: var(--c, var(--paper)); }
.stat__t { font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -0.015em; color: var(--c, var(--paper)); margin-bottom: 6px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat { border-bottom: 1px solid var(--line); } .stat:nth-child(2n) { border-right: 0; } .stat:nth-child(2n+1) { padding-left: 0; } .stat:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line) !important; } .stat:last-child { border-bottom: 0 !important; } }

.section--light .stats, .section--light .stat { border-color: var(--line-dark); }
.section--light .stat__l { color: var(--ink-5); }
.section--light .stat__src { color: var(--mute); }
.section--light .wordmark { border-color: rgba(11,11,11,.18); color: var(--ink-1); }
.section--light .wordmark small { color: var(--ink-5); }

.logos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; margin-top: 48px; }
.logos__group { display: flex; flex-direction: column; gap: 14px; }
.logos__group--wide { grid-column: 1 / -1; }
.logos__row { display: flex; flex-wrap: wrap; gap: 10px; }
.wordmark { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.02rem; letter-spacing: -0.01em; color: var(--paper); }
.wordmark small { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; color: var(--mute); margin-left: 8px; }
@media (max-width: 760px) { .logos { grid-template-columns: 1fr; } }

/* ---------- subnet cards ---------- */
.subnets { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sn-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 22px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .3s; }
.sn-card::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: radial-gradient(280px circle at var(--mx, 100%) var(--my, 0%), rgba(224,242,112,.2), transparent 70%), radial-gradient(80% 60% at 0% 100%, rgba(200,184,255,.16), transparent 60%); opacity: 0; transition: opacity .4s; }
.sn-card:hover { border-color: var(--line-strong); }
.sn-card:hover::before { opacity: 1; }
.sn-card__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sn-card__tag { display: inline-flex; align-items: center; gap: 7px; color: var(--paper); }
.sn-card__tag::before { content: ''; width: 6px; height: 6px; background: var(--neon); }
/* subnet logo: white mark at rest, the neon version fades in with the hover highlight */
.sn-card__logo { position: relative; width: clamp(64px, 6vw, 84px); aspect-ratio: 1; margin: 6px 0 4px; }
.sn-card__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s, filter .35s; }
.sn-card__logo img:first-child { opacity: .9; }
.sn-card__logo .hl { opacity: 0; filter: drop-shadow(0 0 14px rgba(224, 242, 112, .35)); }
.sn-card:hover .sn-card__logo img:first-child { opacity: 0; }
.sn-card:hover .sn-card__logo .hl { opacity: 1; }
.sn-card__logo--open { display: grid; place-items: center; border: 1px dashed var(--neon); border-radius: var(--radius); color: var(--neon); font-size: 2rem; line-height: 1; }
.sn-card h3 { font-size: 1.6rem; text-transform: uppercase; letter-spacing: -0.02em; }
.sn-card p { color: var(--mute); font-size: .95rem; line-height: 1.45; }
.sn-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sn-card__foot .acc { color: var(--neon); display: inline-flex; align-items: center; gap: 6px; }
.sn-card__foot .acc::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.sn-card--cta { background: transparent; border-style: dashed; justify-content: center; align-items: flex-start; }
.sn-card--cta .sn-card__foot { align-self: stretch; gap: 12px; } /* full width like the other cards, so the label and Apply sit at opposite ends */
.rail-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.rail-scroll::-webkit-scrollbar { display: none; }
@media (pointer: coarse) { .rail-scroll { scroll-snap-type: x mandatory; } } /* snap on touch only: on desktop it fought the wheel */
/* the scrollbar: a 2px track and thumb inside a 22px-tall hit area, so it's easy to grab and drag (or click to jump) */
.rail-progress { position: relative; height: 22px; margin: 8px 0 -10px; cursor: pointer; touch-action: none; user-select: none; }
.rail-progress::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: var(--line); }
.rail-progress i { position: absolute; top: 10px; height: 2px; background: var(--neon); border-radius: 2px; cursor: grab; transition: top .15s, height .15s; }
.rail-progress:hover i, .rail-progress.is-drag i { top: 9px; height: 4px; }
.rail-progress.is-drag, .rail-progress.is-drag i { cursor: grabbing; }
.rail-scroll > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail-scroll { grid-auto-columns: minmax(270px, 78vw); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); transition: all .2s; }
.filter:hover { color: var(--paper); border-color: var(--paper); }
.filter[aria-pressed="true"] { background: var(--paper); color: var(--ink-1); border-color: var(--paper); }
.section--light .filter { border-color: rgba(11,11,11,.2); color: var(--ink-5); }
.section--light .filter[aria-pressed="true"] { background: var(--ink-1); color: var(--paper); border-color: var(--ink-1); }

/* ---------- YCX widget ---------- */
.ycx { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 16px; }
.ycx__chart { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 20px 14px; background: var(--ink-2); display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.ycx__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ycx__ranges { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.ycx__ranges button { height: 28px; padding: 0 10px; border-radius: 5px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--mute); }
.ycx__ranges button[aria-pressed="true"] { background: var(--paper); color: var(--ink-1); }
.ycx__svg { flex: 1; width: 100%; min-height: 260px; }
.ycx__svg .axis { font-family: var(--font-mono); font-size: 10px; fill: var(--ink-5); letter-spacing: .04em; }
.ycx__svg .gridl { stroke: var(--line); stroke-width: 1; }
.ycx__svg .base { stroke: var(--ink-5); stroke-dasharray: 2 4; }
.ycx__svg .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ycx__svg .cursor { stroke: var(--paper); stroke-width: 1; opacity: .5; }
.ycx__svg .dotc { fill: var(--neon); stroke: var(--ink-1); stroke-width: 2; }
.ycx__tip { position: absolute; pointer-events: none; padding: 8px 10px; border-radius: 6px; background: var(--paper); color: var(--ink-1); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; white-space: nowrap; transform: translate(-50%, -120%); opacity: 0; transition: opacity .15s; }
.ycx__tip b { font-family: var(--font-display); font-weight: 500; font-size: .95rem; display: block; letter-spacing: 0; }
.ycx__src { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--ink-5); text-transform: uppercase; }
.ycx__side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.kpi--wide { grid-column: 1 / -1; }
.kpi__l { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.kpi__v { font-size: clamp(1.6rem, 2.4vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kpi__v--xl { font-size: clamp(2.6rem, 4.4vw, 4rem); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; }
.pill.up { background: rgba(224,242,112,.14); color: var(--neon); }
.pill.down { background: rgba(255,138,128,.14); color: #FF8A80; }
.kpi__s { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-5); }
@media (max-width: 960px) { .ycx { grid-template-columns: 1fr; } }

/* ---------- updates ---------- */
/* home latest updates: one large cover card + two smaller ones */
.ucards { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.ucards__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.ucard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-dark); transition: transform .35s var(--ease), box-shadow .35s; }
.ucard:hover { box-shadow: 0 22px 44px -26px rgba(11, 11, 11, .45); }
.ucard__art { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--c) 85%, var(--white)) 0%, color-mix(in srgb, var(--c) 30%, var(--white)) 55%, var(--white) 100%); border-bottom: 1px solid var(--line-dark); }
.ucard__img { display: block; overflow: hidden; border-bottom: 1px solid var(--line-dark); background: #F4F4F2; }
.ucard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ucard:hover .ucard__img img { transform: scale(1.03); }
.ucard--big .ucard__img { aspect-ratio: 16 / 9; }
.ucards__side .ucard__img { flex: none; align-self: center; width: clamp(104px, 14vw, 200px); aspect-ratio: 1; margin-left: 16px; border: 1px solid var(--line-dark); border-radius: var(--radius); } /* square cover as an inset thumbnail, never cropped */
.ucard__tag { position: absolute; left: 16px; top: 14px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-1); }
.ucard__tag::before { content: '['; margin-right: 6px; } .ucard__tag::after { content: ']'; margin-left: 6px; }
.ucard__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.ucard__cue { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-1); }
.ucard__cue { flex-wrap: wrap; row-gap: 4px; }
.ucard__cue span { white-space: nowrap; }
.ucard__cue i { width: 4px; height: 4px; background: var(--ink-5); }
.ucard__title { font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink-1); }
.ucard__dek { color: var(--ink-5); font-size: 1rem; line-height: 1.5; max-width: 52ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.ucards__side .ucard__dek { font-size: .92rem; line-height: 1.45; -webkit-line-clamp: 3; } /* long summaries trim to a short preview */
.ucard__date { margin-top: auto; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ucard--big .ucard__art { aspect-ratio: 16 / 8; }
.ucard--big .ucard__title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -0.02em; }
.ucards__side .ucard { flex-direction: row; }
.ucards__side .ucard__art { flex: 0 0 38%; border-bottom: 0; border-right: 1px solid var(--line-dark); }
/* signup row sits on the light band itself: hairlines, not a dark box */
.upd-news { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin-top: clamp(28px, 4vw, 48px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--paper); }
.upd-news__cap { font-size: 1.1rem; }
.upd-news__cap b { font-weight: 500; }
.upd-news__fields { display: flex; gap: 8px; flex: 0 1 440px; }
.upd-news.is-sent .upd-news__fields { display: none; }
.upd-news.is-sent .form__ok { display: block; padding: 10px 14px; }
@media (max-width: 900px) {
  .ucards { grid-template-columns: 1fr; }
  .ucards__side { grid-template-rows: none; }
  .upd-news { flex-direction: column; align-items: stretch; }
  .upd-news__fields { flex: 1 1 auto; }
}
@media (max-width: 560px) { .ucards__side .ucard__art { flex-basis: 34%; } .ucards__side .ucard__tag { display: none; } .ucards__side .ucard__body { padding: 14px 16px; } .ucards__side .ucard__title { font-size: 1.02rem; } }

/* updates page: signup in the hero, the latest post as a wide card, then a grid of dark cover cards */
/* in the centred heroes the signup is one tidy row: caption on the left, email and button filling the rest */
.hero--words .hero__news { width: min(100%, 720px); margin-top: 8px; flex-wrap: nowrap; gap: 16px; padding: 10px 10px 10px 20px; text-align: left; }
.hero--words .hero__news-cap { flex: 0 1 auto; max-width: 250px; line-height: 1.35; }
.hero--words .hero__news-fields { flex: 1 1 auto; }
.hero--words .hero__news-fields .input { flex: 1; min-width: 0; }
@media (max-width: 640px) { .hero--words .hero__news { flex-direction: column; align-items: stretch; flex-wrap: wrap; padding: 14px; } .hero--words .hero__news-cap { max-width: none; text-align: center; } }
.upd-page { padding-top: 56px; }
.upd-page__head { margin-top: 72px; }
.upd-home__grid { margin-top: 16px; }
.pfeat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); transition: border-color .2s; }
.pfeat:hover { border-color: var(--line-strong); }
.pfeat__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-right: 1px solid var(--line); background: var(--ink-1); }
.pfeat__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pfeat:hover .pfeat__img img { transform: scale(1.03); }
.pfeat__body { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 44px); }
.pfeat__title { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -0.025em; color: var(--paper); }
.pfeat .ucard__dek { font-size: 1.05rem; -webkit-line-clamp: 4; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pgrid .ucard__img { aspect-ratio: 16 / 9; }
.pgrid .ucard__title { font-size: 1.12rem; }
.pgrid .ucard__dek { font-size: .92rem; -webkit-line-clamp: 2; }
.ucard__topic { display: inline-flex; align-items: center; gap: 8px; }
.ucard__topic::before { content: ''; width: 8px; height: 8px; background: var(--c); }
/* the cards on black: ink panels with a hairline border; the dark covers carry the colour */
:is(.upd-page, .upd-home, .post-related) .ucard { background: var(--ink-2); border-color: var(--line); }
:is(.upd-page, .upd-home, .post-related) .ucard:hover { box-shadow: none; border-color: var(--line-strong); }
:is(.upd-page, .upd-home, .post-related) .ucard__img { background: var(--ink-1); border-bottom-color: var(--line); }
:is(.upd-page, .upd-home, .post-related) .ucard__title { color: var(--paper); }
:is(.upd-page, .upd-home, .post-related) .ucard__dek { color: var(--mute); }
:is(.upd-page, .upd-home, .post-related) .ucard__cue { color: var(--paper); }
:is(.upd-page, .upd-home, .post-related) .ucard__cue i { background: var(--ink-5); }
:is(.upd-page, .upd-home, .post-related) .ucard__date { color: var(--mute); }
.filter b { font-weight: 400; margin-left: 8px; opacity: .55; }
@media (max-width: 960px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .pfeat { grid-template-columns: 1fr; } .pfeat__img { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }
.updates { border-top: 1px solid var(--line); }
.upd { display: grid; grid-template-columns: 160px minmax(0, 1fr) 120px 32px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), background-color .3s; }
.upd:hover { padding-inline: 14px; background: rgba(235,235,235,.03); }
.upd__date { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.upd__title { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.2; letter-spacing: -0.015em; }
.upd__dek { display: block; margin-top: 8px; font-size: .95rem; line-height: 1.45; color: var(--mute); max-width: 75ch; }
.upd__tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); justify-self: start; }
.upd__tag::before { content: ''; width: 6px; height: 6px; background: currentColor; }
.upd__arr { justify-self: end; color: var(--mute); transition: transform .3s var(--ease), color .3s; }
.upd:hover .upd__arr { color: var(--neon); transform: translate(3px, -3px); }
.section--light .updates, .section--light .upd { border-color: var(--line-dark); }
.section--light .upd__tag { color: var(--ink-1); }
.section--light .upd__dek, .section--light .upd__date { color: var(--ink-5); }
.section--light .upd:hover { background: rgba(11,11,11,.03); }
.section--light .upd:hover .upd__arr { color: var(--ink-1); }
@media (max-width: 800px) { .upd { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; } .upd__date { grid-column: 1; } .upd__tag { grid-column: 2; grid-row: 1; justify-self: end; } .upd__title { grid-column: 1 / -1; } .upd__arr { display: none; } }

/* ---------- post pages (template: update-*.html) ---------- */
/* hero: back link, cue (topic · type · length), title, dek, then the byline and share row over a hairline */
.post-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(28px, 4vw, 44px); }
.post-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(28px, 4vw, 64px); align-items: end; } /* words left, cover right, byline and share across the foot */
.post-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); transition: color .15s; }
.post-back:hover { color: var(--paper); }
.post-back .arr { transition: transform .25s var(--ease); }
.post-back:hover .arr { transform: translateX(-3px); }
.post-cue { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.post-cue i, .post-meta__by i { width: 4px; height: 4px; background: var(--ink-5); }
.post-cue__topic { display: inline-flex; align-items: center; gap: 8px; }
.post-cue__topic::before { content: ''; width: 8px; height: 8px; background: var(--c); }
.post-title { max-width: 18ch; font-size: clamp(2.3rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.post-dek { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--mute); }
.post-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.post-meta__by { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.post-share { display: flex; align-items: center; gap: 8px; }
.post-share__l { margin-right: 6px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.post-share a, .post-share button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--paper); transition: border-color .15s, background-color .15s; }
.post-share a:hover, .post-share button:hover { border-color: var(--paper); background: var(--ink-2); }
.post-share__ok { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--neon); }
/* cover: the post's dark 16:9 cover, beside the title */
.post-cover { margin: 0; }
.post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); }
/* body: contents on the left (3), the article on the right (9), like the section headers */
.post-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px var(--col-gap, clamp(24px, 4vw, 64px)); padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.post-aside { position: relative; }
.post-toc { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 16px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.post-toc a { position: relative; display: block; padding: 7px 0 7px 16px; font-size: .92rem; line-height: 1.3; color: var(--mute); transition: color .15s; }
.post-toc a::before { content: ''; position: absolute; left: -4px; top: 12px; width: 7px; height: 7px; background: var(--c); opacity: 0; transition: opacity .15s; }
.post-toc a:hover { color: var(--paper); }
.post-toc a.is-on { color: var(--white); }
.post-toc a.is-on::before { opacity: 1; }
/* prose: long-form text at a readable measure; wide blocks (disclosures) take the full column */
.prose { min-width: 0; font-size: 1.125rem; line-height: 1.7; color: var(--paper); }
.prose > * { max-width: 68ch; }
.prose > .wide { max-width: none; }
.prose > * + * { margin-top: 1.15em; }
.prose__intro { font-size: clamp(1.2rem, 1.6vw, 1.38rem); line-height: 1.55; color: var(--white); }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--white); scroll-margin-top: calc(var(--header-h) + 28px); }
.prose h2 + * { margin-top: .85em; }
.prose strong { font-weight: 500; color: var(--white); }
.prose a { color: var(--white); text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color .15s; }
.prose a:hover { text-decoration-color: var(--white); }
.prose em { font-style: italic; }
/* ported posts: charts, the documentary video and PDF reports */
.post-figure { margin-block: 2em; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.post-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 2em; border-radius: var(--radius); overflow: hidden; background: #000; }
.post-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-pdf { height: min(88vh, 1100px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.post-pdf iframe { display: block; width: 100%; height: 100%; border: 0; }
/* PDF-only posts: no sidebar, so the report gets the full content width (the viewer fits page width via #view=FitH) */
.post-layout--full { grid-template-columns: minmax(0, 1fr); }
.post-layout--full .post-aside { display: none; }
.prose .link-arrow { text-decoration: none; }
@media (max-width: 720px) { .post-pdf { height: 70vh; } }
.prose ul { list-style: none; margin-left: 0; padding: 0; display: flex; flex-direction: column; gap: .5em; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--c); }
.prose ol { list-style: decimal; margin-left: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: .5em; }
.prose ol li::marker { color: var(--mute); }
/* disclosures: mono small print inside a hairline frame at the end of the article */
.post-disclosure { margin-top: 3.2em; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--header-h) + 28px); }
.post-disclosure h2.label { margin: 0 0 4px; font-size: .72rem; line-height: 1.2; letter-spacing: .1em; color: var(--mute); }
.post-disclosure p { font-family: var(--font-mono); font-size: .74rem; line-height: 1.65; letter-spacing: .01em; color: var(--mute); }
.post-related { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .post-hero__grid, .post-layout { grid-template-columns: 1fr; }
  .post-aside { display: none; }
}

/* ---------- FAQ (Stake §03): hairline rows; a question opens its answer; the plus turns to a minus on an accent tile ---------- */
.faq-sec .sec-head { margin-bottom: 0; }
.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--neon); outline-offset: 4px; }
.faq__q { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--paper); transition: color .15s; }
.faq__item summary:hover .faq__q, .faq__item[open] .faq__q { color: var(--white); }
.faq__ic { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .15s, background-color .15s; }
.faq__ic::before, .faq__ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--paper); transform: translate(-50%, -50%); transition: transform .2s var(--ease); }
.faq__ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item summary:hover .faq__ic { border-color: var(--paper); }
.faq__item[open] .faq__ic { border-color: var(--c-stake); background: color-mix(in srgb, var(--c-stake) 14%, transparent); }
.faq__item[open] .faq__ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 54px 26px 0; }
.faq__a p { max-width: 64ch; font-size: 1.02rem; line-height: 1.65; color: var(--mute); }
@media (max-width: 640px) { .faq__a { padding-right: 0; } }

/* ---------- big statement / mission ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.mission__mark { position: sticky; top: calc(var(--header-h) + 24px); width: 100%; max-width: 420px; aspect-ratio: 1; }
.mission__mark canvas { display: block; width: 100%; height: 100%; }
.mission__copy { display: flex; flex-direction: column; gap: 28px; }
.mission__copy p:not(.statement) { color: var(--mute); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 62ch; }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } .mission__mark { position: relative; top: 0; max-width: 300px; margin-inline: auto; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 100%; width: 130vw; height: 90%; transform: translate(-50%, -45%); border-radius: 50%; background: radial-gradient(closest-side, rgba(224,242,112,.9), rgba(200,184,255,.6) 50%, transparent 80%); filter: blur(30px); opacity: .5; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta h2 { max-width: 20ch; }
.cta .btn-row { justify-content: center; }
.cta__routes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.route { --c: var(--neon); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(11,11,11,.4); transition: border-color .2s, background-color .2s; }
.route i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.route:hover { border-color: var(--c); background: rgba(11,11,11,.7); }

/* ---------- feature list / service grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feat { --c: var(--neon); background: var(--ink-1); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 210px; position: relative; transition: background-color .3s; }
.feat:hover { background: var(--ink-2); }
.feat__n { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--c); }
.feat h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.1; letter-spacing: -0.015em; }
.feat p { color: var(--mute); font-size: .95rem; }
.feat__icon { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; display: grid; place-items: center; color: var(--c); margin-bottom: 10px; }
.section--light .feat-grid { background: var(--line-dark); border-color: var(--line-dark); }
.section--light .feat { background: var(--paper); }
.section--light .feat:hover { background: #E2E2E2; }
.section--light .feat p { color: var(--ink-5); }
.section--light .feat__n { color: var(--ink-1); }
.section--light .feat__icon { border-color: rgba(11,11,11,.2); color: var(--ink-1); }
/* four cards in one row, each with a small icon tile that animates on hover (same tile as the home hero doors) */
.feat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 10px; border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); border-radius: var(--radius); background: color-mix(in srgb, var(--c) 6%, transparent); color: var(--c); transition: border-color .15s, background-color .15s; }
.feat:hover .feat__icon { border-color: color-mix(in srgb, var(--c) 70%, transparent); background-color: color-mix(in srgb, var(--c) 14%, transparent); }
.ic-lock .hole, .ic-bldg .col, .ic-split .nd { fill: currentColor; stroke: none; }
.ic-bldg .col { transform-box: fill-box; transform-origin: bottom; }
.ic-split .br, .ic-shield .chk { stroke-dasharray: 1; }
.ic-shield .chk { stroke-width: 2; }
@keyframes ic-shut { 0% { transform: translateY(-5px); } 55% { transform: translateY(0); } 70% { transform: translateY(-1.5px); } 100% { transform: translateY(0); } }
@keyframes ic-rise { from { transform: scaleY(0); } }
.feat:hover .ic-lock .shackle { animation: ic-shut .45s var(--ease) both; }
.feat:hover .ic-lock .hole { animation: ic-pop .45s linear both; }
.feat:hover .ic-bldg .col { animation: ic-rise .35s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.feat:hover .ic-split .br { animation: ic-draw .45s var(--ease) both; }
.feat:hover .ic-split .nd { animation: ic-pop .5s linear both; }
.feat:hover .ic-shield .chk { animation: ic-draw .45s var(--ease) both; animation-delay: .05s; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } .feat { min-height: 0; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split--7-5 { grid-template-columns: 1fr; } }

.check-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.check-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; line-height: 1.35; }
.check-list li::before { content: ''; width: 10px; height: 10px; margin-top: .45em; background: var(--c, var(--neon)); }
.section--light .check-list, .section--light .check-list li { border-color: var(--line-dark); }
.section--light .check-list li::before { background: var(--ink-1); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.35); }
.step__n { font-size: 3.5rem; line-height: .9; letter-spacing: -0.04em; }
.step h3 { font-size: 1.4rem; text-transform: uppercase; }
.step p { color: var(--ink-5); font-size: .98rem; }
.step ul { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.step li { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--ink-1); display: flex; gap: 8px; }
.step li::before { content: '→'; color: var(--ink-5); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
/* scroll-drawn rail (data-path): fills as you scroll, lighting each step it reaches */
.steps[data-path] { position: relative; padding-top: 40px; }
.steps__rail { position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--line-dark); }
.steps__rail i { position: absolute; inset: 0; background: var(--ink-1); transform: scaleX(var(--p, 0)); transform-origin: left; }
.steps[data-path] .step::before { content: ''; position: absolute; top: -42px; left: 22px; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--ink-5); transition: background-color .3s, border-color .3s, box-shadow .4s var(--ease); }
.steps[data-path] .step__n { color: transparent; -webkit-text-stroke: 1px var(--ink-5); transition: color .4s, -webkit-text-stroke-color .4s; }
.steps[data-path] .step { transition: border-color .4s, background-color .4s, transform .8s var(--ease), opacity .8s var(--ease); }
.steps[data-path] .step.is-lit { border-color: rgba(11,11,11,.35); background: rgba(255,255,255,.6); }
.steps[data-path] .step.is-lit::before { background: var(--ink-1); border-color: var(--ink-1); box-shadow: 0 0 0 5px var(--neon); }
.steps[data-path] .step.is-lit .step__n { color: var(--ink-1); -webkit-text-stroke-color: transparent; }
@media (max-width: 900px) {
  .steps[data-path] { padding-top: 0; padding-left: 32px; }
  .steps__rail { top: 0; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
  .steps__rail i { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .steps[data-path] .step::before { top: 30px; left: -33px; }
}

/* careers: open roles as rows (title · team · location · apply) */
.jobs__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.jobs__count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.jobs__list { list-style: none; margin: 0; padding: 0; }
.job { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.job:hover { background: rgba(235, 235, 235, .03); }
.job__title { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; color: var(--paper); }
.job__dept, .job__loc { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.job__go { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--neon); white-space: nowrap; }
.jobs__more { margin: 20px 0 0; color: var(--mute); }
.jobs__more a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
[data-careers][hidden] { display: none; }
@media (max-width: 760px) { .job { grid-template-columns: 1fr auto; gap: 6px 16px; } .job__title { grid-column: 1 / -1; } .job__dept { grid-column: 1; } .job__loc { grid-column: 1; } .job__go { grid-column: 2; grid-row: 2 / 4; align-self: center; } }

/* callout / notice */
.notice { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 22px; border: 1px solid rgba(242,171,99,.35); background: rgba(242,171,99,.06); border-radius: var(--radius-lg); }
.notice__i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(242,171,99,.15); color: var(--orange); font-family: var(--font-mono); }
.notice p { color: var(--paper); font-size: .98rem; }
.notice p + p { margin-top: 8px; }
.notice a { color: var(--orange); border-bottom: 1px solid currentColor; }

/* compare cards (root vs alpha) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp { --c: var(--purple); position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--ink-2); overflow: hidden; isolation: isolate; }
.cmp::after { content: ''; position: absolute; z-index: -1; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent); }
.cmp h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; letter-spacing: -0.03em; }
.cmp dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.cmp dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmp dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: .2em; }
.cmp dd { margin: 0; font-size: 1rem; }
.feature-card { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; transition: border-color .3s, transform .4s var(--ease); }
.feature-card:hover { border-color: var(--line-strong); }
@media (max-width: 800px) { .feature-card { grid-template-columns: 1fr; } .feature-card > div:last-child { justify-content: flex-start !important; } }
a.cmp { transition: border-color .3s, transform .4s var(--ease); }
a.cmp:hover { border-color: var(--line-strong); }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } .cmp dl div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- funds ---------- */
.funds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fund { --c: var(--blue); position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: var(--ink-1); color: var(--paper); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .2s; }
.fund:hover { border-color: var(--line-strong); }
.fund__top { display: flex; justify-content: space-between; align-items: center; }
.fund__like { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.fund__like::before { content: ''; width: 6px; height: 6px; background: currentColor; }
.fund h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; margin-top: 18px; }
.fund__best { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--paper); padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: 8px; }
.fund__best b { font-weight: 400; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; display: block; margin-bottom: 4px; }
.fund p { color: var(--mute); font-size: .98rem; }
.fund__mix { display: flex; flex-direction: column; gap: 8px; }
.fund__mix .bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--paper-2); }
.fund__mix .bar span { display: block; height: 100%; }
.fund__mix .k { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-5); }
/* portfolio map: a dark inset treemap of the subnet universe, box size = market cap */
.fmap { display: flex; flex-direction: column; gap: 12px; }
.fmap__svg { display: block; width: 100%; height: auto; overflow: visible; }
.fmap__svg path.on { fill: var(--purple); } /* subnets: one colour in every fund */
.fmap__svg path.tao { fill: var(--blue); } /* TAO, the base asset */
.fmap__svg text { text-anchor: middle; pointer-events: none; }
.fmap__big { font-size: 38px; letter-spacing: -0.02em; fill: var(--paper); }
.fmap__small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; fill: var(--mute); }
.fund .fmap__read { margin: 0; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: .85; min-height: 1.2em; text-align: center; }
.fund__foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.fund .btn--ghost { --fg: var(--paper); --bd: var(--line-strong); }
.fund .btn--light { --bg: var(--paper); --fg: var(--ink-1); }
.fund .btn--light:hover { --bg: var(--white); }
@media (max-width: 1000px) { .funds { grid-template-columns: 1fr; } }


.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.term { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.term:not(:nth-child(4n+1)) { padding-left: 20px; border-left: 1px solid var(--line); }
.term dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.term dd { margin: 0; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
.term dd small { display: block; font-size: .85rem; color: var(--mute); margin-top: 4px; }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr 1fr; } .term:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; } .term:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line-dark); } }
@media (max-width: 480px) { .terms { grid-template-columns: 1fr; } .term:nth-child(2n) { padding-left: 0; border-left: 0; } }

/* disclosures */
.disclose { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.disclose summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary .pm { width: 24px; height: 24px; border: 1px solid rgba(11,11,11,.25); border-radius: 50%; display: grid; place-items: center; transition: transform .3s; }
.disclose[open] summary .pm { transform: rotate(45deg); }
.disclose__body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 12px; font-size: .86rem; line-height: 1.6; color: var(--ink-5); max-width: 110ch; }
.section:not(.section--light) .disclose { border-color: var(--line); }
.section:not(.section--light) .disclose summary .pm { border-color: var(--line-strong); }
.section:not(.section--light) .disclose__body { color: var(--mute); }

/* ---------- team ---------- */
/* leadership: dark cards; each portrait is a matched cutout (same head size and line) on plain ink,
   fading out at the bottom so the photos' different crops never show */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); transition: border-color .2s; }
.person:hover { border-color: var(--line-strong); }
.person__img { position: relative; aspect-ratio: 1; overflow: hidden; background: #141414; }
.person__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.04); transition: transform .5s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent 97%); mask-image: linear-gradient(180deg, #000 64%, transparent 97%); }
.person:hover .person__img img { transform: scale(1.03); }
.person__meta { padding: 18px 20px 20px; }
.person h3 { font-size: 1.2rem; letter-spacing: -0.01em; color: var(--paper); }
.person p { margin-top: 6px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }

:root { --mark-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath d='M47.9966 11.4622C39.5493 11.3622 30.902 8.8454 24.0375 3.59525C16.7898 -1.95492 9.30887 -0.588188 4.44375 4.46192C-0.604645 9.32875 -1.95422 16.7956 3.57736 24.0625C8.82569 30.9294 11.3249 39.563 11.4415 48.0133C11.3416 56.4635 8.82569 65.0971 3.57736 71.9639C-1.95422 79.2142 -0.587983 86.6977 4.46041 91.5479C9.30887 96.598 16.7898 97.9648 24.0375 92.4146C30.902 87.1644 39.5493 84.6643 47.9966 84.5476C56.4439 84.6476 65.0912 87.1644 71.9557 92.4146C79.2034 97.9648 86.6843 96.598 91.5494 91.5479C96.5978 86.6811 97.9474 79.2142 92.4158 71.9473C87.1675 65.0804 84.6683 56.4468 84.5517 47.9966C84.6516 39.5463 87.1675 30.9128 92.4158 24.0459C97.9641 16.7957 96.5978 9.31208 91.5494 4.44529C86.6843 -0.604858 79.22 -1.9549 71.9557 3.57859C65.0912 8.82877 56.4439 11.3288 47.9966 11.4455V11.4622Z'/%3E%3C/svg%3E"); }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-top: 28px; }
.timeline::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--brand-gradient-x); }
.timeline--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tl { position: relative; display: flex; flex-direction: column; gap: 8px; }
.tl::before { content: ''; position: absolute; top: -28px; left: 0; width: 11px; height: 11px; background: var(--paper); border: 2px solid var(--ink-1); }
.tl__d { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.tl__t { font-size: 1.1rem; line-height: 1.25; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 28px; } .timeline::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--neon), var(--purple)); } .tl::before { top: 6px; left: -28px; } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 12px; }
.value h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: -0.015em; }
.value p { color: var(--mute); font-size: .95rem; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.input, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--paper); font: inherit; font-size: 1rem; transition: border-color .2s, background-color .2s; }
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--neon); background: var(--ink-1); }
.input::placeholder, .textarea::placeholder { color: var(--ink-5); }
fieldset { border: 0; padding: 0; margin: 0; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.topic { position: relative; }
.field .topic { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--paper); }
.topic input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topic span { --c: var(--neon); display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .98rem; line-height: 1.2; transition: border-color .2s, background-color .2s; }
.topic span i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.topic input:hover + span { border-color: var(--line-strong); }
.topic input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.topic input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }
.form__note { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--ink-5); }
.form__ok { display: none; padding: 16px; border: 1px solid var(--neon); border-radius: var(--radius); color: var(--neon); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; }
.form.is-sent .form__ok { display: block; }
/* contact form: the confirmation is plain lime text on the left of the Send row, no box */
.form__ok--inline { margin: 0 auto 0 0; padding: 0; border: 0; border-radius: 0; font-size: .7rem; }
.form__err { order: 99; flex: 1 0 100%; grid-column: 1 / -1; margin: 0; font-size: .9rem; color: #ff8a80; }
.form__err:empty { display: none; }
.footer-news .form__err { margin-top: 10px; }
form[aria-busy] button[type="submit"] { opacity: .6; cursor: progress; }
.form__group { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.form__group[hidden], .field[hidden], .check[hidden] { display: none; }
.form > .field:has(+ .field[hidden]) { grid-column: 1 / -1; }
.field label .opt { color: var(--ink-5); text-transform: none; letter-spacing: .02em; }
.form__checks { grid-template-columns: 1fr; gap: 10px; }
/* "Investing in the funds": WealthBlock's form (white, their styling) in a white panel, as on the old site. It never
   reports its height, so the panel has a fixed height and the iframe scrolls inside it if it needs to. */
.invest-embed { gap: 12px; }
.invest-embed[hidden] { display: none; }
.invest-embed__panel { height: 1150px; background: #fff; border-radius: var(--radius-lg, 16px); overflow: hidden; }
.invest-embed__panel iframe { display: block; width: 100%; height: 100%; border: 0; }
.invest-embed .form__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .invest-embed__panel { height: 1350px; } }
.select { appearance: none; padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.select:has(option[value=""]:checked), .select option[value=""] { color: var(--ink-5); }
.select option { color: var(--paper); background: var(--ink-2); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--paper); cursor: pointer; }
.check input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--neon); }
.check a { color: var(--paper); border-bottom: 1px solid var(--line-strong); }
@media (max-width: 720px) { .form__group { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } .topics { grid-template-columns: 1fr; } }

.inline-form { display: flex; gap: 8px; }
.inline-form .input { min-height: 44px; }

/* contact cards */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ccard { --c: var(--neon); display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, background-color .2s; }
.ccard:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, transparent); }
.ccard i { width: 10px; height: 10px; background: var(--c); border-radius: 50%; }
.ccard b { display: block; font-weight: 500; font-size: 1.1rem; }
.ccard span { color: var(--mute); font-size: .92rem; }
.ccard .arr { color: var(--c); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--ink-1); border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)) minmax(0, 3fr); gap: 32px; padding-bottom: clamp(48px, 6vw, 72px); }
.footer-col h4 { font-family: var(--font-mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-5); margin-bottom: 16px; }
.footer-col h4::before { content: '['; } .footer-col h4::after { content: ']'; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--mute); transition: color .2s; }
.footer-col a:hover { color: var(--paper); }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { color: var(--mute); max-width: 34ch; font-size: .95rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--paper); transition: border-color .2s, background-color .2s; }
.socials a:hover { border-color: var(--paper); background: var(--ink-2); }
.footer-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-5); position: relative; z-index: 1; background: var(--ink-1); }
.footer-bar a:hover { color: var(--paper); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand, .footer-news { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- story: how Bittensor works (home §02) ---------- */
.story { border-top: 1px solid var(--line); }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); }
.story__chapters { grid-column: 1; grid-row: 1; }
.story__vis { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); height: calc(100svh - var(--header-h) - 48px); min-height: 460px; max-height: 880px; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(80% 60% at 50% 48%, rgba(200,184,255,.08), transparent 70%), var(--ink-1); overflow: hidden; isolation: isolate; }
.story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__bar { position: absolute; z-index: 2; inset: 0 0 auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: rgba(11,11,11,.9); }
.story__seg { --c: var(--neon); position: relative; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-5); text-align: left; transition: color .3s; white-space: nowrap; overflow: hidden; }
.story__seg + .story__seg { border-left: 1px solid var(--line); }
.story__seg b { font-weight: 400; color: var(--c); }
.story__seg::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--c); transform: scaleX(var(--f, 0)); transform-origin: left; }
.story__seg:hover, .story__seg[aria-current] { color: var(--paper); }
.story__fig, .story__note { position: absolute; z-index: 2; top: 64px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.story__fig { left: 16px; color: var(--paper); }
.story__note { right: 16px; color: var(--ink-5); }
.story__legend { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.story__legend li { display: inline-flex; align-items: center; gap: 8px; opacity: .22; transition: opacity .5s; }
.story__legend li.is-on { opacity: 1; }
.lg { display: inline-block; flex-shrink: 0; }
.lg--ring { width: 10px; height: 10px; border: 1.5px solid var(--neon); border-radius: 50%; }
.lg--dot { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }
.lg--sq { width: 7px; height: 7px; background: var(--purple); }
.lg--tao { width: 4px; height: 4px; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.lg--field { width: 10px; height: 10px; border: 1px solid var(--blue); border-radius: 50%; }
.chapter { --c: var(--neon); min-height: 88svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-block: 8svh; transition: opacity .5s var(--ease); }
.js .chapter { opacity: .25; }
.js .chapter.is-active { opacity: 1; }
.chapter__k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: flex; gap: 12px; align-items: center; }
.chapter__k b { font-weight: 400; color: var(--c); }
.chapter__t { font-size: clamp(2.2rem, 4.2vw, 3.8rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; }
.chapter h4 { font-family: var(--font-mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.chapter h4::before { content: ''; width: 7px; height: 7px; background: var(--c); }
.chapter p { color: var(--mute); font-size: 1.05rem; max-width: 46ch; }
.chapter__role { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.story__end { min-height: 56svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
@media (max-width: 900px) {
  .story__grid { display: block; }
  .story__vis { position: sticky; top: var(--header-h); z-index: 3; height: 46svh; min-height: 300px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .story__fig, .story__note { display: none; }
  .story__seg { padding: 0 10px; font-size: .6rem; justify-content: center; }
  .story__seg b { display: none; }
  .chapter { min-height: 72svh; justify-content: flex-start; padding-block: 40px 12svh; }
  .story__end { min-height: 50svh; justify-content: flex-start; padding-top: 40px; }
}
@media (max-width: 560px) { .story__legend { display: none; } }

/* ---------- stake flow: follow your TAO ---------- */
.flow { --c: var(--purple); display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(60% 80% at 50% 50%, color-mix(in srgb, var(--c) 7%, transparent), transparent 70%), var(--ink-1); }
.flow__bar, .flow__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.flow__svg { width: 100%; height: auto; overflow: visible; max-height: 70vh; }
.flow__path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 6; opacity: .3; transition: stroke .4s, opacity .4s; }
.flow__path.is-on { stroke: color-mix(in srgb, var(--c) 65%, transparent); opacity: 1; animation: flowdash 1.2s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -18; } }
.flow__node { transition: opacity .4s; }
.flow__node.is-off { opacity: .3; }
.flow__node rect { fill: var(--ink-2); stroke: var(--line-strong); stroke-width: 1; transition: stroke .4s; }
.flow__node[data-n="val"] rect { stroke: var(--purple); }
.flow__node:is([data-n="root"], [data-n="alpha"]):not(.is-off) rect { stroke: var(--c); stroke-width: 1.5; }
.flow__node .t { font-family: var(--font-display); font-size: 21px; fill: var(--white); letter-spacing: -.01em; }
.flow__node .s { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; fill: var(--mute); }
.flow__node .x { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; fill: var(--neon); }
.flow__lab { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; fill: var(--mute); }
.flow__lab--back { opacity: 0; transition: opacity .4s; }
.flow__lab--back.is-on { opacity: 1; }
.flow__svg.is-v .t { font-size: 17px; }
.flow__svg.is-v .s, .flow__svg.is-v .x, .flow__svg.is-v .flow__lab { font-size: 10px; }
.flow__cap { color: var(--paper); max-width: 72ch; font-size: .98rem; }
.flow__key { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.flow__key i { width: 8px; height: 8px; border-radius: 50%; }
.flow__key i + i { margin-left: 8px; }
[data-mode-card] { cursor: pointer; transition: border-color .3s, box-shadow .3s; }
[data-mode-card].is-on { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }

/* ---------- stake: TAO staked by month as columns of stacked squares (one square = a fixed amount of TAO) ---------- */
.staked { position: relative; margin: 16px 0 0; padding: 28px 28px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-1); }
.staked__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.staked__big { margin-top: 10px; font-size: clamp(2.4rem, 4.4vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.staked__big b { font-weight: 500; }
.staked__big span { font-family: var(--font-mono); font-size: .9rem; letter-spacing: .1em; color: var(--mute); }
.staked__sub { margin-top: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.staked__key { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.staked__key i { width: 18px; height: 8px; border-radius: 2px; background: var(--purple); }
.staked__svg { display: block; width: 100%; height: clamp(300px, 32vw, 400px); overflow: visible; }
.staked__svg .ax { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; fill: var(--ink-5); }
.staked__svg .grid { stroke: var(--line); }
.staked__svg .base { stroke: var(--line-strong); }
.staked__svg g.col { transition: opacity .15s; }
.staked__svg.is-hover g.col:not(.hl) { opacity: .35; }
.staked__tip { position: absolute; pointer-events: none; padding: 8px 10px; border-radius: 6px; background: var(--paper); color: var(--ink-1); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; white-space: nowrap; transform: translate(-50%, -115%); opacity: 0; transition: opacity .12s; }
.staked__tip b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: 0; }
@media (max-width: 640px) { .staked { padding: 20px 16px 12px; } .staked__head { flex-direction: column; align-items: flex-start; } }

/* ---------- build: the accelerator benefits as a guided list. The current row lights up as you scroll,
   a line fills down through the icons, and the panel on the left draws that benefit's icon large. ---------- */
.prog { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.prog__l { position: sticky; top: calc(var(--header-h) + 40px); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.prog__stage { position: relative; width: min(100%, 380px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: radial-gradient(rgba(235, 235, 235, .1) 1px, transparent 1.2px) 0 0 / 18px 18px, radial-gradient(60% 60% at 50% 45%, rgba(224, 242, 112, .08), transparent 70%); }
.prog__big { position: absolute; left: 50%; top: 46%; width: 46%; height: 46%; transform: translate(-50%, -50%); fill: none; stroke: var(--neon); stroke-width: 1; stroke-linecap: square; opacity: 0; transition: opacity .25s; }
.prog__big .f { fill: var(--neon); opacity: 0; transition: opacity .3s .5s; }
.prog__big .d { stroke-dasharray: 1; stroke-dashoffset: 1; } /* a class, not [pathLength]: Chrome does not restyle camelCase SVG attribute selectors when the parent class changes */
.prog__big.is-on { opacity: 1; }
.prog__big.is-on .d { stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1); }
.prog__big.is-on .f { opacity: 1; }
.prog__count { position: absolute; left: 18px; bottom: 16px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--mute); }
.prog__count b { font-weight: 400; color: var(--neon); }
.prog__bar { position: absolute; right: 18px; bottom: 21px; width: 40%; height: 2px; background: var(--line); }
.prog__bar i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--neon); transition: width .3s; }
.prog__list { position: relative; list-style: none; margin: 0; padding: 0; }
.prog__line { position: absolute; left: 28px; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.prog__line i { position: absolute; left: 0; right: 0; top: 0; height: 0; background: var(--neon); }
.prog__list li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 26px 0; }
.prog__ic { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--ink-1); color: var(--mute); transition: color .2s, border-color .2s, background-color .2s; }
.prog__ic .ic { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }
.prog__ic .ic .f { fill: currentColor; }
.prog__n { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--ink-5); transition: color .2s; }
.prog__list h3 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 4px 0 6px; color: var(--mute); transition: color .2s; }
.prog__list p { color: var(--ink-5); font-size: .98rem; max-width: 52ch; transition: color .2s; }
.prog__list li.is-on .prog__ic { color: var(--ink-1); background: var(--neon); border-color: var(--neon); }
.prog__list li.is-on .prog__n { color: var(--neon); }
.prog__list li.is-on h3 { color: var(--paper); }
.prog__list li.is-on p { color: var(--mute); }
/* narrow screens: no panel, the list on its own with the button after it */
@media (max-width: 960px) {
  .prog { grid-template-columns: 1fr; gap: 24px; }
  .prog__l { position: static; order: 2; }
  .prog__stage { display: none; }
}

/* ---------- misc ---------- */
.eyebrow-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.big-quote { font-size: var(--fs-statement); line-height: 1.1; letter-spacing: -0.025em; max-width: 24ch; }
.big-quote cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
/* plain labels, not pills: a square marker and mono caps */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.badge i { width: 7px; height: 7px; flex-shrink: 0; background: var(--c, var(--neon)); }
a.badge { color: var(--mute); transition: color .2s; }
a.badge:hover { color: var(--white); }
.section--light .badge { color: var(--ink-1); border-color: rgba(11,11,11,.2); }

/* cursor-follow spotlight (site.js sets --mx / --my) */
:is(.feat, .value, .kpi):hover { background-image: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--neon)) 13%, transparent), transparent 70%); }

/* review mode (#review in URL): outlines facts sourced outside yumaai.com that need client sign-off */
.review [data-confirm] { outline: 1px dashed var(--orange); outline-offset: 4px; position: relative; }
.review [data-confirm]::after { content: 'CONFIRM: ' attr(data-confirm); position: absolute; left: 0; top: 100%; margin-top: 6px; z-index: 5; max-width: 320px; padding: 6px 8px; background: var(--orange); color: var(--ink-1); font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; line-height: 1.3; text-transform: none; border-radius: 3px; -webkit-text-stroke: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .chapter { opacity: 1; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- 404: the missing page as a deregistered subnet (404.html) ---------- */
.nf { min-height: min(100svh, 940px); }
.nf__glow { animation-name: nf-breathe; } /* the home glow, turned down: a dimmer, emptier network */
@keyframes nf-breathe { from { opacity: .16; transform: translateX(-50%) scale(1); } to { opacity: .3; transform: translateX(-50%) scale(1.06); } }
.nf__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.nf__routes { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nf__routes .label { margin-bottom: 4px; }
.nf__btns { display: grid; grid-template-columns: minmax(180px, max-content); gap: 12px; } /* one column: every button as wide as the widest */
.nf__btns .btn { justify-content: space-between; }
.nf::after { content: ''; position: absolute; inset: auto 0 0; z-index: -1; height: clamp(80px, 16vh, 160px); background: linear-gradient(to bottom, transparent, var(--ink-1)); pointer-events: none; } /* melt the glow into the footer, as on home */
.nf-card { width: 100%; min-height: 0; padding: clamp(24px, 3vw, 40px); }
.nf-card__tag { color: var(--mute); }
.nf-card .sn-card__top > span:first-child { font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: .12em; color: var(--paper); }
.nf-card__title { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; }
.nf-card__tag::before { background: transparent; border: 1px solid currentColor; } /* hollow: nothing running here */
.nf-orbit { margin: 0 -6px; }
.nf-orbit svg { width: 100%; max-width: 460px; height: auto; margin-inline: auto; overflow: visible; }
.nf-orbit__ring { fill: none; stroke: var(--neon); stroke-width: 1.5; stroke-dasharray: 2 4; opacity: .5; }
.nf-orbit__slot { fill: none; stroke: var(--line-strong); stroke-dasharray: 3 4; }
.nf-orbit__code { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; fill: var(--mute); }
.nf-orbit__val rect { fill: var(--purple); }
.nf-orbit__m circle { fill: var(--paper); }
/* miners circle the empty slot looking for work; the validator keeps doing its rounds */
.nf-orbit__ring, .nf-orbit__val, .nf-orbit__m { transform-origin: 120px 90px; }
.nf-orbit__ring { animation: nf-spin 120s linear infinite; }
.nf-orbit__val { animation: nf-spin 14s linear infinite; }
.nf-orbit__m { animation: nf-spin var(--d, 30s) linear infinite; }
.nf-orbit__m--rev { animation-direction: reverse; }
.nf-orbit__m circle { animation: nf-seek 2.8s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.45s); }
@keyframes nf-spin { to { transform: rotate(360deg); } }
@keyframes nf-seek { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.nf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.nf-stats div { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 0 0; }
.nf-stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.nf-stats dt { font-family: var(--font-mono); font-weight: 400; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.nf-stats dd { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 1rem; letter-spacing: .04em; color: var(--paper); font-variant-numeric: tabular-nums; }
.nf-stats__status { display: inline-flex; align-items: center; gap: 8px; color: var(--mute) !important; text-transform: uppercase; font-size: .8rem !important; letter-spacing: .1em !important; }
.nf-stats__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
@media (max-width: 900px) {
  .nf { min-height: 0; padding-bottom: 72px; }
  .nf__grid { grid-template-columns: minmax(0, 1fr); }
  .nf-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nf-stats div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
  .nf-stats div + div { padding-left: 0; border-left: 0; }
  .nf-stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .nf-stats div:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nf__glow, .nf-orbit__ring, .nf-orbit__val, .nf-orbit__m, .nf-orbit__m circle { animation: none !important; }
  .nf-orbit__m circle { opacity: .7; }
}
