/* NoOne Trade - noonetrade.com.
   The dark desk palette of the NoOne html-live reports: bg #0d1117 · card #161b22 · card2 #1c2230 · border #30363d,
   text #e6edf3 · muted #8b949e · profit #3fb950 · loss #f85149 · one accent per asset (gold #e8b339, blue #58a6ff).
   System fonts, no external requests. */

:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-deep: #010409;
  --card: #161b22;
  --card2: #1c2230;
  --bd: #30363d;
  --line: #21262d;
  --tx: #e6edf3;
  --tx2: #c9d1d9;
  --mut: #8b949e;
  --grn: #3fb950;
  --red: #f85149;
  --amb: #d29922;
  --xau: #e8b339;
  --btc: #58a6ff;
  --acc: #e6edf3;
  --acc2: #c9d1d9;
  --acc-rgb: 230, 237, 243;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

/* one accent per asset - the html-live house palette (accent, accent2) */
.asset-xau { --acc: #e8b339; --acc2: #f5d58a; --acc-rgb: 232, 179, 57; }
.asset-btc { --acc: #58a6ff; --acc2: #9ecbff; --acc-rgb: 88, 166, 255; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
svg { display: block; }
::selection { background: rgba(var(--acc-rgb), 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px;
  background: #fff; color: var(--bg); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.noscript { padding: 18px 24px; color: var(--tx2); }

/* ---------- pills + badges ---------- */

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; line-height: 1.6; white-space: nowrap;
}
.pill-amb { background: rgba(210, 153, 34, 0.16); color: #e3b341; }
.pill-grn { background: rgba(63, 185, 80, 0.16); color: var(--grn); }
.pill-acc { background: rgba(var(--acc-rgb), 0.12); color: var(--acc2); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), 0.34); }

.badge {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--acc); color: var(--bg); font-size: 15px; font-weight: 800; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 3px rgba(var(--acc-rgb), 0.18);
}
.badge .icon { width: 60%; height: 60%; }
.icon-fill { fill: currentColor; stroke: currentColor; stroke-width: 0.6; stroke-linejoin: round; }
.icon-line { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.badge.sm { width: 32px; height: 32px; }
.badge.xs { width: 22px; height: 22px; box-shadow: none; }
.badge.xs .icon { width: 68%; height: 68%; }
.badge.xs .icon-line { stroke-width: 2.6; }
.asset-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 3px 15px 3px 3px; border-radius: 999px;
  background: rgba(var(--acc-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), 0.35);
}
.chip-text { display: flex; flex-direction: column; line-height: 1.15; }
.chip-text b { color: #fff; font-size: 13.5px; font-weight: 700; }
.chip-text small { color: var(--acc2); font-size: 11px; font-weight: 650; letter-spacing: 0.04em; }

/* ---------- startup bar + masthead ---------- */

.startup { background: var(--bg-deep); border-bottom: 1px solid var(--line); color: var(--tx2); font-size: 14px; }
.startup-row { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
.startup p { margin: 0; line-height: 1.45; }

.masthead { position: relative; z-index: 30; background: rgba(13, 17, 23, 0.9); border-bottom: 1px solid var(--line); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 62px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 0.01em; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; }
.brand-mark .c-gold { fill: var(--xau); }
.brand-mark .c-btc { fill: var(--btc); }
.mast-l { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; min-width: 0; }
.masthead .sections { display: flex; flex-wrap: wrap; gap: 2px; margin-right: -10px; }
.masthead .sections a {
  padding: 6px 10px; border-radius: 8px; color: var(--tx2); font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.masthead .sections a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.masthead .sections a.is-current { color: #fff; background: rgba(var(--acc-rgb), 0.1); box-shadow: inset 0 -2px 0 var(--acc); }

/* the market chips: each opens its asset page; the page you are on wears the ring */
.assets { display: flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid var(--line); }
.assets .asset-chip {
  color: inherit; text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.assets .badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.18s; }
.assets .asset-chip:hover {
  background: rgba(var(--acc-rgb), 0.18); transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), 0.75), 0 8px 24px -12px rgba(var(--acc-rgb), 0.9);
}
.assets .asset-chip:hover .badge { transform: rotate(-10deg) scale(1.06); }
.assets .asset-chip:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 999px; }
.assets .asset-chip[aria-current="page"] {
  background: rgba(var(--acc-rgb), 0.2);
  box-shadow: inset 0 0 0 1.5px var(--acc), 0 0 26px -8px rgba(var(--acc-rgb), 0.85);
}
.assets .asset-chip[aria-current="page"] .badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 3px rgba(var(--acc-rgb), 0.25); }

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: var(--acc); box-shadow: 0 0 12px rgba(var(--acc-rgb), 0.6);
}
.page-home .progress span { background: linear-gradient(90deg, var(--xau), var(--btc)); }
@media (min-width: 761px) {
  .masthead { position: sticky; top: 0; backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px); }
  .masthead.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9); }
}

