/* Project page. Loaded after base.css.
   Static by design: nothing here animates or listens to the scroll. The only
   moving pictures are the videos, and index.js plays those only while they
   are on screen. */

/* Opening ----------------------------------------------------------------- */

/* Black band with the title block centred. The foot of the band eases into
   the white page (a smoothstep in five stops). */
.hero {
  padding: clamp(40px, 8vh, 88px) 32px clamp(140px, 20vh, 190px);
  background: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - 150px),
    #1a1a1a calc(100% - 120px),
    #5a5a5a calc(100% - 90px),
    #a5a5a5 calc(100% - 60px),
    #e4e4e4 calc(100% - 30px),
    #fff 100%
  );
  color: #f5f5f7;
}

.hero-inner {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-sub {
  max-width: 920px;
  margin: 18px auto 0;
  text-wrap: balance;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.hero-authors {
  margin: 28px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-authors a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.hero-authors a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.hero-affil {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.5;
}

.hero-affil .nowrap {
  white-space: nowrap;
}

/* Equal-contribution marks: Helvetica's superscript asterisk is a speck, so
   these are full-size, bold and pink, raised a little. */
.hero-authors .mark,
.hero-affil .mark {
  margin: 0 1px 0 2px;
  color: var(--accent);
  font-size: 1.4em;
  font-weight: 700;
  line-height: 0;
  vertical-align: -0.12em;
}

.hero-affil .mark {
  margin-left: 0;
}

.hero-venue {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* Key idea ---------------------------------------------------------------- */

.insight {
  padding: clamp(8px, 2vh, 24px) 24px clamp(24px, 4vh, 40px);
}

.insight-line {
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.insight-mark {
  color: var(--accent-deep);
}

/* Classic sections: centred heading, justified column, wider media -------- */

.classic {
  padding: 40px 24px;
}

.column {
  max-width: var(--column);
  margin-inline: auto;
}

.media {
  max-width: var(--media);
  margin-inline: auto;
}

.media-wide {
  max-width: var(--wide);
  margin-inline: auto;
}

.classic-title {
  margin: 0 0 24px;
  color: var(--heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.125;
  letter-spacing: -0.01em;
  text-align: center;
}

.classic-sub {
  margin: 44px 0 16px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}

.sub-note {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.lede {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.42;
  text-align: justify;
  hyphens: auto;
}

.lede strong {
  color: var(--heading);
}

.classic-rule {
  max-width: 80%;
  margin: 24px auto;
  border: 0;
  border-top: 2px solid var(--rule);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.figure {
  margin: 28px auto 0;
}

.figure img {
  width: 100%;
}

.figure-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.figure-pair .figure {
  margin: 0;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 16px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

/* Videos: fixed 16:9 boxes with a poster, so nothing shifts as they load. */

.clip {
  min-width: 0;
  margin: 0;
}

.clip video,
.film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000;
}

.clip video {
  object-fit: cover;
}

.clip figcaption {
  margin-top: 8px;
  font-size: 13px;
}

.clip figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

.film {
  max-width: var(--media);
  margin: 0 auto;
}

.film-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.stats + .film {
  margin-top: 40px;
}

/* Policy results ---------------------------------------------------------- */

.segmented {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0;
}

.segmented button {
  padding: 10px 18px;
  border: 0;
  border-radius: 980px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.segmented button:hover {
  background: #e8e8ed;
}

.segmented button.is-active {
  background: var(--ink);
  color: #fff;
}

/* One column per hand; every task card has the same shape, so the rows line
   up across the two columns without a shared grid. */
.hands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  max-width: var(--wide);
  margin-inline: auto;
}

.hand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.hand h3 {
  margin: 0 0 -6px;
  color: var(--heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
}

.task header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hair);
}

.task header strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.task header span {
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

[data-policy-panel="collection"] .task header span {
  color: var(--muted);
  font-weight: 500;
}

.task-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Figures in a row: the stat grid ----------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  margin-top: 44px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--ink);
  white-space: nowrap;
}

.stat-num {
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
}

.stat-unit {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.stat-label {
  max-width: 30ch;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

/* Interactive component figure -------------------------------------------- */

/* Hover or tap a part: the rest of the figure dims, the part lights up in its
   colour and its card opens below (parts-explorer.js). The only motion is a
   short fade, and only while someone is pointing at the figure. */
.parts-explorer {
  --px-exo: #2f6fde;
  --px-linkage: #c47a00;
  --px-passive: #3d4452;
  max-width: var(--media);
  margin: 28px auto 0;
}

.parts-explorer [data-part="exo"] { --c: var(--px-exo); }
.parts-explorer [data-part="linkage"] { --c: var(--px-linkage); }
.parts-explorer [data-part="passive"] { --c: var(--px-passive); }

.px-figure {
  position: relative;
}

.px-figure > img,
.px-svg {
  display: block;
  width: 100%;
  height: auto;
}

.px-figure.is-ready > img {
  display: none;
}

.px-svg {
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.px-dim {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.px-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.px-svg[data-active] .px-dim {
  opacity: 1;
}

.px-svg[data-active="exo"] .px-layer[data-part="exo"],
.px-svg[data-active="linkage"] .px-layer[data-part="linkage"],
.px-svg[data-active="passive"] .px-layer[data-part="passive"] {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}

.px-arrow {
  fill: none;
  stroke: #0000ff;
  stroke-linecap: round;
}

.px-arrowhead {
  fill: #0000ff;
}

.px-anchor {
  fill: #fff;
  stroke: var(--c);
  stroke-width: 4;
}

.px-hit {
  fill: transparent;
  stroke: none;
  cursor: pointer;
  pointer-events: all;
}

.px-hit-line {
  fill: none;
  stroke: transparent;
  stroke-width: 22;
  stroke-linecap: round;
  pointer-events: stroke;
}

.px-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* "Hover a part" nudge: sits still and goes after the first interaction. */
.px-hint {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 980px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hair), 0 8px 20px -12px rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -150%);
  transition: opacity 0.3s ease;
}

.px-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: #fff;
  box-shadow: 1px 1px 0 var(--hair);
  transform: translateX(-50%) rotate(45deg);
}

.px-hint-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--px-exo);
  color: #fff;
}

.px-hint-icon svg {
  width: 12px;
  height: 12px;
}

.px-hint.is-gone {
  opacity: 0;
}

/* Hover tooltip (mouse only) */
.px-tip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: min(260px, calc(100vw - 24px));
  padding: 10px 14px 11px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hair), 0 18px 36px -16px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.px-tip.is-on {
  opacity: 1;
}

.px-tip-title {
  color: var(--c);
  font-size: 13px;
  font-weight: 700;
}

.px-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.px-prompt {
  margin-right: 4px;
  color: var(--muted);
  font-size: 15px;
}

.px-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 980px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.px-tab::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}

.px-tab:hover {
  background: #e8e8ed;
}

.px-tab[aria-expanded="true"] {
  background: var(--c);
  color: #fff;
}

.px-tab[aria-expanded="true"]::before {
  background: #fff;
}

.px-card {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 3px solid var(--c);
}

.px-card .component-kicker {
  color: var(--c);
}

.component-kicker {
  margin: 0;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

.component-title {
  margin: 4px 0 0;
  color: var(--heading);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-align: center;
}

.px-card .figure {
  margin-top: 20px;
}

.px-card .figure-pair .figure {
  margin-top: 0;
}

.component-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 28px;
}

.component-cols h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.component-cols p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  white-space: nowrap;
}

.swatch {
  display: inline-block;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--s);
}

.wrist-views {
  max-width: 460px;
}

.wrist-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.wrist-grid img {
  width: 100%;
  border-radius: 8px;
}

.wrist-col,
.wrist-row {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.wrist-col {
  text-align: center;
}

.wrist-row {
  padding-right: 4px;
}

.cta {
  margin: 56px 0 0;
  text-align: center;
}

/* Poster: the preview opens the full PDF. */
.poster-link {
  display: block;
}

.poster-link img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--hair);
}

