/* ══════════════════════════════════════════════════════════════════════
   refinement.css — 4626.fun · Design Refinement (overlay layer)
   ──────────────────────────────────────────────────────────────────────
   Loaded AFTER style.css. Refines feel only — never reshapes the system.
   Principles: restraint · composition · atmosphere · typography · rhythm.
   Every override is surgical. No new motion families. No new components.
   ══════════════════════════════════════════════════════════════════════ */

/* ─── 0 · Font polish — optical sizing + Newsreader italic discipline ─── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-feature-settings: "ss01", "ss02", "cv11", "calt", "liga";
  letter-spacing: 0.002em;
  /* Very soft global vignette for cinematic framing */
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(14,18,32,0.55) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(120% 80% at 50% 100%, rgba(6,10,22,0.45) 0%, rgba(0,0,0,0) 60%),
    #000000;
}

/* Tighten the editorial token system: quieter rules, softer surfaces */
:root {
  --rule-color: rgba(210, 220, 240, 0.12);
  --rule-color-soft: rgba(210, 220, 240, 0.06);
  --ink-hi:   rgba(245, 248, 255, 0.96);
  --ink-mid:  rgba(210, 220, 238, 0.78);
  --ink-lo:   rgba(160, 172, 196, 0.62);   /* was 0.55 — cross AA large-text floor */
  --ink-xlo:  rgba(140, 152, 176, 0.48);   /* was 0.38 — lift functional copy */

  /* Unified material language: two radii, not five.
     XS (hairline UI), MD (objects), LG (plates) */
  --radius-hair: 2px;
  --radius-obj:  10px;
  --radius-plate: 14px;

  /* Motion: one default, used everywhere */
  --ease-refined: cubic-bezier(0.22, 1, 0.28, 1);
}

/* ─── 1 · Ambient canvas · calmer ────────────────────────────────────── */
/* Soften the WebGL canvas overall. This makes the starfield read as
   atmosphere rather than content. No blend modes — additive shader
   already does the glow; we just dim the whole plate. */
#three-canvas {
  opacity: 0.52;
  filter: saturate(0.72) brightness(0.84) contrast(1.02);
}

/* Kill the ambient orbs entirely — they're competing with the starfield,
   and their slow drift reads as movement-for-its-own-sake. */
.ambient-orb { display: none !important; }

/* ─── 2 · Nav · recede · editorial ───────────────────────────────────── */
.nav {
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.08) 100%);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  border-bottom: 1px solid rgba(210, 220, 240, 0.045);
}
.brand-icon { opacity: 0.88; }
.brand-text {
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  font-size: 1rem !important;
  color: rgba(240, 244, 252, 0.88) !important;
}
.brand-dot { color: rgba(210, 220, 240, 0.38) !important; }
.nav-link {
  color: var(--ink-lo) !important;
  letter-spacing: 0.22em !important;
  font-size: 0.7rem !important;
}
.nav-link:hover { color: var(--ink-hi) !important; }
.nav-btn {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  letter-spacing: 0.24em !important;
  font-size: 0.68rem !important;
  color: rgba(240, 244, 252, 0.88) !important;
  background: transparent !important;
  border: 1px solid rgba(210, 220, 240, 0.16) !important;
  border-radius: var(--radius-hair) !important;
  padding: 0.58rem 1.15rem !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  transition: border-color 0.5s var(--ease-refined),
              background 0.5s var(--ease-refined),
              color 0.5s var(--ease-refined) !important;
}
.nav-btn:hover {
  border-color: rgba(210, 220, 240, 0.38) !important;
  background: rgba(210, 220, 240, 0.04) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* ─── 3 · Scroll progress · thread, not streak ───────────────────────── */
.scroll-progress {
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(180,200,235,0.55));
  box-shadow: none;
  opacity: 0.65;
}
.scroll-progress::after {
  width: 5px; height: 5px;
  left: -2px;
  background: rgba(210,220,240,0.9);
  box-shadow: 0 0 10px rgba(180,200,235,0.35);
}

