:root {
  --record-night: #030309;
  --record-deep: #080720;
  --record-indigo: #181650;
  --record-iris: #8985ff;
  --record-paper: #f4f3f8;
  --record-paper-alt: #ecebf2;
  --record-ink: #090912;
  --record-muted: #aaa9bd;
  --record-line: rgba(244, 243, 248, .16);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

.record-page {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--record-paper);
  background: var(--record-night);
}

.record-page .record-header {
  position: relative;
  z-index: 30;
  height: 80px;
  grid-template-columns: 1fr auto;
  padding: 0 2vw;
  border-bottom: 1px solid rgba(244, 243, 248, .11);
  background: #030309;
}

.record-page .m-wordmark span {
  font-size: clamp(25px, 2vw, 31px);
}

.record-page .record-header nav {
  gap: clamp(18px, 2.4vw, 34px);
  font-size: clamp(9px, .72vw, 11px);
}

.record-page .record-header nav a {
  position: relative;
  border: 0;
}

.record-page .record-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--record-iris);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}

.record-page .record-header nav a:hover::after,
.record-page .record-header nav a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.record-page .record-header nav a[aria-current] {
  color: #fff;
}

/* 04 / track record */
.record-hero {
  position: relative;
  min-height: calc(100svh - 80px);
  height: calc(100vh - 80px);
  overflow: hidden;
  padding: 44px 2vw 74px;
  background:
    radial-gradient(circle at 77% 49%, rgba(105, 99, 232, .13), transparent 31%),
    linear-gradient(180deg, #030309 0%, #07061d 55%, #100e3d 100%);
}

.record-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: radial-gradient(rgba(255, 255, 255, .28) .45px, transparent .45px);
  background-size: 5px 5px;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000);
  mask-image: linear-gradient(transparent, #000 22%, #000);
}

.record-glow {
  position: absolute;
  top: 46%;
  right: -12vw;
  width: min(75vw, 1050px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(137, 133, 255, .11), rgba(72, 66, 184, .035) 42%, transparent 68%);
  transform: translateY(-50%);
  filter: blur(12px);
}

.record-section-meta,
.record-light-meta,
.record-risk-meta {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 26px;
  color: #85839d;
  font: 300 clamp(7px, .53vw, 9px) var(--mono);
  letter-spacing: .13em;
}

.record-section-meta {
  position: absolute;
  top: 17px;
  right: 2vw;
  left: 2vw;
}

.record-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(335px, .72fr) minmax(610px, 1.28fr);
  gap: clamp(35px, 4.2vw, 82px);
  align-items: center;
  height: 100%;
}

.record-hero-copy {
  align-self: start;
  min-width: 0;
  padding-top: clamp(48px, 7vh, 74px);
}

.record-kicker,
.record-risk-copy > span {
  display: block;
  color: #9592f1;
  font: 400 clamp(8px, .61vw, 10px) var(--mono);
  letter-spacing: .15em;
}

.record-hero-copy h1 {
  margin: clamp(24px, 3vh, 34px) 0 27px;
  font-size: clamp(5.1rem, 8.4vw, 9.4rem);
  font-weight: 200;
  line-height: .75;
  letter-spacing: -.08em;
}

.record-hero-copy h1.record-performance-title {
  width: 100%;
  margin: 0 0 30px;
  overflow: visible;
  font-family: var(--sans);
  font-size: clamp(4.1rem, 5vw, 7rem);
  font-weight: 300;
  line-height: .78;
  letter-spacing: -.075em;
  white-space: nowrap;
}

.record-performance-title span {
  display: block;
  width: auto;
  transform: none;
}

.record-hero-copy h1 em,
.record-metrics-intro h2 em,
.record-monthly-head h2 em,
.record-risk-copy h2 em,
.conclusion-content h2 em {
  color: #aaa7ff;
  font: 300 italic .9em var(--serif);
}

.record-hero-copy > p {
  max-width: 410px;
  margin: 0;
  color: #afadbf;
  font-size: clamp(13px, .95vw, 16px);
  line-height: 1.55;
}

.record-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(28px, 4vh, 44px);
  border-top: 1px solid var(--record-line);
  border-left: 1px solid var(--record-line);
}

.record-summary div {
  min-width: 0;
  padding: 13px 11px 12px;
  border-right: 1px solid var(--record-line);
  border-bottom: 1px solid var(--record-line);
}

.record-summary span,
.record-summary strong {
  display: block;
}

.record-summary span {
  min-height: 21px;
  color: #7f7d96;
  font: 300 clamp(6px, .45vw, 8px)/1.35 var(--mono);
  letter-spacing: .08em;
}

.record-summary strong {
  margin-top: 17px;
  color: #f2f1f7;
  font-size: clamp(16px, 1.35vw, 24px);
  font-weight: 300;
  letter-spacing: -.04em;
}

.record-hero-copy > .record-performance-warning {
  max-width: 500px;
  margin-top: 14px;
  padding: 8px 10px;
  border-left: 2px solid #8e8bed;
  color: #c0becd;
  background: rgba(137, 133, 255, .055);
  font-size: clamp(12px, .82vw, 14px);
  line-height: 1.45;
}