/* ---------- hero (the html-live header) ---------- */

.hero { position: relative; overflow: hidden; padding: 44px 0 44px; background: var(--bg); }
.hero-glow {
  position: absolute; top: -220px; left: -10%; right: -10%; height: 680px; pointer-events: none;
  background: radial-gradient(1100px 440px at 20% 18%, rgba(var(--acc-rgb), 0.24), transparent 62%);
}
.page-home .hero-glow {
  background:
    radial-gradient(900px 440px at 12% 16%, rgba(232, 179, 57, 0.2), transparent 60%),
    radial-gradient(900px 440px at 88% 16%, rgba(88, 166, 255, 0.2), transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--acc); }
.page-home .hero::after { background: linear-gradient(90deg, var(--xau), var(--btc)); }
.hero > .wrap { position: relative; }

.display {
  margin: 0; max-width: 21em; color: #fff; text-wrap: balance;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em;
}
.sym { color: var(--acc); text-shadow: 0 0 30px rgba(var(--acc-rgb), 0.38); white-space: nowrap; }
@media (min-width: 600px) { .nowrap { white-space: nowrap; } }

/* every item opens with its separator; the list is shifted left and clipped, so no line starts with a dot */
.ident {
  display: flex; flex-wrap: wrap; margin: 14px 0 0 -22px; padding: 0; list-style: none;
  clip-path: inset(0 0 0 22px); color: var(--mut); font-size: 14px;
}
.ident li { white-space: nowrap; }
.ident li::before { content: "\00b7"; display: inline-block; width: 22px; color: #6e7681; text-align: center; }

.lede { margin: 16px 0 0; max-width: 64ch; color: var(--tx2); font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: 10px; font: 700 15.5px/1.2 var(--font); text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, filter 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--acc); color: var(--bg); box-shadow: 0 10px 30px -12px rgba(var(--acc-rgb), 0.8); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--bd); color: var(--tx); }
.btn-ghost:hover { border-color: rgba(var(--acc-rgb), 0.7); background: rgba(var(--acc-rgb), 0.08); }
.btn-acc { background: rgba(var(--acc-rgb), 0.12); border-color: rgba(var(--acc-rgb), 0.5); color: var(--acc2); }
.btn-acc:hover { background: rgba(var(--acc-rgb), 0.2); border-color: var(--acc); color: #fff; }
.btn-sm { min-height: 34px; padding: 6px 14px; border-radius: 8px; font-size: 14px; }

.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--mut); font-size: 14px; }
.crumb a { color: var(--tx2); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.crumb [aria-current] { color: var(--acc2); font-weight: 650; }

.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 18px 0 0; color: var(--mut); font-size: 14px; }