.cta.poster-cta {
  margin-top: 24px;
}

/* CAD viewer and hand picker ---------------------------------------------- */

.model-viewer {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 72vh;
  min-height: 320px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 40%, #fff 0%, #f5f5f7 60%, #ebebef 100%);
}

/* The picked hand's render, shown until its CAD is ready. */
.mv-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 4% 6% 10%;
  object-fit: contain;
  pointer-events: none;
}

.mv-stage {
  position: absolute;
  inset: 0;
}

.mv-stage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: none;
  visibility: hidden;
}

.mv-stage canvas:active {
  cursor: grabbing;
}

.model-viewer.is-ready .mv-stage canvas {
  visibility: visible;
}

.model-viewer.is-ready .mv-poster,
.model-viewer.is-ready .mv-status {
  visibility: hidden;
}

.mv-label {
  position: absolute;
  top: 16px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.mv-label strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mv-status {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

.mv-bar {
  width: min(220px, 50%);
  height: 4px;
  overflow: hidden;
  border-radius: 980px;
  background: #dcdce1;
}

.mv-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

.model-viewer.is-error .mv-bar {
  display: none;
}

/* Touch and lite mode: the render, and a button that loads the CAD on request. */
.mv-load {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: none;
  transform: translateX(-50%);
}

.model-viewer.is-idle .mv-load {
  display: inline-flex;
}

.model-viewer.is-idle .mv-status {
  visibility: hidden;
}

.mv-hint,
.mv-buttons {
  visibility: hidden;
}

.model-viewer.is-ready .mv-hint,
.model-viewer.is-ready .mv-buttons {
  visibility: visible;
}

.mv-hint {
  position: absolute;
  bottom: 16px;
  left: 16px;
  max-width: calc(100% - 120px);
  margin: 0;
  padding: 6px 12px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  pointer-events: none;
}

/* Shown briefly when someone scrolls over the viewer before clicking it. */
.mv-note {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 9px 15px;
  border-radius: 10px;
  background: rgba(29, 29, 31, 0.82);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.mv-note.is-on {
  opacity: 1;
}

.mv-buttons {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.mv-btn {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hair);
  color: var(--ink);
  cursor: pointer;
}

.mv-btn:hover {
  background: var(--panel);
}

.mv-btn svg {
  width: 17px;
  height: 17px;
}

.mv-btn svg:not([fill="none"]) {
  fill: currentColor;
}

.mv-btn[aria-pressed="true"] .mv-icon-play,
.mv-btn[aria-pressed="false"] .mv-icon-pause {
  display: none;
}

.model-picker {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.model-picker button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 8px 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.model-picker button:hover {
  background: var(--panel);
}

.model-picker button[aria-pressed="true"] {
  background: var(--panel);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.model-picker img {
  width: 100%;
  border-radius: 8px;
}

.pick-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.model-picker .badge {
  padding: 3px 8px;
  font-size: 11px;
}

.badge {
  padding: 4px 10px;
  border-radius: 980px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.badge.is-real {
  background: #fde7f1;
  color: var(--accent-deep);
}

/* Workspace --------------------------------------------------------------- */

/* Colours match the point-cloud renders: WuDi blue, Vision teleop gold. The
   full track is Vision teleop (1.0); the blue fill is WuDi's share of it. */
.coverage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 56px;
}

.coverage-group h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.coverage-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 15px;
}

.coverage-row strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.coverage-track {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: rgba(227, 166, 0, 0.24);
}

.coverage-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--coverage);
  border-radius: 5px;
  background: #168ac1;
}

.cloud-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 44px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.cloud-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9da3aa;
}

.cloud-legend .is-wudi i {
  background: #168ac1;
}

.cloud-legend .is-vision i {
  background: #e3a600;
}

.clouds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.clouds header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hair);
}

