/* RESULTS (Jackson 29 Oct 2026 10:23; results.js). ONE stylesheet for both sites: each site brands it by setting these
   variables on .results, never by editing this file. A phone gets one swipeable row; a desktop four portrait cards across,
   wrapping when there are more. The space is held before the data arrives, so nothing below it jumps. */
.results {
  --results-bg: #0a0a0a;
  --results-fg: #fff;
  --results-muted: rgba(255, 255, 255, 0.6);
  --results-line: rgba(255, 255, 255, 0.12);
  --results-heading: Georgia, serif;
  --results-number: Georgia, serif;
  --results-sans: system-ui, sans-serif;
  --results-radius: 16px;
  --results-badge-bg: rgba(255, 255, 255, 0.92);
  --results-badge-fg: #0a0a0a;
  --results-pad: 32px;
  background: var(--results-bg);
  color: var(--results-fg);
  padding: 0 var(--results-pad) 120px;
  font-family: var(--results-sans);
}
.results:not(.results-ready) { min-height: 760px; }
.results-inner { max-width: 1100px; margin: 0 auto; }
.results-head { margin-bottom: 40px; }
.results h2 { font-family: var(--results-heading); font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--results-fg); }
.results-asof { margin: 14px 0 0; font-size: 14px; color: var(--results-muted); }
.results-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: -12px 0 28px; border: 1px solid var(--results-line); border-radius: 999px; }
.results-tab { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--results-muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.results-tab[aria-selected="true"] { background: var(--results-fg); color: var(--results-bg); }
.results-tab:focus-visible { outline: 2px solid var(--results-fg); outline-offset: 2px; }
.results-row[hidden] { display: none; }
.results-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.results-card { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.results-play { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--results-radius); overflow: hidden; background: #141414; cursor: pointer; aspect-ratio: 9 / 16; }
.results-play video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.results-wide .results-play video { object-fit: contain; }
.results-play:focus-visible { outline: 2px solid var(--results-fg); outline-offset: 3px; }
.results-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--results-badge-bg); color: var(--results-badge-fg); font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
.results-badge::before { content: ''; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.results-show { margin: 16px 0 8px; font-size: 16px; font-weight: 600; color: var(--results-fg); }
.results-big { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.results-big div { display: flex; flex-direction: column; }
.results-big dd { margin: 0; font-family: var(--results-number); font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; color: var(--results-fg); }
.results-big dt { order: 2; margin-top: 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--results-muted); }
.results-small { margin: 12px 0 0; font-size: 14px; color: var(--results-muted); }
.results-link { margin-top: 10px; align-self: flex-start; font-size: 14px; color: var(--results-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--results-line); }
.results-dialog { position: fixed; inset: 0; margin: auto; width: min(92vw, 420px); height: fit-content; max-height: 92vh; padding: 0; border: 0; border-radius: var(--results-radius); background: #000; color: #fff; overflow: hidden; }
.results-dialog::backdrop { background: rgba(0, 0, 0, 0.82); }
.results-dialog video { display: block; width: 100%; max-height: calc(92vh - 52px); aspect-ratio: 9 / 16; background: #000; }
.results-close { display: block; width: 100%; min-height: 52px; border: 0; background: #111; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.results-close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.results-row.results-many { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 60px) / 4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.results-row.results-many::-webkit-scrollbar { display: none; }
.results-row.results-many > .results-card { scroll-snap-align: start; }
.results-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.results-nav[hidden] { display: none; }
.results-step { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--results-line); background: transparent; color: var(--results-fg); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.results-step:focus-visible { outline: 2px solid var(--results-fg); outline-offset: 2px; }
@media (max-width: 900px) {
  .results { --results-pad: 20px; padding-bottom: 80px; }
  .results:not(.results-ready) { min-height: 680px; }
  .results-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--results-pad) * -1); padding: 0 var(--results-pad); scroll-padding: 0 var(--results-pad); }
  .results-row::-webkit-scrollbar { display: none; }
  .results-card { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
  .results-nav { display: none; }
  .results-row.results-many { display: flex; grid-auto-flow: initial; }
}