.record-diversification {
  max-width: 500px;
  margin-top: clamp(18px, 2.5vh, 27px);
  padding: 19px 0 0;
  border-top: 1px solid rgba(244, 243, 248, .12);
}

.record-diversification span {
  display: block;
  margin-bottom: 13px;
  color: #8e8bed;
  font: 300 clamp(10px, .78vw, 13px) var(--mono);
  letter-spacing: .12em;
}

.record-diversification p {
  margin: 0;
  color: #aaa8ba;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.48;
}

.record-chart-shell {
  position: relative;
  align-self: center;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 243, 248, .15);
  background: rgba(4, 4, 14, .5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.record-chart-shell figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  color: #8a889f;
  border-bottom: 1px solid rgba(244, 243, 248, .12);
  font: 300 clamp(7px, .5vw, 9px) var(--mono);
  letter-spacing: .1em;
}

.record-range {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(244, 243, 248, .1);
}

.record-benchmarks {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: 24px;
}

.record-benchmark-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  color: #aaa9bd;
  cursor: pointer;
  font: 300 clamp(7px, .47vw, 8px) var(--mono);
  letter-spacing: .08em;
  user-select: none;
}

.record-benchmark-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.record-benchmark-toggle > span {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(244, 243, 248, .34);
  background: rgba(244, 243, 248, .03);
  transition: border-color .2s ease, background .2s ease;
}

.record-benchmark-toggle > span::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #c7c5d4;
  opacity: 0;
  transform: scale(.55);
  transition: opacity .2s ease, transform .2s ease;
}

.record-benchmark-toggle input:checked + span {
  border-color: rgba(80, 197, 255, .85);
  background: rgba(80, 197, 255, .08);
}

.record-benchmark-toggle input:checked + span::after {
  background: #50c5ff;
  opacity: 1;
  transform: scale(1);
}

.record-benchmark-toggle[data-benchmark-option="with474"] input:checked + span {
  border-color: rgba(255, 105, 91, .85);
}

.record-benchmark-toggle[data-benchmark-option="with474"] input:checked + span::after {
  background: #ff695b;
}

.record-benchmark-toggle input:focus-visible + span {
  outline: 1px solid #aaa7ff;
  outline-offset: 3px;
}

.record-range button {
  appearance: none;
  min-height: 26px;
  padding: 0 10px;
  color: #77758e;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font: 300 clamp(7px, .47vw, 8px) var(--mono);
  letter-spacing: .08em;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.record-range button:hover {
  color: #d9d7ea;
  border-color: rgba(244, 243, 248, .16);
}

.record-range button.is-active {
  color: #f4f3f8;
  border-color: rgba(137, 133, 255, .45);
  background: rgba(137, 133, 255, .1);
}

.record-chart-stage {
  position: relative;
  height: clamp(330px, 48vh, 495px);
  overflow: hidden;
  cursor: crosshair;
}

.record-chart-grid,
.drawdown-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 243, 248, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 243, 248, .075) 1px, transparent 1px);
  background-size: 20% 25%;
}

.record-chart-shell.is-comparison-mode .record-chart-grid {
  background-image: linear-gradient(rgba(244, 243, 248, .14) 1px, transparent 1px);
  background-size: 100% 25%;
}

.record-chart-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 25%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(148, 144, 255, .06), transparent);
  transform: skewX(-12deg);
}

body.record-is-ready .record-chart-stage::after {
  animation: recordScan 2.2s 1.2s cubic-bezier(.2, .65, .25, 1) both;
}