.clouds header strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.clouds header span {
  color: var(--muted);
  font-size: 14px;
}

.clouds .grid-2 {
  gap: 10px;
}

.clouds .figure {
  margin: 0;
}

.clouds img {
  border-radius: 8px;
}

/* OTHER in its letter colours, and WuDi's expansion in WuDi's (base.css) --- */

.other-rainbow {
  display: inline-flex;
  gap: 0.025em;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.other-rainbow span:nth-child(1),
.other-expansion .letter-o { color: #c43f50; }

.other-rainbow span:nth-child(2),
.other-expansion .letter-t { color: #c96800; }

.other-rainbow span:nth-child(3),
.other-expansion .letter-h { color: #9a7800; }

.other-rainbow span:nth-child(4),
.other-expansion .letter-e { color: #17805d; }

.other-rainbow span:nth-child(5),
.other-expansion .letter-r { color: #3568c8; }

.wudi-expansion .letter-w { color: var(--wudi-w); }
.wudi-expansion .letter-u { color: var(--wudi-u); }
.wudi-expansion .letter-d { color: var(--wudi-d); }
.wudi-expansion .letter-i { color: var(--wudi-i); }

.wudi-expansion [class^="letter-"],
.other-expansion [class^="letter-"] {
  font-weight: 700;
}

/* Narrower windows -------------------------------------------------------- */

@media (max-width: 960px) {
  .hands,
  .clouds {
    grid-template-columns: minmax(0, 1fr);
  }

  .model-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 32px 16px 140px;
  }

  .hero-links .pill--large {
    padding: 13px 22px;
    font-size: 16px;
  }

  .classic {
    padding: 32px 16px;
  }

  .classic-title {
    font-size: 28px;
  }

  .lede {
    font-size: 17px;
    text-align: left;
  }

  .grid-3,
  .component-cols,
  .figure-pair,
  .coverage {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .key {
    margin-left: 8px;
  }

  .cta .pill {
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }

  .px-prompt {
    flex-basis: 100%;
    margin: 0;
    text-align: center;
  }

  .model-viewer {
    aspect-ratio: 4 / 5;
    max-height: 78vh;
  }
}

@media (max-width: 520px) {
  .model-picker .badge {
    display: none;
  }

  .task-pair {
    gap: 6px;
  }
}