/* ---------- asset tiles (home hero + "also in development") ---------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 18px; margin-top: 34px; }
.tiles[hidden] { display: none; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 18px;
  border: 1px solid var(--bd); border-top: 3px solid var(--acc); border-radius: 14px;
  background: linear-gradient(180deg, var(--card2), var(--card)); color: inherit; text-decoration: none;
  box-shadow: 0 24px 60px -36px rgba(var(--acc-rgb), 0.6);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tile:hover { border-color: rgba(var(--acc-rgb), 0.6); box-shadow: 0 0 0 1px rgba(var(--acc-rgb), 0.22), 0 28px 70px -30px rgba(var(--acc-rgb), 0.75); transform: translateY(-2px); }
.tile-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.tile-id { display: flex; flex-direction: column; margin-right: auto; line-height: 1.3; min-width: 0; }
.tile-name { color: #fff; font-size: 19px; font-weight: 800; }
.tile-sub { color: var(--mut); font-size: 13.5px; }
.tile-fig { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; }
.tile-mult {
  color: var(--acc); font-size: clamp(44px, 4.6vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  text-shadow: 0 0 36px rgba(var(--acc-rgb), 0.35);
}
.tile-figsub { padding-bottom: 5px; color: var(--tx2); font-size: 14px; line-height: 1.45; }
.tile-figsub b { color: #fff; font-weight: 700; }
.tile-spark { display: block; height: 72px; }
.tile-kpis { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.mk { display: flex; flex-direction: column; min-width: 0; }
.mk-v { color: #fff; font-size: 19px; font-weight: 750; line-height: 1.25; font-variant-numeric: tabular-nums; }
.mk-l { margin-top: 3px; color: var(--acc); font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.3; text-transform: uppercase; }
.tile-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--mut); font-size: 13.5px; }
.tile-cta { color: var(--acc2); font-weight: 700; }
.tile-cta::after { content: " \2192"; }
@media (max-width: 520px) {
  .tile { padding: 18px 16px 16px; }
  .tile-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
}

/* ---------- KPI strip ---------- */

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hero .kpis { margin-top: 34px; }
.kpi {
  min-width: 0; padding: 14px 16px 13px; border: 1px solid var(--bd); border-top: 2px solid var(--acc); border-radius: 10px;
  background: linear-gradient(180deg, var(--card2), var(--card));
}
.kpi-v { display: block; color: #fff; font-size: clamp(19px, 1.9vw, 25px); font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi-l { display: block; margin-top: 5px; color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.kpi-s { display: block; margin-top: 2px; color: var(--mut); font-size: 13px; line-height: 1.4; }
.kpi-note { margin: 10px 0 0; color: var(--mut); font-size: 13.5px; }
@media (max-width: 760px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px 13px 11px; }
}

/* ---------- sections ---------- */

main { counter-reset: sec; }
.section { padding-top: 60px; }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line);
}
.section-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: #fff; font-size: clamp(21px, 2vw, 26px); font-weight: 750; line-height: 1.25; }
.section-title.num::before {
  counter-increment: sec; content: counter(sec);
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 8px;
  background: var(--acc); color: var(--bg); font-size: 15px; font-weight: 800;
}
.page-home .section:not(.dossier) .section-title.num::before { background: var(--tx); }
.t-sub { color: var(--mut); font-size: 0.72em; font-weight: 600; }
.sec-head .section-title { margin-right: auto; }
.sec-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.sec-link { color: var(--acc2); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.sec-link::after { content: " \2192"; }
.sec-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.sec-sub { margin: -6px 0 20px; color: var(--mut); font-size: 14.5px; }
.section-lede { max-width: 72ch; margin: 0 0 22px; color: var(--tx2); }
.others .tiles { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }

/* ---------- cards ---------- */

.card { border: 1px solid var(--bd); border-radius: 12px; background: var(--card); padding: 18px 20px; }
.chart { margin: 0; min-width: 0; }
.card-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.card-stack > *, .split > *, .years > * { min-width: 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.card-title { margin: 0; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.35; }
.card-sub { margin: 2px 0 0; color: var(--mut); font-size: 13.5px; }
.card-sub b { color: var(--tx); font-weight: 650; }
@media (max-width: 520px) { .card { padding: 16px 14px; } }

/* ---------- growth + drawdown chart ---------- */

.seg { display: inline-flex; padding: 3px; border: 1px solid var(--bd); border-radius: 9px; background: var(--bg); }
.seg button {
  padding: 5px 13px; border: 0; border-radius: 6px; background: transparent; color: var(--tx2);
  font: 650 13px/1.4 var(--font); cursor: pointer;
}
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--acc); color: var(--bg); }