.record-chart-stage svg,
.drawdown-stage svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.record-area {
  fill: url(#recordArea);
  opacity: 0;
  transition: opacity .7s ease;
}

.record-line {
  fill: none;
  stroke: url(#recordStroke);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: url(#recordGlow);
}

.record-benchmark-line {
  fill: none;
  stroke: #50c5ff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  transition: opacity .3s ease;
}

.record-benchmark-line.is-visible {
  opacity: 1;
}

.record-benchmark-line.is-with474 {
  stroke: #ff695b;
  stroke-width: 3.2;
  stroke-dasharray: none;
}

.record-chart-shell.is-comparison-mode .record-area {
  opacity: 0 !important;
}

.record-chart-shell.is-comparison-mode .record-line {
  stroke-width: 3.2;
  filter: none;
}

.record-y-axis-line {
  stroke: rgba(244, 243, 248, .22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.record-zero-line {
  stroke: rgba(244, 243, 248, .3);
  stroke-width: 1;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
}

.record-chart-shell.is-drawn .record-line {
  animation: recordLineDraw 1.85s .2s cubic-bezier(.2, .68, .2, 1) forwards;
}

.record-chart-shell.is-drawn .record-area {
  opacity: 1;
  transition-delay: .75s;
}

.record-chart-shell.is-switching .record-line {
  opacity: .2;
  stroke-dashoffset: 1;
  animation: none;
}

.record-chart-shell.is-switching .record-area {
  opacity: 0;
  transition-delay: 0s;
}

.record-chart-cursor {
  opacity: 0;
  transition: opacity .18s ease;
}

.record-chart-stage.is-inspecting .record-chart-cursor {
  opacity: 1;
}

.record-chart-cursor line {
  stroke: rgba(244, 243, 248, .32);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.record-chart-cursor circle {
  fill: #f4f3f8;
  stroke: #8581f5;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(137, 133, 255, .8));
}

.record-chart-cursor circle.is-sp500 {
  fill: #050510;
  stroke: #50c5ff;
  filter: drop-shadow(0 0 7px rgba(80, 197, 255, .65));
}

.record-chart-cursor circle.is-with474 {
  fill: #050510;
  stroke: #ff695b;
  filter: drop-shadow(0 0 7px rgba(255, 105, 91, .6));
}

.record-chart-cursor circle[hidden],
.record-chart-tooltip [hidden] {
  display: none !important;
}

.record-chart-tooltip,
.record-chart-endpoint {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.record-chart-tooltip {
  top: 18px;
  left: 18px;
  min-width: 210px;
  max-width: 260px;
  padding: 15px 17px;
  color: var(--record-paper);
  border: 1px solid rgba(244, 243, 248, .18);
  background: rgba(5, 5, 16, .88);
  opacity: 0;
  transform: translateY(5px);
  backdrop-filter: blur(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.record-chart-stage.is-inspecting .record-chart-tooltip {
  opacity: 1;
  transform: none;
}

.record-chart-tooltip span,
.record-chart-tooltip small,
.record-chart-tooltip strong {
  display: block;
}

.record-chart-tooltip .record-benchmark-tooltip {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(244, 243, 248, .12);
  color: #b6b4c4;
}

.record-chart-tooltip .record-benchmark-tooltip b {
  color: #f4f3f8;
  font-weight: 400;
}

.record-chart-tooltip .record-benchmark-tooltip.is-with474,
.record-chart-tooltip .record-benchmark-tooltip.is-with474 b {
  color: #ff8176;
}

.record-chart-tooltip .record-benchmark-tooltip.is-sp500,
.record-chart-tooltip .record-benchmark-tooltip.is-sp500 b {
  color: #69cdff;
}

.record-chart-tooltip span,
.record-chart-tooltip small {
  color: #85839b;
  font: 300 9px/1.45 var(--mono);
  letter-spacing: .09em;
}

.record-chart-tooltip strong {
  margin: 10px 0 7px;
  font-size: 24px;
  font-weight: 300;
}

.record-chart-endpoint {
  top: 12%;
  right: 2.5%;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  color: var(--record-night);
  background: #d6d4ff;
  box-shadow: 0 0 20px rgba(137, 133, 255, .22);
  transition: top .55s ease;
}

.record-chart-endpoint span,
.record-chart-endpoint strong {
  font: 400 7px var(--mono);
  letter-spacing: .07em;
}

.record-chart-y,
.drawdown-y {
  position: absolute;
  z-index: 3;
  top: 8px;
  bottom: 8px;
  left: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  pointer-events: none;
  color: #65637a;
  font: 300 7px var(--mono);
}

.record-chart-y {
  top: 8.75%;
  bottom: 11.67%;
  justify-content: space-between;
}

.record-chart-axis,
.drawdown-axis {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  color: #706e85;
  border-top: 1px solid rgba(244, 243, 248, .1);
  font: 300 clamp(6px, .44vw, 8px) var(--mono);
  letter-spacing: .07em;
}

.record-chart-axis {
  position: relative;
  padding-right: 3.5%;
  padding-left: 5%;
  border-top: 0;
}

.record-chart-axis::before {
  content: "";
  position: absolute;
  top: 0;
  right: 3.5%;
  left: 5%;
  height: 1px;
  background: rgba(244, 243, 248, .22);
}

.record-comparison-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 38px;
  padding: 0 16px 14px;
  color: #8c8a9f;
  font: 300 clamp(7px, .47vw, 8px) var(--mono);
  letter-spacing: .08em;
}

.record-comparison-legend[hidden],
.record-comparison-legend span[hidden] {
  display: none;
}

.record-comparison-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.record-comparison-legend i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #8985ff;
  box-shadow: 0 0 7px rgba(137, 133, 255, .45);
}

.record-comparison-legend [data-series-legend="sp500"] i {
  background: #50c5ff;
  box-shadow: 0 0 6px rgba(80, 197, 255, .3);
}

.record-comparison-legend [data-series-legend="with474"] i {
  background: #ff695b;
  box-shadow: 0 0 6px rgba(255, 105, 91, .28);
}

.record-benchmark-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 15px 18px 17px;
  border-top: 1px solid rgba(244, 243, 248, .1);
}

.record-benchmark-explainer p {
  margin: 0;
  color: #8e8ca0;
  font-size: clamp(11px, .82vw, 13px);
  font-weight: 300;
  line-height: 1.55;
}

.record-benchmark-explainer strong {
  display: block;
  margin-bottom: 5px;
  color: #d7d5e4;
  font: 400 clamp(9px, .65vw, 11px) var(--mono);
  letter-spacing: .11em;
}

.record-chart-note {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  color: #77758d;
  border-top: 1px solid rgba(244, 243, 248, .1);
  font: 300 clamp(6px, .44vw, 8px) var(--mono);
  letter-spacing: .08em;
}

.record-next,
.record-light-next,
.record-dark-next {
  position: absolute;
  z-index: 7;
  right: 2vw;
  bottom: 23px;
  display: flex;
  gap: 12px;
  align-items: center;
  width: max-content;
  padding-bottom: 7px;
  color: #aaa7ff;
  border-bottom: 1px solid var(--record-iris);
  font: 400 clamp(9px, .72vw, 11px) var(--mono);
  letter-spacing: .14em;
}

.record-next span,
.record-light-next span,
.record-dark-next span {
  transition: transform .25s ease;
}

.record-next:hover span,
.record-light-next:hover span,
.record-dark-next:hover span {
  transform: translateY(4px);
}

/* 04.1 / metrics */
.record-metrics,
.record-monthly {
  position: relative;
  color: var(--record-ink);
  background: var(--record-paper);
}

.record-metrics {
  min-height: 100vh;
  padding: 72px 2vw 118px;
}

.record-light-meta {
  color: #5f5e69;
  border-top: 1px solid var(--record-ink);
}

.record-metrics-intro {
  display: grid;
  grid-template-columns: 1.2fr .52fr;
  gap: 8vw;
  align-items: end;
  padding: clamp(70px, 9vw, 135px) 0 clamp(68px, 7vw, 108px);
}

.record-metrics-intro h2,
.record-monthly-head h2 {
  margin: 0;
  font-size: clamp(4.5rem, 8.2vw, 9.2rem);
  font-weight: 300;
  line-height: .76;
  letter-spacing: -.078em;
}

.record-metrics-copy {
  max-width: 430px;
}

.record-metrics-copy p {
  margin: 0;
  color: #4d4c58;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.55;
}

.record-metrics-copy p + p {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(9, 9, 18, .23);
}

.record-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--record-ink);
  border-left: 1px solid var(--record-ink);
}

.record-ledger article {
  position: relative;
  min-height: clamp(190px, 17vw, 260px);
  padding: 18px;
  border-right: 1px solid var(--record-ink);
  border-bottom: 1px solid var(--record-ink);
}

.record-ledger article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background: var(--record-indigo);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.record-ledger article:hover::after {
  transform: scaleY(1);
}

.record-ledger span,
.record-ledger strong,
.record-ledger small {
  position: relative;
  z-index: 2;
  display: block;
  transition: color .35s ease;
}

.record-ledger span,
.record-ledger small {
  font: 300 clamp(7px, .52vw, 9px) var(--mono);
  letter-spacing: .08em;
}

.record-ledger span {
  color: #4c4b57;
}

.record-ledger strong {
  margin-top: clamp(65px, 7vw, 110px);
  font-size: clamp(2.05rem, 3vw, 3.6rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.06em;
}

.record-ledger small {
  margin-top: 12px;
  color: #777580;
}

.record-ledger article:hover span,
.record-ledger article:hover strong,
.record-ledger article:hover small {
  color: var(--record-paper);
}

.record-light-next {
  color: var(--record-indigo);
  border-color: var(--record-indigo);
}

/* 04.2 / monthly */
.record-monthly {
  min-height: 100svh;
  scroll-margin-top: 0;
  padding: 54px 2vw 80px;
  background: var(--record-paper-alt);
}

.record-monthly-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5vw;
  align-items: end;
  padding: clamp(44px, 5vw, 68px) 0 clamp(36px, 3.5vw, 50px);
}

.record-monthly-head h2 {
  font-size: clamp(3.6rem, 6.5vw, 7.2rem);
  line-height: .82;
  letter-spacing: -.065em;
}

.monthly-key {
  display: flex;
  gap: 22px;
  padding-bottom: 7px;
  color: #54535e;
  font: 300 clamp(7px, .5vw, 9px) var(--mono);
  letter-spacing: .08em;
}

.monthly-key span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.monthly-key i {
  width: 9px;
  height: 9px;
  border: 1px solid var(--record-indigo);
}

.monthly-key .key-negative {
  background: rgba(137, 133, 255, .17);
}

.monthly-key .key-flat {
  background: rgba(9, 9, 18, .035);
}

.monthly-key .key-positive {
  background: var(--record-indigo);
}

.monthly-table-wrap {
  overflow-x: auto;
  scrollbar-color: var(--record-indigo) transparent;
}

.monthly-scroll-cue {
  display: none;
}

.monthly-scroll-cue-fr {
  display: none;
}

.monthly-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--record-ink);
  border-left: 1px solid var(--record-ink);
}

.monthly-table th,
.monthly-table td {
  height: 60px;
  padding: 7px;
  text-align: center;
  border-right: 1px solid var(--record-ink);
  border-bottom: 1px solid var(--record-ink);
  font: 300 clamp(8px, .63vw, 11px) var(--mono);
  letter-spacing: .04em;
}

.monthly-table thead th {
  height: 40px;
  color: #565560;
  font-size: clamp(6px, .47vw, 8px);
}

.monthly-table tbody th {
  color: var(--record-ink);
  background: rgba(9, 9, 18, .025);
  font-weight: 500;
}

.monthly-table td {
  opacity: 0;
  transform: scale(.92);
}

.monthly-table-wrap.is-visible td {
  animation: monthlyCell .38s cubic-bezier(.2, .65, .2, 1) forwards;
}

.monthly-table-wrap.is-visible tr:nth-child(1) td:nth-child(n) { animation-delay: calc(var(--cell, 0) * 30ms); }
.monthly-table-wrap.is-visible tr:nth-child(2) td { animation-delay: .32s; }

.monthly-table td.is-positive {
  color: var(--record-paper);
  background: var(--record-indigo);
}

.monthly-table td.is-negative {
  color: var(--record-indigo);
  background:
    repeating-linear-gradient(135deg, rgba(24, 22, 80, .08) 0 1px, transparent 1px 7px),
    rgba(137, 133, 255, .1);
}

.monthly-table td.is-empty {
  color: #94929c;
  background: rgba(9, 9, 18, .025);
}

.monthly-table td.is-total {
  color: var(--record-ink);
  background: rgba(9, 9, 18, .025);
  font-weight: 500;
}

.monthly-table-wrap > p {
  margin: 12px 0 0;
  color: #65636f;
  font: 300 clamp(11px, .85vw, 14px) var(--mono);
  line-height: 1.55;
  letter-spacing: .09em;
}

.monthly-table-wrap > p strong {
  color: var(--record-ink);
  font-weight: 500;
}

.monthly-table-wrap > .monthly-risk-warning {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 2px solid var(--record-indigo);
  color: #292733;
  background: rgba(24, 22, 80, .045);
  font: 400 clamp(12px, .9vw, 15px) var(--sans);
  line-height: 1.48;
  letter-spacing: 0;
}

.monthly-risk-warning strong {
  margin-right: 10px;
  font: 500 clamp(9px, .68vw, 11px) var(--mono);
  letter-spacing: .1em;
}

@media (min-width: 821px) and (max-height: 850px) {
  .record-monthly {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .record-monthly-head {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .record-monthly-head h2 {
    font-size: clamp(3.6rem, 5.8vw, 6.6rem);
    line-height: .8;
  }

  .monthly-table th,
  .monthly-table td {
    height: 54px;
    padding: 5px;
  }

  .monthly-table thead th {
    height: 36px;
  }

  .monthly-table-wrap > .monthly-risk-warning {
    margin-top: 12px;
    padding: 8px 10px;
    font-size: clamp(11px, .78vw, 13px);
    line-height: 1.35;
  }

  .monthly-table-wrap > p:not(.monthly-risk-warning) {
    margin-top: 8px;
    font-size: clamp(11px, .88vw, 13px);
    line-height: 1.45;
    letter-spacing: .055em;
  }

  .record-monthly .record-light-next {
    bottom: 22px;
  }
}

@media (min-width: 821px) and (min-height: 700px) and (max-height: 850px) {
  .record-monthly {
    padding-top: 55px;
  }

  .record-monthly-head {
    padding-top: 50px;
  }
}

.monthly-observations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(28px, 3vw, 42px);
  border-top: 1px solid var(--record-ink);
  border-left: 1px solid var(--record-ink);
}

.monthly-observations article {
  min-height: 120px;
  padding: 14px;
  border-right: 1px solid var(--record-ink);
  border-bottom: 1px solid var(--record-ink);
}

.monthly-observations span,
.monthly-observations strong,
.monthly-observations small {
  display: block;
}

.monthly-observations span,
.monthly-observations small {
  color: #605f6a;
  font: 300 clamp(7px, .52vw, 9px) var(--mono);
  letter-spacing: .08em;
}

.monthly-observations strong {
  margin: 30px 0 6px;
  font-size: clamp(1.6rem, 2.05vw, 2.45rem);
  font-weight: 200;
  letter-spacing: -.05em;
}

/* 05 / risk */
.record-risk {
  position: relative;
  min-height: 100vh;
  padding: 72px 2vw 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 45%, rgba(111, 105, 243, .11), transparent 34%),
    linear-gradient(180deg, #05050d, #0d0c32 72%, #121044);
}

.record-risk-meta {
  color: #85839d;
  border-top: 1px solid rgba(244, 243, 248, .33);
}

.record-risk-layout {
  display: grid;
  grid-template-columns: minmax(380px, .76fr) minmax(540px, 1.24fr);
  gap: clamp(50px, 6vw, 105px);
  align-items: center;
  padding: clamp(70px, 9vw, 130px) 0 70px;
}

.record-risk-copy h2 {
  margin: 30px 0 28px;
  font-size: clamp(4.5rem, 7.7vw, 8.5rem);
  font-weight: 200;
  line-height: .75;
  letter-spacing: -.08em;
}

.record-risk-copy p {
  max-width: 390px;
  margin: 0;
  color: #aaa8bb;
  font-size: clamp(13px, .95vw, 16px);
  line-height: 1.55;
}

.drawdown-shell {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 243, 248, .15);
  background: rgba(3, 3, 10, .5);
}

.drawdown-shell figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  color: #85839b;
  border-bottom: 1px solid rgba(244, 243, 248, .12);
  font: 300 clamp(7px, .5vw, 9px) var(--mono);
  letter-spacing: .1em;
}

