/* The Creator Playgrounds design system (Dusk). Taken from ~/creatorplaygrounds/brand/identity.html; site-only rules live in site.css. */
/* Archivo, variable in weight (100–900) and width (62–125%). SIL Open Font License 1.1. Embedded. */
@font-face {
  font-family: 'Archivo';
  src: url(../fonts/archivo.woff2) format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;
  --t-slow: 640ms;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --wide: 118%;
  --cond: 72%;
}
html[data-mode='dark'] {
  color-scheme: dark;
  --bg: #242838;
  --s1: #2c3146;
  --s2: #333956;
  --s3: #3c4260;
  --line: rgba(239, 234, 230, 0.09);
  --line-2: rgba(239, 234, 230, 0.18);
  --tx: #efeae6;
  --tx-2: #c3c0c6;
  --tx-3: #9a9bac;
  --flare: #e2b4b3;
  --flare-tx: #ebc6c5;
  --on-flare: #242838;
  --sky: #9db7ea;
  --mint: #9fd3bc;
  --amber: #ebc37f;
  --violet: #c3b4ee;
  --cyan: #8fcbd8;
  --data-ink: #242838;
  --bub-ink: #242838;
  --glow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(10, 12, 22, 0.75);
  --lift: 0 0 0 1px var(--line-2), 0 24px 48px -20px rgba(10, 12, 22, 0.85), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
}
html[data-mode='light'] {
  color-scheme: light;
  --bg: #f3eeea;
  --s1: #fffdfb;
  --s2: #faf6f2;
  --s3: #e9e2dc;
  --line: rgba(36, 40, 56, 0.09);
  --line-2: rgba(36, 40, 56, 0.18);
  --tx: #242838;
  --tx-2: #555a70;
  --tx-3: #7f8296;
  --flare: #b3626a;
  --flare-tx: #964751;
  --on-flare: #ffffff;
  --sky: #4a6fb8;
  --mint: #3d8a6b;
  --amber: #a97a1c;
  --violet: #7460be;
  --cyan: #2f8496;
  --data-ink: #ffffff;
  --bub-ink: #ffffff;
  --glow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(36, 40, 56, 0.35);
  --lift: 0 0 0 1px var(--line-2), 0 22px 40px -22px rgba(36, 40, 56, 0.45);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--t-mid), color var(--t-mid);
}
::selection {
  background: var(--flare);
  color: var(--on-flare);
}
a {
  color: inherit;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }
}

/* ---- Type roles: one family, every width ---- */
.display {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
.h1 {
  font-stretch: 118%;
  font-weight: 750;
  font-size: clamp(38px, 5.6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}
.h2 {
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
.h3 {
  font-stretch: 105%;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
}
.label {
  font-stretch: 72%;
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.num {
  font-stretch: 72%;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.lede {
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--tx-2);
}
.muted {
  color: var(--tx-2);
}
.small {
  font-size: 13.5px;
}
p {
  margin: 0;
}

/* ---- Top bar ---- */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.bar .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}
.bar nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.bar nav a {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--tx-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.bar nav a:hover {
  color: var(--tx);
  background: var(--s2);
}
@media (max-width: 1400px) {
  .bar nav {
    display: none;
  }
  .accent {
    margin-left: auto;
  }
}
@media (max-width: 480px) {
  .bar .mark .wm {
    font-size: 16px !important;
  }
  .bar .mark .wm .pre {
    display: none;
  }
  .mode button {
    padding: 5px 9px;
  }
}
.mode {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--s2);
  box-shadow: 0 0 0 1px var(--line);
}
.mode button {
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--tx-2);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-mid) var(--ease-out), color var(--t-mid);
}
.mode button[aria-pressed='true'] {
  background: var(--tx);
  color: var(--bg);
}

/* ---- The mark ---- */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tx);
}
.mark svg {
  flex: none;
}
.mark b {
  font-stretch: 115%;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.arc {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
}
.ball {
  fill: var(--flare);
}

/* ---- Sections ---- */
section.sec {
  padding: clamp(72px, 10vw, 140px) 0 0;
}
.sec-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 24px;
  margin-bottom: 40px;
}
.sec-head .idx {
  padding-top: 10px;
}
.sec-head .lede {
  grid-column: 2;
  margin-top: 6px;
}
@media (max-width: 760px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .sec-head .lede {
    grid-column: 1;
  }
}
.card {
  position: relative;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.pad {
  padding: 26px;
}
.grid {
  display: grid;
  gap: 18px;
}
.g2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.g3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.g4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line-2);
  font-stretch: 72%;
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-2);
  white-space: nowrap;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 40px;
  overflow: hidden;
}
.hero .eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(64px, 13vw, 196px);
}
/* Each word sits on its own line, so the title keeps its height when it squeezes. (Inline words
   reflowed onto one line, the title got shorter, the pointer fell off it, and it sprang back:
   a flicker loop.) The hover target is the whole title block, whose size never changes. */