.plot { position: relative; border-radius: 8px; }
.plot svg { width: 100%; height: auto; overflow: visible; }
.plot:focus-visible { outline-offset: 6px; }
.grid { stroke: var(--line); stroke-width: 1; }
.baseline { stroke: var(--bd); stroke-width: 1; }
.tick { fill: var(--mut); font: 12.5px var(--font); font-variant-numeric: tabular-nums; }
.ga0 { stop-color: var(--acc); stop-opacity: 0.32; }
.ga1 { stop-color: var(--acc); stop-opacity: 0; }
.line-glow { fill: none; stroke: var(--acc); stroke-width: 7; stroke-opacity: 0.14; stroke-linejoin: round; stroke-linecap: round; }
.line { fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.dot { fill: var(--acc); stroke: var(--card); stroke-width: 2; }
.dot-halo { fill: var(--acc); fill-opacity: 0.2; }
.end-label { fill: #fff; font: 700 13px var(--font); font-variant-numeric: tabular-nums; }
.panel-label { fill: var(--tx2); font: 600 12.5px var(--font); }
.dd-area { fill: rgba(248, 81, 73, 0.16); }
.dd-line { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linejoin: round; }
.dd-label { fill: var(--red); font: 700 12.5px var(--font); }
.cross { stroke: var(--mut); stroke-dasharray: 3 3; }
.cross-dot { fill: var(--acc); stroke: var(--bg); stroke-width: 2; }
.cross-dot.dd { fill: var(--red); }
.hit { fill: transparent; cursor: crosshair; }
.plot .cross, .plot .cross-dot { visibility: hidden; }
.plot.is-active .cross, .plot.is-active .cross-dot { visibility: visible; }

.tip {
  position: absolute; top: 6px; left: 0; z-index: 2; min-width: 190px; padding: 9px 12px; border: 1px solid var(--bd); border-radius: 10px;
  background: rgba(28, 34, 48, 0.97); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.8); font-size: 13px; line-height: 1.45;
  pointer-events: none; opacity: 0; transition: opacity 0.12s;
}
.dot-ping { fill: none; stroke: var(--acc); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.plot.is-active .tip { opacity: 1; }
.tip-date { color: var(--mut); font-size: 12.5px; }
.tip-val { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.tip-row { display: flex; align-items: center; gap: 7px; color: var(--tx2); font-variant-numeric: tabular-nums; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--acc); }
.key.dd { background: var(--red); }
.chart-note { margin: 12px 0 0; color: var(--mut); font-size: 13.5px; }

/* ---------- week-by-week grid ---------- */

.wk-plot { position: relative; border-radius: 8px; }
.wk-plot svg { width: 100%; height: auto; }
.wk { stroke: rgba(1, 4, 9, 0.35); stroke-width: 1; cursor: pointer; }
.wk-flat { fill: var(--bg); stroke: var(--line); }
.wk-sel { stroke: #fff; stroke-width: 2; }
.wk-label { fill: var(--tx2); font: 600 12.5px var(--font); }
.wk-val { fill: #fff; font: 650 11.5px var(--font); font-variant-numeric: tabular-nums; pointer-events: none; }
.readout { min-height: 1.6em; margin: 12px 0 0; color: var(--tx2); font-size: 14px; font-variant-numeric: tabular-nums; }
.readout b { color: #fff; }

.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--mut); font-size: 13px; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.sw-l2 { background: rgba(248, 81, 73, 0.58); }
.sw-l1 { background: rgba(248, 81, 73, 0.24); }
.sw-flat { background: var(--bg); box-shadow: inset 0 0 0 1px var(--bd); }
.sw-g1 { background: rgba(63, 185, 80, 0.2); }
.sw-g2 { background: rgba(63, 185, 80, 0.38); }
.sw-g3 { background: rgba(63, 185, 80, 0.58); }
.sw-pair { display: inline-flex; gap: 3px; }

/* ---------- monthly calendar ---------- */

.heat-wrap { overflow-x: auto; }
.heat { width: 100%; min-width: 300px; table-layout: fixed; border-collapse: separate; border-spacing: 4px; font-variant-numeric: tabular-nums; }
.heat col.c-label { width: 58px; }
.heat col.c-year { width: 92px; }
.heat thead td { height: auto; padding: 0; background: transparent; box-shadow: none; }
.heat thead th { padding: 2px 2px 4px; color: var(--mut); font-size: 12.5px; font-weight: 600; text-align: center; }
.heat tbody th { padding: 0 6px 0 2px; color: var(--tx2); font-size: 13.5px; font-weight: 700; text-align: left; }
.heat td { height: 54px; padding: 4px 2px; border-radius: 7px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); text-align: center; vertical-align: middle; }
.heat td.has { box-shadow: none; }
.heat td.out { background: transparent; box-shadow: none; }
.heat td.year { background: var(--card2); box-shadow: inset 0 0 0 1px var(--bd); }
.heat .v { display: block; color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.heat .n { display: block; color: var(--tx); font-size: 11.5px; line-height: 1.3; }
.heat td.none .v, .heat td.none .n { color: var(--mut); }
.heat td.year .v.pos { color: var(--grn); }
.heat td.year .v.neg { color: var(--red); }
.heat.is-tall col.c-label { width: 48px; }
.months-note { margin: 10px 0 0; color: var(--mut); font-size: 13.5px; }

/* ---------- table twins ---------- */

.twin { margin-top: 14px; }
.twin summary { display: inline-block; color: var(--acc2); font-size: 14px; font-weight: 650; cursor: pointer; }
.twin summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.twin-scroll { max-height: 360px; margin-top: 10px; overflow: auto; border: 1px solid var(--bd); border-radius: 8px; }
.twin table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.twin th, .twin td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.twin thead th { position: sticky; top: 0; background: var(--card2); color: var(--acc2); font-weight: 650; text-align: right; }
.twin th:first-child, .twin td:first-child { text-align: left; }
.twin tbody th { color: var(--tx2); font-weight: 500; }

/* ---------- what we publish / keep ---------- */

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; }
.split h3 { margin: 0 0 6px; color: #fff; font-size: 17px; }
.spec { margin: 0; }
.spec > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top: 0; }
.spec dt { color: var(--mut); font-size: 14px; }
.spec dd { margin: 0; color: var(--tx); font-size: 14.5px; }
@media (max-width: 480px) { .spec > div { grid-template-columns: 1fr; } }
.private {
  display: inline-flex; align-items: center; gap: 7px; padding: 1px 11px 1px 9px; border-radius: 999px;
  background: rgba(139, 148, 158, 0.12); box-shadow: inset 0 0 0 1px var(--bd); color: var(--tx2); font-size: 12.5px; font-weight: 700;
}
.private::before {
  content: ""; width: 9px; height: 11px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 11'%3E%3Cpath d='M2 4.5V3a2.5 2.5 0 015 0v1.5h.5a1 1 0 011 1V10a1 1 0 01-1 1h-6a1 1 0 01-1-1V5.5a1 1 0 011-1zm1 0h3V3a1.5 1.5 0 00-3 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 11'%3E%3Cpath d='M2 4.5V3a2.5 2.5 0 015 0v1.5h.5a1 1 0 011 1V10a1 1 0 01-1 1h-6a1 1 0 01-1-1V5.5a1 1 0 011-1zm1 0h3V3a1.5 1.5 0 00-3 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.private-note { margin: 12px 0 0; color: var(--mut); font-size: 13.5px; }

/* ---------- rules ---------- */

.rule-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.rule-list li { padding: 16px 18px; border: 1px solid var(--bd); border-left: 3px solid var(--grn); border-radius: 10px; background: var(--card); }
.rule-list h3 { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; color: #fff; font-size: 16.5px; line-height: 1.4; }
.rule-list h3::before {
  content: "\2713"; display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: rgba(63, 185, 80, 0.18); color: var(--grn); font-size: 12px; font-weight: 800;
}
.evidence { display: grid; gap: 8px; }
.evidence > span { display: flex; align-items: center; gap: 9px; color: var(--tx2); font-size: 14px; }
.evidence b { color: #fff; font-weight: 650; }

/* ---------- about + contact ---------- */

.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: start; }
.about-grid .section-lede { margin: 0; }
.facts { margin: 0; padding: 4px 20px; border: 1px solid var(--bd); border-radius: 12px; background: var(--card); }
.facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--mut); font-size: 14px; }
.facts dd { margin: 0; color: var(--tx); font-size: 14.5px; }
.facts a { color: var(--tx); text-underline-offset: 3px; }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; } }

.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 28px 30px;
  border: 1px solid var(--bd); border-radius: 14px;
  background: radial-gradient(640px 220px at 0% 0%, rgba(232, 179, 57, 0.13), transparent 62%),
    radial-gradient(640px 220px at 100% 100%, rgba(88, 166, 255, 0.13), transparent 62%), var(--card);
}
.page-asset .contact-card { background: radial-gradient(760px 260px at 0% 0%, rgba(var(--acc-rgb), 0.15), transparent 62%), var(--card); }
.contact-card .section-title { margin-bottom: 8px; }
.contact-card p { max-width: 58ch; margin: 0; color: var(--tx2); }
@media (max-width: 520px) { .contact-card { padding: 22px 18px; } .contact-card .btn { width: 100%; } }