.drawdown-stage {
  position: relative;
  height: clamp(330px, 42vw, 510px);
  overflow: hidden;
}

.drawdown-area {
  fill: url(#drawdownFill);
  opacity: 0;
  transition: opacity 1s .7s ease;
}

.drawdown-line {
  fill: none;
  stroke: #aaa7ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 5px rgba(137, 133, 255, .38));
}

.drawdown-shell.is-visible .drawdown-line {
  animation: recordLineDraw 1.7s .22s cubic-bezier(.2, .68, .2, 1) forwards;
}

.drawdown-shell.is-visible .drawdown-area {
  opacity: 1;
}

.drawdown-zero {
  stroke: rgba(244, 243, 248, .42);
  stroke-width: 1;
}

.drawdown-marker {
  opacity: 0;
  transition: opacity .45s ease;
}

.drawdown-shell.is-visible .drawdown-marker {
  opacity: 1;
  transition-delay: 1.25s;
}

.drawdown-marker line {
  stroke: rgba(244, 243, 248, .25);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.drawdown-marker circle {
  fill: var(--record-paper);
  stroke: var(--record-iris);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.drawdown-marker text {
  fill: #9997aa;
  font: 300 12px var(--mono);
  text-anchor: middle;
  letter-spacing: .07em;
}

.drawdown-y {
  top: 44px;
  bottom: 98px;
  justify-content: space-between;
}

.risk-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(244, 243, 248, .21);
  border-left: 1px solid rgba(244, 243, 248, .21);
}

.risk-ledger article {
  min-height: 150px;
  padding: 16px;
  border-right: 1px solid rgba(244, 243, 248, .21);
  border-bottom: 1px solid rgba(244, 243, 248, .21);
}

.risk-ledger span,
.risk-ledger strong,
.risk-ledger small {
  display: block;
}

.risk-ledger span,
.risk-ledger small {
  color: #87859d;
  font: 300 clamp(7px, .52vw, 9px) var(--mono);
  letter-spacing: .08em;
}

.risk-ledger strong {
  margin: 42px 0 8px;
  font-size: clamp(1.7rem, 2.4vw, 2.9rem);
  font-weight: 200;
  letter-spacing: -.05em;
}

.record-dark-next {
  color: #aaa7ff;
}

/* 06 / conclusion */
.record-conclusion {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 72px 2vw 30px;
  background: linear-gradient(180deg, #030309 0%, #080720 52%, #17154b 100%);
}

.conclusion-glow {
  position: absolute;
  top: 52%;
  left: 72%;
  width: min(78vw, 1180px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(114, 108, 255, .17), rgba(68, 62, 177, .04) 43%, transparent 67%);
  transform: translate(-50%, -50%);
}

.conclusion-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .55fr;
  gap: 6vw;
  align-items: end;
  margin: auto 0;
}

.conclusion-content h2 {
  margin: 0;
  font-size: clamp(4.576rem, 8.8vw, 9.68rem);
  font-weight: 200;
  line-height: .86;
  letter-spacing: -.045em;
  word-spacing: .14em;
}

.is-french .conclusion-content h2 {
  position: relative;
  top: -46px;
  font-size: clamp(4.2rem, 8vw, 8.8rem);
}

.is-french .conclusion-copy {
  left: -210px;
  justify-self: start;
  text-align: left;
}

.conclusion-copy {
  position: relative;
  top: 0;
  left: -170px;
  align-self: center;
  justify-self: center;
  padding-bottom: 10px;
}

.conclusion-copy p {
  max-width: 480px;
  margin: 0 0 40px;
  color: #b0aec0;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.5;
  text-align: left;
  text-wrap: pretty;
}

.conclusion-copy > a {
  margin-inline: 0;
}

.conclusion-copy > a + a {
  margin-top: 18px;
}

.conclusion-copy a,
.conclusion-foot a {
  display: flex;
  gap: 10px;
  width: max-content;
  padding-bottom: 8px;
  color: #aaa7ff;
  border-bottom: 1px solid var(--record-iris);
  font: 400 clamp(8px, .62vw, 10px) var(--mono);
  letter-spacing: .12em;
}

.conclusion-copy a span {
  transition: transform .25s ease;
}

.conclusion-copy a:hover span {
  transform: translate(3px, -3px);
}

.conclusion-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px) 1fr;
  gap: 25px;
  align-items: end;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 243, 248, .2);
}