/* ─── 4 · CTA buttons · editorial, not retail ────────────────────────── */
.cta-button {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  padding: 0.95rem 2.2rem;
  color: rgba(245, 248, 255, 0.94);
  background: transparent;
  border: 1px solid rgba(210, 220, 240, 0.22);
  border-radius: var(--radius-hair);
  transition: border-color 0.6s var(--ease-refined),
              background 0.6s var(--ease-refined),
              color 0.6s var(--ease-refined),
              letter-spacing 0.6s var(--ease-refined);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cta-button::after { display: none !important; }
.cta-button:hover {
  background: rgba(210, 220, 240, 0.04);
  border-color: rgba(210, 220, 240, 0.42);
  box-shadow: none;
  color: #ffffff;
  letter-spacing: 0.30em;
  transform: none;
}
.cta-button.secondary {
  background: transparent;
  border-color: rgba(210, 220, 240, 0.16);
}
.cta-button.secondary:hover {
  background: rgba(210, 220, 240, 0.03);
  border-color: rgba(210, 220, 240, 0.32);
  box-shadow: none;
}

/* ─── 5 · Editorial kicker · more air, finer numerals ────────────────── */
.ed-kicker {
  gap: 16px;
  color: var(--ink-xlo);
  font-weight: 400;
  letter-spacing: 0.28em;
  font-size: 9.5px;
  margin-bottom: 2rem;
}
.ed-kicker-num {
  font-family: var(--font-serif) !important;
  font-style: normal !important;      /* roman caps — 'I' reads as I, not '/' */
  font-weight: 400 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.08em !important;   /* breathing room between strokes */
  color: var(--ink-lo) !important;
  transform: translateY(-0.5px);       /* optical alignment against the hairline rule */
}
.ed-kicker-rule {
  flex: 0 0 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(210,220,240,0.22) 0%, rgba(210,220,240,0.05) 100%);
}
.ed-kicker-label { color: var(--ink-xlo); }

/* ─── 6 · HERO · cinema opener ───────────────────────────────────────── */

/* Pull the blue streak back — it was reading as a crypto dividend */
.hero-streak-core {
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(120, 150, 210, 0.20) 18%,
    rgba(150, 180, 230, 0.45) 50%,
    rgba(120, 150, 210, 0.20) 82%,
    transparent 100%
  ) !important;
}
.hero-streak-bloom {
  width: 56px !important;
  margin-left: -28px !important;
  background: linear-gradient(180deg,
    transparent 10%,
    rgba(140, 170, 230, 0.07) 50%,
    transparent 90%
  ) !important;
  filter: blur(22px) !important;
}