.hero h1 span {
  display: block;
}
.hero .lede {
  margin-top: 28px;
  font-size: clamp(18px, 1.7vw, 22px);
}
.still {
  position: relative;
  height: 470px;
  margin-top: 56px;
}
.still > .pass,
.still > .player,
.still > .stat,
.still > .chart {
  position: absolute;
}
@media (max-width: 1000px) {
  .still {
    height: auto;
    display: grid;
    gap: 16px;
  }
  .still > * {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
  }
}

/* ---- Principles ---- */
.principle {
  display: grid;
  gap: 12px;
  align-content: start;
}
.principle .n {
  font-stretch: 62%;
  font-weight: 800;
  font-size: 64px;
  line-height: 0.85;
  color: var(--flare);
}

/* ---- Type section ---- */
.specimen {
  display: grid;
  gap: 0;
}
.spec {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px 28px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.spec:last-child {
  border-bottom: 1px solid var(--line);
}
.spec .meta {
  display: grid;
  gap: 2px;
}
.spec .meta code {
  font-family: inherit;
  font-stretch: 72%;
  font-size: 12.5px;
  color: var(--tx-3);
}
@media (max-width: 760px) {
  .spec {
    grid-template-columns: minmax(0, 1fr);
  }
}
.stretch-lab {
  display: grid;
  gap: 20px;
}
.stretch-word {
  font-size: clamp(56px, 10vw, 150px);
  font-weight: var(--w, 800);
  font-stretch: var(--s, 100%);
  letter-spacing: -0.03em;
  line-height: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.sliders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 32px;
}
.slider {
  display: grid;
  gap: 8px;
}
.slider .row {
  display: flex;
  justify-content: space-between;
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: none;
  cursor: pointer;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--flare) var(--p, 50%), var(--s3) var(--p, 50%));
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--tx);
  box-shadow: 0 0 0 4px var(--bg), 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform var(--t-fast) var(--ease-bounce);
}
input[type='range']:active::-webkit-slider-thumb {
  transform: scale(1.18);
}
input[type='range']::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--s3);
}
input[type='range']::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--flare);
}
input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--tx);
}
.widths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.wcell {
  padding: 18px;
  border-radius: var(--r-m);
  background: var(--s2);
  box-shadow: 0 0 0 1px var(--line);
}
.wcell b {
  display: block;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ---- Colour ---- */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.sw {
  display: grid;
  align-content: end;
  gap: 2px;
  min-height: 150px;
  padding: 16px;
  border-radius: var(--r-m);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform var(--t-mid) var(--ease-bounce);
}
.sw:hover {
  transform: translateY(-4px);
}
.sw b {
  font-stretch: 105%;
  font-weight: 700;
}
.sw code {
  font-family: inherit;
  font-stretch: 72%;
  font-size: 12.5px;
  opacity: 0.75;
}
.flare-big {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .flare-big {
    grid-template-columns: minmax(0, 1fr);
  }
}
.flare-hero {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--r-l);
  background: var(--flare);
  color: var(--on-flare);
  overflow: hidden;
}
.flare-hero .display {
  font-size: clamp(54px, 7vw, 96px);
}
.flare-hero p {
  max-width: 34ch;
  margin-top: 14px;
  font-weight: 550;
}
.ratio {
  display: grid;
  gap: 10px;
}
.ratio .bars {
  display: flex;
  height: 54px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.ratio .bars i {
  display: block;
}

/* ---- Components ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-stretch: 108%;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), background-color var(--t-fast);
}
.btn:active {
  transform: scale(0.96);
}
.btn.primary {
  background: var(--flare);
  color: var(--on-flare);
  box-shadow: 0 10px 24px -10px var(--flare);
}
.btn.primary:hover {
  box-shadow: 0 16px 30px -10px var(--flare);
}
.btn.secondary {
  background: var(--s2);
  color: var(--tx);
  box-shadow: 0 0 0 1px var(--line-2);
}
.btn.secondary:hover {
  background: var(--s3);
}
.btn.ghost {
  background: none;
  color: var(--tx-2);
}
.btn.ghost:hover {
  color: var(--tx);
}
.btn .arrow {
  transition: transform var(--t-mid) var(--ease-bounce);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.row-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.seg {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--s2);
  box-shadow: 0 0 0 1px var(--line);
}
.seg .ind {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: var(--tx);
  transition: transform var(--t-mid) var(--ease-bounce), width var(--t-mid) var(--ease-out);
}
.seg button {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  border: 0;
  background: none;
  color: var(--tx-2);
  font: inherit;
  font-weight: 650;
  font-size: 13.5px;
  cursor: pointer;
  transition: color var(--t-mid);
}
.seg button[aria-pressed='true'] {
  color: var(--bg);
}
.switch {
  position: relative;
  width: 52px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--s3);
  cursor: pointer;
  transition: background-color var(--t-mid);
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform var(--t-mid) var(--ease-bounce);
}
.switch[aria-checked='true'] {
  background: var(--flare);
}
.switch[aria-checked='true']::after {
  transform: translateX(22px);
}
.ask {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--s1);
  box-shadow: var(--lift);
  transition: box-shadow var(--t-mid) var(--ease-out);
}
.ask:focus-within {
  box-shadow: var(--lift), 0 0 0 4px color-mix(in srgb, var(--flare) 35%, transparent);
}
.ask input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: none;
  background: none;
  color: var(--tx);
  font: inherit;
  font-size: 17px;
}
.ask input::placeholder {
  color: var(--tx-3);
}
.ask .go {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--flare);
  color: var(--on-flare);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-bounce);
}
.ask .go:hover {
  transform: scale(1.08) rotate(-8deg);
}

/* The pass: the site's signature object. A game, a trade, a player, a forecast: each one is a pass
   you can pick up. A notch on each side, a perforation, and it tilts toward your pointer. */
.pass {
  --tc: var(--sky);
  --tc2: var(--violet);
  position: relative;
  border-radius: 24px;
  background: var(--s1);
  box-shadow: var(--lift);
  transform-style: preserve-3d;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
  --notch: 176px;
  overflow: hidden;
  -webkit-mask: radial-gradient(circle 11px at 0 var(--notch, 62%), transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% var(--notch, 62%), transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 var(--notch, 62%), transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% var(--notch, 62%), transparent 98%, #000) right / 51% 100% no-repeat;
}
.pass::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--tc), var(--tc2));
}
.pass .sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.09), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-mid);
}
.pass:hover .sheen {
  opacity: 1;
}
.pass .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px 6px;
}
.pass .perf {
  position: absolute;
  left: 18px;
  right: 18px;
  top: var(--notch, 62%);
  border-top: 1.5px dashed var(--line-2);
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-stretch: 72%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flare-tx);
}
.live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flare);
  box-shadow: 0 0 0 0 var(--flare);
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--flare) 70%, transparent);
  }
  80%,
  100% {
    box-shadow: 0 0 0 9px transparent;
  }
}
.teamrow {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 6px 20px;
}
.disc {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-stretch: 72%;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.teamrow .nm {
  display: grid;
  line-height: 1.15;
}
.teamrow .nm small {
  color: var(--tx-3);
  font-size: 12px;
}
.teamrow .nm b {
  font-stretch: 108%;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.teamrow .sc {
  font-size: 54px;
}
.teamrow.trail .sc,
.teamrow.trail b {
  color: var(--tx-3);
}
.pass .head {
  height: var(--notch);
}
.pass .foot {
  padding: 18px 20px 20px;
}
.pass .foot p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--tx-2);
}