.conclusion-foot p {
  margin: 0;
  text-align: center;
  color: #85839a;
  font: 300 clamp(7px, .51vw, 9px)/1.55 var(--mono);
  letter-spacing: .06em;
}

.conclusion-foot > a:last-child {
  justify-self: end;
}

.record-footer {
  height: 72px;
}

/* arrival and shared reveal motion */
.record-header,
.record-section-meta,
.record-hero-copy > *,
.record-chart-shell,
.record-next {
  opacity: 0;
}

body.record-is-ready .record-header {
  animation: recordFade .7s .05s ease forwards;
}

body.record-is-ready .record-section-meta {
  animation: recordFade .7s .22s ease forwards;
}

body.record-is-ready .record-hero-copy > .record-kicker {
  animation: recordRise .7s .28s ease forwards;
}

body.record-is-ready .record-hero-copy > h1 {
  animation: recordRise .95s .36s cubic-bezier(.18, .72, .2, 1) forwards;
}

body.record-is-ready .record-hero-copy > p {
  animation: recordRise .75s .58s ease forwards;
}

body.record-is-ready .record-summary {
  animation: recordRise .75s .72s ease forwards;
}

body.record-is-ready .record-diversification {
  animation: recordRise .75s .84s ease forwards;
}

body.record-is-ready .record-chart-shell {
  animation: recordChartIn 1s .38s cubic-bezier(.18, .72, .2, 1) forwards;
}