/* Headline: less muscle, more composition. Serif italic is the accent. */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.94;
  font-size: clamp(2.6rem, 1rem + 4.6vw, 5rem);
  margin-bottom: 2.25rem;
}
.hero-char {
  background: linear-gradient(180deg, #F6F8FD 0%, #AFB7C8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-word-serif .hero-char {
  font-weight: 400 !important;
  letter-spacing: -0.015em !important;
  background: linear-gradient(180deg, #EDE5CB 0%, #8F8163 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
/* The period-dots: keep a subtle warm-cool accent so the line feels
   authored, never neon. The serif italic from the base file remains. */
.hero-char-dot {
  font-size: 0.85em !important;
  background: linear-gradient(180deg, rgba(205, 215, 240, 0.95) 0%, rgba(145, 175, 220, 0.85) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  padding-left: 0.03em;
}

/* Silence the heavy blue headline halo */
.hero-headline-glow {
  width: 620px !important;
  height: 160px !important;
  background: radial-gradient(ellipse, rgba(140, 170, 220, 0.06) 0%, transparent 75%) !important;
  filter: blur(80px) !important;
  opacity: 0;
}

/* Support lines: lighter, more air between them */
.hero-support {
  gap: 0.65rem;
  font-weight: 300;
  font-size: clamp(0.92rem, 0.78rem + 0.4vw, 1.1rem);
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 32rem;
}
.hero-support-line:nth-child(n+2) { color: var(--ink-lo); }

/* Chain + partners: quieter, less crowded */
.hero-chain {
  margin-top: 2.2rem;
  gap: 12px;
  opacity: 1;
}
.hero-chain-text {
  font-family: var(--font-mono) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.28em !important;
  color: var(--ink-xlo) !important;
  font-weight: 400 !important;
}
.chain-logo, .chain-logo-base { opacity: 0.72; }
.hero-partners {
  margin-top: 1.1rem;
  gap: 20px;
}
.hero-partner-logo {
  height: 18px;
  opacity: 0.38;
  filter: grayscale(100%) brightness(1.2) contrast(0.85);
  transition: opacity 0.5s var(--ease-refined), filter 0.5s var(--ease-refined);
}
.hero-partner-logo:hover {
  opacity: 0.85;
  filter: grayscale(0%) brightness(1) contrast(1);
}

.hero-cta { margin-top: 2.6rem; }

/* Floating hero tokens: a whisper of presence, never competing with type.
   Deeply dimmed so they read as background memory rather than foreground. */
.hero-float-layer-back .hero-float {
  opacity: 0.018 !important;
  filter: blur(4px) grayscale(80%) !important;
}
.hero-float-layer-mid .hero-float  { opacity: 0.035 !important; filter: blur(1.5px) grayscale(55%) !important; }
.hero-float-layer-front .hero-float { opacity: 0.055 !important; filter: blur(0.8px) grayscale(35%) !important; }

/* Scroll cue: minimal, no pulse */
.scroll-cue-line {
  background: linear-gradient(180deg, transparent, rgba(210,220,240,0.45));
  animation: refined-cue 3.6s ease-in-out infinite;
}
@keyframes refined-cue {
  0%, 100% { opacity: 0.35; transform: scaleY(0.9); }
  50%      { opacity: 0.75; transform: scaleY(1); }
}
.scroll-cue-text {
  font-size: 9px;
  letter-spacing: 0.42em;
  color: rgba(160, 172, 196, 0.5);
}

/* ─── 7 · TOKEN · mechanism, quieted ─────────────────────────────────── */

/* Neutralise the central accent beam — the original uses saturated
   --color-accent (#0052FF), which reads like a brand rail, not a
   cinematic spine. Replace with a cool graphite gradient that still
   carries the transfer semantics without shouting. */
.token-line-core {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(170, 185, 220, 0.28) 15%,
    rgba(195, 212, 240, 0.48) 50%,
    rgba(170, 185, 220, 0.28) 85%,
    transparent 100%) !important;
  opacity: 0.85 !important;
}
.token-line-glow {
  background: linear-gradient(180deg,
    transparent 10%,
    rgba(170, 190, 230, 0.06) 50%,
    transparent 90%) !important;
  opacity: 0.6 !important;
  filter: blur(20px) !important;
  width: 44px !important;
  margin-left: -22px !important;
}

.token-top-copy {
  font-family: var(--font-display) !important;
  font-weight: 300 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink-hi) !important;
}
.token-top-copy em, .token-cross-copy em {
  color: #EDE5CB;
}

.side-label, .top-label {
  font-size: 9px !important;
  letter-spacing: 0.3em !important;
  color: var(--ink-xlo) !important;
  font-weight: 400 !important;
}

/* Deposit panel: reads like a watch face, not a tooltip */
#deposit-info.coin-deposit-panel {
  background: rgba(8, 11, 20, 0.62) !important;
  border: 1px solid rgba(210, 220, 240, 0.08) !important;
  border-radius: var(--radius-obj) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 0 0.5px rgba(210,220,240,0.03) inset !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.15) !important;
  backdrop-filter: blur(20px) saturate(1.15) !important;
}
#deposit-info.coin-deposit-panel .deposit-amount {
  font-weight: 300 !important;
  color: rgba(250, 252, 255, 0.97) !important;
  letter-spacing: -0.025em !important;
}

/* ─── 8 · ACCRUE · editorial financial spread ────────────────────────── */

.accrue-intro { margin-bottom: 3.25rem; }
.accrue-desc {
  font-weight: 300;
  font-size: clamp(1rem, 0.82rem + 0.5vw, 1.15rem);
  color: var(--ink-mid);
  letter-spacing: 0.01em;
  line-height: 1.7;
  max-width: 34rem;
  margin: 0 auto;
}