/* Stat tile */
.stat {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.stat .big {
  font-size: 76px;
}
.stat .delta {
  font-stretch: 85%;
  font-weight: 650;
  font-size: 13.5px;
  color: var(--mint);
}

/* Player card: no photos. The jersey number is the portrait. */
.player {
  --tc: #007ac1;
  --tc2: #ef3b24;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--lift);
}
.player .field {
  position: relative;
  height: 210px;
  background: radial-gradient(120% 120% at 100% 0%, var(--tc2) 0%, transparent 45%), linear-gradient(160deg, var(--tc), color-mix(in srgb, var(--tc) 50%, #000));
  overflow: hidden;
}
.player .jersey {
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-stretch: 62%;
  font-weight: 900;
  font-size: 260px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
  mix-blend-mode: overlay;
  transition: transform var(--t-slow) var(--ease-out), font-stretch var(--t-slow) var(--ease-out);
}
.player:hover .jersey {
  transform: translateY(-14px);
  font-stretch: 80%;
}
.player .who {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #fff;
}
.player .who small {
  font-stretch: 72%;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.85;
}
.player .who b {
  display: block;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.player .line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 20px 20px;
  gap: 10px;
}
.player .line .num {
  font-size: 36px;
}

/* Charts */
.chart {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.chart-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.tick {
  fill: var(--tx-3);
  font-stretch: 72%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.gridline {
  stroke: var(--line);
}
.draw {
  stroke-dasharray: var(--len, 2000);
  stroke-dashoffset: var(--len, 2000);
}
.in .draw {
  animation: draw 1.4s var(--ease-out) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.grow {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
}
.in .grow {
  animation: grow 0.8s var(--ease-bounce) forwards;
}
@keyframes grow {
  to {
    transform: scaleY(1);
  }
}
.pop {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
}
.in .pop {
  animation: popin 0.5s var(--ease-bounce) forwards;
}
@keyframes popin {
  to {
    transform: scale(1);
  }
}
.tip {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--tx);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px)) scale(0.96);
  transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.tip.on {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 12px)) scale(1);
}
.tip small {
  display: block;
  font-weight: 500;
  opacity: 0.7;
}

/* Layout blueprints */
.blueprint {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.bp {
  border-radius: 8px;
  background: var(--s3);
}
.bp.f {
  background: var(--flare);
}
.bp.t {
  background: linear-gradient(135deg, var(--p-weather), var(--p-money));
}
.bp.k {
  background: var(--tx);
}
.bp-row {
  display: grid;
  gap: 8px;
}
.cols12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  height: 120px;
}
.cols12 i {
  border-radius: 6px;
  background: color-mix(in srgb, var(--flare) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--flare) 40%, transparent);
}

/* Motion */
.motion-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  border-radius: var(--r-m);
  background: var(--s2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.replay {
  justify-self: start;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--s3);
  color: var(--tx);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}
.curve {
  width: 100%;
  height: auto;
}
.curve path {
  fill: none;
  stroke: var(--flare);
  stroke-width: 3;
  stroke-linecap: round;
}
.shot-stage svg {
  width: 88%;
  height: auto;
}
.shot-ball {
  offset-path: path('M 20 150 Q 160 -40 300 70');
  offset-distance: 0%;
  offset-rotate: 0deg;
}
.shot-stage.go .shot-ball {
  animation: shoot 1.1s cubic-bezier(0.33, 0, 0.4, 1) forwards;
}
@keyframes shoot {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}
.shot-stage .swish {
  transform-box: fill-box;
  transform-origin: center top;
}
.shot-stage.go .swish {
  animation: swish 0.5s 1s var(--ease-bounce);
}
@keyframes swish {
  40% {
    transform: scaleY(1.35) scaleX(0.9);
  }
}

/* Voice */
.voice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 18px;
}
.say {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.say .q {
  font-stretch: 108%;
  font-weight: 650;
  font-size: 21px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.say.no .q {
  color: var(--tx-3);
  text-decoration: line-through;
  text-decoration-color: var(--flare);
  text-decoration-thickness: 2px;
}

footer.end {
  margin-top: clamp(80px, 10vw, 140px);
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
}


/* ---- Faces ---- */
.plate {
  margin: 0;
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.86;
}
.report {
  overflow: hidden;
  padding: 0 0 22px;
}
.rp-head {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 34px 34px 26px;
  background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--p-sandbox) 22%, transparent), transparent 60%);
  overflow: hidden;
}
.rp-head .plate {
  position: relative;
  display: grid;
  font-size: clamp(64px, 10vw, 150px);
}
.rp-head .plate span:first-child {
  color: var(--tx-2);
}
.rp-ghost {
  position: absolute;
  right: -20px;
  top: -60px;
  font-stretch: 62%;
  font-weight: 900;
  font-size: 380px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--tx) 12%, transparent);
  pointer-events: none;
}
.rp-tag {
  position: absolute;
  right: 26px;
  top: 26px;
}
.rank {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--flare);
  color: var(--on-flare);
  font-stretch: 72%;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
}
.rank.sm {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 24px;
}
.rp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 22px;
}
.rp-grid .wide {
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .rp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rp-head {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px;
  }
}
.panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border-radius: var(--r-m);
  background: var(--s2);
  box-shadow: 0 0 0 1px var(--line);
}
.kv4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 10px;
}
.kv4 b {
  display: block;
  margin-top: 4px;
  font-size: 30px;
}
.rankline {
  width: 100%;
  height: auto;
}
.callit {
  display: grid;
  gap: 8px;
}
.callit .btn {
  justify-content: center;
  padding: 10px;
  font-size: 14px;
}
.ranklist {
  display: grid;
  gap: 10px;
}
.rk {
  display: grid;
  grid-template-columns: 40px auto auto minmax(0, 1fr) 80px auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 14px;
  border-radius: var(--r-m);
  background: var(--s1);
  box-shadow: var(--glow);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid);
}
.rk:hover {
  transform: translateX(6px);
  box-shadow: var(--lift);
}
.rk .plate.sm {
  font-size: 40px;
  white-space: nowrap;
}
.rk .one {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rk .spark {
  width: 80px;
}
.rk .btn.small {
  padding: 6px 10px;
  font-size: 13px;
}
.mv {
  padding: 2px 7px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px var(--line-2);
  font-stretch: 72%;
  font-weight: 700;
  font-size: 12px;
  color: var(--tx-3);
}
.mv.up {
  color: var(--mint);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mint) 50%, transparent);
}
.mv.down {
  color: var(--flare-tx);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--flare) 50%, transparent);
}
@media (max-width: 900px) {
  .rk {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }
  .rk .one,
  .rk .spark,
  .rk .btn {
    display: none;
  }
  .rk .plate.sm {
    font-size: 28px;
    white-space: normal;
  }
}
/* Moments: a whole card in a team's colours, made to be screenshotted. */
.moment {
  --ink: #ffffff;
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 420px;
  padding: 24px;
  border-radius: var(--r-l);
  background: linear-gradient(160deg, var(--a), var(--b));
  color: var(--ink);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--a) 80%, #000);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out);
}
.moment .m-k {
  color: inherit;
  opacity: 0.75;
}
.m-name {
  font-stretch: 62%;
  font-weight: 900;
  font-size: 46px;
  line-height: 0.88;
  text-transform: uppercase;
}
.m-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.m-stats b {
  display: block;
  font-size: 64px;
}
.m-stats span {
  font-stretch: 72%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.m-chart {
  width: 100%;
  height: auto;
}
.m-line {
  font-stretch: 105%;
  font-weight: 650;
  font-size: 18px;
  line-height: 1.3;
}
.m-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
}