body.record-is-ready .record-next {
  animation: recordFade .7s 1.05s ease forwards;
}

:is(.record-page,.m-record-embedded) .reveal {
  transform: translateY(24px);
  transition: opacity .78s ease, transform .82s cubic-bezier(.2, .65, .2, 1);
}

:is(.record-page,.m-record-embedded) .reveal.is-visible {
  transform: none;
}

.record-ledger article:nth-child(2),
.monthly-observations article:nth-child(2),
.risk-ledger article:nth-child(2) { transition-delay: .06s; }
.record-ledger article:nth-child(3),
.monthly-observations article:nth-child(3),
.risk-ledger article:nth-child(3) { transition-delay: .12s; }
.record-ledger article:nth-child(4) { transition-delay: .18s; }
.record-ledger article:nth-child(5) { transition-delay: .04s; }
.record-ledger article:nth-child(6) { transition-delay: .10s; }
.record-ledger article:nth-child(7) { transition-delay: .16s; }
.record-ledger article:nth-child(8) { transition-delay: .22s; }

@keyframes recordFade {
  to { opacity: 1; }
}

@keyframes recordRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes recordChartIn {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes recordLineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes recordScan {
  from { left: -30%; }
  to { left: 125%; }
}

@keyframes monthlyCell {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .record-hero {
    height: auto;
    min-height: calc(100svh - 80px);
    padding-bottom: 90px;
  }

  .record-hero-layout {
    grid-template-columns: .72fr 1.28fr;
    gap: 35px;
    min-height: calc(100svh - 194px);
  }

  .record-hero-copy h1 {
    font-size: clamp(4.5rem, 8.7vw, 7rem);
  }

  .record-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .record-summary div {
    display: block;
  }

  .record-summary span {
    min-height: auto;
  }

  .record-summary strong {
    margin-top: 12px;
  }

  .record-chart-stage {
    height: 390px;
  }

  .record-ledger {
    grid-template-columns: repeat(2, 1fr);
  }

  .record-risk-layout {
    grid-template-columns: minmax(365px, .8fr) minmax(530px, 1.2fr);
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .record-page .record-header {
    padding: 0 18px;
  }

  .record-hero {
    height: auto;
    min-height: 0;
    padding: 50px 18px 95px;
  }

  .record-section-meta {
    right: 18px;
    left: 18px;
  }

  .record-hero-layout,
  .record-risk-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .record-hero-copy {
    padding: 55px 0 20px;
  }

  .record-hero-copy h1 {
    font-size: clamp(5rem, 16vw, 8rem);
  }

  .record-hero-copy > p {
    max-width: 520px;
  }

  .record-summary {
    grid-template-columns: repeat(3, 1fr);
    max-width: 650px;
  }

  .record-summary div {
    display: block;
  }

  .record-summary strong {
    margin-top: 17px;
  }

  .record-chart-stage {
    height: min(55vw, 430px);
    min-height: 320px;
  }

  .record-metrics,
  .record-monthly,
  .record-risk,
  .record-conclusion {
    padding-right: 18px;
    padding-left: 18px;
  }

  .record-metrics-intro {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .record-metrics-intro h2,
  .record-monthly-head h2 {
    font-size: clamp(4.5rem, 14vw, 7.2rem);
  }

  .record-metrics-copy {
    max-width: 540px;
  }

  .record-monthly-head {
    grid-template-columns: 1fr;
  }

  .monthly-key {
    justify-self: start;
  }

  .record-monthly-head h2 {
    font-size: clamp(3.5rem, 10.5vw, 6.2rem);
  }

  .record-risk-layout {
    padding-top: 80px;
  }

  .record-risk-copy h2 {
    font-size: clamp(4.5rem, 14vw, 7.4rem);
  }

  .drawdown-stage {
    height: min(56vw, 450px);
    min-height: 330px;
  }

  .conclusion-content {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .conclusion-content h2 {
    font-size: clamp(4.4rem, 13.2vw, 7.04rem);
  }

  .conclusion-copy {
    top: 0;
    left: 0;
    max-width: 520px;
  }
}

@media (max-width: 650px) {
  .record-benchmark-explainer {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 14px;
  }

  .record-page .record-header {
    height: 72px;
    padding: 0 14px;
  }

  .record-page .m-wordmark span {
    font-size: 22px;
  }

  .record-page .record-header nav {
    gap: 12px;
    font-size: 7px;
  }

  .record-page .record-header nav a:nth-child(2) {
    display: none;
  }

  .record-hero {
    padding: 46px 14px 90px;
  }

  .record-section-meta {
    right: 14px;
    left: 14px;
  }

  .record-section-meta span:last-child,
  .record-light-meta span:last-child,
  .record-risk-meta span:last-child {
    display: none;
  }

  .record-hero-copy {
    padding-top: 45px;
  }

  .record-hero-copy h1 {
    margin: 22px 0;
    font-size: 20vw;
  }

  .record-hero-copy h1.record-performance-title {
    width: 100%;
    font-size: min(14.4vw, 4rem);
    letter-spacing: -.08em;
  }

  .record-summary {
    grid-template-columns: 1fr;
  }

  .record-summary div {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .record-summary strong {
    margin-top: 0;
  }

  .record-chart-shell figcaption,
  .drawdown-shell figcaption {
    height: 42px;
  }

  .record-range {
    justify-content: space-between;
    padding: 8px;
  }

  .record-range button {
    padding: 0 7px;
    font-size: 6px;
  }

  .record-chart-stage,
  .drawdown-stage {
    height: 330px;
    min-height: 0;
  }

  .drawdown-y,
  .record-chart-note span:last-child {
    display: none;
  }

  .record-chart-y {
    left: 4px;
    font-size: 6px;
  }

  .record-chart-axis span:nth-child(even),
  .drawdown-axis span:nth-child(even) {
    display: none;
  }

  .record-next,
  .record-light-next,
  .record-dark-next {
    right: 14px;
  }

  .record-metrics,
  .record-monthly,
  .record-risk {
    padding: 58px 14px 105px;
  }

  .record-monthly {
    padding: 42px 14px 70px;
  }

  .record-metrics-intro,
  .record-monthly-head {
    padding: 60px 0;
  }

  .record-monthly-head {
    padding: 40px 0 34px;
  }

  .record-metrics-intro h2,
  .record-monthly-head h2,
  .record-risk-copy h2 {
    font-size: 16vw;
  }

  .record-monthly-head h2 {
    font-size: clamp(3.1rem, 13.5vw, 5rem);
  }

  .record-ledger,
  .monthly-observations,
  .risk-ledger {
    grid-template-columns: 1fr;
  }

  .record-ledger article {
    min-height: 155px;
  }

  .record-ledger strong {
    margin-top: 46px;
    font-size: 2.2rem;
  }

  .monthly-key {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .monthly-table-wrap {
    position: relative;
    overscroll-behavior-inline: contain;
  }

  .monthly-scroll-cue {
    position: sticky;
    left: 0;
    display: flex;
    width: calc(100vw - 28px);
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 28px;
    padding-bottom: 8px;
    color: var(--record-indigo);
    font: 400 8px var(--mono);
    letter-spacing: .12em;
  }

  .monthly-scroll-cue b {
    font-size: 14px;
    font-weight: 300;
    animation: monthlySwipeCue 1.7s ease-in-out infinite;
  }

  .is-french .monthly-scroll-cue-en {
    display: none;
  }

  .is-french .monthly-scroll-cue-fr {
    display: inline;
  }

  .monthly-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--record-paper-alt);
    box-shadow: 1px 0 0 var(--record-ink);
  }

  .monthly-table tbody th:first-child {
    background: #e7e6ed;
  }

  .monthly-observations article,
  .risk-ledger article {
    min-height: 125px;
  }

  .monthly-observations strong,
  .risk-ledger strong {
    margin-top: 32px;
  }

  .record-risk-layout {
    gap: 55px;
    padding: 65px 0 55px;
  }

  .drawdown-marker text {
    font-size: 10px;
  }

  .record-conclusion {
    min-height: 760px;
    padding: 58px 14px 24px;
  }

  .conclusion-content {
    gap: 50px;
  }

  .conclusion-content h2 {
    font-size: 14.96vw;
  }

  .is-french .conclusion-copy {
    left: 0;
  }

  .conclusion-foot {
    grid-template-columns: 1fr auto;
  }

  .conclusion-foot p {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: left;
  }

  .conclusion-foot > a:first-child {
    grid-column: 1;
  }

  .conclusion-foot > a:last-child {
    grid-column: 2;
  }

  .record-footer {
    padding: 15px 14px;
  }
}

@keyframes monthlySwipeCue {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media (min-width: 821px) {
  .m-record-embedded .record-hero {
    height: 100vh;
    min-height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .record-header,
  .record-section-meta,
  .record-hero-copy > *,
  .record-chart-shell,
  .record-next,
  .monthly-table td {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .record-chart-stage::after { display: none; }

  .record-line,
  .drawdown-line {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .record-area,
  .drawdown-area,
  .drawdown-marker {
    opacity: 1 !important;
    transition: none !important;
  }
}