.accrue-ratio-display .ratio-accent {
  font-family: var(--font-display) !important;
  font-weight: 200 !important;
  color: rgba(248, 250, 255, 0.96) !important;
  letter-spacing: -0.055em !important;
  text-shadow: 0 0 60px rgba(140, 170, 220, 0.09), 0 0 140px rgba(140, 170, 220, 0.04) !important;
}
.ratio-unit {
  font-family: var(--font-mono);
  font-size: 10px !important;
  letter-spacing: 0.28em !important;
  color: var(--ink-lo) !important;
}
.ratio-hairline { background: rgba(210,220,240,0.12); }
.ratio-from { color: var(--ink-mid); letter-spacing: 0.08em !important; }

/* Yield curve callout plates: softer materials */
.yc-callout-card {
  background: rgba(8, 11, 20, 0.66) !important;
  border: 1px solid rgba(210, 220, 240, 0.06) !important;
  border-radius: var(--radius-obj) !important;
  backdrop-filter: blur(22px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.15) !important;
  padding: 9px 16px !important;
  box-shadow: 0 6px 22px rgba(0,0,0,0.32) !important;
}
.yc-callout-day    { color: var(--ink-lo) !important; font-weight: 400 !important; letter-spacing: 0.28em !important; font-size: 8.5px !important; }
.yc-callout-ratio  { color: rgba(250,252,255,0.95) !important; font-weight: 300 !important; letter-spacing: -0.015em !important; }
.yc-callout-apy    { color: rgba(180, 200, 235, 0.82) !important; font-weight: 400 !important; }
.yc-callout-pip {
  background: rgba(200, 215, 240, 0.9) !important;
  box-shadow: 0 0 10px rgba(180,200,235,0.35) !important;
}

/* Stats divider: hairline + quiet value */
.accrue-stat-divider { background: var(--rule-color-soft) !important; }

/* ─── 9 · CCA · allocation, calm ─────────────────────────────────────── */

.cca-headline {
  font-weight: 300 !important;
  letter-spacing: -0.025em !important;
  color: var(--ink-hi);
}
.cca-headline em { color: #EDE5CB; }

.cca-intro p,
.cca-summary {
  color: var(--ink-mid);
  font-weight: 300;
}

/* Node edges: thinner, more graphite than electric */
.ng-edge-line {
  stroke-width: 0.6 !important;
  opacity: 0.32 !important;
  stroke: rgba(200, 215, 240, 0.6) !important;
}
.ng-dash-flow {
  stroke-width: 0.8 !important;
  opacity: 0.46 !important;
  stroke: rgba(180, 200, 235, 0.7) !important;
}

/* Node cards: unified object vocabulary */
.ng-node-inner,
.ng-node-inner[data-strat] {
  border-radius: var(--radius-obj) !important;
  background: rgba(9, 13, 24, 0.55) !important;
  border-color: rgba(210, 220, 240, 0.08) !important;
}

/* ─── 10 · DUAL · architectural spread ───────────────────────────────── */

.dual-headline, .dual-title {
  font-weight: 300 !important;
  letter-spacing: -0.025em !important;
  color: var(--ink-hi);
}
.dual-title em,
.dual-headline em { color: #EDE5CB !important; }

.dual-side-label {
  font-family: var(--font-mono) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.32em !important;
  color: var(--ink-xlo) !important;
  font-weight: 400 !important;
}
.dual-divider-label {
  font-family: var(--font-mono) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.38em !important;
  color: var(--ink-lo) !important;
  font-weight: 400 !important;
}
.dual-divider-line {
  background: linear-gradient(180deg, rgba(210,220,240,0) 0%, rgba(210,220,240,0.22) 50%, rgba(210,220,240,0) 100%) !important;
}

#dual-edges-svg .ng-edge-line {
  stroke-width: 0.75 !important;
  opacity: 0.44 !important;
  stroke: rgba(210, 222, 246, 0.7) !important;
}
#dual-edges-svg .ng-dash-flow {
  stroke-width: 0.9 !important;
  opacity: 0.56 !important;
  stroke: rgba(200, 215, 240, 0.78) !important;
}

/* ─── 11 · VAULTS · objecthood, desirability ─────────────────────────── */