/* ---- Mobile ---- */
.phones {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 270px;
  gap: 24px;
  justify-content: space-between;
  overflow-x: auto;
  /* Room for the phones' shadows, so the scroll box doesn't clip them. */
  padding: 14px 12px 80px;
  margin: 0 -12px -52px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.phones::-webkit-scrollbar {
  display: none;
}
/* When all four fit, don't scroll at all, so nothing clips their shadows. */
@media (min-width: 1241px) {
  .phones {
    overflow: visible;
  }
}
@media (max-width: 1240px) {
  .phones {
    justify-content: start;
  }
}
.phone-fig {
  display: grid;
  gap: 14px;
  margin: 0;
  scroll-snap-align: start;
}
.phone-fig figcaption {
  display: grid;
  gap: 4px;
}
.phone {
  position: relative;
  width: 270px;
  height: 584px;
  padding: 0;
  border-radius: 44px;
  background: #050608;
  box-shadow: 0 0 0 1.5px #2b313b, 0 0 0 7px #0b0d11, 0 0 0 8px #2b313b, 0 28px 36px -22px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out);
}
.phone:hover {
  transform: translateY(-8px);
}
.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 844px;
  transform: scale(0.6923);
  transform-origin: top left;
  background: var(--bg);
  color: var(--tx);
  overflow: hidden;
}
.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 30px;
  font-weight: 650;
  font-size: 15px;
}
.ph-status span:last-child {
  font-size: 11px;
  letter-spacing: 1px;
}
.island {
  width: 120px;
  height: 34px;
  border-radius: 20px;
  background: #000;
}
.ph-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
}
.ph-back {
  font-weight: 650;
  font-size: 16px;
  color: var(--tx-2);
}
.ph-body {
  padding: 10px 20px 120px;
}
.ph-discs {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  overflow: hidden;
}
.ph-discs .disc {
  flex: none;
  width: 46px;
  height: 46px;
  font-size: 13px;
}
.ph-plate {
  position: relative;
  padding: 18px 0 4px;
  overflow: hidden;
}
.ph-plate .plate {
  position: relative;
}
.ph-tabs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  height: 70px;
  padding: 0 8px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--s2) 86%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--lift);
}
.ph-tabs span {
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tx-3);
}
.ph-tabs i {
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}
.ph-tabs .on {
  color: var(--tx);
}
.ph-tabs .on i {
  color: var(--flare);
}
.ph-tabs .ask-tab {
  --mk-bub: var(--bg);
  --mk-in: var(--tx);
  display: grid;
  place-items: center;
  justify-self: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--tx);
  color: var(--bg);
}
.ph-askbar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 28px;
}
.ph-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.ph-score > div {
  display: grid;
  justify-items: center;
  gap: 6px;
}
.ph-score .num {
  font-size: 84px;
}
.ph-score .dash {
  font-size: 40px;
  color: var(--tx-3);
}
.ph-runs {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 52px;
  margin-top: 10px;
}
.ph-runs i {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
}
.ph-swap {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: -6px auto;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: var(--tx);
  color: var(--bg);
  font-weight: 800;
}
.ph-checks {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.ph-checks li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ph-checks li::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mint) 20%, transparent);
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}


