:root {
  --ink: #1A1C1E;
  --ink-2: #222527;
  --ink-3: #2C3033;
  --tile: #45B8A8;
  --tile-dim: rgba(69, 184, 168, 0.14);
  --sand: #D4A574;
  --sand-dim: rgba(212, 165, 116, 0.14);
  --ivory: #E9E7E2;
  --muted: #A9ABA8;
  --dim: #7B7E7B;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--sans); overflow: hidden; }

/* Star sky + slow-breathing Samarkand glow */
#stars { position: fixed; inset: 0; z-index: 0; display: block; pointer-events: none; }
.ambience {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 110%, rgba(69, 184, 168, 0.09), transparent 60%),
    radial-gradient(ellipse 45% 55% at 10% -10%, rgba(212, 165, 116, 0.06), transparent 60%);
  animation: breathe 14s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }

/* Rotating brand mark, top-right corner */
.hdr-logo { position: fixed; top: clamp(14px, 1.8vw, 30px); right: clamp(14px, 1.8vw, 30px); width: clamp(40px, 3.6vw, 74px); height: clamp(40px, 3.6vw, 74px); z-index: 5; color: var(--tile); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Fit the whole dashboard into one viewport — no scroll */
main { position: relative; z-index: 1; width: 94vw; max-width: 1500px; height: 100vh; height: 100dvh; margin: 0 auto; padding: clamp(12px, 2.4vh, 30px) clamp(16px, 3vw, 48px); display: flex; flex-direction: column; gap: clamp(6px, 1.3vh, 16px); overflow: hidden; }

.hdr { display: flex; align-items: center; justify-content: center; gap: 10px; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(10px, 0.95vw, 15px); font-weight: 700; color: var(--tile); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tile); transition: opacity .3s; }

.od { display: flex; justify-content: center; line-height: 1; margin-top: clamp(8px, 2.2vh, 26px); font-family: var(--sans); font-weight: 600; font-size: clamp(35px, 6.6vw, 123px); font-variant-numeric: tabular-nums lining-nums; color: var(--ivory); text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.od .cell { position: relative; display: inline-block; overflow: hidden; width: .72em; height: 1em; }
.od .reel { position: absolute; left: 0; top: 0; width: 100%; }
.od .reel span { display: block; height: 1em; line-height: 1; text-align: center; }
.od .sep { display: inline-block; width: .3em; }

.sub { text-align: center; color: var(--muted); font-size: clamp(12px, 1vw, 17px); }
.cur { display: inline-block; font-size: 0.8em; font-weight: 700; letter-spacing: .08em; color: var(--sand); border: 1px solid rgba(212, 165, 116, 0.4); border-radius: 6px; padding: 2px 8px; margin-right: 6px; }
.delta { color: var(--tile); margin-left: 10px; }
.hr-ul { width: clamp(120px, 12vw, 220px); height: 3px; margin: 4px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--tile), var(--sand)); }

/* AUM history — fills the remaining vertical space (keeps everything on one screen) */
.aum-hist { flex: 1 1 auto; min-height: 0; background: transparent; display: flex; flex-direction: column; margin-top: clamp(4px, 1vh, 12px); }
.ah-head { display: flex; align-items: baseline; justify-content: space-between; }
.ah-lab { font-size: clamp(10px, 0.95vw, 14px); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tile); }
.ah-unit { font-size: clamp(9px, 0.78vw, 12px); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ah-chart { position: relative; flex: 1 1 auto; min-height: 0; margin-top: 8px; }

.tiles { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 44px); }
.tile { background: transparent; padding: 2px 4px; }
.trow { display: flex; align-items: center; justify-content: space-between; }
.tlab { font-size: clamp(10px, 0.95vw, 14px); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile.t-investors .tlab { color: var(--tile); }
.tile.t-clients .tlab { color: var(--sand); }
.grow { font-size: clamp(10px, 0.9vw, 13px); font-weight: 600; color: var(--tile); display: inline-flex; align-items: center; gap: 4px; background: var(--tile-dim); border: 1px solid rgba(69, 184, 168, 0.3); border-radius: 999px; padding: 2px 9px; }
.tnum { font-size: clamp(24px, 2.5vw, 46px); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 4px; color: var(--ivory); }
.spark { position: relative; height: clamp(70px, 12vh, 150px); margin-top: 8px; }

@media (max-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