.vaults-header {
  padding-bottom: 1.25rem;
  /* Jitter-proof the FLIP carrier: promote to its own compositor layer
     so transform + letter-spacing tweens never force a layout repaint
     of the surrounding vaults container. backface-visibility hidden
     keeps the text on the integer pixel grid on subpixel transforms. */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.vaults-headline {
  font-weight: 300 !important;
  letter-spacing: -0.03em !important;
  color: var(--ink-hi);
  /* Hint the engine that transform / letter-spacing are the animated
     properties — cubic-bezier tail is smoothest when the text layer
     is pre-composited on the GPU. */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.vaults-headline em { color: #EDE5CB !important; }

/* The divider rule between editorial columns — quiet, balanced */
.vaults-editorial::before {
  background: linear-gradient(180deg,
    rgba(210,220,240,0) 0%,
    rgba(210,220,240,0.14) 35%,
    rgba(210,220,240,0.14) 65%,
    rgba(210,220,240,0) 100%) !important;
}

/* Cards: premium objects, not UI tiles */
.vault-card {
  border-radius: var(--radius-plate) !important;
  background:
    linear-gradient(180deg, rgba(22, 26, 38, 0.55) 0%, rgba(10, 12, 22, 0.55) 100%) !important;
  border: 1px solid rgba(210, 220, 240, 0.07) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.02) inset,
    0 18px 60px -24px rgba(0, 8, 24, 0.55) !important;
  backdrop-filter: blur(20px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.1) !important;
  transition: border-color 0.6s var(--ease-refined),
              box-shadow 0.6s var(--ease-refined),
              transform 0.6s var(--ease-refined) !important;
}
.vault-card:hover {
  border-color: rgba(210, 220, 240, 0.14) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.03) inset,
    0 24px 80px -28px rgba(0, 8, 24, 0.65) !important;
}
.vault-card-glow { display: none !important; }

.vault-featured {
  padding: 2.1rem 2.15rem 1.85rem !important;
  gap: 1.65rem !important;
  min-height: 340px !important;
}
.vault-featured-kicker {
  color: var(--ink-xlo) !important;
  letter-spacing: 0.32em !important;
  font-size: 8.5px !important;
  font-weight: 400 !important;
}
.vault-featured-name {
  font-weight: 400 !important;
  letter-spacing: -0.028em !important;
  color: rgba(248, 250, 255, 0.96) !important;
}
.vault-featured-quote {
  font-size: 1rem !important;
  line-height: 1.55 !important;
  color: var(--ink-mid) !important;
  padding-left: 0.9rem !important;
  border-left: 1px solid rgba(210, 220, 240, 0.16) !important;
}
.vault-featured-stats {
  padding-top: 1.35rem !important;
  border-top: 1px solid rgba(210, 220, 240, 0.07) !important;
}
.vcs-value {
  font-weight: 300 !important;
  letter-spacing: -0.01em !important;
}
.vcs-value.accent { color: rgba(195, 212, 240, 0.94) !important; }

.vault-compact { padding: 1.15rem 1.35rem !important; }
.vault-compact-meta h3 {
  font-weight: 400 !important;
  letter-spacing: -0.012em !important;
}

.vault-portrait .vault-card-icon {
  border-radius: 8px !important;
  border-color: rgba(210, 220, 240, 0.12) !important;
}
.vault-card-share-img {
  border: 1px solid rgba(140, 180, 235, 0.28) !important;
  background: rgba(6, 8, 16, 0.88) !important;
}

.vaults-disclaimer {
  color: rgba(150, 162, 186, 0.35) !important;
  letter-spacing: 0.08em !important;
  font-size: 10.5px !important;
}

/* ─── 12 · CLOSE · ceremony ──────────────────────────────────────────── */

.close-overture-kicker {
  color: var(--ink-xlo) !important;
  letter-spacing: 0.44em !important;
  font-size: 9.5px !important;
}
.close-overture-title {
  font-weight: 300 !important;
  letter-spacing: -0.03em !important;
  background: linear-gradient(180deg, #F6F8FD 0%, #8992A6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.close-overture-title em {
  background: linear-gradient(180deg, #EDE5CB 0%, #8F8163 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Close token cards: match the vault plate material */
.close-card-inner {
  background: linear-gradient(180deg, rgba(22, 26, 38, 0.78) 0%, rgba(10, 12, 22, 0.78) 100%) !important;
  border: 1px solid rgba(210, 220, 240, 0.08) !important;
  border-radius: var(--radius-obj) !important;
  padding: 15px 22px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
}
.close-card-img {
  border-radius: 7px !important;
  border-color: rgba(210, 220, 240, 0.14) !important;
}
.close-card-name {
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  color: rgba(248, 250, 255, 0.94) !important;
}
.close-card-amount {
  color: var(--ink-lo) !important;
  letter-spacing: 0.12em !important;
}

.close-vault-rule {
  background: linear-gradient(90deg, rgba(210,220,240,0) 0%, rgba(210,220,240,0.42) 50%, rgba(210,220,240,0) 100%) !important;
}
.close-vault-wordmark-top {
  font-weight: 400 !important;
  letter-spacing: -0.022em !important;
  color: rgba(248, 250, 255, 0.95) !important;
}
.close-vault-wordmark-bot {
  letter-spacing: 0.34em !important;
  color: var(--ink-lo) !important;
}
.close-vault-icon {
  border-radius: 7px !important;
  border-color: rgba(210, 220, 240, 0.18) !important;
}
.close-vault-mark {
  background: linear-gradient(180deg, rgba(210,220,240,0) 0%, rgba(210,220,240,0.34) 50%, rgba(210,220,240,0) 100%) !important;
}

/* Final partner strip: balanced, gentle separation */
.close-partners {
  gap: 1.5rem 2rem;
  padding-bottom: 2.6rem;
  margin-bottom: 3.25rem;
  border-bottom: 1px solid rgba(210, 220, 240, 0.06) !important;
}
.partner-logo {
  height: 19px;
  opacity: 0.42;
  filter: grayscale(100%) brightness(1.18) contrast(0.85);
  transition: opacity 0.5s var(--ease-refined), filter 0.5s var(--ease-refined);
}
.partner-logo:hover {
  opacity: 0.88;
  filter: grayscale(0%) brightness(1) contrast(1);
}

.close-brand-wordmark {
  font-weight: 300 !important;
  letter-spacing: -0.042em !important;
  color: rgba(250, 252, 255, 0.97) !important;
}
.close-brand-wordmark em {
  background: linear-gradient(180deg, #EDE5CB 0%, #8F8163 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.close-logo {
  width: 44px; height: 44px;
  border-radius: 7px !important;
  border-color: rgba(210, 220, 240, 0.15) !important;
}
.close-line {
  max-width: 180px;
  background: linear-gradient(90deg, rgba(210,220,240,0) 0%, rgba(210,220,240,0.42) 50%, rgba(210,220,240,0) 100%) !important;
}
.close-tag {
  font-family: 'Newsreader', 'Georgia', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-mid) !important;
  letter-spacing: 0.01em;
  margin-top: 1.4rem;
}
.close-cta { margin-top: 2.6rem; }
.enter-vaults-btn {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  padding: 1.1rem 2.8rem !important;
  color: rgba(245, 248, 255, 0.94) !important;
  background: transparent !important;
  border: 1px solid rgba(210, 220, 240, 0.20) !important;
  border-radius: var(--radius-hair) !important;
  letter-spacing: 0.3em !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: border-color 0.6s var(--ease-refined),
              letter-spacing 0.6s var(--ease-refined),
              background 0.6s var(--ease-refined) !important;
}
.enter-vaults-btn::before { display: none !important; }
.enter-vaults-btn:hover {
  border-color: rgba(210, 220, 240, 0.42) !important;
  background: rgba(210, 220, 240, 0.04) !important;
  box-shadow: none !important;
  letter-spacing: 0.34em !important;
}

/* Crescendo: legibility + weight discipline */
.cres-line-1 {
  font-weight: 300 !important;
  background: linear-gradient(180deg, #F6F8FD 0%, #9CA6BA 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.cres-line-1 em,
.cres-line-2 em,
.cres-line-4 em {
  background: linear-gradient(180deg, #EDE5CB 0%, #8F8163 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.cres-line-2 {
  font-weight: 300 !important;
  background: linear-gradient(180deg, #F6F8FD 0%, #A8B0C4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.cres-split {
  background: linear-gradient(180deg, #F6F8FD 0%, #A8B0C4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.cres-line-3 { color: rgba(230, 236, 248, 0.9) !important; }

/* L2 sublabels — kicker-style caps flanking a soft divider.
   Appear during the "Two tokens." hold to identify Share vs Underlying. */
.cres-sublabels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 0.95rem;
  opacity: 0;
  will-change: opacity;
}
.cres-sublabel {
  font-family: var(--font-mono) !important;
  font-size: 10.5px !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase;
  color: var(--ink-mid) !important;
  font-weight: 400 !important;
  white-space: nowrap;
  will-change: transform, opacity;
}
.cres-sublabel-divider {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(210,220,240,0) 0%, rgba(210,220,240,0.32) 50%, rgba(210,220,240,0) 100%);
  opacity: 0;
}
@media (max-width: 720px) {
  .cres-sublabels {
    gap: 0.6rem;
    margin-top: 0.7rem;
  }
  .cres-sublabel {
    font-size: 8.5px !important;
    letter-spacing: 0.2em !important;
  }
  .cres-sublabel-divider { width: 22px; }
}
.cres-line-4 {
  font-weight: 300 !important;
  background: linear-gradient(180deg, #F6F8FD 0%, #8992A6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.cres-rule {
  background: linear-gradient(90deg, rgba(210,220,240,0) 0%, rgba(220,232,255,0.52) 50%, rgba(210,220,240,0) 100%) !important;
}

/* A subtle stage vignette for the close scene so the crescendo
   text is never fighting the starfield behind it. */
#ch-close .scene-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 45% at 50% 52%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 75%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* ─── 13 · Footer · air ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(210, 220, 240, 0.04);
}

/* ─── 13.5 · Chrome UI · scan-line + audio toggle ───────────────────── */
/* The scan-line originally swept in saturated #0052FF. Trade the colour
   for a silver hairline that reads as projector flicker rather than brand
   rail; keep the motion. */
.scan-line {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(210, 220, 240, 0.04) 25%,
    rgba(220, 230, 245, 0.10) 50%,
    rgba(210, 220, 240, 0.04) 75%,
    transparent 100%) !important;
  opacity: 0 !important;
}
.scan-line.active { opacity: 0.55 !important; }

/* Audio toggle — editorial ghost button, no blue halo. Starts quieter
   so it never draws attention unless the reader looks for it. */
.audio-toggle {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(210, 220, 240, 0.12) !important;
  background: rgba(10, 12, 20, 0.5) !important;
  backdrop-filter: blur(12px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.05) !important;
  bottom: 1.4rem !important;
  right: 1.4rem !important;
  opacity: 0 !important;
  animation: refined-audio-fade-in 1s var(--ease-refined) 4s forwards !important;
  transition: border-color 0.45s var(--ease-refined), opacity 0.4s var(--ease-refined) !important;
}
@keyframes refined-audio-fade-in { to { opacity: 0.42; } }
.audio-toggle:hover {
  border-color: rgba(210, 220, 240, 0.34) !important;
  background: rgba(14, 18, 28, 0.6) !important;
  box-shadow: none !important;
  opacity: 0.9 !important;
}
.audio-bar {
  background: rgba(210, 220, 240, 0.7) !important;
  width: 1.5px !important;
}

/* ─── 14 · Motion discipline ─────────────────────────────────────────── */
/* Replace mechanical linear scroll-progress ticks with a buttered curve */
.scroll-progress { transition: height 140ms var(--ease-refined); }

/* Ambient orb drift animations — now removed, ensure no remnants */
@keyframes orb-drift-1 { from { transform: none; } to { transform: none; } }
@keyframes orb-drift-2 { from { transform: none; } to { transform: none; } }
@keyframes orb-drift-3 { from { transform: translate(-50%, -50%); } to { transform: translate(-50%, -50%); } }

/* Soften the hero float parallax speeds — keep the motion but cut intensity */
@keyframes float-slow-1  { to { transform: translate(-4px, 6px); } }
@keyframes float-slow-2  { to { transform: translate(5px, -4px); } }
@keyframes float-slow-3  { to { transform: translate(-3px, -5px); } }
@keyframes float-mid-1   { to { transform: translate(-7px, 5px) rotate(1.8deg); } }
@keyframes float-mid-2   { to { transform: translate(6px, -7px) rotate(-1.4deg); } }
@keyframes float-front-1 { to { transform: translate(-9px, 7px) rotate(2.4deg); } }
@keyframes float-front-2 { to { transform: translate(-5px, -6px) rotate(1.6deg); } }

/* Reduced motion safety net */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-line { animation: none; }
  .hero-float     { animation: none; }
}

/* ─── 15 · Mobile breathing ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .ed-kicker { gap: 12px; margin-bottom: 1.2rem; }
  .hero-headline { font-size: clamp(2.2rem, 1rem + 5vw, 3.4rem); margin-bottom: 1.75rem; }
  .vault-featured { padding: 1.5rem 1.4rem 1.35rem !important; min-height: auto !important; }

  /* Body type — lift one step toward the 16-17px mobile comfort band. */
  .hero-support-line,
  .token-top-copy, .token-cross-copy,
  .cca-subline, .dual-subline,
  .vaults-sub, .close-overture-sub,
  .vault-featured-sub {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }

  /* Decorative kicker labels keep their whisper; widen tracking a hair
     so they still feel composed at the lifted alpha. */
  .ed-kicker-label { color: rgba(140, 152, 176, 0.38) !important; letter-spacing: 0.30em !important; }

  /* Node-graph: now shown on mobile via vertical reflow in style.css
     (`@media (max-width: 768px)` blocks override absolute positioning
     with flex-column). The earlier mobile hide is lifted so viewers on
     phones can still see the 3 strategy cards + 3 distribution cards.
     app.js still writes inline transform for the desktop card-cluster
     scale tween; at phone widths the inline transform evaluates against
     our `position: relative` + natural flow, which tolerates it. */

  /* Keep the breathing room tweak for the narrative copy around the
     graph area — still beneficial regardless of whether the graph renders. */
  .ch-token .token-top-copy,
  .ch-cca .cca-subline {
    margin-bottom: 1.75rem;
  }
}

/* ─── CLOSE SCENE DEDUP (user request 2026-04-21) ─────────────────────────
   Remove the floating token cards and the ERC-4626 pill that were
   redundant with the crescendo finale. JS still writes to these nodes,
   so we disable rendering via display:none to keep the DOM stable. */
#close-cards-layer,
#close-card-share,
#close-card-under,
#close-vault-layer,
#close-vault-node {
  display: none !important;
}

/* ───────────────────────────────────────────────────────────────────────
   ■AKITA SHARE TOKEN — UNIFIED BLUE FRAME (user request 2026-04-22)
   Duplicated here from style.css so it wins the cascade (refinement.css loads
   after style.css). All ■-prefixed share token glyphs get an elegant
   Base-blue hairline with a soft outer glow.
   ─────────────────────────────────────────────────────────────────────── */
.share-img,
.cca-share-img,
#dual-node-share .dual-node-img,
.vault-card-share-img,
.close-card-img {
  border: 1.5px solid rgba(0, 82, 255, 0.75) !important;
  box-shadow:
    0 0 0 1px rgba(0, 82, 255, 0.12),
    0 0 18px rgba(0, 82, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

.ng-node-icon img[src*="/share/"] {
  border: 1.5px solid rgba(0, 82, 255, 0.75) !important;
  box-shadow:
    0 0 0 1px rgba(0, 82, 255, 0.12),
    0 0 12px rgba(0, 82, 255, 0.25) !important;
}

#float-share .float-token-img {
  border: 1.5px solid rgba(0, 82, 255, 0.7) !important;
  box-shadow: 0 0 14px rgba(0, 82, 255, 0.22) !important;
}

.hero-float-front-2 {
  border: 1.5px solid rgba(0, 82, 255, 0.55) !important;
  box-shadow: 0 0 16px rgba(0, 82, 255, 0.18) !important;
}