/* ---- Accent picker ---- */
.accent {
  position: relative;
}
.acc-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border: 0;
  border-radius: 999px;
  background: var(--s2);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--tx);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.acc-btn span[aria-hidden] {
  font-size: 9px;
  color: var(--tx-3);
}
.acc-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--flare);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line-2);
  transition: background-color var(--t-mid);
}
.acc-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  width: 248px;
  padding: 10px;
  border-radius: 20px;
  background: var(--s1);
  box-shadow: var(--lift);
}
.acc-list {
  display: grid;
  gap: 2px;
}
.acc-opt {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 2px 10px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--tx);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.acc-opt:hover,
.acc-opt[aria-checked='true'] {
  background: var(--s2);
}
.acc-opt i {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.acc-opt[aria-checked='true'] i {
  box-shadow: 0 0 0 2px var(--s2), 0 0 0 4px currentColor;
}
.acc-opt b {
  font-size: 13.5px;
  font-weight: 650;
}
.acc-opt small {
  font-size: 11.5px;
  color: var(--tx-3);
}
.acc-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 8px;
  border-top: 1px solid var(--line);
}
.acc-custom input {
  width: 40px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}
/* On phones the picker button shows just its dot; accent names in body copy stay. */
@media (max-width: 640px) {
  .acc-btn .acc-name {
    display: none;
  }
}


