.oh-page {
  --oh-bg: #101113;
  --oh-panel: #1a1c20;
  --oh-border: rgba(255, 255, 255, .1);
  --oh-muted: #b6b7bd;
  --oh-red: #f0625c;
  --oh-teal: #80c9be;
  --oh-gold: #f2b84b;
  --oh-ease: cubic-bezier(.22, .8, .24, 1);
  background: var(--oh-bg);
  color: #f4f2ee;
  font-family: Inter, system-ui, sans-serif;
  overflow: clip;
}
.oh-page * { box-sizing: border-box; }
.oh-page h1, .oh-page h2, .oh-page h3, .oh-page p, .oh-page figure, .oh-page ul { margin: 0; }
.oh-page a { color: inherit; }
.oh-page :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Progress + chapter dots */
.oh-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.oh-progress span { display: block; width: 100%; height: 100%; background: var(--oh-red); transform: scaleX(0); transform-origin: 0 50%; }
.oh-dots { position: fixed; z-index: 50; top: 50%; right: 1.1rem; display: flex; flex-direction: column; gap: .9rem; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .4s; }
.oh-page.is-scrolled .oh-dots { opacity: 1; pointer-events: auto; }
.oh-dots a { position: relative; display: block; width: .65rem; height: .65rem; border: 2px solid rgba(255, 255, 255, .45); border-radius: 50%; transition: background .25s, transform .25s, border-color .25s; }
.oh-dots a::after { content: attr(data-label); position: absolute; right: 1.5rem; top: 50%; padding: .25rem .6rem; background: #000; border-radius: 4px; color: #fff; font-size: .72rem; white-space: nowrap; opacity: 0; transform: translate(6px, -50%); transition: opacity .2s, transform .2s; pointer-events: none; }
.oh-dots a:hover::after, .oh-dots a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.oh-dots a.is-active { background: var(--oh-red); border-color: var(--oh-red); transform: scale(1.35); }
.oh-page .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.oh-hero { position: relative; overflow: hidden; background: #101113; }
.oh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 82% 24%, rgba(163, 40, 35, .22), transparent 45%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  pointer-events: none;
  animation: oh-grid 40s linear infinite;
}
@keyframes oh-grid { to { background-position: 0 0, 64px 64px, 64px 64px; } }
.oh-hero__bars { position: absolute; right: clamp(1rem, 6vw, 6rem); bottom: 0; display: flex; align-items: flex-end; gap: clamp(.4rem, 1vw, .9rem); width: min(46vw, 560px); height: 70%; opacity: .55; pointer-events: none; }
.oh-hero__bars i { flex: 1; height: var(--h); background: linear-gradient(to top, rgba(240, 98, 92, .6), rgba(240, 98, 92, 0)); border-top: 2px solid var(--oh-red); transform-origin: 50% 100%; animation: oh-rise 1.4s var(--oh-ease) both, oh-breathe 6s ease-in-out infinite; animation-delay: calc(var(--d) * 90ms), calc(1.4s + var(--d) * 300ms); }
@keyframes oh-rise { from { transform: scaleY(0); opacity: 0; } }
@keyframes oh-breathe { 50% { transform: scaleY(.88); } }
.oh-hero__inner, .oh-highlights, .oh-section, .oh-footer { max-width: 1440px; margin: 0 auto; padding-left: clamp(1.25rem, 5vw, 5rem); padding-right: clamp(1.25rem, 5vw, 5rem); }
.oh-hero__inner { position: relative; padding-top: clamp(4.5rem, 9vw, 8rem); }
.oh-kicker { color: var(--oh-red); font-size: .72rem; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.oh-hero h1 { max-width: 16ch; margin-top: 1.4rem; color: #fff; font-family: Georgia, serif; font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.oh-hero h1 span { display: block; margin-top: .6rem; color: var(--oh-muted); font-size: .3em; font-family: Inter, system-ui, sans-serif; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.oh-keys { max-width: 1440px; margin: 0 auto; padding: 3rem clamp(1.25rem, 5vw, 5rem) 0; }
.oh-keys h2 { color: var(--oh-red); font-family: Inter, system-ui, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.oh-keys ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2.5rem; margin-top: 1rem; padding: 0; list-style: none; }
.oh-keys li { padding-left: 1rem; border-left: 2px solid var(--oh-red); color: #dedee0; font-size: .92rem; line-height: 1.6; }
@media (max-width: 700px) { .oh-keys ul { grid-template-columns: 1fr; } }
.oh-hero h1 em { color: var(--oh-red); font-weight: 400; }
.oh-hero__inner > * { animation: oh-in .9s var(--oh-ease) both; }
.oh-hero__inner > :nth-child(2) { animation-delay: .1s; }
.oh-hero__inner > :nth-child(3) { animation-delay: .2s; }
.oh-hero__inner > :nth-child(4) { animation-delay: .3s; }
.oh-hero__inner > :nth-child(5) { animation-delay: .4s; }
@keyframes oh-in { from { opacity: 0; transform: translateY(24px); } }
.oh-hero__intro { max-width: 45ch; padding-top: 1.5rem; color: #dedee0; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; }
.oh-hero__meta { padding-top: 1.6rem; color: var(--oh-muted); font-size: .8rem; line-height: 1.7; }
.oh-hero__meta span { padding: 0 .6rem; color: var(--oh-red); }
.oh-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 3rem; padding: 1.5rem 0 1rem; border-top: 1px solid var(--oh-border); }
.oh-nav a { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.25rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .25s, border-color .25s, transform .25s var(--oh-ease), box-shadow .25s; }
.oh-nav a::after { content: "↓"; color: var(--oh-red); font-size: 1rem; transition: transform .25s var(--oh-ease), color .25s; }
.oh-nav a:hover, .oh-nav a:focus-visible { background: var(--oh-red); border-color: var(--oh-red); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(240, 98, 92, .35); }
.oh-nav a:hover::after, .oh-nav a:focus-visible::after { color: #fff; transform: translateY(3px); }
.oh-nav a.is-active { background: #fff; border-color: #fff; color: #101113; }
.oh-nav a.is-active::after { color: #101113; }

/* Highlights + stats */
.oh-highlights { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--oh-border); }
.oh-highlights div { display: flex; flex-direction: column; gap: .7rem; min-width: 0; padding: 2rem 1.5rem 2rem 0; }
.oh-highlights div + div { padding-left: 1.5rem; border-left: 1px solid var(--oh-border); }
.oh-highlights strong, .oh-stat strong { color: var(--oh-red); font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oh-highlights span, .oh-stat span { color: var(--oh-muted); font-size: .8rem; line-height: 1.5; }
.oh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1rem; }
.oh-stat { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.5rem; background: var(--oh-panel); border: 1px solid var(--oh-border); border-radius: 6px; transition: transform .3s var(--oh-ease), border-color .3s; }
.oh-stat:hover { transform: translateY(-3px); border-color: rgba(240, 98, 92, .5); }
.oh-stat strong { color: #fff; }
.oh-stat--accent strong { color: var(--oh-red); }

/* Sections */
.oh-section { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--oh-border); scroll-margin-top: 4rem; }
.oh-section__heading { max-width: 760px; margin-bottom: 2rem; }
.oh-section h2, .oh-footer h2 { margin: .8rem 0 1rem; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 3.8vw, 3.5rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.oh-section__heading > p:last-child, .oh-footer > p:last-child { color: var(--oh-muted); font-size: 1rem; line-height: 1.75; }
.oh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; margin-top: 1rem; }
.oh-section > .oh-card { margin-top: 1rem; }
.oh-section > .oh-card:first-of-type, .oh-stats + .oh-card { margin-top: 0; }
.oh-card { min-width: 0; padding: clamp(1.25rem, 2.4vw, 2rem); background: var(--oh-panel); border: 1px solid var(--oh-border); border-radius: 6px; transition: border-color .3s, transform .4s var(--oh-ease); }
.oh-card:hover { border-color: rgba(255, 255, 255, .22); }
.oh-card h3 { color: #fff; font-family: Georgia, serif; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 400; line-height: 1.25; }
.oh-card__subtitle { padding-top: .5rem; color: var(--oh-muted); font-size: .8rem; line-height: 1.5; }

/* Reveal */
.is-js .oh-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--oh-ease), transform .8s var(--oh-ease); transition-delay: calc(var(--d, 0) * 110ms); }
.is-js .oh-reveal.is-in { opacity: 1; transform: none; }

/* Plots */
.oh-plot { position: relative; margin-top: 1rem; min-height: 8rem; }
.oh-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.oh-svg:focus-visible { outline-offset: 2px; }
.oh-gl { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.oh-svg .oh-gl--zero { stroke: rgba(255, 255, 255, .45); }
.oh-axis { fill: #c1c2c7; font: 12px Inter, system-ui, sans-serif; }
.oh-plot.is-narrow .oh-axis { font-size: 14px; }
.oh-vlabel { fill: #fff; font: 600 12px Inter, system-ui, sans-serif; opacity: 0; transition: opacity .5s var(--oh-ease); transition-delay: var(--d, 0ms); }
.oh-plot.is-narrow .oh-vlabel { font-size: 13px; }
.oh-plot.is-in .oh-vlabel { opacity: 1; }
.oh-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.oh-plot.is-in .oh-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--oh-ease); transition-delay: var(--d, 0ms); }
.oh-area { opacity: 0; }
.oh-plot.is-in .oh-area { opacity: 1; transition: opacity 1.2s ease .8s; }
.oh-b { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.oh-b.is-neg { transform-origin: 50% 0; }
.oh-b.is-mute { opacity: .5; }
.oh-plot.is-in .oh-b { transform: scaleY(1); transition: transform .9s var(--oh-ease), opacity .3s; transition-delay: var(--d, 0ms); }
.oh-end { opacity: 0; }
.oh-plot.is-in .oh-end { opacity: 1; transition: opacity .4s 1.7s; }
.oh-end__ring { transform-box: fill-box; transform-origin: center; animation: oh-pulse 2.4s ease-out 2s infinite; }
@keyframes oh-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.6); opacity: 0; } }
.oh-hover { opacity: 0; pointer-events: none; transition: opacity .15s; }
.oh-hover.is-on { opacity: 1; }
.oh-cross { stroke: rgba(255, 255, 255, .5); stroke-dasharray: 3 4; }
.oh-band { fill: rgba(255, 255, 255, .08); }
.oh-hdot { stroke: #101113; stroke-width: 2; }
.oh-hit { cursor: crosshair; }
.oh-mark { opacity: 0; transition: opacity .6s 1.2s; }
.oh-plot.is-in .oh-mark { opacity: 1; }
.oh-mark__line { stroke: rgba(242, 184, 75, .35); stroke-dasharray: 2 4; }
.oh-mark__dot { fill: var(--oh-gold); }
.oh-tip { position: absolute; z-index: 5; top: 0; min-width: 9rem; max-width: 17rem; padding: .6rem .8rem; background: rgba(8, 9, 10, .95); border: 1px solid var(--oh-border); border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); color: #fff; font-size: .75rem; line-height: 1.45; opacity: 0; transform: translate(-50%, -6px); transition: opacity .15s, left .12s; pointer-events: none; }
.oh-tip.is-on { opacity: 1; }
.oh-tip b { display: block; margin-bottom: .25rem; font-size: .8rem; }
.oh-tip__row { display: flex; align-items: center; gap: .5rem; }
.oh-tip__row i, .oh-legend i, .oh-donut__list i { flex: none; width: .55rem; height: .55rem; border-radius: 50%; }
.oh-tip__row em { flex: 1; color: var(--oh-muted); font-style: normal; }
.oh-tip__row strong { font-variant-numeric: tabular-nums; }
.oh-tip small { display: block; margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--oh-border); color: var(--oh-gold); font-size: .72rem; }

/* Legend */
.oh-legend { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.oh-legend__item { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .7rem; background: transparent; border: 1px solid var(--oh-border); border-radius: 2rem; color: #e0e0e1; font: inherit; font-size: .75rem; cursor: pointer; transition: background .2s, opacity .2s; }
.oh-legend__item:hover { background: rgba(255, 255, 255, .08); }
.oh-legend__item.is-off { opacity: .45; text-decoration: line-through; }

/* Horizontal bars */
.oh-hbars { display: grid; gap: .95rem; margin: 1.25rem 0 .25rem; }
.oh-hb { display: grid; grid-template-columns: minmax(5.5rem, 7.5rem) minmax(0, 1fr) 4.5rem; gap: .7rem; align-items: center; font-size: .78rem; }
.oh-hb__label { color: #e0e0e1; overflow-wrap: anywhere; }
.oh-hb__track { height: .75rem; overflow: hidden; background: #2d2f34; border-radius: 1rem; }
.oh-hb__fill { display: block; width: var(--w); height: 100%; background: var(--oh-teal); border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; }
.oh-hb.is-hl .oh-hb__fill { background: var(--oh-red); }
.oh-plot.is-in .oh-hb__fill { transform: scaleX(1); transition: transform 1.2s var(--oh-ease); transition-delay: var(--d, 0ms); }
.oh-hb__value { color: #fff; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oh-hbars__unit { color: var(--oh-muted); font-size: .72rem; }

/* Donut */
.oh-donut { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 1.5rem; align-items: center; margin-top: 1rem; }
.oh-donut__svg { width: 100%; height: auto; overflow: visible; }
.oh-donut__track { stroke: #2d2f34; }
.oh-seg { stroke-dasharray: 0 100; cursor: pointer; transition: opacity .25s; outline-offset: 2px; }
.oh-plot.is-in .oh-seg { stroke-dasharray: var(--len) 100; transition: stroke-dasharray 1.4s var(--oh-ease), opacity .25s; transition-delay: var(--d, 0ms), 0ms; }
.oh-seg.is-dim { opacity: .3; }
.oh-donut__value { fill: #fff; font: 400 28px Georgia, serif; }
.oh-donut__caption { fill: var(--oh-muted); font: 11px Inter, system-ui, sans-serif; }
.oh-donut__list { display: grid; gap: .5rem; padding: 0; list-style: none; }
.oh-donut__list li { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid transparent; border-radius: 6px; font-size: .82rem; cursor: pointer; transition: background .2s, border-color .2s; }
.oh-donut__list li.is-on { background: rgba(255, 255, 255, .06); border-color: var(--oh-border); }
.oh-donut__list span { flex: 1; color: #e0e0e1; }
.oh-donut__list strong { white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }

/* Timeline */
.oh-timeline { display: flex; gap: .6rem; overflow-x: auto; margin-top: 1rem; padding: .25rem 0 1rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.oh-timeline__item { position: relative; flex: 0 0 min(15rem, 70vw); display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1rem 1rem 1.1rem; background: var(--oh-panel); border: 1px solid var(--oh-border); border-top: 3px solid var(--oh-gold); border-radius: 6px; color: #e0e0e1; font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; transition: transform .3s var(--oh-ease), background .2s, border-color .2s; }
.oh-timeline__item b { color: var(--oh-gold); font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.oh-timeline__item span { font-size: .75rem; line-height: 1.5; }
.oh-timeline__item:hover, .oh-timeline__item.is-on { transform: translateY(-4px); background: #23262b; border-color: var(--oh-gold); }

/* Source + data table */
.oh-source { margin-top: 1.25rem !important; color: var(--oh-muted); font-size: .75rem; line-height: 1.6; }
.oh-data { margin-top: 1.25rem; border-top: 1px solid var(--oh-border); padding-top: 1rem; }
.oh-data summary { color: #f4f2ee; font-size: .8rem; font-weight: 600; cursor: pointer; }
.oh-data summary:hover { color: var(--oh-red); }
.oh-table-wrap { max-height: 22rem; overflow: auto; margin-top: 1rem; }
.oh-data table { width: 100%; border-collapse: collapse; color: #e4e4e6; font-size: .8rem; text-align: left; }
.oh-data th, .oh-data td { padding: .6rem .5rem; border-bottom: 1px solid var(--oh-border); }
.oh-data thead th { color: #fff; }
.oh-data tbody th { font-weight: 500; }
.oh-data td { text-align: right; font-variant-numeric: tabular-nums; }

.oh-footer { padding-top: 4rem; padding-bottom: 5rem; }
.oh-footer > p:last-child { max-width: 75ch; }

@media (prefers-reduced-motion: no-preference) { html:has(.oh-page) { scroll-behavior: smooth; } }
@media (max-width: 1100px) {
  .oh-dots { display: none; }
}
@media (max-width: 1000px) {
  .oh-hero__bars { opacity: .3; width: 70vw; }
}
@media (max-width: 700px) {
  .oh-highlights { grid-template-columns: repeat(2, 1fr); }
  .oh-highlights div:nth-child(3) { border-left: 0; padding-left: 0; }
  .oh-highlights div:nth-child(n+3) { border-top: 1px solid var(--oh-border); }
  .oh-stats { grid-template-columns: repeat(2, 1fr); }
  .oh-grid { grid-template-columns: 1fr; }
  .oh-hero__inner { padding-top: 4rem; }
  .oh-nav { margin-top: 2.5rem; }
  .oh-donut { grid-template-columns: 1fr; justify-items: center; }
  .oh-donut__list { width: 100%; }
  .oh-donut__svg { max-width: 12rem; }
  .oh-hb { grid-template-columns: 5rem minmax(0, 1fr) 3.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .oh-page *, .oh-page *::before { animation: none !important; transition: none !important; }
  .oh-line { stroke-dashoffset: 0; }
  .oh-b { transform: none; }
  .oh-hb__fill { transform: none; }
  .oh-seg { stroke-dasharray: var(--len) 100; }
  .oh-area, .oh-end, .oh-mark, .oh-vlabel { opacity: 1; }
  .is-js .oh-reveal { opacity: 1; transform: none; }
}