/* ---------- home: the way into each asset page ---------- */

.cta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 16px; padding: 18px 22px;
  border: 1px dashed rgba(var(--acc-rgb), 0.45); border-radius: 12px; background: rgba(var(--acc-rgb), 0.05);
}
.cta-row p { max-width: 62ch; margin: 0; color: var(--tx2); font-size: 14.5px; }
@media (max-width: 520px) { .cta-row { padding: 16px; } .cta-row .btn { width: 100%; } }

/* ---------- asset page: year cards, bars, spread, risk, direction, every number ---------- */

.years { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.year-card { border-top: 2px solid var(--acc); background: linear-gradient(180deg, var(--card2), var(--card)); }
.yc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.yc-year { color: #fff; font-size: 22px; font-weight: 800; }
.yc-ret { display: block; margin-top: 10px; font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.yc-ret.pos { color: var(--grn); }
.yc-ret.neg { color: var(--red); }
.yc-bal { margin: 6px 0 14px; color: var(--tx2); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.yc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0 0 14px; }
.yc-facts dt { color: var(--acc); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.yc-facts dd { margin: 2px 0 0; color: #fff; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

.dir-bar { display: flex; height: 10px; overflow: hidden; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.dir-bar.big { height: 14px; }
.dir-bar span { display: block; width: var(--w); height: 100%; }
.dir-long, .sw-long { background: var(--acc); }
.dir-short, .sw-short { background: rgba(var(--acc-rgb), 0.35); }
.dir-lab { display: flex; justify-content: space-between; margin: 7px 0 0; color: var(--tx2); font-size: 13px; }
.dir-card .legend { margin-top: 14px; }
.dir-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.dir-card .card-sub + .dir-row { border-top: 0; }
.dir-name { color: #fff; font-weight: 700; }
.dir-num { color: var(--tx2); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .dir-row { grid-template-columns: 52px minmax(0, 1fr); gap: 6px 12px; } .dir-num { grid-column: 2; } }

.bar-plot { position: relative; border-radius: 8px; }
.bar-plot svg { width: 100%; height: auto; }
.bar { transform-box: fill-box; transform-origin: 50% 100%; cursor: pointer; }
.bar.neg { transform-origin: 50% 0%; }
.bar.pos { fill: rgba(63, 185, 80, 0.82); }
.bar.neg { fill: rgba(248, 81, 73, 0.85); }
.bar.none { fill: var(--bd); }
.bar.flat { fill: rgba(139, 148, 158, 0.3); stroke: var(--bd); }
.bar.is-sel { stroke: #fff; stroke-width: 1.5; }
.bar-val { fill: var(--tx); font: 650 11.5px var(--font); font-variant-numeric: tabular-nums; pointer-events: none; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0 28px; margin: 6px 0 0; }
.stat-grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat-grid > div { display: flex; flex-direction: column; padding: 11px 0; border-top: 1px solid var(--line); }
.stat-grid dt { color: var(--mut); font-size: 13.5px; }
.stat-grid dd { margin: 2px 0 0; color: #fff; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-grid dd small { display: block; margin-top: 1px; color: var(--mut); font-size: 12.5px; font-weight: 500; }
@media (max-width: 520px) {
  .stat-grid, .stat-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .stat-grid dd { font-size: 16px; }
}

.table-wrap { margin-top: 8px; overflow-x: auto; }
.dd-table { width: 100%; min-width: 470px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.dd-table th, .dd-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.dd-table thead th { color: var(--acc2); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.dd-table tbody th { color: var(--tx); font-weight: 600; }
.dd-table td.neg { color: var(--red); font-weight: 700; }
.dd-table td.open { color: #e3b341; font-weight: 650; }

/* ---------- motion (his word 2026-10-09: animate the charts and the page; reduced motion turns all of it off) ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cellIn { from { opacity: 0; transform: scale(0.45); } to { opacity: 1; transform: none; } }
@keyframes barIn { from { transform: scaleY(0); } to { transform: none; } }
@keyframes ping { 0% { opacity: 0.75; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
@keyframes glowDrift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.1); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: glowDrift 16s ease-in-out infinite alternate; }
  .hero .crumb, .hero .display, .hero .ident, .hero .lede, .hero .hero-actions, .hero .hero-note {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .hero .display { animation-delay: 0.08s; }
  .hero .ident { animation-delay: 0.18s; }
  .hero .lede { animation-delay: 0.26s; }
  .hero .hero-actions { animation-delay: 0.34s; }
  .hero .hero-note { animation-delay: 0.42s; }
  .assets .asset-chip { animation: pop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) backwards 0.12s; }
  .assets .asset-chip + .asset-chip { animation-delay: 0.24s; }
  .hero .tile, .hero .kpi { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms + 420ms); }
  .hero .kpi-note { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards 1.05s; }
}

.motion .reveal { opacity: 0; transform: translateY(22px); }
.motion .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--rd, 0ms), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--rd, 0ms);
}
.motion .reveal .dir-bar span { width: 0; }
.motion .reveal.is-in .dir-bar span { width: var(--w); transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }

.dot-ping.is-pinging { animation: ping 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) 2; }
.axis-in { animation: fadeIn 0.55s ease both; }
.motion .cross, .motion .cross-dot { transition: transform 0.14s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion .tip { transition: opacity 0.15s, transform 0.14s cubic-bezier(0.2, 0.7, 0.2, 1); }
.plot.snap .cross, .plot.snap .cross-dot, .plot.snap .tip { transition: none; }

.wk, .wk-val { transform-box: fill-box; transform-origin: center; }
.wk-wait .wk, .wk-wait .wk-val { opacity: 0; }
.wk-play .wk, .wk-play .wk-val { animation: cellIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.heat-wait td.has, .heat-wait td.none, .heat-wait td.year { opacity: 0; }
.heat-play td.has, .heat-play td.none, .heat-play td.year { animation: cellIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d, 0ms); }
.bars-wait .bar, .bars-wait .bar-val { opacity: 0; }
.bars-play .bar { animation: barIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.bars-play .bar-val { animation: fadeIn 0.5s ease both; }

/* ---------- disclaimer + footer ---------- */

.disclaimer { padding-top: 60px; }
.disclaimer .card { background: var(--bg-deep); border-color: var(--line); }
.disclaimer h2 { margin: 0 0 8px; color: var(--tx2); font-size: 16px; }
.disclaimer p { max-width: 110ch; margin: 0 0 10px; color: var(--mut); font-size: 13.5px; line-height: 1.65; }
.disclaimer p:last-child { margin-bottom: 0; }

.foot { margin-top: 48px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; padding-top: 18px; padding-bottom: 26px; color: var(--mut); font-size: 13.5px; }
.foot a { color: var(--tx2); text-underline-offset: 3px; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 30px 0 34px; }
  .section { padding-top: 48px; }
  .startup { font-size: 13px; }
  .startup-row { align-items: flex-start; }
  .startup .pill { margin-top: 1px; }
  .masthead-row { padding-top: 12px; padding-bottom: 8px; gap: 8px 20px; }
  .mast-l { flex: 1 1 100%; gap: 12px; }
  .assets { flex: 1 1 100%; padding-left: 0; border-left: 0; }
  .assets .asset-chip { flex: 1 1 0; min-width: 0; padding: 4px 12px 4px 4px; }
  .masthead .sections { margin-left: -8px; margin-right: -8px; }
  .masthead .sections a { padding: 6px 8px; font-size: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tile .pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .tile:hover { transform: none; }
}

@media print {
  body { background: #fff; color: #111; }
  .masthead, .startup, .seg, .twin, .hero-actions, .contact-card .btn { display: none !important; }
}