/* ---- Mark options ---- */
.fam-ctl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -12px 0 22px;
}
.fams {
  display: grid;
  gap: 18px;
}
.fam {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.fam-hero {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 26px;
  background: var(--s2);
  border-right: 1px solid var(--line);
}
.fam-hero .big {
  display: grid;
  place-items: center;
  height: 150px;
  color: var(--tx);
}
.fam-hero .big svg {
  width: 132px;
  height: 132px;
  transition: transform var(--t-slow) var(--ease-bounce);
}
.fam:hover .fam-hero .big svg {
  transform: translateY(-6px) rotate(-4deg);
}
.fam-hero h3 {
  margin: 0 0 6px;
}
.fam-body {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px 26px;
}
.lockups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px 22px;
}
.lk {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--tx);
}
.lk svg {
  flex: none;
  width: 34px;
  height: 34px;
}
.lk b {
  font-stretch: 115%;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.lk b span {
  font-weight: 500;
  color: var(--tx-2);
}
.lk.parent b span {
  color: var(--tx);
  font-weight: 800;
}
.fam-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sizes {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  color: var(--tx);
}
.apps {
  display: flex;
  gap: 10px;
}
.app {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #242838;
  color: #f3f5f8;
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 20px -12px rgba(0, 0, 0, 0.6);
}
.app svg {
  width: 34px;
  height: 34px;
}
.fam-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.fam-note span::before {
  content: '+ ';
  color: var(--mint);
  font-weight: 800;
}
.fam-note span.con::before {
  content: '− ';
  color: var(--flare-tx);
}
@media (max-width: 860px) {
  .fam {
    grid-template-columns: minmax(0, 1fr);
  }
  .fam-hero {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}


/* ---- P variants ---- */
.pvs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}
.pv {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid);
}
.pv:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift);
}
.pv .stage {
  height: 170px;
  color: var(--tx);
}
.pv .stage svg {
  width: 120px;
  height: 120px;
  transition: transform var(--t-slow) var(--ease-bounce);
}
.pv:hover .stage svg {
  transform: scale(1.06) rotate(-3deg);
}
.pv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--tx);
}
.pv-row svg {
  width: 40px;
  height: 40px;
}
.pv-foot {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  color: var(--tx);
}
.pv-foot .app {
  margin-left: auto;
}
.pv-lock {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
}
.pv-lock svg {
  width: 30px;
  height: 30px;
}
.pv-lock b {
  font-stretch: 115%;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.pv-lock b span {
  font-weight: 500;
  color: var(--tx-2);
}
.pv .pick {
  justify-self: start;
}


/* ---- The Pip ---- */
.askp-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .askp-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
.askp-stage {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
  color: var(--tx);
}
.askp-stage svg {
  width: 230px;
  height: auto;
  overflow: visible;
}
.askp-stage .pop {
  transform-box: fill-box;
  transform-origin: 10% 95%;
}
.in .askp-stage .pop {
  animation: bubble 0.9s var(--ease-bounce) both;
}
@keyframes bubble {
  0% {
    transform: scale(0.2) rotate(-12deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.06) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: none;
  }
}
.askp-words {
  display: grid;
  align-content: center;
  gap: 26px;
  padding: 34px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
  overflow: hidden;
}
/* The wordmark: the bubble P, then the rest of the word in Archivo. The glyph's cap height
   matches the type's; its tail hangs below the baseline like a descender. */
.wm {
  display: inline-flex;
  align-items: baseline;
  color: var(--tx);
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.wm svg {
  flex: none;
  height: 0.94em;
  width: auto;
  margin-right: 0.01em;
  transform: translateY(0.2em);
  overflow: visible;
}
.wm.std {
  font-stretch: 100%;
  font-weight: 750;
}
.wm.caps {
  font-stretch: 62%;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.wm.caps svg {
  height: 0.88em;
  transform: translateY(0.17em);
  margin-right: 0.02em;
}
.wm .pre {
  margin-right: 0.28em;
}
.wm .pre.light {
  font-weight: 500;
  color: var(--tx-2);
}
.wm-row {
  display: grid;
  gap: 6px;
}
.askp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 14px 30px;
  margin-top: 18px;
  padding: 28px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
}
.askp-grid .wm {
  font-size: 30px;
}
.askp-small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 18px;
  padding: 24px 28px;
  border-radius: var(--r-l);
  background: var(--s1);
  box-shadow: var(--glow);
  color: var(--tx);
}
.askp-small .app {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}
.askp-small .app svg {
  width: 40px;
  height: 40px;
}
.askp-small .grp {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.mono-ink {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f3f5f8;
  color: #242838;
}
.mono-ink svg {
  width: 40px;
  height: 40px;
}


/* ---- The Pip wordmark: the bubble is the p ---- */
.wm {
  display: inline-flex;
  align-items: baseline;
  color: var(--tx);
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.wm svg {
  flex: none;
  height: 0.79em;
  width: auto;
  margin-right: 0.02em;
  transform: translateY(0.235em);
  overflow: visible;
}
.wm .pre {
  margin-right: 0.24em;
  color: var(--tx-2);
}
.mark .wm {
  color: inherit;
}
.mk-stage {
  display: grid;
  place-items: center;
}
.mk-stage svg {
  overflow: visible;
}
.mk-pop .pop {
  transform-box: fill-box;
  transform-origin: 8% 96%;
}
.in .mk-pop .pop,
.shot-stage.go .pop {
  animation: mkpop 0.9s var(--ease-bounce) both;
}
@keyframes mkpop {
  0% {
    transform: scale(0.15) rotate(-14deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.07) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: none;
  }
}
.shot-stage .pop {
  transform-box: fill-box;
  transform-origin: 8% 96%;
}
.mk-dot {
  fill: var(--on-flare);
  animation: mkthink 1.2s infinite ease-in-out;
}
.mk-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.mk-dot:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes mkthink {
  0%,
  60%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
#shot svg {
  width: 76px;
  height: auto;
}
.fam-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  align-items: center;
}
.fam-strip .wm {
  font-size: 22px;
}

/* Reveal on scroll */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
:focus-visible {
  outline: 2.5px solid var(--flare);
  outline-offset: 3px;
}

/* ---- Stat Playgrounds: the hub. Publication colours as tokens, tuned for each mode. ---- */
html[data-mode='dark'] {
  --p-stat: #e9edf3;
  --p-basketball: #ffad3b;
  --p-football: #c8f031;
  --p-baseball: #ff5a4e;
  --p-soccer: #2fd16b;
  --p-money: #ffd23f;
  --p-election: #9d7cff;
  --p-weather: #4dabff;
  --p-flight: #ff8a3d;
  --p-creator: #2ee6c8;
  --p-sandbox: #d8c39a;
  --pt-stat: #e9edf3;
  --pt-basketball: #ffc170;
  --pt-football: #d4f564;
  --pt-baseball: #ff8a80;
  --pt-soccer: #5fe08e;
  --pt-money: #ffdd70;
  --pt-election: #b9a2ff;
  --pt-weather: #7cc2ff;
  --pt-flight: #ffa86f;
  --pt-creator: #6df0db;
  --pt-sandbox: #e3d3b2;
}
html[data-mode='light'] {
  --p-stat: #1a1f28;
  --p-basketball: #f29400;
  --p-football: #a6d40d;
  --p-baseball: #e8402f;
  --p-soccer: #1fb85a;
  --p-money: #e6b800;
  --p-election: #7a55f0;
  --p-weather: #2f8fea;
  --p-flight: #f07a2a;
  --p-creator: #12c4a8;
  --p-sandbox: #c2a26a;
  --pt-stat: #242838;
  --pt-basketball: #a35f00;
  --pt-football: #4f6b00;
  --pt-baseball: #b52617;
  --pt-soccer: #13803f;
  --pt-money: #8a6a00;
  --pt-election: #5a35cf;
  --pt-weather: #1f68c2;
  --pt-flight: #b2520f;
  --pt-creator: #0b7c6b;
  --pt-sandbox: #7d6331;
}
[data-bub] {
  display: inline-block;
  line-height: 0;
}
[data-bub] svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.pubdisc {
  background: var(--s3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.pubdisc [data-bub] {
  width: 19px;
  transform: translate(1px, 1px);
}
.ph-discs .pubdisc [data-bub] {
  width: 25px;
}
.player .jersey.bub {
  right: -14px;
  top: -18px;
  bottom: auto;
  width: 132px;
  line-height: 0;
}
.player .jersey.bub [data-bub] {
  width: 100%;
}
.player:hover .jersey.bub {
  transform: translateY(-14px) rotate(-4deg);
}
.m-foot [data-bub] {
  width: 15px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: var(--s2);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.chip [data-bub] {
  width: 14px;
}
.rk .who {
  display: inline-flex;
}
/* Publication tiles: a publication's face is its name, in its colour, holding its object. */
.pubs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 14px;
}
.pubt {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 18px 16px;
  border-radius: var(--r-m);
  background: var(--s1);
  box-shadow: var(--glow);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid);
}
.pubt::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--c);
}
.pubt:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift);
}
.pubt .pt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pubt .pt-top [data-bub] {
  width: 30px;
}
.pubt .plate {
  font-size: 34px;
  color: var(--ct);
}
.pubt svg.sp {
  width: 100%;
  height: 34px;
}
.pubt.sandbox {
  background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--p-sandbox) 7%, transparent) 10px 20px), var(--s1);
}
.leg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.leg span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--tx-2);
}
.leg i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.ph-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.ph-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ph-list li span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ph-list [data-bub] {
  width: 16px;
  flex: none;
}
.stretch-card {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.stretch-card .stage {
  height: 120px;
}
@media (max-width: 640px) {
  .stretch-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
.swatches.pubsw {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
}
.swatches.pubsw .sw {
  min-height: 120px;
}
.moment .m-stats b {
  font-size: 52px;
}
.moment .m-stats span {
  font-size: 11.5px;
}

/* ---- Creator Playgrounds: Dusk. Product colours as tokens; the mark is linen, never the accent. ---- */
html[data-mode] {
  --p-clips: var(--flare);
  --p-playgrounds: var(--sky);
  --p-growth: var(--mint);
  --p-sandbox: var(--flare);
  --pt-clips: var(--flare-tx);
  --pt-playgrounds: var(--sky);
  --pt-growth: var(--mint);
}
.card, .pass, .stat, .chart, .panel, .pubt, .say, .rk, .motion-card { --mk-in: var(--s1); }
.stage { --mk-in: var(--s2); }
.wm .pre { color: inherit; margin-right: 0.26em; }
.app { background: #242838; --mk-bub: #efeae6; --mk-in: #242838; --mk-tri: #e2b4b3; }
.mk-dot { fill: var(--bg); }
.stage .mk-dot { fill: var(--s2); }
.bar .mark { flex: none; }

/* The sign-off: Texas as a rope lasso, a heart at Austin. */
.made { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; line-height: 1.5; color: var(--flare-tx); }
.made svg { width: 84px; height: auto; flex: none; }
.rope .cord { fill: none; stroke: var(--tx); stroke-width: 4.3; stroke-linejoin: round; stroke-linecap: round; }
.rope .tw line { stroke: var(--rope-bg, var(--bg)); stroke-width: 0.95; stroke-linecap: round; }
.rope .knot { fill: var(--tx); stroke: var(--rope-bg, var(--bg)); stroke-width: 0.9; }
.rope .wrap2 { fill: none; stroke: var(--rope-bg, var(--bg)); stroke-width: 0.9; stroke-linecap: round; }
.rope .fray { fill: none; stroke: var(--tx); stroke-width: 1.1; stroke-linecap: round; }
.rope .ht { fill: var(--flare); }
.card .rope { --rope-bg: var(--s1); }
.lockup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.lockup .wm { font-size: clamp(30px, 5vw, 54px); }
.lockup .made svg { width: 120px; }
.lockup .made { font-size: 13px; }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--tx-3); }

/* A clip, 9:16, with the caption in the show's words. */
.clipf { position: relative; height: 470px; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--flare) 70%, transparent), transparent 60%), linear-gradient(170deg, #4a4f72, #1b1e2c); color: #fff; }
.clipf .cap { position: absolute; left: 22px; right: 22px; bottom: 74px; }
.clipf .cap .plate { font-size: 62px; }
.clipf .cap .plate em { font-style: normal; color: #e2b4b3; }
.clipf .who { position: absolute; left: 22px; top: 20px; display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; }
.clipf .who i { width: 26px; }
.clipf .prog { position: absolute; left: 22px; right: 22px; bottom: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); }
.clipf .prog i { display: block; width: 46%; height: 100%; border-radius: 3px; background: #e2b4b3; }
.clipf .tc { position: absolute; left: 22px; right: 22px; bottom: 14px; display: flex; justify-content: space-between; font-stretch: 72%; font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; opacity: 0.8; }
.clipf .playb { position: absolute; left: 50%; top: 36%; width: 74px; height: 74px; margin: -37px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fmt { display: flex; flex-wrap: wrap; gap: 6px; }
.rules { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14.5px; color: var(--tx-2); }
.rules li::before { content: ''; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--flare); }
.rules b { color: var(--tx); }
.pubs.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ph-menu { display: grid; gap: 4px; }
.ph-menu i { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--tx); }
.rv-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--s1); box-shadow: var(--glow); }
.rv-row + .rv-row { margin-top: 10px; }
.rv-row .th { height: 72px; border-radius: 10px; background: linear-gradient(170deg, #4a4f72, #1b1e2c); display: grid; place-items: center; }
.rv-row b { display: block; font-stretch: 108%; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; }
.rv-row small { color: var(--tx-3); font-size: 12.5px; }
@media (max-width: 760px) {
  .bar .accent .acc-name { display: none; }
}

/* The card: one thing we made or found. The line first, three figures, then why. */
.ccard { position: relative; display: grid; gap: 16px; align-content: start; padding: 24px 22px 22px; border-radius: var(--r-l); background: var(--s1); box-shadow: var(--lift); overflow: hidden; transition: transform var(--t-mid) var(--ease-out); }
.ccard::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tc, var(--flare)); }
.ccard.rv.in:hover { transform: translateY(-4px); }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-line { font-stretch: 108%; font-weight: 700; font-size: 23px; letter-spacing: -0.02em; line-height: 1.2; }
.cc-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.cc-kv b { display: block; margin-top: 6px; font-size: 34px; }
.cc-why { display: grid; gap: 6px; font-size: 14.5px; color: var(--tx-2); }
.still > .ccard { position: absolute; }
.mk-dot, .stage .mk-dot { fill: var(--tx); }
