@font-face {
  font-family: "Season VF";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("https://joinopenstandard.com/fonts/SeasonCollectionVF.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --page: var(--background-color-background);
  --surface: var(--background-color-surface);
  --ink: var(--text-color-foreground);
  --muted: var(--text-color-foreground-secondary);
  --line: var(--border-color-border);
  --accent: var(--text-color-foreground);
  --soft: var(--background-color-secondary);
  --focus: var(--outline-color-focus);
  --body-font: Pilat, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
/* Keep the content width stable when scrollbars appear or captures hide them. */
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 14px/1.6 var(--body-font); letter-spacing: .01em; }
main { max-width: 1120px; padding: 56px 32px 40px; margin: auto; }
h1, h2, h3, p { margin: 0; }
h1 { font: 400 32px/1.25 var(--body-font); letter-spacing: -.025em; }
h2 { font-size: 20px; font-weight: 500; line-height: 1.4; }
h3 { font-size: 14px; font-weight: 500; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--muted); }
a:active, summary:active { background: var(--soft); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 4px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
.identity { display: flex; align-items: center; gap: 16px; }
.brand-mark { width: 48px; height: 48px; }
.subtitle { color: var(--muted); margin-top: 8px; font-size: 15px; }
.header-link { white-space: nowrap; font-size: 13px; }
section { margin-top: 32px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.data-note, .tag, .trend-as-of { color: var(--muted); font-size: 12px; }
.tag { display: block; margin-top: 4px; }
.tag-warning { color: light-dark(oklch(48% .13 54.65), oklch(80% .12 70)); }
.tag-positive { color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr .8fr; padding: 24px 0; border-block: 1px solid var(--line); }
.stat { min-width: 0; padding: 0 24px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-label { font-size: 14px; color: var(--muted); }
.stat-value { font-size: clamp(24px, 2.7vw, 32px); font-weight: 400; line-height: 1.3; letter-spacing: -.025em; margin-top: 8px; overflow-wrap: anywhere; }
.number, .stat-value, .trend-value { font-variant-numeric: tabular-nums; }
.scope { color: var(--muted); font-size: 12px; margin-top: 12px; }
.trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trend-card { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 20px; min-width: 0; }
.trend-header { display: grid; gap: 12px; }
.trend-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.trend-value { font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.chart-shell { position: relative; margin-top: 16px; }
.trend-chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-axis-label { fill: var(--muted); font: 11px var(--body-font); }
.chart-area { fill: var(--accent); opacity: .04; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-marker-line { stroke: var(--muted); stroke-dasharray: 4 4; }
.chart-marker { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.chart-tooltip { position: absolute; transform: translate(-50%, -120%); background: var(--ink); color: var(--page); border-radius: 4px; padding: 6px 10px; white-space: nowrap; font-size: 12px; pointer-events: none; z-index: 1; max-width: 100%; }
.chart-tooltip[hidden] { display: none; }
.chart-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.rows { margin: 0; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row dt { color: var(--muted); }
.row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.composition-chart { display: flex; height: 8px; gap: 2px; margin: 22px 0 8px; overflow: hidden; border-radius: 2px; background: var(--soft); }
.composition-money { background: var(--accent); width: 0; }
.composition-cash { background: color-mix(in oklch, var(--accent) 25%, var(--page)); width: 0; }
.swatch { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--accent); border-radius: 1px; }
.swatch-cash { background: color-mix(in oklch, var(--accent) 25%, var(--page)); }
.address { overflow-wrap: anywhere; font-size: 12px; font-family: ui-monospace, monospace; }
.methodology { margin-top: 32px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 0; font-weight: 500; }
.method-content { max-width: 800px; display: grid; gap: 12px; padding-bottom: 16px; color: var(--muted); font-size: 13px; }
.method-content code { overflow-wrap: anywhere; font-size: 12px; }
.method-content ul { margin: 0; padding-left: 20px; }
.source-links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 720px) {
  main { padding: 28px 20px; }
  .header { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 8px; }
  h1 { font-size: 28px; }
  .section-heading { flex-direction: column; gap: 4px; }
  .stats { grid-template-columns: 1fr; padding: 0; }
  .stat, .stat:first-child { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat-value { font-size: 32px; }
  .trend-grid { grid-template-columns: 1fr; gap: 16px; }
  .trend-card { padding: 16px; }
  .trend-value { font-size: 22px; }
  .chart-tooltip { font-size: 10px; }
}
:root {
  color-scheme: light;
  --page: #f3e9e3;
  --surface: #f8f2ee;
  --ink: #250013;
  --muted: #725761;
  --line: #dacacb;
  --accent: #390922;
  --soft: #e0d3cc;
  --focus: #390922;
  --body-font: "Season VF", ui-sans-serif, system-ui, sans-serif;
}
